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
829 INSTALL_STRIP_PROGRAM
871 program_transform_name
884 enable_option_checking
889 enable_dependency_tracking
899 ac_precious_vars='build_alias
914 # Initialize some variables set by options.
916 ac_init_version=false
917 ac_unrecognized_opts=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
928 program_transform_name=s,x,x,
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
974 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
979 # Accept the important Cygnus configure options, so we can diagnose typos.
981 case $ac_dashdash$ac_option in
985 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990 -build | --build | --buil | --bui | --bu)
991 ac_prev=build_alias ;;
992 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
993 build_alias=$ac_optarg ;;
995 -cache-file | --cache-file | --cache-fil | --cache-fi \
996 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
997 ac_prev=cache_file ;;
998 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
999 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1000 cache_file=$ac_optarg ;;
1002 --config-cache | -C)
1003 cache_file=config.cache ;;
1005 -datadir | --datadir | --datadi | --datad)
1007 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1008 datadir=$ac_optarg ;;
1010 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1011 | --dataroo | --dataro | --datar)
1012 ac_prev=datarootdir ;;
1013 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1014 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1015 datarootdir=$ac_optarg ;;
1017 -disable-* | --disable-*)
1018 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error $? "invalid feature name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "enable_$ac_useropt"
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1031 eval enable_$ac_useropt=no ;;
1033 -docdir | --docdir | --docdi | --doc | --do)
1035 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1036 docdir=$ac_optarg ;;
1038 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1041 dvidir=$ac_optarg ;;
1043 -enable-* | --enable-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error $? "invalid feature name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "enable_$ac_useropt"
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1057 eval enable_$ac_useropt=\$ac_optarg ;;
1059 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1060 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1061 | --exec | --exe | --ex)
1062 ac_prev=exec_prefix ;;
1063 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1064 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1065 | --exec=* | --exe=* | --ex=*)
1066 exec_prefix=$ac_optarg ;;
1068 -gas | --gas | --ga | --g)
1069 # Obsolete; use --with-gas.
1072 -help | --help | --hel | --he | -h)
1073 ac_init_help=long ;;
1074 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1075 ac_init_help=recursive ;;
1076 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1077 ac_init_help=short ;;
1079 -host | --host | --hos | --ho)
1080 ac_prev=host_alias ;;
1081 -host=* | --host=* | --hos=* | --ho=*)
1082 host_alias=$ac_optarg ;;
1084 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 htmldir=$ac_optarg ;;
1090 -includedir | --includedir | --includedi | --included | --include \
1091 | --includ | --inclu | --incl | --inc)
1092 ac_prev=includedir ;;
1093 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1094 | --includ=* | --inclu=* | --incl=* | --inc=*)
1095 includedir=$ac_optarg ;;
1097 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1100 infodir=$ac_optarg ;;
1102 -libdir | --libdir | --libdi | --libd)
1104 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1105 libdir=$ac_optarg ;;
1107 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1108 | --libexe | --libex | --libe)
1109 ac_prev=libexecdir ;;
1110 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1111 | --libexe=* | --libex=* | --libe=*)
1112 libexecdir=$ac_optarg ;;
1114 -localedir | --localedir | --localedi | --localed | --locale)
1115 ac_prev=localedir ;;
1116 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1117 localedir=$ac_optarg ;;
1119 -localstatedir | --localstatedir | --localstatedi | --localstated \
1120 | --localstate | --localstat | --localsta | --localst | --locals)
1121 ac_prev=localstatedir ;;
1122 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1123 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1124 localstatedir=$ac_optarg ;;
1126 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1129 mandir=$ac_optarg ;;
1131 -nfp | --nfp | --nf)
1132 # Obsolete; use --without-fp.
1135 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1136 | --no-cr | --no-c | -n)
1139 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1140 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1144 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1145 | --oldin | --oldi | --old | --ol | --o)
1146 ac_prev=oldincludedir ;;
1147 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1148 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1149 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1150 oldincludedir=$ac_optarg ;;
1152 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1155 prefix=$ac_optarg ;;
1157 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1158 | --program-pre | --program-pr | --program-p)
1159 ac_prev=program_prefix ;;
1160 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1161 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1162 program_prefix=$ac_optarg ;;
1164 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1165 | --program-suf | --program-su | --program-s)
1166 ac_prev=program_suffix ;;
1167 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1168 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1169 program_suffix=$ac_optarg ;;
1171 -program-transform-name | --program-transform-name \
1172 | --program-transform-nam | --program-transform-na \
1173 | --program-transform-n | --program-transform- \
1174 | --program-transform | --program-transfor \
1175 | --program-transfo | --program-transf \
1176 | --program-trans | --program-tran \
1177 | --progr-tra | --program-tr | --program-t)
1178 ac_prev=program_transform_name ;;
1179 -program-transform-name=* | --program-transform-name=* \
1180 | --program-transform-nam=* | --program-transform-na=* \
1181 | --program-transform-n=* | --program-transform-=* \
1182 | --program-transform=* | --program-transfor=* \
1183 | --program-transfo=* | --program-transf=* \
1184 | --program-trans=* | --program-tran=* \
1185 | --progr-tra=* | --program-tr=* | --program-t=*)
1186 program_transform_name=$ac_optarg ;;
1188 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1191 pdfdir=$ac_optarg ;;
1193 -psdir | --psdir | --psdi | --psd | --ps)
1195 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1199 | -silent | --silent | --silen | --sile | --sil)
1202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 sbindir=$ac_optarg ;;
1208 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1210 | --sharedst | --shareds | --shared | --share | --shar \
1212 ac_prev=sharedstatedir ;;
1213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 sharedstatedir=$ac_optarg ;;
1219 -site | --site | --sit)
1221 -site=* | --site=* | --sit=*)
1224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1227 srcdir=$ac_optarg ;;
1229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1230 | --syscon | --sysco | --sysc | --sys | --sy)
1231 ac_prev=sysconfdir ;;
1232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1234 sysconfdir=$ac_optarg ;;
1236 -target | --target | --targe | --targ | --tar | --ta | --t)
1237 ac_prev=target_alias ;;
1238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1239 target_alias=$ac_optarg ;;
1241 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244 -version | --version | --versio | --versi | --vers | -V)
1245 ac_init_version=: ;;
1248 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251 as_fn_error $? "invalid package name: $ac_useropt"
1252 ac_useropt_orig=$ac_useropt
1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1259 ac_unrecognized_sep=', ';;
1261 eval with_$ac_useropt=\$ac_optarg ;;
1263 -without-* | --without-*)
1264 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1267 as_fn_error $? "invalid package name: $ac_useropt"
1268 ac_useropt_orig=$ac_useropt
1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep=', ';;
1277 eval with_$ac_useropt=no ;;
1280 # Obsolete; use --with-x.
1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284 | --x-incl | --x-inc | --x-in | --x-i)
1285 ac_prev=x_includes ;;
1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288 x_includes=$ac_optarg ;;
1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292 ac_prev=x_libraries ;;
1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295 x_libraries=$ac_optarg ;;
1297 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1298 Try \`$0 --help' for more information"
1302 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1303 # Reject names that are not valid shell variable names.
1304 case $ac_envvar in #(
1305 '' | [0-9]* | *[!_$as_cr_alnum]* )
1306 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1308 eval $ac_envvar=\$ac_optarg
1309 export $ac_envvar ;;
1312 # FIXME: should be removed in autoconf 3.0.
1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1322 if test -n "$ac_prev"; then
1323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324 as_fn_error $? "missing argument to $ac_option"
1327 if test -n "$ac_unrecognized_opts"; then
1328 case $enable_option_checking in
1330 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335 # Check all directory arguments for consistency.
1336 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337 datadir sysconfdir sharedstatedir localstatedir includedir \
1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339 libdir localedir mandir
1341 eval ac_val=\$$ac_var
1342 # Remove trailing slashes.
1345 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346 eval $ac_var=\$ac_val;;
1348 # Be sure to have absolute directory names.
1350 [\\/$]* | ?:[\\/]* ) continue;;
1351 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1356 # There might be people who depend on the old broken behavior: `$host'
1357 # used to hold the argument of --host etc.
1358 # FIXME: To remove some day.
1361 target=$target_alias
1363 # FIXME: To remove some day.
1364 if test "x$host_alias" != x; then
1365 if test "x$build_alias" = x; then
1366 cross_compiling=maybe
1367 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1368 If a cross compiler is detected then cross compile mode will be used" >&2
1369 elif test "x$build_alias" != "x$host_alias"; then
1375 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1377 test "$silent" = yes && exec 6>/dev/null
1380 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1381 ac_ls_di=`ls -di .` &&
1382 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1383 as_fn_error $? "working directory cannot be determined"
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 as_fn_error $? "pwd does not report name of working directory"
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir=`$as_dirname -- "$as_myself" ||
1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$as_myself" : 'X\(//\)[^/]' \| \
1395 X"$as_myself" : 'X\(//\)$' \| \
1396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1397 $as_echo X"$as_myself" |
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1420 ac_srcdir_defaulted=no
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1424 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1430 # When building in place, set srcdir=.
1431 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 # Remove unnecessary trailing slashes from srcdir.
1435 # Double slashes in file names in object file debugging info
1436 # mess up M-x gdb in Emacs.
1438 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 for ac_var in $ac_precious_vars; do
1441 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1442 eval ac_env_${ac_var}_value=\$${ac_var}
1443 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1448 # Report the --help message.
1450 if test "$ac_init_help" = "long"; then
1451 # Omit some internal or obsolete options to make the list less imposing.
1452 # This message is too long to be a string in the A/UX 3.1 sh.
1454 \`configure' configures mech_eap 0.1 to adapt to many kinds of systems.
1456 Usage: $0 [OPTION]... [VAR=VALUE]...
1458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1459 VAR=VALUE. See below for descriptions of some of the useful variables.
1461 Defaults for the options are specified in brackets.
1464 -h, --help display this help and exit
1465 --help=short display options specific to this package
1466 --help=recursive display the short help of all the included packages
1467 -V, --version display version information and exit
1468 -q, --quiet, --silent do not print \`checking ...' messages
1469 --cache-file=FILE cache test results in FILE [disabled]
1470 -C, --config-cache alias for \`--cache-file=config.cache'
1471 -n, --no-create do not create output files
1472 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1474 Installation directories:
1475 --prefix=PREFIX install architecture-independent files in PREFIX
1476 [$ac_default_prefix]
1477 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 By default, \`make install' will install all the files in
1481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1483 for instance \`--prefix=\$HOME'.
1485 For better control, use the options below.
1487 Fine tuning of the installation directories:
1488 --bindir=DIR user executables [EPREFIX/bin]
1489 --sbindir=DIR system admin executables [EPREFIX/sbin]
1490 --libexecdir=DIR program executables [EPREFIX/libexec]
1491 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1492 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1493 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1494 --libdir=DIR object code libraries [EPREFIX/lib]
1495 --includedir=DIR C header files [PREFIX/include]
1496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1499 --infodir=DIR info documentation [DATAROOTDIR/info]
1500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1501 --mandir=DIR man documentation [DATAROOTDIR/man]
1502 --docdir=DIR documentation root [DATAROOTDIR/doc/mech_eap]
1503 --htmldir=DIR html documentation [DOCDIR]
1504 --dvidir=DIR dvi documentation [DOCDIR]
1505 --pdfdir=DIR pdf documentation [DOCDIR]
1506 --psdir=DIR ps documentation [DOCDIR]
1512 --program-prefix=PREFIX prepend PREFIX to installed program names
1513 --program-suffix=SUFFIX append SUFFIX to installed program names
1514 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 --build=BUILD configure for building on BUILD [guessed]
1518 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of mech_eap 0.1:";;
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-static[=PKGS] build static libraries [default=no]
1533 --enable-shared[=PKGS] build shared libraries [default=yes]
1534 --enable-fast-install[=PKGS]
1535 optimize for fast installation [default=yes]
1536 --disable-dependency-tracking speeds up one-time build
1537 --enable-dependency-tracking do not reject slow dependency extractors
1538 --disable-libtool-lock avoid locking (might break parallel builds)
1539 --enable-reauth whether to enable fast reauthentication protocol: yes/no; default no
1542 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1543 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1544 --with-pic try to use only PIC/non-PIC objects [default=use
1546 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1547 --with-krb5 Use krb5 (in specified installation directory)
1548 --with-shibsp Use shibspboleth (in specified installation
1550 --with-shibresolver Use Shibboleth resolver (in specified installation
1552 --with-radsec Use radsec (in specified installation directory)
1553 --with-jansson Use jansson (in specified installation directory)
1555 Some influential environment variables:
1556 CC C compiler command
1557 CFLAGS C compiler flags
1558 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1559 nonstandard directory <lib dir>
1560 LIBS libraries to pass to the linker, e.g. -l<library>
1561 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1562 you have headers in a nonstandard directory <include dir>
1564 CXX C++ compiler command
1565 CXXFLAGS C++ compiler flags
1566 CXXCPP C++ preprocessor
1568 Use these variables to override the choices made by `configure' or to help
1569 it to find libraries and programs with nonstandard names/locations.
1571 Report bugs to <bugs@project-moonshot.org>.
1576 if test "$ac_init_help" = "recursive"; then
1577 # If there are subdirs, report their specific --help.
1578 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579 test -d "$ac_dir" ||
1580 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1585 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1587 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1588 # A ".." for each directory in $ac_dir_suffix.
1589 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1590 case $ac_top_builddir_sub in
1591 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1595 ac_abs_top_builddir=$ac_pwd
1596 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1597 # for backward compatibility:
1598 ac_top_builddir=$ac_top_build_prefix
1601 .) # We are building in place.
1603 ac_top_srcdir=$ac_top_builddir_sub
1604 ac_abs_top_srcdir=$ac_pwd ;;
1605 [\\/]* | ?:[\\/]* ) # Absolute name.
1606 ac_srcdir=$srcdir$ac_dir_suffix;
1607 ac_top_srcdir=$srcdir
1608 ac_abs_top_srcdir=$srcdir ;;
1610 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1611 ac_top_srcdir=$ac_top_build_prefix$srcdir
1612 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1614 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1616 cd "$ac_dir" || { ac_status=$?; continue; }
1617 # Check for guested configure.
1618 if test -f "$ac_srcdir/configure.gnu"; then
1620 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1621 elif test -f "$ac_srcdir/configure"; then
1623 $SHELL "$ac_srcdir/configure" --help=recursive
1625 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1627 cd "$ac_pwd" || { ac_status=$?; break; }
1631 test -n "$ac_init_help" && exit $ac_status
1632 if $ac_init_version; then
1634 mech_eap configure 0.1
1635 generated by GNU Autoconf 2.67
1637 Copyright (C) 2010 Free Software Foundation, Inc.
1638 This configure script is free software; the Free Software Foundation
1639 gives unlimited permission to copy, distribute and modify it.
1644 ## ------------------------ ##
1645 ## Autoconf initialization. ##
1646 ## ------------------------ ##
1648 # ac_fn_c_try_compile LINENO
1649 # --------------------------
1650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_c_try_compile ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 rm -f conftest.$ac_objext
1655 if { { ac_try="$ac_compile"
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_compile") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest.$ac_objext; then :
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1682 as_fn_set_status $ac_retval
1684 } # ac_fn_c_try_compile
1686 # ac_fn_c_try_link LINENO
1687 # -----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded.
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 rm -f conftest.$ac_objext conftest$ac_exeext
1693 if { { ac_try="$ac_link"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest$ac_exeext && {
1712 test "$cross_compiling" = yes ||
1713 $as_test_x conftest$ac_exeext
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1722 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1723 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1724 # interfere with the next link command; also delete a directory that is
1725 # left behind by Apple's compiler. We do this before executing the actions.
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_c_try_link
1732 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733 # -------------------------------------------------------
1734 # Tests whether HEADER exists and can be compiled using the include files in
1735 # INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval "test \"\${$3+set}\"" = set; then :
1742 $as_echo_n "(cached) " >&6
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1749 if ac_fn_c_try_compile "$LINENO"; then :
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761 } # ac_fn_c_check_header_compile
1763 # ac_fn_c_try_cpp LINENO
1764 # ----------------------
1765 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_cpp conftest.$ac_ext"
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } > conftest.i && {
1785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 as_fn_set_status $ac_retval
1800 # ac_fn_c_try_run LINENO
1801 # ----------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1803 # that executables *can* be run.
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_link"
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>&5
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1818 { { case "(($ac_try" in
1819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820 *) ac_try_echo=$ac_try;;
1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823 $as_echo "$ac_try_echo"; } >&5
1824 (eval "$ac_try") 2>&5
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; }; }; then :
1830 $as_echo "$as_me: program exited with status $ac_status" >&5
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1834 ac_retval=$ac_status
1836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838 as_fn_set_status $ac_retval
1842 # ac_fn_c_check_func LINENO FUNC VAR
1843 # ----------------------------------
1844 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1845 ac_fn_c_check_func ()
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if eval "test \"\${$3+set}\"" = set; then :
1851 $as_echo_n "(cached) " >&6
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1855 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1857 #define $2 innocuous_$2
1859 /* System header to define __stub macros and hopefully few prototypes,
1860 which can conflict with char $2 (); below.
1861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1862 <limits.h> exists even on freestanding compilers. */
1865 # include <limits.h>
1867 # include <assert.h>
1872 /* Override any GCC internal prototype to avoid an error.
1873 Use char because int might match the return type of a GCC
1874 builtin and then its argument prototype would still apply. */
1879 /* The GNU C library defines this for functions which it implements
1880 to always fail with ENOSYS. Some functions are actually named
1881 something starting with __ and the normal name is an alias. */
1882 #if defined __stub_$2 || defined __stub___$2
1894 if ac_fn_c_try_link "$LINENO"; then :
1899 rm -f core conftest.err conftest.$ac_objext \
1900 conftest$ac_exeext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 } # ac_fn_c_check_func
1909 # ac_fn_cxx_try_compile LINENO
1910 # ----------------------------
1911 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1912 ac_fn_cxx_try_compile ()
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 rm -f conftest.$ac_objext
1916 if { { ac_try="$ac_compile"
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_compile") 2>conftest.err
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_cxx_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest.$ac_objext; then :
1937 $as_echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 as_fn_set_status $ac_retval
1945 } # ac_fn_cxx_try_compile
1947 # ac_fn_cxx_try_cpp LINENO
1948 # ------------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1950 ac_fn_cxx_try_cpp ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 if { { ac_try="$ac_cpp conftest.$ac_ext"
1955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956 *) ac_try_echo=$ac_try;;
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1962 if test -s conftest.err; then
1963 grep -v '^ *+' conftest.err >conftest.er1
1964 cat conftest.er1 >&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } > conftest.i && {
1969 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1970 test ! -s conftest.err
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980 as_fn_set_status $ac_retval
1982 } # ac_fn_cxx_try_cpp
1984 # ac_fn_cxx_try_link LINENO
1985 # -------------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_link ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext conftest$ac_exeext
1991 if { { ac_try="$ac_link"
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_link") 2>conftest.err
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest$ac_exeext && {
2010 test "$cross_compiling" = yes ||
2011 $as_test_x conftest$ac_exeext
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2020 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2021 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2022 # interfere with the next link command; also delete a directory that is
2023 # left behind by Apple's compiler. We do this before executing the actions.
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 as_fn_set_status $ac_retval
2028 } # ac_fn_cxx_try_link
2030 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2031 # -------------------------------------------------------
2032 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2033 # the include files in INCLUDES and setting the cache variable VAR
2035 ac_fn_c_check_header_mongrel ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 if eval "test \"\${$3+set}\"" = set; then :
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval "test \"\${$3+set}\"" = set; then :
2042 $as_echo_n "(cached) " >&6
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2048 # Is the header compilable?
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2050 $as_echo_n "checking $2 usability... " >&6; }
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057 ac_header_compiler=yes
2059 ac_header_compiler=no
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2063 $as_echo "$ac_header_compiler" >&6; }
2065 # Is the header present?
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2067 $as_echo_n "checking $2 presence... " >&6; }
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2072 if ac_fn_c_try_cpp "$LINENO"; then :
2073 ac_header_preproc=yes
2075 ac_header_preproc=no
2077 rm -f conftest.err conftest.i conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2079 $as_echo "$ac_header_preproc" >&6; }
2081 # So? What about this header?
2082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2085 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2091 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2093 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2095 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2097 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2100 ( $as_echo "## ---------------------------------------- ##
2101 ## Report this to bugs@project-moonshot.org ##
2102 ## ---------------------------------------- ##"
2103 ) | sed "s/^/$as_me: WARNING: /" >&2
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if eval "test \"\${$3+set}\"" = set; then :
2109 $as_echo_n "(cached) " >&6
2111 eval "$3=\$ac_header_compiler"
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2117 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2119 } # ac_fn_c_check_header_mongrel
2120 cat >config.log <<_ACEOF
2121 This file contains any messages produced by compilers while
2122 running configure, to aid debugging if configure makes a mistake.
2124 It was created by mech_eap $as_me 0.1, which was
2125 generated by GNU Autoconf 2.67. Invocation command line was
2137 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2138 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2139 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2140 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2141 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2143 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2144 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2146 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2147 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2148 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2149 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2150 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2151 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2152 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 $as_echo "PATH: $as_dir"
2177 # Keep a trace of the command line.
2178 # Strip out --no-create and --no-recursion so they do not pile up.
2179 # Strip out --silent because we don't want to record it for future runs.
2180 # Also quote any args containing shell meta-characters.
2181 # Make two passes to allow for proper duplicate-argument suppression.
2185 ac_must_keep_next=false
2191 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2193 | -silent | --silent | --silen | --sile | --sil)
2196 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2199 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2201 as_fn_append ac_configure_args1 " '$ac_arg'"
2202 if test $ac_must_keep_next = true; then
2203 ac_must_keep_next=false # Got value, back to normal.
2206 *=* | --config-cache | -C | -disable-* | --disable-* \
2207 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2208 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2209 | -with-* | --with-* | -without-* | --without-* | --x)
2210 case "$ac_configure_args0 " in
2211 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2214 -* ) ac_must_keep_next=true ;;
2217 as_fn_append ac_configure_args " '$ac_arg'"
2222 { ac_configure_args0=; unset ac_configure_args0;}
2223 { ac_configure_args1=; unset ac_configure_args1;}
2225 # When interrupted or exit'd, cleanup temporary files, and complete
2226 # config.log. We remove comments because anyway the quotes in there
2227 # would cause problems or look ugly.
2228 # WARNING: Use '\'' to represent an apostrophe within the trap.
2229 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2230 trap 'exit_status=$?
2231 # Save into config.log some information that might help in debugging.
2235 $as_echo "## ---------------- ##
2236 ## Cache variables. ##
2237 ## ---------------- ##"
2239 # The following way of writing the cache mishandles newlines in values,
2241 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2242 eval ac_val=\$$ac_var
2246 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2250 _ | IFS | as_nl) ;; #(
2251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2252 *) { eval $ac_var=; unset $ac_var;} ;;
2257 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2258 *${as_nl}ac_space=\ *)
2260 "s/'\''/'\''\\\\'\'''\''/g;
2261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2271 $as_echo "## ----------------- ##
2272 ## Output variables. ##
2273 ## ----------------- ##"
2275 for ac_var in $ac_subst_vars
2277 eval ac_val=\$$ac_var
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 $as_echo "$ac_var='\''$ac_val'\''"
2285 if test -n "$ac_subst_files"; then
2286 $as_echo "## ------------------- ##
2287 ## File substitutions. ##
2288 ## ------------------- ##"
2290 for ac_var in $ac_subst_files
2292 eval ac_val=\$$ac_var
2294 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 $as_echo "$ac_var='\''$ac_val'\''"
2301 if test -s confdefs.h; then
2302 $as_echo "## ----------- ##
2309 test "$ac_signal" != 0 &&
2310 $as_echo "$as_me: caught signal $ac_signal"
2311 $as_echo "$as_me: exit $exit_status"
2313 rm -f core *.core core.conftest.* &&
2314 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2317 for ac_signal in 1 2 13 15; do
2318 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2322 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2323 rm -f -r conftest* confdefs.h
2325 $as_echo "/* confdefs.h */" > confdefs.h
2327 # Predefined preprocessor variables.
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_NAME "$PACKAGE_NAME"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_STRING "$PACKAGE_STRING"
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_URL "$PACKAGE_URL"
2354 # Let the site file select an alternate cache file if it wants to.
2355 # Prefer an explicitly selected file to automatically selected ones.
2358 if test -n "$CONFIG_SITE"; then
2359 # We do not want a PATH search for config.site.
2360 case $CONFIG_SITE in #((
2361 -*) ac_site_file1=./$CONFIG_SITE;;
2362 */*) ac_site_file1=$CONFIG_SITE;;
2363 *) ac_site_file1=./$CONFIG_SITE;;
2365 elif test "x$prefix" != xNONE; then
2366 ac_site_file1=$prefix/share/config.site
2367 ac_site_file2=$prefix/etc/config.site
2369 ac_site_file1=$ac_default_prefix/share/config.site
2370 ac_site_file2=$ac_default_prefix/etc/config.site
2372 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2374 test "x$ac_site_file" = xNONE && continue
2375 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2377 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2378 sed 's/^/| /' "$ac_site_file" >&5
2380 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2382 as_fn_error $? "failed to load site script $ac_site_file
2383 See \`config.log' for more details" "$LINENO" 5 ; }
2387 if test -r "$cache_file"; then
2388 # Some versions of bash will fail to source /dev/null (special files
2389 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2390 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2392 $as_echo "$as_me: loading cache $cache_file" >&6;}
2394 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2395 *) . "./$cache_file";;
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2400 $as_echo "$as_me: creating cache $cache_file" >&6;}
2404 # Check that the precious variables saved in the cache have kept the same
2406 ac_cache_corrupted=false
2407 for ac_var in $ac_precious_vars; do
2408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2409 eval ac_new_set=\$ac_env_${ac_var}_set
2410 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2411 eval ac_new_val=\$ac_env_${ac_var}_value
2412 case $ac_old_set,$ac_new_set in
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2415 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2416 ac_cache_corrupted=: ;;
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2419 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2420 ac_cache_corrupted=: ;;
2423 if test "x$ac_old_val" != "x$ac_new_val"; then
2424 # differences in whitespace do not lead to failure.
2425 ac_old_val_w=`echo x $ac_old_val`
2426 ac_new_val_w=`echo x $ac_new_val`
2427 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2429 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2430 ac_cache_corrupted=:
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2433 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2434 eval $ac_var=\$ac_old_val
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2437 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2439 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2442 # Pass precious variables to config.status.
2443 if test "$ac_new_set" = set; then
2445 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2446 *) ac_arg=$ac_var=$ac_new_val ;;
2448 case " $ac_configure_args " in
2449 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2450 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2454 if $ac_cache_corrupted; then
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2458 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2459 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2461 ## -------------------- ##
2462 ## Main body of script. ##
2463 ## -------------------- ##
2466 ac_cpp='$CPP $CPPFLAGS'
2467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2472 am__api_version='1.11'
2475 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2476 if test -f "$ac_dir/install-sh"; then
2478 ac_install_sh="$ac_aux_dir/install-sh -c"
2480 elif test -f "$ac_dir/install.sh"; then
2482 ac_install_sh="$ac_aux_dir/install.sh -c"
2484 elif test -f "$ac_dir/shtool"; then
2486 ac_install_sh="$ac_aux_dir/shtool install -c"
2490 if test -z "$ac_aux_dir"; then
2491 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2494 # These three variables are undocumented and unsupported,
2495 # and are intended to be withdrawn in a future Autoconf release.
2496 # They can cause serious problems if a builder's source tree is in a directory
2497 # whose full name contains unusual characters.
2498 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2499 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2500 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2503 # Find a good install program. We prefer a C program (faster),
2504 # so one script is as good as another. But avoid the broken or
2505 # incompatible versions:
2506 # SysV /etc/install, /usr/sbin/install
2507 # SunOS /usr/etc/install
2508 # IRIX /sbin/install
2510 # AmigaOS /C/install, which installs bootblocks on floppy discs
2511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2514 # OS/2's system install, which has a completely different semantic
2515 # ./install, which can be erroneously created by make from ./install.sh.
2516 # Reject install programs that cannot install multiple files.
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2518 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2519 if test -z "$INSTALL"; then
2520 if test "${ac_cv_path_install+set}" = set; then :
2521 $as_echo_n "(cached) " >&6
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir=.
2528 # Account for people who put trailing slashes in PATH elements.
2529 case $as_dir/ in #((
2530 ./ | .// | /[cC]/* | \
2531 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2532 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2535 # OSF1 and SCO ODT 3.0 have their own names for install.
2536 # Don't use installbsd from OSF since it installs stuff as root
2538 for ac_prog in ginstall scoinst install; do
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2541 if test $ac_prog = install &&
2542 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2543 # AIX install. It has an incompatible calling convention.
2545 elif test $ac_prog = install &&
2546 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2547 # program-specific install script used by HP pwplus--don't use.
2550 rm -rf conftest.one conftest.two conftest.dir
2551 echo one > conftest.one
2552 echo two > conftest.two
2554 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2555 test -s conftest.one && test -s conftest.two &&
2556 test -s conftest.dir/conftest.one &&
2557 test -s conftest.dir/conftest.two
2559 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2572 rm -rf conftest.one conftest.two conftest.dir
2575 if test "${ac_cv_path_install+set}" = set; then
2576 INSTALL=$ac_cv_path_install
2578 # As a last resort, use the slow shell script. Don't cache a
2579 # value for INSTALL within a source directory, because that will
2580 # break other packages using the cache if that directory is
2581 # removed, or if the value is a relative name.
2582 INSTALL=$ac_install_sh
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2586 $as_echo "$INSTALL" >&6; }
2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2589 # It thinks the first close brace ends the variable substitution.
2590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2594 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2597 $as_echo_n "checking whether build environment is sane... " >&6; }
2600 echo timestamp > conftest.file
2601 # Reject unsafe characters in $srcdir or the absolute working directory
2602 # name. Accept space and tab only in the latter.
2606 *[\\\"\#\$\&\'\`$am_lf]*)
2607 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2610 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2611 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2614 # Do `set' in a subshell so we don't clobber the current shell's
2615 # arguments. Must try -L first in case configure is actually a
2616 # symlink; some systems play weird games with the mod time of symlinks
2617 # (eg FreeBSD returns the mod time of the symlink's containing
2620 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2621 if test "$*" = "X"; then
2623 set X `ls -t "$srcdir/configure" conftest.file`
2626 if test "$*" != "X $srcdir/configure conftest.file" \
2627 && test "$*" != "X conftest.file $srcdir/configure"; then
2629 # If neither matched, then we have a broken ls. This can happen
2630 # if, for instance, CONFIG_SHELL is bash and it inherits a
2631 # broken ls alias from the environment. This has actually
2632 # happened. Such a system could not be considered "sane".
2633 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2634 alias in your environment" "$LINENO" 5
2637 test "$2" = conftest.file
2643 as_fn_error $? "newly created file is older than distributed files!
2644 Check your system clock" "$LINENO" 5
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2647 $as_echo "yes" >&6; }
2648 test "$program_prefix" != NONE &&
2649 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650 # Use a double $ so make ignores it.
2651 test "$program_suffix" != NONE &&
2652 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2653 # Double any \ or $.
2654 # By default was `s,x,x', remove it if useless.
2655 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2656 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2658 # expand $ac_aux_dir to an absolute path
2659 am_aux_dir=`cd $ac_aux_dir && pwd`
2661 if test x"${MISSING+set}" != xset; then
2664 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2666 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2669 # Use eval to expand $SHELL
2670 if eval "$MISSING --run true"; then
2671 am_missing_run="$MISSING --run "
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2675 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2678 if test x"${install_sh}" != xset; then
2681 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2683 install_sh="\${SHELL} $am_aux_dir/install-sh"
2687 # Installed binaries are usually stripped using `strip' when the user
2688 # run `make install-strip'. However `strip' might not be the right
2689 # tool to use in cross-compilation environments, therefore Automake
2690 # will honor the `STRIP' environment variable to overrule this program.
2691 if test "$cross_compiling" != no; then
2692 if test -n "$ac_tool_prefix"; then
2693 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2694 set dummy ${ac_tool_prefix}strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if test "${ac_cv_prog_STRIP+set}" = set; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$STRIP"; then
2701 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 STRIP=$ac_cv_prog_STRIP
2721 if test -n "$STRIP"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2723 $as_echo "$STRIP" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2731 if test -z "$ac_cv_prog_STRIP"; then
2733 # Extract the first word of "strip", so it can be a program name with args.
2734 set dummy strip; ac_word=$2
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736 $as_echo_n "checking for $ac_word... " >&6; }
2737 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2738 $as_echo_n "(cached) " >&6
2740 if test -n "$ac_ct_STRIP"; then
2741 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_ac_ct_STRIP="strip"
2751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2761 if test -n "$ac_ct_STRIP"; then
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2763 $as_echo "$ac_ct_STRIP" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766 $as_echo "no" >&6; }
2769 if test "x$ac_ct_STRIP" = x; then
2772 case $cross_compiling:$ac_tool_warned in
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2776 ac_tool_warned=yes ;;
2781 STRIP="$ac_cv_prog_STRIP"
2785 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789 if test -z "$MKDIR_P"; then
2790 if test "${ac_cv_path_mkdir+set}" = set; then :
2791 $as_echo_n "(cached) " >&6
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2797 test -z "$as_dir" && as_dir=.
2798 for ac_prog in mkdir gmkdir; do
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2801 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802 'mkdir (GNU coreutils) '* | \
2803 'mkdir (coreutils) '* | \
2804 'mkdir (fileutils) '4.1*)
2805 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2815 test -d ./--version && rmdir ./--version
2816 if test "${ac_cv_path_mkdir+set}" = set; then
2817 MKDIR_P="$ac_cv_path_mkdir -p"
2819 # As a last resort, use the slow shell script. Don't cache a
2820 # value for MKDIR_P within a source directory, because that will
2821 # break other packages using the cache if that directory is
2822 # removed, or if the value is a relative name.
2823 MKDIR_P="$ac_install_sh -d"
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827 $as_echo "$MKDIR_P" >&6; }
2831 [\\/$]* | ?:[\\/]*) ;;
2832 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2835 for ac_prog in gawk mawk nawk awk
2837 # Extract the first word of "$ac_prog", so it can be a program name with args.
2838 set dummy $ac_prog; ac_word=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if test "${ac_cv_prog_AWK+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$AWK"; then
2845 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 ac_cv_prog_AWK="$ac_prog"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$AWK"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2867 $as_echo "$AWK" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2874 test -n "$AWK" && break
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2878 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2880 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2881 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 cat >conftest.make <<\_ACEOF
2887 @echo '@@@%%%=$(MAKE)=@@@%%%'
2889 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2890 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2892 eval ac_cv_prog_make_${ac_make}_set=yes;;
2894 eval ac_cv_prog_make_${ac_make}_set=no;;
2898 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2900 $as_echo "yes" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2905 SET_MAKE="MAKE=${MAKE-make}"
2908 rm -rf .tst 2>/dev/null
2909 mkdir .tst 2>/dev/null
2910 if test -d .tst; then
2915 rmdir .tst 2>/dev/null
2917 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2918 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2919 # is not polluted with repeated "-I."
2920 am__isrc=' -I$(srcdir)'
2921 # test to see if srcdir already configured
2922 if test -f $srcdir/config.status; then
2923 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2927 # test whether we have cygpath
2928 if test -z "$CYGPATH_W"; then
2929 if (cygpath --version) >/dev/null 2>/dev/null; then
2930 CYGPATH_W='cygpath -w'
2937 # Define the identity of the package.
2942 cat >>confdefs.h <<_ACEOF
2943 #define PACKAGE "$PACKAGE"
2947 cat >>confdefs.h <<_ACEOF
2948 #define VERSION "$VERSION"
2951 # Some tools Automake needs.
2953 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2956 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2959 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2962 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2965 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2967 # We need awk for the "check" target. The system "awk" is bad on
2969 # Always define AMTAR for backward compatibility.
2971 AMTAR=${AMTAR-"${am_missing_run}tar"}
2973 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2983 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2988 macro_version='2.2.6b'
2989 macro_revision='1.3017'
3003 ltmain="$ac_aux_dir/ltmain.sh"
3005 # Make sure we can run config.sub.
3006 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3007 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3010 $as_echo_n "checking build system type... " >&6; }
3011 if test "${ac_cv_build+set}" = set; then :
3012 $as_echo_n "(cached) " >&6
3014 ac_build_alias=$build_alias
3015 test "x$ac_build_alias" = x &&
3016 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3017 test "x$ac_build_alias" = x &&
3018 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3019 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3020 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3024 $as_echo "$ac_cv_build" >&6; }
3025 case $ac_cv_build in
3027 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3030 ac_save_IFS=$IFS; IFS='-'
3036 # Remember, the first character of IFS is used to create $*,
3037 # except with old shells:
3040 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3044 $as_echo_n "checking host system type... " >&6; }
3045 if test "${ac_cv_host+set}" = set; then :
3046 $as_echo_n "(cached) " >&6
3048 if test "x$host_alias" = x; then
3049 ac_cv_host=$ac_cv_build
3051 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3052 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3057 $as_echo "$ac_cv_host" >&6; }
3060 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3063 ac_save_IFS=$IFS; IFS='-'
3069 # Remember, the first character of IFS is used to create $*,
3070 # except with old shells:
3073 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3076 DEPDIR="${am__leading_dot}deps"
3078 ac_config_commands="$ac_config_commands depfiles"
3081 am_make=${MAKE-make}
3082 cat > confinc << 'END'
3084 @echo this is the am__doit target
3087 # If we don't find an include directive, just comment out the code.
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3089 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3093 # First try GNU make style include.
3094 echo "include confinc" > confmf
3095 # Ignore all kinds of additional output from `make'.
3096 case `$am_make -s -f confmf 2> /dev/null` in #(
3097 *the\ am__doit\ target*)
3103 # Now try BSD make style include.
3104 if test "$am__include" = "#"; then
3105 echo '.include "confinc"' > confmf
3106 case `$am_make -s -f confmf 2> /dev/null` in #(
3107 *the\ am__doit\ target*)
3108 am__include=.include
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3117 $as_echo "$_am_result" >&6; }
3118 rm -f confinc confmf
3120 # Check whether --enable-dependency-tracking was given.
3121 if test "${enable_dependency_tracking+set}" = set; then :
3122 enableval=$enable_dependency_tracking;
3125 if test "x$enable_dependency_tracking" != xno; then
3126 am_depcomp="$ac_aux_dir/depcomp"
3129 if test "x$enable_dependency_tracking" != xno; then
3139 ac_cpp='$CPP $CPPFLAGS'
3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3143 if test -n "$ac_tool_prefix"; then
3144 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3145 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if test "${ac_cv_prog_CC+set}" = set; then :
3149 $as_echo_n "(cached) " >&6
3151 if test -n "$CC"; then
3152 ac_cv_prog_CC="$CC" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 if test -n "$CC"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3174 $as_echo "$CC" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3182 if test -z "$ac_cv_prog_CC"; then
3184 # Extract the first word of "gcc", so it can be a program name with args.
3185 set dummy gcc; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$ac_ct_CC"; then
3192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201 ac_cv_prog_ac_ct_CC="gcc"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3212 if test -n "$ac_ct_CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3214 $as_echo "$ac_ct_CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3220 if test "x$ac_ct_CC" = x; then
3223 case $cross_compiling:$ac_tool_warned in
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3227 ac_tool_warned=yes ;;
3235 if test -z "$CC"; then
3236 if test -n "$ac_tool_prefix"; then
3237 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3238 set dummy ${ac_tool_prefix}cc; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if test "${ac_cv_prog_CC+set}" = set; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$CC"; then
3245 ac_cv_prog_CC="$CC" # Let the user override the test.
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 ac_cv_prog_CC="${ac_tool_prefix}cc"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 if test -n "$CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3267 $as_echo "$CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3276 if test -z "$CC"; then
3277 # Extract the first word of "cc", so it can be a program name with args.
3278 set dummy cc; ac_word=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if test "${ac_cv_prog_CC+set}" = set; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3296 ac_prog_rejected=yes
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 if test $ac_prog_rejected = yes; then
3308 # We found a bogon in the path, so make sure we never use it.
3309 set dummy $ac_cv_prog_CC
3311 if test $# != 0; then
3312 # We chose a different compiler from the bogus one.
3313 # However, it has the same basename, so the bogon will be chosen
3314 # first if we set CC to just the basename; use the full file name.
3316 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3322 if test -n "$CC"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324 $as_echo "$CC" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3332 if test -z "$CC"; then
3333 if test -n "$ac_tool_prefix"; then
3334 for ac_prog in cl.exe
3336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if test "${ac_cv_prog_CC+set}" = set; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$CC"; then
3344 ac_cv_prog_CC="$CC" # Let the user override the test.
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 if test -n "$CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3366 $as_echo "$CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3373 test -n "$CC" && break
3376 if test -z "$CC"; then
3378 for ac_prog in cl.exe
3380 # Extract the first word of "$ac_prog", so it can be a program name with args.
3381 set dummy $ac_prog; ac_word=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3385 $as_echo_n "(cached) " >&6
3387 if test -n "$ac_ct_CC"; then
3388 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir=.
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3397 ac_cv_prog_ac_ct_CC="$ac_prog"
3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3408 if test -n "$ac_ct_CC"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3410 $as_echo "$ac_ct_CC" >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3417 test -n "$ac_ct_CC" && break
3420 if test "x$ac_ct_CC" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3436 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438 as_fn_error $? "no acceptable C compiler found in \$PATH
3439 See \`config.log' for more details" "$LINENO" 5 ; }
3441 # Provide some information about the compiler.
3442 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3445 for ac_option in --version -v -V -qversion; do
3446 { { ac_try="$ac_compiler $ac_option >&5"
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3455 if test -s conftest.err; then
3457 ... rest of stderr output deleted ...
3458 10q' conftest.err >conftest.er1
3459 cat conftest.er1 >&5
3461 rm -f conftest.er1 conftest.err
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 ac_clean_files_save=$ac_clean_files
3478 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3479 # Try to create an executable without -o first, disregard a.out.
3480 # It will help us diagnose broken compilers, and finding out an intuition
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3483 $as_echo_n "checking whether the C compiler works... " >&6; }
3484 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3486 # The possible output files:
3487 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3490 for ac_file in $ac_files
3493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3494 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3499 if { { ac_try="$ac_link_default"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3505 $as_echo "$ac_try_echo"; } >&5
3506 (eval "$ac_link_default") 2>&5
3508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3509 test $ac_status = 0; }; then :
3510 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3511 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3512 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3513 # so that the user can short-circuit this test for compilers unknown to
3515 for ac_file in $ac_files ''
3517 test -f "$ac_file" || continue
3519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3522 # We found the default executable, but exeext='' is most
3526 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3528 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3530 # We set ac_cv_exeext here because the later test for it is not
3531 # safe: cross compilers may not add the suffix if given an `-o'
3532 # argument, so we may need to know it at that point already.
3533 # Even if this section looks crufty: it has the advantage of
3540 test "$ac_cv_exeext" = no && ac_cv_exeext=
3545 if test -z "$ac_file"; then :
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3548 $as_echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error 77 "C compiler cannot create executables
3554 See \`config.log' for more details" "$LINENO" 5 ; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3557 $as_echo "yes" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3560 $as_echo_n "checking for C compiler default output file name... " >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3562 $as_echo "$ac_file" >&6; }
3563 ac_exeext=$ac_cv_exeext
3565 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3566 ac_clean_files=$ac_clean_files_save
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3568 $as_echo_n "checking for suffix of executables... " >&6; }
3569 if { { ac_try="$ac_link"
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575 $as_echo "$ac_try_echo"; } >&5
3576 (eval "$ac_link") 2>&5
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }; then :
3580 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3581 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3582 # work properly (i.e., refer to `conftest.exe'), while it won't with
3584 for ac_file in conftest.exe conftest conftest.*; do
3585 test -f "$ac_file" || continue
3587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3588 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3596 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3597 See \`config.log' for more details" "$LINENO" 5 ; }
3599 rm -f conftest conftest$ac_cv_exeext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3601 $as_echo "$ac_cv_exeext" >&6; }
3603 rm -f conftest.$ac_ext
3604 EXEEXT=$ac_cv_exeext
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3612 FILE *f = fopen ("conftest.out", "w");
3613 return ferror (f) || fclose (f) != 0;
3619 ac_clean_files="$ac_clean_files conftest.out"
3620 # Check that the compiler produces executables we can run. If not, either
3621 # the compiler is broken, or we cross compile.
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3623 $as_echo_n "checking whether we are cross compiling... " >&6; }
3624 if test "$cross_compiling" != yes; then
3625 { { ac_try="$ac_link"
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632 (eval "$ac_link") 2>&5
3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }
3636 if { ac_try='./conftest$ac_cv_exeext'
3637 { { case "(($ac_try" in
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_try") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }; }; then
3649 if test "$cross_compiling" = maybe; then
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "cannot run C compiled programs.
3655 If you meant to cross compile, use \`--host'.
3656 See \`config.log' for more details" "$LINENO" 5 ; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3661 $as_echo "$cross_compiling" >&6; }
3663 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3664 ac_clean_files=$ac_clean_files_save
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3666 $as_echo_n "checking for suffix of object files... " >&6; }
3667 if test "${ac_cv_objext+set}" = set; then :
3668 $as_echo_n "(cached) " >&6
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3681 rm -f conftest.o conftest.obj
3682 if { { ac_try="$ac_compile"
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 $as_echo "$ac_try_echo"; } >&5
3689 (eval "$ac_compile") 2>&5
3691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 test $ac_status = 0; }; then :
3693 for ac_file in conftest.o conftest.obj conftest.*; do
3694 test -f "$ac_file" || continue;
3696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3697 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3702 $as_echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error $? "cannot compute suffix of object files: cannot compile
3708 See \`config.log' for more details" "$LINENO" 5 ; }
3710 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3713 $as_echo "$ac_cv_objext" >&6; }
3714 OBJEXT=$ac_cv_objext
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3717 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3718 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3719 $as_echo_n "(cached) " >&6
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3735 if ac_fn_c_try_compile "$LINENO"; then :
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3745 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3746 if test $ac_compiler_gnu = yes; then
3751 ac_test_CFLAGS=${CFLAGS+set}
3752 ac_save_CFLAGS=$CFLAGS
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3754 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3755 if test "${ac_cv_prog_cc_g+set}" = set; then :
3756 $as_echo_n "(cached) " >&6
3758 ac_save_c_werror_flag=$ac_c_werror_flag
3759 ac_c_werror_flag=yes
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3791 ac_c_werror_flag=$ac_save_c_werror_flag
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 ac_c_werror_flag=$ac_save_c_werror_flag
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3815 $as_echo "$ac_cv_prog_cc_g" >&6; }
3816 if test "$ac_test_CFLAGS" = set; then
3817 CFLAGS=$ac_save_CFLAGS
3818 elif test $ac_cv_prog_cc_g = yes; then
3819 if test "$GCC" = yes; then
3825 if test "$GCC" = yes; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3833 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 ac_cv_prog_cc_c89=no
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3842 #include <sys/types.h>
3843 #include <sys/stat.h>
3844 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3845 struct buf { int x; };
3846 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3847 static char *e (p, i)
3853 static char *f (char * (*g) (char **, int), char **p, ...)
3858 s = g (p, va_arg (v,int));
3863 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3864 function prototypes and stuff, but not '\xHH' hex character constants.
3865 These don't provoke an error unfortunately, instead are silently treated
3866 as 'x'. The following induces an error, until -std is added to get
3867 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3868 array size at least. It's necessary to write '\x00'==0 to get something
3869 that's true only with -std. */
3870 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3872 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3873 inside strings and character constants. */
3875 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3877 int test (int i, double x);
3878 struct s1 {int (*f) (int a);};
3879 struct s2 {int (*f) (double a);};
3880 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3886 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3891 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3892 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3894 CC="$ac_save_CC $ac_arg"
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_cv_prog_cc_c89=$ac_arg
3898 rm -f core conftest.err conftest.$ac_objext
3899 test "x$ac_cv_prog_cc_c89" != "xno" && break
3901 rm -f conftest.$ac_ext
3906 case "x$ac_cv_prog_cc_c89" in
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3909 $as_echo "none needed" >&6; } ;;
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3912 $as_echo "unsupported" >&6; } ;;
3914 CC="$CC $ac_cv_prog_cc_c89"
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3916 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3918 if test "x$ac_cv_prog_cc_c89" != xno; then :
3923 ac_cpp='$CPP $CPPFLAGS'
3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928 depcc="$CC" am_compiler_list=
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3931 $as_echo_n "checking dependency style of $depcc... " >&6; }
3932 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3936 # We make a subdir and do the tests there. Otherwise we can end up
3937 # making bogus files that we don't know about and never remove. For
3938 # instance it was reported that on HP-UX the gcc test will end up
3939 # making a dummy file named `D' -- because `-MD' means `put the output
3942 # Copy depcomp to subdir because otherwise we won't find it if we're
3943 # using a relative directory.
3944 cp "$am_depcomp" conftest.dir
3946 # We will build objects and dependencies in a subdirectory because
3947 # it helps to detect inapplicable dependency modes. For instance
3948 # both Tru64's cc and ICC support -MD to output dependencies as a
3949 # side effect of compilation, but ICC will put the dependencies in
3950 # the current directory while Tru64 will put them in the object
3954 am_cv_CC_dependencies_compiler_type=none
3955 if test "$am_compiler_list" = ""; then
3956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3959 case " $depcc " in #(
3960 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3963 for depmode in $am_compiler_list; do
3964 # Setup a source with many dependencies, because some compilers
3965 # like to wrap large dependency lists on column 80 (with \), and
3966 # we should not choose a depcomp mode which is confused by this.
3968 # We need to recreate these files for each test, as the compiler may
3969 # overwrite some of them when testing with obscure command lines.
3970 # This happens at least with the AIX C compiler.
3972 for i in 1 2 3 4 5 6; do
3973 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3974 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3975 # Solaris 8's {/usr,}/bin/sh.
3976 touch sub/conftst$i.h
3978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3980 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3981 # mode. It turns out that the SunPro C++ compiler does not properly
3982 # handle `-M -o', and we need to detect this. Also, some Intel
3983 # versions had trouble with output in subdirs
3984 am__obj=sub/conftest.${OBJEXT-o}
3985 am__minus_obj="-o $am__obj"
3988 # This depmode causes a compiler race in universal mode.
3989 test "$am__universal" = false || continue
3992 # after this tag, mechanisms are not by side-effect, so they'll
3993 # only be used when explicitly requested
3994 if test "x$enable_dependency_tracking" = xyes; then
4000 msvisualcpp | msvcmsys)
4001 # This compiler won't grok `-c -o', but also, the minuso test has
4002 # not run yet. These depmodes are late enough in the game, and
4003 # so weak that their functioning should not be impacted.
4004 am__obj=conftest.${OBJEXT-o}
4009 if depmode=$depmode \
4010 source=sub/conftest.c object=$am__obj \
4011 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4012 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4013 >/dev/null 2>conftest.err &&
4014 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4016 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4018 # icc doesn't choke on unknown options, it will just issue warnings
4019 # or remarks (even with -Werror). So we grep stderr for any message
4020 # that says an option was ignored or not supported.
4021 # When given -MP, icc 7.0 and 7.1 complain thusly:
4022 # icc: Command line warning: ignoring option '-M'; no argument required
4023 # The diagnosis changed in icc 8.0:
4024 # icc: Command line remark: option '-MP' not supported
4025 if (grep 'ignoring option' conftest.err ||
4026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4027 am_cv_CC_dependencies_compiler_type=$depmode
4036 am_cv_CC_dependencies_compiler_type=none
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4045 test "x$enable_dependency_tracking" != xno \
4046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4048 am__fastdepCC_FALSE='#'
4050 am__fastdepCC_TRUE='#'
4051 am__fastdepCC_FALSE=
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4056 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4057 if test "${ac_cv_path_SED+set}" = set; then :
4058 $as_echo_n "(cached) " >&6
4060 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4061 for ac_i in 1 2 3 4 5 6 7; do
4062 ac_script="$ac_script$as_nl$ac_script"
4064 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4065 { ac_script=; unset ac_script;}
4066 if test -z "$SED"; then
4067 ac_path_SED_found=false
4068 # Loop through the user's path and test for each of PROGNAME-LIST
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir=.
4074 for ac_prog in sed gsed; do
4075 for ac_exec_ext in '' $ac_executable_extensions; do
4076 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4077 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4078 # Check for GNU ac_path_SED and select it if it is found.
4079 # Check for GNU $ac_path_SED
4080 case `"$ac_path_SED" --version 2>&1` in
4082 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4085 $as_echo_n 0123456789 >"conftest.in"
4088 cat "conftest.in" "conftest.in" >"conftest.tmp"
4089 mv "conftest.tmp" "conftest.in"
4090 cp "conftest.in" "conftest.nl"
4091 $as_echo '' >> "conftest.nl"
4092 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4093 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4094 as_fn_arith $ac_count + 1 && ac_count=$as_val
4095 if test $ac_count -gt ${ac_path_SED_max-0}; then
4096 # Best one so far, save it but keep looking for a better one
4097 ac_cv_path_SED="$ac_path_SED"
4098 ac_path_SED_max=$ac_count
4100 # 10*(2^10) chars as input seems more than enough
4101 test $ac_count -gt 10 && break
4103 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4106 $ac_path_SED_found && break 3
4111 if test -z "$ac_cv_path_SED"; then
4112 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4120 $as_echo "$ac_cv_path_SED" >&6; }
4121 SED="$ac_cv_path_SED"
4124 test -z "$SED" && SED=sed
4125 Xsed="$SED -e 1s/^X//"
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4138 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4139 if test "${ac_cv_path_GREP+set}" = set; then :
4140 $as_echo_n "(cached) " >&6
4142 if test -z "$GREP"; then
4143 ac_path_GREP_found=false
4144 # Loop through the user's path and test for each of PROGNAME-LIST
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4149 test -z "$as_dir" && as_dir=.
4150 for ac_prog in grep ggrep; do
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4153 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4154 # Check for GNU ac_path_GREP and select it if it is found.
4155 # Check for GNU $ac_path_GREP
4156 case `"$ac_path_GREP" --version 2>&1` in
4158 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4161 $as_echo_n 0123456789 >"conftest.in"
4164 cat "conftest.in" "conftest.in" >"conftest.tmp"
4165 mv "conftest.tmp" "conftest.in"
4166 cp "conftest.in" "conftest.nl"
4167 $as_echo 'GREP' >> "conftest.nl"
4168 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4170 as_fn_arith $ac_count + 1 && ac_count=$as_val
4171 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4172 # Best one so far, save it but keep looking for a better one
4173 ac_cv_path_GREP="$ac_path_GREP"
4174 ac_path_GREP_max=$ac_count
4176 # 10*(2^10) chars as input seems more than enough
4177 test $ac_count -gt 10 && break
4179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4182 $ac_path_GREP_found && break 3
4187 if test -z "$ac_cv_path_GREP"; then
4188 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4191 ac_cv_path_GREP=$GREP
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4196 $as_echo "$ac_cv_path_GREP" >&6; }
4197 GREP="$ac_cv_path_GREP"
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4201 $as_echo_n "checking for egrep... " >&6; }
4202 if test "${ac_cv_path_EGREP+set}" = set; then :
4203 $as_echo_n "(cached) " >&6
4205 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4206 then ac_cv_path_EGREP="$GREP -E"
4208 if test -z "$EGREP"; then
4209 ac_path_EGREP_found=false
4210 # Loop through the user's path and test for each of PROGNAME-LIST
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4215 test -z "$as_dir" && as_dir=.
4216 for ac_prog in egrep; do
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4219 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4220 # Check for GNU ac_path_EGREP and select it if it is found.
4221 # Check for GNU $ac_path_EGREP
4222 case `"$ac_path_EGREP" --version 2>&1` in
4224 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4227 $as_echo_n 0123456789 >"conftest.in"
4230 cat "conftest.in" "conftest.in" >"conftest.tmp"
4231 mv "conftest.tmp" "conftest.in"
4232 cp "conftest.in" "conftest.nl"
4233 $as_echo 'EGREP' >> "conftest.nl"
4234 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236 as_fn_arith $ac_count + 1 && ac_count=$as_val
4237 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4238 # Best one so far, save it but keep looking for a better one
4239 ac_cv_path_EGREP="$ac_path_EGREP"
4240 ac_path_EGREP_max=$ac_count
4242 # 10*(2^10) chars as input seems more than enough
4243 test $ac_count -gt 10 && break
4245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4248 $ac_path_EGREP_found && break 3
4253 if test -z "$ac_cv_path_EGREP"; then
4254 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4257 ac_cv_path_EGREP=$EGREP
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4263 $as_echo "$ac_cv_path_EGREP" >&6; }
4264 EGREP="$ac_cv_path_EGREP"
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4268 $as_echo_n "checking for fgrep... " >&6; }
4269 if test "${ac_cv_path_FGREP+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4273 then ac_cv_path_FGREP="$GREP -F"
4275 if test -z "$FGREP"; then
4276 ac_path_FGREP_found=false
4277 # Loop through the user's path and test for each of PROGNAME-LIST
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4282 test -z "$as_dir" && as_dir=.
4283 for ac_prog in fgrep; do
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4286 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4287 # Check for GNU ac_path_FGREP and select it if it is found.
4288 # Check for GNU $ac_path_FGREP
4289 case `"$ac_path_FGREP" --version 2>&1` in
4291 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4294 $as_echo_n 0123456789 >"conftest.in"
4297 cat "conftest.in" "conftest.in" >"conftest.tmp"
4298 mv "conftest.tmp" "conftest.in"
4299 cp "conftest.in" "conftest.nl"
4300 $as_echo 'FGREP' >> "conftest.nl"
4301 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4302 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4303 as_fn_arith $ac_count + 1 && ac_count=$as_val
4304 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4305 # Best one so far, save it but keep looking for a better one
4306 ac_cv_path_FGREP="$ac_path_FGREP"
4307 ac_path_FGREP_max=$ac_count
4309 # 10*(2^10) chars as input seems more than enough
4310 test $ac_count -gt 10 && break
4312 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4315 $ac_path_FGREP_found && break 3
4320 if test -z "$ac_cv_path_FGREP"; then
4321 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4324 ac_cv_path_FGREP=$FGREP
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4330 $as_echo "$ac_cv_path_FGREP" >&6; }
4331 FGREP="$ac_cv_path_FGREP"
4334 test -z "$GREP" && GREP=grep
4354 # Check whether --with-gnu-ld was given.
4355 if test "${with_gnu_ld+set}" = set; then :
4356 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4362 if test "$GCC" = yes; then
4363 # Check if gcc -print-prog-name=ld gives a path.
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4365 $as_echo_n "checking for ld used by $CC... " >&6; }
4368 # gcc leaves a trailing carriage return which upsets mingw
4369 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4371 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4374 # Accept absolute paths.
4376 re_direlt='/[^/][^/]*/\.\./'
4377 # Canonicalize the pathname of ld
4378 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4379 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4380 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4382 test -z "$LD" && LD="$ac_prog"
4385 # If it fails, then pretend we aren't using GCC.
4389 # If it is relative, then search for the first ld in PATH.
4393 elif test "$with_gnu_ld" = yes; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4395 $as_echo_n "checking for GNU ld... " >&6; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4398 $as_echo_n "checking for non-GNU ld... " >&6; }
4400 if test "${lt_cv_path_LD+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -z "$LD"; then
4404 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4405 for ac_dir in $PATH; do
4407 test -z "$ac_dir" && ac_dir=.
4408 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4409 lt_cv_path_LD="$ac_dir/$ac_prog"
4410 # Check to see if the program is GNU ld. I'd rather use --version,
4411 # but apparently some variants of GNU ld only accept -v.
4412 # Break only if it was the GNU/non-GNU ld that we prefer.
4413 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4414 *GNU* | *'with BFD'*)
4415 test "$with_gnu_ld" != no && break
4418 test "$with_gnu_ld" != yes && break
4425 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4430 if test -n "$LD"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4432 $as_echo "$LD" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4437 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4439 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4440 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4444 case `$LD -v 2>&1 </dev/null` in
4445 *GNU* | *'with BFD'*)
4446 lt_cv_prog_gnu_ld=yes
4449 lt_cv_prog_gnu_ld=no
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4454 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4455 with_gnu_ld=$lt_cv_prog_gnu_ld
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4466 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4467 if test "${lt_cv_path_NM+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -n "$NM"; then
4471 # Let the user override the test.
4474 lt_nm_to_check="${ac_tool_prefix}nm"
4475 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4476 lt_nm_to_check="$lt_nm_to_check nm"
4478 for lt_tmp_nm in $lt_nm_to_check; do
4479 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4480 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4482 test -z "$ac_dir" && ac_dir=.
4483 tmp_nm="$ac_dir/$lt_tmp_nm"
4484 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4485 # Check to see if the nm accepts a BSD-compat flag.
4486 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4487 # nm: unknown option "B" ignored
4488 # Tru64's nm complains that /dev/null is an invalid object file
4489 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4490 */dev/null* | *'Invalid file or object type'*)
4491 lt_cv_path_NM="$tmp_nm -B"
4495 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4497 lt_cv_path_NM="$tmp_nm -p"
4501 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4502 continue # so that we can try to find one that supports BSD flags
4511 : ${lt_cv_path_NM=no}
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4515 $as_echo "$lt_cv_path_NM" >&6; }
4516 if test "$lt_cv_path_NM" != "no"; then
4519 # Didn't find any BSD compatible name lister, look for dumpbin.
4520 if test -n "$ac_tool_prefix"; then
4521 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4530 if test -n "$DUMPBIN"; then
4531 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir=.
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 DUMPBIN=$ac_cv_prog_DUMPBIN
4551 if test -n "$DUMPBIN"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4553 $as_echo "$DUMPBIN" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4560 test -n "$DUMPBIN" && break
4563 if test -z "$DUMPBIN"; then
4564 ac_ct_DUMPBIN=$DUMPBIN
4565 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4567 # Extract the first word of "$ac_prog", so it can be a program name with args.
4568 set dummy $ac_prog; ac_word=$2
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -n "$ac_ct_DUMPBIN"; then
4575 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4595 if test -n "$ac_ct_DUMPBIN"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4597 $as_echo "$ac_ct_DUMPBIN" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4604 test -n "$ac_ct_DUMPBIN" && break
4607 if test "x$ac_ct_DUMPBIN" = x; then
4610 case $cross_compiling:$ac_tool_warned in
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4614 ac_tool_warned=yes ;;
4616 DUMPBIN=$ac_ct_DUMPBIN
4621 if test "$DUMPBIN" != ":"; then
4625 test -z "$NM" && NM=nm
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4633 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4634 if test "${lt_cv_nm_interface+set}" = set; then :
4635 $as_echo_n "(cached) " >&6
4637 lt_cv_nm_interface="BSD nm"
4638 echo "int some_variable = 0;" > conftest.$ac_ext
4639 (eval echo "\"\$as_me:4639: $ac_compile\"" >&5)
4640 (eval "$ac_compile" 2>conftest.err)
4641 cat conftest.err >&5
4642 (eval echo "\"\$as_me:4642: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4643 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4644 cat conftest.err >&5
4645 (eval echo "\"\$as_me:4645: output\"" >&5)
4646 cat conftest.out >&5
4647 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4648 lt_cv_nm_interface="MS dumpbin"
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4653 $as_echo "$lt_cv_nm_interface" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4656 $as_echo_n "checking whether ln -s works... " >&6; }
4658 if test "$LN_S" = "ln -s"; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4660 $as_echo "yes" >&6; }
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4663 $as_echo "no, using $LN_S" >&6; }
4666 # find the maximum length of command line arguments
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4668 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4669 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4670 $as_echo_n "(cached) " >&6
4677 # On DJGPP, this test can blow up pretty badly due to problems in libc
4678 # (any single argument exceeding 2000 bytes causes a buffer overrun
4679 # during glob expansion). Even if it were fixed, the result of this
4680 # check would be larger than it should be.
4681 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4685 # Under GNU Hurd, this test is not required because there is
4686 # no limit to the length of command line arguments.
4687 # Libtool will interpret -1 as no limit whatsoever
4688 lt_cv_sys_max_cmd_len=-1;
4691 cygwin* | mingw* | cegcc*)
4692 # On Win9x/ME, this test blows up -- it succeeds, but takes
4693 # about 5 minutes as the teststring grows exponentially.
4694 # Worse, since 9x/ME are not pre-emptively multitasking,
4695 # you end up with a "frozen" computer, even though with patience
4696 # the test eventually succeeds (with a max line length of 256k).
4697 # Instead, let's just punt: use the minimum linelength reported by
4698 # all of the supported platforms: 8192 (on NT/2K/XP).
4699 lt_cv_sys_max_cmd_len=8192;
4703 # On AmigaOS with pdksh, this test takes hours, literally.
4704 # So we just punt and use a minimum line length of 8192.
4705 lt_cv_sys_max_cmd_len=8192;
4708 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4709 # This has been around since 386BSD, at least. Likely further.
4710 if test -x /sbin/sysctl; then
4711 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4712 elif test -x /usr/sbin/sysctl; then
4713 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4715 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4717 # And add a safety zone
4718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4719 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4723 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4724 lt_cv_sys_max_cmd_len=196608
4728 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4729 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4730 # nice to cause kernel panics so lets avoid the loop below.
4731 # First set a reasonable default.
4732 lt_cv_sys_max_cmd_len=16384
4734 if test -x /sbin/sysconfig; then
4735 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4736 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4741 lt_cv_sys_max_cmd_len=102400
4743 sysv5* | sco5v6* | sysv4.2uw2*)
4744 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4745 if test -n "$kargmax"; then
4746 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4748 lt_cv_sys_max_cmd_len=32768
4752 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4753 if test -n "$lt_cv_sys_max_cmd_len"; then
4754 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4755 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4757 # Make teststring a little bigger before we do anything with it.
4758 # a 1K string should be a reasonable start.
4759 for i in 1 2 3 4 5 6 7 8 ; do
4760 teststring=$teststring$teststring
4762 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4763 # If test is not a shell built-in, we'll probably end up computing a
4764 # maximum length that is only half of the actual maximum length, but
4766 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4767 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4768 test $i != 17 # 1/2 MB should be enough
4771 teststring=$teststring$teststring
4773 # Only check the string length outside the loop.
4774 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4776 # Add a significant safety factor because C++ compilers can tack on
4777 # massive amounts of additional arguments before passing them to the
4778 # linker. It appears as though 1/2 is a usable value.
4779 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4786 if test -n $lt_cv_sys_max_cmd_len ; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4788 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4791 $as_echo "none" >&6; }
4793 max_cmd_len=$lt_cv_sys_max_cmd_len
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4805 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4806 # Try some XSI features
4809 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4811 && eval 'test $(( 1 + 1 )) -eq 2 \
4812 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4815 $as_echo "$xsi_shell" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4819 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4821 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4823 && lt_shell_append=yes
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4825 $as_echo "$lt_shell_append" >&6; }
4828 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4838 # test EBCDIC or ASCII
4839 case `echo X|tr X '\101'` in
4840 A) # ASCII based system
4841 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4842 lt_SP2NL='tr \040 \012'
4843 lt_NL2SP='tr \015\012 \040\040'
4845 *) # EBCDIC based system
4846 lt_SP2NL='tr \100 \n'
4847 lt_NL2SP='tr \r\n \100\100'
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4860 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4861 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4864 lt_cv_ld_reload_flag='-r'
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4867 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4868 reload_flag=$lt_cv_ld_reload_flag
4869 case $reload_flag in
4871 *) reload_flag=" $reload_flag" ;;
4873 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4876 if test "$GCC" = yes; then
4877 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4879 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4892 if test -n "$ac_tool_prefix"; then
4893 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4894 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$OBJDUMP"; then
4901 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4910 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 OBJDUMP=$ac_cv_prog_OBJDUMP
4921 if test -n "$OBJDUMP"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4923 $as_echo "$OBJDUMP" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4931 if test -z "$ac_cv_prog_OBJDUMP"; then
4932 ac_ct_OBJDUMP=$OBJDUMP
4933 # Extract the first word of "objdump", so it can be a program name with args.
4934 set dummy objdump; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$ac_ct_OBJDUMP"; then
4941 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4950 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4961 if test -n "$ac_ct_OBJDUMP"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4963 $as_echo "$ac_ct_OBJDUMP" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4969 if test "x$ac_ct_OBJDUMP" = x; then
4972 case $cross_compiling:$ac_tool_warned in
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4976 ac_tool_warned=yes ;;
4978 OBJDUMP=$ac_ct_OBJDUMP
4981 OBJDUMP="$ac_cv_prog_OBJDUMP"
4984 test -z "$OBJDUMP" && OBJDUMP=objdump
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4995 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4996 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4997 $as_echo_n "(cached) " >&6
4999 lt_cv_file_magic_cmd='$MAGIC_CMD'
5000 lt_cv_file_magic_test_file=
5001 lt_cv_deplibs_check_method='unknown'
5002 # Need to set the preceding variable on all platforms that support
5003 # interlibrary dependencies.
5004 # 'none' -- dependencies not supported.
5005 # `unknown' -- same as none, but documents that we really don't know.
5006 # 'pass_all' -- all dependencies passed with no checks.
5007 # 'test_compile' -- check by making test program.
5008 # 'file_magic [[regex]]' -- check by looking for files in library path
5009 # which responds to the $file_magic_cmd with a given extended regex.
5010 # If you have `file' or equivalent on your system and you're not sure
5011 # whether `pass_all' will *always* work, you probably want this one.
5015 lt_cv_deplibs_check_method=pass_all
5019 lt_cv_deplibs_check_method=pass_all
5023 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5024 lt_cv_file_magic_cmd='/usr/bin/file -L'
5025 lt_cv_file_magic_test_file=/shlib/libc.so
5029 # func_win32_libid is a shell function defined in ltmain.sh
5030 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5031 lt_cv_file_magic_cmd='func_win32_libid'
5035 # Base MSYS/MinGW do not provide the 'file' command needed by
5036 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5037 # unless we find 'file', for example because we are cross-compiling.
5038 if ( file / ) >/dev/null 2>&1; then
5039 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5040 lt_cv_file_magic_cmd='func_win32_libid'
5042 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5043 lt_cv_file_magic_cmd='$OBJDUMP -f'
5048 # use the weaker test based on 'objdump'. See mingw*.
5049 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5050 lt_cv_file_magic_cmd='$OBJDUMP -f'
5053 darwin* | rhapsody*)
5054 lt_cv_deplibs_check_method=pass_all
5057 freebsd* | dragonfly*)
5058 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5061 # Not sure whether the presence of OpenBSD here was a mistake.
5062 # Let's accept both of them until this is cleared up.
5063 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5064 lt_cv_file_magic_cmd=/usr/bin/file
5065 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5069 lt_cv_deplibs_check_method=pass_all
5074 lt_cv_deplibs_check_method=pass_all
5077 hpux10.20* | hpux11*)
5078 lt_cv_file_magic_cmd=/usr/bin/file
5081 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5082 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5085 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]'
5086 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5089 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5090 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5096 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5100 irix5* | irix6* | nonstopux*)
5102 *-32|*"-32 ") libmagic=32-bit;;
5103 *-n32|*"-n32 ") libmagic=N32;;
5104 *-64|*"-64 ") libmagic=64-bit;;
5105 *) libmagic=never-match;;
5107 lt_cv_deplibs_check_method=pass_all
5110 # This must be Linux ELF.
5111 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5112 lt_cv_deplibs_check_method=pass_all
5115 netbsd* | netbsdelf*-gnu)
5116 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5119 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5125 lt_cv_file_magic_cmd=/usr/bin/file
5126 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5130 lt_cv_deplibs_check_method=pass_all
5134 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5137 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5141 osf3* | osf4* | osf5*)
5142 lt_cv_deplibs_check_method=pass_all
5146 lt_cv_deplibs_check_method=pass_all
5150 lt_cv_deplibs_check_method=pass_all
5153 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5154 lt_cv_deplibs_check_method=pass_all
5158 case $host_vendor in
5160 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]'
5161 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5164 lt_cv_deplibs_check_method=pass_all
5167 lt_cv_file_magic_cmd='/bin/file'
5168 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5171 lt_cv_file_magic_cmd='/bin/file'
5172 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5173 lt_cv_file_magic_test_file=/lib/libc.so
5176 lt_cv_deplibs_check_method=pass_all
5179 lt_cv_deplibs_check_method=pass_all
5185 lt_cv_deplibs_check_method=pass_all
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5191 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5192 file_magic_cmd=$lt_cv_file_magic_cmd
5193 deplibs_check_method=$lt_cv_deplibs_check_method
5194 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ar; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_AR+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -n "$AR"; then
5216 ac_cv_prog_AR="$AR" # Let the user override the test.
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_AR="${ac_tool_prefix}ar"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 if test -n "$AR"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5238 $as_echo "$AR" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_AR"; then
5248 # Extract the first word of "ar", so it can be a program name with args.
5249 set dummy ar; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -n "$ac_ct_AR"; then
5256 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_AR="ar"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5276 if test -n "$ac_ct_AR"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5278 $as_echo "$ac_ct_AR" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_AR" = x; then
5287 case $cross_compiling:$ac_tool_warned in
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5299 test -z "$AR" && AR=ar
5300 test -z "$AR_FLAGS" && AR_FLAGS=cru
5312 if test -n "$ac_tool_prefix"; then
5313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5314 set dummy ${ac_tool_prefix}strip; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if test "${ac_cv_prog_STRIP+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5320 if test -n "$STRIP"; then
5321 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 STRIP=$ac_cv_prog_STRIP
5341 if test -n "$STRIP"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5343 $as_echo "$STRIP" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5351 if test -z "$ac_cv_prog_STRIP"; then
5353 # Extract the first word of "strip", so it can be a program name with args.
5354 set dummy strip; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5358 $as_echo_n "(cached) " >&6
5360 if test -n "$ac_ct_STRIP"; then
5361 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370 ac_cv_prog_ac_ct_STRIP="strip"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5381 if test -n "$ac_ct_STRIP"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5383 $as_echo "$ac_ct_STRIP" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5389 if test "x$ac_ct_STRIP" = x; then
5392 case $cross_compiling:$ac_tool_warned in
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5396 ac_tool_warned=yes ;;
5401 STRIP="$ac_cv_prog_STRIP"
5404 test -z "$STRIP" && STRIP=:
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 RANLIB=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5442 $as_echo "$RANLIB" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5457 $as_echo_n "(cached) " >&6
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB="ranlib"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5482 $as_echo "$ac_ct_RANLIB" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x; then
5491 case $cross_compiling:$ac_tool_warned in
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5495 ac_tool_warned=yes ;;
5497 RANLIB=$ac_ct_RANLIB
5500 RANLIB="$ac_cv_prog_RANLIB"
5503 test -z "$RANLIB" && RANLIB=:
5510 # Determine commands to create old-style static archives.
5511 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5512 old_postinstall_cmds='chmod 644 $oldlib'
5513 old_postuninstall_cmds=
5515 if test -n "$RANLIB"; then
5518 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5521 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5524 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5560 # If no C compiler was specified, use CC.
5563 # If no C compiler flags were specified, use CFLAGS.
5564 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5566 # Allow CC to be a program name with arguments.
5570 # Check for command to grab the raw symbol name followed by C symbol from nm.
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5572 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5573 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5574 $as_echo_n "(cached) " >&6
5577 # These are sane defaults that work on at least a few old systems.
5578 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5580 # Character class describing NM global symbol codes.
5581 symcode='[BCDEGRST]'
5583 # Regexp to match symbols that can be accessed directly from C.
5584 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5586 # Define system-specific variables.
5591 cygwin* | mingw* | pw32* | cegcc*)
5592 symcode='[ABCDGISTW]'
5595 if test "$host_cpu" = ia64; then
5596 symcode='[ABCDEGRST]'
5600 symcode='[BCDEGRST]'
5603 symcode='[BCDEGQRST]'
5614 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5622 # If we're using GNU nm, then use its standard symbol codes.
5623 case `$NM -V 2>&1` in
5624 *GNU* | *'with BFD'*)
5625 symcode='[ABCDGIRSTW]' ;;
5628 # Transform an extracted symbol line into a proper C declaration.
5629 # Some systems (esp. on ia64) link data and code symbols differently,
5630 # so use this general approach.
5631 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5633 # Transform an extracted symbol line into symbol name and symbol address
5634 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5635 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'"
5637 # Handle CRLF in mingw tool chain
5641 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5645 # Try without a prefix underscore, then with it.
5646 for ac_symprfx in "" "_"; do
5648 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5649 symxfrm="\\1 $ac_symprfx\\2 \\2"
5651 # Write the raw and C identifiers.
5652 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5653 # Fake it for dumpbin and say T for any non-static function
5654 # and D for any global variable.
5655 # Also find C++ and __fastcall symbols from MSVC++,
5656 # which start with @ or ?.
5657 lt_cv_sys_global_symbol_pipe="$AWK '"\
5658 " {last_section=section; section=\$ 3};"\
5659 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5660 " \$ 0!~/External *\|/{next};"\
5661 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5662 " {if(hide[section]) next};"\
5663 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5664 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5665 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5666 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5667 " ' prfx=^$ac_symprfx"
5669 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5672 # Check to see that the pipe works correctly.
5676 cat > conftest.$ac_ext <<_LT_EOF
5681 void nm_test_func(void);
5682 void nm_test_func(void){}
5686 int main(){nm_test_var='a';nm_test_func();return(0);}
5689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5690 (eval $ac_compile) 2>&5
5692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5693 test $ac_status = 0; }; then
5694 # Now try to grab the symbols.
5696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5697 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5700 test $ac_status = 0; } && test -s "$nlist"; then
5701 # Try sorting and uniquifying the output.
5702 if sort "$nlist" | uniq > "$nlist"T; then
5703 mv -f "$nlist"T "$nlist"
5708 # Make sure that we snagged all the symbols we need.
5709 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5710 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5711 cat <<_LT_EOF > conftest.$ac_ext
5717 # Now generate the symbol file.
5718 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5720 cat <<_LT_EOF >> conftest.$ac_ext
5722 /* The mapping between symbol names and symbols. */
5727 lt__PROGRAM__LTX_preloaded_symbols[] =
5729 { "@PROGRAM@", (void *) 0 },
5731 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5732 cat <<\_LT_EOF >> conftest.$ac_ext
5736 /* This works around a problem in FreeBSD linker */
5737 #ifdef FREEBSD_WORKAROUND
5738 static const void *lt_preloaded_setup() {
5739 return lt__PROGRAM__LTX_preloaded_symbols;
5747 # Now try linking the two files.
5748 mv conftest.$ac_objext conftstm.$ac_objext
5749 lt_save_LIBS="$LIBS"
5750 lt_save_CFLAGS="$CFLAGS"
5751 LIBS="conftstm.$ac_objext"
5752 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5754 (eval $ac_link) 2>&5
5756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5757 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5760 LIBS="$lt_save_LIBS"
5761 CFLAGS="$lt_save_CFLAGS"
5763 echo "cannot find nm_test_func in $nlist" >&5
5766 echo "cannot find nm_test_var in $nlist" >&5
5769 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5772 echo "$progname: failed program was:" >&5
5773 cat conftest.$ac_ext >&5
5775 rm -rf conftest* conftst*
5777 # Do not use the global_symbol_pipe unless it works.
5778 if test "$pipe_works" = yes; then
5781 lt_cv_sys_global_symbol_pipe=
5787 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5788 lt_cv_sys_global_symbol_to_cdecl=
5790 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5792 $as_echo "failed" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5795 $as_echo "ok" >&6; }
5820 # Check whether --enable-libtool-lock was given.
5821 if test "${enable_libtool_lock+set}" = set; then :
5822 enableval=$enable_libtool_lock;
5825 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5827 # Some flags need to be propagated to the compiler or linker for good
5831 # Find out which ABI we are using.
5832 echo 'int i;' > conftest.$ac_ext
5833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5834 (eval $ac_compile) 2>&5
5836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837 test $ac_status = 0; }; then
5838 case `/usr/bin/file conftest.$ac_objext` in
5850 # Find out which ABI we are using.
5851 echo '#line 5851 "configure"' > conftest.$ac_ext
5852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5853 (eval $ac_compile) 2>&5
5855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5856 test $ac_status = 0; }; then
5857 if test "$lt_cv_prog_gnu_ld" = yes; then
5858 case `/usr/bin/file conftest.$ac_objext` in
5860 LD="${LD-ld} -melf32bsmip"
5863 LD="${LD-ld} -melf32bmipn32"
5866 LD="${LD-ld} -melf64bmip"
5870 case `/usr/bin/file conftest.$ac_objext` in
5886 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5887 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5888 # Find out which ABI we are using.
5889 echo 'int i;' > conftest.$ac_ext
5890 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5891 (eval $ac_compile) 2>&5
5893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5894 test $ac_status = 0; }; then
5895 case `/usr/bin/file conftest.o` in
5898 x86_64-*kfreebsd*-gnu)
5899 LD="${LD-ld} -m elf_i386_fbsd"
5902 LD="${LD-ld} -m elf_i386"
5904 ppc64-*linux*|powerpc64-*linux*)
5905 LD="${LD-ld} -m elf32ppclinux"
5908 LD="${LD-ld} -m elf_s390"
5911 LD="${LD-ld} -m elf32_sparc"
5917 x86_64-*kfreebsd*-gnu)
5918 LD="${LD-ld} -m elf_x86_64_fbsd"
5921 LD="${LD-ld} -m elf_x86_64"
5923 ppc*-*linux*|powerpc*-*linux*)
5924 LD="${LD-ld} -m elf64ppc"
5926 s390*-*linux*|s390*-*tpf*)
5927 LD="${LD-ld} -m elf64_s390"
5930 LD="${LD-ld} -m elf64_sparc"
5940 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5941 SAVE_CFLAGS="$CFLAGS"
5942 CFLAGS="$CFLAGS -belf"
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5944 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5945 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5946 $as_echo_n "(cached) " >&6
5949 ac_cpp='$CPP $CPPFLAGS'
5950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5965 if ac_fn_c_try_link "$LINENO"; then :
5966 lt_cv_cc_needs_belf=yes
5968 lt_cv_cc_needs_belf=no
5970 rm -f core conftest.err conftest.$ac_objext \
5971 conftest$ac_exeext conftest.$ac_ext
5973 ac_cpp='$CPP $CPPFLAGS'
5974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5980 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5981 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5982 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5983 CFLAGS="$SAVE_CFLAGS"
5987 # Find out which ABI we are using.
5988 echo 'int i;' > conftest.$ac_ext
5989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5990 (eval $ac_compile) 2>&5
5992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5993 test $ac_status = 0; }; then
5994 case `/usr/bin/file conftest.o` in
5996 case $lt_cv_prog_gnu_ld in
5997 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5999 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6011 need_locks="$enable_libtool_lock"
6015 rhapsody* | darwin*)
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$DSYMUTIL"; then
6025 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6045 if test -n "$DSYMUTIL"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6047 $as_echo "$DSYMUTIL" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_DSYMUTIL"; then
6056 ac_ct_DSYMUTIL=$DSYMUTIL
6057 # Extract the first word of "dsymutil", so it can be a program name with args.
6058 set dummy dsymutil; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6064 if test -n "$ac_ct_DSYMUTIL"; then
6065 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6085 if test -n "$ac_ct_DSYMUTIL"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6087 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_DSYMUTIL" = x; then
6096 case $cross_compiling:$ac_tool_warned in
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6102 DSYMUTIL=$ac_ct_DSYMUTIL
6105 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6108 if test -n "$ac_tool_prefix"; then
6109 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6110 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6114 $as_echo_n "(cached) " >&6
6116 if test -n "$NMEDIT"; then
6117 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 NMEDIT=$ac_cv_prog_NMEDIT
6137 if test -n "$NMEDIT"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6139 $as_echo "$NMEDIT" >&6; }
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6147 if test -z "$ac_cv_prog_NMEDIT"; then
6148 ac_ct_NMEDIT=$NMEDIT
6149 # Extract the first word of "nmedit", so it can be a program name with args.
6150 set dummy nmedit; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6154 $as_echo_n "(cached) " >&6
6156 if test -n "$ac_ct_NMEDIT"; then
6157 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6166 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6177 if test -n "$ac_ct_NMEDIT"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6179 $as_echo "$ac_ct_NMEDIT" >&6; }
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6185 if test "x$ac_ct_NMEDIT" = x; then
6188 case $cross_compiling:$ac_tool_warned in
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6192 ac_tool_warned=yes ;;
6194 NMEDIT=$ac_ct_NMEDIT
6197 NMEDIT="$ac_cv_prog_NMEDIT"
6200 if test -n "$ac_tool_prefix"; then
6201 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6202 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204 $as_echo_n "checking for $ac_word... " >&6; }
6205 if test "${ac_cv_prog_LIPO+set}" = set; then :
6206 $as_echo_n "(cached) " >&6
6208 if test -n "$LIPO"; then
6209 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 LIPO=$ac_cv_prog_LIPO
6229 if test -n "$LIPO"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6231 $as_echo "$LIPO" >&6; }
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6239 if test -z "$ac_cv_prog_LIPO"; then
6241 # Extract the first word of "lipo", so it can be a program name with args.
6242 set dummy lipo; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6246 $as_echo_n "(cached) " >&6
6248 if test -n "$ac_ct_LIPO"; then
6249 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_ac_ct_LIPO="lipo"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6269 if test -n "$ac_ct_LIPO"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6271 $as_echo "$ac_ct_LIPO" >&6; }
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6277 if test "x$ac_ct_LIPO" = x; then
6280 case $cross_compiling:$ac_tool_warned in
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6284 ac_tool_warned=yes ;;
6289 LIPO="$ac_cv_prog_LIPO"
6292 if test -n "$ac_tool_prefix"; then
6293 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6294 set dummy ${ac_tool_prefix}otool; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6300 if test -n "$OTOOL"; then
6301 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 OTOOL=$ac_cv_prog_OTOOL
6321 if test -n "$OTOOL"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6323 $as_echo "$OTOOL" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6331 if test -z "$ac_cv_prog_OTOOL"; then
6333 # Extract the first word of "otool", so it can be a program name with args.
6334 set dummy otool; ac_word=$2
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6336 $as_echo_n "checking for $ac_word... " >&6; }
6337 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6338 $as_echo_n "(cached) " >&6
6340 if test -n "$ac_ct_OTOOL"; then
6341 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir=.
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 ac_cv_prog_ac_ct_OTOOL="otool"
6351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6360 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6361 if test -n "$ac_ct_OTOOL"; then
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6363 $as_echo "$ac_ct_OTOOL" >&6; }
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6366 $as_echo "no" >&6; }
6369 if test "x$ac_ct_OTOOL" = x; then
6372 case $cross_compiling:$ac_tool_warned in
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6376 ac_tool_warned=yes ;;
6381 OTOOL="$ac_cv_prog_OTOOL"
6384 if test -n "$ac_tool_prefix"; then
6385 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6386 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6388 $as_echo_n "checking for $ac_word... " >&6; }
6389 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6390 $as_echo_n "(cached) " >&6
6392 if test -n "$OTOOL64"; then
6393 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 OTOOL64=$ac_cv_prog_OTOOL64
6413 if test -n "$OTOOL64"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6415 $as_echo "$OTOOL64" >&6; }
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6423 if test -z "$ac_cv_prog_OTOOL64"; then
6424 ac_ct_OTOOL64=$OTOOL64
6425 # Extract the first word of "otool64", so it can be a program name with args.
6426 set dummy otool64; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6432 if test -n "$ac_ct_OTOOL64"; then
6433 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_ac_ct_OTOOL64="otool64"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6453 if test -n "$ac_ct_OTOOL64"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6455 $as_echo "$ac_ct_OTOOL64" >&6; }
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6461 if test "x$ac_ct_OTOOL64" = x; then
6464 case $cross_compiling:$ac_tool_warned in
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6468 ac_tool_warned=yes ;;
6470 OTOOL64=$ac_ct_OTOOL64
6473 OTOOL64="$ac_cv_prog_OTOOL64"
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6503 $as_echo_n "checking for -single_module linker flag... " >&6; }
6504 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6507 lt_cv_apple_cc_single_mod=no
6508 if test -z "${LT_MULTI_MODULE}"; then
6509 # By default we will add the -single_module flag. You can override
6510 # by either setting the environment variable LT_MULTI_MODULE
6511 # non-empty at configure time, or by adding -multi_module to the
6513 rm -rf libconftest.dylib*
6514 echo "int foo(void){return 1;}" > conftest.c
6515 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6516 -dynamiclib -Wl,-single_module conftest.c" >&5
6517 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6518 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6520 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6521 lt_cv_apple_cc_single_mod=yes
6523 cat conftest.err >&5
6525 rm -rf libconftest.dylib*
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6530 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6532 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6533 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6534 $as_echo_n "(cached) " >&6
6536 lt_cv_ld_exported_symbols_list=no
6537 save_LDFLAGS=$LDFLAGS
6538 echo "_main" > conftest.sym
6539 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6551 if ac_fn_c_try_link "$LINENO"; then :
6552 lt_cv_ld_exported_symbols_list=yes
6554 lt_cv_ld_exported_symbols_list=no
6556 rm -f core conftest.err conftest.$ac_objext \
6557 conftest$ac_exeext conftest.$ac_ext
6558 LDFLAGS="$save_LDFLAGS"
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6562 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6564 rhapsody* | darwin1.[012])
6565 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6567 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6568 darwin*) # darwin 5.x on
6569 # if running on 10.5 or later, the deployment target defaults
6570 # to the OS version, if on x86, and 10.4, the deployment
6571 # target defaults to 10.4. Don't you love it?
6572 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6573 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6574 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6576 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6578 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6582 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6583 _lt_dar_single_mod='$single_module'
6585 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6586 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6588 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6590 if test "$DSYMUTIL" != ":"; then
6591 _lt_dsymutil='~$DSYMUTIL $lib || :'
6599 ac_cpp='$CPP $CPPFLAGS'
6600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6604 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6605 # On Suns, sometimes $CPP names a directory.
6606 if test -n "$CPP" && test -d "$CPP"; then
6609 if test -z "$CPP"; then
6610 if test "${ac_cv_prog_CPP+set}" = set; then :
6611 $as_echo_n "(cached) " >&6
6613 # Double quotes because CPP needs to be expanded
6614 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6617 for ac_c_preproc_warn_flag in '' yes
6619 # Use a header file that comes with gcc, so configuring glibc
6620 # with a fresh cross-compiler works.
6621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6622 # <limits.h> exists even on freestanding compilers.
6623 # On the NeXT, cc -E runs the code through the compiler's parser,
6624 # not just through cpp. "Syntax error" is here to catch this case.
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6628 # include <limits.h>
6630 # include <assert.h>
6634 if ac_fn_c_try_cpp "$LINENO"; then :
6637 # Broken: fails on valid input.
6640 rm -f conftest.err conftest.i conftest.$ac_ext
6642 # OK, works on sane cases. Now check whether nonexistent headers
6643 # can be detected and how.
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6646 #include <ac_nonexistent.h>
6648 if ac_fn_c_try_cpp "$LINENO"; then :
6649 # Broken: success on invalid input.
6652 # Passes both tests.
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6660 rm -f conftest.i conftest.err conftest.$ac_ext
6661 if $ac_preproc_ok; then :
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6674 $as_echo "$CPP" >&6; }
6676 for ac_c_preproc_warn_flag in '' yes
6678 # Use a header file that comes with gcc, so configuring glibc
6679 # with a fresh cross-compiler works.
6680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6681 # <limits.h> exists even on freestanding compilers.
6682 # On the NeXT, cc -E runs the code through the compiler's parser,
6683 # not just through cpp. "Syntax error" is here to catch this case.
6684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6687 # include <limits.h>
6689 # include <assert.h>
6693 if ac_fn_c_try_cpp "$LINENO"; then :
6696 # Broken: fails on valid input.
6699 rm -f conftest.err conftest.i conftest.$ac_ext
6701 # OK, works on sane cases. Now check whether nonexistent headers
6702 # can be detected and how.
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6705 #include <ac_nonexistent.h>
6707 if ac_fn_c_try_cpp "$LINENO"; then :
6708 # Broken: success on invalid input.
6711 # Passes both tests.
6715 rm -f conftest.err conftest.i conftest.$ac_ext
6718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6719 rm -f conftest.i conftest.err conftest.$ac_ext
6720 if $ac_preproc_ok; then :
6723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6725 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6726 See \`config.log' for more details" "$LINENO" 5 ; }
6730 ac_cpp='$CPP $CPPFLAGS'
6731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6737 $as_echo_n "checking for ANSI C header files... " >&6; }
6738 if test "${ac_cv_header_stdc+set}" = set; then :
6739 $as_echo_n "(cached) " >&6
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6756 if ac_fn_c_try_compile "$LINENO"; then :
6757 ac_cv_header_stdc=yes
6759 ac_cv_header_stdc=no
6761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6763 if test $ac_cv_header_stdc = yes; then
6764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6771 $EGREP "memchr" >/dev/null 2>&1; then :
6774 ac_cv_header_stdc=no
6780 if test $ac_cv_header_stdc = yes; then
6781 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev/null 2>&1; then :
6791 ac_cv_header_stdc=no
6797 if test $ac_cv_header_stdc = yes; then
6798 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6799 if test "$cross_compiling" = yes; then :
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6806 #if ((' ' & 0x0FF) == 0x020)
6807 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6808 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6810 # define ISLOWER(c) \
6811 (('a' <= (c) && (c) <= 'i') \
6812 || ('j' <= (c) && (c) <= 'r') \
6813 || ('s' <= (c) && (c) <= 'z'))
6814 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6817 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6822 for (i = 0; i < 256; i++)
6823 if (XOR (islower (i), ISLOWER (i))
6824 || toupper (i) != TOUPPER (i))
6829 if ac_fn_c_try_run "$LINENO"; then :
6832 ac_cv_header_stdc=no
6834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6835 conftest.$ac_objext conftest.beam conftest.$ac_ext
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6841 $as_echo "$ac_cv_header_stdc" >&6; }
6842 if test $ac_cv_header_stdc = yes; then
6844 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6848 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6849 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6850 inttypes.h stdint.h unistd.h
6852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6853 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6856 cat >>confdefs.h <<_ACEOF
6857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6865 for ac_header in dlfcn.h
6867 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6869 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6870 cat >>confdefs.h <<_ACEOF
6871 #define HAVE_DLFCN_H 1
6882 # Check whether --enable-static was given.
6883 if test "${enable_static+set}" = set; then :
6884 enableval=$enable_static; p=${PACKAGE-default}
6886 yes) enable_static=yes ;;
6887 no) enable_static=no ;;
6890 # Look at the argument we got. We use all the common list separators.
6891 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6892 for pkg in $enableval; do
6894 if test "X$pkg" = "X$p"; then
6918 # Check whether --enable-shared was given.
6919 if test "${enable_shared+set}" = set; then :
6920 enableval=$enable_shared; p=${PACKAGE-default}
6922 yes) enable_shared=yes ;;
6923 no) enable_shared=no ;;
6926 # Look at the argument we got. We use all the common list separators.
6927 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6928 for pkg in $enableval; do
6930 if test "X$pkg" = "X$p"; then
6951 # Check whether --with-pic was given.
6952 if test "${with_pic+set}" = set; then :
6953 withval=$with_pic; pic_mode="$withval"
6959 test -z "$pic_mode" && pic_mode=default
6967 # Check whether --enable-fast-install was given.
6968 if test "${enable_fast_install+set}" = set; then :
6969 enableval=$enable_fast_install; p=${PACKAGE-default}
6971 yes) enable_fast_install=yes ;;
6972 no) enable_fast_install=no ;;
6974 enable_fast_install=no
6975 # Look at the argument we got. We use all the common list separators.
6976 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6977 for pkg in $enableval; do
6979 if test "X$pkg" = "X$p"; then
6980 enable_fast_install=yes
6987 enable_fast_install=yes
7000 # This can be used to rebuild libtool when needed
7001 LIBTOOL_DEPS="$ltmain"
7003 # Always use our own libtool.
7004 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7030 test -z "$LN_S" && LN_S="ln -s"
7045 if test -n "${ZSH_VERSION+set}" ; then
7046 setopt NO_GLOB_SUBST
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7050 $as_echo_n "checking for objdir... " >&6; }
7051 if test "${lt_cv_objdir+set}" = set; then :
7052 $as_echo_n "(cached) " >&6
7054 rm -f .libs 2>/dev/null
7055 mkdir .libs 2>/dev/null
7056 if test -d .libs; then
7059 # MS-DOS does not allow filenames that begin with a dot.
7062 rmdir .libs 2>/dev/null
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7065 $as_echo "$lt_cv_objdir" >&6; }
7066 objdir=$lt_cv_objdir
7072 cat >>confdefs.h <<_ACEOF
7073 #define LT_OBJDIR "$lt_cv_objdir/"
7094 # AIX sometimes has problems with the GCC collect2 program. For some
7095 # reason, if we set the COLLECT_NAMES environment variable, the problems
7096 # vanish in a puff of smoke.
7097 if test "X${COLLECT_NAMES+set}" != Xset; then
7099 export COLLECT_NAMES
7104 # Sed substitution that helps us do robust quoting. It backslashifies
7105 # metacharacters that are still active within double-quoted strings.
7106 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7108 # Same as above, but do not quote variable references.
7109 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7111 # Sed substitution to delay expansion of an escaped shell variable in a
7112 # double_quote_subst'ed string.
7113 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7115 # Sed substitution to delay expansion of an escaped single quote.
7116 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7118 # Sed substitution to avoid accidental globbing in evaled expressions
7119 no_glob_subst='s/\*/\\\*/g'
7123 can_build_shared=yes
7125 # All known linkers require a `.a' archive for static linking (except MSVC,
7126 # which needs '.lib').
7129 with_gnu_ld="$lt_cv_prog_gnu_ld"
7132 old_CFLAGS="$CFLAGS"
7134 # Set sane defaults for various variables
7135 test -z "$CC" && CC=cc
7136 test -z "$LTCC" && LTCC=$CC
7137 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7138 test -z "$LD" && LD=ld
7139 test -z "$ac_objext" && ac_objext=o
7141 for cc_temp in $compiler""; do
7143 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7144 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7149 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7152 # Only perform the check for file, if the check method requires it
7153 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7154 case $deplibs_check_method in
7156 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7158 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7159 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7160 $as_echo_n "(cached) " >&6
7164 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7167 lt_save_MAGIC_CMD="$MAGIC_CMD"
7168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7169 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7170 for ac_dir in $ac_dummy; do
7172 test -z "$ac_dir" && ac_dir=.
7173 if test -f $ac_dir/${ac_tool_prefix}file; then
7174 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7175 if test -n "$file_magic_test_file"; then
7176 case $deplibs_check_method in
7178 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7180 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7181 $EGREP "$file_magic_regex" > /dev/null; then
7186 *** Warning: the command libtool uses to detect shared libraries,
7187 *** $file_magic_cmd, produces output that libtool cannot recognize.
7188 *** The result is that libtool may fail to recognize shared libraries
7189 *** as such. This will affect the creation of libtool libraries that
7190 *** depend on shared libraries, but programs linked with such libtool
7191 *** libraries will work regardless of this problem. Nevertheless, you
7192 *** may want to report the problem to your system manager and/or to
7193 *** bug-libtool@gnu.org
7203 MAGIC_CMD="$lt_save_MAGIC_CMD"
7208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7209 if test -n "$MAGIC_CMD"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7211 $as_echo "$MAGIC_CMD" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7221 if test -z "$lt_cv_path_MAGIC_CMD"; then
7222 if test -n "$ac_tool_prefix"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7224 $as_echo_n "checking for file... " >&6; }
7225 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7226 $as_echo_n "(cached) " >&6
7230 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7233 lt_save_MAGIC_CMD="$MAGIC_CMD"
7234 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7235 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7236 for ac_dir in $ac_dummy; do
7238 test -z "$ac_dir" && ac_dir=.
7239 if test -f $ac_dir/file; then
7240 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7241 if test -n "$file_magic_test_file"; then
7242 case $deplibs_check_method in
7244 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7245 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7246 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7247 $EGREP "$file_magic_regex" > /dev/null; then
7252 *** Warning: the command libtool uses to detect shared libraries,
7253 *** $file_magic_cmd, produces output that libtool cannot recognize.
7254 *** The result is that libtool may fail to recognize shared libraries
7255 *** as such. This will affect the creation of libtool libraries that
7256 *** depend on shared libraries, but programs linked with such libtool
7257 *** libraries will work regardless of this problem. Nevertheless, you
7258 *** may want to report the problem to your system manager and/or to
7259 *** bug-libtool@gnu.org
7269 MAGIC_CMD="$lt_save_MAGIC_CMD"
7274 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7275 if test -n "$MAGIC_CMD"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7277 $as_echo "$MAGIC_CMD" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7293 # Use C for the default configuration in the libtool script
7297 ac_cpp='$CPP $CPPFLAGS'
7298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7303 # Source file extension for C test sources.
7306 # Object file extension for compiled C test sources.
7310 # Code to be used in simple compile tests
7311 lt_simple_compile_test_code="int some_variable = 0;"
7313 # Code to be used in simple link tests
7314 lt_simple_link_test_code='int main(){return(0);}'
7322 # If no C compiler was specified, use CC.
7325 # If no C compiler flags were specified, use CFLAGS.
7326 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7328 # Allow CC to be a program name with arguments.
7331 # Save the default compiler, since it gets overwritten when the other
7332 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7333 compiler_DEFAULT=$CC
7335 # save warnings/boilerplate of simple test code
7336 ac_outfile=conftest.$ac_objext
7337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7339 _lt_compiler_boilerplate=`cat conftest.err`
7342 ac_outfile=conftest.$ac_objext
7343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7345 _lt_linker_boilerplate=`cat conftest.err`
7349 if test -n "$compiler"; then
7351 lt_prog_compiler_no_builtin_flag=
7353 if test "$GCC" = yes; then
7354 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7357 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7358 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7359 $as_echo_n "(cached) " >&6
7361 lt_cv_prog_compiler_rtti_exceptions=no
7362 ac_outfile=conftest.$ac_objext
7363 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7364 lt_compiler_flag="-fno-rtti -fno-exceptions"
7365 # Insert the option either (1) after the last *FLAGS variable, or
7366 # (2) before a word containing "conftest.", or (3) at the end.
7367 # Note that $ac_compile itself does not contain backslashes and begins
7368 # with a dollar sign (not a hyphen), so the echo should work correctly.
7369 # The option is referenced via a variable to avoid confusing sed.
7370 lt_compile=`echo "$ac_compile" | $SED \
7371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7373 -e 's:$: $lt_compiler_flag:'`
7374 (eval echo "\"\$as_me:7374: $lt_compile\"" >&5)
7375 (eval "$lt_compile" 2>conftest.err)
7377 cat conftest.err >&5
7378 echo "$as_me:7378: \$? = $ac_status" >&5
7379 if (exit $ac_status) && test -s "$ac_outfile"; then
7380 # The compiler can only warn and ignore the option if not recognized
7381 # So say no if there are warnings other than the usual output.
7382 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7383 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7384 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7385 lt_cv_prog_compiler_rtti_exceptions=yes
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7392 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7394 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7395 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7407 lt_prog_compiler_wl=
7408 lt_prog_compiler_pic=
7409 lt_prog_compiler_static=
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7412 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7414 if test "$GCC" = yes; then
7415 lt_prog_compiler_wl='-Wl,'
7416 lt_prog_compiler_static='-static'
7420 # All AIX code is PIC.
7421 if test "$host_cpu" = ia64; then
7422 # AIX 5 now supports IA64 processor
7423 lt_prog_compiler_static='-Bstatic'
7430 # see comment about AmigaOS4 .so support
7431 lt_prog_compiler_pic='-fPIC'
7434 # FIXME: we need at least 68020 code to build shared libraries, but
7435 # adding the `-m68020' flag to GCC prevents building anything better,
7437 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7442 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7443 # PIC is the default for these OSes.
7446 mingw* | cygwin* | pw32* | os2* | cegcc*)
7447 # This hack is so that the source file can tell whether it is being
7448 # built for inclusion in a dll (and should export symbols for example).
7449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7450 # (--disable-auto-import) libraries
7451 lt_prog_compiler_pic='-DDLL_EXPORT'
7454 darwin* | rhapsody*)
7455 # PIC is the default on this platform
7456 # Common symbols not allowed in MH_DYLIB files
7457 lt_prog_compiler_pic='-fno-common'
7461 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7462 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7463 # sets the default TLS model and affects inlining.
7469 lt_prog_compiler_pic='-fPIC'
7475 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7476 # Instead, we relocate shared libraries at runtime.
7480 # Just because we use GCC doesn't mean we suddenly get shared libraries
7481 # on systems that don't support them.
7482 lt_prog_compiler_can_build_shared=no
7487 # QNX uses GNU C++, but need to define -shared option too, otherwise
7489 lt_prog_compiler_pic='-fPIC -shared'
7493 if test -d /usr/nec; then
7494 lt_prog_compiler_pic=-Kconform_pic
7499 lt_prog_compiler_pic='-fPIC'
7503 # PORTME Check for flag to pass linker flags through the system compiler.
7506 lt_prog_compiler_wl='-Wl,'
7507 if test "$host_cpu" = ia64; then
7508 # AIX 5 now supports IA64 processor
7509 lt_prog_compiler_static='-Bstatic'
7511 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7515 mingw* | cygwin* | pw32* | os2* | cegcc*)
7516 # This hack is so that the source file can tell whether it is being
7517 # built for inclusion in a dll (and should export symbols for example).
7518 lt_prog_compiler_pic='-DDLL_EXPORT'
7521 hpux9* | hpux10* | hpux11*)
7522 lt_prog_compiler_wl='-Wl,'
7523 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7530 lt_prog_compiler_pic='+Z'
7533 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7534 lt_prog_compiler_static='${wl}-a ${wl}archive'
7537 irix5* | irix6* | nonstopux*)
7538 lt_prog_compiler_wl='-Wl,'
7539 # PIC (with -KPIC) is the default.
7540 lt_prog_compiler_static='-non_shared'
7543 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7544 case $cc_basename in
7545 # old Intel for x86_64 which still supported -KPIC.
7547 lt_prog_compiler_wl='-Wl,'
7548 lt_prog_compiler_pic='-KPIC'
7549 lt_prog_compiler_static='-static'
7551 # icc used to be incompatible with GCC.
7552 # ICC 10 doesn't accept -KPIC any more.
7554 lt_prog_compiler_wl='-Wl,'
7555 lt_prog_compiler_pic='-fPIC'
7556 lt_prog_compiler_static='-static'
7558 # Lahey Fortran 8.1.
7560 lt_prog_compiler_wl='-Wl,'
7561 lt_prog_compiler_pic='--shared'
7562 lt_prog_compiler_static='--static'
7564 pgcc* | pgf77* | pgf90* | pgf95*)
7565 # Portland Group compilers (*not* the Pentium gcc compiler,
7566 # which looks to be a dead project)
7567 lt_prog_compiler_wl='-Wl,'
7568 lt_prog_compiler_pic='-fpic'
7569 lt_prog_compiler_static='-Bstatic'
7572 lt_prog_compiler_wl='-Wl,'
7573 # All Alpha code is PIC.
7574 lt_prog_compiler_static='-non_shared'
7577 # IBM XL C 8.0/Fortran 10.1 on PPC
7578 lt_prog_compiler_wl='-Wl,'
7579 lt_prog_compiler_pic='-qpic'
7580 lt_prog_compiler_static='-qstaticlink'
7583 case `$CC -V 2>&1 | sed 5q` in
7586 lt_prog_compiler_pic='-KPIC'
7587 lt_prog_compiler_static='-Bstatic'
7588 lt_prog_compiler_wl='-Wl,'
7591 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7592 lt_prog_compiler_pic='-KPIC'
7593 lt_prog_compiler_static='-Bstatic'
7594 lt_prog_compiler_wl=''
7602 lt_prog_compiler_pic='-KPIC'
7603 lt_prog_compiler_static='-Bstatic'
7607 # QNX uses GNU C++, but need to define -shared option too, otherwise
7609 lt_prog_compiler_pic='-fPIC -shared'
7612 osf3* | osf4* | osf5*)
7613 lt_prog_compiler_wl='-Wl,'
7614 # All OSF/1 code is PIC.
7615 lt_prog_compiler_static='-non_shared'
7619 lt_prog_compiler_static='-non_shared'
7623 lt_prog_compiler_pic='-KPIC'
7624 lt_prog_compiler_static='-Bstatic'
7625 case $cc_basename in
7627 lt_prog_compiler_wl='-Qoption ld ';;
7629 lt_prog_compiler_wl='-Wl,';;
7634 lt_prog_compiler_wl='-Qoption ld '
7635 lt_prog_compiler_pic='-PIC'
7636 lt_prog_compiler_static='-Bstatic'
7639 sysv4 | sysv4.2uw2* | sysv4.3*)
7640 lt_prog_compiler_wl='-Wl,'
7641 lt_prog_compiler_pic='-KPIC'
7642 lt_prog_compiler_static='-Bstatic'
7646 if test -d /usr/nec ;then
7647 lt_prog_compiler_pic='-Kconform_pic'
7648 lt_prog_compiler_static='-Bstatic'
7652 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7653 lt_prog_compiler_wl='-Wl,'
7654 lt_prog_compiler_pic='-KPIC'
7655 lt_prog_compiler_static='-Bstatic'
7659 lt_prog_compiler_wl='-Wl,'
7660 lt_prog_compiler_can_build_shared=no
7664 lt_prog_compiler_pic='-pic'
7665 lt_prog_compiler_static='-Bstatic'
7669 lt_prog_compiler_can_build_shared=no
7675 # For platforms which do not support PIC, -DPIC is meaningless:
7677 lt_prog_compiler_pic=
7680 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7684 $as_echo "$lt_prog_compiler_pic" >&6; }
7692 # Check to make sure the PIC flag actually works.
7694 if test -n "$lt_prog_compiler_pic"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7696 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7697 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7698 $as_echo_n "(cached) " >&6
7700 lt_cv_prog_compiler_pic_works=no
7701 ac_outfile=conftest.$ac_objext
7702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7703 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7704 # Insert the option either (1) after the last *FLAGS variable, or
7705 # (2) before a word containing "conftest.", or (3) at the end.
7706 # Note that $ac_compile itself does not contain backslashes and begins
7707 # with a dollar sign (not a hyphen), so the echo should work correctly.
7708 # The option is referenced via a variable to avoid confusing sed.
7709 lt_compile=`echo "$ac_compile" | $SED \
7710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7712 -e 's:$: $lt_compiler_flag:'`
7713 (eval echo "\"\$as_me:7713: $lt_compile\"" >&5)
7714 (eval "$lt_compile" 2>conftest.err)
7716 cat conftest.err >&5
7717 echo "$as_me:7717: \$? = $ac_status" >&5
7718 if (exit $ac_status) && test -s "$ac_outfile"; then
7719 # The compiler can only warn and ignore the option if not recognized
7720 # So say no if there are warnings other than the usual output.
7721 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7722 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7723 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7724 lt_cv_prog_compiler_pic_works=yes
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7731 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7733 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7734 case $lt_prog_compiler_pic in
7736 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7739 lt_prog_compiler_pic=
7740 lt_prog_compiler_can_build_shared=no
7751 # Check to make sure the static flag actually works.
7753 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7755 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7756 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7759 lt_cv_prog_compiler_static_works=no
7760 save_LDFLAGS="$LDFLAGS"
7761 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7762 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7763 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7764 # The linker can only warn and ignore the option if not recognized
7765 # So say no if there are warnings
7766 if test -s conftest.err; then
7767 # Append any errors to the config.log.
7768 cat conftest.err 1>&5
7769 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7770 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7771 if diff conftest.exp conftest.er2 >/dev/null; then
7772 lt_cv_prog_compiler_static_works=yes
7775 lt_cv_prog_compiler_static_works=yes
7779 LDFLAGS="$save_LDFLAGS"
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7783 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7785 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7788 lt_prog_compiler_static=
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7799 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7800 $as_echo_n "(cached) " >&6
7802 lt_cv_prog_compiler_c_o=no
7803 $RM -r conftest 2>/dev/null
7807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7809 lt_compiler_flag="-o out/conftest2.$ac_objext"
7810 # Insert the option either (1) after the last *FLAGS variable, or
7811 # (2) before a word containing "conftest.", or (3) at the end.
7812 # Note that $ac_compile itself does not contain backslashes and begins
7813 # with a dollar sign (not a hyphen), so the echo should work correctly.
7814 lt_compile=`echo "$ac_compile" | $SED \
7815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7817 -e 's:$: $lt_compiler_flag:'`
7818 (eval echo "\"\$as_me:7818: $lt_compile\"" >&5)
7819 (eval "$lt_compile" 2>out/conftest.err)
7821 cat out/conftest.err >&5
7822 echo "$as_me:7822: \$? = $ac_status" >&5
7823 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7825 # The compiler can only warn and ignore the option if not recognized
7826 # So say no if there are warnings
7827 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7828 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7829 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7830 lt_cv_prog_compiler_c_o=yes
7835 # SGI C++ compiler will create directory out/ii_files/ for
7836 # template instantiation
7837 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7838 $RM out/* && rmdir out
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7845 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7853 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7854 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7857 lt_cv_prog_compiler_c_o=no
7858 $RM -r conftest 2>/dev/null
7862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7864 lt_compiler_flag="-o out/conftest2.$ac_objext"
7865 # Insert the option either (1) after the last *FLAGS variable, or
7866 # (2) before a word containing "conftest.", or (3) at the end.
7867 # Note that $ac_compile itself does not contain backslashes and begins
7868 # with a dollar sign (not a hyphen), so the echo should work correctly.
7869 lt_compile=`echo "$ac_compile" | $SED \
7870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7872 -e 's:$: $lt_compiler_flag:'`
7873 (eval echo "\"\$as_me:7873: $lt_compile\"" >&5)
7874 (eval "$lt_compile" 2>out/conftest.err)
7876 cat out/conftest.err >&5
7877 echo "$as_me:7877: \$? = $ac_status" >&5
7878 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7880 # The compiler can only warn and ignore the option if not recognized
7881 # So say no if there are warnings
7882 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7883 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7884 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7885 lt_cv_prog_compiler_c_o=yes
7890 # SGI C++ compiler will create directory out/ii_files/ for
7891 # template instantiation
7892 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7893 $RM out/* && rmdir out
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7900 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7905 hard_links="nottested"
7906 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7907 # do not overwrite the value of need_locks provided by the user
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7909 $as_echo_n "checking if we can lock with hard links... " >&6; }
7912 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7914 ln conftest.a conftest.b 2>&5 || hard_links=no
7915 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7917 $as_echo "$hard_links" >&6; }
7918 if test "$hard_links" = no; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7920 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7933 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7936 allow_undefined_flag=
7937 always_export_symbols=no
7939 archive_expsym_cmds=
7940 compiler_needs_object=no
7941 enable_shared_with_static_runtimes=no
7942 export_dynamic_flag_spec=
7943 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7944 hardcode_automatic=no
7946 hardcode_direct_absolute=no
7947 hardcode_libdir_flag_spec=
7948 hardcode_libdir_flag_spec_ld=
7949 hardcode_libdir_separator=
7951 hardcode_shlibpath_var=unsupported
7953 link_all_deplibs=unknown
7956 old_archive_from_new_cmds=
7957 old_archive_from_expsyms_cmds=
7958 thread_safe_flag_spec=
7959 whole_archive_flag_spec=
7960 # include_expsyms should be a list of space-separated symbols to be *always*
7961 # included in the symbol list
7963 # exclude_expsyms can be an extended regexp of symbols to exclude
7964 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7965 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7966 # as well as any symbol that contains `d'.
7967 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7968 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7969 # platforms (ab)use it in PIC code, but their linkers get confused if
7970 # the symbol is explicitly referenced. Since portable code cannot
7971 # rely on this symbol name, it's probably fine to never include it in
7972 # preloaded symbol tables.
7973 # Exclude shared library initialization/finalization symbols.
7974 extract_expsyms_cmds=
7977 cygwin* | mingw* | pw32* | cegcc*)
7978 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7979 # When not using gcc, we currently assume that we are using
7980 # Microsoft Visual C++.
7981 if test "$GCC" != yes; then
7986 # we just hope/assume this is gcc and not c89 (= MSVC++)
7992 linux* | k*bsd*-gnu)
7998 if test "$with_gnu_ld" = yes; then
7999 # If archive_cmds runs LD, not CC, wlarc should be empty
8002 # Set some defaults for GNU ld with shared library support. These
8003 # are reset later if shared libraries are not supported. Putting them
8004 # here allows them to be overridden if necessary.
8005 runpath_var=LD_RUN_PATH
8006 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8007 export_dynamic_flag_spec='${wl}--export-dynamic'
8008 # ancient GNU ld didn't support --whole-archive et. al.
8009 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8010 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8012 whole_archive_flag_spec=
8014 supports_anon_versioning=no
8015 case `$LD -v 2>&1` in
8016 *GNU\ gold*) supports_anon_versioning=yes ;;
8017 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8018 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8019 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8020 *\ 2.11.*) ;; # other 2.11 versions
8021 *) supports_anon_versioning=yes ;;
8024 # See if GNU ld supports shared libraries.
8027 # On AIX/PPC, the GNU linker is very broken
8028 if test "$host_cpu" != ia64; then
8032 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8033 *** to be unable to reliably create shared libraries on AIX.
8034 *** Therefore, libtool is disabling shared libraries support. If you
8035 *** really care for shared libraries, you may want to modify your PATH
8036 *** so that a non-GNU linker is found, and then restart.
8045 # see comment about AmigaOS4 .so support
8046 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8047 archive_expsym_cmds=''
8050 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)'
8051 hardcode_libdir_flag_spec='-L$libdir'
8052 hardcode_minus_L=yes
8058 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8059 allow_undefined_flag=unsupported
8060 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8061 # support --undefined. This deserves some investigation. FIXME
8062 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8068 cygwin* | mingw* | pw32* | cegcc*)
8069 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8070 # as there is no search path for DLLs.
8071 hardcode_libdir_flag_spec='-L$libdir'
8072 allow_undefined_flag=unsupported
8073 always_export_symbols=no
8074 enable_shared_with_static_runtimes=yes
8075 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8077 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8078 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8079 # If the export-symbols file already is a .def file (1st line
8080 # is EXPORTS), use it as is; otherwise, prepend...
8081 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8082 cp $export_symbols $output_objdir/$soname.def;
8084 echo EXPORTS > $output_objdir/$soname.def;
8085 cat $export_symbols >> $output_objdir/$soname.def;
8087 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8095 hardcode_shlibpath_var=no
8096 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8097 export_dynamic_flag_spec='${wl}-E'
8098 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8099 # Instead, shared libraries are loaded at an image base (0x10000000 by
8100 # default) and relocated if they conflict, which is a slow very memory
8101 # consuming and fragmenting process. To avoid this, we pick a random,
8102 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8103 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8104 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8105 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'
8108 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8110 if test "$host_os" = linux-dietlibc; then
8111 case $cc_basename in
8112 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8115 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8116 && test "$tmp_diet" = no
8119 tmp_sharedflag='-shared'
8120 case $cc_basename,$host_cpu in
8121 pgcc*) # Portland Group C compiler
8122 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'
8123 tmp_addflag=' $pic_flag'
8125 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8126 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'
8127 tmp_addflag=' $pic_flag -Mnomain' ;;
8128 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8129 tmp_addflag=' -i_dynamic' ;;
8130 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8131 tmp_addflag=' -i_dynamic -nofor_main' ;;
8132 ifc* | ifort*) # Intel Fortran compiler
8133 tmp_addflag=' -nofor_main' ;;
8134 lf95*) # Lahey Fortran 8.1
8135 whole_archive_flag_spec=
8136 tmp_sharedflag='--shared' ;;
8137 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8138 tmp_sharedflag='-qmkshrobj'
8141 case `$CC -V 2>&1 | sed 5q` in
8142 *Sun\ C*) # Sun C 5.9
8143 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'
8144 compiler_needs_object=yes
8145 tmp_sharedflag='-G' ;;
8146 *Sun\ F*) # Sun Fortran 8.3
8147 tmp_sharedflag='-G' ;;
8149 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8151 if test "x$supports_anon_versioning" = xyes; then
8152 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8153 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8154 echo "local: *; };" >> $output_objdir/$libname.ver~
8155 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8158 case $cc_basename in
8160 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8161 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8162 hardcode_libdir_flag_spec=
8163 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8164 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8165 if test "x$supports_anon_versioning" = xyes; then
8166 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8167 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8168 echo "local: *; };" >> $output_objdir/$libname.ver~
8169 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8178 netbsd* | netbsdelf*-gnu)
8179 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8180 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8184 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8189 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8193 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8194 *** create shared libraries on Solaris systems. Therefore, libtool
8195 *** is disabling shared libraries support. We urge you to upgrade GNU
8196 *** binutils to release 2.9.1 or newer. Another option is to modify
8197 *** your PATH or compiler configuration so that the native linker is
8198 *** used, and then restart.
8201 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8202 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8203 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8209 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8210 case `$LD -v 2>&1` in
8211 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8215 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8216 *** reliably create shared libraries on SCO systems. Therefore, libtool
8217 *** is disabling shared libraries support. We urge you to upgrade GNU
8218 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8219 *** your PATH or compiler configuration so that the native linker is
8220 *** used, and then restart.
8225 # For security reasons, it is highly recommended that you always
8226 # use absolute paths for naming shared libraries, and exclude the
8227 # DT_RUNPATH tag from executables and libraries. But doing so
8228 # requires that you compile everything twice, which is a pain.
8229 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8230 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8231 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8232 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8241 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8244 hardcode_shlibpath_var=no
8248 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8249 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8250 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8257 if test "$ld_shlibs" = no; then
8259 hardcode_libdir_flag_spec=
8260 export_dynamic_flag_spec=
8261 whole_archive_flag_spec=
8264 # PORTME fill in a description of your system's linker (not GNU ld)
8267 allow_undefined_flag=unsupported
8268 always_export_symbols=yes
8269 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'
8270 # Note: this linker hardcodes the directories in LIBPATH if there
8271 # are no directories specified by -L.
8272 hardcode_minus_L=yes
8273 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8274 # Neither direct hardcoding nor static linking is supported with a
8276 hardcode_direct=unsupported
8281 if test "$host_cpu" = ia64; then
8282 # On IA64, the linker does run time linking by default, so we don't
8283 # have to do anything special.
8284 aix_use_runtimelinking=no
8285 exp_sym_flag='-Bexport'
8288 # If we're using GNU nm, then we don't want the "-C" option.
8289 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8290 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8291 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'
8293 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'
8295 aix_use_runtimelinking=no
8297 # Test if we are trying to use run time linking or normal
8298 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8299 # need to do runtime linking.
8300 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8301 for ld_flag in $LDFLAGS; do
8302 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8303 aix_use_runtimelinking=yes
8310 exp_sym_flag='-bexport'
8311 no_entry_flag='-bnoentry'
8314 # When large executables or shared objects are built, AIX ld can
8315 # have problems creating the table of contents. If linking a library
8316 # or program results in "error TOC overflow" add -mminimal-toc to
8317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8322 hardcode_direct_absolute=yes
8323 hardcode_libdir_separator=':'
8324 link_all_deplibs=yes
8325 file_list_spec='${wl}-f,'
8327 if test "$GCC" = yes; then
8328 case $host_os in aix4.[012]|aix4.[012].*)
8329 # We only want to do this on AIX 4.2 and lower, the check
8330 # below for broken collect2 doesn't work under 4.3+
8331 collect2name=`${CC} -print-prog-name=collect2`
8332 if test -f "$collect2name" &&
8333 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8335 # We have reworked collect2
8338 # We have old collect2
8339 hardcode_direct=unsupported
8340 # It fails to find uninstalled libraries when the uninstalled
8341 # path is not listed in the libpath. Setting hardcode_minus_L
8342 # to unsupported forces relinking
8343 hardcode_minus_L=yes
8344 hardcode_libdir_flag_spec='-L$libdir'
8345 hardcode_libdir_separator=
8349 shared_flag='-shared'
8350 if test "$aix_use_runtimelinking" = yes; then
8351 shared_flag="$shared_flag "'${wl}-G'
8356 if test "$host_cpu" = ia64; then
8357 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8358 # chokes on -Wl,-G. The following line is correct:
8361 if test "$aix_use_runtimelinking" = yes; then
8362 shared_flag='${wl}-G'
8364 shared_flag='${wl}-bM:SRE'
8369 export_dynamic_flag_spec='${wl}-bexpall'
8370 # It seems that -bexpall does not export symbols beginning with
8371 # underscore (_), so it is better to generate a list of symbols to export.
8372 always_export_symbols=yes
8373 if test "$aix_use_runtimelinking" = yes; then
8374 # Warning - without using the other runtime loading flags (-brtl),
8375 # -berok will link without error, but may produce a broken library.
8376 allow_undefined_flag='-berok'
8377 # Determine the default libpath from the value encoded in an
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8390 if ac_fn_c_try_link "$LINENO"; then :
8392 lt_aix_libpath_sed='
8393 /Import File Strings/,/^$/ {
8399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8400 # Check for a 64-bit object if we didn't find anything.
8401 if test -z "$aix_libpath"; then
8402 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8409 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8410 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"
8412 if test "$host_cpu" = ia64; then
8413 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8414 allow_undefined_flag="-z nodefs"
8415 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"
8417 # Determine the default libpath from the value encoded in an
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8430 if ac_fn_c_try_link "$LINENO"; then :
8432 lt_aix_libpath_sed='
8433 /Import File Strings/,/^$/ {
8439 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8440 # Check for a 64-bit object if we didn't find anything.
8441 if test -z "$aix_libpath"; then
8442 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8449 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8450 # Warning - without using the other run time loading flags,
8451 # -berok will link without error, but may produce a broken library.
8452 no_undefined_flag=' ${wl}-bernotok'
8453 allow_undefined_flag=' ${wl}-berok'
8454 # Exported symbols can be pulled into shared objects from archives
8455 whole_archive_flag_spec='$convenience'
8456 archive_cmds_need_lc=yes
8457 # This is similar to how AIX traditionally builds its shared libraries.
8458 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'
8466 # see comment about AmigaOS4 .so support
8467 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8468 archive_expsym_cmds=''
8471 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)'
8472 hardcode_libdir_flag_spec='-L$libdir'
8473 hardcode_minus_L=yes
8479 export_dynamic_flag_spec=-rdynamic
8482 cygwin* | mingw* | pw32* | cegcc*)
8483 # When not using gcc, we currently assume that we are using
8484 # Microsoft Visual C++.
8485 # hardcode_libdir_flag_spec is actually meaningless, as there is
8486 # no search path for DLLs.
8487 hardcode_libdir_flag_spec=' '
8488 allow_undefined_flag=unsupported
8489 # Tell ltmain to make .lib files, not .a files.
8491 # Tell ltmain to make .dll files, not .so files.
8493 # FIXME: Setting linknames here is a bad hack.
8494 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8495 # The linker will automatically build a .lib file if we build a DLL.
8496 old_archive_from_new_cmds='true'
8497 # FIXME: Should let the user specify the lib program.
8498 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8499 fix_srcfile_path='`cygpath -w "$srcfile"`'
8500 enable_shared_with_static_runtimes=yes
8503 darwin* | rhapsody*)
8506 archive_cmds_need_lc=no
8508 hardcode_automatic=yes
8509 hardcode_shlibpath_var=unsupported
8510 whole_archive_flag_spec=''
8511 link_all_deplibs=yes
8512 allow_undefined_flag="$_lt_dar_allow_undefined"
8513 case $cc_basename in
8514 ifort*) _lt_dar_can_shared=yes ;;
8515 *) _lt_dar_can_shared=$GCC ;;
8517 if test "$_lt_dar_can_shared" = "yes"; then
8518 output_verbose_link_cmd=echo
8519 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8520 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8521 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}"
8522 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}"
8531 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8532 hardcode_libdir_flag_spec='-L$libdir'
8533 hardcode_shlibpath_var=no
8540 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8541 # support. Future versions do this automatically, but an explicit c++rt0.o
8542 # does not break anything, and helps significantly (at the cost of a little
8545 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8546 hardcode_libdir_flag_spec='-R$libdir'
8548 hardcode_shlibpath_var=no
8551 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8553 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8555 hardcode_minus_L=yes
8556 hardcode_shlibpath_var=no
8559 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8560 freebsd* | dragonfly*)
8561 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8562 hardcode_libdir_flag_spec='-R$libdir'
8564 hardcode_shlibpath_var=no
8568 if test "$GCC" = yes; then
8569 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'
8571 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'
8573 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8574 hardcode_libdir_separator=:
8577 # hardcode_minus_L: Not really in the search PATH,
8578 # but as the default location of the library.
8579 hardcode_minus_L=yes
8580 export_dynamic_flag_spec='${wl}-E'
8584 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8585 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8587 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8589 if test "$with_gnu_ld" = no; then
8590 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8591 hardcode_libdir_flag_spec_ld='+b $libdir'
8592 hardcode_libdir_separator=:
8594 hardcode_direct_absolute=yes
8595 export_dynamic_flag_spec='${wl}-E'
8596 # hardcode_minus_L: Not really in the search PATH,
8597 # but as the default location of the library.
8598 hardcode_minus_L=yes
8603 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8606 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8609 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8612 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8618 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8621 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8624 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8628 if test "$with_gnu_ld" = no; then
8629 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8630 hardcode_libdir_separator=:
8635 hardcode_shlibpath_var=no
8639 hardcode_direct_absolute=yes
8640 export_dynamic_flag_spec='${wl}-E'
8642 # hardcode_minus_L: Not really in the search PATH,
8643 # but as the default location of the library.
8644 hardcode_minus_L=yes
8650 irix5* | irix6* | nonstopux*)
8651 if test "$GCC" = yes; then
8652 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'
8653 # Try to use the -exported_symbol ld option, if it does not
8654 # work, assume that -exports_file does not work either and
8655 # implicitly export all symbols.
8656 save_LDFLAGS="$LDFLAGS"
8657 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659 /* end confdefs.h. */
8662 if ac_fn_c_try_link "$LINENO"; then :
8663 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'
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 LDFLAGS="$save_LDFLAGS"
8670 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'
8671 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'
8673 archive_cmds_need_lc='no'
8674 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8675 hardcode_libdir_separator=:
8677 link_all_deplibs=yes
8680 netbsd* | netbsdelf*-gnu)
8681 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8682 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8684 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8686 hardcode_libdir_flag_spec='-R$libdir'
8688 hardcode_shlibpath_var=no
8692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8694 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8695 hardcode_libdir_separator=:
8696 hardcode_shlibpath_var=no
8703 if test -f /usr/libexec/ld.so; then
8705 hardcode_shlibpath_var=no
8706 hardcode_direct_absolute=yes
8707 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8708 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8710 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8711 export_dynamic_flag_spec='${wl}-E'
8714 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8715 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8716 hardcode_libdir_flag_spec='-R$libdir'
8719 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8720 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8730 hardcode_libdir_flag_spec='-L$libdir'
8731 hardcode_minus_L=yes
8732 allow_undefined_flag=unsupported
8733 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'
8734 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8738 if test "$GCC" = yes; then
8739 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8740 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'
8742 allow_undefined_flag=' -expect_unresolved \*'
8743 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'
8745 archive_cmds_need_lc='no'
8746 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8747 hardcode_libdir_separator=:
8750 osf4* | osf5*) # as osf3* with the addition of -msym flag
8751 if test "$GCC" = yes; then
8752 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8753 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'
8754 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8756 allow_undefined_flag=' -expect_unresolved \*'
8757 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'
8758 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~
8759 $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'
8761 # Both c and cxx compiler support -rpath directly
8762 hardcode_libdir_flag_spec='-rpath $libdir'
8764 archive_cmds_need_lc='no'
8765 hardcode_libdir_separator=:
8769 no_undefined_flag=' -z defs'
8770 if test "$GCC" = yes; then
8772 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8774 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8776 case `$CC -V 2>&1` in
8779 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8780 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8781 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8785 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8786 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8787 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8791 hardcode_libdir_flag_spec='-R$libdir'
8792 hardcode_shlibpath_var=no
8794 solaris2.[0-5] | solaris2.[0-5].*) ;;
8796 # The compiler driver will combine and reorder linker options,
8797 # but understands `-z linker_flag'. GCC discards it without `$wl',
8798 # but is careful enough not to reorder.
8799 # Supported since Solaris 2.6 (maybe 2.5.1?)
8800 if test "$GCC" = yes; then
8801 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8803 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8807 link_all_deplibs=yes
8811 if test "x$host_vendor" = xsequent; then
8812 # Use $CC to link under sequent, because it throws in some extra .o
8813 # files that make .init and .fini sections work.
8814 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8816 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8818 hardcode_libdir_flag_spec='-L$libdir'
8820 hardcode_minus_L=yes
8821 hardcode_shlibpath_var=no
8825 case $host_vendor in
8827 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8828 hardcode_direct=yes # is this really true???
8831 ## LD is ld it makes a PLAMLIB
8832 ## CC just makes a GrossModule.
8833 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8834 reload_cmds='$CC -r -o $output$reload_objs'
8838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8839 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8842 runpath_var='LD_RUN_PATH'
8843 hardcode_shlibpath_var=no
8847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8848 hardcode_shlibpath_var=no
8849 export_dynamic_flag_spec='-Bexport'
8853 if test -d /usr/nec; then
8854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8855 hardcode_shlibpath_var=no
8856 runpath_var=LD_RUN_PATH
8857 hardcode_runpath_var=yes
8862 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8863 no_undefined_flag='${wl}-z,text'
8864 archive_cmds_need_lc=no
8865 hardcode_shlibpath_var=no
8866 runpath_var='LD_RUN_PATH'
8868 if test "$GCC" = yes; then
8869 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8870 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8872 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8873 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8877 sysv5* | sco3.2v5* | sco5v6*)
8878 # Note: We can NOT use -z defs as we might desire, because we do not
8879 # link with -lc, and that would cause any symbols used from libc to
8880 # always be unresolved, which means just about no library would
8881 # ever link correctly. If we're not using GNU ld we use -z text
8882 # though, which does catch some bad symbols but isn't as heavy-handed
8884 no_undefined_flag='${wl}-z,text'
8885 allow_undefined_flag='${wl}-z,nodefs'
8886 archive_cmds_need_lc=no
8887 hardcode_shlibpath_var=no
8888 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8889 hardcode_libdir_separator=':'
8890 link_all_deplibs=yes
8891 export_dynamic_flag_spec='${wl}-Bexport'
8892 runpath_var='LD_RUN_PATH'
8894 if test "$GCC" = yes; then
8895 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8896 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8898 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8899 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8904 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8905 hardcode_libdir_flag_spec='-L$libdir'
8906 hardcode_shlibpath_var=no
8914 if test x$host_vendor = xsni; then
8916 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8917 export_dynamic_flag_spec='${wl}-Blargedynsym'
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8924 $as_echo "$ld_shlibs" >&6; }
8925 test "$ld_shlibs" = no && can_build_shared=no
8927 with_gnu_ld=$with_gnu_ld
8944 # Do we need to explicitly link libc?
8946 case "x$archive_cmds_need_lc" in
8948 # Assume -lc should be added
8949 archive_cmds_need_lc=yes
8951 if test "$enable_shared" = yes && test "$GCC" = yes; then
8952 case $archive_cmds in
8954 # FIXME: we may have to deal with multi-command sequences.
8957 # Test whether the compiler implicitly links with -lc since on some
8958 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8959 # to ld, don't add -lc before -lgcc.
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8961 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8963 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8966 (eval $ac_compile) 2>&5
8968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8969 test $ac_status = 0; } 2>conftest.err; then
8972 libobjs=conftest.$ac_objext
8974 wl=$lt_prog_compiler_wl
8975 pic_flag=$lt_prog_compiler_pic
8981 lt_save_allow_undefined_flag=$allow_undefined_flag
8982 allow_undefined_flag=
8983 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8984 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8987 test $ac_status = 0; }
8989 archive_cmds_need_lc=no
8991 archive_cmds_need_lc=yes
8993 allow_undefined_flag=$lt_save_allow_undefined_flag
8995 cat conftest.err 1>&5
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8999 $as_echo "$archive_cmds_need_lc" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9163 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9165 if test "$GCC" = yes; then
9167 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9168 *) lt_awk_arg="/^libraries:/" ;;
9170 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9171 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9172 # if the path contains ";" then we assume it to be the separator
9173 # otherwise default to the standard path separator (i.e. ":") - it is
9174 # assumed that no part of a normal pathname contains ";" but that should
9175 # okay in the real world where ";" in dirpaths is itself problematic.
9176 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9178 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9180 # Ok, now we have the path, separated by spaces, we can step through it
9181 # and add multilib dir if necessary.
9182 lt_tmp_lt_search_path_spec=
9183 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9184 for lt_sys_path in $lt_search_path_spec; do
9185 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9186 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9188 test -d "$lt_sys_path" && \
9189 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9192 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9193 BEGIN {RS=" "; FS="/|\n";} {
9196 for (lt_i = NF; lt_i > 0; lt_i--) {
9197 if ($lt_i != "" && $lt_i != ".") {
9198 if ($lt_i == "..") {
9201 if (lt_count == 0) {
9202 lt_foo="/" $lt_i lt_foo;
9209 if (lt_foo != "") { lt_freq[lt_foo]++; }
9210 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9212 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9214 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9217 libname_spec='lib$name'
9225 shlibpath_overrides_runpath=unknown
9227 dynamic_linker="$host_os ld.so"
9228 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9229 need_lib_prefix=unknown
9230 hardcode_into_libs=no
9232 # when you set need_version to no, make sure it does not cause -set_version
9233 # flags to be left without arguments
9234 need_version=unknown
9239 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9240 shlibpath_var=LIBPATH
9242 # AIX 3 has no versioning support, so we append a major version to the name.
9243 soname_spec='${libname}${release}${shared_ext}$major'
9250 hardcode_into_libs=yes
9251 if test "$host_cpu" = ia64; then
9252 # AIX 5 supports IA64
9253 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9254 shlibpath_var=LD_LIBRARY_PATH
9256 # With GCC up to 2.95.x, collect2 would create an import file
9257 # for dependence libraries. The import file would start with
9258 # the line `#! .'. This would cause the generated library to
9259 # depend on `.', always an invalid library. This was fixed in
9260 # development snapshots of GCC prior to 3.0.
9262 aix4 | aix4.[01] | aix4.[01].*)
9263 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9265 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9272 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9273 # soname into executable. Probably we can add versioning support to
9274 # collect2, so additional links can be useful in future.
9275 if test "$aix_use_runtimelinking" = yes; then
9276 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9277 # instead of lib<name>.a to let people know that these are not
9278 # typical AIX shared libraries.
9279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 # We preserve .a as extension for shared libraries through AIX4.2
9282 # and later when we are not doing run time linking.
9283 library_names_spec='${libname}${release}.a $libname.a'
9284 soname_spec='${libname}${release}${shared_ext}$major'
9286 shlibpath_var=LIBPATH
9293 # Since July 2007 AmigaOS4 officially supports .so libraries.
9294 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9298 library_names_spec='$libname.ixlibrary $libname.a'
9299 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9300 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'
9306 library_names_spec='${libname}${shared_ext}'
9307 dynamic_linker="$host_os ld.so"
9308 shlibpath_var=LIBRARY_PATH
9314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9315 soname_spec='${libname}${release}${shared_ext}$major'
9316 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9317 shlibpath_var=LD_LIBRARY_PATH
9318 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9319 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9320 # the default ld.so.conf also contains /usr/contrib/lib and
9321 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9322 # libtool to hard-code these into programs
9325 cygwin* | mingw* | pw32* | cegcc*)
9326 version_type=windows
9331 case $GCC,$host_os in
9332 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9333 library_names_spec='$libname.dll.a'
9334 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9335 postinstall_cmds='base_file=`basename \${file}`~
9336 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9337 dldir=$destdir/`dirname \$dlpath`~
9338 test -d \$dldir || mkdir -p \$dldir~
9339 $install_prog $dir/$dlname \$dldir/$dlname~
9340 chmod a+x \$dldir/$dlname~
9341 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9342 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9344 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9345 dlpath=$dir/\$dldll~
9347 shlibpath_overrides_runpath=yes
9351 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9352 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9353 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9356 # MinGW DLLs use traditional 'lib' prefix
9357 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9358 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9359 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9360 # It is most probably a Windows format PATH printed by
9361 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9362 # path with ; separators, and with drive letters. We can handle the
9363 # drive letters (cygwin fileutils understands them), so leave them,
9364 # especially as we might pass files found there to a mingw objdump,
9365 # which wouldn't understand a cygwinified path. Ahh.
9366 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9368 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9372 # pw32 DLLs use 'pw' prefix rather than 'lib'
9373 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9379 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9382 dynamic_linker='Win32 ld.exe'
9383 # FIXME: first we should search . and the directory the executable is in
9387 darwin* | rhapsody*)
9388 dynamic_linker="$host_os dyld"
9392 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9393 soname_spec='${libname}${release}${major}$shared_ext'
9394 shlibpath_overrides_runpath=yes
9395 shlibpath_var=DYLD_LIBRARY_PATH
9396 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9398 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9399 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9407 soname_spec='${libname}${release}${shared_ext}$major'
9408 shlibpath_var=LD_LIBRARY_PATH
9415 freebsd* | dragonfly*)
9416 # DragonFly does not have aout. When/if they implement a new
9417 # versioning mechanism, adjust this.
9418 if test -x /usr/bin/objformat; then
9419 objformat=`/usr/bin/objformat`
9422 freebsd[123]*) objformat=aout ;;
9426 version_type=freebsd-$objformat
9427 case $version_type in
9429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9434 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9438 shlibpath_var=LD_LIBRARY_PATH
9441 shlibpath_overrides_runpath=yes
9443 freebsd3.[01]* | freebsdelf3.[01]*)
9444 shlibpath_overrides_runpath=yes
9445 hardcode_into_libs=yes
9447 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9448 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9449 shlibpath_overrides_runpath=no
9450 hardcode_into_libs=yes
9452 *) # from 4.6 on, and DragonFly
9453 shlibpath_overrides_runpath=yes
9454 hardcode_into_libs=yes
9463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9464 soname_spec='${libname}${release}${shared_ext}$major'
9465 shlibpath_var=LD_LIBRARY_PATH
9466 hardcode_into_libs=yes
9469 hpux9* | hpux10* | hpux11*)
9470 # Give a soname corresponding to the major version so that dld.sl refuses to
9471 # link against other versions.
9478 hardcode_into_libs=yes
9479 dynamic_linker="$host_os dld.so"
9480 shlibpath_var=LD_LIBRARY_PATH
9481 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9483 soname_spec='${libname}${release}${shared_ext}$major'
9484 if test "X$HPUX_IA64_MODE" = X32; then
9485 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9487 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9489 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9493 hardcode_into_libs=yes
9494 dynamic_linker="$host_os dld.sl"
9495 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9498 soname_spec='${libname}${release}${shared_ext}$major'
9499 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9500 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9504 dynamic_linker="$host_os dld.sl"
9505 shlibpath_var=SHLIB_PATH
9506 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9508 soname_spec='${libname}${release}${shared_ext}$major'
9511 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9512 postinstall_cmds='chmod 555 $lib'
9519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9520 soname_spec='${libname}${release}${shared_ext}$major'
9521 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9522 shlibpath_var=LD_LIBRARY_PATH
9523 shlibpath_overrides_runpath=no
9524 hardcode_into_libs=yes
9527 irix5* | irix6* | nonstopux*)
9529 nonstopux*) version_type=nonstopux ;;
9531 if test "$lt_cv_prog_gnu_ld" = yes; then
9539 soname_spec='${libname}${release}${shared_ext}$major'
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9542 irix5* | nonstopux*)
9546 case $LD in # libtool.m4 will add one of these switches to LD
9547 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9548 libsuff= shlibsuff= libmagic=32-bit;;
9549 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9550 libsuff=32 shlibsuff=N32 libmagic=N32;;
9551 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9552 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9553 *) libsuff= shlibsuff= libmagic=never-match;;
9557 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9558 shlibpath_overrides_runpath=no
9559 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9560 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9561 hardcode_into_libs=yes
9564 # No shared lib support for Linux oldld, aout, or coff.
9565 linux*oldld* | linux*aout* | linux*coff*)
9569 # This must be Linux ELF.
9570 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9575 soname_spec='${libname}${release}${shared_ext}$major'
9576 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9577 shlibpath_var=LD_LIBRARY_PATH
9578 shlibpath_overrides_runpath=no
9579 # Some binutils ld are patched to set DT_RUNPATH
9580 save_LDFLAGS=$LDFLAGS
9582 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9583 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9595 if ac_fn_c_try_link "$LINENO"; then :
9596 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9597 shlibpath_overrides_runpath=yes
9600 rm -f core conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
9602 LDFLAGS=$save_LDFLAGS
9605 # This implies no fast_install, which is unacceptable.
9606 # Some rework will be needed to allow for fast_install
9607 # before this can be enabled.
9608 hardcode_into_libs=yes
9610 # Append ld.so.conf contents to the search path
9611 if test -f /etc/ld.so.conf; then
9612 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' ' '`
9613 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9616 # We used to test for /lib/ld.so.1 and disable shared libraries on
9617 # powerpc, because MkLinux only supported shared libraries with the
9618 # GNU dynamic linker. Since this was broken with cross compilers,
9619 # most powerpc-linux boxes support dynamic linking these days and
9620 # people can always --disable-shared, the test was removed, and we
9621 # assume the GNU/Linux dynamic linker is in use.
9622 dynamic_linker='GNU/Linux ld.so'
9629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9630 soname_spec='${libname}${release}${shared_ext}$major'
9631 shlibpath_var=LD_LIBRARY_PATH
9632 shlibpath_overrides_runpath=no
9633 hardcode_into_libs=yes
9634 dynamic_linker='NetBSD ld.elf_so'
9641 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9643 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9644 dynamic_linker='NetBSD (a.out) 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 dynamic_linker='NetBSD ld.elf_so'
9650 shlibpath_var=LD_LIBRARY_PATH
9651 shlibpath_overrides_runpath=yes
9652 hardcode_into_libs=yes
9657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9658 shlibpath_var=LD_LIBRARY_PATH
9659 shlibpath_overrides_runpath=yes
9666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9667 soname_spec='${libname}${release}${shared_ext}$major'
9668 shlibpath_var=LD_LIBRARY_PATH
9669 shlibpath_overrides_runpath=no
9670 hardcode_into_libs=yes
9671 dynamic_linker='ldqnx.so'
9676 sys_lib_dlsearch_path_spec="/usr/lib"
9678 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9680 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9681 *) need_version=no ;;
9683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9684 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9685 shlibpath_var=LD_LIBRARY_PATH
9686 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9688 openbsd2.[89] | openbsd2.[89].*)
9689 shlibpath_overrides_runpath=no
9692 shlibpath_overrides_runpath=yes
9696 shlibpath_overrides_runpath=yes
9701 libname_spec='$name'
9704 library_names_spec='$libname${shared_ext} $libname.a'
9705 dynamic_linker='OS/2 ld.exe'
9706 shlibpath_var=LIBPATH
9709 osf3* | osf4* | osf5*)
9713 soname_spec='${libname}${release}${shared_ext}$major'
9714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9715 shlibpath_var=LD_LIBRARY_PATH
9716 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9717 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9729 soname_spec='${libname}${release}${shared_ext}$major'
9730 shlibpath_var=LD_LIBRARY_PATH
9731 shlibpath_overrides_runpath=yes
9732 hardcode_into_libs=yes
9733 # ldd complains unless libraries are executable
9734 postinstall_cmds='chmod +x $lib'
9739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9740 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9741 shlibpath_var=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath=yes
9743 if test "$with_gnu_ld" = yes; then
9751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9752 soname_spec='${libname}${release}${shared_ext}$major'
9753 shlibpath_var=LD_LIBRARY_PATH
9754 case $host_vendor in
9756 shlibpath_overrides_runpath=no
9758 runpath_var=LD_RUN_PATH
9766 shlibpath_overrides_runpath=no
9767 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9773 if test -d /usr/nec ;then
9775 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9776 soname_spec='$libname${shared_ext}.$major'
9777 shlibpath_var=LD_LIBRARY_PATH
9781 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9782 version_type=freebsd-elf
9785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9786 soname_spec='${libname}${release}${shared_ext}$major'
9787 shlibpath_var=LD_LIBRARY_PATH
9788 shlibpath_overrides_runpath=yes
9789 hardcode_into_libs=yes
9790 if test "$with_gnu_ld" = yes; then
9791 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9793 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9796 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9800 sys_lib_dlsearch_path_spec='/usr/lib'
9804 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9809 shlibpath_var=LD_LIBRARY_PATH
9810 shlibpath_overrides_runpath=no
9811 hardcode_into_libs=yes
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817 soname_spec='${libname}${release}${shared_ext}$major'
9818 shlibpath_var=LD_LIBRARY_PATH
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9826 $as_echo "$dynamic_linker" >&6; }
9827 test "$dynamic_linker" = no && can_build_shared=no
9829 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9830 if test "$GCC" = yes; then
9831 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9834 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9835 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9837 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9838 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9928 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9930 if test -n "$hardcode_libdir_flag_spec" ||
9931 test -n "$runpath_var" ||
9932 test "X$hardcode_automatic" = "Xyes" ; then
9934 # We can hardcode non-existent directories.
9935 if test "$hardcode_direct" != no &&
9936 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9937 # have to relink, otherwise we might link with an installed library
9938 # when we should be linking with a yet-to-be-installed one
9939 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9940 test "$hardcode_minus_L" != no; then
9941 # Linking always hardcodes the temporary library directory.
9942 hardcode_action=relink
9944 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9945 hardcode_action=immediate
9948 # We cannot hardcode anything, or else we can only hardcode existing
9950 hardcode_action=unsupported
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9953 $as_echo "$hardcode_action" >&6; }
9955 if test "$hardcode_action" = relink ||
9956 test "$inherit_rpath" = yes; then
9957 # Fast installation is not supported
9958 enable_fast_install=no
9959 elif test "$shlibpath_overrides_runpath" = yes ||
9960 test "$enable_shared" = no; then
9961 # Fast installation is not necessary
9962 enable_fast_install=needless
9970 if test "x$enable_dlopen" != xyes; then
9971 enable_dlopen=unknown
9972 enable_dlopen_self=unknown
9973 enable_dlopen_self_static=unknown
9980 lt_cv_dlopen="load_add_on"
9982 lt_cv_dlopen_self=yes
9985 mingw* | pw32* | cegcc*)
9986 lt_cv_dlopen="LoadLibrary"
9991 lt_cv_dlopen="dlopen"
9996 # if libdl is installed we need to link against it
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9998 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9999 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10000 $as_echo_n "(cached) " >&6
10002 ac_check_lib_save_LIBS=$LIBS
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 ac_cv_lib_dl_dlopen=yes
10025 ac_cv_lib_dl_dlopen=no
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_lib_save_LIBS
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10032 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10033 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10034 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10037 lt_cv_dlopen="dyld"
10039 lt_cv_dlopen_self=yes
10046 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10047 if test "x$ac_cv_func_shl_load" = x""yes; then :
10048 lt_cv_dlopen="shl_load"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10051 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10052 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10053 $as_echo_n "(cached) " >&6
10055 ac_check_lib_save_LIBS=$LIBS
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10070 return shl_load ();
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 ac_cv_lib_dld_shl_load=yes
10078 ac_cv_lib_dld_shl_load=no
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 LIBS=$ac_check_lib_save_LIBS
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10085 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10086 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10087 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10089 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10090 if test "x$ac_cv_func_dlopen" = x""yes; then :
10091 lt_cv_dlopen="dlopen"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10094 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10095 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10096 $as_echo_n "(cached) " >&6
10098 ac_check_lib_save_LIBS=$LIBS
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10103 /* Override any GCC internal prototype to avoid an error.
10104 Use char because int might match the return type of a GCC
10105 builtin and then its argument prototype would still apply. */
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_lib_dl_dlopen=yes
10121 ac_cv_lib_dl_dlopen=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 LIBS=$ac_check_lib_save_LIBS
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10128 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10129 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10130 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10133 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10134 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10135 $as_echo_n "(cached) " >&6
10137 ac_check_lib_save_LIBS=$LIBS
10138 LIBS="-lsvld $LIBS"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_lib_svld_dlopen=yes
10160 ac_cv_lib_svld_dlopen=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 LIBS=$ac_check_lib_save_LIBS
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10167 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10168 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10169 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10172 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10173 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10174 $as_echo_n "(cached) " >&6
10176 ac_check_lib_save_LIBS=$LIBS
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10191 return dld_link ();
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_lib_dld_dld_link=yes
10199 ac_cv_lib_dld_dld_link=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_lib_save_LIBS
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10206 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10207 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10208 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10229 if test "x$lt_cv_dlopen" != xno; then
10235 case $lt_cv_dlopen in
10237 save_CPPFLAGS="$CPPFLAGS"
10238 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10240 save_LDFLAGS="$LDFLAGS"
10241 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10244 LIBS="$lt_cv_dlopen_libs $LIBS"
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10247 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10248 if test "${lt_cv_dlopen_self+set}" = set; then :
10249 $as_echo_n "(cached) " >&6
10251 if test "$cross_compiling" = yes; then :
10252 lt_cv_dlopen_self=cross
10254 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10255 lt_status=$lt_dlunknown
10256 cat > conftest.$ac_ext <<_LT_EOF
10257 #line 10257 "configure"
10258 #include "confdefs.h"
10267 # define LT_DLGLOBAL RTLD_GLOBAL
10270 # define LT_DLGLOBAL DL_GLOBAL
10272 # define LT_DLGLOBAL 0
10276 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10277 find out it does not work in some platform. */
10278 #ifndef LT_DLLAZY_OR_NOW
10280 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10283 # define LT_DLLAZY_OR_NOW DL_LAZY
10286 # define LT_DLLAZY_OR_NOW RTLD_NOW
10289 # define LT_DLLAZY_OR_NOW DL_NOW
10291 # define LT_DLLAZY_OR_NOW 0
10298 void fnord() { int i=42;}
10301 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10302 int status = $lt_dlunknown;
10306 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10307 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10308 /* dlclose (self); */
10316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10317 (eval $ac_link) 2>&5
10319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10320 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10321 (./conftest; exit; ) >&5 2>/dev/null
10323 case x$lt_status in
10324 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10325 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10326 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10329 # compilation failed
10330 lt_cv_dlopen_self=no
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10338 $as_echo "$lt_cv_dlopen_self" >&6; }
10340 if test "x$lt_cv_dlopen_self" = xyes; then
10341 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10343 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10344 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10345 $as_echo_n "(cached) " >&6
10347 if test "$cross_compiling" = yes; then :
10348 lt_cv_dlopen_self_static=cross
10350 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10351 lt_status=$lt_dlunknown
10352 cat > conftest.$ac_ext <<_LT_EOF
10353 #line 10353 "configure"
10354 #include "confdefs.h"
10363 # define LT_DLGLOBAL RTLD_GLOBAL
10366 # define LT_DLGLOBAL DL_GLOBAL
10368 # define LT_DLGLOBAL 0
10372 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10373 find out it does not work in some platform. */
10374 #ifndef LT_DLLAZY_OR_NOW
10376 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10379 # define LT_DLLAZY_OR_NOW DL_LAZY
10382 # define LT_DLLAZY_OR_NOW RTLD_NOW
10385 # define LT_DLLAZY_OR_NOW DL_NOW
10387 # define LT_DLLAZY_OR_NOW 0
10394 void fnord() { int i=42;}
10397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10398 int status = $lt_dlunknown;
10402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10403 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10404 /* dlclose (self); */
10412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10413 (eval $ac_link) 2>&5
10415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10416 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10417 (./conftest; exit; ) >&5 2>/dev/null
10419 case x$lt_status in
10420 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10421 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10422 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10425 # compilation failed
10426 lt_cv_dlopen_self_static=no
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10434 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10437 CPPFLAGS="$save_CPPFLAGS"
10438 LDFLAGS="$save_LDFLAGS"
10443 case $lt_cv_dlopen_self in
10444 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10445 *) enable_dlopen_self=unknown ;;
10448 case $lt_cv_dlopen_self_static in
10449 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10450 *) enable_dlopen_self_static=unknown ;;
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10473 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10474 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10475 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10476 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10478 $as_echo "yes" >&6; }
10480 # FIXME - insert some real tests, host_os isn't really good enough
10483 if test -n "$STRIP" ; then
10484 striplib="$STRIP -x"
10485 old_striplib="$STRIP -S"
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10487 $as_echo "yes" >&6; }
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490 $as_echo "no" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495 $as_echo "no" >&6; }
10511 # Report which library types will actually be built
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10513 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10515 $as_echo "$can_build_shared" >&6; }
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10518 $as_echo_n "checking whether to build shared libraries... " >&6; }
10519 test "$can_build_shared" = "no" && enable_shared=no
10521 # On AIX, shared libraries and static libraries use the same namespace, and
10522 # are all built from PIC.
10525 test "$enable_shared" = yes && enable_static=no
10526 if test -n "$RANLIB"; then
10527 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10528 postinstall_cmds='$RANLIB $lib'
10533 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10534 test "$enable_shared" = yes && enable_static=no
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10539 $as_echo "$enable_shared" >&6; }
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10542 $as_echo_n "checking whether to build static libraries... " >&6; }
10543 # Make sure either enable_shared or enable_static is yes.
10544 test "$enable_shared" = yes || enable_static=yes
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10546 $as_echo "$enable_static" >&6; }
10553 ac_cpp='$CPP $CPPFLAGS'
10554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10572 ac_config_commands="$ac_config_commands libtool"
10577 # Only expand once:
10582 ac_cpp='$CPP $CPPFLAGS'
10583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10586 if test -n "$ac_tool_prefix"; then
10587 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10588 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10590 $as_echo_n "checking for $ac_word... " >&6; }
10591 if test "${ac_cv_prog_CC+set}" = set; then :
10592 $as_echo_n "(cached) " >&6
10594 if test -n "$CC"; then
10595 ac_cv_prog_CC="$CC" # Let the user override the test.
10597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10598 for as_dir in $PATH
10601 test -z "$as_dir" && as_dir=.
10602 for ac_exec_ext in '' $ac_executable_extensions; do
10603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10604 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10615 if test -n "$CC"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10617 $as_echo "$CC" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10620 $as_echo "no" >&6; }
10625 if test -z "$ac_cv_prog_CC"; then
10627 # Extract the first word of "gcc", so it can be a program name with args.
10628 set dummy gcc; ac_word=$2
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10630 $as_echo_n "checking for $ac_word... " >&6; }
10631 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10632 $as_echo_n "(cached) " >&6
10634 if test -n "$ac_ct_CC"; then
10635 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10638 for as_dir in $PATH
10641 test -z "$as_dir" && as_dir=.
10642 for ac_exec_ext in '' $ac_executable_extensions; do
10643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10644 ac_cv_prog_ac_ct_CC="gcc"
10645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10654 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10655 if test -n "$ac_ct_CC"; then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10657 $as_echo "$ac_ct_CC" >&6; }
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10660 $as_echo "no" >&6; }
10663 if test "x$ac_ct_CC" = x; then
10666 case $cross_compiling:$ac_tool_warned in
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10670 ac_tool_warned=yes ;;
10675 CC="$ac_cv_prog_CC"
10678 if test -z "$CC"; then
10679 if test -n "$ac_tool_prefix"; then
10680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10681 set dummy ${ac_tool_prefix}cc; ac_word=$2
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10683 $as_echo_n "checking for $ac_word... " >&6; }
10684 if test "${ac_cv_prog_CC+set}" = set; then :
10685 $as_echo_n "(cached) " >&6
10687 if test -n "$CC"; then
10688 ac_cv_prog_CC="$CC" # Let the user override the test.
10690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10691 for as_dir in $PATH
10694 test -z "$as_dir" && as_dir=.
10695 for ac_exec_ext in '' $ac_executable_extensions; do
10696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10697 ac_cv_prog_CC="${ac_tool_prefix}cc"
10698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10708 if test -n "$CC"; then
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10710 $as_echo "$CC" >&6; }
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10713 $as_echo "no" >&6; }
10719 if test -z "$CC"; then
10720 # Extract the first word of "cc", so it can be a program name with args.
10721 set dummy cc; ac_word=$2
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10723 $as_echo_n "checking for $ac_word... " >&6; }
10724 if test "${ac_cv_prog_CC+set}" = set; then :
10725 $as_echo_n "(cached) " >&6
10727 if test -n "$CC"; then
10728 ac_cv_prog_CC="$CC" # Let the user override the test.
10730 ac_prog_rejected=no
10731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10732 for as_dir in $PATH
10735 test -z "$as_dir" && as_dir=.
10736 for ac_exec_ext in '' $ac_executable_extensions; do
10737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10739 ac_prog_rejected=yes
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10750 if test $ac_prog_rejected = yes; then
10751 # We found a bogon in the path, so make sure we never use it.
10752 set dummy $ac_cv_prog_CC
10754 if test $# != 0; then
10755 # We chose a different compiler from the bogus one.
10756 # However, it has the same basename, so the bogon will be chosen
10757 # first if we set CC to just the basename; use the full file name.
10759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10765 if test -n "$CC"; then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10767 $as_echo "$CC" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 $as_echo "no" >&6; }
10775 if test -z "$CC"; then
10776 if test -n "$ac_tool_prefix"; then
10777 for ac_prog in cl.exe
10779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10782 $as_echo_n "checking for $ac_word... " >&6; }
10783 if test "${ac_cv_prog_CC+set}" = set; then :
10784 $as_echo_n "(cached) " >&6
10786 if test -n "$CC"; then
10787 ac_cv_prog_CC="$CC" # Let the user override the test.
10789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10790 for as_dir in $PATH
10793 test -z "$as_dir" && as_dir=.
10794 for ac_exec_ext in '' $ac_executable_extensions; do
10795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10796 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10807 if test -n "$CC"; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10809 $as_echo "$CC" >&6; }
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10812 $as_echo "no" >&6; }
10816 test -n "$CC" && break
10819 if test -z "$CC"; then
10821 for ac_prog in cl.exe
10823 # Extract the first word of "$ac_prog", so it can be a program name with args.
10824 set dummy $ac_prog; ac_word=$2
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10826 $as_echo_n "checking for $ac_word... " >&6; }
10827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10830 if test -n "$ac_ct_CC"; then
10831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10834 for as_dir in $PATH
10837 test -z "$as_dir" && as_dir=.
10838 for ac_exec_ext in '' $ac_executable_extensions; do
10839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10840 ac_cv_prog_ac_ct_CC="$ac_prog"
10841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10851 if test -n "$ac_ct_CC"; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10853 $as_echo "$ac_ct_CC" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10856 $as_echo "no" >&6; }
10860 test -n "$ac_ct_CC" && break
10863 if test "x$ac_ct_CC" = x; then
10866 case $cross_compiling:$ac_tool_warned in
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10870 ac_tool_warned=yes ;;
10879 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10881 as_fn_error $? "no acceptable C compiler found in \$PATH
10882 See \`config.log' for more details" "$LINENO" 5 ; }
10884 # Provide some information about the compiler.
10885 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10888 for ac_option in --version -v -V -qversion; do
10889 { { ac_try="$ac_compiler $ac_option >&5"
10890 case "(($ac_try" in
10891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10892 *) ac_try_echo=$ac_try;;
10894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10895 $as_echo "$ac_try_echo"; } >&5
10896 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10898 if test -s conftest.err; then
10900 ... rest of stderr output deleted ...
10901 10q' conftest.err >conftest.er1
10902 cat conftest.er1 >&5
10904 rm -f conftest.er1 conftest.err
10905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10906 test $ac_status = 0; }
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10911 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10912 $as_echo_n "(cached) " >&6
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10928 if ac_fn_c_try_compile "$LINENO"; then :
10929 ac_compiler_gnu=yes
10933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10939 if test $ac_compiler_gnu = yes; then
10944 ac_test_CFLAGS=${CFLAGS+set}
10945 ac_save_CFLAGS=$CFLAGS
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10948 if test "${ac_cv_prog_cc_g+set}" = set; then :
10949 $as_echo_n "(cached) " >&6
10951 ac_save_c_werror_flag=$ac_c_werror_flag
10952 ac_c_werror_flag=yes
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10966 if ac_fn_c_try_compile "$LINENO"; then :
10967 ac_cv_prog_cc_g=yes
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10981 if ac_fn_c_try_compile "$LINENO"; then :
10984 ac_c_werror_flag=$ac_save_c_werror_flag
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10997 if ac_fn_c_try_compile "$LINENO"; then :
10998 ac_cv_prog_cc_g=yes
11000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11005 ac_c_werror_flag=$ac_save_c_werror_flag
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11008 $as_echo "$ac_cv_prog_cc_g" >&6; }
11009 if test "$ac_test_CFLAGS" = set; then
11010 CFLAGS=$ac_save_CFLAGS
11011 elif test $ac_cv_prog_cc_g = yes; then
11012 if test "$GCC" = yes; then
11018 if test "$GCC" = yes; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11026 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11027 $as_echo_n "(cached) " >&6
11029 ac_cv_prog_cc_c89=no
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11033 #include <stdarg.h>
11035 #include <sys/types.h>
11036 #include <sys/stat.h>
11037 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11038 struct buf { int x; };
11039 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11040 static char *e (p, i)
11046 static char *f (char * (*g) (char **, int), char **p, ...)
11051 s = g (p, va_arg (v,int));
11056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11057 function prototypes and stuff, but not '\xHH' hex character constants.
11058 These don't provoke an error unfortunately, instead are silently treated
11059 as 'x'. The following induces an error, until -std is added to get
11060 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11061 array size at least. It's necessary to write '\x00'==0 to get something
11062 that's true only with -std. */
11063 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11065 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11066 inside strings and character constants. */
11068 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11070 int test (int i, double x);
11071 struct s1 {int (*f) (int a);};
11072 struct s2 {int (*f) (double a);};
11073 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11079 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11084 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11085 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11087 CC="$ac_save_CC $ac_arg"
11088 if ac_fn_c_try_compile "$LINENO"; then :
11089 ac_cv_prog_cc_c89=$ac_arg
11091 rm -f core conftest.err conftest.$ac_objext
11092 test "x$ac_cv_prog_cc_c89" != "xno" && break
11094 rm -f conftest.$ac_ext
11099 case "x$ac_cv_prog_cc_c89" in
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11102 $as_echo "none needed" >&6; } ;;
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11105 $as_echo "unsupported" >&6; } ;;
11107 CC="$CC $ac_cv_prog_cc_c89"
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11109 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11111 if test "x$ac_cv_prog_cc_c89" != xno; then :
11116 ac_cpp='$CPP $CPPFLAGS'
11117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11121 depcc="$CC" am_compiler_list=
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11124 $as_echo_n "checking dependency style of $depcc... " >&6; }
11125 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11126 $as_echo_n "(cached) " >&6
11128 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11129 # We make a subdir and do the tests there. Otherwise we can end up
11130 # making bogus files that we don't know about and never remove. For
11131 # instance it was reported that on HP-UX the gcc test will end up
11132 # making a dummy file named `D' -- because `-MD' means `put the output
11135 # Copy depcomp to subdir because otherwise we won't find it if we're
11136 # using a relative directory.
11137 cp "$am_depcomp" conftest.dir
11139 # We will build objects and dependencies in a subdirectory because
11140 # it helps to detect inapplicable dependency modes. For instance
11141 # both Tru64's cc and ICC support -MD to output dependencies as a
11142 # side effect of compilation, but ICC will put the dependencies in
11143 # the current directory while Tru64 will put them in the object
11147 am_cv_CC_dependencies_compiler_type=none
11148 if test "$am_compiler_list" = ""; then
11149 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11151 am__universal=false
11152 case " $depcc " in #(
11153 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11156 for depmode in $am_compiler_list; do
11157 # Setup a source with many dependencies, because some compilers
11158 # like to wrap large dependency lists on column 80 (with \), and
11159 # we should not choose a depcomp mode which is confused by this.
11161 # We need to recreate these files for each test, as the compiler may
11162 # overwrite some of them when testing with obscure command lines.
11163 # This happens at least with the AIX C compiler.
11165 for i in 1 2 3 4 5 6; do
11166 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11167 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11168 # Solaris 8's {/usr,}/bin/sh.
11169 touch sub/conftst$i.h
11171 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11173 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11174 # mode. It turns out that the SunPro C++ compiler does not properly
11175 # handle `-M -o', and we need to detect this. Also, some Intel
11176 # versions had trouble with output in subdirs
11177 am__obj=sub/conftest.${OBJEXT-o}
11178 am__minus_obj="-o $am__obj"
11181 # This depmode causes a compiler race in universal mode.
11182 test "$am__universal" = false || continue
11185 # after this tag, mechanisms are not by side-effect, so they'll
11186 # only be used when explicitly requested
11187 if test "x$enable_dependency_tracking" = xyes; then
11193 msvisualcpp | msvcmsys)
11194 # This compiler won't grok `-c -o', but also, the minuso test has
11195 # not run yet. These depmodes are late enough in the game, and
11196 # so weak that their functioning should not be impacted.
11197 am__obj=conftest.${OBJEXT-o}
11202 if depmode=$depmode \
11203 source=sub/conftest.c object=$am__obj \
11204 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11205 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11206 >/dev/null 2>conftest.err &&
11207 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11208 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11209 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11210 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11211 # icc doesn't choke on unknown options, it will just issue warnings
11212 # or remarks (even with -Werror). So we grep stderr for any message
11213 # that says an option was ignored or not supported.
11214 # When given -MP, icc 7.0 and 7.1 complain thusly:
11215 # icc: Command line warning: ignoring option '-M'; no argument required
11216 # The diagnosis changed in icc 8.0:
11217 # icc: Command line remark: option '-MP' not supported
11218 if (grep 'ignoring option' conftest.err ||
11219 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11220 am_cv_CC_dependencies_compiler_type=$depmode
11227 rm -rf conftest.dir
11229 am_cv_CC_dependencies_compiler_type=none
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11234 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11235 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11238 test "x$enable_dependency_tracking" != xno \
11239 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11240 am__fastdepCC_TRUE=
11241 am__fastdepCC_FALSE='#'
11243 am__fastdepCC_TRUE='#'
11244 am__fastdepCC_FALSE=
11249 ac_cpp='$CXXCPP $CPPFLAGS'
11250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11253 if test -z "$CXX"; then
11254 if test -n "$CCC"; then
11257 if test -n "$ac_tool_prefix"; then
11258 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11263 $as_echo_n "checking for $ac_word... " >&6; }
11264 if test "${ac_cv_prog_CXX+set}" = set; then :
11265 $as_echo_n "(cached) " >&6
11267 if test -n "$CXX"; then
11268 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271 for as_dir in $PATH
11274 test -z "$as_dir" && as_dir=.
11275 for ac_exec_ext in '' $ac_executable_extensions; do
11276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11277 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11287 CXX=$ac_cv_prog_CXX
11288 if test -n "$CXX"; then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11290 $as_echo "$CXX" >&6; }
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11293 $as_echo "no" >&6; }
11297 test -n "$CXX" && break
11300 if test -z "$CXX"; then
11302 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11304 # Extract the first word of "$ac_prog", so it can be a program name with args.
11305 set dummy $ac_prog; ac_word=$2
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11307 $as_echo_n "checking for $ac_word... " >&6; }
11308 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11309 $as_echo_n "(cached) " >&6
11311 if test -n "$ac_ct_CXX"; then
11312 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11315 for as_dir in $PATH
11318 test -z "$as_dir" && as_dir=.
11319 for ac_exec_ext in '' $ac_executable_extensions; do
11320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11321 ac_cv_prog_ac_ct_CXX="$ac_prog"
11322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11331 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11332 if test -n "$ac_ct_CXX"; then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11334 $as_echo "$ac_ct_CXX" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11341 test -n "$ac_ct_CXX" && break
11344 if test "x$ac_ct_CXX" = x; then
11347 case $cross_compiling:$ac_tool_warned in
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11351 ac_tool_warned=yes ;;
11359 # Provide some information about the compiler.
11360 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11363 for ac_option in --version -v -V -qversion; do
11364 { { ac_try="$ac_compiler $ac_option >&5"
11365 case "(($ac_try" in
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367 *) ac_try_echo=$ac_try;;
11369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11370 $as_echo "$ac_try_echo"; } >&5
11371 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11373 if test -s conftest.err; then
11375 ... rest of stderr output deleted ...
11376 10q' conftest.err >conftest.er1
11377 cat conftest.er1 >&5
11379 rm -f conftest.er1 conftest.err
11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381 test $ac_status = 0; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11385 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11386 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11387 $as_echo_n "(cached) " >&6
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11403 if ac_fn_cxx_try_compile "$LINENO"; then :
11404 ac_compiler_gnu=yes
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11409 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11413 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11414 if test $ac_compiler_gnu = yes; then
11419 ac_test_CXXFLAGS=${CXXFLAGS+set}
11420 ac_save_CXXFLAGS=$CXXFLAGS
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11422 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11423 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11424 $as_echo_n "(cached) " >&6
11426 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11427 ac_cxx_werror_flag=yes
11428 ac_cv_prog_cxx_g=no
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11441 if ac_fn_cxx_try_compile "$LINENO"; then :
11442 ac_cv_prog_cxx_g=yes
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11456 if ac_fn_cxx_try_compile "$LINENO"; then :
11459 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11472 if ac_fn_cxx_try_compile "$LINENO"; then :
11473 ac_cv_prog_cxx_g=yes
11475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11480 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11483 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11484 if test "$ac_test_CXXFLAGS" = set; then
11485 CXXFLAGS=$ac_save_CXXFLAGS
11486 elif test $ac_cv_prog_cxx_g = yes; then
11487 if test "$GXX" = yes; then
11493 if test "$GXX" = yes; then
11500 ac_cpp='$CPP $CPPFLAGS'
11501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11505 depcc="$CXX" am_compiler_list=
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11508 $as_echo_n "checking dependency style of $depcc... " >&6; }
11509 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11510 $as_echo_n "(cached) " >&6
11512 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11513 # We make a subdir and do the tests there. Otherwise we can end up
11514 # making bogus files that we don't know about and never remove. For
11515 # instance it was reported that on HP-UX the gcc test will end up
11516 # making a dummy file named `D' -- because `-MD' means `put the output
11519 # Copy depcomp to subdir because otherwise we won't find it if we're
11520 # using a relative directory.
11521 cp "$am_depcomp" conftest.dir
11523 # We will build objects and dependencies in a subdirectory because
11524 # it helps to detect inapplicable dependency modes. For instance
11525 # both Tru64's cc and ICC support -MD to output dependencies as a
11526 # side effect of compilation, but ICC will put the dependencies in
11527 # the current directory while Tru64 will put them in the object
11531 am_cv_CXX_dependencies_compiler_type=none
11532 if test "$am_compiler_list" = ""; then
11533 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11535 am__universal=false
11536 case " $depcc " in #(
11537 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11540 for depmode in $am_compiler_list; do
11541 # Setup a source with many dependencies, because some compilers
11542 # like to wrap large dependency lists on column 80 (with \), and
11543 # we should not choose a depcomp mode which is confused by this.
11545 # We need to recreate these files for each test, as the compiler may
11546 # overwrite some of them when testing with obscure command lines.
11547 # This happens at least with the AIX C compiler.
11549 for i in 1 2 3 4 5 6; do
11550 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11551 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11552 # Solaris 8's {/usr,}/bin/sh.
11553 touch sub/conftst$i.h
11555 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11557 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11558 # mode. It turns out that the SunPro C++ compiler does not properly
11559 # handle `-M -o', and we need to detect this. Also, some Intel
11560 # versions had trouble with output in subdirs
11561 am__obj=sub/conftest.${OBJEXT-o}
11562 am__minus_obj="-o $am__obj"
11565 # This depmode causes a compiler race in universal mode.
11566 test "$am__universal" = false || continue
11569 # after this tag, mechanisms are not by side-effect, so they'll
11570 # only be used when explicitly requested
11571 if test "x$enable_dependency_tracking" = xyes; then
11577 msvisualcpp | msvcmsys)
11578 # This compiler won't grok `-c -o', but also, the minuso test has
11579 # not run yet. These depmodes are late enough in the game, and
11580 # so weak that their functioning should not be impacted.
11581 am__obj=conftest.${OBJEXT-o}
11586 if depmode=$depmode \
11587 source=sub/conftest.c object=$am__obj \
11588 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11589 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11590 >/dev/null 2>conftest.err &&
11591 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11592 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11593 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11594 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11595 # icc doesn't choke on unknown options, it will just issue warnings
11596 # or remarks (even with -Werror). So we grep stderr for any message
11597 # that says an option was ignored or not supported.
11598 # When given -MP, icc 7.0 and 7.1 complain thusly:
11599 # icc: Command line warning: ignoring option '-M'; no argument required
11600 # The diagnosis changed in icc 8.0:
11601 # icc: Command line remark: option '-MP' not supported
11602 if (grep 'ignoring option' conftest.err ||
11603 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11604 am_cv_CXX_dependencies_compiler_type=$depmode
11611 rm -rf conftest.dir
11613 am_cv_CXX_dependencies_compiler_type=none
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11618 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11619 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11622 test "x$enable_dependency_tracking" != xno \
11623 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11624 am__fastdepCXX_TRUE=
11625 am__fastdepCXX_FALSE='#'
11627 am__fastdepCXX_TRUE='#'
11628 am__fastdepCXX_FALSE=
11634 ac_cpp='$CXXCPP $CPPFLAGS'
11635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11638 if test -z "$CXX"; then
11639 if test -n "$CCC"; then
11642 if test -n "$ac_tool_prefix"; then
11643 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11648 $as_echo_n "checking for $ac_word... " >&6; }
11649 if test "${ac_cv_prog_CXX+set}" = set; then :
11650 $as_echo_n "(cached) " >&6
11652 if test -n "$CXX"; then
11653 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11656 for as_dir in $PATH
11659 test -z "$as_dir" && as_dir=.
11660 for ac_exec_ext in '' $ac_executable_extensions; do
11661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11662 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11672 CXX=$ac_cv_prog_CXX
11673 if test -n "$CXX"; then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11675 $as_echo "$CXX" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11682 test -n "$CXX" && break
11685 if test -z "$CXX"; then
11687 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11689 # Extract the first word of "$ac_prog", so it can be a program name with args.
11690 set dummy $ac_prog; ac_word=$2
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11692 $as_echo_n "checking for $ac_word... " >&6; }
11693 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11694 $as_echo_n "(cached) " >&6
11696 if test -n "$ac_ct_CXX"; then
11697 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11700 for as_dir in $PATH
11703 test -z "$as_dir" && as_dir=.
11704 for ac_exec_ext in '' $ac_executable_extensions; do
11705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11706 ac_cv_prog_ac_ct_CXX="$ac_prog"
11707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11716 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11717 if test -n "$ac_ct_CXX"; then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11719 $as_echo "$ac_ct_CXX" >&6; }
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11722 $as_echo "no" >&6; }
11726 test -n "$ac_ct_CXX" && break
11729 if test "x$ac_ct_CXX" = x; then
11732 case $cross_compiling:$ac_tool_warned in
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11736 ac_tool_warned=yes ;;
11744 # Provide some information about the compiler.
11745 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11748 for ac_option in --version -v -V -qversion; do
11749 { { ac_try="$ac_compiler $ac_option >&5"
11750 case "(($ac_try" in
11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752 *) ac_try_echo=$ac_try;;
11754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11755 $as_echo "$ac_try_echo"; } >&5
11756 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11758 if test -s conftest.err; then
11760 ... rest of stderr output deleted ...
11761 10q' conftest.err >conftest.er1
11762 cat conftest.er1 >&5
11764 rm -f conftest.er1 conftest.err
11765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11766 test $ac_status = 0; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11770 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11771 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11772 $as_echo_n "(cached) " >&6
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11788 if ac_fn_cxx_try_compile "$LINENO"; then :
11789 ac_compiler_gnu=yes
11793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11794 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11798 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11799 if test $ac_compiler_gnu = yes; then
11804 ac_test_CXXFLAGS=${CXXFLAGS+set}
11805 ac_save_CXXFLAGS=$CXXFLAGS
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11807 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11808 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11809 $as_echo_n "(cached) " >&6
11811 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11812 ac_cxx_werror_flag=yes
11813 ac_cv_prog_cxx_g=no
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11826 if ac_fn_cxx_try_compile "$LINENO"; then :
11827 ac_cv_prog_cxx_g=yes
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11841 if ac_fn_cxx_try_compile "$LINENO"; then :
11844 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11857 if ac_fn_cxx_try_compile "$LINENO"; then :
11858 ac_cv_prog_cxx_g=yes
11860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11865 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11868 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11869 if test "$ac_test_CXXFLAGS" = set; then
11870 CXXFLAGS=$ac_save_CXXFLAGS
11871 elif test $ac_cv_prog_cxx_g = yes; then
11872 if test "$GXX" = yes; then
11878 if test "$GXX" = yes; then
11885 ac_cpp='$CPP $CPPFLAGS'
11886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11890 depcc="$CXX" am_compiler_list=
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11893 $as_echo_n "checking dependency style of $depcc... " >&6; }
11894 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11895 $as_echo_n "(cached) " >&6
11897 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11898 # We make a subdir and do the tests there. Otherwise we can end up
11899 # making bogus files that we don't know about and never remove. For
11900 # instance it was reported that on HP-UX the gcc test will end up
11901 # making a dummy file named `D' -- because `-MD' means `put the output
11904 # Copy depcomp to subdir because otherwise we won't find it if we're
11905 # using a relative directory.
11906 cp "$am_depcomp" conftest.dir
11908 # We will build objects and dependencies in a subdirectory because
11909 # it helps to detect inapplicable dependency modes. For instance
11910 # both Tru64's cc and ICC support -MD to output dependencies as a
11911 # side effect of compilation, but ICC will put the dependencies in
11912 # the current directory while Tru64 will put them in the object
11916 am_cv_CXX_dependencies_compiler_type=none
11917 if test "$am_compiler_list" = ""; then
11918 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11920 am__universal=false
11921 case " $depcc " in #(
11922 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11925 for depmode in $am_compiler_list; do
11926 # Setup a source with many dependencies, because some compilers
11927 # like to wrap large dependency lists on column 80 (with \), and
11928 # we should not choose a depcomp mode which is confused by this.
11930 # We need to recreate these files for each test, as the compiler may
11931 # overwrite some of them when testing with obscure command lines.
11932 # This happens at least with the AIX C compiler.
11934 for i in 1 2 3 4 5 6; do
11935 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11936 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11937 # Solaris 8's {/usr,}/bin/sh.
11938 touch sub/conftst$i.h
11940 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11942 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11943 # mode. It turns out that the SunPro C++ compiler does not properly
11944 # handle `-M -o', and we need to detect this. Also, some Intel
11945 # versions had trouble with output in subdirs
11946 am__obj=sub/conftest.${OBJEXT-o}
11947 am__minus_obj="-o $am__obj"
11950 # This depmode causes a compiler race in universal mode.
11951 test "$am__universal" = false || continue
11954 # after this tag, mechanisms are not by side-effect, so they'll
11955 # only be used when explicitly requested
11956 if test "x$enable_dependency_tracking" = xyes; then
11962 msvisualcpp | msvcmsys)
11963 # This compiler won't grok `-c -o', but also, the minuso test has
11964 # not run yet. These depmodes are late enough in the game, and
11965 # so weak that their functioning should not be impacted.
11966 am__obj=conftest.${OBJEXT-o}
11971 if depmode=$depmode \
11972 source=sub/conftest.c object=$am__obj \
11973 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11974 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11975 >/dev/null 2>conftest.err &&
11976 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11977 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11978 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11979 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11980 # icc doesn't choke on unknown options, it will just issue warnings
11981 # or remarks (even with -Werror). So we grep stderr for any message
11982 # that says an option was ignored or not supported.
11983 # When given -MP, icc 7.0 and 7.1 complain thusly:
11984 # icc: Command line warning: ignoring option '-M'; no argument required
11985 # The diagnosis changed in icc 8.0:
11986 # icc: Command line remark: option '-MP' not supported
11987 if (grep 'ignoring option' conftest.err ||
11988 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11989 am_cv_CXX_dependencies_compiler_type=$depmode
11996 rm -rf conftest.dir
11998 am_cv_CXX_dependencies_compiler_type=none
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12003 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12004 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12007 test "x$enable_dependency_tracking" != xno \
12008 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12009 am__fastdepCXX_TRUE=
12010 am__fastdepCXX_FALSE='#'
12012 am__fastdepCXX_TRUE='#'
12013 am__fastdepCXX_FALSE=
12017 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12018 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12019 (test "X$CXX" != "Xg++"))) ; then
12021 ac_cpp='$CXXCPP $CPPFLAGS'
12022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12026 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12027 if test -z "$CXXCPP"; then
12028 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12029 $as_echo_n "(cached) " >&6
12031 # Double quotes because CXXCPP needs to be expanded
12032 for CXXCPP in "$CXX -E" "/lib/cpp"
12034 ac_preproc_ok=false
12035 for ac_cxx_preproc_warn_flag in '' yes
12037 # Use a header file that comes with gcc, so configuring glibc
12038 # with a fresh cross-compiler works.
12039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12040 # <limits.h> exists even on freestanding compilers.
12041 # On the NeXT, cc -E runs the code through the compiler's parser,
12042 # not just through cpp. "Syntax error" is here to catch this case.
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 # include <limits.h>
12048 # include <assert.h>
12052 if ac_fn_cxx_try_cpp "$LINENO"; then :
12055 # Broken: fails on valid input.
12058 rm -f conftest.err conftest.i conftest.$ac_ext
12060 # OK, works on sane cases. Now check whether nonexistent headers
12061 # can be detected and how.
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12064 #include <ac_nonexistent.h>
12066 if ac_fn_cxx_try_cpp "$LINENO"; then :
12067 # Broken: success on invalid input.
12070 # Passes both tests.
12074 rm -f conftest.err conftest.i conftest.$ac_ext
12077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12078 rm -f conftest.i conftest.err conftest.$ac_ext
12079 if $ac_preproc_ok; then :
12084 ac_cv_prog_CXXCPP=$CXXCPP
12087 CXXCPP=$ac_cv_prog_CXXCPP
12089 ac_cv_prog_CXXCPP=$CXXCPP
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12092 $as_echo "$CXXCPP" >&6; }
12093 ac_preproc_ok=false
12094 for ac_cxx_preproc_warn_flag in '' yes
12096 # Use a header file that comes with gcc, so configuring glibc
12097 # with a fresh cross-compiler works.
12098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12099 # <limits.h> exists even on freestanding compilers.
12100 # On the NeXT, cc -E runs the code through the compiler's parser,
12101 # not just through cpp. "Syntax error" is here to catch this case.
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 # include <limits.h>
12107 # include <assert.h>
12111 if ac_fn_cxx_try_cpp "$LINENO"; then :
12114 # Broken: fails on valid input.
12117 rm -f conftest.err conftest.i conftest.$ac_ext
12119 # OK, works on sane cases. Now check whether nonexistent headers
12120 # can be detected and how.
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12123 #include <ac_nonexistent.h>
12125 if ac_fn_cxx_try_cpp "$LINENO"; then :
12126 # Broken: success on invalid input.
12129 # Passes both tests.
12133 rm -f conftest.err conftest.i conftest.$ac_ext
12136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12137 rm -f conftest.i conftest.err conftest.$ac_ext
12138 if $ac_preproc_ok; then :
12141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12143 _lt_caught_CXX_error=yes; }
12147 ac_cpp='$CPP $CPPFLAGS'
12148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12153 _lt_caught_CXX_error=yes
12160 ac_cpp='$CXXCPP $CPPFLAGS'
12161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12165 archive_cmds_need_lc_CXX=no
12166 allow_undefined_flag_CXX=
12167 always_export_symbols_CXX=no
12168 archive_expsym_cmds_CXX=
12169 compiler_needs_object_CXX=no
12170 export_dynamic_flag_spec_CXX=
12171 hardcode_direct_CXX=no
12172 hardcode_direct_absolute_CXX=no
12173 hardcode_libdir_flag_spec_CXX=
12174 hardcode_libdir_flag_spec_ld_CXX=
12175 hardcode_libdir_separator_CXX=
12176 hardcode_minus_L_CXX=no
12177 hardcode_shlibpath_var_CXX=unsupported
12178 hardcode_automatic_CXX=no
12179 inherit_rpath_CXX=no
12181 module_expsym_cmds_CXX=
12182 link_all_deplibs_CXX=unknown
12183 old_archive_cmds_CXX=$old_archive_cmds
12184 no_undefined_flag_CXX=
12185 whole_archive_flag_spec_CXX=
12186 enable_shared_with_static_runtimes_CXX=no
12188 # Source file extension for C++ test sources.
12191 # Object file extension for compiled C++ test sources.
12195 # No sense in running all these tests if we already determined that
12196 # the CXX compiler isn't working. Some variables (like enable_shared)
12197 # are currently assumed to apply to all compilers on this platform,
12198 # and will be corrupted by setting them based on a non-working compiler.
12199 if test "$_lt_caught_CXX_error" != yes; then
12200 # Code to be used in simple compile tests
12201 lt_simple_compile_test_code="int some_variable = 0;"
12203 # Code to be used in simple link tests
12204 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12206 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12213 # If no C compiler was specified, use CC.
12216 # If no C compiler flags were specified, use CFLAGS.
12217 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12219 # Allow CC to be a program name with arguments.
12223 # save warnings/boilerplate of simple test code
12224 ac_outfile=conftest.$ac_objext
12225 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12226 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12227 _lt_compiler_boilerplate=`cat conftest.err`
12230 ac_outfile=conftest.$ac_objext
12231 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12232 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12233 _lt_linker_boilerplate=`cat conftest.err`
12237 # Allow CC to be a program name with arguments.
12242 lt_save_with_gnu_ld=$with_gnu_ld
12243 lt_save_path_LD=$lt_cv_path_LD
12244 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12245 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12247 $as_unset lt_cv_prog_gnu_ld
12249 if test -n "${lt_cv_path_LDCXX+set}"; then
12250 lt_cv_path_LD=$lt_cv_path_LDCXX
12252 $as_unset lt_cv_path_LD
12254 test -z "${LDCXX+set}" || LD=$LDCXX
12258 for cc_temp in $compiler""; do
12260 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12261 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12266 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12269 if test -n "$compiler"; then
12270 # We don't want -fno-exception when compiling C++ code, so set the
12271 # no_builtin_flag separately
12272 if test "$GXX" = yes; then
12273 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12275 lt_prog_compiler_no_builtin_flag_CXX=
12278 if test "$GXX" = yes; then
12279 # Set up default GNU C++ configuration
12283 # Check whether --with-gnu-ld was given.
12284 if test "${with_gnu_ld+set}" = set; then :
12285 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12291 if test "$GCC" = yes; then
12292 # Check if gcc -print-prog-name=ld gives a path.
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12294 $as_echo_n "checking for ld used by $CC... " >&6; }
12297 # gcc leaves a trailing carriage return which upsets mingw
12298 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12300 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12303 # Accept absolute paths.
12305 re_direlt='/[^/][^/]*/\.\./'
12306 # Canonicalize the pathname of ld
12307 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12308 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12309 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12311 test -z "$LD" && LD="$ac_prog"
12314 # If it fails, then pretend we aren't using GCC.
12318 # If it is relative, then search for the first ld in PATH.
12319 with_gnu_ld=unknown
12322 elif test "$with_gnu_ld" = yes; then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12324 $as_echo_n "checking for GNU ld... " >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12327 $as_echo_n "checking for non-GNU ld... " >&6; }
12329 if test "${lt_cv_path_LD+set}" = set; then :
12330 $as_echo_n "(cached) " >&6
12332 if test -z "$LD"; then
12333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12334 for ac_dir in $PATH; do
12336 test -z "$ac_dir" && ac_dir=.
12337 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12338 lt_cv_path_LD="$ac_dir/$ac_prog"
12339 # Check to see if the program is GNU ld. I'd rather use --version,
12340 # but apparently some variants of GNU ld only accept -v.
12341 # Break only if it was the GNU/non-GNU ld that we prefer.
12342 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12343 *GNU* | *'with BFD'*)
12344 test "$with_gnu_ld" != no && break
12347 test "$with_gnu_ld" != yes && break
12354 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12358 LD="$lt_cv_path_LD"
12359 if test -n "$LD"; then
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12361 $as_echo "$LD" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 $as_echo "no" >&6; }
12366 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12368 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12369 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12370 $as_echo_n "(cached) " >&6
12372 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12373 case `$LD -v 2>&1 </dev/null` in
12374 *GNU* | *'with BFD'*)
12375 lt_cv_prog_gnu_ld=yes
12378 lt_cv_prog_gnu_ld=no
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12383 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12384 with_gnu_ld=$lt_cv_prog_gnu_ld
12392 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12393 # archiving commands below assume that GNU ld is being used.
12394 if test "$with_gnu_ld" = yes; then
12395 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12396 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'
12398 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12399 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12401 # If archive_cmds runs LD, not CC, wlarc should be empty
12402 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12403 # investigate it a little bit more. (MM)
12406 # ancient GNU ld didn't support --whole-archive et. al.
12407 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12408 $GREP 'no-whole-archive' > /dev/null; then
12409 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12411 whole_archive_flag_spec_CXX=
12417 # A generic and very simple default shared library creation
12418 # command for GNU C++ for the case where it uses the native
12419 # linker, instead of GNU ld. If possible, this setting should
12420 # overridden to take advantage of the native linker features on
12421 # the platform it is being used on.
12422 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12425 # Commands to make compiler produce verbose output that lists
12426 # what "hidden" libraries, object files and flags are used when
12427 # linking a shared library.
12428 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12436 # PORTME: fill in a description of your system's C++ link characteristics
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12438 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12442 # FIXME: insert proper C++ library support
12446 if test "$host_cpu" = ia64; then
12447 # On IA64, the linker does run time linking by default, so we don't
12448 # have to do anything special.
12449 aix_use_runtimelinking=no
12450 exp_sym_flag='-Bexport'
12453 aix_use_runtimelinking=no
12455 # Test if we are trying to use run time linking or normal
12456 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12457 # need to do runtime linking.
12458 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12459 for ld_flag in $LDFLAGS; do
12462 aix_use_runtimelinking=yes
12470 exp_sym_flag='-bexport'
12471 no_entry_flag='-bnoentry'
12474 # When large executables or shared objects are built, AIX ld can
12475 # have problems creating the table of contents. If linking a library
12476 # or program results in "error TOC overflow" add -mminimal-toc to
12477 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12478 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12480 archive_cmds_CXX=''
12481 hardcode_direct_CXX=yes
12482 hardcode_direct_absolute_CXX=yes
12483 hardcode_libdir_separator_CXX=':'
12484 link_all_deplibs_CXX=yes
12485 file_list_spec_CXX='${wl}-f,'
12487 if test "$GXX" = yes; then
12488 case $host_os in aix4.[012]|aix4.[012].*)
12489 # We only want to do this on AIX 4.2 and lower, the check
12490 # below for broken collect2 doesn't work under 4.3+
12491 collect2name=`${CC} -print-prog-name=collect2`
12492 if test -f "$collect2name" &&
12493 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12495 # We have reworked collect2
12498 # We have old collect2
12499 hardcode_direct_CXX=unsupported
12500 # It fails to find uninstalled libraries when the uninstalled
12501 # path is not listed in the libpath. Setting hardcode_minus_L
12502 # to unsupported forces relinking
12503 hardcode_minus_L_CXX=yes
12504 hardcode_libdir_flag_spec_CXX='-L$libdir'
12505 hardcode_libdir_separator_CXX=
12508 shared_flag='-shared'
12509 if test "$aix_use_runtimelinking" = yes; then
12510 shared_flag="$shared_flag "'${wl}-G'
12514 if test "$host_cpu" = ia64; then
12515 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12516 # chokes on -Wl,-G. The following line is correct:
12519 if test "$aix_use_runtimelinking" = yes; then
12520 shared_flag='${wl}-G'
12522 shared_flag='${wl}-bM:SRE'
12527 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12528 # It seems that -bexpall does not export symbols beginning with
12529 # underscore (_), so it is better to generate a list of symbols to
12531 always_export_symbols_CXX=yes
12532 if test "$aix_use_runtimelinking" = yes; then
12533 # Warning - without using the other runtime loading flags (-brtl),
12534 # -berok will link without error, but may produce a broken library.
12535 allow_undefined_flag_CXX='-berok'
12536 # Determine the default libpath from the value encoded in an empty
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12549 if ac_fn_cxx_try_link "$LINENO"; then :
12551 lt_aix_libpath_sed='
12552 /Import File Strings/,/^$/ {
12558 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12559 # Check for a 64-bit object if we didn't find anything.
12560 if test -z "$aix_libpath"; then
12561 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12568 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12570 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"
12572 if test "$host_cpu" = ia64; then
12573 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12574 allow_undefined_flag_CXX="-z nodefs"
12575 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"
12577 # Determine the default libpath from the value encoded in an
12578 # empty executable.
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12590 if ac_fn_cxx_try_link "$LINENO"; then :
12592 lt_aix_libpath_sed='
12593 /Import File Strings/,/^$/ {
12599 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12600 # Check for a 64-bit object if we didn't find anything.
12601 if test -z "$aix_libpath"; then
12602 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12605 rm -f core conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12607 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12609 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12610 # Warning - without using the other run time loading flags,
12611 # -berok will link without error, but may produce a broken library.
12612 no_undefined_flag_CXX=' ${wl}-bernotok'
12613 allow_undefined_flag_CXX=' ${wl}-berok'
12614 # Exported symbols can be pulled into shared objects from archives
12615 whole_archive_flag_spec_CXX='$convenience'
12616 archive_cmds_need_lc_CXX=yes
12617 # This is similar to how AIX traditionally builds its shared
12619 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'
12625 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12626 allow_undefined_flag_CXX=unsupported
12627 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12628 # support --undefined. This deserves some investigation. FIXME
12629 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12636 case $cc_basename in
12638 # FIXME: insert proper C++ library support
12644 cygwin* | mingw* | pw32* | cegcc*)
12645 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12646 # as there is no search path for DLLs.
12647 hardcode_libdir_flag_spec_CXX='-L$libdir'
12648 allow_undefined_flag_CXX=unsupported
12649 always_export_symbols_CXX=no
12650 enable_shared_with_static_runtimes_CXX=yes
12652 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12653 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'
12654 # If the export-symbols file already is a .def file (1st line
12655 # is EXPORTS), use it as is; otherwise, prepend...
12656 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12657 cp $export_symbols $output_objdir/$soname.def;
12659 echo EXPORTS > $output_objdir/$soname.def;
12660 cat $export_symbols >> $output_objdir/$soname.def;
12662 $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'
12667 darwin* | rhapsody*)
12670 archive_cmds_need_lc_CXX=no
12671 hardcode_direct_CXX=no
12672 hardcode_automatic_CXX=yes
12673 hardcode_shlibpath_var_CXX=unsupported
12674 whole_archive_flag_spec_CXX=''
12675 link_all_deplibs_CXX=yes
12676 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12677 case $cc_basename in
12678 ifort*) _lt_dar_can_shared=yes ;;
12679 *) _lt_dar_can_shared=$GCC ;;
12681 if test "$_lt_dar_can_shared" = "yes"; then
12682 output_verbose_link_cmd=echo
12683 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}"
12684 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12685 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}"
12686 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}"
12687 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12688 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}"
12689 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}"
12699 case $cc_basename in
12701 # FIXME: insert proper C++ library support
12705 # Green Hills C++ Compiler
12706 # FIXME: insert proper C++ library support
12710 # FIXME: insert proper C++ library support
12717 # C++ shared libraries reported to be fairly broken before
12723 archive_cmds_need_lc_CXX=no
12726 freebsd* | dragonfly*)
12727 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12736 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12737 hardcode_libdir_separator_CXX=:
12738 export_dynamic_flag_spec_CXX='${wl}-E'
12739 hardcode_direct_CXX=yes
12740 hardcode_minus_L_CXX=yes # Not in the search PATH,
12741 # but as the default
12742 # location of the library.
12744 case $cc_basename in
12746 # FIXME: insert proper C++ library support
12750 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'
12751 # Commands to make compiler produce verbose output that lists
12752 # what "hidden" libraries, object files and flags are used when
12753 # linking a shared library.
12755 # There doesn't appear to be a way to prevent this compiler from
12756 # explicitly linking system object files so we need to strip them
12757 # from the output so that they don't get included in the library
12759 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'
12762 if test "$GXX" = yes; then
12763 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'
12765 # FIXME: insert proper C++ library support
12773 if test $with_gnu_ld = no; then
12774 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12775 hardcode_libdir_separator_CXX=:
12781 export_dynamic_flag_spec_CXX='${wl}-E'
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12791 hardcode_direct_CXX=yes
12792 hardcode_direct_absolute_CXX=yes
12793 hardcode_minus_L_CXX=yes # Not in the search PATH,
12794 # but as the default
12795 # location of the library.
12799 case $cc_basename in
12801 # FIXME: insert proper C++ library support
12807 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12810 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12813 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12816 # Commands to make compiler produce verbose output that lists
12817 # what "hidden" libraries, object files and flags are used when
12818 # linking a shared library.
12820 # There doesn't appear to be a way to prevent this compiler from
12821 # explicitly linking system object files so we need to strip them
12822 # from the output so that they don't get included in the library
12824 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'
12827 if test "$GXX" = yes; then
12828 if test $with_gnu_ld = no; then
12831 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12834 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12837 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'
12842 # FIXME: insert proper C++ library support
12850 hardcode_direct_CXX=no
12851 hardcode_shlibpath_var_CXX=no
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}-E'
12854 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12855 # Instead, shared libraries are loaded at an image base (0x10000000 by
12856 # default) and relocated if they conflict, which is a slow very memory
12857 # consuming and fragmenting process. To avoid this, we pick a random,
12858 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12859 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12860 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'
12861 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'
12864 case $cc_basename in
12867 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'
12869 # Archives containing C++ object files must be created using
12870 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12871 # necessary to make sure instantiated templates are included
12873 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12876 if test "$GXX" = yes; then
12877 if test "$with_gnu_ld" = no; then
12878 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'
12880 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'
12883 link_all_deplibs_CXX=yes
12886 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12887 hardcode_libdir_separator_CXX=:
12888 inherit_rpath_CXX=yes
12891 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12892 case $cc_basename in
12894 # Kuck and Associates, Inc. (KAI) C++ Compiler
12896 # KCC will only create a shared library if the output file
12897 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12898 # to its proper name (with version) after linking.
12899 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'
12900 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'
12901 # Commands to make compiler produce verbose output that lists
12902 # what "hidden" libraries, object files and flags are used when
12903 # linking a shared library.
12905 # There doesn't appear to be a way to prevent this compiler from
12906 # explicitly linking system object files so we need to strip them
12907 # from the output so that they don't get included in the library
12909 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'
12911 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12912 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12914 # Archives containing C++ object files must be created using
12915 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12916 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12921 # version 8.0 and above of icpc choke on multiply defined symbols
12922 # if we add $predep_objects and $postdep_objects, however 7.1 and
12923 # earlier do not add the objects themselves.
12924 case `$CC -V 2>&1` in
12926 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12927 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'
12929 *) # Version 8.0 or newer
12932 ia64*) tmp_idyn=' -i_dynamic';;
12934 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12935 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'
12938 archive_cmds_need_lc_CXX=no
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12941 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12944 # Portland Group C++ compiler
12946 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12947 prelink_cmds_CXX='tpldir=Template.dir~
12949 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12950 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12951 old_archive_cmds_CXX='tpldir=Template.dir~
12953 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12954 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12956 archive_cmds_CXX='tpldir=Template.dir~
12958 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12959 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12960 archive_expsym_cmds_CXX='tpldir=Template.dir~
12962 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12963 $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'
12965 *) # Version 6 will use weak symbols
12966 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12967 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'
12971 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12972 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12973 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'
12977 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12978 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'
12980 runpath_var=LD_RUN_PATH
12981 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12982 hardcode_libdir_separator_CXX=:
12984 # Commands to make compiler produce verbose output that lists
12985 # what "hidden" libraries, object files and flags are used when
12986 # linking a shared library.
12988 # There doesn't appear to be a way to prevent this compiler from
12989 # explicitly linking system object files so we need to strip them
12990 # from the output so that they don't get included in the library
12992 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'
12995 # IBM XL 8.0 on PPC, with GNU ld
12996 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12997 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12998 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12999 if test "x$supports_anon_versioning" = xyes; then
13000 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13002 echo "local: *; };" >> $output_objdir/$libname.ver~
13003 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13007 case `$CC -V 2>&1 | sed 5q` in
13010 no_undefined_flag_CXX=' -zdefs'
13011 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13012 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'
13013 hardcode_libdir_flag_spec_CXX='-R$libdir'
13014 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'
13015 compiler_needs_object_CXX=yes
13017 # Not sure whether something based on
13018 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13020 output_verbose_link_cmd='echo'
13022 # Archives containing C++ object files must be created using
13023 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13024 # necessary to make sure instantiated templates are included
13026 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13034 # FIXME: insert proper C++ library support
13039 # FIXME: insert proper C++ library support
13044 case $cc_basename in
13046 # FIXME: insert proper C++ library support
13050 # FIXME: insert proper C++ library support
13057 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13058 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13060 hardcode_libdir_flag_spec_CXX='-R$libdir'
13061 hardcode_direct_CXX=yes
13062 hardcode_shlibpath_var_CXX=no
13064 # Workaround some broken pre-1.5 toolchains
13065 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13073 # C++ shared libraries are fairly broken
13078 if test -f /usr/libexec/ld.so; then
13079 hardcode_direct_CXX=yes
13080 hardcode_shlibpath_var_CXX=no
13081 hardcode_direct_absolute_CXX=yes
13082 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13083 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13084 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13085 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13086 export_dynamic_flag_spec_CXX='${wl}-E'
13087 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13089 output_verbose_link_cmd=echo
13095 osf3* | osf4* | osf5*)
13096 case $cc_basename in
13098 # Kuck and Associates, Inc. (KAI) C++ Compiler
13100 # KCC will only create a shared library if the output file
13101 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13102 # to its proper name (with version) after linking.
13103 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'
13105 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13106 hardcode_libdir_separator_CXX=:
13108 # Archives containing C++ object files must be created using
13109 # the KAI C++ compiler.
13111 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13112 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13116 # Rational C++ 2.4.1
13117 # FIXME: insert proper C++ library support
13123 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13124 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'
13125 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13128 allow_undefined_flag_CXX=' -expect_unresolved \*'
13129 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'
13130 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13131 echo "-hidden">> $lib.exp~
13132 $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~
13134 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13138 hardcode_libdir_separator_CXX=:
13140 # Commands to make compiler produce verbose output that lists
13141 # what "hidden" libraries, object files and flags are used when
13142 # linking a shared library.
13144 # There doesn't appear to be a way to prevent this compiler from
13145 # explicitly linking system object files so we need to strip them
13146 # from the output so that they don't get included in the library
13148 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'
13151 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13152 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13155 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'
13158 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'
13162 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13163 hardcode_libdir_separator_CXX=:
13165 # Commands to make compiler produce verbose output that lists
13166 # what "hidden" libraries, object files and flags are used when
13167 # linking a shared library.
13168 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13171 # FIXME: insert proper C++ library support
13179 # FIXME: insert proper C++ library support
13184 case $cc_basename in
13187 # FIXME: insert proper C++ library support
13192 # FIXME: insert proper C++ library support
13196 # FIXME: insert proper C++ library support
13203 case $cc_basename in
13205 # Sun C++ 4.2, 5.x and Centerline C++
13206 archive_cmds_need_lc_CXX=yes
13207 no_undefined_flag_CXX=' -zdefs'
13208 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13209 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13210 $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'
13212 hardcode_libdir_flag_spec_CXX='-R$libdir'
13213 hardcode_shlibpath_var_CXX=no
13215 solaris2.[0-5] | solaris2.[0-5].*) ;;
13217 # The compiler driver will combine and reorder linker options,
13218 # but understands `-z linker_flag'.
13219 # Supported since Solaris 2.6 (maybe 2.5.1?)
13220 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13223 link_all_deplibs_CXX=yes
13225 output_verbose_link_cmd='echo'
13227 # Archives containing C++ object files must be created using
13228 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13229 # necessary to make sure instantiated templates are included
13231 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13234 # Green Hills C++ Compiler
13235 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13237 # The C++ compiler must be used to create the archive.
13238 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13241 # GNU C++ compiler with Solaris linker
13242 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13243 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13244 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13245 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13246 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13247 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13249 # Commands to make compiler produce verbose output that lists
13250 # what "hidden" libraries, object files and flags are used when
13251 # linking a shared library.
13252 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13254 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13256 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13257 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13258 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13260 # Commands to make compiler produce verbose output that lists
13261 # what "hidden" libraries, object files and flags are used when
13262 # linking a shared library.
13263 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13266 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13268 solaris2.[0-5] | solaris2.[0-5].*) ;;
13270 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13278 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13279 no_undefined_flag_CXX='${wl}-z,text'
13280 archive_cmds_need_lc_CXX=no
13281 hardcode_shlibpath_var_CXX=no
13282 runpath_var='LD_RUN_PATH'
13284 case $cc_basename in
13286 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13287 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13290 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13291 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13296 sysv5* | sco3.2v5* | sco5v6*)
13297 # Note: We can NOT use -z defs as we might desire, because we do not
13298 # link with -lc, and that would cause any symbols used from libc to
13299 # always be unresolved, which means just about no library would
13300 # ever link correctly. If we're not using GNU ld we use -z text
13301 # though, which does catch some bad symbols but isn't as heavy-handed
13303 no_undefined_flag_CXX='${wl}-z,text'
13304 allow_undefined_flag_CXX='${wl}-z,nodefs'
13305 archive_cmds_need_lc_CXX=no
13306 hardcode_shlibpath_var_CXX=no
13307 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13308 hardcode_libdir_separator_CXX=':'
13309 link_all_deplibs_CXX=yes
13310 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13311 runpath_var='LD_RUN_PATH'
13313 case $cc_basename in
13315 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13316 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13319 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13320 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13326 case $cc_basename in
13328 # NonStop-UX NCC 3.20
13329 # FIXME: insert proper C++ library support
13333 # FIXME: insert proper C++ library support
13340 # FIXME: insert proper C++ library support
13345 # FIXME: insert proper C++ library support
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13351 $as_echo "$ld_shlibs_CXX" >&6; }
13352 test "$ld_shlibs_CXX" = no && can_build_shared=no
13358 ## There is no encapsulation within the following macros, do not change
13359 ## the running order or otherwise move them around unless you know exactly
13360 ## what you are doing...
13361 # Dependencies to place before and after the object being linked:
13362 predep_objects_CXX=
13363 postdep_objects_CXX=
13366 compiler_lib_search_path_CXX=
13368 cat > conftest.$ac_ext <<_LT_EOF
13372 Foo (void) { a = 0; }
13378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13379 (eval $ac_compile) 2>&5
13381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13382 test $ac_status = 0; }; then
13383 # Parse the compiler output and extract the necessary
13384 # objects, libraries and library flags.
13386 # Sentinel used to keep track of whether or not we are before
13387 # the conftest object file.
13388 pre_test_object_deps_done=no
13390 for p in `eval "$output_verbose_link_cmd"`; do
13394 # Some compilers place space between "-{L,R}" and the path.
13395 # Remove the space.
13396 if test $p = "-L" ||
13397 test $p = "-R"; then
13404 if test "$pre_test_object_deps_done" = no; then
13407 # Internal compiler library paths should come after those
13408 # provided the user. The postdeps already come after the
13409 # user supplied libs so there is no need to process them.
13410 if test -z "$compiler_lib_search_path_CXX"; then
13411 compiler_lib_search_path_CXX="${prev}${p}"
13413 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13416 # The "-l" case would never come before the object being
13417 # linked, so don't bother handling this case.
13420 if test -z "$postdeps_CXX"; then
13421 postdeps_CXX="${prev}${p}"
13423 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13429 # This assumes that the test object file only shows up
13430 # once in the compiler output.
13431 if test "$p" = "conftest.$objext"; then
13432 pre_test_object_deps_done=yes
13436 if test "$pre_test_object_deps_done" = no; then
13437 if test -z "$predep_objects_CXX"; then
13438 predep_objects_CXX="$p"
13440 predep_objects_CXX="$predep_objects_CXX $p"
13443 if test -z "$postdep_objects_CXX"; then
13444 postdep_objects_CXX="$p"
13446 postdep_objects_CXX="$postdep_objects_CXX $p"
13451 *) ;; # Ignore the rest.
13459 echo "libtool.m4: error: problem compiling CXX test program"
13462 $RM -f confest.$objext
13464 # PORTME: override above test on systems where it is broken
13467 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13468 # hack all around it, let's just trust "g++" to DTRT.
13469 predep_objects_CXX=
13470 postdep_objects_CXX=
13475 case `$CC -V 2>&1 | sed 5q` in
13479 # The more standards-conforming stlport4 library is
13480 # incompatible with the Cstd library. Avoid specifying
13481 # it if it's in CXXFLAGS. Ignore libCrun as
13482 # -library=stlport4 depends on it.
13483 case " $CXX $CXXFLAGS " in
13484 *" -library=stlport4 "*)
13485 solaris_use_stlport4=yes
13489 if test "$solaris_use_stlport4" != yes; then
13490 postdeps_CXX='-library=Cstd -library=Crun'
13497 case $cc_basename in
13499 # The more standards-conforming stlport4 library is
13500 # incompatible with the Cstd library. Avoid specifying
13501 # it if it's in CXXFLAGS. Ignore libCrun as
13502 # -library=stlport4 depends on it.
13503 case " $CXX $CXXFLAGS " in
13504 *" -library=stlport4 "*)
13505 solaris_use_stlport4=yes
13509 # Adding this requires a known-good setup of shared libraries for
13510 # Sun compiler versions before 5.6, else PIC objects from an old
13511 # archive will be linked into the output, leading to subtle bugs.
13512 if test "$solaris_use_stlport4" != yes; then
13513 postdeps_CXX='-library=Cstd -library=Crun'
13521 case " $postdeps_CXX " in
13522 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13524 compiler_lib_search_dirs_CXX=
13525 if test -n "${compiler_lib_search_path_CXX}"; then
13526 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13559 lt_prog_compiler_wl_CXX=
13560 lt_prog_compiler_pic_CXX=
13561 lt_prog_compiler_static_CXX=
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13564 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13566 # C++ specific cases for pic, static, wl, etc.
13567 if test "$GXX" = yes; then
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_static_CXX='-static'
13573 # All AIX code is PIC.
13574 if test "$host_cpu" = ia64; then
13575 # AIX 5 now supports IA64 processor
13576 lt_prog_compiler_static_CXX='-Bstatic'
13583 # see comment about AmigaOS4 .so support
13584 lt_prog_compiler_pic_CXX='-fPIC'
13587 # FIXME: we need at least 68020 code to build shared libraries, but
13588 # adding the `-m68020' flag to GCC prevents building anything better,
13590 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13595 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13596 # PIC is the default for these OSes.
13598 mingw* | cygwin* | os2* | pw32* | cegcc*)
13599 # This hack is so that the source file can tell whether it is being
13600 # built for inclusion in a dll (and should export symbols for example).
13601 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13602 # (--disable-auto-import) libraries
13603 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13605 darwin* | rhapsody*)
13606 # PIC is the default on this platform
13607 # Common symbols not allowed in MH_DYLIB files
13608 lt_prog_compiler_pic_CXX='-fno-common'
13611 # DJGPP does not support shared libraries at all
13612 lt_prog_compiler_pic_CXX=
13615 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13616 # Instead, we relocate shared libraries at runtime.
13619 if test -d /usr/nec; then
13620 lt_prog_compiler_pic_CXX=-Kconform_pic
13624 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13625 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13626 # sets the default TLS model and affects inlining.
13631 lt_prog_compiler_pic_CXX='-fPIC'
13636 # QNX uses GNU C++, but need to define -shared option too, otherwise
13637 # it will coredump.
13638 lt_prog_compiler_pic_CXX='-fPIC -shared'
13641 lt_prog_compiler_pic_CXX='-fPIC'
13647 # All AIX code is PIC.
13648 if test "$host_cpu" = ia64; then
13649 # AIX 5 now supports IA64 processor
13650 lt_prog_compiler_static_CXX='-Bstatic'
13652 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13656 case $cc_basename in
13658 # Green Hills C++ Compiler
13659 # _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"
13664 case $cc_basename in
13666 lt_prog_compiler_pic_CXX='-KPIC'
13669 # Green Hills C++ Compiler
13670 lt_prog_compiler_pic_CXX='-pic'
13676 freebsd* | dragonfly*)
13677 # FreeBSD uses GNU C++
13679 hpux9* | hpux10* | hpux11*)
13680 case $cc_basename in
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13684 if test "$host_cpu" != ia64; then
13685 lt_prog_compiler_pic_CXX='+Z'
13689 lt_prog_compiler_wl_CXX='-Wl,'
13690 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13696 lt_prog_compiler_pic_CXX='+Z'
13705 # This is c89, which is MS Visual C++ (no shared libs)
13706 # Anyone wants to do a port?
13708 irix5* | irix6* | nonstopux*)
13709 case $cc_basename in
13711 lt_prog_compiler_wl_CXX='-Wl,'
13712 lt_prog_compiler_static_CXX='-non_shared'
13713 # CC pic flag -KPIC is the default.
13719 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13720 case $cc_basename in
13723 lt_prog_compiler_wl_CXX='--backend -Wl,'
13724 lt_prog_compiler_pic_CXX='-fPIC'
13727 # old Intel C++ for x86_64 which still supported -KPIC.
13728 lt_prog_compiler_wl_CXX='-Wl,'
13729 lt_prog_compiler_pic_CXX='-KPIC'
13730 lt_prog_compiler_static_CXX='-static'
13733 # Intel C++, used to be incompatible with GCC.
13734 # ICC 10 doesn't accept -KPIC any more.
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 lt_prog_compiler_pic_CXX='-fPIC'
13737 lt_prog_compiler_static_CXX='-static'
13740 # Portland Group C++ compiler
13741 lt_prog_compiler_wl_CXX='-Wl,'
13742 lt_prog_compiler_pic_CXX='-fpic'
13743 lt_prog_compiler_static_CXX='-Bstatic'
13747 # Make sure the PIC flag is empty. It appears that all Alpha
13748 # Linux and Compaq Tru64 Unix objects are PIC.
13749 lt_prog_compiler_pic_CXX=
13750 lt_prog_compiler_static_CXX='-non_shared'
13753 # IBM XL 8.0 on PPC
13754 lt_prog_compiler_wl_CXX='-Wl,'
13755 lt_prog_compiler_pic_CXX='-qpic'
13756 lt_prog_compiler_static_CXX='-qstaticlink'
13759 case `$CC -V 2>&1 | sed 5q` in
13762 lt_prog_compiler_pic_CXX='-KPIC'
13763 lt_prog_compiler_static_CXX='-Bstatic'
13764 lt_prog_compiler_wl_CXX='-Qoption ld '
13775 case $cc_basename in
13777 lt_prog_compiler_pic_CXX='-W c,exportall'
13783 netbsd* | netbsdelf*-gnu)
13786 # QNX uses GNU C++, but need to define -shared option too, otherwise
13787 # it will coredump.
13788 lt_prog_compiler_pic_CXX='-fPIC -shared'
13790 osf3* | osf4* | osf5*)
13791 case $cc_basename in
13793 lt_prog_compiler_wl_CXX='--backend -Wl,'
13796 # Rational C++ 2.4.1
13797 lt_prog_compiler_pic_CXX='-pic'
13800 # Digital/Compaq C++
13801 lt_prog_compiler_wl_CXX='-Wl,'
13802 # Make sure the PIC flag is empty. It appears that all Alpha
13803 # Linux and Compaq Tru64 Unix objects are PIC.
13804 lt_prog_compiler_pic_CXX=
13805 lt_prog_compiler_static_CXX='-non_shared'
13814 case $cc_basename in
13816 # Sun C++ 4.2, 5.x and Centerline C++
13817 lt_prog_compiler_pic_CXX='-KPIC'
13818 lt_prog_compiler_static_CXX='-Bstatic'
13819 lt_prog_compiler_wl_CXX='-Qoption ld '
13822 # Green Hills C++ Compiler
13823 lt_prog_compiler_pic_CXX='-PIC'
13830 case $cc_basename in
13833 lt_prog_compiler_pic_CXX='-pic'
13834 lt_prog_compiler_static_CXX='-Bstatic'
13838 lt_prog_compiler_pic_CXX='-pic'
13844 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13845 case $cc_basename in
13847 lt_prog_compiler_wl_CXX='-Wl,'
13848 lt_prog_compiler_pic_CXX='-KPIC'
13849 lt_prog_compiler_static_CXX='-Bstatic'
13854 case $cc_basename in
13856 # NonStop-UX NCC 3.20
13857 lt_prog_compiler_pic_CXX='-KPIC'
13866 lt_prog_compiler_can_build_shared_CXX=no
13872 # For platforms which do not support PIC, -DPIC is meaningless:
13874 lt_prog_compiler_pic_CXX=
13877 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13881 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13886 # Check to make sure the PIC flag actually works.
13888 if test -n "$lt_prog_compiler_pic_CXX"; then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13890 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13891 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13892 $as_echo_n "(cached) " >&6
13894 lt_cv_prog_compiler_pic_works_CXX=no
13895 ac_outfile=conftest.$ac_objext
13896 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13897 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13898 # Insert the option either (1) after the last *FLAGS variable, or
13899 # (2) before a word containing "conftest.", or (3) at the end.
13900 # Note that $ac_compile itself does not contain backslashes and begins
13901 # with a dollar sign (not a hyphen), so the echo should work correctly.
13902 # The option is referenced via a variable to avoid confusing sed.
13903 lt_compile=`echo "$ac_compile" | $SED \
13904 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13905 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13906 -e 's:$: $lt_compiler_flag:'`
13907 (eval echo "\"\$as_me:13907: $lt_compile\"" >&5)
13908 (eval "$lt_compile" 2>conftest.err)
13910 cat conftest.err >&5
13911 echo "$as_me:13911: \$? = $ac_status" >&5
13912 if (exit $ac_status) && test -s "$ac_outfile"; then
13913 # The compiler can only warn and ignore the option if not recognized
13914 # So say no if there are warnings other than the usual output.
13915 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13917 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13918 lt_cv_prog_compiler_pic_works_CXX=yes
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13925 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13927 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13928 case $lt_prog_compiler_pic_CXX in
13930 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13933 lt_prog_compiler_pic_CXX=
13934 lt_prog_compiler_can_build_shared_CXX=no
13942 # Check to make sure the static flag actually works.
13944 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13946 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13947 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13948 $as_echo_n "(cached) " >&6
13950 lt_cv_prog_compiler_static_works_CXX=no
13951 save_LDFLAGS="$LDFLAGS"
13952 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13953 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13954 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13955 # The linker can only warn and ignore the option if not recognized
13956 # So say no if there are warnings
13957 if test -s conftest.err; then
13958 # Append any errors to the config.log.
13959 cat conftest.err 1>&5
13960 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13961 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13962 if diff conftest.exp conftest.er2 >/dev/null; then
13963 lt_cv_prog_compiler_static_works_CXX=yes
13966 lt_cv_prog_compiler_static_works_CXX=yes
13970 LDFLAGS="$save_LDFLAGS"
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13974 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13976 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13979 lt_prog_compiler_static_CXX=
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13986 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13987 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13988 $as_echo_n "(cached) " >&6
13990 lt_cv_prog_compiler_c_o_CXX=no
13991 $RM -r conftest 2>/dev/null
13995 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13997 lt_compiler_flag="-o out/conftest2.$ac_objext"
13998 # Insert the option either (1) after the last *FLAGS variable, or
13999 # (2) before a word containing "conftest.", or (3) at the end.
14000 # Note that $ac_compile itself does not contain backslashes and begins
14001 # with a dollar sign (not a hyphen), so the echo should work correctly.
14002 lt_compile=`echo "$ac_compile" | $SED \
14003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14005 -e 's:$: $lt_compiler_flag:'`
14006 (eval echo "\"\$as_me:14006: $lt_compile\"" >&5)
14007 (eval "$lt_compile" 2>out/conftest.err)
14009 cat out/conftest.err >&5
14010 echo "$as_me:14010: \$? = $ac_status" >&5
14011 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14013 # The compiler can only warn and ignore the option if not recognized
14014 # So say no if there are warnings
14015 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14016 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14017 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14018 lt_cv_prog_compiler_c_o_CXX=yes
14023 # SGI C++ compiler will create directory out/ii_files/ for
14024 # template instantiation
14025 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14026 $RM out/* && rmdir out
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14033 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14038 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14039 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14040 $as_echo_n "(cached) " >&6
14042 lt_cv_prog_compiler_c_o_CXX=no
14043 $RM -r conftest 2>/dev/null
14047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14049 lt_compiler_flag="-o out/conftest2.$ac_objext"
14050 # Insert the option either (1) after the last *FLAGS variable, or
14051 # (2) before a word containing "conftest.", or (3) at the end.
14052 # Note that $ac_compile itself does not contain backslashes and begins
14053 # with a dollar sign (not a hyphen), so the echo should work correctly.
14054 lt_compile=`echo "$ac_compile" | $SED \
14055 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14056 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14057 -e 's:$: $lt_compiler_flag:'`
14058 (eval echo "\"\$as_me:14058: $lt_compile\"" >&5)
14059 (eval "$lt_compile" 2>out/conftest.err)
14061 cat out/conftest.err >&5
14062 echo "$as_me:14062: \$? = $ac_status" >&5
14063 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14065 # The compiler can only warn and ignore the option if not recognized
14066 # So say no if there are warnings
14067 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14068 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14069 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14070 lt_cv_prog_compiler_c_o_CXX=yes
14075 # SGI C++ compiler will create directory out/ii_files/ for
14076 # template instantiation
14077 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14078 $RM out/* && rmdir out
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14085 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14090 hard_links="nottested"
14091 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14092 # do not overwrite the value of need_locks provided by the user
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14094 $as_echo_n "checking if we can lock with hard links... " >&6; }
14097 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14099 ln conftest.a conftest.b 2>&5 || hard_links=no
14100 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14102 $as_echo "$hard_links" >&6; }
14103 if test "$hard_links" = no; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14105 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14115 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14117 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14120 # If we're using GNU nm, then we don't want the "-C" option.
14121 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14122 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14123 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'
14125 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'
14129 export_symbols_cmds_CXX="$ltdll_cmds"
14131 cygwin* | mingw* | cegcc*)
14132 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'
14134 linux* | k*bsd*-gnu)
14135 link_all_deplibs_CXX=no
14138 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14141 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14144 $as_echo "$ld_shlibs_CXX" >&6; }
14145 test "$ld_shlibs_CXX" = no && can_build_shared=no
14147 with_gnu_ld_CXX=$with_gnu_ld
14155 # Do we need to explicitly link libc?
14157 case "x$archive_cmds_need_lc_CXX" in
14159 # Assume -lc should be added
14160 archive_cmds_need_lc_CXX=yes
14162 if test "$enable_shared" = yes && test "$GCC" = yes; then
14163 case $archive_cmds_CXX in
14165 # FIXME: we may have to deal with multi-command sequences.
14168 # Test whether the compiler implicitly links with -lc since on some
14169 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14170 # to ld, don't add -lc before -lgcc.
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14172 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14174 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14177 (eval $ac_compile) 2>&5
14179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14180 test $ac_status = 0; } 2>conftest.err; then
14183 libobjs=conftest.$ac_objext
14185 wl=$lt_prog_compiler_wl_CXX
14186 pic_flag=$lt_prog_compiler_pic_CXX
14192 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14193 allow_undefined_flag_CXX=
14194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14195 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14198 test $ac_status = 0; }
14200 archive_cmds_need_lc_CXX=no
14202 archive_cmds_need_lc_CXX=yes
14204 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14206 cat conftest.err 1>&5
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14210 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14281 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14283 library_names_spec=
14284 libname_spec='lib$name'
14288 postuninstall_cmds=
14292 shlibpath_overrides_runpath=unknown
14294 dynamic_linker="$host_os ld.so"
14295 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14296 need_lib_prefix=unknown
14297 hardcode_into_libs=no
14299 # when you set need_version to no, make sure it does not cause -set_version
14300 # flags to be left without arguments
14301 need_version=unknown
14306 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14307 shlibpath_var=LIBPATH
14309 # AIX 3 has no versioning support, so we append a major version to the name.
14310 soname_spec='${libname}${release}${shared_ext}$major'
14317 hardcode_into_libs=yes
14318 if test "$host_cpu" = ia64; then
14319 # AIX 5 supports IA64
14320 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14321 shlibpath_var=LD_LIBRARY_PATH
14323 # With GCC up to 2.95.x, collect2 would create an import file
14324 # for dependence libraries. The import file would start with
14325 # the line `#! .'. This would cause the generated library to
14326 # depend on `.', always an invalid library. This was fixed in
14327 # development snapshots of GCC prior to 3.0.
14329 aix4 | aix4.[01] | aix4.[01].*)
14330 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14332 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14335 can_build_shared=no
14339 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14340 # soname into executable. Probably we can add versioning support to
14341 # collect2, so additional links can be useful in future.
14342 if test "$aix_use_runtimelinking" = yes; then
14343 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14344 # instead of lib<name>.a to let people know that these are not
14345 # typical AIX shared libraries.
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 # We preserve .a as extension for shared libraries through AIX4.2
14349 # and later when we are not doing run time linking.
14350 library_names_spec='${libname}${release}.a $libname.a'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14353 shlibpath_var=LIBPATH
14360 # Since July 2007 AmigaOS4 officially supports .so libraries.
14361 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14365 library_names_spec='$libname.ixlibrary $libname.a'
14366 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14367 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'
14373 library_names_spec='${libname}${shared_ext}'
14374 dynamic_linker="$host_os ld.so"
14375 shlibpath_var=LIBRARY_PATH
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14384 shlibpath_var=LD_LIBRARY_PATH
14385 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14386 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14387 # the default ld.so.conf also contains /usr/contrib/lib and
14388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14389 # libtool to hard-code these into programs
14392 cygwin* | mingw* | pw32* | cegcc*)
14393 version_type=windows
14398 case $GCC,$host_os in
14399 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14400 library_names_spec='$libname.dll.a'
14401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14402 postinstall_cmds='base_file=`basename \${file}`~
14403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14404 dldir=$destdir/`dirname \$dlpath`~
14405 test -d \$dldir || mkdir -p \$dldir~
14406 $install_prog $dir/$dlname \$dldir/$dlname~
14407 chmod a+x \$dldir/$dlname~
14408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14412 dlpath=$dir/\$dldll~
14414 shlibpath_overrides_runpath=yes
14418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14420 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14423 # MinGW DLLs use traditional 'lib' prefix
14424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14425 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14426 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14427 # It is most probably a Windows format PATH printed by
14428 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14429 # path with ; separators, and with drive letters. We can handle the
14430 # drive letters (cygwin fileutils understands them), so leave them,
14431 # especially as we might pass files found there to a mingw objdump,
14432 # which wouldn't understand a cygwinified path. Ahh.
14433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14435 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14439 # pw32 DLLs use 'pw' prefix rather than 'lib'
14440 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14446 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14449 dynamic_linker='Win32 ld.exe'
14450 # FIXME: first we should search . and the directory the executable is in
14454 darwin* | rhapsody*)
14455 dynamic_linker="$host_os dyld"
14456 version_type=darwin
14459 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14460 soname_spec='${libname}${release}${major}$shared_ext'
14461 shlibpath_overrides_runpath=yes
14462 shlibpath_var=DYLD_LIBRARY_PATH
14463 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14465 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14473 soname_spec='${libname}${release}${shared_ext}$major'
14474 shlibpath_var=LD_LIBRARY_PATH
14481 freebsd* | dragonfly*)
14482 # DragonFly does not have aout. When/if they implement a new
14483 # versioning mechanism, adjust this.
14484 if test -x /usr/bin/objformat; then
14485 objformat=`/usr/bin/objformat`
14488 freebsd[123]*) objformat=aout ;;
14489 *) objformat=elf ;;
14492 version_type=freebsd-$objformat
14493 case $version_type in
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14500 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14504 shlibpath_var=LD_LIBRARY_PATH
14507 shlibpath_overrides_runpath=yes
14509 freebsd3.[01]* | freebsdelf3.[01]*)
14510 shlibpath_overrides_runpath=yes
14511 hardcode_into_libs=yes
14513 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14514 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14515 shlibpath_overrides_runpath=no
14516 hardcode_into_libs=yes
14518 *) # from 4.6 on, and DragonFly
14519 shlibpath_overrides_runpath=yes
14520 hardcode_into_libs=yes
14529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14530 soname_spec='${libname}${release}${shared_ext}$major'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 hardcode_into_libs=yes
14535 hpux9* | hpux10* | hpux11*)
14536 # Give a soname corresponding to the major version so that dld.sl refuses to
14537 # link against other versions.
14544 hardcode_into_libs=yes
14545 dynamic_linker="$host_os dld.so"
14546 shlibpath_var=LD_LIBRARY_PATH
14547 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 soname_spec='${libname}${release}${shared_ext}$major'
14550 if test "X$HPUX_IA64_MODE" = X32; then
14551 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14553 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14555 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14559 hardcode_into_libs=yes
14560 dynamic_linker="$host_os dld.sl"
14561 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14562 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14566 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14570 dynamic_linker="$host_os dld.sl"
14571 shlibpath_var=SHLIB_PATH
14572 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14574 soname_spec='${libname}${release}${shared_ext}$major'
14577 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14578 postinstall_cmds='chmod 555 $lib'
14585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 shlibpath_overrides_runpath=no
14590 hardcode_into_libs=yes
14593 irix5* | irix6* | nonstopux*)
14595 nonstopux*) version_type=nonstopux ;;
14597 if test "$lt_cv_prog_gnu_ld" = yes; then
14605 soname_spec='${libname}${release}${shared_ext}$major'
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14608 irix5* | nonstopux*)
14609 libsuff= shlibsuff=
14612 case $LD in # libtool.m4 will add one of these switches to LD
14613 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14614 libsuff= shlibsuff= libmagic=32-bit;;
14615 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14616 libsuff=32 shlibsuff=N32 libmagic=N32;;
14617 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14618 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14619 *) libsuff= shlibsuff= libmagic=never-match;;
14623 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14624 shlibpath_overrides_runpath=no
14625 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14626 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14627 hardcode_into_libs=yes
14630 # No shared lib support for Linux oldld, aout, or coff.
14631 linux*oldld* | linux*aout* | linux*coff*)
14635 # This must be Linux ELF.
14636 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14641 soname_spec='${libname}${release}${shared_ext}$major'
14642 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14643 shlibpath_var=LD_LIBRARY_PATH
14644 shlibpath_overrides_runpath=no
14645 # Some binutils ld are patched to set DT_RUNPATH
14646 save_LDFLAGS=$LDFLAGS
14647 save_libdir=$libdir
14648 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14649 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14661 if ac_fn_cxx_try_link "$LINENO"; then :
14662 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14663 shlibpath_overrides_runpath=yes
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LDFLAGS=$save_LDFLAGS
14669 libdir=$save_libdir
14671 # This implies no fast_install, which is unacceptable.
14672 # Some rework will be needed to allow for fast_install
14673 # before this can be enabled.
14674 hardcode_into_libs=yes
14676 # Append ld.so.conf contents to the search path
14677 if test -f /etc/ld.so.conf; then
14678 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' ' '`
14679 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14682 # We used to test for /lib/ld.so.1 and disable shared libraries on
14683 # powerpc, because MkLinux only supported shared libraries with the
14684 # GNU dynamic linker. Since this was broken with cross compilers,
14685 # most powerpc-linux boxes support dynamic linking these days and
14686 # people can always --disable-shared, the test was removed, and we
14687 # assume the GNU/Linux dynamic linker is in use.
14688 dynamic_linker='GNU/Linux ld.so'
14695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14696 soname_spec='${libname}${release}${shared_ext}$major'
14697 shlibpath_var=LD_LIBRARY_PATH
14698 shlibpath_overrides_runpath=no
14699 hardcode_into_libs=yes
14700 dynamic_linker='NetBSD ld.elf_so'
14707 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14709 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14710 dynamic_linker='NetBSD (a.out) 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 dynamic_linker='NetBSD ld.elf_so'
14716 shlibpath_var=LD_LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 hardcode_into_libs=yes
14723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14724 shlibpath_var=LD_LIBRARY_PATH
14725 shlibpath_overrides_runpath=yes
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=no
14736 hardcode_into_libs=yes
14737 dynamic_linker='ldqnx.so'
14742 sys_lib_dlsearch_path_spec="/usr/lib"
14744 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14746 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14747 *) need_version=no ;;
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14751 shlibpath_var=LD_LIBRARY_PATH
14752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14754 openbsd2.[89] | openbsd2.[89].*)
14755 shlibpath_overrides_runpath=no
14758 shlibpath_overrides_runpath=yes
14762 shlibpath_overrides_runpath=yes
14767 libname_spec='$name'
14770 library_names_spec='$libname${shared_ext} $libname.a'
14771 dynamic_linker='OS/2 ld.exe'
14772 shlibpath_var=LIBPATH
14775 osf3* | osf4* | osf5*)
14779 soname_spec='${libname}${release}${shared_ext}$major'
14780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14781 shlibpath_var=LD_LIBRARY_PATH
14782 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14783 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 soname_spec='${libname}${release}${shared_ext}$major'
14796 shlibpath_var=LD_LIBRARY_PATH
14797 shlibpath_overrides_runpath=yes
14798 hardcode_into_libs=yes
14799 # ldd complains unless libraries are executable
14800 postinstall_cmds='chmod +x $lib'
14805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14806 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14807 shlibpath_var=LD_LIBRARY_PATH
14808 shlibpath_overrides_runpath=yes
14809 if test "$with_gnu_ld" = yes; then
14817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14818 soname_spec='${libname}${release}${shared_ext}$major'
14819 shlibpath_var=LD_LIBRARY_PATH
14820 case $host_vendor in
14822 shlibpath_overrides_runpath=no
14824 runpath_var=LD_RUN_PATH
14832 shlibpath_overrides_runpath=no
14833 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14839 if test -d /usr/nec ;then
14841 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14842 soname_spec='$libname${shared_ext}.$major'
14843 shlibpath_var=LD_LIBRARY_PATH
14847 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14848 version_type=freebsd-elf
14851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14852 soname_spec='${libname}${release}${shared_ext}$major'
14853 shlibpath_var=LD_LIBRARY_PATH
14854 shlibpath_overrides_runpath=yes
14855 hardcode_into_libs=yes
14856 if test "$with_gnu_ld" = yes; then
14857 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14859 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14862 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14866 sys_lib_dlsearch_path_spec='/usr/lib'
14870 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14875 shlibpath_var=LD_LIBRARY_PATH
14876 shlibpath_overrides_runpath=no
14877 hardcode_into_libs=yes
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 soname_spec='${libname}${release}${shared_ext}$major'
14884 shlibpath_var=LD_LIBRARY_PATH
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14892 $as_echo "$dynamic_linker" >&6; }
14893 test "$dynamic_linker" = no && can_build_shared=no
14895 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14896 if test "$GCC" = yes; then
14897 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14900 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14901 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14903 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14904 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14943 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14944 hardcode_action_CXX=
14945 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14946 test -n "$runpath_var_CXX" ||
14947 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14949 # We can hardcode non-existent directories.
14950 if test "$hardcode_direct_CXX" != no &&
14951 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14952 # have to relink, otherwise we might link with an installed library
14953 # when we should be linking with a yet-to-be-installed one
14954 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14955 test "$hardcode_minus_L_CXX" != no; then
14956 # Linking always hardcodes the temporary library directory.
14957 hardcode_action_CXX=relink
14959 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14960 hardcode_action_CXX=immediate
14963 # We cannot hardcode anything, or else we can only hardcode existing
14965 hardcode_action_CXX=unsupported
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14968 $as_echo "$hardcode_action_CXX" >&6; }
14970 if test "$hardcode_action_CXX" = relink ||
14971 test "$inherit_rpath_CXX" = yes; then
14972 # Fast installation is not supported
14973 enable_fast_install=no
14974 elif test "$shlibpath_overrides_runpath" = yes ||
14975 test "$enable_shared" = no; then
14976 # Fast installation is not necessary
14977 enable_fast_install=needless
14986 fi # test -n "$compiler"
14992 with_gnu_ld=$lt_save_with_gnu_ld
14993 lt_cv_path_LDCXX=$lt_cv_path_LD
14994 lt_cv_path_LD=$lt_save_path_LD
14995 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14996 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14997 fi # test "$_lt_caught_CXX_error" != yes
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15006 ac_config_headers="$ac_config_headers config.h"
15009 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
15010 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
15017 if test "$MINIX" = yes; then
15019 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
15022 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
15025 $as_echo "#define _MINIX 1" >>confdefs.h
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
15031 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
15032 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
15033 $as_echo_n "(cached) " >&6
15035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15038 # define __EXTENSIONS__ 1
15039 $ac_includes_default
15048 if ac_fn_c_try_compile "$LINENO"; then :
15049 ac_cv_safe_to_define___extensions__=yes
15051 ac_cv_safe_to_define___extensions__=no
15053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
15056 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
15057 test $ac_cv_safe_to_define___extensions__ = yes &&
15058 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
15060 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
15062 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
15064 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
15066 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
15073 # Check whether --enable-reauth was given.
15074 if test "${enable_reauth+set}" = set; then :
15075 enableval=$enable_reauth; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
15078 echo "--enable-reauth argument must be yes or no"
15085 if test "x$reauth" = "xyes" ; then
15086 echo "Fast reauthentication protocol enabled"
15087 TARGET_CFLAGS="$TARGET_CFLAGS -DGSSEAP_ENABLE_REAUTH"
15089 if test "x$reauth" != "xno"; then
15090 GSSEAP_ENABLE_REAUTH_TRUE=
15091 GSSEAP_ENABLE_REAUTH_FALSE='#'
15093 GSSEAP_ENABLE_REAUTH_TRUE='#'
15094 GSSEAP_ENABLE_REAUTH_FALSE=
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS-API and Kerberos implementation" >&5
15101 $as_echo_n "checking for GSS-API and Kerberos implementation... " >&6; }
15105 # Check whether --with-krb5 was given.
15106 if test "${with_krb5+set}" = set; then :
15107 withval=$with_krb5; check_krb5_dir="$withval"
15112 for dir in $check_krb5_dir $prefix /usr /usr/local ; do
15114 if test -x "$dir/bin/krb5-config"; then
15116 KRB5_CFLAGS=`$dir/bin/krb5-config gssapi --cflags`;
15117 KRB5_LIBS=`$dir/bin/krb5-config gssapi --libs`;
15118 COMPILE_ET="$dir/bin/compile_et";
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_krb5" >&5
15123 $as_echo "$found_krb5" >&6; }
15124 if test x_$found_krb5 != x_yes; then
15126 ----------------------------------------------------------------------
15127 Cannot find GSS-API/Kerberos libraries.
15129 Please install MIT or Heimdal or specify installation directory with
15131 ----------------------------------------------------------------------
15134 printf "Kerberos found in $krb5dir\n";
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS_C_NT_COMPOSITE_EXPORT in -lkrb5" >&5
15139 $as_echo_n "checking for GSS_C_NT_COMPOSITE_EXPORT in -lkrb5... " >&6; }
15140 if test "${ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT+set}" = set; then :
15141 $as_echo_n "(cached) " >&6
15143 ac_check_lib_save_LIBS=$LIBS
15144 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15148 /* Override any GCC internal prototype to avoid an error.
15149 Use char because int might match the return type of a GCC
15150 builtin and then its argument prototype would still apply. */
15154 char GSS_C_NT_COMPOSITE_EXPORT ();
15158 return GSS_C_NT_COMPOSITE_EXPORT ();
15163 if ac_fn_c_try_link "$LINENO"; then :
15164 ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT=yes
15166 ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT=no
15168 rm -f core conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_lib_save_LIBS
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&5
15173 $as_echo "$ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" >&6; }
15174 if test "x$ac_cv_lib_krb5_GSS_C_NT_COMPOSITE_EXPORT" = x""yes; then :
15176 cat >>confdefs.h <<_ACEOF
15177 #define HAVE_GSS_C_NT_COMPOSITE_EXPORT 1
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_inquire_attrs_for_mech in -lkrb5" >&5
15183 $as_echo_n "checking for gss_inquire_attrs_for_mech in -lkrb5... " >&6; }
15184 if test "${ac_cv_lib_krb5_gss_inquire_attrs_for_mech+set}" = set; then :
15185 $as_echo_n "(cached) " >&6
15187 ac_check_lib_save_LIBS=$LIBS
15188 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15192 /* Override any GCC internal prototype to avoid an error.
15193 Use char because int might match the return type of a GCC
15194 builtin and then its argument prototype would still apply. */
15198 char gss_inquire_attrs_for_mech ();
15202 return gss_inquire_attrs_for_mech ();
15207 if ac_fn_c_try_link "$LINENO"; then :
15208 ac_cv_lib_krb5_gss_inquire_attrs_for_mech=yes
15210 ac_cv_lib_krb5_gss_inquire_attrs_for_mech=no
15212 rm -f core conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15214 LIBS=$ac_check_lib_save_LIBS
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_gss_inquire_attrs_for_mech" >&5
15217 $as_echo "$ac_cv_lib_krb5_gss_inquire_attrs_for_mech" >&6; }
15218 if test "x$ac_cv_lib_krb5_gss_inquire_attrs_for_mech" = x""yes; then :
15220 cat >>confdefs.h <<_ACEOF
15221 #define HAVE_GSS_INQUIRE_ATTRS_FOR_MECH 1
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_krb5_import_cred in -lkrb5" >&5
15227 $as_echo_n "checking for gss_krb5_import_cred in -lkrb5... " >&6; }
15228 if test "${ac_cv_lib_krb5_gss_krb5_import_cred+set}" = set; then :
15229 $as_echo_n "(cached) " >&6
15231 ac_check_lib_save_LIBS=$LIBS
15232 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15242 char gss_krb5_import_cred ();
15246 return gss_krb5_import_cred ();
15251 if ac_fn_c_try_link "$LINENO"; then :
15252 ac_cv_lib_krb5_gss_krb5_import_cred=yes
15254 ac_cv_lib_krb5_gss_krb5_import_cred=no
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15258 LIBS=$ac_check_lib_save_LIBS
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_gss_krb5_import_cred" >&5
15261 $as_echo "$ac_cv_lib_krb5_gss_krb5_import_cred" >&6; }
15262 if test "x$ac_cv_lib_krb5_gss_krb5_import_cred" = x""yes; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define HAVE_GSS_KRB5_IMPORT_CRED 1
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for heimdal_version in -lkrb5" >&5
15271 $as_echo_n "checking for heimdal_version in -lkrb5... " >&6; }
15272 if test "${ac_cv_lib_krb5_heimdal_version+set}" = set; then :
15273 $as_echo_n "(cached) " >&6
15275 ac_check_lib_save_LIBS=$LIBS
15276 LIBS="-lkrb5 "$KRB5_LIBS" $LIBS"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15286 char heimdal_version ();
15290 return heimdal_version ();
15295 if ac_fn_c_try_link "$LINENO"; then :
15296 ac_cv_lib_krb5_heimdal_version=yes
15298 ac_cv_lib_krb5_heimdal_version=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15302 LIBS=$ac_check_lib_save_LIBS
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_heimdal_version" >&5
15305 $as_echo "$ac_cv_lib_krb5_heimdal_version" >&6; }
15306 if test "x$ac_cv_lib_krb5_heimdal_version" = x""yes; then :
15308 cat >>confdefs.h <<_ACEOF
15309 #define HAVE_HEIMDAL_VERSION 1
15316 if test "x$heimdal" != "xno"; then
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth implementation" >&5
15327 $as_echo_n "checking for Shibboleth implementation... " >&6; }
15331 # Check whether --with-shibsp was given.
15332 if test "${with_shibsp+set}" = set; then :
15333 withval=$with_shibsp; check_shibsp_dir="$withval"
15338 for dir in $check_shibsp_dir $prefix /usr /usr/local ; do
15340 if test -f "$dir/include/shibsp/SPConfig.h"; then
15341 found_shibsp="yes";
15342 SHIBSP_DIR="${shibspdir}"
15343 SHIBSP_CXXFLAGS="-I$shibspdir/include";
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibsp" >&5
15348 $as_echo "$found_shibsp" >&6; }
15349 if test x_$found_shibsp != x_yes; then
15351 ----------------------------------------------------------------------
15352 Cannot find Shibboleth/OpenSAML libraries.
15354 Please install Shibboleth or specify installation directory with
15355 --with-shibsp=(dir).
15356 ----------------------------------------------------------------------
15359 printf "Shibboleth found in $shibspdir\n";
15360 SHIBSP_LIBS="-lshibsp -lsaml -lxml-security-c -lxmltooling -lxerces-c";
15361 SHIBSP_LDFLAGS="-L$shibspdir/lib";
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Shibboleth resolver implementation" >&5
15368 $as_echo_n "checking for Shibboleth resolver implementation... " >&6; }
15370 found_shibresolver="no"
15372 # Check whether --with-shibresolver was given.
15373 if test "${with_shibresolver+set}" = set; then :
15374 withval=$with_shibresolver; check_shibresolver_dir="$withval"
15376 check_shibresolver_dir=
15379 for dir in $check_shibresolver_dir $prefix /usr /usr/local ; do
15380 shibresolverdir="$dir"
15381 if test -f "$dir/include/shibresolver/resolver.h"; then
15382 found_shibresolver="yes";
15383 SHIBRESOLVER_DIR="${shibresolverdir}"
15384 SHIBRESOLVER_CXXFLAGS="-I$shibresolverdir/include";
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_shibresolver" >&5
15389 $as_echo "$found_shibresolver" >&6; }
15390 if test x_$found_shibresolver != x_yes; then
15392 ----------------------------------------------------------------------
15393 Cannot find Shibboleth resolver libraries.
15395 Please install Shibboleth or specify installation directory with
15396 --with-shibresolver=(dir).
15397 ----------------------------------------------------------------------
15400 printf "Shibboleth resolver found in $shibresolverdir\n";
15401 SHIBRESOLVER_LIBS="-lshibresolver";
15402 SHIBRESOLVER_LDFLAGS="-L$shibresolverdir/lib";
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radsec" >&5
15409 $as_echo_n "checking for radsec... " >&6; }
15413 # Check whether --with-radsec was given.
15414 if test "${with_radsec+set}" = set; then :
15415 withval=$with_radsec; check_radsec_dir="$withval"
15420 for dir in $check_radsec_dir $prefix /usr /usr/local ; do
15422 if test -f "$dir/include/radsec/radsec.h"; then
15423 found_radsec="yes";
15424 RADSEC_DIR="${radsecdir}"
15425 RADSEC_CFLAGS="-I$radsecdir/include";
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_radsec" >&5
15430 $as_echo "$found_radsec" >&6; }
15431 if test x_$found_radsec != x_yes; then
15433 ----------------------------------------------------------------------
15434 Cannot find radsec libraries.
15436 Please install libradsec or specify installation directory with
15437 --with-radsec=(dir).
15438 ----------------------------------------------------------------------
15441 printf "radsec found in $radsecdir\n";
15442 RADSEC_LIBS="-lradsec";
15443 RADSEC_LDFLAGS="-L$radsecdir/lib";
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
15450 $as_echo_n "checking for jansson... " >&6; }
15454 # Check whether --with-jansson was given.
15455 if test "${with_jansson+set}" = set; then :
15456 withval=$with_jansson; check_jansson_dir="$withval"
15461 for dir in $check_jansson_dir $prefix /usr /usr/local ; do
15463 if test -f "$dir/include/jansson.h"; then
15464 found_jansson="yes";
15465 JANSSON_DIR="${janssondir}"
15466 JANSSON_CFLAGS="-I$janssondir/include";
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_jansson" >&5
15471 $as_echo "$found_jansson" >&6; }
15472 if test x_$found_jansson != x_yes; then
15474 ----------------------------------------------------------------------
15475 Cannot find jansson libraries.
15477 Please install libjansson or specify installation directory with
15478 --with-jansson=(dir).
15479 ----------------------------------------------------------------------
15482 printf "jansson found in $janssondir\n";
15483 JANSSON_LIBS="-ljansson";
15484 JANSSON_LDFLAGS="-L$janssondir/lib";
15490 ac_config_files="$ac_config_files Makefile libeap/Makefile mech_eap/Makefile"
15492 cat >confcache <<\_ACEOF
15493 # This file is a shell script that caches the results of configure
15494 # tests run on this system so they can be shared between configure
15495 # scripts and configure runs, see configure's option --config-cache.
15496 # It is not useful on other systems. If it contains results you don't
15497 # want to keep, you may remove or edit it.
15499 # config.status only pays attention to the cache file if you give it
15500 # the --recheck option to rerun configure.
15502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15504 # following values.
15508 # The following way of writing the cache mishandles newlines in values,
15509 # but we know of no workaround that is simple, portable, and efficient.
15510 # So, we kill variables containing newlines.
15511 # Ultrix sh set writes to stderr and can't be redirected directly,
15512 # and sets the high bit in the cache file unless we assign to the vars.
15514 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15515 eval ac_val=\$$ac_var
15519 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15520 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15523 _ | IFS | as_nl) ;; #(
15524 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15525 *) { eval $ac_var=; unset $ac_var;} ;;
15531 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15532 *${as_nl}ac_space=\ *)
15533 # `set' does not quote correctly, so add quotes: double-quote
15534 # substitution turns \\\\ into \\, and sed turns \\ into \.
15537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15540 # `set' quotes correctly as required by POSIX, so do not add quotes.
15541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15552 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15554 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15555 if test -w "$cache_file"; then
15556 test "x$cache_file" != "x/dev/null" &&
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15558 $as_echo "$as_me: updating cache $cache_file" >&6;}
15559 cat confcache >$cache_file
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15568 # Let make expand exec_prefix.
15569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15571 DEFS=-DHAVE_CONFIG_H
15576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15577 # 1. Remove the extension, and $U if already installed.
15578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15579 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15581 # will be set to the directory where LIBOBJS objects are built.
15582 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15583 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15585 LIBOBJS=$ac_libobjs
15587 LTLIBOBJS=$ac_ltlibobjs
15590 if test -n "$EXEEXT"; then
15592 am__EXEEXT_FALSE='#'
15594 am__EXEEXT_TRUE='#'
15598 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15599 as_fn_error $? "conditional \"AMDEP\" was never defined.
15600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15602 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15603 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15606 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15607 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15611 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15615 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${GSSEAP_ENABLE_REAUTH_TRUE}" && test -z "${GSSEAP_ENABLE_REAUTH_FALSE}"; then
15619 as_fn_error $? "conditional \"GSSEAP_ENABLE_REAUTH\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 if test -z "${HEIMDAL_TRUE}" && test -z "${HEIMDAL_FALSE}"; then
15623 as_fn_error $? "conditional \"HEIMDAL\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15627 : ${CONFIG_STATUS=./config.status}
15629 ac_clean_files_save=$ac_clean_files
15630 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15632 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15634 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15636 # Generated by $as_me.
15637 # Run this file to recreate the current configuration.
15638 # Compiler output produced by configure, useful for debugging
15639 # configure, is in config.log if it exists.
15642 ac_cs_recheck=false
15645 SHELL=\${CONFIG_SHELL-$SHELL}
15648 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15649 ## -------------------- ##
15650 ## M4sh Initialization. ##
15651 ## -------------------- ##
15653 # Be more Bourne compatible
15654 DUALCASE=1; export DUALCASE # for MKS sh
15655 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15658 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15659 # is contrary to our usage. Disable this feature.
15660 alias -g '${1+"$@"}'='"$@"'
15661 setopt NO_GLOB_SUBST
15663 case `(set -o) 2>/dev/null` in #(
15675 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15676 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15678 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15679 # Prefer a ksh shell builtin over an external printf program on Solaris,
15680 # but without wasting forks for bash or zsh.
15681 if test -z "$BASH_VERSION$ZSH_VERSION" \
15682 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15683 as_echo='print -r --'
15684 as_echo_n='print -rn --'
15685 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15686 as_echo='printf %s\n'
15687 as_echo_n='printf %s'
15689 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15690 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15691 as_echo_n='/usr/ucb/echo -n'
15693 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15694 as_echo_n_body='eval
15698 expr "X$arg" : "X\\(.*\\)$as_nl";
15699 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15701 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15703 export as_echo_n_body
15704 as_echo_n='sh -c $as_echo_n_body as_echo'
15706 export as_echo_body
15707 as_echo='sh -c $as_echo_body as_echo'
15710 # The user is always right.
15711 if test "${PATH_SEPARATOR+set}" != set; then
15713 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15714 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15721 # We need space, tab and new line, in precisely that order. Quoting is
15722 # there to prevent editors from complaining about space-tab.
15723 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15724 # splitting by setting IFS to empty value.)
15727 # Find who we are. Look in the path if we contain no directory separator.
15729 *[\\/]* ) as_myself=$0 ;;
15730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15731 for as_dir in $PATH
15734 test -z "$as_dir" && as_dir=.
15735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15741 # We did not find ourselves, most probably we were run as `sh COMMAND'
15742 # in which case we are not to be found in the path.
15743 if test "x$as_myself" = x; then
15746 if test ! -f "$as_myself"; then
15747 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15751 # Unset variables that we do not need and which cause bugs (e.g. in
15752 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15753 # suppresses any "Segmentation fault" message there. '((' could
15754 # trigger a bug in pdksh 5.2.14.
15755 for as_var in BASH_ENV ENV MAIL MAILPATH
15756 do eval test x\${$as_var+set} = xset \
15757 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15773 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15774 # ----------------------------------------
15775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15777 # script with STATUS, using 1 if that was 0.
15780 as_status=$1; test $as_status -eq 0 && as_status=1
15782 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15783 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15785 $as_echo "$as_me: error: $2" >&2
15786 as_fn_exit $as_status
15790 # as_fn_set_status STATUS
15791 # -----------------------
15792 # Set $? to STATUS, without forking.
15793 as_fn_set_status ()
15796 } # as_fn_set_status
15798 # as_fn_exit STATUS
15799 # -----------------
15800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15804 as_fn_set_status $1
15810 # Portably unset VAR.
15813 { eval $1=; unset $1;}
15815 as_unset=as_fn_unset
15816 # as_fn_append VAR VALUE
15817 # ----------------------
15818 # Append the text in VALUE to the end of the definition contained in VAR. Take
15819 # advantage of any shell optimizations that allow amortized linear growth over
15820 # repeated appends, instead of the typical quadratic growth present in naive
15822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15823 eval 'as_fn_append ()
15834 # as_fn_arith ARG...
15835 # ------------------
15836 # Perform arithmetic evaluation on the ARGs, and store the result in the
15837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15838 # must be portable across $(()) and expr.
15839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15840 eval 'as_fn_arith ()
15847 as_val=`expr "$@" || test $? -eq 1`
15852 if expr a : '\(a\)' >/dev/null 2>&1 &&
15853 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15860 as_basename=basename
15865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15871 as_me=`$as_basename -- "$0" ||
15872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15873 X"$0" : 'X\(//\)$' \| \
15874 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15876 sed '/^.*\/\([^/][^/]*\)\/*$/{
15890 # Avoid depending upon Character Ranges.
15891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15894 as_cr_digits='0123456789'
15895 as_cr_alnum=$as_cr_Letters$as_cr_digits
15897 ECHO_C= ECHO_N= ECHO_T=
15898 case `echo -n x` in #(((((
15900 case `echo 'xy\c'` in
15901 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15903 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15910 rm -f conf$$ conf$$.exe conf$$.file
15911 if test -d conf$$.dir; then
15912 rm -f conf$$.dir/conf$$.file
15915 mkdir conf$$.dir 2>/dev/null
15917 if (echo >conf$$.file) 2>/dev/null; then
15918 if ln -s conf$$.file conf$$ 2>/dev/null; then
15920 # ... but there are two gotchas:
15921 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15922 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15923 # In both cases, we have to default to `cp -p'.
15924 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15926 elif ln conf$$.file conf$$ 2>/dev/null; then
15934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15935 rmdir conf$$.dir 2>/dev/null
15940 # Create "$as_dir" as a directory, including parents if necessary.
15945 -*) as_dir=./$as_dir;;
15947 test -d "$as_dir" || eval $as_mkdir_p || {
15951 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15952 *) as_qdir=$as_dir;;
15954 as_dirs="'$as_qdir' $as_dirs"
15955 as_dir=`$as_dirname -- "$as_dir" ||
15956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15957 X"$as_dir" : 'X\(//\)[^/]' \| \
15958 X"$as_dir" : 'X\(//\)$' \| \
15959 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15960 $as_echo X"$as_dir" |
15961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15965 /^X\(\/\/\)[^/].*/{
15978 test -d "$as_dir" && break
15980 test -z "$as_dirs" || eval "mkdir $as_dirs"
15981 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15985 if mkdir -p . 2>/dev/null; then
15986 as_mkdir_p='mkdir -p "$as_dir"'
15988 test -d ./-p && rmdir ./-p
15992 if test -x / >/dev/null 2>&1; then
15993 as_test_x='test -x'
15995 if ls -dL / >/dev/null 2>&1; then
16002 if test -d "$1"; then
16008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16009 ???[sx]*):;;*)false;;esac;fi
16013 as_executable_p=$as_test_x
16015 # Sed expression to map a string onto a valid CPP name.
16016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16018 # Sed expression to map a string onto a valid variable name.
16019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16023 ## ----------------------------------- ##
16024 ## Main body of $CONFIG_STATUS script. ##
16025 ## ----------------------------------- ##
16027 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16030 # Save the log message, to keep $0 and so on meaningful, and to
16031 # report actual input values of CONFIG_FILES etc. instead of their
16032 # values after options handling.
16034 This file was extended by mech_eap $as_me 0.1, which was
16035 generated by GNU Autoconf 2.67. Invocation command line was
16037 CONFIG_FILES = $CONFIG_FILES
16038 CONFIG_HEADERS = $CONFIG_HEADERS
16039 CONFIG_LINKS = $CONFIG_LINKS
16040 CONFIG_COMMANDS = $CONFIG_COMMANDS
16043 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16048 case $ac_config_files in *"
16049 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16052 case $ac_config_headers in *"
16053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16058 # Files that config.status was made for.
16059 config_files="$ac_config_files"
16060 config_headers="$ac_config_headers"
16061 config_commands="$ac_config_commands"
16065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16067 \`$as_me' instantiates files and other configuration actions
16068 from templates according to the current configuration. Unless the files
16069 and actions are specified as TAGs, all are instantiated by default.
16071 Usage: $0 [OPTION]... [TAG]...
16073 -h, --help print this help, then exit
16074 -V, --version print version number and configuration settings, then exit
16075 --config print configuration, then exit
16076 -q, --quiet, --silent
16077 do not print progress messages
16078 -d, --debug don't remove temporary files
16079 --recheck update $as_me by reconfiguring in the same conditions
16080 --file=FILE[:TEMPLATE]
16081 instantiate the configuration file FILE
16082 --header=FILE[:TEMPLATE]
16083 instantiate the configuration header FILE
16085 Configuration files:
16088 Configuration headers:
16091 Configuration commands:
16094 Report bugs to <bugs@project-moonshot.org>."
16097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16098 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16100 mech_eap config.status 0.1
16101 configured by $0, generated by GNU Autoconf 2.67,
16102 with options \\"\$ac_cs_config\\"
16104 Copyright (C) 2010 Free Software Foundation, Inc.
16105 This config.status script is free software; the Free Software Foundation
16106 gives unlimited permission to copy, distribute and modify it."
16113 test -n "\$AWK" || AWK=awk
16116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16117 # The default lists apply if the user does not specify any file.
16123 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16124 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16128 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16140 # Handling of the options.
16141 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16143 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16144 $as_echo "$ac_cs_version"; exit ;;
16145 --config | --confi | --conf | --con | --co | --c )
16146 $as_echo "$ac_cs_config"; exit ;;
16147 --debug | --debu | --deb | --de | --d | -d )
16149 --file | --fil | --fi | --f )
16152 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16153 '') as_fn_error $? "missing file argument" ;;
16155 as_fn_append CONFIG_FILES " '$ac_optarg'"
16156 ac_need_defaults=false;;
16157 --header | --heade | --head | --hea )
16160 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16162 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16163 ac_need_defaults=false;;
16165 # Conflict between --help and --header
16166 as_fn_error $? "ambiguous option: \`$1'
16167 Try \`$0 --help' for more information.";;
16168 --help | --hel | -h )
16169 $as_echo "$ac_cs_usage"; exit ;;
16170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16171 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16174 # This is an error.
16175 -*) as_fn_error $? "unrecognized option: \`$1'
16176 Try \`$0 --help' for more information." ;;
16178 *) as_fn_append ac_config_targets " $1"
16179 ac_need_defaults=false ;;
16185 ac_configure_extra_args=
16187 if $ac_cs_silent; then
16189 ac_configure_extra_args="$ac_configure_extra_args --silent"
16193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16194 if \$ac_cs_recheck; then
16195 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16197 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16198 CONFIG_SHELL='$SHELL'
16199 export CONFIG_SHELL
16204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16209 ## Running $as_me. ##
16215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16219 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16222 # The HP-UX ksh and POSIX shell print the target directory to stdout
16223 # if CDPATH is set.
16224 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16226 sed_quote_subst='$sed_quote_subst'
16227 double_quote_subst='$double_quote_subst'
16228 delay_variable_subst='$delay_variable_subst'
16229 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16230 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16231 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16232 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16233 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16234 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16235 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16236 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16237 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16238 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16239 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16240 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16241 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16242 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16243 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16244 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16245 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16246 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16247 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16248 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16249 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16250 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16251 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16252 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16253 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16254 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16255 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16256 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16257 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16258 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16259 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16260 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16261 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16262 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16263 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16264 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16265 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16266 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16267 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16268 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16269 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16270 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16271 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16272 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16273 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"`'
16274 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"`'
16275 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16276 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16277 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16278 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16279 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16280 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16281 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16282 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16283 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16284 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16285 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16286 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16287 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16288 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16289 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16290 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16291 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16292 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16293 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16294 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16295 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16296 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16297 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16298 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16299 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16300 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16301 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16302 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16303 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16304 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16305 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16306 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16307 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16308 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16309 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16310 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16311 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16312 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16313 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16314 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16315 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16316 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16317 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16318 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16319 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16320 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16321 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16322 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16323 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16324 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16325 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16326 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16327 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16328 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16329 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16330 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16331 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16332 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16333 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16334 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16335 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16336 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16337 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16338 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16339 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16340 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16341 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16342 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16343 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16344 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16345 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16346 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16347 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16348 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16349 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16350 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16351 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16352 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16353 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16354 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16355 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16356 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16357 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16358 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16359 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16360 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16361 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16362 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16363 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16364 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16365 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16366 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16367 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16368 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16369 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16370 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16371 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16372 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16373 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16374 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16375 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16376 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16377 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16378 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16379 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16380 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16381 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16382 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16383 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16384 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16385 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16386 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16387 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16388 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16389 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16390 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16391 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16392 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16393 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16394 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16395 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16396 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16397 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16398 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16399 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16402 LTCFLAGS='$LTCFLAGS'
16403 compiler='$compiler_DEFAULT'
16405 # Quote evaled strings.
16417 deplibs_check_method \
16426 lt_cv_sys_global_symbol_pipe \
16427 lt_cv_sys_global_symbol_to_cdecl \
16428 lt_cv_sys_global_symbol_to_c_name_address \
16429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16432 lt_prog_compiler_no_builtin_flag \
16433 lt_prog_compiler_wl \
16434 lt_prog_compiler_pic \
16435 lt_prog_compiler_static \
16436 lt_cv_prog_compiler_c_o \
16444 export_dynamic_flag_spec \
16445 whole_archive_flag_spec \
16446 compiler_needs_object \
16448 allow_undefined_flag \
16449 no_undefined_flag \
16450 hardcode_libdir_flag_spec \
16451 hardcode_libdir_flag_spec_ld \
16452 hardcode_libdir_separator \
16457 variables_saved_for_relink \
16459 library_names_spec \
16464 compiler_lib_search_dirs \
16469 compiler_lib_search_path \
16472 lt_prog_compiler_no_builtin_flag_CXX \
16473 lt_prog_compiler_wl_CXX \
16474 lt_prog_compiler_pic_CXX \
16475 lt_prog_compiler_static_CXX \
16476 lt_cv_prog_compiler_c_o_CXX \
16477 export_dynamic_flag_spec_CXX \
16478 whole_archive_flag_spec_CXX \
16479 compiler_needs_object_CXX \
16481 allow_undefined_flag_CXX \
16482 no_undefined_flag_CXX \
16483 hardcode_libdir_flag_spec_CXX \
16484 hardcode_libdir_flag_spec_ld_CXX \
16485 hardcode_libdir_separator_CXX \
16486 fix_srcfile_path_CXX \
16487 exclude_expsyms_CXX \
16488 include_expsyms_CXX \
16489 file_list_spec_CXX \
16490 compiler_lib_search_dirs_CXX \
16491 predep_objects_CXX \
16492 postdep_objects_CXX \
16495 compiler_lib_search_path_CXX; do
16496 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16497 *[\\\\\\\`\\"\\\$]*)
16498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16506 # Double-quote double-evaled strings.
16507 for var in reload_cmds \
16508 old_postinstall_cmds \
16509 old_postuninstall_cmds \
16511 extract_expsyms_cmds \
16512 old_archive_from_new_cmds \
16513 old_archive_from_expsyms_cmds \
16515 archive_expsym_cmds \
16517 module_expsym_cmds \
16518 export_symbols_cmds \
16521 postuninstall_cmds \
16523 sys_lib_search_path_spec \
16524 sys_lib_dlsearch_path_spec \
16525 old_archive_cmds_CXX \
16526 old_archive_from_new_cmds_CXX \
16527 old_archive_from_expsyms_cmds_CXX \
16529 archive_expsym_cmds_CXX \
16531 module_expsym_cmds_CXX \
16532 export_symbols_cmds_CXX \
16533 prelink_cmds_CXX; do
16534 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16535 *[\\\\\\\`\\"\\\$]*)
16536 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16539 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16544 # Fix-up fallback echo if it was mangled by the above quoting rules.
16546 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16550 ac_aux_dir='$ac_aux_dir'
16551 xsi_shell='$xsi_shell'
16552 lt_shell_append='$lt_shell_append'
16554 # See if we are running on zsh, and set the options which allow our
16555 # commands through without removal of \ escapes INIT.
16556 if test -n "\${ZSH_VERSION+set}" ; then
16557 setopt NO_GLOB_SUBST
16563 TIMESTAMP='$TIMESTAMP'
16574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16576 # Handling of arguments.
16577 for ac_config_target in $ac_config_targets
16579 case $ac_config_target in
16580 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16581 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16582 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16583 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16584 "libeap/Makefile") CONFIG_FILES="$CONFIG_FILES libeap/Makefile" ;;
16585 "mech_eap/Makefile") CONFIG_FILES="$CONFIG_FILES mech_eap/Makefile" ;;
16587 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16592 # If the user did not use the arguments to specify the items to instantiate,
16593 # then the envvar interface is used. Set only those that are not.
16594 # We use the long form for the default assignment because of an extremely
16595 # bizarre bug on SunOS 4.1.3.
16596 if $ac_need_defaults; then
16597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16598 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16599 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16602 # Have a temporary directory for convenience. Make it in the build tree
16603 # simply because there is no reason against having it here, and in addition,
16604 # creating and moving files from /tmp can sometimes cause problems.
16605 # Hook for its removal unless debugging.
16606 # Note that there is a small window in which the directory will not be cleaned:
16607 # after its creation but before its name has been assigned to `$tmp'.
16611 trap 'exit_status=$?
16612 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16614 trap 'as_fn_exit 1' 1 2 13 15
16616 # Create a (secure) tmp directory for tmp files.
16619 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16620 test -n "$tmp" && test -d "$tmp"
16623 tmp=./conf$$-$RANDOM
16624 (umask 077 && mkdir "$tmp")
16625 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16627 # Set up the scripts for CONFIG_FILES section.
16628 # No need to generate them if there are no CONFIG_FILES.
16629 # This happens for instance with `./config.status config.h'.
16630 if test -n "$CONFIG_FILES"; then
16633 ac_cr=`echo X | tr X '\015'`
16634 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16635 # But we know of no other shell where ac_cr would be empty at this
16636 # point, so we can use a bashism as a fallback.
16637 if test "x$ac_cr" = x; then
16638 eval ac_cr=\$\'\\r\'
16640 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16641 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16644 ac_cs_awk_cr=$ac_cr
16647 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16652 echo "cat >conf$$subs.awk <<_ACEOF" &&
16653 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16655 } >conf$$subs.sh ||
16656 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16657 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16659 for ac_last_try in false false false false false :; do
16660 . ./conf$$subs.sh ||
16661 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16663 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16664 if test $ac_delim_n = $ac_delim_num; then
16666 elif $ac_last_try; then
16667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16669 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16672 rm -f conf$$subs.sh
16674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16675 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16679 s/^/S["/; s/!.*/"]=/
16689 s/\(.\{148\}\)..*/\1/
16691 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16696 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16703 s/\(.\{148\}\)..*/\1/
16705 s/["\\]/\\&/g; s/^/"/; s/$/"/
16709 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16714 ' <conf$$subs.awk | sed '
16719 ' >>$CONFIG_STATUS || ac_write_fail=1
16720 rm -f conf$$subs.awk
16721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16723 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16724 for (key in S) S_is_set[key] = 1
16730 nfields = split(line, field, "@")
16732 len = length(field[1])
16733 for (i = 2; i < nfields; i++) {
16735 keylen = length(key)
16736 if (S_is_set[key]) {
16738 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16739 len += length(value) + length(field[++i])
16750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16751 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16752 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16755 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16756 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16759 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16760 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16761 # trailing colons and then remove the whole line if VPATH becomes empty
16762 # (actually we leave an empty line to preserve line numbers).
16763 if test "x$srcdir" = x.; then
16764 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16783 fi # test -n "$CONFIG_FILES"
16785 # Set up the scripts for CONFIG_HEADERS section.
16786 # No need to generate them if there are no CONFIG_HEADERS.
16787 # This happens for instance with `./config.status Makefile'.
16788 if test -n "$CONFIG_HEADERS"; then
16789 cat >"$tmp/defines.awk" <<\_ACAWK ||
16793 # Transform confdefs.h into an awk script `defines.awk', embedded as
16794 # here-document in config.status, that substitutes the proper values into
16795 # config.h.in to produce config.h.
16797 # Create a delimiter string that does not exist in confdefs.h, to ease
16798 # handling of long lines.
16800 for ac_last_try in false false :; do
16801 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16802 if test -z "$ac_t"; then
16804 elif $ac_last_try; then
16805 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16807 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16811 # For the awk script, D is an array of macro values keyed by name,
16812 # likewise P contains macro parameters if any. Preserve backslash
16813 # newline sequences.
16815 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16817 s/.\{148\}/&'"$ac_delim"'/g
16820 s/^[ ]*#[ ]*define[ ][ ]*/ /
16827 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16829 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16833 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16834 D["\1"]=" \3\\\\\\n"\\/p
16836 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16841 s/.\{148\}/&'"$ac_delim"'/g
16846 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16849 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16851 ' <confdefs.h | sed '
16852 s/'"$ac_delim"'/"\\\
16853 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16856 for (key in D) D_is_set[key] = 1
16859 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16861 split(line, arg, " ")
16862 if (arg[1] == "#") {
16866 defundef = substr(arg[1], 2)
16869 split(mac1, mac2, "(") #)
16871 prefix = substr(line, 1, index(line, defundef) - 1)
16872 if (D_is_set[macro]) {
16873 # Preserve the white space surrounding the "#".
16874 print prefix "define", macro P[macro] D[macro]
16877 # Replace #undef with comments. This is necessary, for example,
16878 # in the case of _POSIX_SOURCE, which is predefined and required
16879 # on some systems where configure will not decide to define it.
16880 if (defundef == "undef") {
16881 print "/*", prefix defundef, macro, "*/"
16889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16890 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16891 fi # test -n "$CONFIG_HEADERS"
16894 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16899 :[FHLC]) ac_mode=$ac_tag; continue;;
16901 case $ac_mode$ac_tag in
16903 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16904 :[FH]-) ac_tag=-:-;;
16905 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16922 -) ac_f="$tmp/stdin";;
16923 *) # Look for the file first in the build tree, then in the source tree
16924 # (if the path is not absolute). The absolute path cannot be DOS-style,
16925 # because $ac_f cannot contain `:'.
16929 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16931 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16933 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16934 as_fn_append ac_file_inputs " '$ac_f'"
16937 # Let's still pretend it is `configure' which instantiates (i.e., don't
16938 # use $as_me), people would be surprised to read:
16939 # /* config.h. Generated by config.status. */
16940 configure_input='Generated from '`
16941 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16943 if test x"$ac_file" != x-; then
16944 configure_input="$ac_file. $configure_input"
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16946 $as_echo "$as_me: creating $ac_file" >&6;}
16948 # Neutralize special characters interpreted by sed in replacement strings.
16949 case $configure_input in #(
16950 *\&* | *\|* | *\\* )
16951 ac_sed_conf_input=`$as_echo "$configure_input" |
16952 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16953 *) ac_sed_conf_input=$configure_input;;
16957 *:-:* | *:-) cat >"$tmp/stdin" \
16958 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16963 ac_dir=`$as_dirname -- "$ac_file" ||
16964 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16965 X"$ac_file" : 'X\(//\)[^/]' \| \
16966 X"$ac_file" : 'X\(//\)$' \| \
16967 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16968 $as_echo X"$ac_file" |
16969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16973 /^X\(\/\/\)[^/].*/{
16986 as_dir="$ac_dir"; as_fn_mkdir_p
16990 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16992 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16993 # A ".." for each directory in $ac_dir_suffix.
16994 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16995 case $ac_top_builddir_sub in
16996 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16997 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17000 ac_abs_top_builddir=$ac_pwd
17001 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17002 # for backward compatibility:
17003 ac_top_builddir=$ac_top_build_prefix
17006 .) # We are building in place.
17008 ac_top_srcdir=$ac_top_builddir_sub
17009 ac_abs_top_srcdir=$ac_pwd ;;
17010 [\\/]* | ?:[\\/]* ) # Absolute name.
17011 ac_srcdir=$srcdir$ac_dir_suffix;
17012 ac_top_srcdir=$srcdir
17013 ac_abs_top_srcdir=$srcdir ;;
17014 *) # Relative name.
17015 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17016 ac_top_srcdir=$ac_top_build_prefix$srcdir
17017 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17019 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17029 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17030 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17032 ac_MKDIR_P=$MKDIR_P
17034 [\\/$]* | ?:[\\/]* ) ;;
17035 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17040 # If the template does not know about datarootdir, expand it.
17041 # FIXME: This hack should be removed a few years after 2.60.
17042 ac_datarootdir_hack=; ac_datarootdir_seen=
17053 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17054 *datarootdir*) ac_datarootdir_seen=yes;;
17055 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17057 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17060 ac_datarootdir_hack='
17061 s&@datadir@&$datadir&g
17062 s&@docdir@&$docdir&g
17063 s&@infodir@&$infodir&g
17064 s&@localedir@&$localedir&g
17065 s&@mandir@&$mandir&g
17066 s&\\\${datarootdir}&$datarootdir&g' ;;
17070 # Neutralize VPATH when `$srcdir' = `.'.
17071 # Shell code in configure.ac might set extrasub.
17072 # FIXME: do we really want to maintain this feature?
17073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17074 ac_sed_extra="$ac_vpsub
17077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17079 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17080 s|@configure_input@|$ac_sed_conf_input|;t t
17081 s&@top_builddir@&$ac_top_builddir_sub&;t t
17082 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17083 s&@srcdir@&$ac_srcdir&;t t
17084 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17085 s&@top_srcdir@&$ac_top_srcdir&;t t
17086 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17087 s&@builddir@&$ac_builddir&;t t
17088 s&@abs_builddir@&$ac_abs_builddir&;t t
17089 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17090 s&@INSTALL@&$ac_INSTALL&;t t
17091 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17092 $ac_datarootdir_hack
17094 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17095 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17097 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17098 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17099 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17101 which seems to be undefined. Please make sure it is defined" >&5
17102 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17103 which seems to be undefined. Please make sure it is defined" >&2;}
17107 -) cat "$tmp/out" && rm -f "$tmp/out";;
17108 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17110 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17116 if test x"$ac_file" != x-; then
17118 $as_echo "/* $configure_input */" \
17119 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17120 } >"$tmp/config.h" \
17121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17122 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17124 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17127 mv "$tmp/config.h" "$ac_file" \
17128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17131 $as_echo "/* $configure_input */" \
17132 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17133 || as_fn_error $? "could not create -" "$LINENO" 5
17135 # Compute "$ac_file"'s index in $config_headers.
17138 for _am_header in $config_headers :; do
17139 case $_am_header in
17140 $_am_arg | $_am_arg:* )
17143 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17146 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17147 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17148 X"$_am_arg" : 'X\(//\)[^/]' \| \
17149 X"$_am_arg" : 'X\(//\)$' \| \
17150 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17151 $as_echo X"$_am_arg" |
17152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17156 /^X\(\/\/\)[^/].*/{
17168 s/.*/./; q'`/stamp-h$_am_stamp_count
17171 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17172 $as_echo "$as_me: executing $ac_file commands" >&6;}
17177 case $ac_file$ac_mode in
17178 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17179 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17180 # are listed without --file. Let's play safe and only enable the eval
17181 # if we detect the quoting.
17182 case $CONFIG_FILES in
17183 *\'*) eval set x "$CONFIG_FILES" ;;
17184 *) set x $CONFIG_FILES ;;
17189 # Strip MF so we end up with the name of the file.
17190 mf=`echo "$mf" | sed -e 's/:.*$//'`
17191 # Check whether this is an Automake generated Makefile or not.
17192 # We used to match only the files named `Makefile.in', but
17193 # some people rename them; so instead we look at the file content.
17194 # Grep'ing the first line is not enough: some people post-process
17195 # each Makefile.in and add a new line on top of each file to say so.
17196 # Grep'ing the whole file is not good either: AIX grep has a line
17197 # limit of 2048, but all sed's we know have understand at least 4000.
17198 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17199 dirpart=`$as_dirname -- "$mf" ||
17200 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17201 X"$mf" : 'X\(//\)[^/]' \| \
17202 X"$mf" : 'X\(//\)$' \| \
17203 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17209 /^X\(\/\/\)[^/].*/{
17225 # Extract the definition of DEPDIR, am__include, and am__quote
17226 # from the Makefile without running `make'.
17227 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17228 test -z "$DEPDIR" && continue
17229 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17230 test -z "am__include" && continue
17231 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17232 # When using ansi2knr, U may be empty or an underscore; expand it
17233 U=`sed -n 's/^U = //p' < "$mf"`
17234 # Find all dependency output files, they are included files with
17235 # $(DEPDIR) in their names. We invoke sed twice because it is the
17236 # simplest approach to changing $(DEPDIR) to its actual value in the
17238 for file in `sed -n "
17239 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17240 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17241 # Make sure the directory exists.
17242 test -f "$dirpart/$file" && continue
17243 fdir=`$as_dirname -- "$file" ||
17244 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17245 X"$file" : 'X\(//\)[^/]' \| \
17246 X"$file" : 'X\(//\)$' \| \
17247 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17248 $as_echo X"$file" |
17249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17253 /^X\(\/\/\)[^/].*/{
17266 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17267 # echo "creating $dirpart/$file"
17268 echo '# dummy' > "$dirpart/$file"
17275 # See if we are running on zsh, and set the options which allow our
17276 # commands through without removal of \ escapes.
17277 if test -n "${ZSH_VERSION+set}" ; then
17278 setopt NO_GLOB_SUBST
17281 cfgfile="${ofile}T"
17282 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17285 cat <<_LT_EOF >> "$cfgfile"
17288 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17289 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17290 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17291 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17293 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17294 # 2006, 2007, 2008 Free Software Foundation, Inc.
17295 # Written by Gordon Matzigkeit, 1996
17297 # This file is part of GNU Libtool.
17299 # GNU Libtool is free software; you can redistribute it and/or
17300 # modify it under the terms of the GNU General Public License as
17301 # published by the Free Software Foundation; either version 2 of
17302 # the License, or (at your option) any later version.
17304 # As a special exception to the GNU General Public License,
17305 # if you distribute this file as part of a program or library that
17306 # is built using GNU Libtool, you may include this file under the
17307 # same distribution terms that you use for the rest of that program.
17309 # GNU Libtool is distributed in the hope that it will be useful,
17310 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17311 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17312 # GNU General Public License for more details.
17314 # You should have received a copy of the GNU General Public License
17315 # along with GNU Libtool; see the file COPYING. If not, a copy
17316 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17317 # obtained by writing to the Free Software Foundation, Inc.,
17318 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17321 # The names of the tagged configurations supported by this script.
17322 available_tags="CXX "
17324 # ### BEGIN LIBTOOL CONFIG
17326 # Which release of libtool.m4 was used?
17327 macro_version=$macro_version
17328 macro_revision=$macro_revision
17330 # Whether or not to build static libraries.
17331 build_old_libs=$enable_static
17333 # Whether or not to build shared libraries.
17334 build_libtool_libs=$enable_shared
17336 # What type of objects to build.
17339 # Whether or not to optimize for fast installation.
17340 fast_install=$enable_fast_install
17343 host_alias=$host_alias
17347 # The build system.
17348 build_alias=$build_alias
17352 # A sed program that does not truncate output.
17355 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17356 Xsed="\$SED -e 1s/^X//"
17358 # A grep program that handles long lines.
17364 # A literal string matcher.
17367 # A BSD- or MS-compatible name lister.
17370 # Whether we need soft or hard links.
17373 # What is the maximum length of a command?
17374 max_cmd_len=$max_cmd_len
17376 # Object file suffix (normally "o").
17379 # Executable file suffix (normally "").
17382 # whether the shell understands "unset".
17385 # turn spaces into newlines.
17388 # turn newlines into spaces.
17391 # How to create reloadable object files.
17392 reload_flag=$lt_reload_flag
17393 reload_cmds=$lt_reload_cmds
17395 # An object symbol dumper.
17396 OBJDUMP=$lt_OBJDUMP
17398 # Method to check whether dependent libraries are shared objects.
17399 deplibs_check_method=$lt_deplibs_check_method
17401 # Command to use when deplibs_check_method == "file_magic".
17402 file_magic_cmd=$lt_file_magic_cmd
17406 AR_FLAGS=$lt_AR_FLAGS
17408 # A symbol stripping program.
17411 # Commands used to install an old-style archive.
17413 old_postinstall_cmds=$lt_old_postinstall_cmds
17414 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17419 # LTCC compiler flags.
17420 LTCFLAGS=$lt_CFLAGS
17422 # Take the output of nm and produce a listing of raw symbols and C names.
17423 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17425 # Transform the output of nm in a proper C declaration.
17426 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17428 # Transform the output of nm in a C name address pair.
17429 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17431 # Transform the output of nm in a C name address pair when lib prefix is needed.
17432 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17434 # The name of the directory that contains temporary libtool files.
17437 # Shell to use when invoking shell scripts.
17440 # An echo program that does not interpret backslashes.
17443 # Used to examine libraries when file_magic_cmd begins with "file".
17444 MAGIC_CMD=$MAGIC_CMD
17446 # Must we lock files when doing compilation?
17447 need_locks=$lt_need_locks
17449 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17450 DSYMUTIL=$lt_DSYMUTIL
17452 # Tool to change global to local symbols on Mac OS X.
17455 # Tool to manipulate fat objects and archives on Mac OS X.
17458 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17461 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17462 OTOOL64=$lt_OTOOL64
17464 # Old archive suffix (normally "a").
17467 # Shared library suffix (normally ".so").
17468 shrext_cmds=$lt_shrext_cmds
17470 # The commands to extract the exported symbol list from a shared archive.
17471 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17473 # Variables whose values should be saved in libtool wrapper scripts and
17474 # restored at link time.
17475 variables_saved_for_relink=$lt_variables_saved_for_relink
17477 # Do we need the "lib" prefix for modules?
17478 need_lib_prefix=$need_lib_prefix
17480 # Do we need a version for libraries?
17481 need_version=$need_version
17483 # Library versioning type.
17484 version_type=$version_type
17486 # Shared library runtime path variable.
17487 runpath_var=$runpath_var
17489 # Shared library path variable.
17490 shlibpath_var=$shlibpath_var
17492 # Is shlibpath searched before the hard-coded library search path?
17493 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17495 # Format of library name prefix.
17496 libname_spec=$lt_libname_spec
17498 # List of archive names. First name is the real one, the rest are links.
17499 # The last name is the one that the linker finds with -lNAME
17500 library_names_spec=$lt_library_names_spec
17502 # The coded name of the library, if different from the real name.
17503 soname_spec=$lt_soname_spec
17505 # Command to use after installation of a shared archive.
17506 postinstall_cmds=$lt_postinstall_cmds
17508 # Command to use after uninstallation of a shared archive.
17509 postuninstall_cmds=$lt_postuninstall_cmds
17511 # Commands used to finish a libtool library installation in a directory.
17512 finish_cmds=$lt_finish_cmds
17514 # As "finish_cmds", except a single script fragment to be evaled but
17516 finish_eval=$lt_finish_eval
17518 # Whether we should hardcode library paths into libraries.
17519 hardcode_into_libs=$hardcode_into_libs
17521 # Compile-time system search path for libraries.
17522 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17524 # Run-time system search path for libraries.
17525 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17527 # Whether dlopen is supported.
17528 dlopen_support=$enable_dlopen
17530 # Whether dlopen of programs is supported.
17531 dlopen_self=$enable_dlopen_self
17533 # Whether dlopen of statically linked programs is supported.
17534 dlopen_self_static=$enable_dlopen_self_static
17536 # Commands to strip libraries.
17537 old_striplib=$lt_old_striplib
17538 striplib=$lt_striplib
17541 # The linker used to build libraries.
17544 # Commands used to build an old-style archive.
17545 old_archive_cmds=$lt_old_archive_cmds
17547 # A language specific compiler.
17550 # Is the compiler the GNU compiler?
17553 # Compiler flag to turn off builtin functions.
17554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17556 # How to pass a linker flag through the compiler.
17557 wl=$lt_lt_prog_compiler_wl
17559 # Additional compiler flags for building library objects.
17560 pic_flag=$lt_lt_prog_compiler_pic
17562 # Compiler flag to prevent dynamic linking.
17563 link_static_flag=$lt_lt_prog_compiler_static
17565 # Does compiler simultaneously support -c and -o options?
17566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17568 # Whether or not to add -lc for building shared libraries.
17569 build_libtool_need_lc=$archive_cmds_need_lc
17571 # Whether or not to disallow shared libs when runtime libs are static.
17572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17574 # Compiler flag to allow reflexive dlopens.
17575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17577 # Compiler flag to generate shared objects directly from archives.
17578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17580 # Whether the compiler copes with passing no objects directly.
17581 compiler_needs_object=$lt_compiler_needs_object
17583 # Create an old-style archive from a shared archive.
17584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17586 # Create a temporary old-style archive to link instead of a shared archive.
17587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17589 # Commands used to build a shared archive.
17590 archive_cmds=$lt_archive_cmds
17591 archive_expsym_cmds=$lt_archive_expsym_cmds
17593 # Commands used to build a loadable module if different from building
17594 # a shared archive.
17595 module_cmds=$lt_module_cmds
17596 module_expsym_cmds=$lt_module_expsym_cmds
17598 # Whether we are building with GNU ld or not.
17599 with_gnu_ld=$lt_with_gnu_ld
17601 # Flag that allows shared libraries with undefined symbols to be built.
17602 allow_undefined_flag=$lt_allow_undefined_flag
17604 # Flag that enforces no undefined symbols.
17605 no_undefined_flag=$lt_no_undefined_flag
17607 # Flag to hardcode \$libdir into a binary during linking.
17608 # This must work even if \$libdir does not exist
17609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17611 # If ld is used when linking, flag to hardcode \$libdir into a binary
17612 # during linking. This must work even if \$libdir does not exist.
17613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17615 # Whether we need a single "-rpath" flag with a separated argument.
17616 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17619 # DIR into the resulting binary.
17620 hardcode_direct=$hardcode_direct
17622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17623 # DIR into the resulting binary and the resulting library dependency is
17624 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17625 # library is relocated.
17626 hardcode_direct_absolute=$hardcode_direct_absolute
17628 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17629 # into the resulting binary.
17630 hardcode_minus_L=$hardcode_minus_L
17632 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17633 # into the resulting binary.
17634 hardcode_shlibpath_var=$hardcode_shlibpath_var
17636 # Set to "yes" if building a shared library automatically hardcodes DIR
17637 # into the library and all subsequent libraries and executables linked
17639 hardcode_automatic=$hardcode_automatic
17641 # Set to yes if linker adds runtime paths of dependent libraries
17642 # to runtime path list.
17643 inherit_rpath=$inherit_rpath
17645 # Whether libtool must link a program against all its dependency libraries.
17646 link_all_deplibs=$link_all_deplibs
17648 # Fix the shell variable \$srcfile for the compiler.
17649 fix_srcfile_path=$lt_fix_srcfile_path
17651 # Set to "yes" if exported symbols are required.
17652 always_export_symbols=$always_export_symbols
17654 # The commands to list exported symbols.
17655 export_symbols_cmds=$lt_export_symbols_cmds
17657 # Symbols that should not be listed in the preloaded symbols.
17658 exclude_expsyms=$lt_exclude_expsyms
17660 # Symbols that must always be exported.
17661 include_expsyms=$lt_include_expsyms
17663 # Commands necessary for linking programs (against libraries) with templates.
17664 prelink_cmds=$lt_prelink_cmds
17666 # Specify filename containing input files.
17667 file_list_spec=$lt_file_list_spec
17669 # How to hardcode a shared library path into an executable.
17670 hardcode_action=$hardcode_action
17672 # The directories searched by this compiler when creating a shared library.
17673 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17675 # Dependencies to place before and after the objects being linked to
17676 # create a shared library.
17677 predep_objects=$lt_predep_objects
17678 postdep_objects=$lt_postdep_objects
17679 predeps=$lt_predeps
17680 postdeps=$lt_postdeps
17682 # The library search path used internally by the compiler when linking
17683 # a shared library.
17684 compiler_lib_search_path=$lt_compiler_lib_search_path
17686 # ### END LIBTOOL CONFIG
17692 cat <<\_LT_EOF >> "$cfgfile"
17693 # AIX sometimes has problems with the GCC collect2 program. For some
17694 # reason, if we set the COLLECT_NAMES environment variable, the problems
17695 # vanish in a puff of smoke.
17696 if test "X${COLLECT_NAMES+set}" != Xset; then
17698 export COLLECT_NAMES
17705 ltmain="$ac_aux_dir/ltmain.sh"
17708 # We use sed instead of cat because bash on DJGPP gets confused if
17709 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17710 # text mode, it properly converts lines to CR/LF. This bash problem
17711 # is reportedly fixed, but why not run on old versions too?
17712 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17713 || (rm -f "$cfgfile"; exit 1)
17717 cat << \_LT_EOF >> "$cfgfile"
17719 # func_dirname file append nondir_replacement
17720 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17721 # otherwise set result to NONDIR_REPLACEMENT.
17725 */*) func_dirname_result="${1%/*}${2}" ;;
17726 * ) func_dirname_result="${3}" ;;
17730 # func_basename file
17733 func_basename_result="${1##*/}"
17736 # func_dirname_and_basename file append nondir_replacement
17737 # perform func_basename and func_dirname in a single function
17739 # dirname: Compute the dirname of FILE. If nonempty,
17740 # add APPEND to the result, otherwise set result
17741 # to NONDIR_REPLACEMENT.
17742 # value returned in "$func_dirname_result"
17743 # basename: Compute filename of FILE.
17744 # value retuned in "$func_basename_result"
17745 # Implementation must be kept synchronized with func_dirname
17746 # and func_basename. For efficiency, we do not delegate to
17747 # those functions but instead duplicate the functionality here.
17748 func_dirname_and_basename ()
17751 */*) func_dirname_result="${1%/*}${2}" ;;
17752 * ) func_dirname_result="${3}" ;;
17754 func_basename_result="${1##*/}"
17757 # func_stripname prefix suffix name
17758 # strip PREFIX and SUFFIX off of NAME.
17759 # PREFIX and SUFFIX must not contain globbing or regex special
17760 # characters, hashes, percent signs, but SUFFIX may contain a leading
17761 # dot (in which case that matches only a dot).
17764 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17765 # positional parameters, so assign one to ordinary parameter first.
17766 func_stripname_result=${3}
17767 func_stripname_result=${func_stripname_result#"${1}"}
17768 func_stripname_result=${func_stripname_result%"${2}"}
17774 func_opt_split_opt=${1%%=*}
17775 func_opt_split_arg=${1#*=}
17782 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17783 *) func_lo2o_result=${1} ;;
17787 # func_xform libobj-or-source
17790 func_xform_result=${1%.*}.lo
17793 # func_arith arithmetic-term...
17796 func_arith_result=$(( $* ))
17800 # STRING may not start with a hyphen.
17803 func_len_result=${#1}
17808 *) # Bourne compatible functions.
17809 cat << \_LT_EOF >> "$cfgfile"
17811 # func_dirname file append nondir_replacement
17812 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17813 # otherwise set result to NONDIR_REPLACEMENT.
17816 # Extract subdirectory from the argument.
17817 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17818 if test "X$func_dirname_result" = "X${1}"; then
17819 func_dirname_result="${3}"
17821 func_dirname_result="$func_dirname_result${2}"
17825 # func_basename file
17828 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17832 # func_stripname prefix suffix name
17833 # strip PREFIX and SUFFIX off of NAME.
17834 # PREFIX and SUFFIX must not contain globbing or regex special
17835 # characters, hashes, percent signs, but SUFFIX may contain a leading
17836 # dot (in which case that matches only a dot).
17837 # func_strip_suffix prefix name
17841 .*) func_stripname_result=`$ECHO "X${3}" \
17842 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17843 *) func_stripname_result=`$ECHO "X${3}" \
17844 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17849 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17850 my_sed_long_arg='1s/^-[^=]*=//'
17855 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17856 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17862 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17865 # func_xform libobj-or-source
17868 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17871 # func_arith arithmetic-term...
17874 func_arith_result=`expr "$@"`
17878 # STRING may not start with a hyphen.
17881 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17887 case $lt_shell_append in
17889 cat << \_LT_EOF >> "$cfgfile"
17891 # func_append var value
17892 # Append VALUE to the end of shell variable VAR.
17900 cat << \_LT_EOF >> "$cfgfile"
17902 # func_append var value
17903 # Append VALUE to the end of shell variable VAR.
17914 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17915 || (rm -f "$cfgfile"; exit 1)
17917 mv -f "$cfgfile" "$ofile" ||
17918 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17922 cat <<_LT_EOF >> "$ofile"
17924 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17926 # The linker used to build libraries.
17929 # Commands used to build an old-style archive.
17930 old_archive_cmds=$lt_old_archive_cmds_CXX
17932 # A language specific compiler.
17933 CC=$lt_compiler_CXX
17935 # Is the compiler the GNU compiler?
17938 # Compiler flag to turn off builtin functions.
17939 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17941 # How to pass a linker flag through the compiler.
17942 wl=$lt_lt_prog_compiler_wl_CXX
17944 # Additional compiler flags for building library objects.
17945 pic_flag=$lt_lt_prog_compiler_pic_CXX
17947 # Compiler flag to prevent dynamic linking.
17948 link_static_flag=$lt_lt_prog_compiler_static_CXX
17950 # Does compiler simultaneously support -c and -o options?
17951 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17953 # Whether or not to add -lc for building shared libraries.
17954 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17956 # Whether or not to disallow shared libs when runtime libs are static.
17957 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17959 # Compiler flag to allow reflexive dlopens.
17960 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17962 # Compiler flag to generate shared objects directly from archives.
17963 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17965 # Whether the compiler copes with passing no objects directly.
17966 compiler_needs_object=$lt_compiler_needs_object_CXX
17968 # Create an old-style archive from a shared archive.
17969 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17971 # Create a temporary old-style archive to link instead of a shared archive.
17972 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17974 # Commands used to build a shared archive.
17975 archive_cmds=$lt_archive_cmds_CXX
17976 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17978 # Commands used to build a loadable module if different from building
17979 # a shared archive.
17980 module_cmds=$lt_module_cmds_CXX
17981 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17983 # Whether we are building with GNU ld or not.
17984 with_gnu_ld=$lt_with_gnu_ld_CXX
17986 # Flag that allows shared libraries with undefined symbols to be built.
17987 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17989 # Flag that enforces no undefined symbols.
17990 no_undefined_flag=$lt_no_undefined_flag_CXX
17992 # Flag to hardcode \$libdir into a binary during linking.
17993 # This must work even if \$libdir does not exist
17994 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17996 # If ld is used when linking, flag to hardcode \$libdir into a binary
17997 # during linking. This must work even if \$libdir does not exist.
17998 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18000 # Whether we need a single "-rpath" flag with a separated argument.
18001 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18003 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18004 # DIR into the resulting binary.
18005 hardcode_direct=$hardcode_direct_CXX
18007 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18008 # DIR into the resulting binary and the resulting library dependency is
18009 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18010 # library is relocated.
18011 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18013 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18014 # into the resulting binary.
18015 hardcode_minus_L=$hardcode_minus_L_CXX
18017 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18018 # into the resulting binary.
18019 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18021 # Set to "yes" if building a shared library automatically hardcodes DIR
18022 # into the library and all subsequent libraries and executables linked
18024 hardcode_automatic=$hardcode_automatic_CXX
18026 # Set to yes if linker adds runtime paths of dependent libraries
18027 # to runtime path list.
18028 inherit_rpath=$inherit_rpath_CXX
18030 # Whether libtool must link a program against all its dependency libraries.
18031 link_all_deplibs=$link_all_deplibs_CXX
18033 # Fix the shell variable \$srcfile for the compiler.
18034 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18036 # Set to "yes" if exported symbols are required.
18037 always_export_symbols=$always_export_symbols_CXX
18039 # The commands to list exported symbols.
18040 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18042 # Symbols that should not be listed in the preloaded symbols.
18043 exclude_expsyms=$lt_exclude_expsyms_CXX
18045 # Symbols that must always be exported.
18046 include_expsyms=$lt_include_expsyms_CXX
18048 # Commands necessary for linking programs (against libraries) with templates.
18049 prelink_cmds=$lt_prelink_cmds_CXX
18051 # Specify filename containing input files.
18052 file_list_spec=$lt_file_list_spec_CXX
18054 # How to hardcode a shared library path into an executable.
18055 hardcode_action=$hardcode_action_CXX
18057 # The directories searched by this compiler when creating a shared library.
18058 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18060 # Dependencies to place before and after the objects being linked to
18061 # create a shared library.
18062 predep_objects=$lt_predep_objects_CXX
18063 postdep_objects=$lt_postdep_objects_CXX
18064 predeps=$lt_predeps_CXX
18065 postdeps=$lt_postdeps_CXX
18067 # The library search path used internally by the compiler when linking
18068 # a shared library.
18069 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18071 # ### END LIBTOOL TAG CONFIG: CXX
18082 ac_clean_files=$ac_clean_files_save
18084 test $ac_write_fail = 0 ||
18085 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18088 # configure is writing to config.log, and then calls config.status.
18089 # config.status does its own redirection, appending to config.log.
18090 # Unfortunately, on DOS this fails, as config.log is still kept open
18091 # by configure, so config.status won't be able to write to it; its
18092 # output is simply discarded. So we exec the FD to /dev/null,
18093 # effectively closing config.log, so it can be properly (re)opened and
18094 # appended to by config.status. When coming back to configure, we
18095 # need to make the FD available again.
18096 if test "$no_create" != yes; then
18098 ac_config_status_args=
18099 test "$silent" = yes &&
18100 ac_config_status_args="$ac_config_status_args --quiet"
18102 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18104 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18105 # would make configure fail if this is the last instruction.
18106 $ac_cs_success || as_fn_exit 1
18108 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18110 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}