2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for mech_eap 0.1.
5 # Report bugs to <bugs@project-moonshot.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: bugs@project-moonshot.org about your system, including
235 $0: any error possibly output before this message. Then
236 $0: install a modern shell, or manually run the script
237 $0: under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='mech_eap'
703 PACKAGE_TARNAME='mech_eap'
704 PACKAGE_VERSION='0.1'
705 PACKAGE_STRING='mech_eap 0.1'
706 PACKAGE_BUGREPORT='bugs@project-moonshot.org'
709 # Factoring default headers for most tests.
710 ac_includes_default="\
712 #ifdef HAVE_SYS_TYPES_H
713 # include <sys/types.h>
715 #ifdef HAVE_SYS_STAT_H
716 # include <sys/stat.h>
722 # ifdef HAVE_STDLIB_H
727 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732 #ifdef HAVE_STRINGS_H
733 # include <strings.h>
735 #ifdef HAVE_INTTYPES_H
736 # include <inttypes.h>
745 ac_subst_vars='am__EXEEXT_FALSE
757 SHIBRESOLVER_CXXFLAGS
768 GSSEAP_ENABLE_REAUTH_FALSE
769 GSSEAP_ENABLE_REAUTH_TRUE
831 INSTALL_STRIP_PROGRAM
873 program_transform_name
886 enable_option_checking
892 enable_dependency_tracking
902 ac_precious_vars='build_alias
917 # Initialize some variables set by options.
919 ac_init_version=false
920 ac_unrecognized_opts=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
931 program_transform_name=s,x,x,
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir='${exec_prefix}/bin'
946 sbindir='${exec_prefix}/sbin'
947 libexecdir='${exec_prefix}/libexec'
948 datarootdir='${prefix}/share'
949 datadir='${datarootdir}'
950 sysconfdir='${prefix}/etc'
951 sharedstatedir='${prefix}/com'
952 localstatedir='${prefix}/var'
953 includedir='${prefix}/include'
954 oldincludedir='/usr/include'
955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956 infodir='${datarootdir}/info'
961 libdir='${exec_prefix}/lib'
962 localedir='${datarootdir}/locale'
963 mandir='${datarootdir}/man'
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\$ac_option
977 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982 # Accept the important Cygnus configure options, so we can diagnose typos.
984 case $ac_dashdash$ac_option in
988 -bindir | --bindir | --bindi | --bind | --bin | --bi)
990 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
993 -build | --build | --buil | --bui | --bu)
994 ac_prev=build_alias ;;
995 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
996 build_alias=$ac_optarg ;;
998 -cache-file | --cache-file | --cache-fil | --cache-fi \
999 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1000 ac_prev=cache_file ;;
1001 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1002 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1003 cache_file=$ac_optarg ;;
1005 --config-cache | -C)
1006 cache_file=config.cache ;;
1008 -datadir | --datadir | --datadi | --datad)
1010 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1011 datadir=$ac_optarg ;;
1013 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1014 | --dataroo | --dataro | --datar)
1015 ac_prev=datarootdir ;;
1016 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1017 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1018 datarootdir=$ac_optarg ;;
1020 -disable-* | --disable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error $? "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_$ac_useropt"
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1034 eval enable_$ac_useropt=no ;;
1036 -docdir | --docdir | --docdi | --doc | --do)
1038 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1039 docdir=$ac_optarg ;;
1041 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1043 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1044 dvidir=$ac_optarg ;;
1046 -enable-* | --enable-*)
1047 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 as_fn_error $? "invalid feature name: $ac_useropt"
1051 ac_useropt_orig=$ac_useropt
1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1055 "enable_$ac_useropt"
1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1058 ac_unrecognized_sep=', ';;
1060 eval enable_$ac_useropt=\$ac_optarg ;;
1062 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1063 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1064 | --exec | --exe | --ex)
1065 ac_prev=exec_prefix ;;
1066 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1067 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1068 | --exec=* | --exe=* | --ex=*)
1069 exec_prefix=$ac_optarg ;;
1071 -gas | --gas | --ga | --g)
1072 # Obsolete; use --with-gas.
1075 -help | --help | --hel | --he | -h)
1076 ac_init_help=long ;;
1077 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1078 ac_init_help=recursive ;;
1079 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1080 ac_init_help=short ;;
1082 -host | --host | --hos | --ho)
1083 ac_prev=host_alias ;;
1084 -host=* | --host=* | --hos=* | --ho=*)
1085 host_alias=$ac_optarg ;;
1087 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1089 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1091 htmldir=$ac_optarg ;;
1093 -includedir | --includedir | --includedi | --included | --include \
1094 | --includ | --inclu | --incl | --inc)
1095 ac_prev=includedir ;;
1096 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1097 | --includ=* | --inclu=* | --incl=* | --inc=*)
1098 includedir=$ac_optarg ;;
1100 -infodir | --infodir | --infodi | --infod | --info | --inf)
1102 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1103 infodir=$ac_optarg ;;
1105 -libdir | --libdir | --libdi | --libd)
1107 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1108 libdir=$ac_optarg ;;
1110 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1111 | --libexe | --libex | --libe)
1112 ac_prev=libexecdir ;;
1113 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1114 | --libexe=* | --libex=* | --libe=*)
1115 libexecdir=$ac_optarg ;;
1117 -localedir | --localedir | --localedi | --localed | --locale)
1118 ac_prev=localedir ;;
1119 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1120 localedir=$ac_optarg ;;
1122 -localstatedir | --localstatedir | --localstatedi | --localstated \
1123 | --localstate | --localstat | --localsta | --localst | --locals)
1124 ac_prev=localstatedir ;;
1125 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1126 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1127 localstatedir=$ac_optarg ;;
1129 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1131 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1132 mandir=$ac_optarg ;;
1134 -nfp | --nfp | --nf)
1135 # Obsolete; use --without-fp.
1138 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1139 | --no-cr | --no-c | -n)
1142 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1143 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1146 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1147 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1148 | --oldin | --oldi | --old | --ol | --o)
1149 ac_prev=oldincludedir ;;
1150 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1151 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1152 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1153 oldincludedir=$ac_optarg ;;
1155 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1157 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1158 prefix=$ac_optarg ;;
1160 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1161 | --program-pre | --program-pr | --program-p)
1162 ac_prev=program_prefix ;;
1163 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1164 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1165 program_prefix=$ac_optarg ;;
1167 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1168 | --program-suf | --program-su | --program-s)
1169 ac_prev=program_suffix ;;
1170 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1171 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1172 program_suffix=$ac_optarg ;;
1174 -program-transform-name | --program-transform-name \
1175 | --program-transform-nam | --program-transform-na \
1176 | --program-transform-n | --program-transform- \
1177 | --program-transform | --program-transfor \
1178 | --program-transfo | --program-transf \
1179 | --program-trans | --program-tran \
1180 | --progr-tra | --program-tr | --program-t)
1181 ac_prev=program_transform_name ;;
1182 -program-transform-name=* | --program-transform-name=* \
1183 | --program-transform-nam=* | --program-transform-na=* \
1184 | --program-transform-n=* | --program-transform-=* \
1185 | --program-transform=* | --program-transfor=* \
1186 | --program-transfo=* | --program-transf=* \
1187 | --program-trans=* | --program-tran=* \
1188 | --progr-tra=* | --program-tr=* | --program-t=*)
1189 program_transform_name=$ac_optarg ;;
1191 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1193 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1194 pdfdir=$ac_optarg ;;
1196 -psdir | --psdir | --psdi | --psd | --ps)
1198 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202 | -silent | --silent | --silen | --sile | --sil)
1205 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1207 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1209 sbindir=$ac_optarg ;;
1211 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1212 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213 | --sharedst | --shareds | --shared | --share | --shar \
1215 ac_prev=sharedstatedir ;;
1216 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1220 sharedstatedir=$ac_optarg ;;
1222 -site | --site | --sit)
1224 -site=* | --site=* | --sit=*)
1227 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1229 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230 srcdir=$ac_optarg ;;
1232 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233 | --syscon | --sysco | --sysc | --sys | --sy)
1234 ac_prev=sysconfdir ;;
1235 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237 sysconfdir=$ac_optarg ;;
1239 -target | --target | --targe | --targ | --tar | --ta | --t)
1240 ac_prev=target_alias ;;
1241 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242 target_alias=$ac_optarg ;;
1244 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1247 -version | --version | --versio | --versi | --vers | -V)
1248 ac_init_version=: ;;
1251 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254 as_fn_error $? "invalid package name: $ac_useropt"
1255 ac_useropt_orig=$ac_useropt
1256 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257 case $ac_user_opts in
1261 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262 ac_unrecognized_sep=', ';;
1264 eval with_$ac_useropt=\$ac_optarg ;;
1266 -without-* | --without-*)
1267 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270 as_fn_error $? "invalid package name: $ac_useropt"
1271 ac_useropt_orig=$ac_useropt
1272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278 ac_unrecognized_sep=', ';;
1280 eval with_$ac_useropt=no ;;
1283 # Obsolete; use --with-x.
1286 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287 | --x-incl | --x-inc | --x-in | --x-i)
1288 ac_prev=x_includes ;;
1289 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291 x_includes=$ac_optarg ;;
1293 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295 ac_prev=x_libraries ;;
1296 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298 x_libraries=$ac_optarg ;;
1300 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1301 Try \`$0 --help' for more information"
1305 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1306 # Reject names that are not valid shell variable names.
1307 case $ac_envvar in #(
1308 '' | [0-9]* | *[!_$as_cr_alnum]* )
1309 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1311 eval $ac_envvar=\$ac_optarg
1312 export $ac_envvar ;;
1315 # FIXME: should be removed in autoconf 3.0.
1316 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 if test -n "$ac_prev"; then
1326 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327 as_fn_error $? "missing argument to $ac_option"
1330 if test -n "$ac_unrecognized_opts"; then
1331 case $enable_option_checking in
1333 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1338 # Check all directory arguments for consistency.
1339 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340 datadir sysconfdir sharedstatedir localstatedir includedir \
1341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342 libdir localedir mandir
1344 eval ac_val=\$$ac_var
1345 # Remove trailing slashes.
1348 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1349 eval $ac_var=\$ac_val;;
1351 # Be sure to have absolute directory names.
1353 [\\/$]* | ?:[\\/]* ) continue;;
1354 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1356 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1359 # There might be people who depend on the old broken behavior: `$host'
1360 # used to hold the argument of --host etc.
1361 # FIXME: To remove some day.
1364 target=$target_alias
1366 # FIXME: To remove some day.
1367 if test "x$host_alias" != x; then
1368 if test "x$build_alias" = x; then
1369 cross_compiling=maybe
1370 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1371 If a cross compiler is detected then cross compile mode will be used" >&2
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1380 test "$silent" = yes && exec 6>/dev/null
1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di=`ls -di .` &&
1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386 as_fn_error $? "working directory cannot be determined"
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388 as_fn_error $? "pwd does not report name of working directory"
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393 ac_srcdir_defaulted=yes
1394 # Try the directory containing this script, then the parent directory.
1395 ac_confdir=`$as_dirname -- "$as_myself" ||
1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397 X"$as_myself" : 'X\(//\)[^/]' \| \
1398 X"$as_myself" : 'X\(//\)$' \| \
1399 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400 $as_echo X"$as_myself" |
1401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1423 ac_srcdir_defaulted=no
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 for ac_var in $ac_precious_vars; do
1444 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_${ac_var}_value=\$${ac_var}
1446 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1451 # Report the --help message.
1453 if test "$ac_init_help" = "long"; then
1454 # Omit some internal or obsolete options to make the list less imposing.
1455 # This message is too long to be a string in the A/UX 3.1 sh.
1457 \`configure' configures mech_eap 0.1 to adapt to many kinds of systems.
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE. See below for descriptions of some of the useful variables.
1464 Defaults for the options are specified in brackets.
1467 -h, --help display this help and exit
1468 --help=short display options specific to this package
1469 --help=recursive display the short help of all the included packages
1470 -V, --version display version information and exit
1471 -q, --quiet, --silent do not print \`checking ...' messages
1472 --cache-file=FILE cache test results in FILE [disabled]
1473 -C, --config-cache alias for \`--cache-file=config.cache'
1474 -n, --no-create do not create output files
1475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477 Installation directories:
1478 --prefix=PREFIX install architecture-independent files in PREFIX
1479 [$ac_default_prefix]
1480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1488 For better control, use the options below.
1490 Fine tuning of the installation directories:
1491 --bindir=DIR user executables [EPREFIX/bin]
1492 --sbindir=DIR system admin executables [EPREFIX/sbin]
1493 --libexecdir=DIR program executables [EPREFIX/libexec]
1494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1497 --libdir=DIR object code libraries [EPREFIX/lib]
1498 --includedir=DIR C header files [PREFIX/include]
1499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/mech_eap]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
1515 --program-prefix=PREFIX prepend PREFIX to installed program names
1516 --program-suffix=SUFFIX append SUFFIX to installed program names
1517 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1520 --build=BUILD configure for building on BUILD [guessed]
1521 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of mech_eap 0.1:";;
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-silent-rules less verbose build output (undo: `make V=1')
1536 --disable-silent-rules verbose build output (undo: `make V=0')
1537 --enable-static[=PKGS] build static libraries [default=no]
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-dependency-tracking speeds up one-time build
1542 --enable-dependency-tracking do not reject slow dependency extractors
1543 --disable-libtool-lock avoid locking (might break parallel builds)
1544 --enable-reauth whether to enable fast reauthentication protocol: yes/no; default no
1547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1549 --with-pic try to use only PIC/non-PIC objects [default=use
1551 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1552 --with-krb5 Use krb5 (in specified installation directory)
1553 --with-shibsp Use shibspboleth (in specified installation
1555 --with-shibresolver Use Shibboleth resolver (in specified installation
1557 --with-radsec Use radsec (in specified installation directory)
1558 --with-jansson Use jansson (in specified installation directory)
1560 Some influential environment variables:
1561 CC C compiler command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1564 nonstandard directory <lib dir>
1565 LIBS libraries to pass to the linker, e.g. -l<library>
1566 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1567 you have headers in a nonstandard directory <include dir>
1569 CXX C++ compiler command
1570 CXXFLAGS C++ compiler flags
1571 CXXCPP C++ preprocessor
1573 Use these variables to override the choices made by `configure' or to help
1574 it to find libraries and programs with nonstandard names/locations.
1576 Report bugs to <bugs@project-moonshot.org>.
1581 if test "$ac_init_help" = "recursive"; then
1582 # If there are subdirs, report their specific --help.
1583 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1584 test -d "$ac_dir" ||
1585 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1590 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1593 # A ".." for each directory in $ac_dir_suffix.
1594 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1595 case $ac_top_builddir_sub in
1596 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1597 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1600 ac_abs_top_builddir=$ac_pwd
1601 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1602 # for backward compatibility:
1603 ac_top_builddir=$ac_top_build_prefix
1606 .) # We are building in place.
1608 ac_top_srcdir=$ac_top_builddir_sub
1609 ac_abs_top_srcdir=$ac_pwd ;;
1610 [\\/]* | ?:[\\/]* ) # Absolute name.
1611 ac_srcdir=$srcdir$ac_dir_suffix;
1612 ac_top_srcdir=$srcdir
1613 ac_abs_top_srcdir=$srcdir ;;
1615 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1616 ac_top_srcdir=$ac_top_build_prefix$srcdir
1617 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1619 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1621 cd "$ac_dir" || { ac_status=$?; continue; }
1622 # Check for guested configure.
1623 if test -f "$ac_srcdir/configure.gnu"; then
1625 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1626 elif test -f "$ac_srcdir/configure"; then
1628 $SHELL "$ac_srcdir/configure" --help=recursive
1630 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1632 cd "$ac_pwd" || { ac_status=$?; break; }
1636 test -n "$ac_init_help" && exit $ac_status
1637 if $ac_init_version; then
1639 mech_eap configure 0.1
1640 generated by GNU Autoconf 2.67
1642 Copyright (C) 2010 Free Software Foundation, Inc.
1643 This configure script is free software; the Free Software Foundation
1644 gives unlimited permission to copy, distribute and modify it.
1649 ## ------------------------ ##
1650 ## Autoconf initialization. ##
1651 ## ------------------------ ##
1653 # ac_fn_c_try_compile LINENO
1654 # --------------------------
1655 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_compile ()
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext
1660 if { { ac_try="$ac_compile"
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_compile") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest.$ac_objext; then :
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 as_fn_set_status $ac_retval
1689 } # ac_fn_c_try_compile
1691 # ac_fn_c_try_link LINENO
1692 # -----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext conftest$ac_exeext
1698 if { { ac_try="$ac_link"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest$ac_exeext && {
1717 test "$cross_compiling" = yes ||
1718 $as_test_x conftest$ac_exeext
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1728 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1729 # interfere with the next link command; also delete a directory that is
1730 # left behind by Apple's compiler. We do this before executing the actions.
1731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 as_fn_set_status $ac_retval
1735 } # ac_fn_c_try_link
1737 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1738 # -------------------------------------------------------
1739 # Tests whether HEADER exists and can be compiled using the include files in
1740 # INCLUDES, setting the cache variable VAR accordingly.
1741 ac_fn_c_check_header_compile ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval "test \"\${$3+set}\"" = set; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1754 if ac_fn_c_try_compile "$LINENO"; then :
1759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766 } # ac_fn_c_check_header_compile
1768 # ac_fn_c_try_cpp LINENO
1769 # ----------------------
1770 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_cpp conftest.$ac_ext"
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } > conftest.i && {
1790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 as_fn_set_status $ac_retval
1805 # ac_fn_c_try_run LINENO
1806 # ----------------------
1807 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1808 # that executables *can* be run.
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if { { ac_try="$ac_link"
1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_link") 2>&5
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1823 { { case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_try") 2>&5
1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832 test $ac_status = 0; }; }; then :
1835 $as_echo "$as_me: program exited with status $ac_status" >&5
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1839 ac_retval=$ac_status
1841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1843 as_fn_set_status $ac_retval
1847 # ac_fn_c_check_func LINENO FUNC VAR
1848 # ----------------------------------
1849 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1850 ac_fn_c_check_func ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval "test \"\${$3+set}\"" = set; then :
1856 $as_echo_n "(cached) " >&6
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1862 #define $2 innocuous_$2
1864 /* System header to define __stub macros and hopefully few prototypes,
1865 which can conflict with char $2 (); below.
1866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1867 <limits.h> exists even on freestanding compilers. */
1870 # include <limits.h>
1872 # include <assert.h>
1877 /* Override any GCC internal prototype to avoid an error.
1878 Use char because int might match the return type of a GCC
1879 builtin and then its argument prototype would still apply. */
1884 /* The GNU C library defines this for functions which it implements
1885 to always fail with ENOSYS. Some functions are actually named
1886 something starting with __ and the normal name is an alias. */
1887 #if defined __stub_$2 || defined __stub___$2
1899 if ac_fn_c_try_link "$LINENO"; then :
1904 rm -f core conftest.err conftest.$ac_objext \
1905 conftest$ac_exeext conftest.$ac_ext
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 } # ac_fn_c_check_func
1914 # ac_fn_cxx_try_compile LINENO
1915 # ----------------------------
1916 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1917 ac_fn_cxx_try_compile ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 rm -f conftest.$ac_objext
1921 if { { ac_try="$ac_compile"
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_compile") 2>conftest.err
1930 if test -s conftest.err; then
1931 grep -v '^ *+' conftest.err >conftest.er1
1932 cat conftest.er1 >&5
1933 mv -f conftest.er1 conftest.err
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } && {
1937 test -z "$ac_cxx_werror_flag" ||
1938 test ! -s conftest.err
1939 } && test -s conftest.$ac_objext; then :
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1947 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 as_fn_set_status $ac_retval
1950 } # ac_fn_cxx_try_compile
1952 # ac_fn_cxx_try_cpp LINENO
1953 # ------------------------
1954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_cpp ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if { { ac_try="$ac_cpp conftest.$ac_ext"
1960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1967 if test -s conftest.err; then
1968 grep -v '^ *+' conftest.err >conftest.er1
1969 cat conftest.er1 >&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } > conftest.i && {
1974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985 as_fn_set_status $ac_retval
1987 } # ac_fn_cxx_try_cpp
1989 # ac_fn_cxx_try_link LINENO
1990 # -------------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_link ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 rm -f conftest.$ac_objext conftest$ac_exeext
1996 if { { ac_try="$ac_link"
1998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 $as_test_x conftest$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2031 as_fn_set_status $ac_retval
2033 } # ac_fn_cxx_try_link
2035 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2036 # -------------------------------------------------------
2037 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2038 # the include files in INCLUDES and setting the cache variable VAR
2040 ac_fn_c_check_header_mongrel ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 if eval "test \"\${$3+set}\"" = set; then :
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval "test \"\${$3+set}\"" = set; then :
2047 $as_echo_n "(cached) " >&6
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2053 # Is the header compilable?
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2055 $as_echo_n "checking $2 usability... " >&6; }
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2061 if ac_fn_c_try_compile "$LINENO"; then :
2062 ac_header_compiler=yes
2064 ac_header_compiler=no
2066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2068 $as_echo "$ac_header_compiler" >&6; }
2070 # Is the header present?
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2072 $as_echo_n "checking $2 presence... " >&6; }
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2077 if ac_fn_c_try_cpp "$LINENO"; then :
2078 ac_header_preproc=yes
2080 ac_header_preproc=no
2082 rm -f conftest.err conftest.i conftest.$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2084 $as_echo "$ac_header_preproc" >&6; }
2086 # So? What about this header?
2087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2090 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2096 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2098 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2100 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2102 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2104 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 ( $as_echo "## ---------------------------------------- ##
2106 ## Report this to bugs@project-moonshot.org ##
2107 ## ---------------------------------------- ##"
2108 ) | sed "s/^/$as_me: WARNING: /" >&2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval "test \"\${$3+set}\"" = set; then :
2114 $as_echo_n "(cached) " >&6
2116 eval "$3=\$ac_header_compiler"
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2122 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2124 } # ac_fn_c_check_header_mongrel
2125 cat >config.log <<_ACEOF
2126 This file contains any messages produced by compilers while
2127 running configure, to aid debugging if configure makes a mistake.
2129 It was created by mech_eap $as_me 0.1, which was
2130 generated by GNU Autoconf 2.67. Invocation command line was
2142 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2143 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2144 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2145 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2146 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2148 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2149 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2151 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2152 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2153 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2154 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2155 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2156 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2157 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 $as_echo "PATH: $as_dir"
2182 # Keep a trace of the command line.
2183 # Strip out --no-create and --no-recursion so they do not pile up.
2184 # Strip out --silent because we don't want to record it for future runs.
2185 # Also quote any args containing shell meta-characters.
2186 # Make two passes to allow for proper duplicate-argument suppression.
2190 ac_must_keep_next=false
2196 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2198 | -silent | --silent | --silen | --sile | --sil)
2201 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2204 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2206 as_fn_append ac_configure_args1 " '$ac_arg'"
2207 if test $ac_must_keep_next = true; then
2208 ac_must_keep_next=false # Got value, back to normal.
2211 *=* | --config-cache | -C | -disable-* | --disable-* \
2212 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2213 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2214 | -with-* | --with-* | -without-* | --without-* | --x)
2215 case "$ac_configure_args0 " in
2216 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2219 -* ) ac_must_keep_next=true ;;
2222 as_fn_append ac_configure_args " '$ac_arg'"
2227 { ac_configure_args0=; unset ac_configure_args0;}
2228 { ac_configure_args1=; unset ac_configure_args1;}
2230 # When interrupted or exit'd, cleanup temporary files, and complete
2231 # config.log. We remove comments because anyway the quotes in there
2232 # would cause problems or look ugly.
2233 # WARNING: Use '\'' to represent an apostrophe within the trap.
2234 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2235 trap 'exit_status=$?
2236 # Save into config.log some information that might help in debugging.
2240 $as_echo "## ---------------- ##
2241 ## Cache variables. ##
2242 ## ---------------- ##"
2244 # The following way of writing the cache mishandles newlines in values,
2246 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2247 eval ac_val=\$$ac_var
2251 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2255 _ | IFS | as_nl) ;; #(
2256 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2257 *) { eval $ac_var=; unset $ac_var;} ;;
2262 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2263 *${as_nl}ac_space=\ *)
2265 "s/'\''/'\''\\\\'\'''\''/g;
2266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2269 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2276 $as_echo "## ----------------- ##
2277 ## Output variables. ##
2278 ## ----------------- ##"
2280 for ac_var in $ac_subst_vars
2282 eval ac_val=\$$ac_var
2284 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2286 $as_echo "$ac_var='\''$ac_val'\''"
2290 if test -n "$ac_subst_files"; then
2291 $as_echo "## ------------------- ##
2292 ## File substitutions. ##
2293 ## ------------------- ##"
2295 for ac_var in $ac_subst_files
2297 eval ac_val=\$$ac_var
2299 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2301 $as_echo "$ac_var='\''$ac_val'\''"
2306 if test -s confdefs.h; then
2307 $as_echo "## ----------- ##
2314 test "$ac_signal" != 0 &&
2315 $as_echo "$as_me: caught signal $ac_signal"
2316 $as_echo "$as_me: exit $exit_status"
2318 rm -f core *.core core.conftest.* &&
2319 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2322 for ac_signal in 1 2 13 15; do
2323 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2327 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2328 rm -f -r conftest* confdefs.h
2330 $as_echo "/* confdefs.h */" > confdefs.h
2332 # Predefined preprocessor variables.
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_NAME "$PACKAGE_NAME"
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2346 cat >>confdefs.h <<_ACEOF
2347 #define PACKAGE_STRING "$PACKAGE_STRING"
2350 cat >>confdefs.h <<_ACEOF
2351 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2354 cat >>confdefs.h <<_ACEOF
2355 #define PACKAGE_URL "$PACKAGE_URL"
2359 # Let the site file select an alternate cache file if it wants to.
2360 # Prefer an explicitly selected file to automatically selected ones.
2363 if test -n "$CONFIG_SITE"; then
2364 # We do not want a PATH search for config.site.
2365 case $CONFIG_SITE in #((
2366 -*) ac_site_file1=./$CONFIG_SITE;;
2367 */*) ac_site_file1=$CONFIG_SITE;;
2368 *) ac_site_file1=./$CONFIG_SITE;;
2370 elif test "x$prefix" != xNONE; then
2371 ac_site_file1=$prefix/share/config.site
2372 ac_site_file2=$prefix/etc/config.site
2374 ac_site_file1=$ac_default_prefix/share/config.site
2375 ac_site_file2=$ac_default_prefix/etc/config.site
2377 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2379 test "x$ac_site_file" = xNONE && continue
2380 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2382 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2383 sed 's/^/| /' "$ac_site_file" >&5
2385 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2387 as_fn_error $? "failed to load site script $ac_site_file
2388 See \`config.log' for more details" "$LINENO" 5 ; }
2392 if test -r "$cache_file"; then
2393 # Some versions of bash will fail to source /dev/null (special files
2394 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2395 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2397 $as_echo "$as_me: loading cache $cache_file" >&6;}
2399 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2400 *) . "./$cache_file";;
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2405 $as_echo "$as_me: creating cache $cache_file" >&6;}
2409 # Check that the precious variables saved in the cache have kept the same
2411 ac_cache_corrupted=false
2412 for ac_var in $ac_precious_vars; do
2413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2414 eval ac_new_set=\$ac_env_${ac_var}_set
2415 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2416 eval ac_new_val=\$ac_env_${ac_var}_value
2417 case $ac_old_set,$ac_new_set in
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2420 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2421 ac_cache_corrupted=: ;;
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2424 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2425 ac_cache_corrupted=: ;;
2428 if test "x$ac_old_val" != "x$ac_new_val"; then
2429 # differences in whitespace do not lead to failure.
2430 ac_old_val_w=`echo x $ac_old_val`
2431 ac_new_val_w=`echo x $ac_new_val`
2432 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2434 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2435 ac_cache_corrupted=:
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2438 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2439 eval $ac_var=\$ac_old_val
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2442 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2444 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2447 # Pass precious variables to config.status.
2448 if test "$ac_new_set" = set; then
2450 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2451 *) ac_arg=$ac_var=$ac_new_val ;;
2453 case " $ac_configure_args " in
2454 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2455 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2459 if $ac_cache_corrupted; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2463 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2464 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2466 ## -------------------- ##
2467 ## Main body of script. ##
2468 ## -------------------- ##
2471 ac_cpp='$CPP $CPPFLAGS'
2472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2477 am__api_version='1.11'
2480 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2481 if test -f "$ac_dir/install-sh"; then
2483 ac_install_sh="$ac_aux_dir/install-sh -c"
2485 elif test -f "$ac_dir/install.sh"; then
2487 ac_install_sh="$ac_aux_dir/install.sh -c"
2489 elif test -f "$ac_dir/shtool"; then
2491 ac_install_sh="$ac_aux_dir/shtool install -c"
2495 if test -z "$ac_aux_dir"; then
2496 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2499 # These three variables are undocumented and unsupported,
2500 # and are intended to be withdrawn in a future Autoconf release.
2501 # They can cause serious problems if a builder's source tree is in a directory
2502 # whose full name contains unusual characters.
2503 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2504 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2505 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2508 # Find a good install program. We prefer a C program (faster),
2509 # so one script is as good as another. But avoid the broken or
2510 # incompatible versions:
2511 # SysV /etc/install, /usr/sbin/install
2512 # SunOS /usr/etc/install
2513 # IRIX /sbin/install
2515 # AmigaOS /C/install, which installs bootblocks on floppy discs
2516 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2517 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2518 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2519 # OS/2's system install, which has a completely different semantic
2520 # ./install, which can be erroneously created by make from ./install.sh.
2521 # Reject install programs that cannot install multiple files.
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2523 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2524 if test -z "$INSTALL"; then
2525 if test "${ac_cv_path_install+set}" = set; then :
2526 $as_echo_n "(cached) " >&6
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 # Account for people who put trailing slashes in PATH elements.
2534 case $as_dir/ in #((
2535 ./ | .// | /[cC]/* | \
2536 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2537 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2540 # OSF1 and SCO ODT 3.0 have their own names for install.
2541 # Don't use installbsd from OSF since it installs stuff as root
2543 for ac_prog in ginstall scoinst install; do
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2546 if test $ac_prog = install &&
2547 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2548 # AIX install. It has an incompatible calling convention.
2550 elif test $ac_prog = install &&
2551 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2552 # program-specific install script used by HP pwplus--don't use.
2555 rm -rf conftest.one conftest.two conftest.dir
2556 echo one > conftest.one
2557 echo two > conftest.two
2559 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2560 test -s conftest.one && test -s conftest.two &&
2561 test -s conftest.dir/conftest.one &&
2562 test -s conftest.dir/conftest.two
2564 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2577 rm -rf conftest.one conftest.two conftest.dir
2580 if test "${ac_cv_path_install+set}" = set; then
2581 INSTALL=$ac_cv_path_install
2583 # As a last resort, use the slow shell script. Don't cache a
2584 # value for INSTALL within a source directory, because that will
2585 # break other packages using the cache if that directory is
2586 # removed, or if the value is a relative name.
2587 INSTALL=$ac_install_sh
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2591 $as_echo "$INSTALL" >&6; }
2593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2594 # It thinks the first close brace ends the variable substitution.
2595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2599 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2602 $as_echo_n "checking whether build environment is sane... " >&6; }
2605 echo timestamp > conftest.file
2606 # Reject unsafe characters in $srcdir or the absolute working directory
2607 # name. Accept space and tab only in the latter.
2611 *[\\\"\#\$\&\'\`$am_lf]*)
2612 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2615 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2616 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2619 # Do `set' in a subshell so we don't clobber the current shell's
2620 # arguments. Must try -L first in case configure is actually a
2621 # symlink; some systems play weird games with the mod time of symlinks
2622 # (eg FreeBSD returns the mod time of the symlink's containing
2625 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2626 if test "$*" = "X"; then
2628 set X `ls -t "$srcdir/configure" conftest.file`
2631 if test "$*" != "X $srcdir/configure conftest.file" \
2632 && test "$*" != "X conftest.file $srcdir/configure"; then
2634 # If neither matched, then we have a broken ls. This can happen
2635 # if, for instance, CONFIG_SHELL is bash and it inherits a
2636 # broken ls alias from the environment. This has actually
2637 # happened. Such a system could not be considered "sane".
2638 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2639 alias in your environment" "$LINENO" 5
2642 test "$2" = conftest.file
2648 as_fn_error $? "newly created file is older than distributed files!
2649 Check your system clock" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652 $as_echo "yes" >&6; }
2653 test "$program_prefix" != NONE &&
2654 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2655 # Use a double $ so make ignores it.
2656 test "$program_suffix" != NONE &&
2657 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2658 # Double any \ or $.
2659 # By default was `s,x,x', remove it if useless.
2660 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2661 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2663 # expand $ac_aux_dir to an absolute path
2664 am_aux_dir=`cd $ac_aux_dir && pwd`
2666 if test x"${MISSING+set}" != xset; then
2669 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2671 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2674 # Use eval to expand $SHELL
2675 if eval "$MISSING --run true"; then
2676 am_missing_run="$MISSING --run "
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2680 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2683 if test x"${install_sh}" != xset; then
2686 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2688 install_sh="\${SHELL} $am_aux_dir/install-sh"
2692 # Installed binaries are usually stripped using `strip' when the user
2693 # run `make install-strip'. However `strip' might not be the right
2694 # tool to use in cross-compilation environments, therefore Automake
2695 # will honor the `STRIP' environment variable to overrule this program.
2696 if test "$cross_compiling" != no; then
2697 if test -n "$ac_tool_prefix"; then
2698 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2699 set dummy ${ac_tool_prefix}strip; ac_word=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if test "${ac_cv_prog_STRIP+set}" = set; then :
2703 $as_echo_n "(cached) " >&6
2705 if test -n "$STRIP"; then
2706 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir=.
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 STRIP=$ac_cv_prog_STRIP
2726 if test -n "$STRIP"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2728 $as_echo "$STRIP" >&6; }
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2736 if test -z "$ac_cv_prog_STRIP"; then
2738 # Extract the first word of "strip", so it can be a program name with args.
2739 set dummy strip; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$ac_ct_STRIP"; then
2746 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_prog_ac_ct_STRIP="strip"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2766 if test -n "$ac_ct_STRIP"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2768 $as_echo "$ac_ct_STRIP" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2774 if test "x$ac_ct_STRIP" = x; then
2777 case $cross_compiling:$ac_tool_warned in
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2781 ac_tool_warned=yes ;;
2786 STRIP="$ac_cv_prog_STRIP"
2790 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2793 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2794 if test -z "$MKDIR_P"; then
2795 if test "${ac_cv_path_mkdir+set}" = set; then :
2796 $as_echo_n "(cached) " >&6
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2802 test -z "$as_dir" && as_dir=.
2803 for ac_prog in mkdir gmkdir; do
2804 for ac_exec_ext in '' $ac_executable_extensions; do
2805 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2806 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2807 'mkdir (GNU coreutils) '* | \
2808 'mkdir (coreutils) '* | \
2809 'mkdir (fileutils) '4.1*)
2810 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2820 test -d ./--version && rmdir ./--version
2821 if test "${ac_cv_path_mkdir+set}" = set; then
2822 MKDIR_P="$ac_cv_path_mkdir -p"
2824 # As a last resort, use the slow shell script. Don't cache a
2825 # value for MKDIR_P within a source directory, because that will
2826 # break other packages using the cache if that directory is
2827 # removed, or if the value is a relative name.
2828 MKDIR_P="$ac_install_sh -d"
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2832 $as_echo "$MKDIR_P" >&6; }
2836 [\\/$]* | ?:[\\/]*) ;;
2837 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2840 for ac_prog in gawk mawk nawk awk
2842 # Extract the first word of "$ac_prog", so it can be a program name with args.
2843 set dummy $ac_prog; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if test "${ac_cv_prog_AWK+set}" = set; then :
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$AWK"; then
2850 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 ac_cv_prog_AWK="$ac_prog"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 if test -n "$AWK"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2872 $as_echo "$AWK" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2879 test -n "$AWK" && break
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2883 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2885 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2886 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2887 $as_echo_n "(cached) " >&6
2889 cat >conftest.make <<\_ACEOF
2892 @echo '@@@%%%=$(MAKE)=@@@%%%'
2894 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2895 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2897 eval ac_cv_prog_make_${ac_make}_set=yes;;
2899 eval ac_cv_prog_make_${ac_make}_set=no;;
2903 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2905 $as_echo "yes" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2910 SET_MAKE="MAKE=${MAKE-make}"
2913 rm -rf .tst 2>/dev/null
2914 mkdir .tst 2>/dev/null
2915 if test -d .tst; then
2920 rmdir .tst 2>/dev/null
2922 # Check whether --enable-silent-rules was given.
2923 if test "${enable_silent_rules+set}" = set; then :
2924 enableval=$enable_silent_rules;
2927 case $enable_silent_rules in
2928 yes) AM_DEFAULT_VERBOSITY=0;;
2929 no) AM_DEFAULT_VERBOSITY=1;;
2930 *) AM_DEFAULT_VERBOSITY=1;;
2934 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2935 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2936 # is not polluted with repeated "-I."
2937 am__isrc=' -I$(srcdir)'
2938 # test to see if srcdir already configured
2939 if test -f $srcdir/config.status; then
2940 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2944 # test whether we have cygpath
2945 if test -z "$CYGPATH_W"; then
2946 if (cygpath --version) >/dev/null 2>/dev/null; then
2947 CYGPATH_W='cygpath -w'
2954 # Define the identity of the package.
2959 cat >>confdefs.h <<_ACEOF
2960 #define PACKAGE "$PACKAGE"
2964 cat >>confdefs.h <<_ACEOF
2965 #define VERSION "$VERSION"
2968 # Some tools Automake needs.
2970 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2973 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2976 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2979 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2982 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2984 # We need awk for the "check" target. The system "awk" is bad on
2986 # Always define AMTAR for backward compatibility.
2988 AMTAR=${AMTAR-"${am_missing_run}tar"}
2990 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3000 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3005 macro_version='2.2.6b'
3006 macro_revision='1.3017'
3020 ltmain="$ac_aux_dir/ltmain.sh"
3022 # Make sure we can run config.sub.
3023 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3024 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3027 $as_echo_n "checking build system type... " >&6; }
3028 if test "${ac_cv_build+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3031 ac_build_alias=$build_alias
3032 test "x$ac_build_alias" = x &&
3033 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3034 test "x$ac_build_alias" = x &&
3035 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3036 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3037 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3041 $as_echo "$ac_cv_build" >&6; }
3042 case $ac_cv_build in
3044 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3047 ac_save_IFS=$IFS; IFS='-'
3053 # Remember, the first character of IFS is used to create $*,
3054 # except with old shells:
3057 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3061 $as_echo_n "checking host system type... " >&6; }
3062 if test "${ac_cv_host+set}" = set; then :
3063 $as_echo_n "(cached) " >&6
3065 if test "x$host_alias" = x; then
3066 ac_cv_host=$ac_cv_build
3068 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3069 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3074 $as_echo "$ac_cv_host" >&6; }
3077 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3080 ac_save_IFS=$IFS; IFS='-'
3086 # Remember, the first character of IFS is used to create $*,
3087 # except with old shells:
3090 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3093 DEPDIR="${am__leading_dot}deps"
3095 ac_config_commands="$ac_config_commands depfiles"
3098 am_make=${MAKE-make}
3099 cat > confinc << 'END'
3101 @echo this is the am__doit target
3104 # If we don't find an include directive, just comment out the code.
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3106 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3110 # First try GNU make style include.
3111 echo "include confinc" > confmf
3112 # Ignore all kinds of additional output from `make'.
3113 case `$am_make -s -f confmf 2> /dev/null` in #(
3114 *the\ am__doit\ target*)
3120 # Now try BSD make style include.
3121 if test "$am__include" = "#"; then
3122 echo '.include "confinc"' > confmf
3123 case `$am_make -s -f confmf 2> /dev/null` in #(
3124 *the\ am__doit\ target*)
3125 am__include=.include
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3134 $as_echo "$_am_result" >&6; }
3135 rm -f confinc confmf
3137 # Check whether --enable-dependency-tracking was given.
3138 if test "${enable_dependency_tracking+set}" = set; then :
3139 enableval=$enable_dependency_tracking;
3142 if test "x$enable_dependency_tracking" != xno; then
3143 am_depcomp="$ac_aux_dir/depcomp"
3146 if test "x$enable_dependency_tracking" != xno; then
3156 ac_cpp='$CPP $CPPFLAGS'
3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3160 if test -n "$ac_tool_prefix"; then
3161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3162 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if test "${ac_cv_prog_CC+set}" = set; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC="$CC" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 if test -n "$CC"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3199 if test -z "$ac_cv_prog_CC"; then
3201 # Extract the first word of "gcc", so it can be a program name with args.
3202 set dummy gcc; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3208 if test -n "$ac_ct_CC"; then
3209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 test -z "$as_dir" && as_dir=.
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3218 ac_cv_prog_ac_ct_CC="gcc"
3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3229 if test -n "$ac_ct_CC"; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3231 $as_echo "$ac_ct_CC" >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3237 if test "x$ac_ct_CC" = x; then
3240 case $cross_compiling:$ac_tool_warned in
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3244 ac_tool_warned=yes ;;
3252 if test -z "$CC"; then
3253 if test -n "$ac_tool_prefix"; then
3254 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}cc; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if test "${ac_cv_prog_CC+set}" = set; then :
3259 $as_echo_n "(cached) " >&6
3261 if test -n "$CC"; then
3262 ac_cv_prog_CC="$CC" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_CC="${ac_tool_prefix}cc"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282 if test -n "$CC"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3284 $as_echo "$CC" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3293 if test -z "$CC"; then
3294 # Extract the first word of "cc", so it can be a program name with args.
3295 set dummy cc; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if test "${ac_cv_prog_CC+set}" = set; then :
3299 $as_echo_n "(cached) " >&6
3301 if test -n "$CC"; then
3302 ac_cv_prog_CC="$CC" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3312 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3313 ac_prog_rejected=yes
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 if test $ac_prog_rejected = yes; then
3325 # We found a bogon in the path, so make sure we never use it.
3326 set dummy $ac_cv_prog_CC
3328 if test $# != 0; then
3329 # We chose a different compiler from the bogus one.
3330 # However, it has the same basename, so the bogon will be chosen
3331 # first if we set CC to just the basename; use the full file name.
3333 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3339 if test -n "$CC"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3341 $as_echo "$CC" >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3349 if test -z "$CC"; then
3350 if test -n "$ac_tool_prefix"; then
3351 for ac_prog in cl.exe
3353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if test "${ac_cv_prog_CC+set}" = set; then :
3358 $as_echo_n "(cached) " >&6
3360 if test -n "$CC"; then
3361 ac_cv_prog_CC="$CC" # Let the user override the test.
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 if test -n "$CC"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3383 $as_echo "$CC" >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3390 test -n "$CC" && break
3393 if test -z "$CC"; then
3395 for ac_prog in cl.exe
3397 # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy $ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$ac_ct_CC"; then
3405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414 ac_cv_prog_ac_ct_CC="$ac_prog"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3425 if test -n "$ac_ct_CC"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3427 $as_echo "$ac_ct_CC" >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3434 test -n "$ac_ct_CC" && break
3437 if test "x$ac_ct_CC" = x; then
3440 case $cross_compiling:$ac_tool_warned in
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3444 ac_tool_warned=yes ;;
3453 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $? "no acceptable C compiler found in \$PATH
3456 See \`config.log' for more details" "$LINENO" 5 ; }
3458 # Provide some information about the compiler.
3459 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3462 for ac_option in --version -v -V -qversion; do
3463 { { ac_try="$ac_compiler $ac_option >&5"
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469 $as_echo "$ac_try_echo"; } >&5
3470 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3472 if test -s conftest.err; then
3474 ... rest of stderr output deleted ...
3475 10q' conftest.err >conftest.er1
3476 cat conftest.er1 >&5
3478 rm -f conftest.er1 conftest.err
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3494 ac_clean_files_save=$ac_clean_files
3495 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3496 # Try to create an executable without -o first, disregard a.out.
3497 # It will help us diagnose broken compilers, and finding out an intuition
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3500 $as_echo_n "checking whether the C compiler works... " >&6; }
3501 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3503 # The possible output files:
3504 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3507 for ac_file in $ac_files
3510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3511 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3516 if { { ac_try="$ac_link_default"
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_link_default") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
3527 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3528 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3529 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3530 # so that the user can short-circuit this test for compilers unknown to
3532 for ac_file in $ac_files ''
3534 test -f "$ac_file" || continue
3536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3539 # We found the default executable, but exeext='' is most
3543 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3545 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3547 # We set ac_cv_exeext here because the later test for it is not
3548 # safe: cross compilers may not add the suffix if given an `-o'
3549 # argument, so we may need to know it at that point already.
3550 # Even if this section looks crufty: it has the advantage of
3557 test "$ac_cv_exeext" = no && ac_cv_exeext=
3562 if test -z "$ac_file"; then :
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 as_fn_error 77 "C compiler cannot create executables
3571 See \`config.log' for more details" "$LINENO" 5 ; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574 $as_echo "yes" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3577 $as_echo_n "checking for C compiler default output file name... " >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3579 $as_echo "$ac_file" >&6; }
3580 ac_exeext=$ac_cv_exeext
3582 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3583 ac_clean_files=$ac_clean_files_save
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3585 $as_echo_n "checking for suffix of executables... " >&6; }
3586 if { { ac_try="$ac_link"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_link") 2>&5
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }; then :
3597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3599 # work properly (i.e., refer to `conftest.exe'), while it won't with
3601 for ac_file in conftest.exe conftest conftest.*; do
3602 test -f "$ac_file" || continue
3604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3614 See \`config.log' for more details" "$LINENO" 5 ; }
3616 rm -f conftest conftest$ac_cv_exeext
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3618 $as_echo "$ac_cv_exeext" >&6; }
3620 rm -f conftest.$ac_ext
3621 EXEEXT=$ac_cv_exeext
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3629 FILE *f = fopen ("conftest.out", "w");
3630 return ferror (f) || fclose (f) != 0;
3636 ac_clean_files="$ac_clean_files conftest.out"
3637 # Check that the compiler produces executables we can run. If not, either
3638 # the compiler is broken, or we cross compile.
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3640 $as_echo_n "checking whether we are cross compiling... " >&6; }
3641 if test "$cross_compiling" != yes; then
3642 { { ac_try="$ac_link"
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649 (eval "$ac_link") 2>&5
3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 test $ac_status = 0; }
3653 if { ac_try='./conftest$ac_cv_exeext'
3654 { { case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 $as_echo "$ac_try_echo"; } >&5
3660 (eval "$ac_try") 2>&5
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; }; }; then
3666 if test "$cross_compiling" = maybe; then
3669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error $? "cannot run C compiled programs.
3672 If you meant to cross compile, use \`--host'.
3673 See \`config.log' for more details" "$LINENO" 5 ; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3678 $as_echo "$cross_compiling" >&6; }
3680 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3683 $as_echo_n "checking for suffix of object files... " >&6; }
3684 if test "${ac_cv_objext+set}" = set; then :
3685 $as_echo_n "(cached) " >&6
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3698 rm -f conftest.o conftest.obj
3699 if { { ac_try="$ac_compile"
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3705 $as_echo "$ac_try_echo"; } >&5
3706 (eval "$ac_compile") 2>&5
3708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3709 test $ac_status = 0; }; then :
3710 for ac_file in conftest.o conftest.obj conftest.*; do
3711 test -f "$ac_file" || continue;
3713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3719 $as_echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "cannot compute suffix of object files: cannot compile
3725 See \`config.log' for more details" "$LINENO" 5 ; }
3727 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3730 $as_echo "$ac_cv_objext" >&6; }
3731 OBJEXT=$ac_cv_objext
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3734 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3735 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3736 $as_echo_n "(cached) " >&6
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3752 if ac_fn_c_try_compile "$LINENO"; then :
3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3762 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3763 if test $ac_compiler_gnu = yes; then
3768 ac_test_CFLAGS=${CFLAGS+set}
3769 ac_save_CFLAGS=$CFLAGS
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3771 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3772 if test "${ac_cv_prog_cc_g+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3775 ac_save_c_werror_flag=$ac_c_werror_flag
3776 ac_c_werror_flag=yes
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3805 if ac_fn_c_try_compile "$LINENO"; then :
3808 ac_c_werror_flag=$ac_save_c_werror_flag
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3821 if ac_fn_c_try_compile "$LINENO"; then :
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829 ac_c_werror_flag=$ac_save_c_werror_flag
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3832 $as_echo "$ac_cv_prog_cc_g" >&6; }
3833 if test "$ac_test_CFLAGS" = set; then
3834 CFLAGS=$ac_save_CFLAGS
3835 elif test $ac_cv_prog_cc_g = yes; then
3836 if test "$GCC" = yes; then
3842 if test "$GCC" = yes; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3849 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3850 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3851 $as_echo_n "(cached) " >&6
3853 ac_cv_prog_cc_c89=no
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3859 #include <sys/types.h>
3860 #include <sys/stat.h>
3861 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3862 struct buf { int x; };
3863 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3864 static char *e (p, i)
3870 static char *f (char * (*g) (char **, int), char **p, ...)
3875 s = g (p, va_arg (v,int));
3880 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3881 function prototypes and stuff, but not '\xHH' hex character constants.
3882 These don't provoke an error unfortunately, instead are silently treated
3883 as 'x'. The following induces an error, until -std is added to get
3884 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3885 array size at least. It's necessary to write '\x00'==0 to get something
3886 that's true only with -std. */
3887 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3889 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3890 inside strings and character constants. */
3892 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3894 int test (int i, double x);
3895 struct s1 {int (*f) (int a);};
3896 struct s2 {int (*f) (double a);};
3897 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3903 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3908 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3909 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3911 CC="$ac_save_CC $ac_arg"
3912 if ac_fn_c_try_compile "$LINENO"; then :
3913 ac_cv_prog_cc_c89=$ac_arg
3915 rm -f core conftest.err conftest.$ac_objext
3916 test "x$ac_cv_prog_cc_c89" != "xno" && break
3918 rm -f conftest.$ac_ext
3923 case "x$ac_cv_prog_cc_c89" in
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3926 $as_echo "none needed" >&6; } ;;
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3929 $as_echo "unsupported" >&6; } ;;
3931 CC="$CC $ac_cv_prog_cc_c89"
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3933 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3935 if test "x$ac_cv_prog_cc_c89" != xno; then :
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 depcc="$CC" am_compiler_list=
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3948 $as_echo_n "checking dependency style of $depcc... " >&6; }
3949 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3953 # We make a subdir and do the tests there. Otherwise we can end up
3954 # making bogus files that we don't know about and never remove. For
3955 # instance it was reported that on HP-UX the gcc test will end up
3956 # making a dummy file named `D' -- because `-MD' means `put the output
3959 # Copy depcomp to subdir because otherwise we won't find it if we're
3960 # using a relative directory.
3961 cp "$am_depcomp" conftest.dir
3963 # We will build objects and dependencies in a subdirectory because
3964 # it helps to detect inapplicable dependency modes. For instance
3965 # both Tru64's cc and ICC support -MD to output dependencies as a
3966 # side effect of compilation, but ICC will put the dependencies in
3967 # the current directory while Tru64 will put them in the object
3971 am_cv_CC_dependencies_compiler_type=none
3972 if test "$am_compiler_list" = ""; then
3973 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3976 case " $depcc " in #(
3977 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3980 for depmode in $am_compiler_list; do
3981 # Setup a source with many dependencies, because some compilers
3982 # like to wrap large dependency lists on column 80 (with \), and
3983 # we should not choose a depcomp mode which is confused by this.
3985 # We need to recreate these files for each test, as the compiler may
3986 # overwrite some of them when testing with obscure command lines.
3987 # This happens at least with the AIX C compiler.
3989 for i in 1 2 3 4 5 6; do
3990 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3992 # Solaris 8's {/usr,}/bin/sh.
3993 touch sub/conftst$i.h
3995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3997 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3998 # mode. It turns out that the SunPro C++ compiler does not properly
3999 # handle `-M -o', and we need to detect this. Also, some Intel
4000 # versions had trouble with output in subdirs
4001 am__obj=sub/conftest.${OBJEXT-o}
4002 am__minus_obj="-o $am__obj"
4005 # This depmode causes a compiler race in universal mode.
4006 test "$am__universal" = false || continue
4009 # after this tag, mechanisms are not by side-effect, so they'll
4010 # only be used when explicitly requested
4011 if test "x$enable_dependency_tracking" = xyes; then
4017 msvisualcpp | msvcmsys)
4018 # This compiler won't grok `-c -o', but also, the minuso test has
4019 # not run yet. These depmodes are late enough in the game, and
4020 # so weak that their functioning should not be impacted.
4021 am__obj=conftest.${OBJEXT-o}
4026 if depmode=$depmode \
4027 source=sub/conftest.c object=$am__obj \
4028 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4029 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4030 >/dev/null 2>conftest.err &&
4031 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4032 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4033 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4034 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4035 # icc doesn't choke on unknown options, it will just issue warnings
4036 # or remarks (even with -Werror). So we grep stderr for any message
4037 # that says an option was ignored or not supported.
4038 # When given -MP, icc 7.0 and 7.1 complain thusly:
4039 # icc: Command line warning: ignoring option '-M'; no argument required
4040 # The diagnosis changed in icc 8.0:
4041 # icc: Command line remark: option '-MP' not supported
4042 if (grep 'ignoring option' conftest.err ||
4043 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4044 am_cv_CC_dependencies_compiler_type=$depmode
4053 am_cv_CC_dependencies_compiler_type=none
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4058 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4059 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4062 test "x$enable_dependency_tracking" != xno \
4063 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4065 am__fastdepCC_FALSE='#'
4067 am__fastdepCC_TRUE='#'
4068 am__fastdepCC_FALSE=
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4073 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4074 if test "${ac_cv_path_SED+set}" = set; then :
4075 $as_echo_n "(cached) " >&6
4077 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4078 for ac_i in 1 2 3 4 5 6 7; do
4079 ac_script="$ac_script$as_nl$ac_script"
4081 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4082 { ac_script=; unset ac_script;}
4083 if test -z "$SED"; then
4084 ac_path_SED_found=false
4085 # Loop through the user's path and test for each of PROGNAME-LIST
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir=.
4091 for ac_prog in sed gsed; do
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4094 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4095 # Check for GNU ac_path_SED and select it if it is found.
4096 # Check for GNU $ac_path_SED
4097 case `"$ac_path_SED" --version 2>&1` in
4099 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4102 $as_echo_n 0123456789 >"conftest.in"
4105 cat "conftest.in" "conftest.in" >"conftest.tmp"
4106 mv "conftest.tmp" "conftest.in"
4107 cp "conftest.in" "conftest.nl"
4108 $as_echo '' >> "conftest.nl"
4109 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4111 as_fn_arith $ac_count + 1 && ac_count=$as_val
4112 if test $ac_count -gt ${ac_path_SED_max-0}; then
4113 # Best one so far, save it but keep looking for a better one
4114 ac_cv_path_SED="$ac_path_SED"
4115 ac_path_SED_max=$ac_count
4117 # 10*(2^10) chars as input seems more than enough
4118 test $ac_count -gt 10 && break
4120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4123 $ac_path_SED_found && break 3
4128 if test -z "$ac_cv_path_SED"; then
4129 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4137 $as_echo "$ac_cv_path_SED" >&6; }
4138 SED="$ac_cv_path_SED"
4141 test -z "$SED" && SED=sed
4142 Xsed="$SED -e 1s/^X//"
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4155 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4156 if test "${ac_cv_path_GREP+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4159 if test -z "$GREP"; then
4160 ac_path_GREP_found=false
4161 # Loop through the user's path and test for each of PROGNAME-LIST
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4166 test -z "$as_dir" && as_dir=.
4167 for ac_prog in grep ggrep; do
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4170 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4171 # Check for GNU ac_path_GREP and select it if it is found.
4172 # Check for GNU $ac_path_GREP
4173 case `"$ac_path_GREP" --version 2>&1` in
4175 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4178 $as_echo_n 0123456789 >"conftest.in"
4181 cat "conftest.in" "conftest.in" >"conftest.tmp"
4182 mv "conftest.tmp" "conftest.in"
4183 cp "conftest.in" "conftest.nl"
4184 $as_echo 'GREP' >> "conftest.nl"
4185 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4186 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4187 as_fn_arith $ac_count + 1 && ac_count=$as_val
4188 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4189 # Best one so far, save it but keep looking for a better one
4190 ac_cv_path_GREP="$ac_path_GREP"
4191 ac_path_GREP_max=$ac_count
4193 # 10*(2^10) chars as input seems more than enough
4194 test $ac_count -gt 10 && break
4196 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4199 $ac_path_GREP_found && break 3
4204 if test -z "$ac_cv_path_GREP"; then
4205 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4208 ac_cv_path_GREP=$GREP
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4213 $as_echo "$ac_cv_path_GREP" >&6; }
4214 GREP="$ac_cv_path_GREP"
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4218 $as_echo_n "checking for egrep... " >&6; }
4219 if test "${ac_cv_path_EGREP+set}" = set; then :
4220 $as_echo_n "(cached) " >&6
4222 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4223 then ac_cv_path_EGREP="$GREP -E"
4225 if test -z "$EGREP"; then
4226 ac_path_EGREP_found=false
4227 # Loop through the user's path and test for each of PROGNAME-LIST
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4232 test -z "$as_dir" && as_dir=.
4233 for ac_prog in egrep; do
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4236 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4237 # Check for GNU ac_path_EGREP and select it if it is found.
4238 # Check for GNU $ac_path_EGREP
4239 case `"$ac_path_EGREP" --version 2>&1` in
4241 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4244 $as_echo_n 0123456789 >"conftest.in"
4247 cat "conftest.in" "conftest.in" >"conftest.tmp"
4248 mv "conftest.tmp" "conftest.in"
4249 cp "conftest.in" "conftest.nl"
4250 $as_echo 'EGREP' >> "conftest.nl"
4251 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4252 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4253 as_fn_arith $ac_count + 1 && ac_count=$as_val
4254 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4255 # Best one so far, save it but keep looking for a better one
4256 ac_cv_path_EGREP="$ac_path_EGREP"
4257 ac_path_EGREP_max=$ac_count
4259 # 10*(2^10) chars as input seems more than enough
4260 test $ac_count -gt 10 && break
4262 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4265 $ac_path_EGREP_found && break 3
4270 if test -z "$ac_cv_path_EGREP"; then
4271 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4274 ac_cv_path_EGREP=$EGREP
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4280 $as_echo "$ac_cv_path_EGREP" >&6; }
4281 EGREP="$ac_cv_path_EGREP"
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4285 $as_echo_n "checking for fgrep... " >&6; }
4286 if test "${ac_cv_path_FGREP+set}" = set; then :
4287 $as_echo_n "(cached) " >&6
4289 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4290 then ac_cv_path_FGREP="$GREP -F"
4292 if test -z "$FGREP"; then
4293 ac_path_FGREP_found=false
4294 # Loop through the user's path and test for each of PROGNAME-LIST
4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4299 test -z "$as_dir" && as_dir=.
4300 for ac_prog in fgrep; do
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4303 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4304 # Check for GNU ac_path_FGREP and select it if it is found.
4305 # Check for GNU $ac_path_FGREP
4306 case `"$ac_path_FGREP" --version 2>&1` in
4308 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4311 $as_echo_n 0123456789 >"conftest.in"
4314 cat "conftest.in" "conftest.in" >"conftest.tmp"
4315 mv "conftest.tmp" "conftest.in"
4316 cp "conftest.in" "conftest.nl"
4317 $as_echo 'FGREP' >> "conftest.nl"
4318 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4320 as_fn_arith $ac_count + 1 && ac_count=$as_val
4321 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4322 # Best one so far, save it but keep looking for a better one
4323 ac_cv_path_FGREP="$ac_path_FGREP"
4324 ac_path_FGREP_max=$ac_count
4326 # 10*(2^10) chars as input seems more than enough
4327 test $ac_count -gt 10 && break
4329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332 $ac_path_FGREP_found && break 3
4337 if test -z "$ac_cv_path_FGREP"; then
4338 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4341 ac_cv_path_FGREP=$FGREP
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4347 $as_echo "$ac_cv_path_FGREP" >&6; }
4348 FGREP="$ac_cv_path_FGREP"
4351 test -z "$GREP" && GREP=grep
4371 # Check whether --with-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then :
4373 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4382 $as_echo_n "checking for ld used by $CC... " >&6; }
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4391 # Accept absolute paths.
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4399 test -z "$LD" && LD="$ac_prog"
4402 # If it fails, then pretend we aren't using GCC.
4406 # If it is relative, then search for the first ld in PATH.
4410 elif test "$with_gnu_ld" = yes; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4412 $as_echo_n "checking for GNU ld... " >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4415 $as_echo_n "checking for non-GNU ld... " >&6; }
4417 if test "${lt_cv_path_LD+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4435 test "$with_gnu_ld" != yes && break
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4447 if test -n "$LD"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4449 $as_echo "$LD" >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4454 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4456 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4457 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4458 $as_echo_n "(cached) " >&6
4460 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4461 case `$LD -v 2>&1 </dev/null` in
4462 *GNU* | *'with BFD'*)
4463 lt_cv_prog_gnu_ld=yes
4466 lt_cv_prog_gnu_ld=no
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4471 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4472 with_gnu_ld=$lt_cv_prog_gnu_ld
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4483 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4484 if test "${lt_cv_path_NM+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -n "$NM"; then
4488 # Let the user override the test.
4491 lt_nm_to_check="${ac_tool_prefix}nm"
4492 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4493 lt_nm_to_check="$lt_nm_to_check nm"
4495 for lt_tmp_nm in $lt_nm_to_check; do
4496 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4497 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4499 test -z "$ac_dir" && ac_dir=.
4500 tmp_nm="$ac_dir/$lt_tmp_nm"
4501 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4502 # Check to see if the nm accepts a BSD-compat flag.
4503 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4504 # nm: unknown option "B" ignored
4505 # Tru64's nm complains that /dev/null is an invalid object file
4506 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4507 */dev/null* | *'Invalid file or object type'*)
4508 lt_cv_path_NM="$tmp_nm -B"
4512 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4514 lt_cv_path_NM="$tmp_nm -p"
4518 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4519 continue # so that we can try to find one that supports BSD flags
4528 : ${lt_cv_path_NM=no}
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4532 $as_echo "$lt_cv_path_NM" >&6; }
4533 if test "$lt_cv_path_NM" != "no"; then
4536 # Didn't find any BSD compatible name lister, look for dumpbin.
4537 if test -n "$ac_tool_prefix"; then
4538 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4543 $as_echo_n "checking for $ac_word... " >&6; }
4544 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4545 $as_echo_n "(cached) " >&6
4547 if test -n "$DUMPBIN"; then
4548 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 test -z "$as_dir" && as_dir=.
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4557 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 DUMPBIN=$ac_cv_prog_DUMPBIN
4568 if test -n "$DUMPBIN"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4570 $as_echo "$DUMPBIN" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573 $as_echo "no" >&6; }
4577 test -n "$DUMPBIN" && break
4580 if test -z "$DUMPBIN"; then
4581 ac_ct_DUMPBIN=$DUMPBIN
4582 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy $ac_prog; ac_word=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4589 $as_echo_n "(cached) " >&6
4591 if test -n "$ac_ct_DUMPBIN"; then
4592 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir=.
4599 for ac_exec_ext in '' $ac_executable_extensions; do
4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4614 $as_echo "$ac_ct_DUMPBIN" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$ac_ct_DUMPBIN" && break
4624 if test "x$ac_ct_DUMPBIN" = x; then
4627 case $cross_compiling:$ac_tool_warned in
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned=yes ;;
4633 DUMPBIN=$ac_ct_DUMPBIN
4638 if test "$DUMPBIN" != ":"; then
4642 test -z "$NM" && NM=nm
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4650 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4651 if test "${lt_cv_nm_interface+set}" = set; then :
4652 $as_echo_n "(cached) " >&6
4654 lt_cv_nm_interface="BSD nm"
4655 echo "int some_variable = 0;" > conftest.$ac_ext
4656 (eval echo "\"\$as_me:4656: $ac_compile\"" >&5)
4657 (eval "$ac_compile" 2>conftest.err)
4658 cat conftest.err >&5
4659 (eval echo "\"\$as_me:4659: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4660 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4661 cat conftest.err >&5
4662 (eval echo "\"\$as_me:4662: output\"" >&5)
4663 cat conftest.out >&5
4664 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4665 lt_cv_nm_interface="MS dumpbin"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4670 $as_echo "$lt_cv_nm_interface" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4673 $as_echo_n "checking whether ln -s works... " >&6; }
4675 if test "$LN_S" = "ln -s"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4677 $as_echo "yes" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4680 $as_echo "no, using $LN_S" >&6; }
4683 # find the maximum length of command line arguments
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4685 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4686 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4694 # On DJGPP, this test can blow up pretty badly due to problems in libc
4695 # (any single argument exceeding 2000 bytes causes a buffer overrun
4696 # during glob expansion). Even if it were fixed, the result of this
4697 # check would be larger than it should be.
4698 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4702 # Under GNU Hurd, this test is not required because there is
4703 # no limit to the length of command line arguments.
4704 # Libtool will interpret -1 as no limit whatsoever
4705 lt_cv_sys_max_cmd_len=-1;
4708 cygwin* | mingw* | cegcc*)
4709 # On Win9x/ME, this test blows up -- it succeeds, but takes
4710 # about 5 minutes as the teststring grows exponentially.
4711 # Worse, since 9x/ME are not pre-emptively multitasking,
4712 # you end up with a "frozen" computer, even though with patience
4713 # the test eventually succeeds (with a max line length of 256k).
4714 # Instead, let's just punt: use the minimum linelength reported by
4715 # all of the supported platforms: 8192 (on NT/2K/XP).
4716 lt_cv_sys_max_cmd_len=8192;
4720 # On AmigaOS with pdksh, this test takes hours, literally.
4721 # So we just punt and use a minimum line length of 8192.
4722 lt_cv_sys_max_cmd_len=8192;
4725 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4726 # This has been around since 386BSD, at least. Likely further.
4727 if test -x /sbin/sysctl; then
4728 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4729 elif test -x /usr/sbin/sysctl; then
4730 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4732 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4734 # And add a safety zone
4735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4736 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4740 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4741 lt_cv_sys_max_cmd_len=196608
4745 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4746 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4747 # nice to cause kernel panics so lets avoid the loop below.
4748 # First set a reasonable default.
4749 lt_cv_sys_max_cmd_len=16384
4751 if test -x /sbin/sysconfig; then
4752 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4753 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4758 lt_cv_sys_max_cmd_len=102400
4760 sysv5* | sco5v6* | sysv4.2uw2*)
4761 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4762 if test -n "$kargmax"; then
4763 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4765 lt_cv_sys_max_cmd_len=32768
4769 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4770 if test -n "$lt_cv_sys_max_cmd_len"; then
4771 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4772 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4774 # Make teststring a little bigger before we do anything with it.
4775 # a 1K string should be a reasonable start.
4776 for i in 1 2 3 4 5 6 7 8 ; do
4777 teststring=$teststring$teststring
4779 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4780 # If test is not a shell built-in, we'll probably end up computing a
4781 # maximum length that is only half of the actual maximum length, but
4783 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4784 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4785 test $i != 17 # 1/2 MB should be enough
4788 teststring=$teststring$teststring
4790 # Only check the string length outside the loop.
4791 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4793 # Add a significant safety factor because C++ compilers can tack on
4794 # massive amounts of additional arguments before passing them to the
4795 # linker. It appears as though 1/2 is a usable value.
4796 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4803 if test -n $lt_cv_sys_max_cmd_len ; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4805 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4808 $as_echo "none" >&6; }
4810 max_cmd_len=$lt_cv_sys_max_cmd_len
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4822 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4823 # Try some XSI features
4826 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4828 && eval 'test $(( 1 + 1 )) -eq 2 \
4829 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4832 $as_echo "$xsi_shell" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4836 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4838 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4840 && lt_shell_append=yes
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4842 $as_echo "$lt_shell_append" >&6; }
4845 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4855 # test EBCDIC or ASCII
4856 case `echo X|tr X '\101'` in
4857 A) # ASCII based system
4858 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4859 lt_SP2NL='tr \040 \012'
4860 lt_NL2SP='tr \015\012 \040\040'
4862 *) # EBCDIC based system
4863 lt_SP2NL='tr \100 \n'
4864 lt_NL2SP='tr \r\n \100\100'
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4877 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4878 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4881 lt_cv_ld_reload_flag='-r'
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4884 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4885 reload_flag=$lt_cv_ld_reload_flag
4886 case $reload_flag in
4888 *) reload_flag=" $reload_flag" ;;
4890 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4893 if test "$GCC" = yes; then
4894 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4896 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4911 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$OBJDUMP"; then
4918 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 OBJDUMP=$ac_cv_prog_OBJDUMP
4938 if test -n "$OBJDUMP"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4940 $as_echo "$OBJDUMP" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_OBJDUMP"; then
4949 ac_ct_OBJDUMP=$OBJDUMP
4950 # Extract the first word of "objdump", so it can be a program name with args.
4951 set dummy objdump; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_OBJDUMP"; then
4958 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4978 if test -n "$ac_ct_OBJDUMP"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4980 $as_echo "$ac_ct_OBJDUMP" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_OBJDUMP" = x; then
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned=yes ;;
4995 OBJDUMP=$ac_ct_OBJDUMP
4998 OBJDUMP="$ac_cv_prog_OBJDUMP"
5001 test -z "$OBJDUMP" && OBJDUMP=objdump
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5012 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5013 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5016 lt_cv_file_magic_cmd='$MAGIC_CMD'
5017 lt_cv_file_magic_test_file=
5018 lt_cv_deplibs_check_method='unknown'
5019 # Need to set the preceding variable on all platforms that support
5020 # interlibrary dependencies.
5021 # 'none' -- dependencies not supported.
5022 # `unknown' -- same as none, but documents that we really don't know.
5023 # 'pass_all' -- all dependencies passed with no checks.
5024 # 'test_compile' -- check by making test program.
5025 # 'file_magic [[regex]]' -- check by looking for files in library path
5026 # which responds to the $file_magic_cmd with a given extended regex.
5027 # If you have `file' or equivalent on your system and you're not sure
5028 # whether `pass_all' will *always* work, you probably want this one.
5032 lt_cv_deplibs_check_method=pass_all
5036 lt_cv_deplibs_check_method=pass_all
5040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5041 lt_cv_file_magic_cmd='/usr/bin/file -L'
5042 lt_cv_file_magic_test_file=/shlib/libc.so
5046 # func_win32_libid is a shell function defined in ltmain.sh
5047 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5048 lt_cv_file_magic_cmd='func_win32_libid'
5052 # Base MSYS/MinGW do not provide the 'file' command needed by
5053 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5054 # unless we find 'file', for example because we are cross-compiling.
5055 if ( file / ) >/dev/null 2>&1; then
5056 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5057 lt_cv_file_magic_cmd='func_win32_libid'
5059 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5060 lt_cv_file_magic_cmd='$OBJDUMP -f'
5065 # use the weaker test based on 'objdump'. See mingw*.
5066 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5067 lt_cv_file_magic_cmd='$OBJDUMP -f'
5070 darwin* | rhapsody*)
5071 lt_cv_deplibs_check_method=pass_all
5074 freebsd* | dragonfly*)
5075 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5078 # Not sure whether the presence of OpenBSD here was a mistake.
5079 # Let's accept both of them until this is cleared up.
5080 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5081 lt_cv_file_magic_cmd=/usr/bin/file
5082 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5086 lt_cv_deplibs_check_method=pass_all
5091 lt_cv_deplibs_check_method=pass_all
5094 hpux10.20* | hpux11*)
5095 lt_cv_file_magic_cmd=/usr/bin/file
5098 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5099 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5102 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5103 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5106 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5107 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5113 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5114 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5117 irix5* | irix6* | nonstopux*)
5119 *-32|*"-32 ") libmagic=32-bit;;
5120 *-n32|*"-n32 ") libmagic=N32;;
5121 *-64|*"-64 ") libmagic=64-bit;;
5122 *) libmagic=never-match;;
5124 lt_cv_deplibs_check_method=pass_all
5127 # This must be Linux ELF.
5128 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5129 lt_cv_deplibs_check_method=pass_all
5132 netbsd* | netbsdelf*-gnu)
5133 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5134 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5136 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5141 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5142 lt_cv_file_magic_cmd=/usr/bin/file
5143 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5147 lt_cv_deplibs_check_method=pass_all
5151 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5152 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5154 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5158 osf3* | osf4* | osf5*)
5159 lt_cv_deplibs_check_method=pass_all
5163 lt_cv_deplibs_check_method=pass_all
5167 lt_cv_deplibs_check_method=pass_all
5170 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5171 lt_cv_deplibs_check_method=pass_all
5175 case $host_vendor in
5177 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]'
5178 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5181 lt_cv_deplibs_check_method=pass_all
5184 lt_cv_file_magic_cmd='/bin/file'
5185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5188 lt_cv_file_magic_cmd='/bin/file'
5189 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5190 lt_cv_file_magic_test_file=/lib/libc.so
5193 lt_cv_deplibs_check_method=pass_all
5196 lt_cv_deplibs_check_method=pass_all
5202 lt_cv_deplibs_check_method=pass_all
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5208 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5209 file_magic_cmd=$lt_cv_file_magic_cmd
5210 deplibs_check_method=$lt_cv_deplibs_check_method
5211 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5226 set dummy ${ac_tool_prefix}ar; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_AR+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$AR"; then
5233 ac_cv_prog_AR="$AR" # Let the user override the test.
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_AR="${ac_tool_prefix}ar"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 if test -n "$AR"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5255 $as_echo "$AR" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5263 if test -z "$ac_cv_prog_AR"; then
5265 # Extract the first word of "ar", so it can be a program name with args.
5266 set dummy ar; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$ac_ct_AR"; then
5273 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_ac_ct_AR="ar"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5293 if test -n "$ac_ct_AR"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5295 $as_echo "$ac_ct_AR" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5301 if test "x$ac_ct_AR" = x; then
5304 case $cross_compiling:$ac_tool_warned in
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned=yes ;;
5316 test -z "$AR" && AR=ar
5317 test -z "$AR_FLAGS" && AR_FLAGS=cru
5329 if test -n "$ac_tool_prefix"; then
5330 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5331 set dummy ${ac_tool_prefix}strip; ac_word=$2
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333 $as_echo_n "checking for $ac_word... " >&6; }
5334 if test "${ac_cv_prog_STRIP+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5337 if test -n "$STRIP"; then
5338 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 test -z "$as_dir" && as_dir=.
5345 for ac_exec_ext in '' $ac_executable_extensions; do
5346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5347 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 STRIP=$ac_cv_prog_STRIP
5358 if test -n "$STRIP"; then
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5360 $as_echo "$STRIP" >&6; }
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5368 if test -z "$ac_cv_prog_STRIP"; then
5370 # Extract the first word of "strip", so it can be a program name with args.
5371 set dummy strip; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 if test -n "$ac_ct_STRIP"; then
5378 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 test -z "$as_dir" && as_dir=.
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5387 ac_cv_prog_ac_ct_STRIP="strip"
5388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5398 if test -n "$ac_ct_STRIP"; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5400 $as_echo "$ac_ct_STRIP" >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5406 if test "x$ac_ct_STRIP" = x; then
5409 case $cross_compiling:$ac_tool_warned in
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5413 ac_tool_warned=yes ;;
5418 STRIP="$ac_cv_prog_STRIP"
5421 test -z "$STRIP" && STRIP=:
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5430 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$RANLIB"; then
5437 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 RANLIB=$ac_cv_prog_RANLIB
5457 if test -n "$RANLIB"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5459 $as_echo "$RANLIB" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_RANLIB"; then
5468 ac_ct_RANLIB=$RANLIB
5469 # Extract the first word of "ranlib", so it can be a program name with args.
5470 set dummy ranlib; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_RANLIB"; then
5477 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486 ac_cv_prog_ac_ct_RANLIB="ranlib"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5497 if test -n "$ac_ct_RANLIB"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5499 $as_echo "$ac_ct_RANLIB" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_RANLIB" = x; then
5508 case $cross_compiling:$ac_tool_warned in
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned=yes ;;
5514 RANLIB=$ac_ct_RANLIB
5517 RANLIB="$ac_cv_prog_RANLIB"
5520 test -z "$RANLIB" && RANLIB=:
5527 # Determine commands to create old-style static archives.
5528 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5529 old_postinstall_cmds='chmod 644 $oldlib'
5530 old_postuninstall_cmds=
5532 if test -n "$RANLIB"; then
5535 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5538 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5541 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5577 # If no C compiler was specified, use CC.
5580 # If no C compiler flags were specified, use CFLAGS.
5581 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5583 # Allow CC to be a program name with arguments.
5587 # Check for command to grab the raw symbol name followed by C symbol from nm.
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5589 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5590 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5591 $as_echo_n "(cached) " >&6
5594 # These are sane defaults that work on at least a few old systems.
5595 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5597 # Character class describing NM global symbol codes.
5598 symcode='[BCDEGRST]'
5600 # Regexp to match symbols that can be accessed directly from C.
5601 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5603 # Define system-specific variables.
5608 cygwin* | mingw* | pw32* | cegcc*)
5609 symcode='[ABCDGISTW]'
5612 if test "$host_cpu" = ia64; then
5613 symcode='[ABCDEGRST]'
5617 symcode='[BCDEGRST]'
5620 symcode='[BCDEGQRST]'
5631 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5639 # If we're using GNU nm, then use its standard symbol codes.
5640 case `$NM -V 2>&1` in
5641 *GNU* | *'with BFD'*)
5642 symcode='[ABCDGIRSTW]' ;;
5645 # Transform an extracted symbol line into a proper C declaration.
5646 # Some systems (esp. on ia64) link data and code symbols differently,
5647 # so use this general approach.
5648 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5650 # Transform an extracted symbol line into symbol name and symbol address
5651 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5652 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'"
5654 # Handle CRLF in mingw tool chain
5658 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5662 # Try without a prefix underscore, then with it.
5663 for ac_symprfx in "" "_"; do
5665 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5666 symxfrm="\\1 $ac_symprfx\\2 \\2"
5668 # Write the raw and C identifiers.
5669 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5670 # Fake it for dumpbin and say T for any non-static function
5671 # and D for any global variable.
5672 # Also find C++ and __fastcall symbols from MSVC++,
5673 # which start with @ or ?.
5674 lt_cv_sys_global_symbol_pipe="$AWK '"\
5675 " {last_section=section; section=\$ 3};"\
5676 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5677 " \$ 0!~/External *\|/{next};"\
5678 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5679 " {if(hide[section]) next};"\
5680 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5681 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5682 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5683 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5684 " ' prfx=^$ac_symprfx"
5686 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5689 # Check to see that the pipe works correctly.
5693 cat > conftest.$ac_ext <<_LT_EOF
5698 void nm_test_func(void);
5699 void nm_test_func(void){}
5703 int main(){nm_test_var='a';nm_test_func();return(0);}
5706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5707 (eval $ac_compile) 2>&5
5709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5710 test $ac_status = 0; }; then
5711 # Now try to grab the symbols.
5713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5714 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5717 test $ac_status = 0; } && test -s "$nlist"; then
5718 # Try sorting and uniquifying the output.
5719 if sort "$nlist" | uniq > "$nlist"T; then
5720 mv -f "$nlist"T "$nlist"
5725 # Make sure that we snagged all the symbols we need.
5726 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5727 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5728 cat <<_LT_EOF > conftest.$ac_ext
5734 # Now generate the symbol file.
5735 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5737 cat <<_LT_EOF >> conftest.$ac_ext
5739 /* The mapping between symbol names and symbols. */
5744 lt__PROGRAM__LTX_preloaded_symbols[] =
5746 { "@PROGRAM@", (void *) 0 },
5748 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5749 cat <<\_LT_EOF >> conftest.$ac_ext
5753 /* This works around a problem in FreeBSD linker */
5754 #ifdef FREEBSD_WORKAROUND
5755 static const void *lt_preloaded_setup() {
5756 return lt__PROGRAM__LTX_preloaded_symbols;
5764 # Now try linking the two files.
5765 mv conftest.$ac_objext conftstm.$ac_objext
5766 lt_save_LIBS="$LIBS"
5767 lt_save_CFLAGS="$CFLAGS"
5768 LIBS="conftstm.$ac_objext"
5769 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5771 (eval $ac_link) 2>&5
5773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5774 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5777 LIBS="$lt_save_LIBS"
5778 CFLAGS="$lt_save_CFLAGS"
5780 echo "cannot find nm_test_func in $nlist" >&5
5783 echo "cannot find nm_test_var in $nlist" >&5
5786 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5789 echo "$progname: failed program was:" >&5
5790 cat conftest.$ac_ext >&5
5792 rm -rf conftest* conftst*
5794 # Do not use the global_symbol_pipe unless it works.
5795 if test "$pipe_works" = yes; then
5798 lt_cv_sys_global_symbol_pipe=
5804 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5805 lt_cv_sys_global_symbol_to_cdecl=
5807 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5809 $as_echo "failed" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5812 $as_echo "ok" >&6; }
5837 # Check whether --enable-libtool-lock was given.
5838 if test "${enable_libtool_lock+set}" = set; then :
5839 enableval=$enable_libtool_lock;
5842 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5844 # Some flags need to be propagated to the compiler or linker for good
5848 # Find out which ABI we are using.
5849 echo 'int i;' > conftest.$ac_ext
5850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5851 (eval $ac_compile) 2>&5
5853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5854 test $ac_status = 0; }; then
5855 case `/usr/bin/file conftest.$ac_objext` in
5867 # Find out which ABI we are using.
5868 echo '#line 5868 "configure"' > conftest.$ac_ext
5869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5870 (eval $ac_compile) 2>&5
5872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5873 test $ac_status = 0; }; then
5874 if test "$lt_cv_prog_gnu_ld" = yes; then
5875 case `/usr/bin/file conftest.$ac_objext` in
5877 LD="${LD-ld} -melf32bsmip"
5880 LD="${LD-ld} -melf32bmipn32"
5883 LD="${LD-ld} -melf64bmip"
5887 case `/usr/bin/file conftest.$ac_objext` in
5903 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5904 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5905 # Find out which ABI we are using.
5906 echo 'int i;' > conftest.$ac_ext
5907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5908 (eval $ac_compile) 2>&5
5910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5911 test $ac_status = 0; }; then
5912 case `/usr/bin/file conftest.o` in
5915 x86_64-*kfreebsd*-gnu)
5916 LD="${LD-ld} -m elf_i386_fbsd"
5919 LD="${LD-ld} -m elf_i386"
5921 ppc64-*linux*|powerpc64-*linux*)
5922 LD="${LD-ld} -m elf32ppclinux"
5925 LD="${LD-ld} -m elf_s390"
5928 LD="${LD-ld} -m elf32_sparc"
5934 x86_64-*kfreebsd*-gnu)
5935 LD="${LD-ld} -m elf_x86_64_fbsd"
5938 LD="${LD-ld} -m elf_x86_64"
5940 ppc*-*linux*|powerpc*-*linux*)
5941 LD="${LD-ld} -m elf64ppc"
5943 s390*-*linux*|s390*-*tpf*)
5944 LD="${LD-ld} -m elf64_s390"
5947 LD="${LD-ld} -m elf64_sparc"
5957 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5958 SAVE_CFLAGS="$CFLAGS"
5959 CFLAGS="$CFLAGS -belf"
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5961 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5962 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5966 ac_cpp='$CPP $CPPFLAGS'
5967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5982 if ac_fn_c_try_link "$LINENO"; then :
5983 lt_cv_cc_needs_belf=yes
5985 lt_cv_cc_needs_belf=no
5987 rm -f core conftest.err conftest.$ac_objext \
5988 conftest$ac_exeext conftest.$ac_ext
5990 ac_cpp='$CPP $CPPFLAGS'
5991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5997 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5998 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5999 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6000 CFLAGS="$SAVE_CFLAGS"
6004 # Find out which ABI we are using.
6005 echo 'int i;' > conftest.$ac_ext
6006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6007 (eval $ac_compile) 2>&5
6009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6010 test $ac_status = 0; }; then
6011 case `/usr/bin/file conftest.o` in
6013 case $lt_cv_prog_gnu_ld in
6014 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6016 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6028 need_locks="$enable_libtool_lock"
6032 rhapsody* | darwin*)
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6039 $as_echo_n "(cached) " >&6
6041 if test -n "$DSYMUTIL"; then
6042 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6062 if test -n "$DSYMUTIL"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6064 $as_echo "$DSYMUTIL" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6072 if test -z "$ac_cv_prog_DSYMUTIL"; then
6073 ac_ct_DSYMUTIL=$DSYMUTIL
6074 # Extract the first word of "dsymutil", so it can be a program name with args.
6075 set dummy dsymutil; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6079 $as_echo_n "(cached) " >&6
6081 if test -n "$ac_ct_DSYMUTIL"; then
6082 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6102 if test -n "$ac_ct_DSYMUTIL"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6104 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6110 if test "x$ac_ct_DSYMUTIL" = x; then
6113 case $cross_compiling:$ac_tool_warned in
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6119 DSYMUTIL=$ac_ct_DSYMUTIL
6122 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6125 if test -n "$ac_tool_prefix"; then
6126 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6127 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 $as_echo_n "checking for $ac_word... " >&6; }
6130 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6131 $as_echo_n "(cached) " >&6
6133 if test -n "$NMEDIT"; then
6134 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 NMEDIT=$ac_cv_prog_NMEDIT
6154 if test -n "$NMEDIT"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6156 $as_echo "$NMEDIT" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6164 if test -z "$ac_cv_prog_NMEDIT"; then
6165 ac_ct_NMEDIT=$NMEDIT
6166 # Extract the first word of "nmedit", so it can be a program name with args.
6167 set dummy nmedit; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6171 $as_echo_n "(cached) " >&6
6173 if test -n "$ac_ct_NMEDIT"; then
6174 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6194 if test -n "$ac_ct_NMEDIT"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6196 $as_echo "$ac_ct_NMEDIT" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6202 if test "x$ac_ct_NMEDIT" = x; then
6205 case $cross_compiling:$ac_tool_warned in
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209 ac_tool_warned=yes ;;
6211 NMEDIT=$ac_ct_NMEDIT
6214 NMEDIT="$ac_cv_prog_NMEDIT"
6217 if test -n "$ac_tool_prefix"; then
6218 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6219 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 $as_echo_n "checking for $ac_word... " >&6; }
6222 if test "${ac_cv_prog_LIPO+set}" = set; then :
6223 $as_echo_n "(cached) " >&6
6225 if test -n "$LIPO"; then
6226 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 test -z "$as_dir" && as_dir=.
6233 for ac_exec_ext in '' $ac_executable_extensions; do
6234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6235 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 LIPO=$ac_cv_prog_LIPO
6246 if test -n "$LIPO"; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6248 $as_echo "$LIPO" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251 $as_echo "no" >&6; }
6256 if test -z "$ac_cv_prog_LIPO"; then
6258 # Extract the first word of "lipo", so it can be a program name with args.
6259 set dummy lipo; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6263 $as_echo_n "(cached) " >&6
6265 if test -n "$ac_ct_LIPO"; then
6266 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_prog_ac_ct_LIPO="lipo"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6286 if test -n "$ac_ct_LIPO"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6288 $as_echo "$ac_ct_LIPO" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6294 if test "x$ac_ct_LIPO" = x; then
6297 case $cross_compiling:$ac_tool_warned in
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6301 ac_tool_warned=yes ;;
6306 LIPO="$ac_cv_prog_LIPO"
6309 if test -n "$ac_tool_prefix"; then
6310 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6311 set dummy ${ac_tool_prefix}otool; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6315 $as_echo_n "(cached) " >&6
6317 if test -n "$OTOOL"; then
6318 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir=.
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 OTOOL=$ac_cv_prog_OTOOL
6338 if test -n "$OTOOL"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6340 $as_echo "$OTOOL" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6348 if test -z "$ac_cv_prog_OTOOL"; then
6350 # Extract the first word of "otool", so it can be a program name with args.
6351 set dummy otool; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6355 $as_echo_n "(cached) " >&6
6357 if test -n "$ac_ct_OTOOL"; then
6358 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6367 ac_cv_prog_ac_ct_OTOOL="otool"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6378 if test -n "$ac_ct_OTOOL"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6380 $as_echo "$ac_ct_OTOOL" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6386 if test "x$ac_ct_OTOOL" = x; then
6389 case $cross_compiling:$ac_tool_warned in
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6393 ac_tool_warned=yes ;;
6398 OTOOL="$ac_cv_prog_OTOOL"
6401 if test -n "$ac_tool_prefix"; then
6402 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6403 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6407 $as_echo_n "(cached) " >&6
6409 if test -n "$OTOOL64"; then
6410 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 OTOOL64=$ac_cv_prog_OTOOL64
6430 if test -n "$OTOOL64"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6432 $as_echo "$OTOOL64" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6440 if test -z "$ac_cv_prog_OTOOL64"; then
6441 ac_ct_OTOOL64=$OTOOL64
6442 # Extract the first word of "otool64", so it can be a program name with args.
6443 set dummy otool64; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6447 $as_echo_n "(cached) " >&6
6449 if test -n "$ac_ct_OTOOL64"; then
6450 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6459 ac_cv_prog_ac_ct_OTOOL64="otool64"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6469 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6470 if test -n "$ac_ct_OTOOL64"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6472 $as_echo "$ac_ct_OTOOL64" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6478 if test "x$ac_ct_OTOOL64" = x; then
6481 case $cross_compiling:$ac_tool_warned in
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6485 ac_tool_warned=yes ;;
6487 OTOOL64=$ac_ct_OTOOL64
6490 OTOOL64="$ac_cv_prog_OTOOL64"
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6520 $as_echo_n "checking for -single_module linker flag... " >&6; }
6521 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6522 $as_echo_n "(cached) " >&6
6524 lt_cv_apple_cc_single_mod=no
6525 if test -z "${LT_MULTI_MODULE}"; then
6526 # By default we will add the -single_module flag. You can override
6527 # by either setting the environment variable LT_MULTI_MODULE
6528 # non-empty at configure time, or by adding -multi_module to the
6530 rm -rf libconftest.dylib*
6531 echo "int foo(void){return 1;}" > conftest.c
6532 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6533 -dynamiclib -Wl,-single_module conftest.c" >&5
6534 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6535 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6537 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6538 lt_cv_apple_cc_single_mod=yes
6540 cat conftest.err >&5
6542 rm -rf libconftest.dylib*
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6547 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6549 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6550 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6553 lt_cv_ld_exported_symbols_list=no
6554 save_LDFLAGS=$LDFLAGS
6555 echo "_main" > conftest.sym
6556 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6568 if ac_fn_c_try_link "$LINENO"; then :
6569 lt_cv_ld_exported_symbols_list=yes
6571 lt_cv_ld_exported_symbols_list=no
6573 rm -f core conftest.err conftest.$ac_objext \
6574 conftest$ac_exeext conftest.$ac_ext
6575 LDFLAGS="$save_LDFLAGS"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6579 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6581 rhapsody* | darwin1.[012])
6582 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6584 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6585 darwin*) # darwin 5.x on
6586 # if running on 10.5 or later, the deployment target defaults
6587 # to the OS version, if on x86, and 10.4, the deployment
6588 # target defaults to 10.4. Don't you love it?
6589 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6590 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6591 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6593 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6595 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6599 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6600 _lt_dar_single_mod='$single_module'
6602 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6603 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6605 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6607 if test "$DSYMUTIL" != ":"; then
6608 _lt_dsymutil='~$DSYMUTIL $lib || :'
6616 ac_cpp='$CPP $CPPFLAGS'
6617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6621 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6622 # On Suns, sometimes $CPP names a directory.
6623 if test -n "$CPP" && test -d "$CPP"; then
6626 if test -z "$CPP"; then
6627 if test "${ac_cv_prog_CPP+set}" = set; then :
6628 $as_echo_n "(cached) " >&6
6630 # Double quotes because CPP needs to be expanded
6631 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6634 for ac_c_preproc_warn_flag in '' yes
6636 # Use a header file that comes with gcc, so configuring glibc
6637 # with a fresh cross-compiler works.
6638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6639 # <limits.h> exists even on freestanding compilers.
6640 # On the NeXT, cc -E runs the code through the compiler's parser,
6641 # not just through cpp. "Syntax error" is here to catch this case.
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6645 # include <limits.h>
6647 # include <assert.h>
6651 if ac_fn_c_try_cpp "$LINENO"; then :
6654 # Broken: fails on valid input.
6657 rm -f conftest.err conftest.i conftest.$ac_ext
6659 # OK, works on sane cases. Now check whether nonexistent headers
6660 # can be detected and how.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #include <ac_nonexistent.h>
6665 if ac_fn_c_try_cpp "$LINENO"; then :
6666 # Broken: success on invalid input.
6669 # Passes both tests.
6673 rm -f conftest.err conftest.i conftest.$ac_ext
6676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677 rm -f conftest.i conftest.err conftest.$ac_ext
6678 if $ac_preproc_ok; then :
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6691 $as_echo "$CPP" >&6; }
6693 for ac_c_preproc_warn_flag in '' yes
6695 # Use a header file that comes with gcc, so configuring glibc
6696 # with a fresh cross-compiler works.
6697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698 # <limits.h> exists even on freestanding compilers.
6699 # On the NeXT, cc -E runs the code through the compiler's parser,
6700 # not just through cpp. "Syntax error" is here to catch this case.
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6704 # include <limits.h>
6706 # include <assert.h>
6710 if ac_fn_c_try_cpp "$LINENO"; then :
6713 # Broken: fails on valid input.
6716 rm -f conftest.err conftest.i conftest.$ac_ext
6718 # OK, works on sane cases. Now check whether nonexistent headers
6719 # can be detected and how.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <ac_nonexistent.h>
6724 if ac_fn_c_try_cpp "$LINENO"; then :
6725 # Broken: success on invalid input.
6728 # Passes both tests.
6732 rm -f conftest.err conftest.i conftest.$ac_ext
6735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6736 rm -f conftest.i conftest.err conftest.$ac_ext
6737 if $ac_preproc_ok; then :
6740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6742 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6743 See \`config.log' for more details" "$LINENO" 5 ; }
6747 ac_cpp='$CPP $CPPFLAGS'
6748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6754 $as_echo_n "checking for ANSI C header files... " >&6; }
6755 if test "${ac_cv_header_stdc+set}" = set; then :
6756 $as_echo_n "(cached) " >&6
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6773 if ac_fn_c_try_compile "$LINENO"; then :
6774 ac_cv_header_stdc=yes
6776 ac_cv_header_stdc=no
6778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6780 if test $ac_cv_header_stdc = yes; then
6781 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6788 $EGREP "memchr" >/dev/null 2>&1; then :
6791 ac_cv_header_stdc=no
6797 if test $ac_cv_header_stdc = yes; then
6798 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "free" >/dev/null 2>&1; then :
6808 ac_cv_header_stdc=no
6814 if test $ac_cv_header_stdc = yes; then
6815 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6816 if test "$cross_compiling" = yes; then :
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6823 #if ((' ' & 0x0FF) == 0x020)
6824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6827 # define ISLOWER(c) \
6828 (('a' <= (c) && (c) <= 'i') \
6829 || ('j' <= (c) && (c) <= 'r') \
6830 || ('s' <= (c) && (c) <= 'z'))
6831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6839 for (i = 0; i < 256; i++)
6840 if (XOR (islower (i), ISLOWER (i))
6841 || toupper (i) != TOUPPER (i))
6846 if ac_fn_c_try_run "$LINENO"; then :
6849 ac_cv_header_stdc=no
6851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6852 conftest.$ac_objext conftest.beam conftest.$ac_ext
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6858 $as_echo "$ac_cv_header_stdc" >&6; }
6859 if test $ac_cv_header_stdc = yes; then
6861 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6865 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6866 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6867 inttypes.h stdint.h unistd.h
6869 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6870 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6882 for ac_header in dlfcn.h
6884 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6886 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6887 cat >>confdefs.h <<_ACEOF
6888 #define HAVE_DLFCN_H 1
6899 # Check whether --enable-static was given.
6900 if test "${enable_static+set}" = set; then :
6901 enableval=$enable_static; p=${PACKAGE-default}
6903 yes) enable_static=yes ;;
6904 no) enable_static=no ;;
6907 # Look at the argument we got. We use all the common list separators.
6908 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6909 for pkg in $enableval; do
6911 if test "X$pkg" = "X$p"; then
6935 # Check whether --enable-shared was given.
6936 if test "${enable_shared+set}" = set; then :
6937 enableval=$enable_shared; p=${PACKAGE-default}
6939 yes) enable_shared=yes ;;
6940 no) enable_shared=no ;;
6943 # Look at the argument we got. We use all the common list separators.
6944 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6945 for pkg in $enableval; do
6947 if test "X$pkg" = "X$p"; then
6968 # Check whether --with-pic was given.
6969 if test "${with_pic+set}" = set; then :
6970 withval=$with_pic; pic_mode="$withval"
6976 test -z "$pic_mode" && pic_mode=default
6984 # Check whether --enable-fast-install was given.
6985 if test "${enable_fast_install+set}" = set; then :
6986 enableval=$enable_fast_install; p=${PACKAGE-default}
6988 yes) enable_fast_install=yes ;;
6989 no) enable_fast_install=no ;;
6991 enable_fast_install=no
6992 # Look at the argument we got. We use all the common list separators.
6993 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6994 for pkg in $enableval; do
6996 if test "X$pkg" = "X$p"; then
6997 enable_fast_install=yes
7004 enable_fast_install=yes
7017 # This can be used to rebuild libtool when needed
7018 LIBTOOL_DEPS="$ltmain"
7020 # Always use our own libtool.
7021 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7047 test -z "$LN_S" && LN_S="ln -s"
7062 if test -n "${ZSH_VERSION+set}" ; then
7063 setopt NO_GLOB_SUBST
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7067 $as_echo_n "checking for objdir... " >&6; }
7068 if test "${lt_cv_objdir+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 rm -f .libs 2>/dev/null
7072 mkdir .libs 2>/dev/null
7073 if test -d .libs; then
7076 # MS-DOS does not allow filenames that begin with a dot.
7079 rmdir .libs 2>/dev/null
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7082 $as_echo "$lt_cv_objdir" >&6; }
7083 objdir=$lt_cv_objdir
7089 cat >>confdefs.h <<_ACEOF
7090 #define LT_OBJDIR "$lt_cv_objdir/"
7111 # AIX sometimes has problems with the GCC collect2 program. For some
7112 # reason, if we set the COLLECT_NAMES environment variable, the problems
7113 # vanish in a puff of smoke.
7114 if test "X${COLLECT_NAMES+set}" != Xset; then
7116 export COLLECT_NAMES
7121 # Sed substitution that helps us do robust quoting. It backslashifies
7122 # metacharacters that are still active within double-quoted strings.
7123 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7125 # Same as above, but do not quote variable references.
7126 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7128 # Sed substitution to delay expansion of an escaped shell variable in a
7129 # double_quote_subst'ed string.
7130 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7132 # Sed substitution to delay expansion of an escaped single quote.
7133 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7135 # Sed substitution to avoid accidental globbing in evaled expressions
7136 no_glob_subst='s/\*/\\\*/g'
7140 can_build_shared=yes
7142 # All known linkers require a `.a' archive for static linking (except MSVC,
7143 # which needs '.lib').
7146 with_gnu_ld="$lt_cv_prog_gnu_ld"
7149 old_CFLAGS="$CFLAGS"
7151 # Set sane defaults for various variables
7152 test -z "$CC" && CC=cc
7153 test -z "$LTCC" && LTCC=$CC
7154 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7155 test -z "$LD" && LD=ld
7156 test -z "$ac_objext" && ac_objext=o
7158 for cc_temp in $compiler""; do
7160 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7161 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7166 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7169 # Only perform the check for file, if the check method requires it
7170 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7171 case $deplibs_check_method in
7173 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7175 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7176 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7177 $as_echo_n "(cached) " >&6
7181 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7184 lt_save_MAGIC_CMD="$MAGIC_CMD"
7185 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7186 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7187 for ac_dir in $ac_dummy; do
7189 test -z "$ac_dir" && ac_dir=.
7190 if test -f $ac_dir/${ac_tool_prefix}file; then
7191 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7192 if test -n "$file_magic_test_file"; then
7193 case $deplibs_check_method in
7195 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7196 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7197 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7198 $EGREP "$file_magic_regex" > /dev/null; then
7203 *** Warning: the command libtool uses to detect shared libraries,
7204 *** $file_magic_cmd, produces output that libtool cannot recognize.
7205 *** The result is that libtool may fail to recognize shared libraries
7206 *** as such. This will affect the creation of libtool libraries that
7207 *** depend on shared libraries, but programs linked with such libtool
7208 *** libraries will work regardless of this problem. Nevertheless, you
7209 *** may want to report the problem to your system manager and/or to
7210 *** bug-libtool@gnu.org
7220 MAGIC_CMD="$lt_save_MAGIC_CMD"
7225 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7226 if test -n "$MAGIC_CMD"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7228 $as_echo "$MAGIC_CMD" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7238 if test -z "$lt_cv_path_MAGIC_CMD"; then
7239 if test -n "$ac_tool_prefix"; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7241 $as_echo_n "checking for file... " >&6; }
7242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7243 $as_echo_n "(cached) " >&6
7247 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7250 lt_save_MAGIC_CMD="$MAGIC_CMD"
7251 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7252 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7253 for ac_dir in $ac_dummy; do
7255 test -z "$ac_dir" && ac_dir=.
7256 if test -f $ac_dir/file; then
7257 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7258 if test -n "$file_magic_test_file"; then
7259 case $deplibs_check_method in
7261 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7263 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7264 $EGREP "$file_magic_regex" > /dev/null; then
7269 *** Warning: the command libtool uses to detect shared libraries,
7270 *** $file_magic_cmd, produces output that libtool cannot recognize.
7271 *** The result is that libtool may fail to recognize shared libraries
7272 *** as such. This will affect the creation of libtool libraries that
7273 *** depend on shared libraries, but programs linked with such libtool
7274 *** libraries will work regardless of this problem. Nevertheless, you
7275 *** may want to report the problem to your system manager and/or to
7276 *** bug-libtool@gnu.org
7286 MAGIC_CMD="$lt_save_MAGIC_CMD"
7291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7292 if test -n "$MAGIC_CMD"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7294 $as_echo "$MAGIC_CMD" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7310 # Use C for the default configuration in the libtool script
7314 ac_cpp='$CPP $CPPFLAGS'
7315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7320 # Source file extension for C test sources.
7323 # Object file extension for compiled C test sources.
7327 # Code to be used in simple compile tests
7328 lt_simple_compile_test_code="int some_variable = 0;"
7330 # Code to be used in simple link tests
7331 lt_simple_link_test_code='int main(){return(0);}'
7339 # If no C compiler was specified, use CC.
7342 # If no C compiler flags were specified, use CFLAGS.
7343 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7345 # Allow CC to be a program name with arguments.
7348 # Save the default compiler, since it gets overwritten when the other
7349 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7350 compiler_DEFAULT=$CC
7352 # save warnings/boilerplate of simple test code
7353 ac_outfile=conftest.$ac_objext
7354 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7355 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7356 _lt_compiler_boilerplate=`cat conftest.err`
7359 ac_outfile=conftest.$ac_objext
7360 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7361 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7362 _lt_linker_boilerplate=`cat conftest.err`
7366 if test -n "$compiler"; then
7368 lt_prog_compiler_no_builtin_flag=
7370 if test "$GCC" = yes; then
7371 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7374 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7375 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7376 $as_echo_n "(cached) " >&6
7378 lt_cv_prog_compiler_rtti_exceptions=no
7379 ac_outfile=conftest.$ac_objext
7380 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7381 lt_compiler_flag="-fno-rtti -fno-exceptions"
7382 # Insert the option either (1) after the last *FLAGS variable, or
7383 # (2) before a word containing "conftest.", or (3) at the end.
7384 # Note that $ac_compile itself does not contain backslashes and begins
7385 # with a dollar sign (not a hyphen), so the echo should work correctly.
7386 # The option is referenced via a variable to avoid confusing sed.
7387 lt_compile=`echo "$ac_compile" | $SED \
7388 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7390 -e 's:$: $lt_compiler_flag:'`
7391 (eval echo "\"\$as_me:7391: $lt_compile\"" >&5)
7392 (eval "$lt_compile" 2>conftest.err)
7394 cat conftest.err >&5
7395 echo "$as_me:7395: \$? = $ac_status" >&5
7396 if (exit $ac_status) && test -s "$ac_outfile"; then
7397 # The compiler can only warn and ignore the option if not recognized
7398 # So say no if there are warnings other than the usual output.
7399 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7400 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7401 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7402 lt_cv_prog_compiler_rtti_exceptions=yes
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7409 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7411 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7412 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7424 lt_prog_compiler_wl=
7425 lt_prog_compiler_pic=
7426 lt_prog_compiler_static=
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7429 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7431 if test "$GCC" = yes; then
7432 lt_prog_compiler_wl='-Wl,'
7433 lt_prog_compiler_static='-static'
7437 # All AIX code is PIC.
7438 if test "$host_cpu" = ia64; then
7439 # AIX 5 now supports IA64 processor
7440 lt_prog_compiler_static='-Bstatic'
7447 # see comment about AmigaOS4 .so support
7448 lt_prog_compiler_pic='-fPIC'
7451 # FIXME: we need at least 68020 code to build shared libraries, but
7452 # adding the `-m68020' flag to GCC prevents building anything better,
7454 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7459 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7460 # PIC is the default for these OSes.
7463 mingw* | cygwin* | pw32* | os2* | cegcc*)
7464 # This hack is so that the source file can tell whether it is being
7465 # built for inclusion in a dll (and should export symbols for example).
7466 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7467 # (--disable-auto-import) libraries
7468 lt_prog_compiler_pic='-DDLL_EXPORT'
7471 darwin* | rhapsody*)
7472 # PIC is the default on this platform
7473 # Common symbols not allowed in MH_DYLIB files
7474 lt_prog_compiler_pic='-fno-common'
7478 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7479 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7480 # sets the default TLS model and affects inlining.
7486 lt_prog_compiler_pic='-fPIC'
7492 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7493 # Instead, we relocate shared libraries at runtime.
7497 # Just because we use GCC doesn't mean we suddenly get shared libraries
7498 # on systems that don't support them.
7499 lt_prog_compiler_can_build_shared=no
7504 # QNX uses GNU C++, but need to define -shared option too, otherwise
7506 lt_prog_compiler_pic='-fPIC -shared'
7510 if test -d /usr/nec; then
7511 lt_prog_compiler_pic=-Kconform_pic
7516 lt_prog_compiler_pic='-fPIC'
7520 # PORTME Check for flag to pass linker flags through the system compiler.
7523 lt_prog_compiler_wl='-Wl,'
7524 if test "$host_cpu" = ia64; then
7525 # AIX 5 now supports IA64 processor
7526 lt_prog_compiler_static='-Bstatic'
7528 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7532 mingw* | cygwin* | pw32* | os2* | cegcc*)
7533 # This hack is so that the source file can tell whether it is being
7534 # built for inclusion in a dll (and should export symbols for example).
7535 lt_prog_compiler_pic='-DDLL_EXPORT'
7538 hpux9* | hpux10* | hpux11*)
7539 lt_prog_compiler_wl='-Wl,'
7540 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7547 lt_prog_compiler_pic='+Z'
7550 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7551 lt_prog_compiler_static='${wl}-a ${wl}archive'
7554 irix5* | irix6* | nonstopux*)
7555 lt_prog_compiler_wl='-Wl,'
7556 # PIC (with -KPIC) is the default.
7557 lt_prog_compiler_static='-non_shared'
7560 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7561 case $cc_basename in
7562 # old Intel for x86_64 which still supported -KPIC.
7564 lt_prog_compiler_wl='-Wl,'
7565 lt_prog_compiler_pic='-KPIC'
7566 lt_prog_compiler_static='-static'
7568 # icc used to be incompatible with GCC.
7569 # ICC 10 doesn't accept -KPIC any more.
7571 lt_prog_compiler_wl='-Wl,'
7572 lt_prog_compiler_pic='-fPIC'
7573 lt_prog_compiler_static='-static'
7575 # Lahey Fortran 8.1.
7577 lt_prog_compiler_wl='-Wl,'
7578 lt_prog_compiler_pic='--shared'
7579 lt_prog_compiler_static='--static'
7581 pgcc* | pgf77* | pgf90* | pgf95*)
7582 # Portland Group compilers (*not* the Pentium gcc compiler,
7583 # which looks to be a dead project)
7584 lt_prog_compiler_wl='-Wl,'
7585 lt_prog_compiler_pic='-fpic'
7586 lt_prog_compiler_static='-Bstatic'
7589 lt_prog_compiler_wl='-Wl,'
7590 # All Alpha code is PIC.
7591 lt_prog_compiler_static='-non_shared'
7594 # IBM XL C 8.0/Fortran 10.1 on PPC
7595 lt_prog_compiler_wl='-Wl,'
7596 lt_prog_compiler_pic='-qpic'
7597 lt_prog_compiler_static='-qstaticlink'
7600 case `$CC -V 2>&1 | sed 5q` in
7603 lt_prog_compiler_pic='-KPIC'
7604 lt_prog_compiler_static='-Bstatic'
7605 lt_prog_compiler_wl='-Wl,'
7608 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7609 lt_prog_compiler_pic='-KPIC'
7610 lt_prog_compiler_static='-Bstatic'
7611 lt_prog_compiler_wl=''
7619 lt_prog_compiler_pic='-KPIC'
7620 lt_prog_compiler_static='-Bstatic'
7624 # QNX uses GNU C++, but need to define -shared option too, otherwise
7626 lt_prog_compiler_pic='-fPIC -shared'
7629 osf3* | osf4* | osf5*)
7630 lt_prog_compiler_wl='-Wl,'
7631 # All OSF/1 code is PIC.
7632 lt_prog_compiler_static='-non_shared'
7636 lt_prog_compiler_static='-non_shared'
7640 lt_prog_compiler_pic='-KPIC'
7641 lt_prog_compiler_static='-Bstatic'
7642 case $cc_basename in
7644 lt_prog_compiler_wl='-Qoption ld ';;
7646 lt_prog_compiler_wl='-Wl,';;
7651 lt_prog_compiler_wl='-Qoption ld '
7652 lt_prog_compiler_pic='-PIC'
7653 lt_prog_compiler_static='-Bstatic'
7656 sysv4 | sysv4.2uw2* | sysv4.3*)
7657 lt_prog_compiler_wl='-Wl,'
7658 lt_prog_compiler_pic='-KPIC'
7659 lt_prog_compiler_static='-Bstatic'
7663 if test -d /usr/nec ;then
7664 lt_prog_compiler_pic='-Kconform_pic'
7665 lt_prog_compiler_static='-Bstatic'
7669 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7670 lt_prog_compiler_wl='-Wl,'
7671 lt_prog_compiler_pic='-KPIC'
7672 lt_prog_compiler_static='-Bstatic'
7676 lt_prog_compiler_wl='-Wl,'
7677 lt_prog_compiler_can_build_shared=no
7681 lt_prog_compiler_pic='-pic'
7682 lt_prog_compiler_static='-Bstatic'
7686 lt_prog_compiler_can_build_shared=no
7692 # For platforms which do not support PIC, -DPIC is meaningless:
7694 lt_prog_compiler_pic=
7697 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7701 $as_echo "$lt_prog_compiler_pic" >&6; }
7709 # Check to make sure the PIC flag actually works.
7711 if test -n "$lt_prog_compiler_pic"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7713 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7714 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7715 $as_echo_n "(cached) " >&6
7717 lt_cv_prog_compiler_pic_works=no
7718 ac_outfile=conftest.$ac_objext
7719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7720 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7721 # Insert the option either (1) after the last *FLAGS variable, or
7722 # (2) before a word containing "conftest.", or (3) at the end.
7723 # Note that $ac_compile itself does not contain backslashes and begins
7724 # with a dollar sign (not a hyphen), so the echo should work correctly.
7725 # The option is referenced via a variable to avoid confusing sed.
7726 lt_compile=`echo "$ac_compile" | $SED \
7727 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7729 -e 's:$: $lt_compiler_flag:'`
7730 (eval echo "\"\$as_me:7730: $lt_compile\"" >&5)
7731 (eval "$lt_compile" 2>conftest.err)
7733 cat conftest.err >&5
7734 echo "$as_me:7734: \$? = $ac_status" >&5
7735 if (exit $ac_status) && test -s "$ac_outfile"; then
7736 # The compiler can only warn and ignore the option if not recognized
7737 # So say no if there are warnings other than the usual output.
7738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7739 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7740 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7741 lt_cv_prog_compiler_pic_works=yes
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7748 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7750 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7751 case $lt_prog_compiler_pic in
7753 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7756 lt_prog_compiler_pic=
7757 lt_prog_compiler_can_build_shared=no
7768 # Check to make sure the static flag actually works.
7770 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7772 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7773 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7774 $as_echo_n "(cached) " >&6
7776 lt_cv_prog_compiler_static_works=no
7777 save_LDFLAGS="$LDFLAGS"
7778 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7779 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7780 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7781 # The linker can only warn and ignore the option if not recognized
7782 # So say no if there are warnings
7783 if test -s conftest.err; then
7784 # Append any errors to the config.log.
7785 cat conftest.err 1>&5
7786 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7788 if diff conftest.exp conftest.er2 >/dev/null; then
7789 lt_cv_prog_compiler_static_works=yes
7792 lt_cv_prog_compiler_static_works=yes
7796 LDFLAGS="$save_LDFLAGS"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7800 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7802 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7805 lt_prog_compiler_static=
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7816 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7817 $as_echo_n "(cached) " >&6
7819 lt_cv_prog_compiler_c_o=no
7820 $RM -r conftest 2>/dev/null
7824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7826 lt_compiler_flag="-o out/conftest2.$ac_objext"
7827 # Insert the option either (1) after the last *FLAGS variable, or
7828 # (2) before a word containing "conftest.", or (3) at the end.
7829 # Note that $ac_compile itself does not contain backslashes and begins
7830 # with a dollar sign (not a hyphen), so the echo should work correctly.
7831 lt_compile=`echo "$ac_compile" | $SED \
7832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7834 -e 's:$: $lt_compiler_flag:'`
7835 (eval echo "\"\$as_me:7835: $lt_compile\"" >&5)
7836 (eval "$lt_compile" 2>out/conftest.err)
7838 cat out/conftest.err >&5
7839 echo "$as_me:7839: \$? = $ac_status" >&5
7840 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7842 # The compiler can only warn and ignore the option if not recognized
7843 # So say no if there are warnings
7844 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7845 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7846 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7847 lt_cv_prog_compiler_c_o=yes
7852 # SGI C++ compiler will create directory out/ii_files/ for
7853 # template instantiation
7854 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7855 $RM out/* && rmdir out
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7862 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7870 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7871 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7874 lt_cv_prog_compiler_c_o=no
7875 $RM -r conftest 2>/dev/null
7879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7881 lt_compiler_flag="-o out/conftest2.$ac_objext"
7882 # Insert the option either (1) after the last *FLAGS variable, or
7883 # (2) before a word containing "conftest.", or (3) at the end.
7884 # Note that $ac_compile itself does not contain backslashes and begins
7885 # with a dollar sign (not a hyphen), so the echo should work correctly.
7886 lt_compile=`echo "$ac_compile" | $SED \
7887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7889 -e 's:$: $lt_compiler_flag:'`
7890 (eval echo "\"\$as_me:7890: $lt_compile\"" >&5)
7891 (eval "$lt_compile" 2>out/conftest.err)
7893 cat out/conftest.err >&5
7894 echo "$as_me:7894: \$? = $ac_status" >&5
7895 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7897 # The compiler can only warn and ignore the option if not recognized
7898 # So say no if there are warnings
7899 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7900 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7901 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7902 lt_cv_prog_compiler_c_o=yes
7907 # SGI C++ compiler will create directory out/ii_files/ for
7908 # template instantiation
7909 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7910 $RM out/* && rmdir out
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7917 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7922 hard_links="nottested"
7923 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7924 # do not overwrite the value of need_locks provided by the user
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7926 $as_echo_n "checking if we can lock with hard links... " >&6; }
7929 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7931 ln conftest.a conftest.b 2>&5 || hard_links=no
7932 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7934 $as_echo "$hard_links" >&6; }
7935 if test "$hard_links" = no; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7937 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7950 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7953 allow_undefined_flag=
7954 always_export_symbols=no
7956 archive_expsym_cmds=
7957 compiler_needs_object=no
7958 enable_shared_with_static_runtimes=no
7959 export_dynamic_flag_spec=
7960 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7961 hardcode_automatic=no
7963 hardcode_direct_absolute=no
7964 hardcode_libdir_flag_spec=
7965 hardcode_libdir_flag_spec_ld=
7966 hardcode_libdir_separator=
7968 hardcode_shlibpath_var=unsupported
7970 link_all_deplibs=unknown
7973 old_archive_from_new_cmds=
7974 old_archive_from_expsyms_cmds=
7975 thread_safe_flag_spec=
7976 whole_archive_flag_spec=
7977 # include_expsyms should be a list of space-separated symbols to be *always*
7978 # included in the symbol list
7980 # exclude_expsyms can be an extended regexp of symbols to exclude
7981 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7982 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7983 # as well as any symbol that contains `d'.
7984 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7985 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7986 # platforms (ab)use it in PIC code, but their linkers get confused if
7987 # the symbol is explicitly referenced. Since portable code cannot
7988 # rely on this symbol name, it's probably fine to never include it in
7989 # preloaded symbol tables.
7990 # Exclude shared library initialization/finalization symbols.
7991 extract_expsyms_cmds=
7994 cygwin* | mingw* | pw32* | cegcc*)
7995 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7996 # When not using gcc, we currently assume that we are using
7997 # Microsoft Visual C++.
7998 if test "$GCC" != yes; then
8003 # we just hope/assume this is gcc and not c89 (= MSVC++)
8009 linux* | k*bsd*-gnu)
8015 if test "$with_gnu_ld" = yes; then
8016 # If archive_cmds runs LD, not CC, wlarc should be empty
8019 # Set some defaults for GNU ld with shared library support. These
8020 # are reset later if shared libraries are not supported. Putting them
8021 # here allows them to be overridden if necessary.
8022 runpath_var=LD_RUN_PATH
8023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8024 export_dynamic_flag_spec='${wl}--export-dynamic'
8025 # ancient GNU ld didn't support --whole-archive et. al.
8026 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8027 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8029 whole_archive_flag_spec=
8031 supports_anon_versioning=no
8032 case `$LD -v 2>&1` in
8033 *GNU\ gold*) supports_anon_versioning=yes ;;
8034 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8035 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8036 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8037 *\ 2.11.*) ;; # other 2.11 versions
8038 *) supports_anon_versioning=yes ;;
8041 # See if GNU ld supports shared libraries.
8044 # On AIX/PPC, the GNU linker is very broken
8045 if test "$host_cpu" != ia64; then
8049 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8050 *** to be unable to reliably create shared libraries on AIX.
8051 *** Therefore, libtool is disabling shared libraries support. If you
8052 *** really care for shared libraries, you may want to modify your PATH
8053 *** so that a non-GNU linker is found, and then restart.
8062 # see comment about AmigaOS4 .so support
8063 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8064 archive_expsym_cmds=''
8067 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)'
8068 hardcode_libdir_flag_spec='-L$libdir'
8069 hardcode_minus_L=yes
8075 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8076 allow_undefined_flag=unsupported
8077 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8078 # support --undefined. This deserves some investigation. FIXME
8079 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8085 cygwin* | mingw* | pw32* | cegcc*)
8086 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8087 # as there is no search path for DLLs.
8088 hardcode_libdir_flag_spec='-L$libdir'
8089 allow_undefined_flag=unsupported
8090 always_export_symbols=no
8091 enable_shared_with_static_runtimes=yes
8092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8094 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8096 # If the export-symbols file already is a .def file (1st line
8097 # is EXPORTS), use it as is; otherwise, prepend...
8098 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8099 cp $export_symbols $output_objdir/$soname.def;
8101 echo EXPORTS > $output_objdir/$soname.def;
8102 cat $export_symbols >> $output_objdir/$soname.def;
8104 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8112 hardcode_shlibpath_var=no
8113 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8114 export_dynamic_flag_spec='${wl}-E'
8115 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8116 # Instead, shared libraries are loaded at an image base (0x10000000 by
8117 # default) and relocated if they conflict, which is a slow very memory
8118 # consuming and fragmenting process. To avoid this, we pick a random,
8119 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8120 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8121 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8122 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'
8125 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8127 if test "$host_os" = linux-dietlibc; then
8128 case $cc_basename in
8129 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8132 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8133 && test "$tmp_diet" = no
8136 tmp_sharedflag='-shared'
8137 case $cc_basename,$host_cpu in
8138 pgcc*) # Portland Group C compiler
8139 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8140 tmp_addflag=' $pic_flag'
8142 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8143 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8144 tmp_addflag=' $pic_flag -Mnomain' ;;
8145 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8146 tmp_addflag=' -i_dynamic' ;;
8147 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8148 tmp_addflag=' -i_dynamic -nofor_main' ;;
8149 ifc* | ifort*) # Intel Fortran compiler
8150 tmp_addflag=' -nofor_main' ;;
8151 lf95*) # Lahey Fortran 8.1
8152 whole_archive_flag_spec=
8153 tmp_sharedflag='--shared' ;;
8154 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8155 tmp_sharedflag='-qmkshrobj'
8158 case `$CC -V 2>&1 | sed 5q` in
8159 *Sun\ C*) # Sun C 5.9
8160 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8161 compiler_needs_object=yes
8162 tmp_sharedflag='-G' ;;
8163 *Sun\ F*) # Sun Fortran 8.3
8164 tmp_sharedflag='-G' ;;
8166 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8168 if test "x$supports_anon_versioning" = xyes; then
8169 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8170 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8171 echo "local: *; };" >> $output_objdir/$libname.ver~
8172 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8175 case $cc_basename in
8177 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8178 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8179 hardcode_libdir_flag_spec=
8180 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8181 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8182 if test "x$supports_anon_versioning" = xyes; then
8183 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8184 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8185 echo "local: *; };" >> $output_objdir/$libname.ver~
8186 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8195 netbsd* | netbsdelf*-gnu)
8196 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8197 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8201 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8206 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8210 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8211 *** create shared libraries on Solaris systems. Therefore, libtool
8212 *** is disabling shared libraries support. We urge you to upgrade GNU
8213 *** binutils to release 2.9.1 or newer. Another option is to modify
8214 *** your PATH or compiler configuration so that the native linker is
8215 *** used, and then restart.
8218 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8220 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8226 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8227 case `$LD -v 2>&1` in
8228 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8232 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8233 *** reliably create shared libraries on SCO systems. Therefore, libtool
8234 *** is disabling shared libraries support. We urge you to upgrade GNU
8235 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8236 *** your PATH or compiler configuration so that the native linker is
8237 *** used, and then restart.
8242 # For security reasons, it is highly recommended that you always
8243 # use absolute paths for naming shared libraries, and exclude the
8244 # DT_RUNPATH tag from executables and libraries. But doing so
8245 # requires that you compile everything twice, which is a pain.
8246 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8247 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8249 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8258 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8261 hardcode_shlibpath_var=no
8265 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8267 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8274 if test "$ld_shlibs" = no; then
8276 hardcode_libdir_flag_spec=
8277 export_dynamic_flag_spec=
8278 whole_archive_flag_spec=
8281 # PORTME fill in a description of your system's linker (not GNU ld)
8284 allow_undefined_flag=unsupported
8285 always_export_symbols=yes
8286 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'
8287 # Note: this linker hardcodes the directories in LIBPATH if there
8288 # are no directories specified by -L.
8289 hardcode_minus_L=yes
8290 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8291 # Neither direct hardcoding nor static linking is supported with a
8293 hardcode_direct=unsupported
8298 if test "$host_cpu" = ia64; then
8299 # On IA64, the linker does run time linking by default, so we don't
8300 # have to do anything special.
8301 aix_use_runtimelinking=no
8302 exp_sym_flag='-Bexport'
8305 # If we're using GNU nm, then we don't want the "-C" option.
8306 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8307 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8308 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8310 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'
8312 aix_use_runtimelinking=no
8314 # Test if we are trying to use run time linking or normal
8315 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8316 # need to do runtime linking.
8317 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8318 for ld_flag in $LDFLAGS; do
8319 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8320 aix_use_runtimelinking=yes
8327 exp_sym_flag='-bexport'
8328 no_entry_flag='-bnoentry'
8331 # When large executables or shared objects are built, AIX ld can
8332 # have problems creating the table of contents. If linking a library
8333 # or program results in "error TOC overflow" add -mminimal-toc to
8334 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8335 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8339 hardcode_direct_absolute=yes
8340 hardcode_libdir_separator=':'
8341 link_all_deplibs=yes
8342 file_list_spec='${wl}-f,'
8344 if test "$GCC" = yes; then
8345 case $host_os in aix4.[012]|aix4.[012].*)
8346 # We only want to do this on AIX 4.2 and lower, the check
8347 # below for broken collect2 doesn't work under 4.3+
8348 collect2name=`${CC} -print-prog-name=collect2`
8349 if test -f "$collect2name" &&
8350 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8352 # We have reworked collect2
8355 # We have old collect2
8356 hardcode_direct=unsupported
8357 # It fails to find uninstalled libraries when the uninstalled
8358 # path is not listed in the libpath. Setting hardcode_minus_L
8359 # to unsupported forces relinking
8360 hardcode_minus_L=yes
8361 hardcode_libdir_flag_spec='-L$libdir'
8362 hardcode_libdir_separator=
8366 shared_flag='-shared'
8367 if test "$aix_use_runtimelinking" = yes; then
8368 shared_flag="$shared_flag "'${wl}-G'
8373 if test "$host_cpu" = ia64; then
8374 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8375 # chokes on -Wl,-G. The following line is correct:
8378 if test "$aix_use_runtimelinking" = yes; then
8379 shared_flag='${wl}-G'
8381 shared_flag='${wl}-bM:SRE'
8386 export_dynamic_flag_spec='${wl}-bexpall'
8387 # It seems that -bexpall does not export symbols beginning with
8388 # underscore (_), so it is better to generate a list of symbols to export.
8389 always_export_symbols=yes
8390 if test "$aix_use_runtimelinking" = yes; then
8391 # Warning - without using the other runtime loading flags (-brtl),
8392 # -berok will link without error, but may produce a broken library.
8393 allow_undefined_flag='-berok'
8394 # Determine the default libpath from the value encoded in an
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8407 if ac_fn_c_try_link "$LINENO"; then :
8409 lt_aix_libpath_sed='
8410 /Import File Strings/,/^$/ {
8416 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8417 # Check for a 64-bit object if we didn't find anything.
8418 if test -z "$aix_libpath"; then
8419 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8422 rm -f core conftest.err conftest.$ac_objext \
8423 conftest$ac_exeext conftest.$ac_ext
8424 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8426 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8427 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8429 if test "$host_cpu" = ia64; then
8430 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8431 allow_undefined_flag="-z nodefs"
8432 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"
8434 # Determine the default libpath from the value encoded in an
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8447 if ac_fn_c_try_link "$LINENO"; then :
8449 lt_aix_libpath_sed='
8450 /Import File Strings/,/^$/ {
8456 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8457 # Check for a 64-bit object if we didn't find anything.
8458 if test -z "$aix_libpath"; then
8459 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8466 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8467 # Warning - without using the other run time loading flags,
8468 # -berok will link without error, but may produce a broken library.
8469 no_undefined_flag=' ${wl}-bernotok'
8470 allow_undefined_flag=' ${wl}-berok'
8471 # Exported symbols can be pulled into shared objects from archives
8472 whole_archive_flag_spec='$convenience'
8473 archive_cmds_need_lc=yes
8474 # This is similar to how AIX traditionally builds its shared libraries.
8475 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'
8483 # see comment about AmigaOS4 .so support
8484 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8485 archive_expsym_cmds=''
8488 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)'
8489 hardcode_libdir_flag_spec='-L$libdir'
8490 hardcode_minus_L=yes
8496 export_dynamic_flag_spec=-rdynamic
8499 cygwin* | mingw* | pw32* | cegcc*)
8500 # When not using gcc, we currently assume that we are using
8501 # Microsoft Visual C++.
8502 # hardcode_libdir_flag_spec is actually meaningless, as there is
8503 # no search path for DLLs.
8504 hardcode_libdir_flag_spec=' '
8505 allow_undefined_flag=unsupported
8506 # Tell ltmain to make .lib files, not .a files.
8508 # Tell ltmain to make .dll files, not .so files.
8510 # FIXME: Setting linknames here is a bad hack.
8511 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8512 # The linker will automatically build a .lib file if we build a DLL.
8513 old_archive_from_new_cmds='true'
8514 # FIXME: Should let the user specify the lib program.
8515 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8516 fix_srcfile_path='`cygpath -w "$srcfile"`'
8517 enable_shared_with_static_runtimes=yes
8520 darwin* | rhapsody*)
8523 archive_cmds_need_lc=no
8525 hardcode_automatic=yes
8526 hardcode_shlibpath_var=unsupported
8527 whole_archive_flag_spec=''
8528 link_all_deplibs=yes
8529 allow_undefined_flag="$_lt_dar_allow_undefined"
8530 case $cc_basename in
8531 ifort*) _lt_dar_can_shared=yes ;;
8532 *) _lt_dar_can_shared=$GCC ;;
8534 if test "$_lt_dar_can_shared" = "yes"; then
8535 output_verbose_link_cmd=echo
8536 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8537 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8538 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}"
8539 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}"
8548 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8549 hardcode_libdir_flag_spec='-L$libdir'
8550 hardcode_shlibpath_var=no
8557 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8558 # support. Future versions do this automatically, but an explicit c++rt0.o
8559 # does not break anything, and helps significantly (at the cost of a little
8562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8563 hardcode_libdir_flag_spec='-R$libdir'
8565 hardcode_shlibpath_var=no
8568 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8572 hardcode_minus_L=yes
8573 hardcode_shlibpath_var=no
8576 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8577 freebsd* | dragonfly*)
8578 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8579 hardcode_libdir_flag_spec='-R$libdir'
8581 hardcode_shlibpath_var=no
8585 if test "$GCC" = yes; then
8586 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8588 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'
8590 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8591 hardcode_libdir_separator=:
8594 # hardcode_minus_L: Not really in the search PATH,
8595 # but as the default location of the library.
8596 hardcode_minus_L=yes
8597 export_dynamic_flag_spec='${wl}-E'
8601 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8602 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8604 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8606 if test "$with_gnu_ld" = no; then
8607 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8608 hardcode_libdir_flag_spec_ld='+b $libdir'
8609 hardcode_libdir_separator=:
8611 hardcode_direct_absolute=yes
8612 export_dynamic_flag_spec='${wl}-E'
8613 # hardcode_minus_L: Not really in the search PATH,
8614 # but as the default location of the library.
8615 hardcode_minus_L=yes
8620 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8623 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8626 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8629 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8635 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8638 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8641 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8645 if test "$with_gnu_ld" = no; then
8646 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8647 hardcode_libdir_separator=:
8652 hardcode_shlibpath_var=no
8656 hardcode_direct_absolute=yes
8657 export_dynamic_flag_spec='${wl}-E'
8659 # hardcode_minus_L: Not really in the search PATH,
8660 # but as the default location of the library.
8661 hardcode_minus_L=yes
8667 irix5* | irix6* | nonstopux*)
8668 if test "$GCC" = yes; then
8669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8670 # Try to use the -exported_symbol ld option, if it does not
8671 # work, assume that -exports_file does not work either and
8672 # implicitly export all symbols.
8673 save_LDFLAGS="$LDFLAGS"
8674 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8683 rm -f core conftest.err conftest.$ac_objext \
8684 conftest$ac_exeext conftest.$ac_ext
8685 LDFLAGS="$save_LDFLAGS"
8687 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8688 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8690 archive_cmds_need_lc='no'
8691 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8692 hardcode_libdir_separator=:
8694 link_all_deplibs=yes
8697 netbsd* | netbsdelf*-gnu)
8698 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8699 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8701 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8703 hardcode_libdir_flag_spec='-R$libdir'
8705 hardcode_shlibpath_var=no
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8711 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8712 hardcode_libdir_separator=:
8713 hardcode_shlibpath_var=no
8720 if test -f /usr/libexec/ld.so; then
8722 hardcode_shlibpath_var=no
8723 hardcode_direct_absolute=yes
8724 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8725 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8726 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8727 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8728 export_dynamic_flag_spec='${wl}-E'
8731 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8732 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8733 hardcode_libdir_flag_spec='-R$libdir'
8736 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8737 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8747 hardcode_libdir_flag_spec='-L$libdir'
8748 hardcode_minus_L=yes
8749 allow_undefined_flag=unsupported
8750 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'
8751 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8755 if test "$GCC" = yes; then
8756 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8757 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8759 allow_undefined_flag=' -expect_unresolved \*'
8760 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8762 archive_cmds_need_lc='no'
8763 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8764 hardcode_libdir_separator=:
8767 osf4* | osf5*) # as osf3* with the addition of -msym flag
8768 if test "$GCC" = yes; then
8769 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8770 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8771 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8773 allow_undefined_flag=' -expect_unresolved \*'
8774 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8775 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~
8776 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8778 # Both c and cxx compiler support -rpath directly
8779 hardcode_libdir_flag_spec='-rpath $libdir'
8781 archive_cmds_need_lc='no'
8782 hardcode_libdir_separator=:
8786 no_undefined_flag=' -z defs'
8787 if test "$GCC" = yes; then
8789 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8790 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8791 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8793 case `$CC -V 2>&1` in
8796 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8798 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8802 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8804 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8808 hardcode_libdir_flag_spec='-R$libdir'
8809 hardcode_shlibpath_var=no
8811 solaris2.[0-5] | solaris2.[0-5].*) ;;
8813 # The compiler driver will combine and reorder linker options,
8814 # but understands `-z linker_flag'. GCC discards it without `$wl',
8815 # but is careful enough not to reorder.
8816 # Supported since Solaris 2.6 (maybe 2.5.1?)
8817 if test "$GCC" = yes; then
8818 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8820 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8824 link_all_deplibs=yes
8828 if test "x$host_vendor" = xsequent; then
8829 # Use $CC to link under sequent, because it throws in some extra .o
8830 # files that make .init and .fini sections work.
8831 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8833 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8835 hardcode_libdir_flag_spec='-L$libdir'
8837 hardcode_minus_L=yes
8838 hardcode_shlibpath_var=no
8842 case $host_vendor in
8844 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8845 hardcode_direct=yes # is this really true???
8848 ## LD is ld it makes a PLAMLIB
8849 ## CC just makes a GrossModule.
8850 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8851 reload_cmds='$CC -r -o $output$reload_objs'
8855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8856 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8859 runpath_var='LD_RUN_PATH'
8860 hardcode_shlibpath_var=no
8864 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_shlibpath_var=no
8866 export_dynamic_flag_spec='-Bexport'
8870 if test -d /usr/nec; then
8871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8872 hardcode_shlibpath_var=no
8873 runpath_var=LD_RUN_PATH
8874 hardcode_runpath_var=yes
8879 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8880 no_undefined_flag='${wl}-z,text'
8881 archive_cmds_need_lc=no
8882 hardcode_shlibpath_var=no
8883 runpath_var='LD_RUN_PATH'
8885 if test "$GCC" = yes; then
8886 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8887 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8889 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8890 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8894 sysv5* | sco3.2v5* | sco5v6*)
8895 # Note: We can NOT use -z defs as we might desire, because we do not
8896 # link with -lc, and that would cause any symbols used from libc to
8897 # always be unresolved, which means just about no library would
8898 # ever link correctly. If we're not using GNU ld we use -z text
8899 # though, which does catch some bad symbols but isn't as heavy-handed
8901 no_undefined_flag='${wl}-z,text'
8902 allow_undefined_flag='${wl}-z,nodefs'
8903 archive_cmds_need_lc=no
8904 hardcode_shlibpath_var=no
8905 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8906 hardcode_libdir_separator=':'
8907 link_all_deplibs=yes
8908 export_dynamic_flag_spec='${wl}-Bexport'
8909 runpath_var='LD_RUN_PATH'
8911 if test "$GCC" = yes; then
8912 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8913 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8915 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8916 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8921 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8922 hardcode_libdir_flag_spec='-L$libdir'
8923 hardcode_shlibpath_var=no
8931 if test x$host_vendor = xsni; then
8933 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8934 export_dynamic_flag_spec='${wl}-Blargedynsym'
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8941 $as_echo "$ld_shlibs" >&6; }
8942 test "$ld_shlibs" = no && can_build_shared=no
8944 with_gnu_ld=$with_gnu_ld
8961 # Do we need to explicitly link libc?
8963 case "x$archive_cmds_need_lc" in
8965 # Assume -lc should be added
8966 archive_cmds_need_lc=yes
8968 if test "$enable_shared" = yes && test "$GCC" = yes; then
8969 case $archive_cmds in
8971 # FIXME: we may have to deal with multi-command sequences.
8974 # Test whether the compiler implicitly links with -lc since on some
8975 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8976 # to ld, don't add -lc before -lgcc.
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8978 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8980 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8983 (eval $ac_compile) 2>&5
8985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8986 test $ac_status = 0; } 2>conftest.err; then
8989 libobjs=conftest.$ac_objext
8991 wl=$lt_prog_compiler_wl
8992 pic_flag=$lt_prog_compiler_pic
8998 lt_save_allow_undefined_flag=$allow_undefined_flag
8999 allow_undefined_flag=
9000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9001 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9004 test $ac_status = 0; }
9006 archive_cmds_need_lc=no
9008 archive_cmds_need_lc=yes
9010 allow_undefined_flag=$lt_save_allow_undefined_flag
9012 cat conftest.err 1>&5
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9016 $as_echo "$archive_cmds_need_lc" >&6; }
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9180 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9182 if test "$GCC" = yes; then
9184 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9185 *) lt_awk_arg="/^libraries:/" ;;
9187 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9188 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9189 # if the path contains ";" then we assume it to be the separator
9190 # otherwise default to the standard path separator (i.e. ":") - it is
9191 # assumed that no part of a normal pathname contains ";" but that should
9192 # okay in the real world where ";" in dirpaths is itself problematic.
9193 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9195 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9197 # Ok, now we have the path, separated by spaces, we can step through it
9198 # and add multilib dir if necessary.
9199 lt_tmp_lt_search_path_spec=
9200 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9201 for lt_sys_path in $lt_search_path_spec; do
9202 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9203 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9205 test -d "$lt_sys_path" && \
9206 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9209 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9210 BEGIN {RS=" "; FS="/|\n";} {
9213 for (lt_i = NF; lt_i > 0; lt_i--) {
9214 if ($lt_i != "" && $lt_i != ".") {
9215 if ($lt_i == "..") {
9218 if (lt_count == 0) {
9219 lt_foo="/" $lt_i lt_foo;
9226 if (lt_foo != "") { lt_freq[lt_foo]++; }
9227 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9229 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9231 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9234 libname_spec='lib$name'
9242 shlibpath_overrides_runpath=unknown
9244 dynamic_linker="$host_os ld.so"
9245 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9246 need_lib_prefix=unknown
9247 hardcode_into_libs=no
9249 # when you set need_version to no, make sure it does not cause -set_version
9250 # flags to be left without arguments
9251 need_version=unknown
9256 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9257 shlibpath_var=LIBPATH
9259 # AIX 3 has no versioning support, so we append a major version to the name.
9260 soname_spec='${libname}${release}${shared_ext}$major'
9267 hardcode_into_libs=yes
9268 if test "$host_cpu" = ia64; then
9269 # AIX 5 supports IA64
9270 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9271 shlibpath_var=LD_LIBRARY_PATH
9273 # With GCC up to 2.95.x, collect2 would create an import file
9274 # for dependence libraries. The import file would start with
9275 # the line `#! .'. This would cause the generated library to
9276 # depend on `.', always an invalid library. This was fixed in
9277 # development snapshots of GCC prior to 3.0.
9279 aix4 | aix4.[01] | aix4.[01].*)
9280 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9282 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9289 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9290 # soname into executable. Probably we can add versioning support to
9291 # collect2, so additional links can be useful in future.
9292 if test "$aix_use_runtimelinking" = yes; then
9293 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9294 # instead of lib<name>.a to let people know that these are not
9295 # typical AIX shared libraries.
9296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9298 # We preserve .a as extension for shared libraries through AIX4.2
9299 # and later when we are not doing run time linking.
9300 library_names_spec='${libname}${release}.a $libname.a'
9301 soname_spec='${libname}${release}${shared_ext}$major'
9303 shlibpath_var=LIBPATH
9310 # Since July 2007 AmigaOS4 officially supports .so libraries.
9311 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9315 library_names_spec='$libname.ixlibrary $libname.a'
9316 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9317 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9323 library_names_spec='${libname}${shared_ext}'
9324 dynamic_linker="$host_os ld.so"
9325 shlibpath_var=LIBRARY_PATH
9331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9332 soname_spec='${libname}${release}${shared_ext}$major'
9333 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9334 shlibpath_var=LD_LIBRARY_PATH
9335 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9336 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9337 # the default ld.so.conf also contains /usr/contrib/lib and
9338 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9339 # libtool to hard-code these into programs
9342 cygwin* | mingw* | pw32* | cegcc*)
9343 version_type=windows
9348 case $GCC,$host_os in
9349 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9350 library_names_spec='$libname.dll.a'
9351 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9352 postinstall_cmds='base_file=`basename \${file}`~
9353 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9354 dldir=$destdir/`dirname \$dlpath`~
9355 test -d \$dldir || mkdir -p \$dldir~
9356 $install_prog $dir/$dlname \$dldir/$dlname~
9357 chmod a+x \$dldir/$dlname~
9358 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9359 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9361 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9362 dlpath=$dir/\$dldll~
9364 shlibpath_overrides_runpath=yes
9368 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9369 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9370 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9373 # MinGW DLLs use traditional 'lib' prefix
9374 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9375 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9376 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9377 # It is most probably a Windows format PATH printed by
9378 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9379 # path with ; separators, and with drive letters. We can handle the
9380 # drive letters (cygwin fileutils understands them), so leave them,
9381 # especially as we might pass files found there to a mingw objdump,
9382 # which wouldn't understand a cygwinified path. Ahh.
9383 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9385 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9389 # pw32 DLLs use 'pw' prefix rather than 'lib'
9390 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9396 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9399 dynamic_linker='Win32 ld.exe'
9400 # FIXME: first we should search . and the directory the executable is in
9404 darwin* | rhapsody*)
9405 dynamic_linker="$host_os dyld"
9409 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9410 soname_spec='${libname}${release}${major}$shared_ext'
9411 shlibpath_overrides_runpath=yes
9412 shlibpath_var=DYLD_LIBRARY_PATH
9413 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9415 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9416 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9424 soname_spec='${libname}${release}${shared_ext}$major'
9425 shlibpath_var=LD_LIBRARY_PATH
9432 freebsd* | dragonfly*)
9433 # DragonFly does not have aout. When/if they implement a new
9434 # versioning mechanism, adjust this.
9435 if test -x /usr/bin/objformat; then
9436 objformat=`/usr/bin/objformat`
9439 freebsd[123]*) objformat=aout ;;
9443 version_type=freebsd-$objformat
9444 case $version_type in
9446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9451 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9455 shlibpath_var=LD_LIBRARY_PATH
9458 shlibpath_overrides_runpath=yes
9460 freebsd3.[01]* | freebsdelf3.[01]*)
9461 shlibpath_overrides_runpath=yes
9462 hardcode_into_libs=yes
9464 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9465 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9466 shlibpath_overrides_runpath=no
9467 hardcode_into_libs=yes
9469 *) # from 4.6 on, and DragonFly
9470 shlibpath_overrides_runpath=yes
9471 hardcode_into_libs=yes
9480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9481 soname_spec='${libname}${release}${shared_ext}$major'
9482 shlibpath_var=LD_LIBRARY_PATH
9483 hardcode_into_libs=yes
9486 hpux9* | hpux10* | hpux11*)
9487 # Give a soname corresponding to the major version so that dld.sl refuses to
9488 # link against other versions.
9495 hardcode_into_libs=yes
9496 dynamic_linker="$host_os dld.so"
9497 shlibpath_var=LD_LIBRARY_PATH
9498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9500 soname_spec='${libname}${release}${shared_ext}$major'
9501 if test "X$HPUX_IA64_MODE" = X32; then
9502 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9504 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9506 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9510 hardcode_into_libs=yes
9511 dynamic_linker="$host_os dld.sl"
9512 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9515 soname_spec='${libname}${release}${shared_ext}$major'
9516 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9517 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9521 dynamic_linker="$host_os dld.sl"
9522 shlibpath_var=SHLIB_PATH
9523 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9525 soname_spec='${libname}${release}${shared_ext}$major'
9528 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9529 postinstall_cmds='chmod 555 $lib'
9536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9537 soname_spec='${libname}${release}${shared_ext}$major'
9538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=no
9541 hardcode_into_libs=yes
9544 irix5* | irix6* | nonstopux*)
9546 nonstopux*) version_type=nonstopux ;;
9548 if test "$lt_cv_prog_gnu_ld" = yes; then
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9559 irix5* | nonstopux*)
9563 case $LD in # libtool.m4 will add one of these switches to LD
9564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9565 libsuff= shlibsuff= libmagic=32-bit;;
9566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9567 libsuff=32 shlibsuff=N32 libmagic=N32;;
9568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9570 *) libsuff= shlibsuff= libmagic=never-match;;
9574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9575 shlibpath_overrides_runpath=no
9576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9578 hardcode_into_libs=yes
9581 # No shared lib support for Linux oldld, aout, or coff.
9582 linux*oldld* | linux*aout* | linux*coff*)
9586 # This must be Linux ELF.
9587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592 soname_spec='${libname}${release}${shared_ext}$major'
9593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9594 shlibpath_var=LD_LIBRARY_PATH
9595 shlibpath_overrides_runpath=no
9596 # Some binutils ld are patched to set DT_RUNPATH
9597 save_LDFLAGS=$LDFLAGS
9599 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9600 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9612 if ac_fn_c_try_link "$LINENO"; then :
9613 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9614 shlibpath_overrides_runpath=yes
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 LDFLAGS=$save_LDFLAGS
9622 # This implies no fast_install, which is unacceptable.
9623 # Some rework will be needed to allow for fast_install
9624 # before this can be enabled.
9625 hardcode_into_libs=yes
9627 # Append ld.so.conf contents to the search path
9628 if test -f /etc/ld.so.conf; then
9629 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;/^$/d' | tr '\n' ' '`
9630 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9633 # We used to test for /lib/ld.so.1 and disable shared libraries on
9634 # powerpc, because MkLinux only supported shared libraries with the
9635 # GNU dynamic linker. Since this was broken with cross compilers,
9636 # most powerpc-linux boxes support dynamic linking these days and
9637 # people can always --disable-shared, the test was removed, and we
9638 # assume the GNU/Linux dynamic linker is in use.
9639 dynamic_linker='GNU/Linux ld.so'
9646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9647 soname_spec='${libname}${release}${shared_ext}$major'
9648 shlibpath_var=LD_LIBRARY_PATH
9649 shlibpath_overrides_runpath=no
9650 hardcode_into_libs=yes
9651 dynamic_linker='NetBSD ld.elf_so'
9658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9661 dynamic_linker='NetBSD (a.out) ld.so'
9663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9664 soname_spec='${libname}${release}${shared_ext}$major'
9665 dynamic_linker='NetBSD ld.elf_so'
9667 shlibpath_var=LD_LIBRARY_PATH
9668 shlibpath_overrides_runpath=yes
9669 hardcode_into_libs=yes
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9675 shlibpath_var=LD_LIBRARY_PATH
9676 shlibpath_overrides_runpath=yes
9683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9684 soname_spec='${libname}${release}${shared_ext}$major'
9685 shlibpath_var=LD_LIBRARY_PATH
9686 shlibpath_overrides_runpath=no
9687 hardcode_into_libs=yes
9688 dynamic_linker='ldqnx.so'
9693 sys_lib_dlsearch_path_spec="/usr/lib"
9695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9698 *) need_version=no ;;
9700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9702 shlibpath_var=LD_LIBRARY_PATH
9703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9705 openbsd2.[89] | openbsd2.[89].*)
9706 shlibpath_overrides_runpath=no
9709 shlibpath_overrides_runpath=yes
9713 shlibpath_overrides_runpath=yes
9718 libname_spec='$name'
9721 library_names_spec='$libname${shared_ext} $libname.a'
9722 dynamic_linker='OS/2 ld.exe'
9723 shlibpath_var=LIBPATH
9726 osf3* | osf4* | osf5*)
9730 soname_spec='${libname}${release}${shared_ext}$major'
9731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732 shlibpath_var=LD_LIBRARY_PATH
9733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9746 soname_spec='${libname}${release}${shared_ext}$major'
9747 shlibpath_var=LD_LIBRARY_PATH
9748 shlibpath_overrides_runpath=yes
9749 hardcode_into_libs=yes
9750 # ldd complains unless libraries are executable
9751 postinstall_cmds='chmod +x $lib'
9756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9758 shlibpath_var=LD_LIBRARY_PATH
9759 shlibpath_overrides_runpath=yes
9760 if test "$with_gnu_ld" = yes; then
9768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9769 soname_spec='${libname}${release}${shared_ext}$major'
9770 shlibpath_var=LD_LIBRARY_PATH
9771 case $host_vendor in
9773 shlibpath_overrides_runpath=no
9775 runpath_var=LD_RUN_PATH
9783 shlibpath_overrides_runpath=no
9784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9790 if test -d /usr/nec ;then
9792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9793 soname_spec='$libname${shared_ext}.$major'
9794 shlibpath_var=LD_LIBRARY_PATH
9798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9799 version_type=freebsd-elf
9802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9803 soname_spec='${libname}${release}${shared_ext}$major'
9804 shlibpath_var=LD_LIBRARY_PATH
9805 shlibpath_overrides_runpath=yes
9806 hardcode_into_libs=yes
9807 if test "$with_gnu_ld" = yes; then
9808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9817 sys_lib_dlsearch_path_spec='/usr/lib'
9821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9826 shlibpath_var=LD_LIBRARY_PATH
9827 shlibpath_overrides_runpath=no
9828 hardcode_into_libs=yes
9833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9834 soname_spec='${libname}${release}${shared_ext}$major'
9835 shlibpath_var=LD_LIBRARY_PATH
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9843 $as_echo "$dynamic_linker" >&6; }
9844 test "$dynamic_linker" = no && can_build_shared=no
9846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9847 if test "$GCC" = yes; then
9848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9945 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9947 if test -n "$hardcode_libdir_flag_spec" ||
9948 test -n "$runpath_var" ||
9949 test "X$hardcode_automatic" = "Xyes" ; then
9951 # We can hardcode non-existent directories.
9952 if test "$hardcode_direct" != no &&
9953 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9954 # have to relink, otherwise we might link with an installed library
9955 # when we should be linking with a yet-to-be-installed one
9956 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9957 test "$hardcode_minus_L" != no; then
9958 # Linking always hardcodes the temporary library directory.
9959 hardcode_action=relink
9961 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9962 hardcode_action=immediate
9965 # We cannot hardcode anything, or else we can only hardcode existing
9967 hardcode_action=unsupported
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9970 $as_echo "$hardcode_action" >&6; }
9972 if test "$hardcode_action" = relink ||
9973 test "$inherit_rpath" = yes; then
9974 # Fast installation is not supported
9975 enable_fast_install=no
9976 elif test "$shlibpath_overrides_runpath" = yes ||
9977 test "$enable_shared" = no; then
9978 # Fast installation is not necessary
9979 enable_fast_install=needless
9987 if test "x$enable_dlopen" != xyes; then
9988 enable_dlopen=unknown
9989 enable_dlopen_self=unknown
9990 enable_dlopen_self_static=unknown
9997 lt_cv_dlopen="load_add_on"
9999 lt_cv_dlopen_self=yes
10002 mingw* | pw32* | cegcc*)
10003 lt_cv_dlopen="LoadLibrary"
10008 lt_cv_dlopen="dlopen"
10013 # if libdl is installed we need to link against it
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10015 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10016 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10017 $as_echo_n "(cached) " >&6
10019 ac_check_lib_save_LIBS=$LIBS
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10024 /* Override any GCC internal prototype to avoid an error.
10025 Use char because int might match the return type of a GCC
10026 builtin and then its argument prototype would still apply. */
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_lib_dl_dlopen=yes
10042 ac_cv_lib_dl_dlopen=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_lib_save_LIBS
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10049 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10050 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10051 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10054 lt_cv_dlopen="dyld"
10056 lt_cv_dlopen_self=yes
10063 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10064 if test "x$ac_cv_func_shl_load" = x""yes; then :
10065 lt_cv_dlopen="shl_load"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10068 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10069 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10070 $as_echo_n "(cached) " >&6
10072 ac_check_lib_save_LIBS=$LIBS
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10087 return shl_load ();
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_lib_dld_shl_load=yes
10095 ac_cv_lib_dld_shl_load=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 LIBS=$ac_check_lib_save_LIBS
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10102 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10103 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10104 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10106 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10107 if test "x$ac_cv_func_dlopen" = x""yes; then :
10108 lt_cv_dlopen="dlopen"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10111 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10112 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10113 $as_echo_n "(cached) " >&6
10115 ac_check_lib_save_LIBS=$LIBS
10117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10120 /* Override any GCC internal prototype to avoid an error.
10121 Use char because int might match the return type of a GCC
10122 builtin and then its argument prototype would still apply. */
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_lib_dl_dlopen=yes
10138 ac_cv_lib_dl_dlopen=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_lib_save_LIBS
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10145 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10146 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10147 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10150 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10151 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10152 $as_echo_n "(cached) " >&6
10154 ac_check_lib_save_LIBS=$LIBS
10155 LIBS="-lsvld $LIBS"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10159 /* Override any GCC internal prototype to avoid an error.
10160 Use char because int might match the return type of a GCC
10161 builtin and then its argument prototype would still apply. */
10174 if ac_fn_c_try_link "$LINENO"; then :
10175 ac_cv_lib_svld_dlopen=yes
10177 ac_cv_lib_svld_dlopen=no
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 LIBS=$ac_check_lib_save_LIBS
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10184 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10185 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10186 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10189 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10190 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10191 $as_echo_n "(cached) " >&6
10193 ac_check_lib_save_LIBS=$LIBS
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10208 return dld_link ();
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 ac_cv_lib_dld_dld_link=yes
10216 ac_cv_lib_dld_dld_link=no
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_lib_save_LIBS
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10223 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10224 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10225 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10246 if test "x$lt_cv_dlopen" != xno; then
10252 case $lt_cv_dlopen in
10254 save_CPPFLAGS="$CPPFLAGS"
10255 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10257 save_LDFLAGS="$LDFLAGS"
10258 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10261 LIBS="$lt_cv_dlopen_libs $LIBS"
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10264 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10265 if test "${lt_cv_dlopen_self+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10268 if test "$cross_compiling" = yes; then :
10269 lt_cv_dlopen_self=cross
10271 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10272 lt_status=$lt_dlunknown
10273 cat > conftest.$ac_ext <<_LT_EOF
10274 #line 10274 "configure"
10275 #include "confdefs.h"
10284 # define LT_DLGLOBAL RTLD_GLOBAL
10287 # define LT_DLGLOBAL DL_GLOBAL
10289 # define LT_DLGLOBAL 0
10293 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10294 find out it does not work in some platform. */
10295 #ifndef LT_DLLAZY_OR_NOW
10297 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10300 # define LT_DLLAZY_OR_NOW DL_LAZY
10303 # define LT_DLLAZY_OR_NOW RTLD_NOW
10306 # define LT_DLLAZY_OR_NOW DL_NOW
10308 # define LT_DLLAZY_OR_NOW 0
10315 void fnord() { int i=42;}
10318 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10319 int status = $lt_dlunknown;
10323 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10324 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10325 /* dlclose (self); */
10333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10334 (eval $ac_link) 2>&5
10336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10337 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10338 (./conftest; exit; ) >&5 2>/dev/null
10340 case x$lt_status in
10341 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10342 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10343 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10346 # compilation failed
10347 lt_cv_dlopen_self=no
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10355 $as_echo "$lt_cv_dlopen_self" >&6; }
10357 if test "x$lt_cv_dlopen_self" = xyes; then
10358 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10360 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10361 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10362 $as_echo_n "(cached) " >&6
10364 if test "$cross_compiling" = yes; then :
10365 lt_cv_dlopen_self_static=cross
10367 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10368 lt_status=$lt_dlunknown
10369 cat > conftest.$ac_ext <<_LT_EOF
10370 #line 10370 "configure"
10371 #include "confdefs.h"
10380 # define LT_DLGLOBAL RTLD_GLOBAL
10383 # define LT_DLGLOBAL DL_GLOBAL
10385 # define LT_DLGLOBAL 0
10389 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10390 find out it does not work in some platform. */
10391 #ifndef LT_DLLAZY_OR_NOW
10393 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10396 # define LT_DLLAZY_OR_NOW DL_LAZY
10399 # define LT_DLLAZY_OR_NOW RTLD_NOW
10402 # define LT_DLLAZY_OR_NOW DL_NOW
10404 # define LT_DLLAZY_OR_NOW 0
10411 void fnord() { int i=42;}
10414 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10415 int status = $lt_dlunknown;
10419 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10420 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10421 /* dlclose (self); */
10429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10430 (eval $ac_link) 2>&5
10432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10433 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10434 (./conftest; exit; ) >&5 2>/dev/null
10436 case x$lt_status in
10437 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10438 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10439 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10442 # compilation failed
10443 lt_cv_dlopen_self_static=no
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10451 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10454 CPPFLAGS="$save_CPPFLAGS"
10455 LDFLAGS="$save_LDFLAGS"
10460 case $lt_cv_dlopen_self in
10461 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10462 *) enable_dlopen_self=unknown ;;
10465 case $lt_cv_dlopen_self_static in
10466 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10467 *) enable_dlopen_self_static=unknown ;;
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10490 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10491 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10492 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10493 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10495 $as_echo "yes" >&6; }
10497 # FIXME - insert some real tests, host_os isn't really good enough
10500 if test -n "$STRIP" ; then
10501 striplib="$STRIP -x"
10502 old_striplib="$STRIP -S"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10504 $as_echo "yes" >&6; }
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10507 $as_echo "no" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10528 # Report which library types will actually be built
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10530 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10532 $as_echo "$can_build_shared" >&6; }
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10535 $as_echo_n "checking whether to build shared libraries... " >&6; }
10536 test "$can_build_shared" = "no" && enable_shared=no
10538 # On AIX, shared libraries and static libraries use the same namespace, and
10539 # are all built from PIC.
10542 test "$enable_shared" = yes && enable_static=no
10543 if test -n "$RANLIB"; then
10544 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10545 postinstall_cmds='$RANLIB $lib'
10550 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10551 test "$enable_shared" = yes && enable_static=no
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10556 $as_echo "$enable_shared" >&6; }
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10559 $as_echo_n "checking whether to build static libraries... " >&6; }
10560 # Make sure either enable_shared or enable_static is yes.
10561 test "$enable_shared" = yes || enable_static=yes
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10563 $as_echo "$enable_static" >&6; }
10570 ac_cpp='$CPP $CPPFLAGS'
10571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10589 ac_config_commands="$ac_config_commands libtool"
10594 # Only expand once:
10599 ac_cpp='$CPP $CPPFLAGS'
10600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10603 if test -n "$ac_tool_prefix"; then
10604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10607 $as_echo_n "checking for $ac_word... " >&6; }
10608 if test "${ac_cv_prog_CC+set}" = set; then :
10609 $as_echo_n "(cached) " >&6
10611 if test -n "$CC"; then
10612 ac_cv_prog_CC="$CC" # Let the user override the test.
10614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615 for as_dir in $PATH
10618 test -z "$as_dir" && as_dir=.
10619 for ac_exec_ext in '' $ac_executable_extensions; do
10620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 if test -n "$CC"; then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10634 $as_echo "$CC" >&6; }
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10637 $as_echo "no" >&6; }
10642 if test -z "$ac_cv_prog_CC"; then
10644 # Extract the first word of "gcc", so it can be a program name with args.
10645 set dummy gcc; ac_word=$2
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10647 $as_echo_n "checking for $ac_word... " >&6; }
10648 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10649 $as_echo_n "(cached) " >&6
10651 if test -n "$ac_ct_CC"; then
10652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10655 for as_dir in $PATH
10658 test -z "$as_dir" && as_dir=.
10659 for ac_exec_ext in '' $ac_executable_extensions; do
10660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10661 ac_cv_prog_ac_ct_CC="gcc"
10662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10672 if test -n "$ac_ct_CC"; then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10674 $as_echo "$ac_ct_CC" >&6; }
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10677 $as_echo "no" >&6; }
10680 if test "x$ac_ct_CC" = x; then
10683 case $cross_compiling:$ac_tool_warned in
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10687 ac_tool_warned=yes ;;
10692 CC="$ac_cv_prog_CC"
10695 if test -z "$CC"; then
10696 if test -n "$ac_tool_prefix"; then
10697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10698 set dummy ${ac_tool_prefix}cc; ac_word=$2
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10700 $as_echo_n "checking for $ac_word... " >&6; }
10701 if test "${ac_cv_prog_CC+set}" = set; then :
10702 $as_echo_n "(cached) " >&6
10704 if test -n "$CC"; then
10705 ac_cv_prog_CC="$CC" # Let the user override the test.
10707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10708 for as_dir in $PATH
10711 test -z "$as_dir" && as_dir=.
10712 for ac_exec_ext in '' $ac_executable_extensions; do
10713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10714 ac_cv_prog_CC="${ac_tool_prefix}cc"
10715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10725 if test -n "$CC"; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10727 $as_echo "$CC" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10730 $as_echo "no" >&6; }
10736 if test -z "$CC"; then
10737 # Extract the first word of "cc", so it can be a program name with args.
10738 set dummy cc; ac_word=$2
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10740 $as_echo_n "checking for $ac_word... " >&6; }
10741 if test "${ac_cv_prog_CC+set}" = set; then :
10742 $as_echo_n "(cached) " >&6
10744 if test -n "$CC"; then
10745 ac_cv_prog_CC="$CC" # Let the user override the test.
10747 ac_prog_rejected=no
10748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10749 for as_dir in $PATH
10752 test -z "$as_dir" && as_dir=.
10753 for ac_exec_ext in '' $ac_executable_extensions; do
10754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10756 ac_prog_rejected=yes
10760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10767 if test $ac_prog_rejected = yes; then
10768 # We found a bogon in the path, so make sure we never use it.
10769 set dummy $ac_cv_prog_CC
10771 if test $# != 0; then
10772 # We chose a different compiler from the bogus one.
10773 # However, it has the same basename, so the bogon will be chosen
10774 # first if we set CC to just the basename; use the full file name.
10776 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10782 if test -n "$CC"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10784 $as_echo "$CC" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10787 $as_echo "no" >&6; }
10792 if test -z "$CC"; then
10793 if test -n "$ac_tool_prefix"; then
10794 for ac_prog in cl.exe
10796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10799 $as_echo_n "checking for $ac_word... " >&6; }
10800 if test "${ac_cv_prog_CC+set}" = set; then :
10801 $as_echo_n "(cached) " >&6
10803 if test -n "$CC"; then
10804 ac_cv_prog_CC="$CC" # Let the user override the test.
10806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10807 for as_dir in $PATH
10810 test -z "$as_dir" && as_dir=.
10811 for ac_exec_ext in '' $ac_executable_extensions; do
10812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10824 if test -n "$CC"; then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10826 $as_echo "$CC" >&6; }
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10829 $as_echo "no" >&6; }
10833 test -n "$CC" && break
10836 if test -z "$CC"; then
10838 for ac_prog in cl.exe
10840 # Extract the first word of "$ac_prog", so it can be a program name with args.
10841 set dummy $ac_prog; ac_word=$2
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10843 $as_echo_n "checking for $ac_word... " >&6; }
10844 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10845 $as_echo_n "(cached) " >&6
10847 if test -n "$ac_ct_CC"; then
10848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10851 for as_dir in $PATH
10854 test -z "$as_dir" && as_dir=.
10855 for ac_exec_ext in '' $ac_executable_extensions; do
10856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10857 ac_cv_prog_ac_ct_CC="$ac_prog"
10858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10868 if test -n "$ac_ct_CC"; then
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10870 $as_echo "$ac_ct_CC" >&6; }
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10873 $as_echo "no" >&6; }
10877 test -n "$ac_ct_CC" && break
10880 if test "x$ac_ct_CC" = x; then
10883 case $cross_compiling:$ac_tool_warned in
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10887 ac_tool_warned=yes ;;
10896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10898 as_fn_error $? "no acceptable C compiler found in \$PATH
10899 See \`config.log' for more details" "$LINENO" 5 ; }
10901 # Provide some information about the compiler.
10902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10905 for ac_option in --version -v -V -qversion; do
10906 { { ac_try="$ac_compiler $ac_option >&5"
10907 case "(($ac_try" in
10908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10909 *) ac_try_echo=$ac_try;;
10911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10912 $as_echo "$ac_try_echo"; } >&5
10913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10915 if test -s conftest.err; then
10917 ... rest of stderr output deleted ...
10918 10q' conftest.err >conftest.er1
10919 cat conftest.er1 >&5
10921 rm -f conftest.er1 conftest.err
10922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10923 test $ac_status = 0; }
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10927 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10928 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10929 $as_echo_n "(cached) " >&6
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10945 if ac_fn_c_try_compile "$LINENO"; then :
10946 ac_compiler_gnu=yes
10950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10951 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10955 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10956 if test $ac_compiler_gnu = yes; then
10961 ac_test_CFLAGS=${CFLAGS+set}
10962 ac_save_CFLAGS=$CFLAGS
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10964 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10965 if test "${ac_cv_prog_cc_g+set}" = set; then :
10966 $as_echo_n "(cached) " >&6
10968 ac_save_c_werror_flag=$ac_c_werror_flag
10969 ac_c_werror_flag=yes
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10983 if ac_fn_c_try_compile "$LINENO"; then :
10984 ac_cv_prog_cc_g=yes
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10998 if ac_fn_c_try_compile "$LINENO"; then :
11001 ac_c_werror_flag=$ac_save_c_werror_flag
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11014 if ac_fn_c_try_compile "$LINENO"; then :
11015 ac_cv_prog_cc_g=yes
11017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11022 ac_c_werror_flag=$ac_save_c_werror_flag
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11025 $as_echo "$ac_cv_prog_cc_g" >&6; }
11026 if test "$ac_test_CFLAGS" = set; then
11027 CFLAGS=$ac_save_CFLAGS
11028 elif test $ac_cv_prog_cc_g = yes; then
11029 if test "$GCC" = yes; then
11035 if test "$GCC" = yes; then
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11042 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11043 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11044 $as_echo_n "(cached) " >&6
11046 ac_cv_prog_cc_c89=no
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11050 #include <stdarg.h>
11052 #include <sys/types.h>
11053 #include <sys/stat.h>
11054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11055 struct buf { int x; };
11056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11057 static char *e (p, i)
11063 static char *f (char * (*g) (char **, int), char **p, ...)
11068 s = g (p, va_arg (v,int));
11073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11074 function prototypes and stuff, but not '\xHH' hex character constants.
11075 These don't provoke an error unfortunately, instead are silently treated
11076 as 'x'. The following induces an error, until -std is added to get
11077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11078 array size at least. It's necessary to write '\x00'==0 to get something
11079 that's true only with -std. */
11080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11083 inside strings and character constants. */
11085 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11087 int test (int i, double x);
11088 struct s1 {int (*f) (int a);};
11089 struct s2 {int (*f) (double a);};
11090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11101 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11104 CC="$ac_save_CC $ac_arg"
11105 if ac_fn_c_try_compile "$LINENO"; then :
11106 ac_cv_prog_cc_c89=$ac_arg
11108 rm -f core conftest.err conftest.$ac_objext
11109 test "x$ac_cv_prog_cc_c89" != "xno" && break
11111 rm -f conftest.$ac_ext
11116 case "x$ac_cv_prog_cc_c89" in
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11119 $as_echo "none needed" >&6; } ;;
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11122 $as_echo "unsupported" >&6; } ;;
11124 CC="$CC $ac_cv_prog_cc_c89"
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11126 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11128 if test "x$ac_cv_prog_cc_c89" != xno; then :
11133 ac_cpp='$CPP $CPPFLAGS'
11134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11138 depcc="$CC" am_compiler_list=
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11141 $as_echo_n "checking dependency style of $depcc... " >&6; }
11142 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11143 $as_echo_n "(cached) " >&6
11145 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11146 # We make a subdir and do the tests there. Otherwise we can end up
11147 # making bogus files that we don't know about and never remove. For
11148 # instance it was reported that on HP-UX the gcc test will end up
11149 # making a dummy file named `D' -- because `-MD' means `put the output
11152 # Copy depcomp to subdir because otherwise we won't find it if we're
11153 # using a relative directory.
11154 cp "$am_depcomp" conftest.dir
11156 # We will build objects and dependencies in a subdirectory because
11157 # it helps to detect inapplicable dependency modes. For instance
11158 # both Tru64's cc and ICC support -MD to output dependencies as a
11159 # side effect of compilation, but ICC will put the dependencies in
11160 # the current directory while Tru64 will put them in the object
11164 am_cv_CC_dependencies_compiler_type=none
11165 if test "$am_compiler_list" = ""; then
11166 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11168 am__universal=false
11169 case " $depcc " in #(
11170 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11173 for depmode in $am_compiler_list; do
11174 # Setup a source with many dependencies, because some compilers
11175 # like to wrap large dependency lists on column 80 (with \), and
11176 # we should not choose a depcomp mode which is confused by this.
11178 # We need to recreate these files for each test, as the compiler may
11179 # overwrite some of them when testing with obscure command lines.
11180 # This happens at least with the AIX C compiler.
11182 for i in 1 2 3 4 5 6; do
11183 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11184 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11185 # Solaris 8's {/usr,}/bin/sh.
11186 touch sub/conftst$i.h
11188 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11190 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11191 # mode. It turns out that the SunPro C++ compiler does not properly
11192 # handle `-M -o', and we need to detect this. Also, some Intel
11193 # versions had trouble with output in subdirs
11194 am__obj=sub/conftest.${OBJEXT-o}
11195 am__minus_obj="-o $am__obj"
11198 # This depmode causes a compiler race in universal mode.
11199 test "$am__universal" = false || continue
11202 # after this tag, mechanisms are not by side-effect, so they'll
11203 # only be used when explicitly requested
11204 if test "x$enable_dependency_tracking" = xyes; then
11210 msvisualcpp | msvcmsys)
11211 # This compiler won't grok `-c -o', but also, the minuso test has
11212 # not run yet. These depmodes are late enough in the game, and
11213 # so weak that their functioning should not be impacted.
11214 am__obj=conftest.${OBJEXT-o}
11219 if depmode=$depmode \
11220 source=sub/conftest.c object=$am__obj \
11221 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11222 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11223 >/dev/null 2>conftest.err &&
11224 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11225 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11226 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11227 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11228 # icc doesn't choke on unknown options, it will just issue warnings
11229 # or remarks (even with -Werror). So we grep stderr for any message
11230 # that says an option was ignored or not supported.
11231 # When given -MP, icc 7.0 and 7.1 complain thusly:
11232 # icc: Command line warning: ignoring option '-M'; no argument required
11233 # The diagnosis changed in icc 8.0:
11234 # icc: Command line remark: option '-MP' not supported
11235 if (grep 'ignoring option' conftest.err ||
11236 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11237 am_cv_CC_dependencies_compiler_type=$depmode
11244 rm -rf conftest.dir
11246 am_cv_CC_dependencies_compiler_type=none
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11251 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11255 test "x$enable_dependency_tracking" != xno \
11256 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11257 am__fastdepCC_TRUE=
11258 am__fastdepCC_FALSE='#'
11260 am__fastdepCC_TRUE='#'
11261 am__fastdepCC_FALSE=
11266 ac_cpp='$CXXCPP $CPPFLAGS'
11267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11270 if test -z "$CXX"; then
11271 if test -n "$CCC"; then
11274 if test -n "$ac_tool_prefix"; then
11275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11278 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11280 $as_echo_n "checking for $ac_word... " >&6; }
11281 if test "${ac_cv_prog_CXX+set}" = set; then :
11282 $as_echo_n "(cached) " >&6
11284 if test -n "$CXX"; then
11285 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11288 for as_dir in $PATH
11291 test -z "$as_dir" && as_dir=.
11292 for ac_exec_ext in '' $ac_executable_extensions; do
11293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11294 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11304 CXX=$ac_cv_prog_CXX
11305 if test -n "$CXX"; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11307 $as_echo "$CXX" >&6; }
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11310 $as_echo "no" >&6; }
11314 test -n "$CXX" && break
11317 if test -z "$CXX"; then
11319 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11321 # Extract the first word of "$ac_prog", so it can be a program name with args.
11322 set dummy $ac_prog; ac_word=$2
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11324 $as_echo_n "checking for $ac_word... " >&6; }
11325 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11328 if test -n "$ac_ct_CXX"; then
11329 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11332 for as_dir in $PATH
11335 test -z "$as_dir" && as_dir=.
11336 for ac_exec_ext in '' $ac_executable_extensions; do
11337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11338 ac_cv_prog_ac_ct_CXX="$ac_prog"
11339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11348 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11349 if test -n "$ac_ct_CXX"; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11351 $as_echo "$ac_ct_CXX" >&6; }
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11354 $as_echo "no" >&6; }
11358 test -n "$ac_ct_CXX" && break
11361 if test "x$ac_ct_CXX" = x; then
11364 case $cross_compiling:$ac_tool_warned in
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11368 ac_tool_warned=yes ;;
11376 # Provide some information about the compiler.
11377 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11380 for ac_option in --version -v -V -qversion; do
11381 { { ac_try="$ac_compiler $ac_option >&5"
11382 case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11387 $as_echo "$ac_try_echo"; } >&5
11388 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11390 if test -s conftest.err; then
11392 ... rest of stderr output deleted ...
11393 10q' conftest.err >conftest.er1
11394 cat conftest.er1 >&5
11396 rm -f conftest.er1 conftest.err
11397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11398 test $ac_status = 0; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11402 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11403 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11404 $as_echo_n "(cached) " >&6
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11420 if ac_fn_cxx_try_compile "$LINENO"; then :
11421 ac_compiler_gnu=yes
11425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11426 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11430 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11431 if test $ac_compiler_gnu = yes; then
11436 ac_test_CXXFLAGS=${CXXFLAGS+set}
11437 ac_save_CXXFLAGS=$CXXFLAGS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11439 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11440 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11441 $as_echo_n "(cached) " >&6
11443 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11444 ac_cxx_werror_flag=yes
11445 ac_cv_prog_cxx_g=no
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11458 if ac_fn_cxx_try_compile "$LINENO"; then :
11459 ac_cv_prog_cxx_g=yes
11462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11473 if ac_fn_cxx_try_compile "$LINENO"; then :
11476 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11489 if ac_fn_cxx_try_compile "$LINENO"; then :
11490 ac_cv_prog_cxx_g=yes
11492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11497 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11500 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11501 if test "$ac_test_CXXFLAGS" = set; then
11502 CXXFLAGS=$ac_save_CXXFLAGS
11503 elif test $ac_cv_prog_cxx_g = yes; then
11504 if test "$GXX" = yes; then
11510 if test "$GXX" = yes; then
11517 ac_cpp='$CPP $CPPFLAGS'
11518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11522 depcc="$CXX" am_compiler_list=
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11525 $as_echo_n "checking dependency style of $depcc... " >&6; }
11526 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11527 $as_echo_n "(cached) " >&6
11529 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11530 # We make a subdir and do the tests there. Otherwise we can end up
11531 # making bogus files that we don't know about and never remove. For
11532 # instance it was reported that on HP-UX the gcc test will end up
11533 # making a dummy file named `D' -- because `-MD' means `put the output
11536 # Copy depcomp to subdir because otherwise we won't find it if we're
11537 # using a relative directory.
11538 cp "$am_depcomp" conftest.dir
11540 # We will build objects and dependencies in a subdirectory because
11541 # it helps to detect inapplicable dependency modes. For instance
11542 # both Tru64's cc and ICC support -MD to output dependencies as a
11543 # side effect of compilation, but ICC will put the dependencies in
11544 # the current directory while Tru64 will put them in the object
11548 am_cv_CXX_dependencies_compiler_type=none
11549 if test "$am_compiler_list" = ""; then
11550 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11552 am__universal=false
11553 case " $depcc " in #(
11554 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11557 for depmode in $am_compiler_list; do
11558 # Setup a source with many dependencies, because some compilers
11559 # like to wrap large dependency lists on column 80 (with \), and
11560 # we should not choose a depcomp mode which is confused by this.
11562 # We need to recreate these files for each test, as the compiler may
11563 # overwrite some of them when testing with obscure command lines.
11564 # This happens at least with the AIX C compiler.
11566 for i in 1 2 3 4 5 6; do
11567 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11568 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11569 # Solaris 8's {/usr,}/bin/sh.
11570 touch sub/conftst$i.h
11572 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11574 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11575 # mode. It turns out that the SunPro C++ compiler does not properly
11576 # handle `-M -o', and we need to detect this. Also, some Intel
11577 # versions had trouble with output in subdirs
11578 am__obj=sub/conftest.${OBJEXT-o}
11579 am__minus_obj="-o $am__obj"
11582 # This depmode causes a compiler race in universal mode.
11583 test "$am__universal" = false || continue
11586 # after this tag, mechanisms are not by side-effect, so they'll
11587 # only be used when explicitly requested
11588 if test "x$enable_dependency_tracking" = xyes; then
11594 msvisualcpp | msvcmsys)
11595 # This compiler won't grok `-c -o', but also, the minuso test has
11596 # not run yet. These depmodes are late enough in the game, and
11597 # so weak that their functioning should not be impacted.
11598 am__obj=conftest.${OBJEXT-o}
11603 if depmode=$depmode \
11604 source=sub/conftest.c object=$am__obj \
11605 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11606 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11607 >/dev/null 2>conftest.err &&
11608 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11609 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11610 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11611 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11612 # icc doesn't choke on unknown options, it will just issue warnings
11613 # or remarks (even with -Werror). So we grep stderr for any message
11614 # that says an option was ignored or not supported.
11615 # When given -MP, icc 7.0 and 7.1 complain thusly:
11616 # icc: Command line warning: ignoring option '-M'; no argument required
11617 # The diagnosis changed in icc 8.0:
11618 # icc: Command line remark: option '-MP' not supported
11619 if (grep 'ignoring option' conftest.err ||
11620 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11621 am_cv_CXX_dependencies_compiler_type=$depmode
11628 rm -rf conftest.dir
11630 am_cv_CXX_dependencies_compiler_type=none
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11635 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11636 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11639 test "x$enable_dependency_tracking" != xno \
11640 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11641 am__fastdepCXX_TRUE=
11642 am__fastdepCXX_FALSE='#'
11644 am__fastdepCXX_TRUE='#'
11645 am__fastdepCXX_FALSE=
11651 ac_cpp='$CXXCPP $CPPFLAGS'
11652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11655 if test -z "$CXX"; then
11656 if test -n "$CCC"; then
11659 if test -n "$ac_tool_prefix"; then
11660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11665 $as_echo_n "checking for $ac_word... " >&6; }
11666 if test "${ac_cv_prog_CXX+set}" = set; then :
11667 $as_echo_n "(cached) " >&6
11669 if test -n "$CXX"; then
11670 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11676 test -z "$as_dir" && as_dir=.
11677 for ac_exec_ext in '' $ac_executable_extensions; do
11678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11689 CXX=$ac_cv_prog_CXX
11690 if test -n "$CXX"; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11692 $as_echo "$CXX" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11695 $as_echo "no" >&6; }
11699 test -n "$CXX" && break
11702 if test -z "$CXX"; then
11704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11706 # Extract the first word of "$ac_prog", so it can be a program name with args.
11707 set dummy $ac_prog; ac_word=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11711 $as_echo_n "(cached) " >&6
11713 if test -n "$ac_ct_CXX"; then
11714 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11720 test -z "$as_dir" && as_dir=.
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11723 ac_cv_prog_ac_ct_CXX="$ac_prog"
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11734 if test -n "$ac_ct_CXX"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11736 $as_echo "$ac_ct_CXX" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 $as_echo "no" >&6; }
11743 test -n "$ac_ct_CXX" && break
11746 if test "x$ac_ct_CXX" = x; then
11749 case $cross_compiling:$ac_tool_warned in
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11753 ac_tool_warned=yes ;;
11761 # Provide some information about the compiler.
11762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11765 for ac_option in --version -v -V -qversion; do
11766 { { ac_try="$ac_compiler $ac_option >&5"
11767 case "(($ac_try" in
11768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11769 *) ac_try_echo=$ac_try;;
11771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11772 $as_echo "$ac_try_echo"; } >&5
11773 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11775 if test -s conftest.err; then
11777 ... rest of stderr output deleted ...
11778 10q' conftest.err >conftest.er1
11779 cat conftest.er1 >&5
11781 rm -f conftest.er1 conftest.err
11782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783 test $ac_status = 0; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11787 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11788 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11789 $as_echo_n "(cached) " >&6
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11805 if ac_fn_cxx_try_compile "$LINENO"; then :
11806 ac_compiler_gnu=yes
11810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11811 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11815 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11816 if test $ac_compiler_gnu = yes; then
11821 ac_test_CXXFLAGS=${CXXFLAGS+set}
11822 ac_save_CXXFLAGS=$CXXFLAGS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11824 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11825 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11828 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11829 ac_cxx_werror_flag=yes
11830 ac_cv_prog_cxx_g=no
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11843 if ac_fn_cxx_try_compile "$LINENO"; then :
11844 ac_cv_prog_cxx_g=yes
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11858 if ac_fn_cxx_try_compile "$LINENO"; then :
11861 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h. */
11874 if ac_fn_cxx_try_compile "$LINENO"; then :
11875 ac_cv_prog_cxx_g=yes
11877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11882 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11885 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11886 if test "$ac_test_CXXFLAGS" = set; then
11887 CXXFLAGS=$ac_save_CXXFLAGS
11888 elif test $ac_cv_prog_cxx_g = yes; then
11889 if test "$GXX" = yes; then
11895 if test "$GXX" = yes; then
11902 ac_cpp='$CPP $CPPFLAGS'
11903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11907 depcc="$CXX" am_compiler_list=
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11910 $as_echo_n "checking dependency style of $depcc... " >&6; }
11911 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11912 $as_echo_n "(cached) " >&6
11914 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11915 # We make a subdir and do the tests there. Otherwise we can end up
11916 # making bogus files that we don't know about and never remove. For
11917 # instance it was reported that on HP-UX the gcc test will end up
11918 # making a dummy file named `D' -- because `-MD' means `put the output
11921 # Copy depcomp to subdir because otherwise we won't find it if we're
11922 # using a relative directory.
11923 cp "$am_depcomp" conftest.dir
11925 # We will build objects and dependencies in a subdirectory because
11926 # it helps to detect inapplicable dependency modes. For instance
11927 # both Tru64's cc and ICC support -MD to output dependencies as a
11928 # side effect of compilation, but ICC will put the dependencies in
11929 # the current directory while Tru64 will put them in the object
11933 am_cv_CXX_dependencies_compiler_type=none
11934 if test "$am_compiler_list" = ""; then
11935 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11937 am__universal=false
11938 case " $depcc " in #(
11939 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11942 for depmode in $am_compiler_list; do
11943 # Setup a source with many dependencies, because some compilers
11944 # like to wrap large dependency lists on column 80 (with \), and
11945 # we should not choose a depcomp mode which is confused by this.
11947 # We need to recreate these files for each test, as the compiler may
11948 # overwrite some of them when testing with obscure command lines.
11949 # This happens at least with the AIX C compiler.
11951 for i in 1 2 3 4 5 6; do
11952 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11953 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11954 # Solaris 8's {/usr,}/bin/sh.
11955 touch sub/conftst$i.h
11957 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11959 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11960 # mode. It turns out that the SunPro C++ compiler does not properly
11961 # handle `-M -o', and we need to detect this. Also, some Intel
11962 # versions had trouble with output in subdirs
11963 am__obj=sub/conftest.${OBJEXT-o}
11964 am__minus_obj="-o $am__obj"
11967 # This depmode causes a compiler race in universal mode.
11968 test "$am__universal" = false || continue
11971 # after this tag, mechanisms are not by side-effect, so they'll
11972 # only be used when explicitly requested
11973 if test "x$enable_dependency_tracking" = xyes; then
11979 msvisualcpp | msvcmsys)
11980 # This compiler won't grok `-c -o', but also, the minuso test has
11981 # not run yet. These depmodes are late enough in the game, and
11982 # so weak that their functioning should not be impacted.
11983 am__obj=conftest.${OBJEXT-o}
11988 if depmode=$depmode \
11989 source=sub/conftest.c object=$am__obj \
11990 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11991 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11992 >/dev/null 2>conftest.err &&
11993 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11994 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11995 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11996 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11997 # icc doesn't choke on unknown options, it will just issue warnings
11998 # or remarks (even with -Werror). So we grep stderr for any message
11999 # that says an option was ignored or not supported.
12000 # When given -MP, icc 7.0 and 7.1 complain thusly:
12001 # icc: Command line warning: ignoring option '-M'; no argument required
12002 # The diagnosis changed in icc 8.0:
12003 # icc: Command line remark: option '-MP' not supported
12004 if (grep 'ignoring option' conftest.err ||
12005 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12006 am_cv_CXX_dependencies_compiler_type=$depmode
12013 rm -rf conftest.dir
12015 am_cv_CXX_dependencies_compiler_type=none
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12020 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12021 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12024 test "x$enable_dependency_tracking" != xno \
12025 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12026 am__fastdepCXX_TRUE=
12027 am__fastdepCXX_FALSE='#'
12029 am__fastdepCXX_TRUE='#'
12030 am__fastdepCXX_FALSE=
12034 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12035 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12036 (test "X$CXX" != "Xg++"))) ; then
12038 ac_cpp='$CXXCPP $CPPFLAGS'
12039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12043 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12044 if test -z "$CXXCPP"; then
12045 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12046 $as_echo_n "(cached) " >&6
12048 # Double quotes because CXXCPP needs to be expanded
12049 for CXXCPP in "$CXX -E" "/lib/cpp"
12051 ac_preproc_ok=false
12052 for ac_cxx_preproc_warn_flag in '' yes
12054 # Use a header file that comes with gcc, so configuring glibc
12055 # with a fresh cross-compiler works.
12056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12057 # <limits.h> exists even on freestanding compilers.
12058 # On the NeXT, cc -E runs the code through the compiler's parser,
12059 # not just through cpp. "Syntax error" is here to catch this case.
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 # include <limits.h>
12065 # include <assert.h>
12069 if ac_fn_cxx_try_cpp "$LINENO"; then :
12072 # Broken: fails on valid input.
12075 rm -f conftest.err conftest.i conftest.$ac_ext
12077 # OK, works on sane cases. Now check whether nonexistent headers
12078 # can be detected and how.
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #include <ac_nonexistent.h>
12083 if ac_fn_cxx_try_cpp "$LINENO"; then :
12084 # Broken: success on invalid input.
12087 # Passes both tests.
12091 rm -f conftest.err conftest.i conftest.$ac_ext
12094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12095 rm -f conftest.i conftest.err conftest.$ac_ext
12096 if $ac_preproc_ok; then :
12101 ac_cv_prog_CXXCPP=$CXXCPP
12104 CXXCPP=$ac_cv_prog_CXXCPP
12106 ac_cv_prog_CXXCPP=$CXXCPP
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12109 $as_echo "$CXXCPP" >&6; }
12110 ac_preproc_ok=false
12111 for ac_cxx_preproc_warn_flag in '' yes
12113 # Use a header file that comes with gcc, so configuring glibc
12114 # with a fresh cross-compiler works.
12115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12116 # <limits.h> exists even on freestanding compilers.
12117 # On the NeXT, cc -E runs the code through the compiler's parser,
12118 # not just through cpp. "Syntax error" is here to catch this case.
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 # include <limits.h>
12124 # include <assert.h>
12128 if ac_fn_cxx_try_cpp "$LINENO"; then :
12131 # Broken: fails on valid input.
12134 rm -f conftest.err conftest.i conftest.$ac_ext
12136 # OK, works on sane cases. Now check whether nonexistent headers
12137 # can be detected and how.
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <ac_nonexistent.h>
12142 if ac_fn_cxx_try_cpp "$LINENO"; then :
12143 # Broken: success on invalid input.
12146 # Passes both tests.
12150 rm -f conftest.err conftest.i conftest.$ac_ext
12153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12154 rm -f conftest.i conftest.err conftest.$ac_ext
12155 if $ac_preproc_ok; then :
12158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12160 _lt_caught_CXX_error=yes; }
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12170 _lt_caught_CXX_error=yes
12177 ac_cpp='$CXXCPP $CPPFLAGS'
12178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12182 archive_cmds_need_lc_CXX=no
12183 allow_undefined_flag_CXX=
12184 always_export_symbols_CXX=no
12185 archive_expsym_cmds_CXX=
12186 compiler_needs_object_CXX=no
12187 export_dynamic_flag_spec_CXX=
12188 hardcode_direct_CXX=no
12189 hardcode_direct_absolute_CXX=no
12190 hardcode_libdir_flag_spec_CXX=
12191 hardcode_libdir_flag_spec_ld_CXX=
12192 hardcode_libdir_separator_CXX=
12193 hardcode_minus_L_CXX=no
12194 hardcode_shlibpath_var_CXX=unsupported
12195 hardcode_automatic_CXX=no
12196 inherit_rpath_CXX=no
12198 module_expsym_cmds_CXX=
12199 link_all_deplibs_CXX=unknown
12200 old_archive_cmds_CXX=$old_archive_cmds
12201 no_undefined_flag_CXX=
12202 whole_archive_flag_spec_CXX=
12203 enable_shared_with_static_runtimes_CXX=no
12205 # Source file extension for C++ test sources.
12208 # Object file extension for compiled C++ test sources.
12212 # No sense in running all these tests if we already determined that
12213 # the CXX compiler isn't working. Some variables (like enable_shared)
12214 # are currently assumed to apply to all compilers on this platform,
12215 # and will be corrupted by setting them based on a non-working compiler.
12216 if test "$_lt_caught_CXX_error" != yes; then
12217 # Code to be used in simple compile tests
12218 lt_simple_compile_test_code="int some_variable = 0;"
12220 # Code to be used in simple link tests
12221 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12223 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12230 # If no C compiler was specified, use CC.
12233 # If no C compiler flags were specified, use CFLAGS.
12234 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12236 # Allow CC to be a program name with arguments.
12240 # save warnings/boilerplate of simple test code
12241 ac_outfile=conftest.$ac_objext
12242 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12244 _lt_compiler_boilerplate=`cat conftest.err`
12247 ac_outfile=conftest.$ac_objext
12248 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12250 _lt_linker_boilerplate=`cat conftest.err`
12254 # Allow CC to be a program name with arguments.
12259 lt_save_with_gnu_ld=$with_gnu_ld
12260 lt_save_path_LD=$lt_cv_path_LD
12261 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12262 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12264 $as_unset lt_cv_prog_gnu_ld
12266 if test -n "${lt_cv_path_LDCXX+set}"; then
12267 lt_cv_path_LD=$lt_cv_path_LDCXX
12269 $as_unset lt_cv_path_LD
12271 test -z "${LDCXX+set}" || LD=$LDCXX
12275 for cc_temp in $compiler""; do
12277 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12278 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12283 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12286 if test -n "$compiler"; then
12287 # We don't want -fno-exception when compiling C++ code, so set the
12288 # no_builtin_flag separately
12289 if test "$GXX" = yes; then
12290 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12292 lt_prog_compiler_no_builtin_flag_CXX=
12295 if test "$GXX" = yes; then
12296 # Set up default GNU C++ configuration
12300 # Check whether --with-gnu-ld was given.
12301 if test "${with_gnu_ld+set}" = set; then :
12302 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12308 if test "$GCC" = yes; then
12309 # Check if gcc -print-prog-name=ld gives a path.
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12311 $as_echo_n "checking for ld used by $CC... " >&6; }
12314 # gcc leaves a trailing carriage return which upsets mingw
12315 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12317 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12320 # Accept absolute paths.
12322 re_direlt='/[^/][^/]*/\.\./'
12323 # Canonicalize the pathname of ld
12324 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12325 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12326 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12328 test -z "$LD" && LD="$ac_prog"
12331 # If it fails, then pretend we aren't using GCC.
12335 # If it is relative, then search for the first ld in PATH.
12336 with_gnu_ld=unknown
12339 elif test "$with_gnu_ld" = yes; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12341 $as_echo_n "checking for GNU ld... " >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12344 $as_echo_n "checking for non-GNU ld... " >&6; }
12346 if test "${lt_cv_path_LD+set}" = set; then :
12347 $as_echo_n "(cached) " >&6
12349 if test -z "$LD"; then
12350 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12351 for ac_dir in $PATH; do
12353 test -z "$ac_dir" && ac_dir=.
12354 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12355 lt_cv_path_LD="$ac_dir/$ac_prog"
12356 # Check to see if the program is GNU ld. I'd rather use --version,
12357 # but apparently some variants of GNU ld only accept -v.
12358 # Break only if it was the GNU/non-GNU ld that we prefer.
12359 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12360 *GNU* | *'with BFD'*)
12361 test "$with_gnu_ld" != no && break
12364 test "$with_gnu_ld" != yes && break
12371 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12375 LD="$lt_cv_path_LD"
12376 if test -n "$LD"; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12378 $as_echo "$LD" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12381 $as_echo "no" >&6; }
12383 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12385 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12386 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12387 $as_echo_n "(cached) " >&6
12389 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12390 case `$LD -v 2>&1 </dev/null` in
12391 *GNU* | *'with BFD'*)
12392 lt_cv_prog_gnu_ld=yes
12395 lt_cv_prog_gnu_ld=no
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12400 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12401 with_gnu_ld=$lt_cv_prog_gnu_ld
12409 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12410 # archiving commands below assume that GNU ld is being used.
12411 if test "$with_gnu_ld" = yes; then
12412 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12413 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12415 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12416 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12418 # If archive_cmds runs LD, not CC, wlarc should be empty
12419 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12420 # investigate it a little bit more. (MM)
12423 # ancient GNU ld didn't support --whole-archive et. al.
12424 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12425 $GREP 'no-whole-archive' > /dev/null; then
12426 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12428 whole_archive_flag_spec_CXX=
12434 # A generic and very simple default shared library creation
12435 # command for GNU C++ for the case where it uses the native
12436 # linker, instead of GNU ld. If possible, this setting should
12437 # overridden to take advantage of the native linker features on
12438 # the platform it is being used on.
12439 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12442 # Commands to make compiler produce verbose output that lists
12443 # what "hidden" libraries, object files and flags are used when
12444 # linking a shared library.
12445 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12453 # PORTME: fill in a description of your system's C++ link characteristics
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12455 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12459 # FIXME: insert proper C++ library support
12463 if test "$host_cpu" = ia64; then
12464 # On IA64, the linker does run time linking by default, so we don't
12465 # have to do anything special.
12466 aix_use_runtimelinking=no
12467 exp_sym_flag='-Bexport'
12470 aix_use_runtimelinking=no
12472 # Test if we are trying to use run time linking or normal
12473 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12474 # need to do runtime linking.
12475 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12476 for ld_flag in $LDFLAGS; do
12479 aix_use_runtimelinking=yes
12487 exp_sym_flag='-bexport'
12488 no_entry_flag='-bnoentry'
12491 # When large executables or shared objects are built, AIX ld can
12492 # have problems creating the table of contents. If linking a library
12493 # or program results in "error TOC overflow" add -mminimal-toc to
12494 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12495 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12497 archive_cmds_CXX=''
12498 hardcode_direct_CXX=yes
12499 hardcode_direct_absolute_CXX=yes
12500 hardcode_libdir_separator_CXX=':'
12501 link_all_deplibs_CXX=yes
12502 file_list_spec_CXX='${wl}-f,'
12504 if test "$GXX" = yes; then
12505 case $host_os in aix4.[012]|aix4.[012].*)
12506 # We only want to do this on AIX 4.2 and lower, the check
12507 # below for broken collect2 doesn't work under 4.3+
12508 collect2name=`${CC} -print-prog-name=collect2`
12509 if test -f "$collect2name" &&
12510 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12512 # We have reworked collect2
12515 # We have old collect2
12516 hardcode_direct_CXX=unsupported
12517 # It fails to find uninstalled libraries when the uninstalled
12518 # path is not listed in the libpath. Setting hardcode_minus_L
12519 # to unsupported forces relinking
12520 hardcode_minus_L_CXX=yes
12521 hardcode_libdir_flag_spec_CXX='-L$libdir'
12522 hardcode_libdir_separator_CXX=
12525 shared_flag='-shared'
12526 if test "$aix_use_runtimelinking" = yes; then
12527 shared_flag="$shared_flag "'${wl}-G'
12531 if test "$host_cpu" = ia64; then
12532 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12533 # chokes on -Wl,-G. The following line is correct:
12536 if test "$aix_use_runtimelinking" = yes; then
12537 shared_flag='${wl}-G'
12539 shared_flag='${wl}-bM:SRE'
12544 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12545 # It seems that -bexpall does not export symbols beginning with
12546 # underscore (_), so it is better to generate a list of symbols to
12548 always_export_symbols_CXX=yes
12549 if test "$aix_use_runtimelinking" = yes; then
12550 # Warning - without using the other runtime loading flags (-brtl),
12551 # -berok will link without error, but may produce a broken library.
12552 allow_undefined_flag_CXX='-berok'
12553 # Determine the default libpath from the value encoded in an empty
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12566 if ac_fn_cxx_try_link "$LINENO"; then :
12568 lt_aix_libpath_sed='
12569 /Import File Strings/,/^$/ {
12575 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12576 # Check for a 64-bit object if we didn't find anything.
12577 if test -z "$aix_libpath"; then
12578 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12585 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12587 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12589 if test "$host_cpu" = ia64; then
12590 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12591 allow_undefined_flag_CXX="-z nodefs"
12592 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"
12594 # Determine the default libpath from the value encoded in an
12595 # empty executable.
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12607 if ac_fn_cxx_try_link "$LINENO"; then :
12609 lt_aix_libpath_sed='
12610 /Import File Strings/,/^$/ {
12616 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12617 # Check for a 64-bit object if we didn't find anything.
12618 if test -z "$aix_libpath"; then
12619 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12622 rm -f core conftest.err conftest.$ac_objext \
12623 conftest$ac_exeext conftest.$ac_ext
12624 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12626 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12627 # Warning - without using the other run time loading flags,
12628 # -berok will link without error, but may produce a broken library.
12629 no_undefined_flag_CXX=' ${wl}-bernotok'
12630 allow_undefined_flag_CXX=' ${wl}-berok'
12631 # Exported symbols can be pulled into shared objects from archives
12632 whole_archive_flag_spec_CXX='$convenience'
12633 archive_cmds_need_lc_CXX=yes
12634 # This is similar to how AIX traditionally builds its shared
12636 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'
12642 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12643 allow_undefined_flag_CXX=unsupported
12644 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12645 # support --undefined. This deserves some investigation. FIXME
12646 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12653 case $cc_basename in
12655 # FIXME: insert proper C++ library support
12661 cygwin* | mingw* | pw32* | cegcc*)
12662 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12663 # as there is no search path for DLLs.
12664 hardcode_libdir_flag_spec_CXX='-L$libdir'
12665 allow_undefined_flag_CXX=unsupported
12666 always_export_symbols_CXX=no
12667 enable_shared_with_static_runtimes_CXX=yes
12669 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12670 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'
12671 # If the export-symbols file already is a .def file (1st line
12672 # is EXPORTS), use it as is; otherwise, prepend...
12673 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12674 cp $export_symbols $output_objdir/$soname.def;
12676 echo EXPORTS > $output_objdir/$soname.def;
12677 cat $export_symbols >> $output_objdir/$soname.def;
12679 $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'
12684 darwin* | rhapsody*)
12687 archive_cmds_need_lc_CXX=no
12688 hardcode_direct_CXX=no
12689 hardcode_automatic_CXX=yes
12690 hardcode_shlibpath_var_CXX=unsupported
12691 whole_archive_flag_spec_CXX=''
12692 link_all_deplibs_CXX=yes
12693 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12694 case $cc_basename in
12695 ifort*) _lt_dar_can_shared=yes ;;
12696 *) _lt_dar_can_shared=$GCC ;;
12698 if test "$_lt_dar_can_shared" = "yes"; then
12699 output_verbose_link_cmd=echo
12700 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}"
12701 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12702 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}"
12703 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}"
12704 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12705 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}"
12706 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}"
12716 case $cc_basename in
12718 # FIXME: insert proper C++ library support
12722 # Green Hills C++ Compiler
12723 # FIXME: insert proper C++ library support
12727 # FIXME: insert proper C++ library support
12734 # C++ shared libraries reported to be fairly broken before
12740 archive_cmds_need_lc_CXX=no
12743 freebsd* | dragonfly*)
12744 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12753 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12754 hardcode_libdir_separator_CXX=:
12755 export_dynamic_flag_spec_CXX='${wl}-E'
12756 hardcode_direct_CXX=yes
12757 hardcode_minus_L_CXX=yes # Not in the search PATH,
12758 # but as the default
12759 # location of the library.
12761 case $cc_basename in
12763 # FIXME: insert proper C++ library support
12767 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'
12768 # Commands to make compiler produce verbose output that lists
12769 # what "hidden" libraries, object files and flags are used when
12770 # linking a shared library.
12772 # There doesn't appear to be a way to prevent this compiler from
12773 # explicitly linking system object files so we need to strip them
12774 # from the output so that they don't get included in the library
12776 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; $ECHO "X$list" | $Xsed'
12779 if test "$GXX" = yes; then
12780 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
12782 # FIXME: insert proper C++ library support
12790 if test $with_gnu_ld = no; then
12791 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12792 hardcode_libdir_separator_CXX=:
12798 export_dynamic_flag_spec_CXX='${wl}-E'
12804 hardcode_direct_CXX=no
12805 hardcode_shlibpath_var_CXX=no
12808 hardcode_direct_CXX=yes
12809 hardcode_direct_absolute_CXX=yes
12810 hardcode_minus_L_CXX=yes # Not in the search PATH,
12811 # but as the default
12812 # location of the library.
12816 case $cc_basename in
12818 # FIXME: insert proper C++ library support
12824 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12827 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12833 # Commands to make compiler produce verbose output that lists
12834 # what "hidden" libraries, object files and flags are used when
12835 # linking a shared library.
12837 # There doesn't appear to be a way to prevent this compiler from
12838 # explicitly linking system object files so we need to strip them
12839 # from the output so that they don't get included in the library
12841 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; $ECHO "X$list" | $Xsed'
12844 if test "$GXX" = yes; then
12845 if test $with_gnu_ld = no; then
12848 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12851 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12854 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12859 # FIXME: insert proper C++ library support
12867 hardcode_direct_CXX=no
12868 hardcode_shlibpath_var_CXX=no
12869 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12870 export_dynamic_flag_spec_CXX='${wl}-E'
12871 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12872 # Instead, shared libraries are loaded at an image base (0x10000000 by
12873 # default) and relocated if they conflict, which is a slow very memory
12874 # consuming and fragmenting process. To avoid this, we pick a random,
12875 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12876 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12877 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'
12878 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'
12881 case $cc_basename in
12884 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12886 # Archives containing C++ object files must be created using
12887 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12888 # necessary to make sure instantiated templates are included
12890 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12893 if test "$GXX" = yes; then
12894 if test "$with_gnu_ld" = no; then
12895 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12897 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12900 link_all_deplibs_CXX=yes
12903 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12904 hardcode_libdir_separator_CXX=:
12905 inherit_rpath_CXX=yes
12908 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12909 case $cc_basename in
12911 # Kuck and Associates, Inc. (KAI) C++ Compiler
12913 # KCC will only create a shared library if the output file
12914 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12915 # to its proper name (with version) after linking.
12916 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'
12917 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'
12918 # Commands to make compiler produce verbose output that lists
12919 # what "hidden" libraries, object files and flags are used when
12920 # linking a shared library.
12922 # There doesn't appear to be a way to prevent this compiler from
12923 # explicitly linking system object files so we need to strip them
12924 # from the output so that they don't get included in the library
12926 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; $ECHO "X$list" | $Xsed'
12928 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12929 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12931 # Archives containing C++ object files must be created using
12932 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12933 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12938 # version 8.0 and above of icpc choke on multiply defined symbols
12939 # if we add $predep_objects and $postdep_objects, however 7.1 and
12940 # earlier do not add the objects themselves.
12941 case `$CC -V 2>&1` in
12943 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12944 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'
12946 *) # Version 8.0 or newer
12949 ia64*) tmp_idyn=' -i_dynamic';;
12951 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12952 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'
12955 archive_cmds_need_lc_CXX=no
12956 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12957 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12958 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12961 # Portland Group C++ compiler
12963 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12964 prelink_cmds_CXX='tpldir=Template.dir~
12966 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12967 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12968 old_archive_cmds_CXX='tpldir=Template.dir~
12970 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12971 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12973 archive_cmds_CXX='tpldir=Template.dir~
12975 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12976 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12977 archive_expsym_cmds_CXX='tpldir=Template.dir~
12979 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12980 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12982 *) # Version 6 will use weak symbols
12983 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12984 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'
12988 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12989 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12990 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12994 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12995 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'
12997 runpath_var=LD_RUN_PATH
12998 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12999 hardcode_libdir_separator_CXX=:
13001 # Commands to make compiler produce verbose output that lists
13002 # what "hidden" libraries, object files and flags are used when
13003 # linking a shared library.
13005 # There doesn't appear to be a way to prevent this compiler from
13006 # explicitly linking system object files so we need to strip them
13007 # from the output so that they don't get included in the library
13009 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13012 # IBM XL 8.0 on PPC, with GNU ld
13013 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13014 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13015 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13016 if test "x$supports_anon_versioning" = xyes; then
13017 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13018 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13019 echo "local: *; };" >> $output_objdir/$libname.ver~
13020 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13024 case `$CC -V 2>&1 | sed 5q` in
13027 no_undefined_flag_CXX=' -zdefs'
13028 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13029 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'
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13032 compiler_needs_object_CXX=yes
13034 # Not sure whether something based on
13035 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13037 output_verbose_link_cmd='echo'
13039 # Archives containing C++ object files must be created using
13040 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13041 # necessary to make sure instantiated templates are included
13043 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13051 # FIXME: insert proper C++ library support
13056 # FIXME: insert proper C++ library support
13061 case $cc_basename in
13063 # FIXME: insert proper C++ library support
13067 # FIXME: insert proper C++ library support
13074 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13075 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13077 hardcode_libdir_flag_spec_CXX='-R$libdir'
13078 hardcode_direct_CXX=yes
13079 hardcode_shlibpath_var_CXX=no
13081 # Workaround some broken pre-1.5 toolchains
13082 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13090 # C++ shared libraries are fairly broken
13095 if test -f /usr/libexec/ld.so; then
13096 hardcode_direct_CXX=yes
13097 hardcode_shlibpath_var_CXX=no
13098 hardcode_direct_absolute_CXX=yes
13099 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13100 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13101 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13102 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13103 export_dynamic_flag_spec_CXX='${wl}-E'
13104 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13106 output_verbose_link_cmd=echo
13112 osf3* | osf4* | osf5*)
13113 case $cc_basename in
13115 # Kuck and Associates, Inc. (KAI) C++ Compiler
13117 # KCC will only create a shared library if the output file
13118 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13119 # to its proper name (with version) after linking.
13120 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'
13122 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13123 hardcode_libdir_separator_CXX=:
13125 # Archives containing C++ object files must be created using
13126 # the KAI C++ compiler.
13128 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13129 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13133 # Rational C++ 2.4.1
13134 # FIXME: insert proper C++ library support
13140 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13141 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13142 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13145 allow_undefined_flag_CXX=' -expect_unresolved \*'
13146 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13147 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13148 echo "-hidden">> $lib.exp~
13149 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13151 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13155 hardcode_libdir_separator_CXX=:
13157 # Commands to make compiler produce verbose output that lists
13158 # what "hidden" libraries, object files and flags are used when
13159 # linking a shared library.
13161 # There doesn't appear to be a way to prevent this compiler from
13162 # explicitly linking system object files so we need to strip them
13163 # from the output so that they don't get included in the library
13165 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13172 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13175 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13179 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13180 hardcode_libdir_separator_CXX=:
13182 # Commands to make compiler produce verbose output that lists
13183 # what "hidden" libraries, object files and flags are used when
13184 # linking a shared library.
13185 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13188 # FIXME: insert proper C++ library support
13196 # FIXME: insert proper C++ library support
13201 case $cc_basename in
13204 # FIXME: insert proper C++ library support
13209 # FIXME: insert proper C++ library support
13213 # FIXME: insert proper C++ library support
13220 case $cc_basename in
13222 # Sun C++ 4.2, 5.x and Centerline C++
13223 archive_cmds_need_lc_CXX=yes
13224 no_undefined_flag_CXX=' -zdefs'
13225 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13226 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13227 $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'
13229 hardcode_libdir_flag_spec_CXX='-R$libdir'
13230 hardcode_shlibpath_var_CXX=no
13232 solaris2.[0-5] | solaris2.[0-5].*) ;;
13234 # The compiler driver will combine and reorder linker options,
13235 # but understands `-z linker_flag'.
13236 # Supported since Solaris 2.6 (maybe 2.5.1?)
13237 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13240 link_all_deplibs_CXX=yes
13242 output_verbose_link_cmd='echo'
13244 # Archives containing C++ object files must be created using
13245 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13246 # necessary to make sure instantiated templates are included
13248 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13251 # Green Hills C++ Compiler
13252 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13254 # The C++ compiler must be used to create the archive.
13255 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13258 # GNU C++ compiler with Solaris linker
13259 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13260 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13261 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13262 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13263 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13264 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13266 # Commands to make compiler produce verbose output that lists
13267 # what "hidden" libraries, object files and flags are used when
13268 # linking a shared library.
13269 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13271 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13273 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13274 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13275 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13277 # Commands to make compiler produce verbose output that lists
13278 # what "hidden" libraries, object files and flags are used when
13279 # linking a shared library.
13280 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13283 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13285 solaris2.[0-5] | solaris2.[0-5].*) ;;
13287 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13295 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13296 no_undefined_flag_CXX='${wl}-z,text'
13297 archive_cmds_need_lc_CXX=no
13298 hardcode_shlibpath_var_CXX=no
13299 runpath_var='LD_RUN_PATH'
13301 case $cc_basename in
13303 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13304 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13307 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13308 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13313 sysv5* | sco3.2v5* | sco5v6*)
13314 # Note: We can NOT use -z defs as we might desire, because we do not
13315 # link with -lc, and that would cause any symbols used from libc to
13316 # always be unresolved, which means just about no library would
13317 # ever link correctly. If we're not using GNU ld we use -z text
13318 # though, which does catch some bad symbols but isn't as heavy-handed
13320 no_undefined_flag_CXX='${wl}-z,text'
13321 allow_undefined_flag_CXX='${wl}-z,nodefs'
13322 archive_cmds_need_lc_CXX=no
13323 hardcode_shlibpath_var_CXX=no
13324 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13325 hardcode_libdir_separator_CXX=':'
13326 link_all_deplibs_CXX=yes
13327 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13328 runpath_var='LD_RUN_PATH'
13330 case $cc_basename in
13332 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13333 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13336 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13337 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13343 case $cc_basename in
13345 # NonStop-UX NCC 3.20
13346 # FIXME: insert proper C++ library support
13350 # FIXME: insert proper C++ library support
13357 # FIXME: insert proper C++ library support
13362 # FIXME: insert proper C++ library support
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13368 $as_echo "$ld_shlibs_CXX" >&6; }
13369 test "$ld_shlibs_CXX" = no && can_build_shared=no
13375 ## There is no encapsulation within the following macros, do not change
13376 ## the running order or otherwise move them around unless you know exactly
13377 ## what you are doing...
13378 # Dependencies to place before and after the object being linked:
13379 predep_objects_CXX=
13380 postdep_objects_CXX=
13383 compiler_lib_search_path_CXX=
13385 cat > conftest.$ac_ext <<_LT_EOF
13389 Foo (void) { a = 0; }
13395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13396 (eval $ac_compile) 2>&5
13398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13399 test $ac_status = 0; }; then
13400 # Parse the compiler output and extract the necessary
13401 # objects, libraries and library flags.
13403 # Sentinel used to keep track of whether or not we are before
13404 # the conftest object file.
13405 pre_test_object_deps_done=no
13407 for p in `eval "$output_verbose_link_cmd"`; do
13411 # Some compilers place space between "-{L,R}" and the path.
13412 # Remove the space.
13413 if test $p = "-L" ||
13414 test $p = "-R"; then
13421 if test "$pre_test_object_deps_done" = no; then
13424 # Internal compiler library paths should come after those
13425 # provided the user. The postdeps already come after the
13426 # user supplied libs so there is no need to process them.
13427 if test -z "$compiler_lib_search_path_CXX"; then
13428 compiler_lib_search_path_CXX="${prev}${p}"
13430 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13433 # The "-l" case would never come before the object being
13434 # linked, so don't bother handling this case.
13437 if test -z "$postdeps_CXX"; then
13438 postdeps_CXX="${prev}${p}"
13440 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13446 # This assumes that the test object file only shows up
13447 # once in the compiler output.
13448 if test "$p" = "conftest.$objext"; then
13449 pre_test_object_deps_done=yes
13453 if test "$pre_test_object_deps_done" = no; then
13454 if test -z "$predep_objects_CXX"; then
13455 predep_objects_CXX="$p"
13457 predep_objects_CXX="$predep_objects_CXX $p"
13460 if test -z "$postdep_objects_CXX"; then
13461 postdep_objects_CXX="$p"
13463 postdep_objects_CXX="$postdep_objects_CXX $p"
13468 *) ;; # Ignore the rest.
13476 echo "libtool.m4: error: problem compiling CXX test program"
13479 $RM -f confest.$objext
13481 # PORTME: override above test on systems where it is broken
13484 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13485 # hack all around it, let's just trust "g++" to DTRT.
13486 predep_objects_CXX=
13487 postdep_objects_CXX=
13492 case `$CC -V 2>&1 | sed 5q` in
13496 # The more standards-conforming stlport4 library is
13497 # incompatible with the Cstd library. Avoid specifying
13498 # it if it's in CXXFLAGS. Ignore libCrun as
13499 # -library=stlport4 depends on it.
13500 case " $CXX $CXXFLAGS " in
13501 *" -library=stlport4 "*)
13502 solaris_use_stlport4=yes
13506 if test "$solaris_use_stlport4" != yes; then
13507 postdeps_CXX='-library=Cstd -library=Crun'
13514 case $cc_basename in
13516 # The more standards-conforming stlport4 library is
13517 # incompatible with the Cstd library. Avoid specifying
13518 # it if it's in CXXFLAGS. Ignore libCrun as
13519 # -library=stlport4 depends on it.
13520 case " $CXX $CXXFLAGS " in
13521 *" -library=stlport4 "*)
13522 solaris_use_stlport4=yes
13526 # Adding this requires a known-good setup of shared libraries for
13527 # Sun compiler versions before 5.6, else PIC objects from an old
13528 # archive will be linked into the output, leading to subtle bugs.
13529 if test "$solaris_use_stlport4" != yes; then
13530 postdeps_CXX='-library=Cstd -library=Crun'
13538 case " $postdeps_CXX " in
13539 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13541 compiler_lib_search_dirs_CXX=
13542 if test -n "${compiler_lib_search_path_CXX}"; then
13543 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13576 lt_prog_compiler_wl_CXX=
13577 lt_prog_compiler_pic_CXX=
13578 lt_prog_compiler_static_CXX=
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13581 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13583 # C++ specific cases for pic, static, wl, etc.
13584 if test "$GXX" = yes; then
13585 lt_prog_compiler_wl_CXX='-Wl,'
13586 lt_prog_compiler_static_CXX='-static'
13590 # All AIX code is PIC.
13591 if test "$host_cpu" = ia64; then
13592 # AIX 5 now supports IA64 processor
13593 lt_prog_compiler_static_CXX='-Bstatic'
13600 # see comment about AmigaOS4 .so support
13601 lt_prog_compiler_pic_CXX='-fPIC'
13604 # FIXME: we need at least 68020 code to build shared libraries, but
13605 # adding the `-m68020' flag to GCC prevents building anything better,
13607 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13612 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13613 # PIC is the default for these OSes.
13615 mingw* | cygwin* | os2* | pw32* | cegcc*)
13616 # This hack is so that the source file can tell whether it is being
13617 # built for inclusion in a dll (and should export symbols for example).
13618 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13619 # (--disable-auto-import) libraries
13620 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13622 darwin* | rhapsody*)
13623 # PIC is the default on this platform
13624 # Common symbols not allowed in MH_DYLIB files
13625 lt_prog_compiler_pic_CXX='-fno-common'
13628 # DJGPP does not support shared libraries at all
13629 lt_prog_compiler_pic_CXX=
13632 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13633 # Instead, we relocate shared libraries at runtime.
13636 if test -d /usr/nec; then
13637 lt_prog_compiler_pic_CXX=-Kconform_pic
13641 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13642 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13643 # sets the default TLS model and affects inlining.
13648 lt_prog_compiler_pic_CXX='-fPIC'
13653 # QNX uses GNU C++, but need to define -shared option too, otherwise
13654 # it will coredump.
13655 lt_prog_compiler_pic_CXX='-fPIC -shared'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13664 # All AIX code is PIC.
13665 if test "$host_cpu" = ia64; then
13666 # AIX 5 now supports IA64 processor
13667 lt_prog_compiler_static_CXX='-Bstatic'
13669 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13673 case $cc_basename in
13675 # Green Hills C++ Compiler
13676 # _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"
13681 case $cc_basename in
13683 lt_prog_compiler_pic_CXX='-KPIC'
13686 # Green Hills C++ Compiler
13687 lt_prog_compiler_pic_CXX='-pic'
13693 freebsd* | dragonfly*)
13694 # FreeBSD uses GNU C++
13696 hpux9* | hpux10* | hpux11*)
13697 case $cc_basename in
13699 lt_prog_compiler_wl_CXX='-Wl,'
13700 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13701 if test "$host_cpu" != ia64; then
13702 lt_prog_compiler_pic_CXX='+Z'
13706 lt_prog_compiler_wl_CXX='-Wl,'
13707 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13713 lt_prog_compiler_pic_CXX='+Z'
13722 # This is c89, which is MS Visual C++ (no shared libs)
13723 # Anyone wants to do a port?
13725 irix5* | irix6* | nonstopux*)
13726 case $cc_basename in
13728 lt_prog_compiler_wl_CXX='-Wl,'
13729 lt_prog_compiler_static_CXX='-non_shared'
13730 # CC pic flag -KPIC is the default.
13736 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13737 case $cc_basename in
13740 lt_prog_compiler_wl_CXX='--backend -Wl,'
13741 lt_prog_compiler_pic_CXX='-fPIC'
13744 # old Intel C++ for x86_64 which still supported -KPIC.
13745 lt_prog_compiler_wl_CXX='-Wl,'
13746 lt_prog_compiler_pic_CXX='-KPIC'
13747 lt_prog_compiler_static_CXX='-static'
13750 # Intel C++, used to be incompatible with GCC.
13751 # ICC 10 doesn't accept -KPIC any more.
13752 lt_prog_compiler_wl_CXX='-Wl,'
13753 lt_prog_compiler_pic_CXX='-fPIC'
13754 lt_prog_compiler_static_CXX='-static'
13757 # Portland Group C++ compiler
13758 lt_prog_compiler_wl_CXX='-Wl,'
13759 lt_prog_compiler_pic_CXX='-fpic'
13760 lt_prog_compiler_static_CXX='-Bstatic'
13764 # Make sure the PIC flag is empty. It appears that all Alpha
13765 # Linux and Compaq Tru64 Unix objects are PIC.
13766 lt_prog_compiler_pic_CXX=
13767 lt_prog_compiler_static_CXX='-non_shared'
13770 # IBM XL 8.0 on PPC
13771 lt_prog_compiler_wl_CXX='-Wl,'
13772 lt_prog_compiler_pic_CXX='-qpic'
13773 lt_prog_compiler_static_CXX='-qstaticlink'
13776 case `$CC -V 2>&1 | sed 5q` in
13779 lt_prog_compiler_pic_CXX='-KPIC'
13780 lt_prog_compiler_static_CXX='-Bstatic'
13781 lt_prog_compiler_wl_CXX='-Qoption ld '
13792 case $cc_basename in
13794 lt_prog_compiler_pic_CXX='-W c,exportall'
13800 netbsd* | netbsdelf*-gnu)
13803 # QNX uses GNU C++, but need to define -shared option too, otherwise
13804 # it will coredump.
13805 lt_prog_compiler_pic_CXX='-fPIC -shared'
13807 osf3* | osf4* | osf5*)
13808 case $cc_basename in
13810 lt_prog_compiler_wl_CXX='--backend -Wl,'
13813 # Rational C++ 2.4.1
13814 lt_prog_compiler_pic_CXX='-pic'
13817 # Digital/Compaq C++
13818 lt_prog_compiler_wl_CXX='-Wl,'
13819 # Make sure the PIC flag is empty. It appears that all Alpha
13820 # Linux and Compaq Tru64 Unix objects are PIC.
13821 lt_prog_compiler_pic_CXX=
13822 lt_prog_compiler_static_CXX='-non_shared'
13831 case $cc_basename in
13833 # Sun C++ 4.2, 5.x and Centerline C++
13834 lt_prog_compiler_pic_CXX='-KPIC'
13835 lt_prog_compiler_static_CXX='-Bstatic'
13836 lt_prog_compiler_wl_CXX='-Qoption ld '
13839 # Green Hills C++ Compiler
13840 lt_prog_compiler_pic_CXX='-PIC'
13847 case $cc_basename in
13850 lt_prog_compiler_pic_CXX='-pic'
13851 lt_prog_compiler_static_CXX='-Bstatic'
13855 lt_prog_compiler_pic_CXX='-pic'
13861 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13862 case $cc_basename in
13864 lt_prog_compiler_wl_CXX='-Wl,'
13865 lt_prog_compiler_pic_CXX='-KPIC'
13866 lt_prog_compiler_static_CXX='-Bstatic'
13871 case $cc_basename in
13873 # NonStop-UX NCC 3.20
13874 lt_prog_compiler_pic_CXX='-KPIC'
13883 lt_prog_compiler_can_build_shared_CXX=no
13889 # For platforms which do not support PIC, -DPIC is meaningless:
13891 lt_prog_compiler_pic_CXX=
13894 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13898 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13903 # Check to make sure the PIC flag actually works.
13905 if test -n "$lt_prog_compiler_pic_CXX"; then
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13907 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13908 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13909 $as_echo_n "(cached) " >&6
13911 lt_cv_prog_compiler_pic_works_CXX=no
13912 ac_outfile=conftest.$ac_objext
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13914 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13915 # Insert the option either (1) after the last *FLAGS variable, or
13916 # (2) before a word containing "conftest.", or (3) at the end.
13917 # Note that $ac_compile itself does not contain backslashes and begins
13918 # with a dollar sign (not a hyphen), so the echo should work correctly.
13919 # The option is referenced via a variable to avoid confusing sed.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:13924: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>conftest.err)
13927 cat conftest.err >&5
13928 echo "$as_me:13928: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s "$ac_outfile"; then
13930 # The compiler can only warn and ignore the option if not recognized
13931 # So say no if there are warnings other than the usual output.
13932 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13933 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13934 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13935 lt_cv_prog_compiler_pic_works_CXX=yes
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13942 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13944 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13945 case $lt_prog_compiler_pic_CXX in
13947 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13950 lt_prog_compiler_pic_CXX=
13951 lt_prog_compiler_can_build_shared_CXX=no
13959 # Check to make sure the static flag actually works.
13961 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13963 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13964 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13965 $as_echo_n "(cached) " >&6
13967 lt_cv_prog_compiler_static_works_CXX=no
13968 save_LDFLAGS="$LDFLAGS"
13969 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13970 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13971 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13972 # The linker can only warn and ignore the option if not recognized
13973 # So say no if there are warnings
13974 if test -s conftest.err; then
13975 # Append any errors to the config.log.
13976 cat conftest.err 1>&5
13977 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13979 if diff conftest.exp conftest.er2 >/dev/null; then
13980 lt_cv_prog_compiler_static_works_CXX=yes
13983 lt_cv_prog_compiler_static_works_CXX=yes
13987 LDFLAGS="$save_LDFLAGS"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13991 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13993 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13996 lt_prog_compiler_static_CXX=
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14003 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14004 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14005 $as_echo_n "(cached) " >&6
14007 lt_cv_prog_compiler_c_o_CXX=no
14008 $RM -r conftest 2>/dev/null
14012 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14014 lt_compiler_flag="-o out/conftest2.$ac_objext"
14015 # Insert the option either (1) after the last *FLAGS variable, or
14016 # (2) before a word containing "conftest.", or (3) at the end.
14017 # Note that $ac_compile itself does not contain backslashes and begins
14018 # with a dollar sign (not a hyphen), so the echo should work correctly.
14019 lt_compile=`echo "$ac_compile" | $SED \
14020 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14022 -e 's:$: $lt_compiler_flag:'`
14023 (eval echo "\"\$as_me:14023: $lt_compile\"" >&5)
14024 (eval "$lt_compile" 2>out/conftest.err)
14026 cat out/conftest.err >&5
14027 echo "$as_me:14027: \$? = $ac_status" >&5
14028 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14030 # The compiler can only warn and ignore the option if not recognized
14031 # So say no if there are warnings
14032 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14033 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14034 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14035 lt_cv_prog_compiler_c_o_CXX=yes
14040 # SGI C++ compiler will create directory out/ii_files/ for
14041 # template instantiation
14042 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14043 $RM out/* && rmdir out
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14050 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14055 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14056 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14057 $as_echo_n "(cached) " >&6
14059 lt_cv_prog_compiler_c_o_CXX=no
14060 $RM -r conftest 2>/dev/null
14064 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14066 lt_compiler_flag="-o out/conftest2.$ac_objext"
14067 # Insert the option either (1) after the last *FLAGS variable, or
14068 # (2) before a word containing "conftest.", or (3) at the end.
14069 # Note that $ac_compile itself does not contain backslashes and begins
14070 # with a dollar sign (not a hyphen), so the echo should work correctly.
14071 lt_compile=`echo "$ac_compile" | $SED \
14072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14074 -e 's:$: $lt_compiler_flag:'`
14075 (eval echo "\"\$as_me:14075: $lt_compile\"" >&5)
14076 (eval "$lt_compile" 2>out/conftest.err)
14078 cat out/conftest.err >&5
14079 echo "$as_me:14079: \$? = $ac_status" >&5
14080 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14082 # The compiler can only warn and ignore the option if not recognized
14083 # So say no if there are warnings
14084 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14085 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14086 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14087 lt_cv_prog_compiler_c_o_CXX=yes
14092 # SGI C++ compiler will create directory out/ii_files/ for
14093 # template instantiation
14094 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14095 $RM out/* && rmdir out
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14102 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14107 hard_links="nottested"
14108 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14109 # do not overwrite the value of need_locks provided by the user
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14111 $as_echo_n "checking if we can lock with hard links... " >&6; }
14114 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14116 ln conftest.a conftest.b 2>&5 || hard_links=no
14117 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14119 $as_echo "$hard_links" >&6; }
14120 if test "$hard_links" = no; then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14122 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14132 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14134 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14137 # If we're using GNU nm, then we don't want the "-C" option.
14138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14139 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14140 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14142 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'
14146 export_symbols_cmds_CXX="$ltdll_cmds"
14148 cygwin* | mingw* | cegcc*)
14149 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14151 linux* | k*bsd*-gnu)
14152 link_all_deplibs_CXX=no
14155 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14158 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14161 $as_echo "$ld_shlibs_CXX" >&6; }
14162 test "$ld_shlibs_CXX" = no && can_build_shared=no
14164 with_gnu_ld_CXX=$with_gnu_ld
14172 # Do we need to explicitly link libc?
14174 case "x$archive_cmds_need_lc_CXX" in
14176 # Assume -lc should be added
14177 archive_cmds_need_lc_CXX=yes
14179 if test "$enable_shared" = yes && test "$GCC" = yes; then
14180 case $archive_cmds_CXX in
14182 # FIXME: we may have to deal with multi-command sequences.
14185 # Test whether the compiler implicitly links with -lc since on some
14186 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14187 # to ld, don't add -lc before -lgcc.
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14189 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14191 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14194 (eval $ac_compile) 2>&5
14196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14197 test $ac_status = 0; } 2>conftest.err; then
14200 libobjs=conftest.$ac_objext
14202 wl=$lt_prog_compiler_wl_CXX
14203 pic_flag=$lt_prog_compiler_pic_CXX
14209 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14210 allow_undefined_flag_CXX=
14211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14212 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14215 test $ac_status = 0; }
14217 archive_cmds_need_lc_CXX=no
14219 archive_cmds_need_lc_CXX=yes
14221 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14223 cat conftest.err 1>&5
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14227 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14298 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14300 library_names_spec=
14301 libname_spec='lib$name'
14305 postuninstall_cmds=
14309 shlibpath_overrides_runpath=unknown
14311 dynamic_linker="$host_os ld.so"
14312 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14313 need_lib_prefix=unknown
14314 hardcode_into_libs=no
14316 # when you set need_version to no, make sure it does not cause -set_version
14317 # flags to be left without arguments
14318 need_version=unknown
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14324 shlibpath_var=LIBPATH
14326 # AIX 3 has no versioning support, so we append a major version to the name.
14327 soname_spec='${libname}${release}${shared_ext}$major'
14334 hardcode_into_libs=yes
14335 if test "$host_cpu" = ia64; then
14336 # AIX 5 supports IA64
14337 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14338 shlibpath_var=LD_LIBRARY_PATH
14340 # With GCC up to 2.95.x, collect2 would create an import file
14341 # for dependence libraries. The import file would start with
14342 # the line `#! .'. This would cause the generated library to
14343 # depend on `.', always an invalid library. This was fixed in
14344 # development snapshots of GCC prior to 3.0.
14346 aix4 | aix4.[01] | aix4.[01].*)
14347 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14349 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14352 can_build_shared=no
14356 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14357 # soname into executable. Probably we can add versioning support to
14358 # collect2, so additional links can be useful in future.
14359 if test "$aix_use_runtimelinking" = yes; then
14360 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14361 # instead of lib<name>.a to let people know that these are not
14362 # typical AIX shared libraries.
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14365 # We preserve .a as extension for shared libraries through AIX4.2
14366 # and later when we are not doing run time linking.
14367 library_names_spec='${libname}${release}.a $libname.a'
14368 soname_spec='${libname}${release}${shared_ext}$major'
14370 shlibpath_var=LIBPATH
14377 # Since July 2007 AmigaOS4 officially supports .so libraries.
14378 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 library_names_spec='$libname.ixlibrary $libname.a'
14383 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14384 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14390 library_names_spec='${libname}${shared_ext}'
14391 dynamic_linker="$host_os ld.so"
14392 shlibpath_var=LIBRARY_PATH
14398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399 soname_spec='${libname}${release}${shared_ext}$major'
14400 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14401 shlibpath_var=LD_LIBRARY_PATH
14402 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14403 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14404 # the default ld.so.conf also contains /usr/contrib/lib and
14405 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14406 # libtool to hard-code these into programs
14409 cygwin* | mingw* | pw32* | cegcc*)
14410 version_type=windows
14415 case $GCC,$host_os in
14416 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14417 library_names_spec='$libname.dll.a'
14418 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14419 postinstall_cmds='base_file=`basename \${file}`~
14420 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14421 dldir=$destdir/`dirname \$dlpath`~
14422 test -d \$dldir || mkdir -p \$dldir~
14423 $install_prog $dir/$dlname \$dldir/$dlname~
14424 chmod a+x \$dldir/$dlname~
14425 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14426 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14428 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14429 dlpath=$dir/\$dldll~
14431 shlibpath_overrides_runpath=yes
14435 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14436 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14437 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14440 # MinGW DLLs use traditional 'lib' prefix
14441 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14442 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14443 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14444 # It is most probably a Windows format PATH printed by
14445 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14446 # path with ; separators, and with drive letters. We can handle the
14447 # drive letters (cygwin fileutils understands them), so leave them,
14448 # especially as we might pass files found there to a mingw objdump,
14449 # which wouldn't understand a cygwinified path. Ahh.
14450 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14456 # pw32 DLLs use 'pw' prefix rather than 'lib'
14457 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14463 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14466 dynamic_linker='Win32 ld.exe'
14467 # FIXME: first we should search . and the directory the executable is in
14471 darwin* | rhapsody*)
14472 dynamic_linker="$host_os dyld"
14473 version_type=darwin
14476 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14477 soname_spec='${libname}${release}${major}$shared_ext'
14478 shlibpath_overrides_runpath=yes
14479 shlibpath_var=DYLD_LIBRARY_PATH
14480 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14482 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14490 soname_spec='${libname}${release}${shared_ext}$major'
14491 shlibpath_var=LD_LIBRARY_PATH
14498 freebsd* | dragonfly*)
14499 # DragonFly does not have aout. When/if they implement a new
14500 # versioning mechanism, adjust this.
14501 if test -x /usr/bin/objformat; then
14502 objformat=`/usr/bin/objformat`
14505 freebsd[123]*) objformat=aout ;;
14506 *) objformat=elf ;;
14509 version_type=freebsd-$objformat
14510 case $version_type in
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14517 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14521 shlibpath_var=LD_LIBRARY_PATH
14524 shlibpath_overrides_runpath=yes
14526 freebsd3.[01]* | freebsdelf3.[01]*)
14527 shlibpath_overrides_runpath=yes
14528 hardcode_into_libs=yes
14530 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14531 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14532 shlibpath_overrides_runpath=no
14533 hardcode_into_libs=yes
14535 *) # from 4.6 on, and DragonFly
14536 shlibpath_overrides_runpath=yes
14537 hardcode_into_libs=yes
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14547 soname_spec='${libname}${release}${shared_ext}$major'
14548 shlibpath_var=LD_LIBRARY_PATH
14549 hardcode_into_libs=yes
14552 hpux9* | hpux10* | hpux11*)
14553 # Give a soname corresponding to the major version so that dld.sl refuses to
14554 # link against other versions.
14561 hardcode_into_libs=yes
14562 dynamic_linker="$host_os dld.so"
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14566 soname_spec='${libname}${release}${shared_ext}$major'
14567 if test "X$HPUX_IA64_MODE" = X32; then
14568 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14570 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14572 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14576 hardcode_into_libs=yes
14577 dynamic_linker="$host_os dld.sl"
14578 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14579 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14583 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14587 dynamic_linker="$host_os dld.sl"
14588 shlibpath_var=SHLIB_PATH
14589 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14591 soname_spec='${libname}${release}${shared_ext}$major'
14594 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14595 postinstall_cmds='chmod 555 $lib'
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14605 shlibpath_var=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath=no
14607 hardcode_into_libs=yes
14610 irix5* | irix6* | nonstopux*)
14612 nonstopux*) version_type=nonstopux ;;
14614 if test "$lt_cv_prog_gnu_ld" = yes; then
14622 soname_spec='${libname}${release}${shared_ext}$major'
14623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14625 irix5* | nonstopux*)
14626 libsuff= shlibsuff=
14629 case $LD in # libtool.m4 will add one of these switches to LD
14630 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14631 libsuff= shlibsuff= libmagic=32-bit;;
14632 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14633 libsuff=32 shlibsuff=N32 libmagic=N32;;
14634 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14635 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14636 *) libsuff= shlibsuff= libmagic=never-match;;
14640 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14641 shlibpath_overrides_runpath=no
14642 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14643 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14644 hardcode_into_libs=yes
14647 # No shared lib support for Linux oldld, aout, or coff.
14648 linux*oldld* | linux*aout* | linux*coff*)
14652 # This must be Linux ELF.
14653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath=no
14662 # Some binutils ld are patched to set DT_RUNPATH
14663 save_LDFLAGS=$LDFLAGS
14664 save_libdir=$libdir
14665 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14666 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14678 if ac_fn_cxx_try_link "$LINENO"; then :
14679 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14680 shlibpath_overrides_runpath=yes
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LDFLAGS=$save_LDFLAGS
14686 libdir=$save_libdir
14688 # This implies no fast_install, which is unacceptable.
14689 # Some rework will be needed to allow for fast_install
14690 # before this can be enabled.
14691 hardcode_into_libs=yes
14693 # Append ld.so.conf contents to the search path
14694 if test -f /etc/ld.so.conf; then
14695 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;/^$/d' | tr '\n' ' '`
14696 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14699 # We used to test for /lib/ld.so.1 and disable shared libraries on
14700 # powerpc, because MkLinux only supported shared libraries with the
14701 # GNU dynamic linker. Since this was broken with cross compilers,
14702 # most powerpc-linux boxes support dynamic linking these days and
14703 # people can always --disable-shared, the test was removed, and we
14704 # assume the GNU/Linux dynamic linker is in use.
14705 dynamic_linker='GNU/Linux ld.so'
14712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14713 soname_spec='${libname}${release}${shared_ext}$major'
14714 shlibpath_var=LD_LIBRARY_PATH
14715 shlibpath_overrides_runpath=no
14716 hardcode_into_libs=yes
14717 dynamic_linker='NetBSD ld.elf_so'
14724 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14726 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14727 dynamic_linker='NetBSD (a.out) ld.so'
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 dynamic_linker='NetBSD ld.elf_so'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=yes
14735 hardcode_into_libs=yes
14740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 shlibpath_overrides_runpath=yes
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750 soname_spec='${libname}${release}${shared_ext}$major'
14751 shlibpath_var=LD_LIBRARY_PATH
14752 shlibpath_overrides_runpath=no
14753 hardcode_into_libs=yes
14754 dynamic_linker='ldqnx.so'
14759 sys_lib_dlsearch_path_spec="/usr/lib"
14761 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14763 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14764 *) need_version=no ;;
14766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14767 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14768 shlibpath_var=LD_LIBRARY_PATH
14769 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14771 openbsd2.[89] | openbsd2.[89].*)
14772 shlibpath_overrides_runpath=no
14775 shlibpath_overrides_runpath=yes
14779 shlibpath_overrides_runpath=yes
14784 libname_spec='$name'
14787 library_names_spec='$libname${shared_ext} $libname.a'
14788 dynamic_linker='OS/2 ld.exe'
14789 shlibpath_var=LIBPATH
14792 osf3* | osf4* | osf5*)
14796 soname_spec='${libname}${release}${shared_ext}$major'
14797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14798 shlibpath_var=LD_LIBRARY_PATH
14799 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14800 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14812 soname_spec='${libname}${release}${shared_ext}$major'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=yes
14815 hardcode_into_libs=yes
14816 # ldd complains unless libraries are executable
14817 postinstall_cmds='chmod +x $lib'
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14823 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14824 shlibpath_var=LD_LIBRARY_PATH
14825 shlibpath_overrides_runpath=yes
14826 if test "$with_gnu_ld" = yes; then
14834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 soname_spec='${libname}${release}${shared_ext}$major'
14836 shlibpath_var=LD_LIBRARY_PATH
14837 case $host_vendor in
14839 shlibpath_overrides_runpath=no
14841 runpath_var=LD_RUN_PATH
14849 shlibpath_overrides_runpath=no
14850 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14856 if test -d /usr/nec ;then
14858 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14859 soname_spec='$libname${shared_ext}.$major'
14860 shlibpath_var=LD_LIBRARY_PATH
14864 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14865 version_type=freebsd-elf
14868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14869 soname_spec='${libname}${release}${shared_ext}$major'
14870 shlibpath_var=LD_LIBRARY_PATH
14871 shlibpath_overrides_runpath=yes
14872 hardcode_into_libs=yes
14873 if test "$with_gnu_ld" = yes; then
14874 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14876 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14879 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14883 sys_lib_dlsearch_path_spec='/usr/lib'
14887 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14892 shlibpath_var=LD_LIBRARY_PATH
14893 shlibpath_overrides_runpath=no
14894 hardcode_into_libs=yes
14899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14900 soname_spec='${libname}${release}${shared_ext}$major'
14901 shlibpath_var=LD_LIBRARY_PATH
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14909 $as_echo "$dynamic_linker" >&6; }
14910 test "$dynamic_linker" = no && can_build_shared=no
14912 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14913 if test "$GCC" = yes; then
14914 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14917 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14918 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14920 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14921 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14960 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14961 hardcode_action_CXX=
14962 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14963 test -n "$runpath_var_CXX" ||
14964 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14966 # We can hardcode non-existent directories.
14967 if test "$hardcode_direct_CXX" != no &&
14968 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14969 # have to relink, otherwise we might link with an installed library
14970 # when we should be linking with a yet-to-be-installed one
14971 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14972 test "$hardcode_minus_L_CXX" != no; then
14973 # Linking always hardcodes the temporary library directory.
14974 hardcode_action_CXX=relink
14976 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14977 hardcode_action_CXX=immediate
14980 # We cannot hardcode anything, or else we can only hardcode existing
14982 hardcode_action_CXX=unsupported
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14985 $as_echo "$hardcode_action_CXX" >&6; }
14987 if test "$hardcode_action_CXX" = relink ||
14988 test "$inherit_rpath_CXX" = yes; then
14989 # Fast installation is not supported
14990 enable_fast_install=no
14991 elif test "$shlibpath_overrides_runpath" = yes ||
14992 test "$enable_shared" = no; then
14993 # Fast installation is not necessary
14994 enable_fast_install=needless
15003 fi # test -n "$compiler"
15009 with_gnu_ld=$lt_save_with_gnu_ld
15010 lt_cv_path_LDCXX=$lt_cv_path_LD
15011 lt_cv_path_LD=$lt_save_path_LD
15012 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15013 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15014 fi # test "$_lt_caught_CXX_error" != yes
15017 ac_cpp='$CPP $CPPFLAGS'
15018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15023 ac_config_headers="$ac_config_headers config.h"
15026 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
15027 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
15034 if test "$MINIX" = yes; then
15036 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
15039 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
15042 $as_echo "#define _MINIX 1" >>confdefs.h
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
15048 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
15049 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
15050 $as_echo_n "(cached) " >&6
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15055 # define __EXTENSIONS__ 1
15056 $ac_includes_default
15065 if ac_fn_c_try_compile "$LINENO"; then :
15066 ac_cv_safe_to_define___extensions__=yes
15068 ac_cv_safe_to_define___extensions__=no
15070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
15073 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
15074 test $ac_cv_safe_to_define___extensions__ = yes &&
15075 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
15077 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
15079 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
15081 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
15083 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
15090 # Check whether --enable-reauth was given.
15091 if test "${enable_reauth+set}" = set; then :
15092 enableval=$enable_reauth; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
15095 echo "--enable-reauth argument must be yes or no"
15102 if test "x$reauth" = "xyes" ; then
15103 echo "Fast reauthentication protocol enabled"
15104 TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_REAUTH"
15106 if test "x$reauth" != "xno"; then
15107 GSSEAP_ENABLE_REAUTH_TRUE=
15108 GSSEAP_ENABLE_REAUTH_FALSE='#'
15110 GSSEAP_ENABLE_REAUTH_TRUE='#'
15111 GSSEAP_ENABLE_REAUTH_FALSE=
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS-API and Kerberos implementation" >&5
15118 $as_echo_n "checking for GSS-API and Kerberos implementation... " >&6; }
15122 # Check whether --with-krb5 was given.
15123 if test "${with_krb5+set}" = set; then :
15124 withval=$with_krb5; check_krb5_dir="$withval"
15129 for dir in $check_krb5_dir $prefix /usr /usr/local ; do
15131 if test -x "$dir/bin/krb5-config"; then
15133 KRB5_CFLAGS=`$dir/bin/krb5-config gssapi --cflags`;
15134 KRB5_LIBS=`$dir/bin/krb5-config gssapi --libs`;
15135 COMPILE_ET="$dir/bin/compile_et";
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_krb5" >&5
15140 $as_echo "$found_krb5" >&6; }
15141 if test x_$found_krb5 != x_yes; then
15143 ----------------------------------------------------------------------
15144 Cannot find GSS-API/Kerberos libraries.
15146 Please install MIT or Heimdal or specify installation directory with
15148 ----------------------------------------------------------------------
15151 printf "Kerberos found in $krb5dir\n";
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS_C_NT_COMPOSITE_EXPORT in -lgssapi_krb5" >&5
15156 $as_echo_n "checking for GSS_C_NT_COMPOSITE_EXPORT in -lgssapi_krb5... " >&6; }
15157 if test "${ac_cv_lib_gssapi_krb5_GSS_C_NT_COMPOSITE_EXPORT+set}" = set; then :
15158 $as_echo_n "(cached) " >&6
15160 ac_check_lib_save_LIBS=$LIBS
15161 LIBS="-lgssapi_krb5 "$KRB5_LIBS" $LIBS"
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15165 /* Override any GCC internal prototype to avoid an error.
15166 Use char because int might match the return type of a GCC
15167 builtin and then its argument prototype would still apply. */
15171 char GSS_C_NT_COMPOSITE_EXPORT ();
15175 return GSS_C_NT_COMPOSITE_EXPORT ();
15180 if ac_fn_c_try_link "$LINENO"; then :
15181 ac_cv_lib_gssapi_krb5_GSS_C_NT_COMPOSITE_EXPORT=yes
15183 ac_cv_lib_gssapi_krb5_GSS_C_NT_COMPOSITE_EXPORT=no
15185 rm -f core conftest.err conftest.$ac_objext \
15186 conftest$ac_exeext conftest.$ac_ext
15187 LIBS=$ac_check_lib_save_LIBS
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&5
15190 $as_echo "$ac_cv_lib_gssapi_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&6; }
15191 if test "x$ac_cv_lib_gssapi_krb5_GSS_C_NT_COMPOSITE_EXPORT" = x""yes; then :
15193 cat >>confdefs.h <<_ACEOF
15194 #define HAVE_GSS_C_NT_COMPOSITE_EXPORT 1
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_inquire_attrs_for_mech in -lgssapi_krb5" >&5
15200 $as_echo_n "checking for gss_inquire_attrs_for_mech in -lgssapi_krb5... " >&6; }
15201 if test "${ac_cv_lib_gssapi_krb5_gss_inquire_attrs_for_mech+set}" = set; then :
15202 $as_echo_n "(cached) " >&6
15204 ac_check_lib_save_LIBS=$LIBS
15205 LIBS="-lgssapi_krb5 "$KRB5_LIBS" $LIBS"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15215 char gss_inquire_attrs_for_mech ();
15219 return gss_inquire_attrs_for_mech ();
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_lib_gssapi_krb5_gss_inquire_attrs_for_mech=yes
15227 ac_cv_lib_gssapi_krb5_gss_inquire_attrs_for_mech=no
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LIBS=$ac_check_lib_save_LIBS
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_inquire_attrs_for_mech" >&5
15234 $as_echo "$ac_cv_lib_gssapi_krb5_gss_inquire_attrs_for_mech" >&6; }
15235 if test "x$ac_cv_lib_gssapi_krb5_gss_inquire_attrs_for_mech" = x""yes; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define HAVE_GSS_INQUIRE_ATTRS_FOR_MECH 1
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_krb5_import_cred in -lgssapi_krb5" >&5
15244 $as_echo_n "checking for gss_krb5_import_cred in -lgssapi_krb5... " >&6; }
15245 if test "${ac_cv_lib_gssapi_krb5_gss_krb5_import_cred+set}" = set; then :
15246 $as_echo_n "(cached) " >&6
15248 ac_check_lib_save_LIBS=$LIBS
15249 LIBS="-lgssapi_krb5 "$KRB5_LIBS" $LIBS"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15259 char gss_krb5_import_cred ();
15263 return gss_krb5_import_cred ();
15268 if ac_fn_c_try_link "$LINENO"; then :
15269 ac_cv_lib_gssapi_krb5_gss_krb5_import_cred=yes
15271 ac_cv_lib_gssapi_krb5_gss_krb5_import_cred=no
15273 rm -f core conftest.err conftest.$ac_objext \
15274 conftest$ac_exeext conftest.$ac_ext
15275 LIBS=$ac_check_lib_save_LIBS
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_krb5_import_cred" >&5
15278 $as_echo "$ac_cv_lib_gssapi_krb5_gss_krb5_import_cred" >&6; }
15279 if test "x$ac_cv_lib_gssapi_krb5_gss_krb5_import_cred" = x""yes; then :
15281 cat >>confdefs.h <<_ACEOF
15282 #define HAVE_GSS_KRB5_IMPORT_CRED 1
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for heimdal_version in -lkrb5" >&5
15288 $as_echo_n "checking for heimdal_version in -lkrb5... " >&6; }
15289 if test "${ac_cv_lib_krb5_heimdal_version+set}" = set; then :
15290 $as_echo_n "(cached) " >&6
15292 ac_check_lib_save_LIBS=$LIBS
15293 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15303 char heimdal_version ();
15307 return heimdal_version ();
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 ac_cv_lib_krb5_heimdal_version=yes
15315 ac_cv_lib_krb5_heimdal_version=no
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15319 LIBS=$ac_check_lib_save_LIBS
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_heimdal_version" >&5
15322 $as_echo "$ac_cv_lib_krb5_heimdal_version" >&6; }
15323 if test "x$ac_cv_lib_krb5_heimdal_version" = x""yes; then :
15325 cat >>confdefs.h <<_ACEOF
15326 #define HAVE_HEIMDAL_VERSION 1
15333 if test "x$heimdal" != "xno"; then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth implementation" >&5
15344 $as_echo_n "checking for Shibboleth implementation... " >&6; }
15348 # Check whether --with-shibsp was given.
15349 if test "${with_shibsp+set}" = set; then :
15350 withval=$with_shibsp; check_shibsp_dir="$withval"
15355 for dir in $check_shibsp_dir $prefix /usr /usr/local ; do
15357 if test -f "$dir/include/shibsp/SPConfig.h"; then
15358 found_shibsp="yes";
15359 SHIBSP_DIR="${shibspdir}"
15360 SHIBSP_CXXFLAGS="-I$shibspdir/include";
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibsp" >&5
15365 $as_echo "$found_shibsp" >&6; }
15366 if test x_$found_shibsp != x_yes; then
15368 ----------------------------------------------------------------------
15369 Cannot find Shibboleth/OpenSAML libraries.
15371 Please install Shibboleth or specify installation directory with
15372 --with-shibsp=(dir).
15373 ----------------------------------------------------------------------
15376 printf "Shibboleth found in $shibspdir\n";
15377 SHIBSP_LIBS="-lshibsp -lsaml -lxml-security-c -lxmltooling -lxerces-c";
15378 SHIBSP_LDFLAGS="-L$shibspdir/lib";
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth resolver implementation" >&5
15385 $as_echo_n "checking for Shibboleth resolver implementation... " >&6; }
15387 found_shibresolver="no"
15389 # Check whether --with-shibresolver was given.
15390 if test "${with_shibresolver+set}" = set; then :
15391 withval=$with_shibresolver; check_shibresolver_dir="$withval"
15393 check_shibresolver_dir=
15396 for dir in $check_shibresolver_dir $prefix /usr /usr/local ; do
15397 shibresolverdir="$dir"
15398 if test -f "$dir/include/shibresolver/resolver.h"; then
15399 found_shibresolver="yes";
15400 SHIBRESOLVER_DIR="${shibresolverdir}"
15401 SHIBRESOLVER_CXXFLAGS="-I$shibresolverdir/include";
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibresolver" >&5
15406 $as_echo "$found_shibresolver" >&6; }
15407 if test x_$found_shibresolver != x_yes; then
15409 ----------------------------------------------------------------------
15410 Cannot find Shibboleth resolver libraries.
15412 Please install Shibboleth or specify installation directory with
15413 --with-shibresolver=(dir).
15414 ----------------------------------------------------------------------
15417 printf "Shibboleth resolver found in $shibresolverdir\n";
15418 SHIBRESOLVER_LIBS="-lshibresolver";
15419 SHIBRESOLVER_LDFLAGS="-L$shibresolverdir/lib";
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radsec" >&5
15426 $as_echo_n "checking for radsec... " >&6; }
15430 # Check whether --with-radsec was given.
15431 if test "${with_radsec+set}" = set; then :
15432 withval=$with_radsec; check_radsec_dir="$withval"
15437 for dir in $check_radsec_dir $prefix /usr /usr/local ; do
15439 if test -f "$dir/include/radsec/radsec.h"; then
15440 found_radsec="yes";
15441 RADSEC_DIR="${radsecdir}"
15442 RADSEC_CFLAGS="-I$radsecdir/include";
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_radsec" >&5
15447 $as_echo "$found_radsec" >&6; }
15448 if test x_$found_radsec != x_yes; then
15450 ----------------------------------------------------------------------
15451 Cannot find radsec libraries.
15453 Please install libradsec or specify installation directory with
15454 --with-radsec=(dir).
15455 ----------------------------------------------------------------------
15458 printf "radsec found in $radsecdir\n";
15459 RADSEC_LIBS="-lradsec";
15460 RADSEC_LDFLAGS="-L$radsecdir/lib";
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
15467 $as_echo_n "checking for jansson... " >&6; }
15471 # Check whether --with-jansson was given.
15472 if test "${with_jansson+set}" = set; then :
15473 withval=$with_jansson; check_jansson_dir="$withval"
15478 for dir in $check_jansson_dir $prefix /usr /usr/local ; do
15480 if test -f "$dir/include/jansson.h"; then
15481 found_jansson="yes";
15482 JANSSON_DIR="${janssondir}"
15483 JANSSON_CFLAGS="-I$janssondir/include";
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_jansson" >&5
15488 $as_echo "$found_jansson" >&6; }
15489 if test x_$found_jansson != x_yes; then
15491 ----------------------------------------------------------------------
15492 Cannot find jansson libraries.
15494 Please install libjansson or specify installation directory with
15495 --with-jansson=(dir).
15496 ----------------------------------------------------------------------
15499 printf "jansson found in $janssondir\n";
15500 JANSSON_LIBS="-ljansson";
15501 JANSSON_LDFLAGS="-L$janssondir/lib";
15507 ac_config_files="$ac_config_files Makefile libeap/Makefile mech_eap/Makefile"
15509 cat >confcache <<\_ACEOF
15510 # This file is a shell script that caches the results of configure
15511 # tests run on this system so they can be shared between configure
15512 # scripts and configure runs, see configure's option --config-cache.
15513 # It is not useful on other systems. If it contains results you don't
15514 # want to keep, you may remove or edit it.
15516 # config.status only pays attention to the cache file if you give it
15517 # the --recheck option to rerun configure.
15519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15521 # following values.
15525 # The following way of writing the cache mishandles newlines in values,
15526 # but we know of no workaround that is simple, portable, and efficient.
15527 # So, we kill variables containing newlines.
15528 # Ultrix sh set writes to stderr and can't be redirected directly,
15529 # and sets the high bit in the cache file unless we assign to the vars.
15531 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15532 eval ac_val=\$$ac_var
15536 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15537 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15540 _ | IFS | as_nl) ;; #(
15541 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15542 *) { eval $ac_var=; unset $ac_var;} ;;
15548 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15549 *${as_nl}ac_space=\ *)
15550 # `set' does not quote correctly, so add quotes: double-quote
15551 # substitution turns \\\\ into \\, and sed turns \\ into \.
15554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15557 # `set' quotes correctly as required by POSIX, so do not add quotes.
15558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15569 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15571 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15572 if test -w "$cache_file"; then
15573 test "x$cache_file" != "x/dev/null" &&
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15575 $as_echo "$as_me: updating cache $cache_file" >&6;}
15576 cat confcache >$cache_file
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15579 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15584 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15585 # Let make expand exec_prefix.
15586 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15588 DEFS=-DHAVE_CONFIG_H
15593 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15594 # 1. Remove the extension, and $U if already installed.
15595 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15596 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15597 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15598 # will be set to the directory where LIBOBJS objects are built.
15599 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15600 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15602 LIBOBJS=$ac_libobjs
15604 LTLIBOBJS=$ac_ltlibobjs
15607 if test -n "$EXEEXT"; then
15609 am__EXEEXT_FALSE='#'
15611 am__EXEEXT_TRUE='#'
15615 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15616 as_fn_error $? "conditional \"AMDEP\" was never defined.
15617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15619 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15620 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15623 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15624 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15627 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15628 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15631 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15632 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15635 if test -z "${GSSEAP_ENABLE_REAUTH_TRUE}" && test -z "${GSSEAP_ENABLE_REAUTH_FALSE}"; then
15636 as_fn_error $? "conditional \"GSSEAP_ENABLE_REAUTH\" was never defined.
15637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15639 if test -z "${HEIMDAL_TRUE}" && test -z "${HEIMDAL_FALSE}"; then
15640 as_fn_error $? "conditional \"HEIMDAL\" was never defined.
15641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15644 : ${CONFIG_STATUS=./config.status}
15646 ac_clean_files_save=$ac_clean_files
15647 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15651 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15653 # Generated by $as_me.
15654 # Run this file to recreate the current configuration.
15655 # Compiler output produced by configure, useful for debugging
15656 # configure, is in config.log if it exists.
15659 ac_cs_recheck=false
15662 SHELL=\${CONFIG_SHELL-$SHELL}
15665 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15666 ## -------------------- ##
15667 ## M4sh Initialization. ##
15668 ## -------------------- ##
15670 # Be more Bourne compatible
15671 DUALCASE=1; export DUALCASE # for MKS sh
15672 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15675 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15676 # is contrary to our usage. Disable this feature.
15677 alias -g '${1+"$@"}'='"$@"'
15678 setopt NO_GLOB_SUBST
15680 case `(set -o) 2>/dev/null` in #(
15692 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15693 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15696 # Prefer a ksh shell builtin over an external printf program on Solaris,
15697 # but without wasting forks for bash or zsh.
15698 if test -z "$BASH_VERSION$ZSH_VERSION" \
15699 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15700 as_echo='print -r --'
15701 as_echo_n='print -rn --'
15702 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15703 as_echo='printf %s\n'
15704 as_echo_n='printf %s'
15706 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15707 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15708 as_echo_n='/usr/ucb/echo -n'
15710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15711 as_echo_n_body='eval
15715 expr "X$arg" : "X\\(.*\\)$as_nl";
15716 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15718 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15720 export as_echo_n_body
15721 as_echo_n='sh -c $as_echo_n_body as_echo'
15723 export as_echo_body
15724 as_echo='sh -c $as_echo_body as_echo'
15727 # The user is always right.
15728 if test "${PATH_SEPARATOR+set}" != set; then
15730 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15731 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15738 # We need space, tab and new line, in precisely that order. Quoting is
15739 # there to prevent editors from complaining about space-tab.
15740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15741 # splitting by setting IFS to empty value.)
15744 # Find who we are. Look in the path if we contain no directory separator.
15746 *[\\/]* ) as_myself=$0 ;;
15747 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15748 for as_dir in $PATH
15751 test -z "$as_dir" && as_dir=.
15752 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15758 # We did not find ourselves, most probably we were run as `sh COMMAND'
15759 # in which case we are not to be found in the path.
15760 if test "x$as_myself" = x; then
15763 if test ! -f "$as_myself"; then
15764 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15768 # Unset variables that we do not need and which cause bugs (e.g. in
15769 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15770 # suppresses any "Segmentation fault" message there. '((' could
15771 # trigger a bug in pdksh 5.2.14.
15772 for as_var in BASH_ENV ENV MAIL MAILPATH
15773 do eval test x\${$as_var+set} = xset \
15774 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15787 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15790 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15791 # ----------------------------------------
15792 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15793 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15794 # script with STATUS, using 1 if that was 0.
15797 as_status=$1; test $as_status -eq 0 && as_status=1
15799 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15800 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15802 $as_echo "$as_me: error: $2" >&2
15803 as_fn_exit $as_status
15807 # as_fn_set_status STATUS
15808 # -----------------------
15809 # Set $? to STATUS, without forking.
15810 as_fn_set_status ()
15813 } # as_fn_set_status
15815 # as_fn_exit STATUS
15816 # -----------------
15817 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15821 as_fn_set_status $1
15827 # Portably unset VAR.
15830 { eval $1=; unset $1;}
15832 as_unset=as_fn_unset
15833 # as_fn_append VAR VALUE
15834 # ----------------------
15835 # Append the text in VALUE to the end of the definition contained in VAR. Take
15836 # advantage of any shell optimizations that allow amortized linear growth over
15837 # repeated appends, instead of the typical quadratic growth present in naive
15839 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15840 eval 'as_fn_append ()
15851 # as_fn_arith ARG...
15852 # ------------------
15853 # Perform arithmetic evaluation on the ARGs, and store the result in the
15854 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15855 # must be portable across $(()) and expr.
15856 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15857 eval 'as_fn_arith ()
15864 as_val=`expr "$@" || test $? -eq 1`
15869 if expr a : '\(a\)' >/dev/null 2>&1 &&
15870 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15876 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15877 as_basename=basename
15882 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15888 as_me=`$as_basename -- "$0" ||
15889 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15890 X"$0" : 'X\(//\)$' \| \
15891 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15893 sed '/^.*\/\([^/][^/]*\)\/*$/{
15907 # Avoid depending upon Character Ranges.
15908 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15909 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15910 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15911 as_cr_digits='0123456789'
15912 as_cr_alnum=$as_cr_Letters$as_cr_digits
15914 ECHO_C= ECHO_N= ECHO_T=
15915 case `echo -n x` in #(((((
15917 case `echo 'xy\c'` in
15918 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15920 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15927 rm -f conf$$ conf$$.exe conf$$.file
15928 if test -d conf$$.dir; then
15929 rm -f conf$$.dir/conf$$.file
15932 mkdir conf$$.dir 2>/dev/null
15934 if (echo >conf$$.file) 2>/dev/null; then
15935 if ln -s conf$$.file conf$$ 2>/dev/null; then
15937 # ... but there are two gotchas:
15938 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15939 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15940 # In both cases, we have to default to `cp -p'.
15941 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15943 elif ln conf$$.file conf$$ 2>/dev/null; then
15951 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15952 rmdir conf$$.dir 2>/dev/null
15957 # Create "$as_dir" as a directory, including parents if necessary.
15962 -*) as_dir=./$as_dir;;
15964 test -d "$as_dir" || eval $as_mkdir_p || {
15968 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15969 *) as_qdir=$as_dir;;
15971 as_dirs="'$as_qdir' $as_dirs"
15972 as_dir=`$as_dirname -- "$as_dir" ||
15973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15974 X"$as_dir" : 'X\(//\)[^/]' \| \
15975 X"$as_dir" : 'X\(//\)$' \| \
15976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15977 $as_echo X"$as_dir" |
15978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15982 /^X\(\/\/\)[^/].*/{
15995 test -d "$as_dir" && break
15997 test -z "$as_dirs" || eval "mkdir $as_dirs"
15998 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16002 if mkdir -p . 2>/dev/null; then
16003 as_mkdir_p='mkdir -p "$as_dir"'
16005 test -d ./-p && rmdir ./-p
16009 if test -x / >/dev/null 2>&1; then
16010 as_test_x='test -x'
16012 if ls -dL / >/dev/null 2>&1; then
16019 if test -d "$1"; then
16025 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16026 ???[sx]*):;;*)false;;esac;fi
16030 as_executable_p=$as_test_x
16032 # Sed expression to map a string onto a valid CPP name.
16033 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16035 # Sed expression to map a string onto a valid variable name.
16036 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16040 ## ----------------------------------- ##
16041 ## Main body of $CONFIG_STATUS script. ##
16042 ## ----------------------------------- ##
16044 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16047 # Save the log message, to keep $0 and so on meaningful, and to
16048 # report actual input values of CONFIG_FILES etc. instead of their
16049 # values after options handling.
16051 This file was extended by mech_eap $as_me 0.1, which was
16052 generated by GNU Autoconf 2.67. Invocation command line was
16054 CONFIG_FILES = $CONFIG_FILES
16055 CONFIG_HEADERS = $CONFIG_HEADERS
16056 CONFIG_LINKS = $CONFIG_LINKS
16057 CONFIG_COMMANDS = $CONFIG_COMMANDS
16060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16065 case $ac_config_files in *"
16066 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16069 case $ac_config_headers in *"
16070 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16075 # Files that config.status was made for.
16076 config_files="$ac_config_files"
16077 config_headers="$ac_config_headers"
16078 config_commands="$ac_config_commands"
16082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16084 \`$as_me' instantiates files and other configuration actions
16085 from templates according to the current configuration. Unless the files
16086 and actions are specified as TAGs, all are instantiated by default.
16088 Usage: $0 [OPTION]... [TAG]...
16090 -h, --help print this help, then exit
16091 -V, --version print version number and configuration settings, then exit
16092 --config print configuration, then exit
16093 -q, --quiet, --silent
16094 do not print progress messages
16095 -d, --debug don't remove temporary files
16096 --recheck update $as_me by reconfiguring in the same conditions
16097 --file=FILE[:TEMPLATE]
16098 instantiate the configuration file FILE
16099 --header=FILE[:TEMPLATE]
16100 instantiate the configuration header FILE
16102 Configuration files:
16105 Configuration headers:
16108 Configuration commands:
16111 Report bugs to <bugs@project-moonshot.org>."
16114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16115 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16117 mech_eap config.status 0.1
16118 configured by $0, generated by GNU Autoconf 2.67,
16119 with options \\"\$ac_cs_config\\"
16121 Copyright (C) 2010 Free Software Foundation, Inc.
16122 This config.status script is free software; the Free Software Foundation
16123 gives unlimited permission to copy, distribute and modify it."
16130 test -n "\$AWK" || AWK=awk
16133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16134 # The default lists apply if the user does not specify any file.
16140 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16141 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16145 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16157 # Handling of the options.
16158 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16160 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16161 $as_echo "$ac_cs_version"; exit ;;
16162 --config | --confi | --conf | --con | --co | --c )
16163 $as_echo "$ac_cs_config"; exit ;;
16164 --debug | --debu | --deb | --de | --d | -d )
16166 --file | --fil | --fi | --f )
16169 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16170 '') as_fn_error $? "missing file argument" ;;
16172 as_fn_append CONFIG_FILES " '$ac_optarg'"
16173 ac_need_defaults=false;;
16174 --header | --heade | --head | --hea )
16177 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16179 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16180 ac_need_defaults=false;;
16182 # Conflict between --help and --header
16183 as_fn_error $? "ambiguous option: \`$1'
16184 Try \`$0 --help' for more information.";;
16185 --help | --hel | -h )
16186 $as_echo "$ac_cs_usage"; exit ;;
16187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16188 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16191 # This is an error.
16192 -*) as_fn_error $? "unrecognized option: \`$1'
16193 Try \`$0 --help' for more information." ;;
16195 *) as_fn_append ac_config_targets " $1"
16196 ac_need_defaults=false ;;
16202 ac_configure_extra_args=
16204 if $ac_cs_silent; then
16206 ac_configure_extra_args="$ac_configure_extra_args --silent"
16210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16211 if \$ac_cs_recheck; then
16212 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16214 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16215 CONFIG_SHELL='$SHELL'
16216 export CONFIG_SHELL
16221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16225 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16226 ## Running $as_me. ##
16232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16236 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16239 # The HP-UX ksh and POSIX shell print the target directory to stdout
16240 # if CDPATH is set.
16241 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16243 sed_quote_subst='$sed_quote_subst'
16244 double_quote_subst='$double_quote_subst'
16245 delay_variable_subst='$delay_variable_subst'
16246 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16247 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16248 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16249 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16250 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16251 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16252 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16253 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16254 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16255 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16256 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16257 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16258 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16259 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16260 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16261 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16262 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16263 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16264 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16265 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16266 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16267 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16268 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16269 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16270 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16271 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16272 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16273 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16274 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16275 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16276 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16277 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16278 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16279 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16280 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16281 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16282 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16283 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16284 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16285 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16286 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16287 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16288 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16289 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16290 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16291 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16292 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16293 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16294 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16295 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16296 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16297 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16298 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16299 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16300 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16301 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16302 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16303 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16304 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16305 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16306 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16307 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16308 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16309 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16310 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16311 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16312 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16313 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16314 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16315 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16316 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16317 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16318 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16319 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16320 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16321 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16322 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16323 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16324 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16325 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16326 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16327 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16328 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16329 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16330 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16331 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16332 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16333 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16334 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16335 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16336 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16337 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16338 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16339 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16340 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16341 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16342 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16343 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16344 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16345 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16346 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16347 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16348 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16349 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16350 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16351 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16352 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16353 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16354 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16355 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16356 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16357 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16358 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16359 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16360 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16361 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16362 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16363 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16364 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16365 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16366 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16367 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16368 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16369 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16370 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16371 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16372 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16373 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16374 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16375 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16376 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16377 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16378 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16379 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16380 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16381 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16382 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16383 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16384 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16385 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16386 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16387 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16388 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16389 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16390 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16391 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16392 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16393 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16394 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16395 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16396 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16397 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16398 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16399 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16400 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16401 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16402 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16403 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16404 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16405 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16406 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16407 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16408 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16409 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16410 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16411 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16412 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16413 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16414 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16415 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16416 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16419 LTCFLAGS='$LTCFLAGS'
16420 compiler='$compiler_DEFAULT'
16422 # Quote evaled strings.
16434 deplibs_check_method \
16443 lt_cv_sys_global_symbol_pipe \
16444 lt_cv_sys_global_symbol_to_cdecl \
16445 lt_cv_sys_global_symbol_to_c_name_address \
16446 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16449 lt_prog_compiler_no_builtin_flag \
16450 lt_prog_compiler_wl \
16451 lt_prog_compiler_pic \
16452 lt_prog_compiler_static \
16453 lt_cv_prog_compiler_c_o \
16461 export_dynamic_flag_spec \
16462 whole_archive_flag_spec \
16463 compiler_needs_object \
16465 allow_undefined_flag \
16466 no_undefined_flag \
16467 hardcode_libdir_flag_spec \
16468 hardcode_libdir_flag_spec_ld \
16469 hardcode_libdir_separator \
16474 variables_saved_for_relink \
16476 library_names_spec \
16481 compiler_lib_search_dirs \
16486 compiler_lib_search_path \
16489 lt_prog_compiler_no_builtin_flag_CXX \
16490 lt_prog_compiler_wl_CXX \
16491 lt_prog_compiler_pic_CXX \
16492 lt_prog_compiler_static_CXX \
16493 lt_cv_prog_compiler_c_o_CXX \
16494 export_dynamic_flag_spec_CXX \
16495 whole_archive_flag_spec_CXX \
16496 compiler_needs_object_CXX \
16498 allow_undefined_flag_CXX \
16499 no_undefined_flag_CXX \
16500 hardcode_libdir_flag_spec_CXX \
16501 hardcode_libdir_flag_spec_ld_CXX \
16502 hardcode_libdir_separator_CXX \
16503 fix_srcfile_path_CXX \
16504 exclude_expsyms_CXX \
16505 include_expsyms_CXX \
16506 file_list_spec_CXX \
16507 compiler_lib_search_dirs_CXX \
16508 predep_objects_CXX \
16509 postdep_objects_CXX \
16512 compiler_lib_search_path_CXX; do
16513 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16514 *[\\\\\\\`\\"\\\$]*)
16515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16523 # Double-quote double-evaled strings.
16524 for var in reload_cmds \
16525 old_postinstall_cmds \
16526 old_postuninstall_cmds \
16528 extract_expsyms_cmds \
16529 old_archive_from_new_cmds \
16530 old_archive_from_expsyms_cmds \
16532 archive_expsym_cmds \
16534 module_expsym_cmds \
16535 export_symbols_cmds \
16538 postuninstall_cmds \
16540 sys_lib_search_path_spec \
16541 sys_lib_dlsearch_path_spec \
16542 old_archive_cmds_CXX \
16543 old_archive_from_new_cmds_CXX \
16544 old_archive_from_expsyms_cmds_CXX \
16546 archive_expsym_cmds_CXX \
16548 module_expsym_cmds_CXX \
16549 export_symbols_cmds_CXX \
16550 prelink_cmds_CXX; do
16551 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16552 *[\\\\\\\`\\"\\\$]*)
16553 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16556 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16561 # Fix-up fallback echo if it was mangled by the above quoting rules.
16563 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16567 ac_aux_dir='$ac_aux_dir'
16568 xsi_shell='$xsi_shell'
16569 lt_shell_append='$lt_shell_append'
16571 # See if we are running on zsh, and set the options which allow our
16572 # commands through without removal of \ escapes INIT.
16573 if test -n "\${ZSH_VERSION+set}" ; then
16574 setopt NO_GLOB_SUBST
16580 TIMESTAMP='$TIMESTAMP'
16591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16593 # Handling of arguments.
16594 for ac_config_target in $ac_config_targets
16596 case $ac_config_target in
16597 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16598 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16599 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16600 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16601 "libeap/Makefile") CONFIG_FILES="$CONFIG_FILES libeap/Makefile" ;;
16602 "mech_eap/Makefile") CONFIG_FILES="$CONFIG_FILES mech_eap/Makefile" ;;
16604 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16609 # If the user did not use the arguments to specify the items to instantiate,
16610 # then the envvar interface is used. Set only those that are not.
16611 # We use the long form for the default assignment because of an extremely
16612 # bizarre bug on SunOS 4.1.3.
16613 if $ac_need_defaults; then
16614 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16615 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16616 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16619 # Have a temporary directory for convenience. Make it in the build tree
16620 # simply because there is no reason against having it here, and in addition,
16621 # creating and moving files from /tmp can sometimes cause problems.
16622 # Hook for its removal unless debugging.
16623 # Note that there is a small window in which the directory will not be cleaned:
16624 # after its creation but before its name has been assigned to `$tmp'.
16628 trap 'exit_status=$?
16629 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16631 trap 'as_fn_exit 1' 1 2 13 15
16633 # Create a (secure) tmp directory for tmp files.
16636 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16637 test -n "$tmp" && test -d "$tmp"
16640 tmp=./conf$$-$RANDOM
16641 (umask 077 && mkdir "$tmp")
16642 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16644 # Set up the scripts for CONFIG_FILES section.
16645 # No need to generate them if there are no CONFIG_FILES.
16646 # This happens for instance with `./config.status config.h'.
16647 if test -n "$CONFIG_FILES"; then
16650 ac_cr=`echo X | tr X '\015'`
16651 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16652 # But we know of no other shell where ac_cr would be empty at this
16653 # point, so we can use a bashism as a fallback.
16654 if test "x$ac_cr" = x; then
16655 eval ac_cr=\$\'\\r\'
16657 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16658 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16661 ac_cs_awk_cr=$ac_cr
16664 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16669 echo "cat >conf$$subs.awk <<_ACEOF" &&
16670 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16672 } >conf$$subs.sh ||
16673 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16674 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16676 for ac_last_try in false false false false false :; do
16677 . ./conf$$subs.sh ||
16678 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16680 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16681 if test $ac_delim_n = $ac_delim_num; then
16683 elif $ac_last_try; then
16684 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16689 rm -f conf$$subs.sh
16691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16692 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16696 s/^/S["/; s/!.*/"]=/
16706 s/\(.\{148\}\)..*/\1/
16708 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16713 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16720 s/\(.\{148\}\)..*/\1/
16722 s/["\\]/\\&/g; s/^/"/; s/$/"/
16726 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16731 ' <conf$$subs.awk | sed '
16736 ' >>$CONFIG_STATUS || ac_write_fail=1
16737 rm -f conf$$subs.awk
16738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16740 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16741 for (key in S) S_is_set[key] = 1
16747 nfields = split(line, field, "@")
16749 len = length(field[1])
16750 for (i = 2; i < nfields; i++) {
16752 keylen = length(key)
16753 if (S_is_set[key]) {
16755 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16756 len += length(value) + length(field[++i])
16767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16768 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16769 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16772 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16773 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16776 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16777 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16778 # trailing colons and then remove the whole line if VPATH becomes empty
16779 # (actually we leave an empty line to preserve line numbers).
16780 if test "x$srcdir" = x.; then
16781 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16800 fi # test -n "$CONFIG_FILES"
16802 # Set up the scripts for CONFIG_HEADERS section.
16803 # No need to generate them if there are no CONFIG_HEADERS.
16804 # This happens for instance with `./config.status Makefile'.
16805 if test -n "$CONFIG_HEADERS"; then
16806 cat >"$tmp/defines.awk" <<\_ACAWK ||
16810 # Transform confdefs.h into an awk script `defines.awk', embedded as
16811 # here-document in config.status, that substitutes the proper values into
16812 # config.h.in to produce config.h.
16814 # Create a delimiter string that does not exist in confdefs.h, to ease
16815 # handling of long lines.
16817 for ac_last_try in false false :; do
16818 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16819 if test -z "$ac_t"; then
16821 elif $ac_last_try; then
16822 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16824 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16828 # For the awk script, D is an array of macro values keyed by name,
16829 # likewise P contains macro parameters if any. Preserve backslash
16830 # newline sequences.
16832 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16834 s/.\{148\}/&'"$ac_delim"'/g
16837 s/^[ ]*#[ ]*define[ ][ ]*/ /
16844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16846 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16851 D["\1"]=" \3\\\\\\n"\\/p
16853 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16858 s/.\{148\}/&'"$ac_delim"'/g
16863 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16866 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16868 ' <confdefs.h | sed '
16869 s/'"$ac_delim"'/"\\\
16870 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16873 for (key in D) D_is_set[key] = 1
16876 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16878 split(line, arg, " ")
16879 if (arg[1] == "#") {
16883 defundef = substr(arg[1], 2)
16886 split(mac1, mac2, "(") #)
16888 prefix = substr(line, 1, index(line, defundef) - 1)
16889 if (D_is_set[macro]) {
16890 # Preserve the white space surrounding the "#".
16891 print prefix "define", macro P[macro] D[macro]
16894 # Replace #undef with comments. This is necessary, for example,
16895 # in the case of _POSIX_SOURCE, which is predefined and required
16896 # on some systems where configure will not decide to define it.
16897 if (defundef == "undef") {
16898 print "/*", prefix defundef, macro, "*/"
16906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16907 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16908 fi # test -n "$CONFIG_HEADERS"
16911 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16916 :[FHLC]) ac_mode=$ac_tag; continue;;
16918 case $ac_mode$ac_tag in
16920 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16921 :[FH]-) ac_tag=-:-;;
16922 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16939 -) ac_f="$tmp/stdin";;
16940 *) # Look for the file first in the build tree, then in the source tree
16941 # (if the path is not absolute). The absolute path cannot be DOS-style,
16942 # because $ac_f cannot contain `:'.
16946 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16948 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16950 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16951 as_fn_append ac_file_inputs " '$ac_f'"
16954 # Let's still pretend it is `configure' which instantiates (i.e., don't
16955 # use $as_me), people would be surprised to read:
16956 # /* config.h. Generated by config.status. */
16957 configure_input='Generated from '`
16958 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16960 if test x"$ac_file" != x-; then
16961 configure_input="$ac_file. $configure_input"
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16963 $as_echo "$as_me: creating $ac_file" >&6;}
16965 # Neutralize special characters interpreted by sed in replacement strings.
16966 case $configure_input in #(
16967 *\&* | *\|* | *\\* )
16968 ac_sed_conf_input=`$as_echo "$configure_input" |
16969 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16970 *) ac_sed_conf_input=$configure_input;;
16974 *:-:* | *:-) cat >"$tmp/stdin" \
16975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16980 ac_dir=`$as_dirname -- "$ac_file" ||
16981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16982 X"$ac_file" : 'X\(//\)[^/]' \| \
16983 X"$ac_file" : 'X\(//\)$' \| \
16984 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16985 $as_echo X"$ac_file" |
16986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16990 /^X\(\/\/\)[^/].*/{
17003 as_dir="$ac_dir"; as_fn_mkdir_p
17007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17009 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17010 # A ".." for each directory in $ac_dir_suffix.
17011 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17012 case $ac_top_builddir_sub in
17013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17017 ac_abs_top_builddir=$ac_pwd
17018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17019 # for backward compatibility:
17020 ac_top_builddir=$ac_top_build_prefix
17023 .) # We are building in place.
17025 ac_top_srcdir=$ac_top_builddir_sub
17026 ac_abs_top_srcdir=$ac_pwd ;;
17027 [\\/]* | ?:[\\/]* ) # Absolute name.
17028 ac_srcdir=$srcdir$ac_dir_suffix;
17029 ac_top_srcdir=$srcdir
17030 ac_abs_top_srcdir=$srcdir ;;
17031 *) # Relative name.
17032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17033 ac_top_srcdir=$ac_top_build_prefix$srcdir
17034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17046 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17047 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17049 ac_MKDIR_P=$MKDIR_P
17051 [\\/$]* | ?:[\\/]* ) ;;
17052 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17057 # If the template does not know about datarootdir, expand it.
17058 # FIXME: This hack should be removed a few years after 2.60.
17059 ac_datarootdir_hack=; ac_datarootdir_seen=
17070 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17071 *datarootdir*) ac_datarootdir_seen=yes;;
17072 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17074 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17077 ac_datarootdir_hack='
17078 s&@datadir@&$datadir&g
17079 s&@docdir@&$docdir&g
17080 s&@infodir@&$infodir&g
17081 s&@localedir@&$localedir&g
17082 s&@mandir@&$mandir&g
17083 s&\\\${datarootdir}&$datarootdir&g' ;;
17087 # Neutralize VPATH when `$srcdir' = `.'.
17088 # Shell code in configure.ac might set extrasub.
17089 # FIXME: do we really want to maintain this feature?
17090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17091 ac_sed_extra="$ac_vpsub
17094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17097 s|@configure_input@|$ac_sed_conf_input|;t t
17098 s&@top_builddir@&$ac_top_builddir_sub&;t t
17099 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17100 s&@srcdir@&$ac_srcdir&;t t
17101 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17102 s&@top_srcdir@&$ac_top_srcdir&;t t
17103 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17104 s&@builddir@&$ac_builddir&;t t
17105 s&@abs_builddir@&$ac_abs_builddir&;t t
17106 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17107 s&@INSTALL@&$ac_INSTALL&;t t
17108 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17109 $ac_datarootdir_hack
17111 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17114 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17115 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17116 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17118 which seems to be undefined. Please make sure it is defined" >&5
17119 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17120 which seems to be undefined. Please make sure it is defined" >&2;}
17124 -) cat "$tmp/out" && rm -f "$tmp/out";;
17125 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17133 if test x"$ac_file" != x-; then
17135 $as_echo "/* $configure_input */" \
17136 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17137 } >"$tmp/config.h" \
17138 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17139 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17141 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17144 mv "$tmp/config.h" "$ac_file" \
17145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17148 $as_echo "/* $configure_input */" \
17149 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17150 || as_fn_error $? "could not create -" "$LINENO" 5
17152 # Compute "$ac_file"'s index in $config_headers.
17155 for _am_header in $config_headers :; do
17156 case $_am_header in
17157 $_am_arg | $_am_arg:* )
17160 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17163 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17164 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17165 X"$_am_arg" : 'X\(//\)[^/]' \| \
17166 X"$_am_arg" : 'X\(//\)$' \| \
17167 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17168 $as_echo X"$_am_arg" |
17169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17173 /^X\(\/\/\)[^/].*/{
17185 s/.*/./; q'`/stamp-h$_am_stamp_count
17188 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17189 $as_echo "$as_me: executing $ac_file commands" >&6;}
17194 case $ac_file$ac_mode in
17195 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17196 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17197 # are listed without --file. Let's play safe and only enable the eval
17198 # if we detect the quoting.
17199 case $CONFIG_FILES in
17200 *\'*) eval set x "$CONFIG_FILES" ;;
17201 *) set x $CONFIG_FILES ;;
17206 # Strip MF so we end up with the name of the file.
17207 mf=`echo "$mf" | sed -e 's/:.*$//'`
17208 # Check whether this is an Automake generated Makefile or not.
17209 # We used to match only the files named `Makefile.in', but
17210 # some people rename them; so instead we look at the file content.
17211 # Grep'ing the first line is not enough: some people post-process
17212 # each Makefile.in and add a new line on top of each file to say so.
17213 # Grep'ing the whole file is not good either: AIX grep has a line
17214 # limit of 2048, but all sed's we know have understand at least 4000.
17215 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17216 dirpart=`$as_dirname -- "$mf" ||
17217 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17218 X"$mf" : 'X\(//\)[^/]' \| \
17219 X"$mf" : 'X\(//\)$' \| \
17220 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17226 /^X\(\/\/\)[^/].*/{
17242 # Extract the definition of DEPDIR, am__include, and am__quote
17243 # from the Makefile without running `make'.
17244 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17245 test -z "$DEPDIR" && continue
17246 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17247 test -z "am__include" && continue
17248 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17249 # When using ansi2knr, U may be empty or an underscore; expand it
17250 U=`sed -n 's/^U = //p' < "$mf"`
17251 # Find all dependency output files, they are included files with
17252 # $(DEPDIR) in their names. We invoke sed twice because it is the
17253 # simplest approach to changing $(DEPDIR) to its actual value in the
17255 for file in `sed -n "
17256 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17257 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17258 # Make sure the directory exists.
17259 test -f "$dirpart/$file" && continue
17260 fdir=`$as_dirname -- "$file" ||
17261 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17262 X"$file" : 'X\(//\)[^/]' \| \
17263 X"$file" : 'X\(//\)$' \| \
17264 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17265 $as_echo X"$file" |
17266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17270 /^X\(\/\/\)[^/].*/{
17283 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17284 # echo "creating $dirpart/$file"
17285 echo '# dummy' > "$dirpart/$file"
17292 # See if we are running on zsh, and set the options which allow our
17293 # commands through without removal of \ escapes.
17294 if test -n "${ZSH_VERSION+set}" ; then
17295 setopt NO_GLOB_SUBST
17298 cfgfile="${ofile}T"
17299 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17302 cat <<_LT_EOF >> "$cfgfile"
17305 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17306 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17307 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17308 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17310 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17311 # 2006, 2007, 2008 Free Software Foundation, Inc.
17312 # Written by Gordon Matzigkeit, 1996
17314 # This file is part of GNU Libtool.
17316 # GNU Libtool is free software; you can redistribute it and/or
17317 # modify it under the terms of the GNU General Public License as
17318 # published by the Free Software Foundation; either version 2 of
17319 # the License, or (at your option) any later version.
17321 # As a special exception to the GNU General Public License,
17322 # if you distribute this file as part of a program or library that
17323 # is built using GNU Libtool, you may include this file under the
17324 # same distribution terms that you use for the rest of that program.
17326 # GNU Libtool is distributed in the hope that it will be useful,
17327 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17328 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17329 # GNU General Public License for more details.
17331 # You should have received a copy of the GNU General Public License
17332 # along with GNU Libtool; see the file COPYING. If not, a copy
17333 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17334 # obtained by writing to the Free Software Foundation, Inc.,
17335 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17338 # The names of the tagged configurations supported by this script.
17339 available_tags="CXX "
17341 # ### BEGIN LIBTOOL CONFIG
17343 # Which release of libtool.m4 was used?
17344 macro_version=$macro_version
17345 macro_revision=$macro_revision
17347 # Whether or not to build static libraries.
17348 build_old_libs=$enable_static
17350 # Whether or not to build shared libraries.
17351 build_libtool_libs=$enable_shared
17353 # What type of objects to build.
17356 # Whether or not to optimize for fast installation.
17357 fast_install=$enable_fast_install
17360 host_alias=$host_alias
17364 # The build system.
17365 build_alias=$build_alias
17369 # A sed program that does not truncate output.
17372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17373 Xsed="\$SED -e 1s/^X//"
17375 # A grep program that handles long lines.
17381 # A literal string matcher.
17384 # A BSD- or MS-compatible name lister.
17387 # Whether we need soft or hard links.
17390 # What is the maximum length of a command?
17391 max_cmd_len=$max_cmd_len
17393 # Object file suffix (normally "o").
17396 # Executable file suffix (normally "").
17399 # whether the shell understands "unset".
17402 # turn spaces into newlines.
17405 # turn newlines into spaces.
17408 # How to create reloadable object files.
17409 reload_flag=$lt_reload_flag
17410 reload_cmds=$lt_reload_cmds
17412 # An object symbol dumper.
17413 OBJDUMP=$lt_OBJDUMP
17415 # Method to check whether dependent libraries are shared objects.
17416 deplibs_check_method=$lt_deplibs_check_method
17418 # Command to use when deplibs_check_method == "file_magic".
17419 file_magic_cmd=$lt_file_magic_cmd
17423 AR_FLAGS=$lt_AR_FLAGS
17425 # A symbol stripping program.
17428 # Commands used to install an old-style archive.
17430 old_postinstall_cmds=$lt_old_postinstall_cmds
17431 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17436 # LTCC compiler flags.
17437 LTCFLAGS=$lt_CFLAGS
17439 # Take the output of nm and produce a listing of raw symbols and C names.
17440 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17442 # Transform the output of nm in a proper C declaration.
17443 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17445 # Transform the output of nm in a C name address pair.
17446 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17448 # Transform the output of nm in a C name address pair when lib prefix is needed.
17449 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17451 # The name of the directory that contains temporary libtool files.
17454 # Shell to use when invoking shell scripts.
17457 # An echo program that does not interpret backslashes.
17460 # Used to examine libraries when file_magic_cmd begins with "file".
17461 MAGIC_CMD=$MAGIC_CMD
17463 # Must we lock files when doing compilation?
17464 need_locks=$lt_need_locks
17466 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17467 DSYMUTIL=$lt_DSYMUTIL
17469 # Tool to change global to local symbols on Mac OS X.
17472 # Tool to manipulate fat objects and archives on Mac OS X.
17475 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17478 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17479 OTOOL64=$lt_OTOOL64
17481 # Old archive suffix (normally "a").
17484 # Shared library suffix (normally ".so").
17485 shrext_cmds=$lt_shrext_cmds
17487 # The commands to extract the exported symbol list from a shared archive.
17488 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17490 # Variables whose values should be saved in libtool wrapper scripts and
17491 # restored at link time.
17492 variables_saved_for_relink=$lt_variables_saved_for_relink
17494 # Do we need the "lib" prefix for modules?
17495 need_lib_prefix=$need_lib_prefix
17497 # Do we need a version for libraries?
17498 need_version=$need_version
17500 # Library versioning type.
17501 version_type=$version_type
17503 # Shared library runtime path variable.
17504 runpath_var=$runpath_var
17506 # Shared library path variable.
17507 shlibpath_var=$shlibpath_var
17509 # Is shlibpath searched before the hard-coded library search path?
17510 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17512 # Format of library name prefix.
17513 libname_spec=$lt_libname_spec
17515 # List of archive names. First name is the real one, the rest are links.
17516 # The last name is the one that the linker finds with -lNAME
17517 library_names_spec=$lt_library_names_spec
17519 # The coded name of the library, if different from the real name.
17520 soname_spec=$lt_soname_spec
17522 # Command to use after installation of a shared archive.
17523 postinstall_cmds=$lt_postinstall_cmds
17525 # Command to use after uninstallation of a shared archive.
17526 postuninstall_cmds=$lt_postuninstall_cmds
17528 # Commands used to finish a libtool library installation in a directory.
17529 finish_cmds=$lt_finish_cmds
17531 # As "finish_cmds", except a single script fragment to be evaled but
17533 finish_eval=$lt_finish_eval
17535 # Whether we should hardcode library paths into libraries.
17536 hardcode_into_libs=$hardcode_into_libs
17538 # Compile-time system search path for libraries.
17539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17541 # Run-time system search path for libraries.
17542 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17544 # Whether dlopen is supported.
17545 dlopen_support=$enable_dlopen
17547 # Whether dlopen of programs is supported.
17548 dlopen_self=$enable_dlopen_self
17550 # Whether dlopen of statically linked programs is supported.
17551 dlopen_self_static=$enable_dlopen_self_static
17553 # Commands to strip libraries.
17554 old_striplib=$lt_old_striplib
17555 striplib=$lt_striplib
17558 # The linker used to build libraries.
17561 # Commands used to build an old-style archive.
17562 old_archive_cmds=$lt_old_archive_cmds
17564 # A language specific compiler.
17567 # Is the compiler the GNU compiler?
17570 # Compiler flag to turn off builtin functions.
17571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17573 # How to pass a linker flag through the compiler.
17574 wl=$lt_lt_prog_compiler_wl
17576 # Additional compiler flags for building library objects.
17577 pic_flag=$lt_lt_prog_compiler_pic
17579 # Compiler flag to prevent dynamic linking.
17580 link_static_flag=$lt_lt_prog_compiler_static
17582 # Does compiler simultaneously support -c and -o options?
17583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17585 # Whether or not to add -lc for building shared libraries.
17586 build_libtool_need_lc=$archive_cmds_need_lc
17588 # Whether or not to disallow shared libs when runtime libs are static.
17589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17591 # Compiler flag to allow reflexive dlopens.
17592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17594 # Compiler flag to generate shared objects directly from archives.
17595 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17597 # Whether the compiler copes with passing no objects directly.
17598 compiler_needs_object=$lt_compiler_needs_object
17600 # Create an old-style archive from a shared archive.
17601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17603 # Create a temporary old-style archive to link instead of a shared archive.
17604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17606 # Commands used to build a shared archive.
17607 archive_cmds=$lt_archive_cmds
17608 archive_expsym_cmds=$lt_archive_expsym_cmds
17610 # Commands used to build a loadable module if different from building
17611 # a shared archive.
17612 module_cmds=$lt_module_cmds
17613 module_expsym_cmds=$lt_module_expsym_cmds
17615 # Whether we are building with GNU ld or not.
17616 with_gnu_ld=$lt_with_gnu_ld
17618 # Flag that allows shared libraries with undefined symbols to be built.
17619 allow_undefined_flag=$lt_allow_undefined_flag
17621 # Flag that enforces no undefined symbols.
17622 no_undefined_flag=$lt_no_undefined_flag
17624 # Flag to hardcode \$libdir into a binary during linking.
17625 # This must work even if \$libdir does not exist
17626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17628 # If ld is used when linking, flag to hardcode \$libdir into a binary
17629 # during linking. This must work even if \$libdir does not exist.
17630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17632 # Whether we need a single "-rpath" flag with a separated argument.
17633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17636 # DIR into the resulting binary.
17637 hardcode_direct=$hardcode_direct
17639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17640 # DIR into the resulting binary and the resulting library dependency is
17641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17642 # library is relocated.
17643 hardcode_direct_absolute=$hardcode_direct_absolute
17645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17646 # into the resulting binary.
17647 hardcode_minus_L=$hardcode_minus_L
17649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17650 # into the resulting binary.
17651 hardcode_shlibpath_var=$hardcode_shlibpath_var
17653 # Set to "yes" if building a shared library automatically hardcodes DIR
17654 # into the library and all subsequent libraries and executables linked
17656 hardcode_automatic=$hardcode_automatic
17658 # Set to yes if linker adds runtime paths of dependent libraries
17659 # to runtime path list.
17660 inherit_rpath=$inherit_rpath
17662 # Whether libtool must link a program against all its dependency libraries.
17663 link_all_deplibs=$link_all_deplibs
17665 # Fix the shell variable \$srcfile for the compiler.
17666 fix_srcfile_path=$lt_fix_srcfile_path
17668 # Set to "yes" if exported symbols are required.
17669 always_export_symbols=$always_export_symbols
17671 # The commands to list exported symbols.
17672 export_symbols_cmds=$lt_export_symbols_cmds
17674 # Symbols that should not be listed in the preloaded symbols.
17675 exclude_expsyms=$lt_exclude_expsyms
17677 # Symbols that must always be exported.
17678 include_expsyms=$lt_include_expsyms
17680 # Commands necessary for linking programs (against libraries) with templates.
17681 prelink_cmds=$lt_prelink_cmds
17683 # Specify filename containing input files.
17684 file_list_spec=$lt_file_list_spec
17686 # How to hardcode a shared library path into an executable.
17687 hardcode_action=$hardcode_action
17689 # The directories searched by this compiler when creating a shared library.
17690 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17692 # Dependencies to place before and after the objects being linked to
17693 # create a shared library.
17694 predep_objects=$lt_predep_objects
17695 postdep_objects=$lt_postdep_objects
17696 predeps=$lt_predeps
17697 postdeps=$lt_postdeps
17699 # The library search path used internally by the compiler when linking
17700 # a shared library.
17701 compiler_lib_search_path=$lt_compiler_lib_search_path
17703 # ### END LIBTOOL CONFIG
17709 cat <<\_LT_EOF >> "$cfgfile"
17710 # AIX sometimes has problems with the GCC collect2 program. For some
17711 # reason, if we set the COLLECT_NAMES environment variable, the problems
17712 # vanish in a puff of smoke.
17713 if test "X${COLLECT_NAMES+set}" != Xset; then
17715 export COLLECT_NAMES
17722 ltmain="$ac_aux_dir/ltmain.sh"
17725 # We use sed instead of cat because bash on DJGPP gets confused if
17726 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17727 # text mode, it properly converts lines to CR/LF. This bash problem
17728 # is reportedly fixed, but why not run on old versions too?
17729 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17730 || (rm -f "$cfgfile"; exit 1)
17734 cat << \_LT_EOF >> "$cfgfile"
17736 # func_dirname file append nondir_replacement
17737 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17738 # otherwise set result to NONDIR_REPLACEMENT.
17742 */*) func_dirname_result="${1%/*}${2}" ;;
17743 * ) func_dirname_result="${3}" ;;
17747 # func_basename file
17750 func_basename_result="${1##*/}"
17753 # func_dirname_and_basename file append nondir_replacement
17754 # perform func_basename and func_dirname in a single function
17756 # dirname: Compute the dirname of FILE. If nonempty,
17757 # add APPEND to the result, otherwise set result
17758 # to NONDIR_REPLACEMENT.
17759 # value returned in "$func_dirname_result"
17760 # basename: Compute filename of FILE.
17761 # value retuned in "$func_basename_result"
17762 # Implementation must be kept synchronized with func_dirname
17763 # and func_basename. For efficiency, we do not delegate to
17764 # those functions but instead duplicate the functionality here.
17765 func_dirname_and_basename ()
17768 */*) func_dirname_result="${1%/*}${2}" ;;
17769 * ) func_dirname_result="${3}" ;;
17771 func_basename_result="${1##*/}"
17774 # func_stripname prefix suffix name
17775 # strip PREFIX and SUFFIX off of NAME.
17776 # PREFIX and SUFFIX must not contain globbing or regex special
17777 # characters, hashes, percent signs, but SUFFIX may contain a leading
17778 # dot (in which case that matches only a dot).
17781 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17782 # positional parameters, so assign one to ordinary parameter first.
17783 func_stripname_result=${3}
17784 func_stripname_result=${func_stripname_result#"${1}"}
17785 func_stripname_result=${func_stripname_result%"${2}"}
17791 func_opt_split_opt=${1%%=*}
17792 func_opt_split_arg=${1#*=}
17799 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17800 *) func_lo2o_result=${1} ;;
17804 # func_xform libobj-or-source
17807 func_xform_result=${1%.*}.lo
17810 # func_arith arithmetic-term...
17813 func_arith_result=$(( $* ))
17817 # STRING may not start with a hyphen.
17820 func_len_result=${#1}
17825 *) # Bourne compatible functions.
17826 cat << \_LT_EOF >> "$cfgfile"
17828 # func_dirname file append nondir_replacement
17829 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17830 # otherwise set result to NONDIR_REPLACEMENT.
17833 # Extract subdirectory from the argument.
17834 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17835 if test "X$func_dirname_result" = "X${1}"; then
17836 func_dirname_result="${3}"
17838 func_dirname_result="$func_dirname_result${2}"
17842 # func_basename file
17845 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17849 # func_stripname prefix suffix name
17850 # strip PREFIX and SUFFIX off of NAME.
17851 # PREFIX and SUFFIX must not contain globbing or regex special
17852 # characters, hashes, percent signs, but SUFFIX may contain a leading
17853 # dot (in which case that matches only a dot).
17854 # func_strip_suffix prefix name
17858 .*) func_stripname_result=`$ECHO "X${3}" \
17859 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17860 *) func_stripname_result=`$ECHO "X${3}" \
17861 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17866 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17867 my_sed_long_arg='1s/^-[^=]*=//'
17872 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17873 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17879 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17882 # func_xform libobj-or-source
17885 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17888 # func_arith arithmetic-term...
17891 func_arith_result=`expr "$@"`
17895 # STRING may not start with a hyphen.
17898 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17904 case $lt_shell_append in
17906 cat << \_LT_EOF >> "$cfgfile"
17908 # func_append var value
17909 # Append VALUE to the end of shell variable VAR.
17917 cat << \_LT_EOF >> "$cfgfile"
17919 # func_append var value
17920 # Append VALUE to the end of shell variable VAR.
17931 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17932 || (rm -f "$cfgfile"; exit 1)
17934 mv -f "$cfgfile" "$ofile" ||
17935 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17939 cat <<_LT_EOF >> "$ofile"
17941 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17943 # The linker used to build libraries.
17946 # Commands used to build an old-style archive.
17947 old_archive_cmds=$lt_old_archive_cmds_CXX
17949 # A language specific compiler.
17950 CC=$lt_compiler_CXX
17952 # Is the compiler the GNU compiler?
17955 # Compiler flag to turn off builtin functions.
17956 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17958 # How to pass a linker flag through the compiler.
17959 wl=$lt_lt_prog_compiler_wl_CXX
17961 # Additional compiler flags for building library objects.
17962 pic_flag=$lt_lt_prog_compiler_pic_CXX
17964 # Compiler flag to prevent dynamic linking.
17965 link_static_flag=$lt_lt_prog_compiler_static_CXX
17967 # Does compiler simultaneously support -c and -o options?
17968 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17970 # Whether or not to add -lc for building shared libraries.
17971 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17973 # Whether or not to disallow shared libs when runtime libs are static.
17974 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17976 # Compiler flag to allow reflexive dlopens.
17977 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17979 # Compiler flag to generate shared objects directly from archives.
17980 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17982 # Whether the compiler copes with passing no objects directly.
17983 compiler_needs_object=$lt_compiler_needs_object_CXX
17985 # Create an old-style archive from a shared archive.
17986 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17988 # Create a temporary old-style archive to link instead of a shared archive.
17989 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17991 # Commands used to build a shared archive.
17992 archive_cmds=$lt_archive_cmds_CXX
17993 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17995 # Commands used to build a loadable module if different from building
17996 # a shared archive.
17997 module_cmds=$lt_module_cmds_CXX
17998 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18000 # Whether we are building with GNU ld or not.
18001 with_gnu_ld=$lt_with_gnu_ld_CXX
18003 # Flag that allows shared libraries with undefined symbols to be built.
18004 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18006 # Flag that enforces no undefined symbols.
18007 no_undefined_flag=$lt_no_undefined_flag_CXX
18009 # Flag to hardcode \$libdir into a binary during linking.
18010 # This must work even if \$libdir does not exist
18011 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18013 # If ld is used when linking, flag to hardcode \$libdir into a binary
18014 # during linking. This must work even if \$libdir does not exist.
18015 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18017 # Whether we need a single "-rpath" flag with a separated argument.
18018 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18020 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18021 # DIR into the resulting binary.
18022 hardcode_direct=$hardcode_direct_CXX
18024 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18025 # DIR into the resulting binary and the resulting library dependency is
18026 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18027 # library is relocated.
18028 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18030 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18031 # into the resulting binary.
18032 hardcode_minus_L=$hardcode_minus_L_CXX
18034 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18035 # into the resulting binary.
18036 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18038 # Set to "yes" if building a shared library automatically hardcodes DIR
18039 # into the library and all subsequent libraries and executables linked
18041 hardcode_automatic=$hardcode_automatic_CXX
18043 # Set to yes if linker adds runtime paths of dependent libraries
18044 # to runtime path list.
18045 inherit_rpath=$inherit_rpath_CXX
18047 # Whether libtool must link a program against all its dependency libraries.
18048 link_all_deplibs=$link_all_deplibs_CXX
18050 # Fix the shell variable \$srcfile for the compiler.
18051 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18053 # Set to "yes" if exported symbols are required.
18054 always_export_symbols=$always_export_symbols_CXX
18056 # The commands to list exported symbols.
18057 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18059 # Symbols that should not be listed in the preloaded symbols.
18060 exclude_expsyms=$lt_exclude_expsyms_CXX
18062 # Symbols that must always be exported.
18063 include_expsyms=$lt_include_expsyms_CXX
18065 # Commands necessary for linking programs (against libraries) with templates.
18066 prelink_cmds=$lt_prelink_cmds_CXX
18068 # Specify filename containing input files.
18069 file_list_spec=$lt_file_list_spec_CXX
18071 # How to hardcode a shared library path into an executable.
18072 hardcode_action=$hardcode_action_CXX
18074 # The directories searched by this compiler when creating a shared library.
18075 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18077 # Dependencies to place before and after the objects being linked to
18078 # create a shared library.
18079 predep_objects=$lt_predep_objects_CXX
18080 postdep_objects=$lt_postdep_objects_CXX
18081 predeps=$lt_predeps_CXX
18082 postdeps=$lt_postdeps_CXX
18084 # The library search path used internally by the compiler when linking
18085 # a shared library.
18086 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18088 # ### END LIBTOOL TAG CONFIG: CXX
18099 ac_clean_files=$ac_clean_files_save
18101 test $ac_write_fail = 0 ||
18102 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18105 # configure is writing to config.log, and then calls config.status.
18106 # config.status does its own redirection, appending to config.log.
18107 # Unfortunately, on DOS this fails, as config.log is still kept open
18108 # by configure, so config.status won't be able to write to it; its
18109 # output is simply discarded. So we exec the FD to /dev/null,
18110 # effectively closing config.log, so it can be properly (re)opened and
18111 # appended to by config.status. When coming back to configure, we
18112 # need to make the FD available again.
18113 if test "$no_create" != yes; then
18115 ac_config_status_args=
18116 test "$silent" = yes &&
18117 ac_config_status_args="$ac_config_status_args --quiet"
18119 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18121 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18122 # would make configure fail if this is the last instruction.
18123 $ac_cs_success || as_fn_exit 1
18125 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18127 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}