2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for shellinabox 2.9.
5 # Report bugs to <markus@shellinabox.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640 for dir in $PATH /usr/ucb; do
642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X/bin/ksh; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL=/bin/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681 SHELL="$CONFIG_SHELL"
683 ECHO="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev/null 6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix=/usr/local
737 ac_config_libobj_dir=.
743 SHELL=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME='shellinabox'
747 PACKAGE_TARNAME='shellinabox'
748 PACKAGE_VERSION='2.9'
749 PACKAGE_STRING='shellinabox 2.9'
750 PACKAGE_BUGREPORT='markus@shellinabox.com'
753 # Factoring default headers for most tests.
754 ac_includes_default="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars='LTLIBOBJS
844 INSTALL_STRIP_PROGRAM
887 program_transform_name
899 enable_option_checking
900 enable_dependency_tracking
909 enable_runtime_loading
911 ac_precious_vars='build_alias
922 # Initialize some variables set by options.
924 ac_init_version=false
925 ac_unrecognized_opts=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name=s,x,x,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir='${exec_prefix}/bin'
951 sbindir='${exec_prefix}/sbin'
952 libexecdir='${exec_prefix}/libexec'
953 datarootdir='${prefix}/share'
954 datadir='${datarootdir}'
955 sysconfdir='${prefix}/etc'
956 sharedstatedir='${prefix}/com'
957 localstatedir='${prefix}/var'
958 includedir='${prefix}/include'
959 oldincludedir='/usr/include'
960 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
961 infodir='${datarootdir}/info'
966 libdir='${exec_prefix}/lib'
967 localedir='${datarootdir}/locale'
968 mandir='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\$ac_option
982 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 -build | --build | --buil | --bui | --bu)
998 ac_prev=build_alias ;;
999 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1000 build_alias=$ac_optarg ;;
1002 -cache-file | --cache-file | --cache-fil | --cache-fi \
1003 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1004 ac_prev=cache_file ;;
1005 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1006 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1007 cache_file=$ac_optarg ;;
1009 --config-cache | -C)
1010 cache_file=config.cache ;;
1012 -datadir | --datadir | --datadi | --datad)
1014 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1015 datadir=$ac_optarg ;;
1017 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1018 | --dataroo | --dataro | --datar)
1019 ac_prev=datarootdir ;;
1020 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1021 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1022 datarootdir=$ac_optarg ;;
1024 -disable-* | --disable-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1039 eval enable_$ac_useropt=no ;;
1041 -docdir | --docdir | --docdi | --doc | --do)
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_$ac_useropt"
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1097 htmldir=$ac_optarg ;;
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1111 -libdir | --libdir | --libdi | --libd)
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1202 -psdir | --psdir | --psdi | --psd | --ps)
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1215 sbindir=$ac_optarg ;;
1217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219 | --sharedst | --shareds | --shared | --share | --shar \
1221 ac_prev=sharedstatedir ;;
1222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1226 sharedstatedir=$ac_optarg ;;
1228 -site | --site | --sit)
1230 -site=* | --site=* | --sit=*)
1233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236 srcdir=$ac_optarg ;;
1238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239 | --syscon | --sysco | --sysc | --sys | --sy)
1240 ac_prev=sysconfdir ;;
1241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243 sysconfdir=$ac_optarg ;;
1245 -target | --target | --targe | --targ | --tar | --ta | --t)
1246 ac_prev=target_alias ;;
1247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248 target_alias=$ac_optarg ;;
1250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1253 -version | --version | --versio | --versi | --vers | -V)
1254 ac_init_version=: ;;
1257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1261 { (exit 1); exit 1; }; }
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1271 eval with_$ac_useropt=\$ac_optarg ;;
1273 -without-* | --without-*)
1274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1278 { (exit 1); exit 1; }; }
1279 ac_useropt_orig=$ac_useropt
1280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep=', ';;
1288 eval with_$ac_useropt=no ;;
1291 # Obsolete; use --with-x.
1294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1295 | --x-incl | --x-inc | --x-in | --x-i)
1296 ac_prev=x_includes ;;
1297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1299 x_includes=$ac_optarg ;;
1301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1303 ac_prev=x_libraries ;;
1304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1306 x_libraries=$ac_optarg ;;
1308 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1309 Try \`$0 --help' for more information." >&2
1310 { (exit 1); exit 1; }; }
1314 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1317 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1318 { (exit 1); exit 1; }; }
1319 eval $ac_envvar=\$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1333 if test -n "$ac_prev"; then
1334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1335 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1336 { (exit 1); exit 1; }; }
1339 if test -n "$ac_unrecognized_opts"; then
1340 case $enable_option_checking in
1342 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1343 { (exit 1); exit 1; }; } ;;
1344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1348 # Check all directory arguments for consistency.
1349 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 datadir sysconfdir sharedstatedir localstatedir includedir \
1351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 libdir localedir mandir
1354 eval ac_val=\$$ac_var
1355 # Remove trailing slashes.
1358 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1359 eval $ac_var=\$ac_val;;
1361 # Be sure to have absolute directory names.
1363 [\\/$]* | ?:[\\/]* ) continue;;
1364 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1366 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1367 { (exit 1); exit 1; }; }
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x; then
1379 if test "x$build_alias" = x; then
1380 cross_compiling=maybe
1381 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1391 test "$silent" = yes && exec 6>/dev/null
1394 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di=`ls -di .` &&
1396 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1398 { (exit 1); exit 1; }; }
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1401 { (exit 1); exit 1; }; }
1404 # Find the source files, if location was not specified.
1405 if test -z "$srcdir"; then
1406 ac_srcdir_defaulted=yes
1407 # Try the directory containing this script, then the parent directory.
1408 ac_confdir=`$as_dirname -- "$as_myself" ||
1409 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1410 X"$as_myself" : 'X\(//\)[^/]' \| \
1411 X"$as_myself" : 'X\(//\)$' \| \
1412 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1413 $as_echo X"$as_myself" |
1414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1436 ac_srcdir_defaulted=no
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1439 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1440 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1441 { (exit 1); exit 1; }; }
1443 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1446 { (exit 1); exit 1; }; }
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var in $ac_precious_vars; do
1459 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_${ac_var}_value=\$${ac_var}
1461 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures shellinabox 2.9 to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/shellinabox]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --program-prefix=PREFIX prepend PREFIX to installed program names
1531 --program-suffix=SUFFIX append SUFFIX to installed program names
1532 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1535 --build=BUILD configure for building on BUILD [guessed]
1536 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1540 if test -n "$ac_init_help"; then
1541 case $ac_init_help in
1542 short | recursive ) echo "Configuration of shellinabox 2.9:";;
1547 --disable-option-checking ignore unrecognized --enable/--with options
1548 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1549 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1550 --disable-dependency-tracking speeds up one-time build
1551 --enable-dependency-tracking do not reject slow dependency extractors
1552 --enable-shared[=PKGS] build shared libraries [default=yes]
1553 --enable-static[=PKGS] build static libraries [default=yes]
1554 --enable-fast-install[=PKGS]
1555 optimize for fast installation [default=yes]
1556 --disable-libtool-lock avoid locking (might break parallel builds)
1557 --disable-ssl if available at built-time, support for SSL
1558 connections will be enabled. It can still be
1559 disabled at run-time, either on the daemon's
1560 command line or if the operating system does not
1561 have the OpenSSL libraries available.
1562 --disable-pam PAM support is necessary in order to authenticate
1563 users for running programs other than their default
1565 --disable-runtime-loading ShellInABox will try to load the OpenSSL, and PAM
1566 libraries at run-time, if it has been compiled with
1567 support for these libraries, and if the operating
1568 system supports dynamic loading of libraries. This
1569 allows you to install the same binary on different
1570 systems independent of whether they have OpenSSL
1571 and PAM enabled. If you would rather directly link
1572 these libraries into the binary, thus making them a
1573 hard dependency, then disable runtime-loading.
1576 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1577 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1578 --with-pic try to use only PIC/non-PIC objects [default=use
1580 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1582 Some influential environment variables:
1583 CC C compiler command
1584 CFLAGS C compiler flags
1585 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1586 nonstandard directory <lib dir>
1587 LIBS libraries to pass to the linker, e.g. -l<library>
1588 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1589 you have headers in a nonstandard directory <include dir>
1592 Use these variables to override the choices made by `configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1595 Report bugs to <markus@shellinabox.com>.
1600 if test "$ac_init_help" = "recursive"; then
1601 # If there are subdirs, report their specific --help.
1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603 test -d "$ac_dir" ||
1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 shellinabox configure 2.9
1659 generated by GNU Autoconf 2.63
1661 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1662 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1668 cat >config.log <<_ACEOF
1669 This file contains any messages produced by compilers while
1670 running configure, to aid debugging if configure makes a mistake.
1672 It was created by shellinabox $as_me 2.9, which was
1673 generated by GNU Autoconf 2.63. Invocation command line was
1685 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1686 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1687 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1688 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1689 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1691 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1692 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1694 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1695 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1696 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1697 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1698 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1699 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1700 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 $as_echo "PATH: $as_dir"
1725 # Keep a trace of the command line.
1726 # Strip out --no-create and --no-recursion so they do not pile up.
1727 # Strip out --silent because we don't want to record it for future runs.
1728 # Also quote any args containing shell meta-characters.
1729 # Make two passes to allow for proper duplicate-argument suppression.
1733 ac_must_keep_next=false
1739 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1741 | -silent | --silent | --silen | --sile | --sil)
1744 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1747 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1749 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1750 if test $ac_must_keep_next = true; then
1751 ac_must_keep_next=false # Got value, back to normal.
1754 *=* | --config-cache | -C | -disable-* | --disable-* \
1755 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1756 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1757 | -with-* | --with-* | -without-* | --without-* | --x)
1758 case "$ac_configure_args0 " in
1759 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1762 -* ) ac_must_keep_next=true ;;
1765 ac_configure_args="$ac_configure_args '$ac_arg'"
1770 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1771 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1773 # When interrupted or exit'd, cleanup temporary files, and complete
1774 # config.log. We remove comments because anyway the quotes in there
1775 # would cause problems or look ugly.
1776 # WARNING: Use '\'' to represent an apostrophe within the trap.
1777 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1778 trap 'exit_status=$?
1779 # Save into config.log some information that might help in debugging.
1784 ## ---------------- ##
1785 ## Cache variables. ##
1786 ## ---------------- ##
1789 # The following way of writing the cache mishandles newlines in values,
1791 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1792 eval ac_val=\$$ac_var
1796 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1797 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1800 _ | IFS | as_nl) ;; #(
1801 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1802 *) $as_unset $ac_var ;;
1807 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1808 *${as_nl}ac_space=\ *)
1810 "s/'\''/'\''\\\\'\'''\''/g;
1811 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1814 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1822 ## ----------------- ##
1823 ## Output variables. ##
1824 ## ----------------- ##
1827 for ac_var in $ac_subst_vars
1829 eval ac_val=\$$ac_var
1831 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 $as_echo "$ac_var='\''$ac_val'\''"
1837 if test -n "$ac_subst_files"; then
1839 ## ------------------- ##
1840 ## File substitutions. ##
1841 ## ------------------- ##
1844 for ac_var in $ac_subst_files
1846 eval ac_val=\$$ac_var
1848 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1850 $as_echo "$ac_var='\''$ac_val'\''"
1855 if test -s confdefs.h; then
1865 test "$ac_signal" != 0 &&
1866 $as_echo "$as_me: caught signal $ac_signal"
1867 $as_echo "$as_me: exit $exit_status"
1869 rm -f core *.core core.conftest.* &&
1870 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1873 for ac_signal in 1 2 13 15; do
1874 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1879 rm -f -r conftest* confdefs.h
1881 # Predefined preprocessor variables.
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_NAME "$PACKAGE_NAME"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_STRING "$PACKAGE_STRING"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1908 # Let the site file select an alternate cache file if it wants to.
1909 # Prefer an explicitly selected file to automatically selected ones.
1912 if test -n "$CONFIG_SITE"; then
1913 ac_site_file1=$CONFIG_SITE
1914 elif test "x$prefix" != xNONE; then
1915 ac_site_file1=$prefix/share/config.site
1916 ac_site_file2=$prefix/etc/config.site
1918 ac_site_file1=$ac_default_prefix/share/config.site
1919 ac_site_file2=$ac_default_prefix/etc/config.site
1921 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1923 test "x$ac_site_file" = xNONE && continue
1924 if test -r "$ac_site_file"; then
1925 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1926 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1927 sed 's/^/| /' "$ac_site_file" >&5
1932 if test -r "$cache_file"; then
1933 # Some versions of bash will fail to source /dev/null (special
1934 # files actually), so we avoid doing that.
1935 if test -f "$cache_file"; then
1936 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1937 $as_echo "$as_me: loading cache $cache_file" >&6;}
1939 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1940 *) . "./$cache_file";;
1944 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1945 $as_echo "$as_me: creating cache $cache_file" >&6;}
1949 # Check that the precious variables saved in the cache have kept the same
1951 ac_cache_corrupted=false
1952 for ac_var in $ac_precious_vars; do
1953 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1954 eval ac_new_set=\$ac_env_${ac_var}_set
1955 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1956 eval ac_new_val=\$ac_env_${ac_var}_value
1957 case $ac_old_set,$ac_new_set in
1959 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1960 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1961 ac_cache_corrupted=: ;;
1963 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1964 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1965 ac_cache_corrupted=: ;;
1968 if test "x$ac_old_val" != "x$ac_new_val"; then
1969 # differences in whitespace do not lead to failure.
1970 ac_old_val_w=`echo x $ac_old_val`
1971 ac_new_val_w=`echo x $ac_new_val`
1972 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1973 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1974 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1975 ac_cache_corrupted=:
1977 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1978 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1979 eval $ac_var=\$ac_old_val
1981 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1982 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1983 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1984 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1987 # Pass precious variables to config.status.
1988 if test "$ac_new_set" = set; then
1990 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1991 *) ac_arg=$ac_var=$ac_new_val ;;
1993 case " $ac_configure_args " in
1994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1995 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1999 if $ac_cache_corrupted; then
2000 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2003 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2004 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2005 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2006 { (exit 1); exit 1; }; }
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 cat >>confdefs.h <<_ACEOF
2044 #define VCS_REVISION "${VCS_REVISION}"
2048 CFLAGS="${CFLAGS:--Os}"
2049 am__api_version='1.10'
2052 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2053 if test -f "$ac_dir/install-sh"; then
2055 ac_install_sh="$ac_aux_dir/install-sh -c"
2057 elif test -f "$ac_dir/install.sh"; then
2059 ac_install_sh="$ac_aux_dir/install.sh -c"
2061 elif test -f "$ac_dir/shtool"; then
2063 ac_install_sh="$ac_aux_dir/shtool install -c"
2067 if test -z "$ac_aux_dir"; then
2068 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2069 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2070 { (exit 1); exit 1; }; }
2073 # These three variables are undocumented and unsupported,
2074 # and are intended to be withdrawn in a future Autoconf release.
2075 # They can cause serious problems if a builder's source tree is in a directory
2076 # whose full name contains unusual characters.
2077 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2078 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2079 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2082 # Find a good install program. We prefer a C program (faster),
2083 # so one script is as good as another. But avoid the broken or
2084 # incompatible versions:
2085 # SysV /etc/install, /usr/sbin/install
2086 # SunOS /usr/etc/install
2087 # IRIX /sbin/install
2089 # AmigaOS /C/install, which installs bootblocks on floppy discs
2090 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2091 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2092 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2093 # OS/2's system install, which has a completely different semantic
2094 # ./install, which can be erroneously created by make from ./install.sh.
2095 # Reject install programs that cannot install multiple files.
2096 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2097 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2098 if test -z "$INSTALL"; then
2099 if test "${ac_cv_path_install+set}" = set; then
2100 $as_echo_n "(cached) " >&6
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 # Account for people who put trailing slashes in PATH elements.
2109 ./ | .// | /cC/* | \
2110 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2111 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2114 # OSF1 and SCO ODT 3.0 have their own names for install.
2115 # Don't use installbsd from OSF since it installs stuff as root
2117 for ac_prog in ginstall scoinst install; do
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2120 if test $ac_prog = install &&
2121 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2122 # AIX install. It has an incompatible calling convention.
2124 elif test $ac_prog = install &&
2125 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2126 # program-specific install script used by HP pwplus--don't use.
2129 rm -rf conftest.one conftest.two conftest.dir
2130 echo one > conftest.one
2131 echo two > conftest.two
2133 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2134 test -s conftest.one && test -s conftest.two &&
2135 test -s conftest.dir/conftest.one &&
2136 test -s conftest.dir/conftest.two
2138 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2151 rm -rf conftest.one conftest.two conftest.dir
2154 if test "${ac_cv_path_install+set}" = set; then
2155 INSTALL=$ac_cv_path_install
2157 # As a last resort, use the slow shell script. Don't cache a
2158 # value for INSTALL within a source directory, because that will
2159 # break other packages using the cache if that directory is
2160 # removed, or if the value is a relative name.
2161 INSTALL=$ac_install_sh
2164 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2165 $as_echo "$INSTALL" >&6; }
2167 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2168 # It thinks the first close brace ends the variable substitution.
2169 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2171 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2173 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2175 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2176 $as_echo_n "checking whether build environment is sane... " >&6; }
2179 echo timestamp > conftest.file
2180 # Do `set' in a subshell so we don't clobber the current shell's
2181 # arguments. Must try -L first in case configure is actually a
2182 # symlink; some systems play weird games with the mod time of symlinks
2183 # (eg FreeBSD returns the mod time of the symlink's containing
2186 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2187 if test "$*" = "X"; then
2189 set X `ls -t $srcdir/configure conftest.file`
2192 if test "$*" != "X $srcdir/configure conftest.file" \
2193 && test "$*" != "X conftest.file $srcdir/configure"; then
2195 # If neither matched, then we have a broken ls. This can happen
2196 # if, for instance, CONFIG_SHELL is bash and it inherits a
2197 # broken ls alias from the environment. This has actually
2198 # happened. Such a system could not be considered "sane".
2199 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2200 alias in your environment" >&5
2201 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2202 alias in your environment" >&2;}
2203 { (exit 1); exit 1; }; }
2206 test "$2" = conftest.file
2212 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2213 Check your system clock" >&5
2214 $as_echo "$as_me: error: newly created file is older than distributed files!
2215 Check your system clock" >&2;}
2216 { (exit 1); exit 1; }; }
2218 { $as_echo "$as_me:$LINENO: result: yes" >&5
2219 $as_echo "yes" >&6; }
2220 test "$program_prefix" != NONE &&
2221 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2222 # Use a double $ so make ignores it.
2223 test "$program_suffix" != NONE &&
2224 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2225 # Double any \ or $.
2226 # By default was `s,x,x', remove it if useless.
2227 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2228 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2230 # expand $ac_aux_dir to an absolute path
2231 am_aux_dir=`cd $ac_aux_dir && pwd`
2233 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2234 # Use eval to expand $SHELL
2235 if eval "$MISSING --run true"; then
2236 am_missing_run="$MISSING --run "
2239 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2240 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2243 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2244 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2245 if test -z "$MKDIR_P"; then
2246 if test "${ac_cv_path_mkdir+set}" = set; then
2247 $as_echo_n "(cached) " >&6
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2253 test -z "$as_dir" && as_dir=.
2254 for ac_prog in mkdir gmkdir; do
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2257 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2258 'mkdir (GNU coreutils) '* | \
2259 'mkdir (coreutils) '* | \
2260 'mkdir (fileutils) '4.1*)
2261 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2271 if test "${ac_cv_path_mkdir+set}" = set; then
2272 MKDIR_P="$ac_cv_path_mkdir -p"
2274 # As a last resort, use the slow shell script. Don't cache a
2275 # value for MKDIR_P within a source directory, because that will
2276 # break other packages using the cache if that directory is
2277 # removed, or if the value is a relative name.
2278 test -d ./--version && rmdir ./--version
2279 MKDIR_P="$ac_install_sh -d"
2282 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2283 $as_echo "$MKDIR_P" >&6; }
2287 [\\/$]* | ?:[\\/]*) ;;
2288 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2291 for ac_prog in gawk mawk nawk awk
2293 # Extract the first word of "$ac_prog", so it can be a program name with args.
2294 set dummy $ac_prog; ac_word=$2
2295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 $as_echo_n "checking for $ac_word... " >&6; }
2297 if test "${ac_cv_prog_AWK+set}" = set; then
2298 $as_echo_n "(cached) " >&6
2300 if test -n "$AWK"; then
2301 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2310 ac_cv_prog_AWK="$ac_prog"
2311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 if test -n "$AWK"; then
2322 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2323 $as_echo "$AWK" >&6; }
2325 { $as_echo "$as_me:$LINENO: result: no" >&5
2326 $as_echo "no" >&6; }
2330 test -n "$AWK" && break
2333 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2334 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2336 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2337 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2338 $as_echo_n "(cached) " >&6
2340 cat >conftest.make <<\_ACEOF
2343 @echo '@@@%%%=$(MAKE)=@@@%%%'
2345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2346 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2348 eval ac_cv_prog_make_${ac_make}_set=yes;;
2350 eval ac_cv_prog_make_${ac_make}_set=no;;
2354 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2355 { $as_echo "$as_me:$LINENO: result: yes" >&5
2356 $as_echo "yes" >&6; }
2359 { $as_echo "$as_me:$LINENO: result: no" >&5
2360 $as_echo "no" >&6; }
2361 SET_MAKE="MAKE=${MAKE-make}"
2364 rm -rf .tst 2>/dev/null
2365 mkdir .tst 2>/dev/null
2366 if test -d .tst; then
2371 rmdir .tst 2>/dev/null
2373 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2374 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2375 # is not polluted with repeated "-I."
2376 am__isrc=' -I$(srcdir)'
2377 # test to see if srcdir already configured
2378 if test -f $srcdir/config.status; then
2379 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2380 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2381 { (exit 1); exit 1; }; }
2385 # test whether we have cygpath
2386 if test -z "$CYGPATH_W"; then
2387 if (cygpath --version) >/dev/null 2>/dev/null; then
2388 CYGPATH_W='cygpath -w'
2395 # Define the identity of the package.
2396 PACKAGE='shellinabox'
2400 cat >>confdefs.h <<_ACEOF
2401 #define PACKAGE "$PACKAGE"
2405 cat >>confdefs.h <<_ACEOF
2406 #define VERSION "$VERSION"
2409 # Some tools Automake needs.
2411 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2414 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2417 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2420 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2423 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2425 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2427 # Installed binaries are usually stripped using `strip' when the user
2428 # run `make install-strip'. However `strip' might not be the right
2429 # tool to use in cross-compilation environments, therefore Automake
2430 # will honor the `STRIP' environment variable to overrule this program.
2431 if test "$cross_compiling" != no; then
2432 if test -n "$ac_tool_prefix"; then
2433 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2434 set dummy ${ac_tool_prefix}strip; ac_word=$2
2435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if test "${ac_cv_prog_STRIP+set}" = set; then
2438 $as_echo_n "(cached) " >&6
2440 if test -n "$STRIP"; then
2441 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2451 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 STRIP=$ac_cv_prog_STRIP
2461 if test -n "$STRIP"; then
2462 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2463 $as_echo "$STRIP" >&6; }
2465 { $as_echo "$as_me:$LINENO: result: no" >&5
2466 $as_echo "no" >&6; }
2471 if test -z "$ac_cv_prog_STRIP"; then
2473 # Extract the first word of "strip", so it can be a program name with args.
2474 set dummy strip; ac_word=$2
2475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2478 $as_echo_n "(cached) " >&6
2480 if test -n "$ac_ct_STRIP"; then
2481 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_ac_ct_STRIP="strip"
2491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2501 if test -n "$ac_ct_STRIP"; then
2502 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2503 $as_echo "$ac_ct_STRIP" >&6; }
2505 { $as_echo "$as_me:$LINENO: result: no" >&5
2506 $as_echo "no" >&6; }
2509 if test "x$ac_ct_STRIP" = x; then
2512 case $cross_compiling:$ac_tool_warned in
2514 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2516 ac_tool_warned=yes ;;
2521 STRIP="$ac_cv_prog_STRIP"
2525 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2527 # We need awk for the "check" target. The system "awk" is bad on
2529 # Always define AMTAR for backward compatibility.
2531 AMTAR=${AMTAR-"${am_missing_run}tar"}
2533 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2539 ac_config_headers="$ac_config_headers config.h"
2542 ac_cpp='$CPP $CPPFLAGS'
2543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2546 if test -n "$ac_tool_prefix"; then
2547 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2548 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2549 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if test "${ac_cv_prog_CC+set}" = set; then
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$CC"; then
2555 ac_cv_prog_CC="$CC" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$CC"; then
2576 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2577 $as_echo "$CC" >&6; }
2579 { $as_echo "$as_me:$LINENO: result: no" >&5
2580 $as_echo "no" >&6; }
2585 if test -z "$ac_cv_prog_CC"; then
2587 # Extract the first word of "gcc", so it can be a program name with args.
2588 set dummy gcc; ac_word=$2
2589 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2592 $as_echo_n "(cached) " >&6
2594 if test -n "$ac_ct_CC"; then
2595 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_ac_ct_CC="gcc"
2605 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2615 if test -n "$ac_ct_CC"; then
2616 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2617 $as_echo "$ac_ct_CC" >&6; }
2619 { $as_echo "$as_me:$LINENO: result: no" >&5
2620 $as_echo "no" >&6; }
2623 if test "x$ac_ct_CC" = x; then
2626 case $cross_compiling:$ac_tool_warned in
2628 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2630 ac_tool_warned=yes ;;
2638 if test -z "$CC"; then
2639 if test -n "$ac_tool_prefix"; then
2640 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2641 set dummy ${ac_tool_prefix}cc; ac_word=$2
2642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if test "${ac_cv_prog_CC+set}" = set; then
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$CC"; then
2648 ac_cv_prog_CC="$CC" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_CC="${ac_tool_prefix}cc"
2658 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$CC"; then
2669 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2670 $as_echo "$CC" >&6; }
2672 { $as_echo "$as_me:$LINENO: result: no" >&5
2673 $as_echo "no" >&6; }
2679 if test -z "$CC"; then
2680 # Extract the first word of "cc", so it can be a program name with args.
2681 set dummy cc; ac_word=$2
2682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if test "${ac_cv_prog_CC+set}" = set; then
2685 $as_echo_n "(cached) " >&6
2687 if test -n "$CC"; then
2688 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2699 ac_prog_rejected=yes
2703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 if test $ac_prog_rejected = yes; then
2711 # We found a bogon in the path, so make sure we never use it.
2712 set dummy $ac_cv_prog_CC
2714 if test $# != 0; then
2715 # We chose a different compiler from the bogus one.
2716 # However, it has the same basename, so the bogon will be chosen
2717 # first if we set CC to just the basename; use the full file name.
2719 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2725 if test -n "$CC"; then
2726 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2727 $as_echo "$CC" >&6; }
2729 { $as_echo "$as_me:$LINENO: result: no" >&5
2730 $as_echo "no" >&6; }
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in cl.exe
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CC"; then
2768 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2769 $as_echo "$CC" >&6; }
2771 { $as_echo "$as_me:$LINENO: result: no" >&5
2772 $as_echo "no" >&6; }
2776 test -n "$CC" && break
2779 if test -z "$CC"; then
2781 for ac_prog in cl.exe
2783 # Extract the first word of "$ac_prog", so it can be a program name with args.
2784 set dummy $ac_prog; ac_word=$2
2785 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$ac_ct_CC"; then
2791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_ac_ct_CC="$ac_prog"
2801 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2811 if test -n "$ac_ct_CC"; then
2812 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2813 $as_echo "$ac_ct_CC" >&6; }
2815 { $as_echo "$as_me:$LINENO: result: no" >&5
2816 $as_echo "no" >&6; }
2820 test -n "$ac_ct_CC" && break
2823 if test "x$ac_ct_CC" = x; then
2826 case $cross_compiling:$ac_tool_warned in
2828 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2830 ac_tool_warned=yes ;;
2839 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2841 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2842 See \`config.log' for more details." >&5
2843 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }; }
2847 # Provide some information about the compiler.
2848 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2851 { (ac_try="$ac_compiler --version >&5"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857 $as_echo "$ac_try_echo") >&5
2858 (eval "$ac_compiler --version >&5") 2>&5
2860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2862 { (ac_try="$ac_compiler -v >&5"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868 $as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compiler -v >&5") 2>&5
2871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }
2873 { (ac_try="$ac_compiler -V >&5"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compiler -V >&5") 2>&5
2882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }
2885 cat >conftest.$ac_ext <<_ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2900 ac_clean_files_save=$ac_clean_files
2901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2902 # Try to create an executable without -o first, disregard a.out.
2903 # It will help us diagnose broken compilers, and finding out an intuition
2905 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2906 $as_echo_n "checking for C compiler default output file name... " >&6; }
2907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 # The possible output files:
2910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2913 for ac_file in $ac_files
2916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2917 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2922 if { (ac_try="$ac_link_default"
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2928 $as_echo "$ac_try_echo") >&5
2929 (eval "$ac_link_default") 2>&5
2931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; then
2933 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2935 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2936 # so that the user can short-circuit this test for compilers unknown to
2938 for ac_file in $ac_files ''
2940 test -f "$ac_file" || continue
2942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2945 # We found the default executable, but exeext='' is most
2949 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2951 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2953 # We set ac_cv_exeext here because the later test for it is not
2954 # safe: cross compilers may not add the suffix if given an `-o'
2955 # argument, so we may need to know it at that point already.
2956 # Even if this section looks crufty: it has the advantage of
2963 test "$ac_cv_exeext" = no && ac_cv_exeext=
2969 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2970 $as_echo "$ac_file" >&6; }
2971 if test -z "$ac_file"; then
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2978 See \`config.log' for more details." >&5
2979 $as_echo "$as_me: error: C compiler cannot create executables
2980 See \`config.log' for more details." >&2;}
2981 { (exit 77); exit 77; }; }; }
2984 ac_exeext=$ac_cv_exeext
2986 # Check that the compiler produces executables we can run. If not, either
2987 # the compiler is broken, or we cross compile.
2988 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2989 $as_echo_n "checking whether the C compiler works... " >&6; }
2990 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2991 # If not cross compiling, check that we can run a simple program.
2992 if test "$cross_compiling" != yes; then
2993 if { ac_try='./$ac_file'
2994 { (case "(($ac_try" in
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2999 $as_echo "$ac_try_echo") >&5
3000 (eval "$ac_try") 2>&5
3002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; }; then
3006 if test "$cross_compiling" = maybe; then
3009 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3012 If you meant to cross compile, use \`--host'.
3013 See \`config.log' for more details." >&5
3014 $as_echo "$as_me: error: cannot run C compiled programs.
3015 If you meant to cross compile, use \`--host'.
3016 See \`config.log' for more details." >&2;}
3017 { (exit 1); exit 1; }; }; }
3021 { $as_echo "$as_me:$LINENO: result: yes" >&5
3022 $as_echo "yes" >&6; }
3024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3025 ac_clean_files=$ac_clean_files_save
3026 # Check that the compiler produces executables we can run. If not, either
3027 # the compiler is broken, or we cross compile.
3028 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3029 $as_echo_n "checking whether we are cross compiling... " >&6; }
3030 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3031 $as_echo "$cross_compiling" >&6; }
3033 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3034 $as_echo_n "checking for suffix of executables... " >&6; }
3035 if { (ac_try="$ac_link"
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3041 $as_echo "$ac_try_echo") >&5
3042 (eval "$ac_link") 2>&5
3044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; then
3046 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3047 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3048 # work properly (i.e., refer to `conftest.exe'), while it won't with
3050 for ac_file in conftest.exe conftest conftest.*; do
3051 test -f "$ac_file" || continue
3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3054 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3060 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3063 See \`config.log' for more details." >&5
3064 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3065 See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }; }
3069 rm -f conftest$ac_cv_exeext
3070 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3071 $as_echo "$ac_cv_exeext" >&6; }
3073 rm -f conftest.$ac_ext
3074 EXEEXT=$ac_cv_exeext
3076 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3077 $as_echo_n "checking for suffix of object files... " >&6; }
3078 if test "${ac_cv_objext+set}" = set; then
3079 $as_echo_n "(cached) " >&6
3081 cat >conftest.$ac_ext <<_ACEOF
3084 cat confdefs.h >>conftest.$ac_ext
3085 cat >>conftest.$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3096 rm -f conftest.o conftest.obj
3097 if { (ac_try="$ac_compile"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3103 $as_echo "$ac_try_echo") >&5
3104 (eval "$ac_compile") 2>&5
3106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; then
3108 for ac_file in conftest.o conftest.obj conftest.*; do
3109 test -f "$ac_file" || continue;
3111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3112 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3123 See \`config.log' for more details." >&5
3124 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3125 See \`config.log' for more details." >&2;}
3126 { (exit 1); exit 1; }; }; }
3129 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3131 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3132 $as_echo "$ac_cv_objext" >&6; }
3133 OBJEXT=$ac_cv_objext
3135 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3136 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3137 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3138 $as_echo_n "(cached) " >&6
3140 cat >conftest.$ac_ext <<_ACEOF
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3158 rm -f conftest.$ac_objext
3159 if { (ac_try="$ac_compile"
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3165 $as_echo "$ac_try_echo") >&5
3166 (eval "$ac_compile") 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } && {
3173 test -z "$ac_c_werror_flag" ||
3174 test ! -s conftest.err
3175 } && test -s conftest.$ac_objext; then
3178 $as_echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3188 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3190 if test $ac_compiler_gnu = yes; then
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then
3200 $as_echo_n "(cached) " >&6
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3221 rm -f conftest.$ac_objext
3222 if { (ac_try="$ac_compile"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3228 $as_echo "$ac_try_echo") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } && {
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3245 cat >conftest.$ac_ext <<_ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3260 rm -f conftest.$ac_objext
3261 if { (ac_try="$ac_compile"
3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3267 $as_echo "$ac_try_echo") >&5
3268 (eval "$ac_compile") 2>conftest.er1
3270 grep -v '^ *+' conftest.er1 >conftest.err
3272 cat conftest.err >&5
3273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); } && {
3275 test -z "$ac_c_werror_flag" ||
3276 test ! -s conftest.err
3277 } && test -s conftest.$ac_objext; then
3280 $as_echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3283 ac_c_werror_flag=$ac_save_c_werror_flag
3285 cat >conftest.$ac_ext <<_ACEOF
3288 cat confdefs.h >>conftest.$ac_ext
3289 cat >>conftest.$ac_ext <<_ACEOF
3290 /* end confdefs.h. */
3300 rm -f conftest.$ac_objext
3301 if { (ac_try="$ac_compile"
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3307 $as_echo "$ac_try_echo") >&5
3308 (eval "$ac_compile") 2>conftest.er1
3310 grep -v '^ *+' conftest.er1 >conftest.err
3312 cat conftest.err >&5
3313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } && {
3315 test -z "$ac_c_werror_flag" ||
3316 test ! -s conftest.err
3317 } && test -s conftest.$ac_objext; then
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3335 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3336 $as_echo "$ac_cv_prog_cc_g" >&6; }
3337 if test "$ac_test_CFLAGS" = set; then
3338 CFLAGS=$ac_save_CFLAGS
3339 elif test $ac_cv_prog_cc_g = yes; then
3340 if test "$GCC" = yes; then
3346 if test "$GCC" = yes; then
3352 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3354 if test "${ac_cv_prog_cc_c89+set}" = set; then
3355 $as_echo_n "(cached) " >&6
3357 ac_cv_prog_cc_c89=no
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3367 #include <sys/types.h>
3368 #include <sys/stat.h>
3369 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3370 struct buf { int x; };
3371 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3372 static char *e (p, i)
3378 static char *f (char * (*g) (char **, int), char **p, ...)
3383 s = g (p, va_arg (v,int));
3388 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3389 function prototypes and stuff, but not '\xHH' hex character constants.
3390 These don't provoke an error unfortunately, instead are silently treated
3391 as 'x'. The following induces an error, until -std is added to get
3392 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3393 array size at least. It's necessary to write '\x00'==0 to get something
3394 that's true only with -std. */
3395 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3397 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3398 inside strings and character constants. */
3400 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3402 int test (int i, double x);
3403 struct s1 {int (*f) (int a);};
3404 struct s2 {int (*f) (double a);};
3405 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3411 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3416 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3417 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3419 CC="$ac_save_CC $ac_arg"
3420 rm -f conftest.$ac_objext
3421 if { (ac_try="$ac_compile"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3427 $as_echo "$ac_try_echo") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1 >conftest.err
3432 cat conftest.err >&5
3433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_c_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.$ac_objext; then
3438 ac_cv_prog_cc_c89=$ac_arg
3440 $as_echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3446 rm -f core conftest.err conftest.$ac_objext
3447 test "x$ac_cv_prog_cc_c89" != "xno" && break
3449 rm -f conftest.$ac_ext
3454 case "x$ac_cv_prog_cc_c89" in
3456 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3457 $as_echo "none needed" >&6; } ;;
3459 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3460 $as_echo "unsupported" >&6; } ;;
3462 CC="$CC $ac_cv_prog_cc_c89"
3463 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3464 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3469 ac_cpp='$CPP $CPPFLAGS'
3470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 DEPDIR="${am__leading_dot}deps"
3475 ac_config_commands="$ac_config_commands depfiles"
3478 am_make=${MAKE-make}
3479 cat > confinc << 'END'
3484 # If we don't find an include directive, just comment out the code.
3485 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3486 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3490 # First try GNU make style include.
3491 echo "include confinc" > confmf
3492 # We grep out `Entering directory' and `Leaving directory'
3493 # messages which can occur if `w' ends up in MAKEFLAGS.
3494 # In particular we don't look at `^make:' because GNU make might
3495 # be invoked under some other name (usually "gmake"), in which
3496 # case it prints its new name instead of `make'.
3497 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3502 # Now try BSD make style include.
3503 if test "$am__include" = "#"; then
3504 echo '.include "confinc"' > confmf
3505 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3506 am__include=.include
3513 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3514 $as_echo "$_am_result" >&6; }
3515 rm -f confinc confmf
3517 # Check whether --enable-dependency-tracking was given.
3518 if test "${enable_dependency_tracking+set}" = set; then
3519 enableval=$enable_dependency_tracking;
3522 if test "x$enable_dependency_tracking" != xno; then
3523 am_depcomp="$ac_aux_dir/depcomp"
3526 if test "x$enable_dependency_tracking" != xno; then
3536 depcc="$CC" am_compiler_list=
3538 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3539 $as_echo_n "checking dependency style of $depcc... " >&6; }
3540 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3541 $as_echo_n "(cached) " >&6
3543 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3544 # We make a subdir and do the tests there. Otherwise we can end up
3545 # making bogus files that we don't know about and never remove. For
3546 # instance it was reported that on HP-UX the gcc test will end up
3547 # making a dummy file named `D' -- because `-MD' means `put the output
3550 # Copy depcomp to subdir because otherwise we won't find it if we're
3551 # using a relative directory.
3552 cp "$am_depcomp" conftest.dir
3554 # We will build objects and dependencies in a subdirectory because
3555 # it helps to detect inapplicable dependency modes. For instance
3556 # both Tru64's cc and ICC support -MD to output dependencies as a
3557 # side effect of compilation, but ICC will put the dependencies in
3558 # the current directory while Tru64 will put them in the object
3562 am_cv_CC_dependencies_compiler_type=none
3563 if test "$am_compiler_list" = ""; then
3564 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3566 for depmode in $am_compiler_list; do
3567 # Setup a source with many dependencies, because some compilers
3568 # like to wrap large dependency lists on column 80 (with \), and
3569 # we should not choose a depcomp mode which is confused by this.
3571 # We need to recreate these files for each test, as the compiler may
3572 # overwrite some of them when testing with obscure command lines.
3573 # This happens at least with the AIX C compiler.
3575 for i in 1 2 3 4 5 6; do
3576 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3577 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3578 # Solaris 8's {/usr,}/bin/sh.
3579 touch sub/conftst$i.h
3581 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3585 # after this tag, mechanisms are not by side-effect, so they'll
3586 # only be used when explicitly requested
3587 if test "x$enable_dependency_tracking" = xyes; then
3595 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3596 # mode. It turns out that the SunPro C++ compiler does not properly
3597 # handle `-M -o', and we need to detect this.
3598 if depmode=$depmode \
3599 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3600 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3601 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3602 >/dev/null 2>conftest.err &&
3603 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3604 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3605 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3606 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3607 # icc doesn't choke on unknown options, it will just issue warnings
3608 # or remarks (even with -Werror). So we grep stderr for any message
3609 # that says an option was ignored or not supported.
3610 # When given -MP, icc 7.0 and 7.1 complain thusly:
3611 # icc: Command line warning: ignoring option '-M'; no argument required
3612 # The diagnosis changed in icc 8.0:
3613 # icc: Command line remark: option '-MP' not supported
3614 if (grep 'ignoring option' conftest.err ||
3615 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3616 am_cv_CC_dependencies_compiler_type=$depmode
3625 am_cv_CC_dependencies_compiler_type=none
3629 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3630 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3631 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3634 test "x$enable_dependency_tracking" != xno \
3635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3637 am__fastdepCC_FALSE='#'
3639 am__fastdepCC_TRUE='#'
3640 am__fastdepCC_FALSE=
3645 ac_c_werror_flag=yes
3646 # Find a good install program. We prefer a C program (faster),
3647 # so one script is as good as another. But avoid the broken or
3648 # incompatible versions:
3649 # SysV /etc/install, /usr/sbin/install
3650 # SunOS /usr/etc/install
3651 # IRIX /sbin/install
3653 # AmigaOS /C/install, which installs bootblocks on floppy discs
3654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3657 # OS/2's system install, which has a completely different semantic
3658 # ./install, which can be erroneously created by make from ./install.sh.
3659 # Reject install programs that cannot install multiple files.
3660 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3661 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3662 if test -z "$INSTALL"; then
3663 if test "${ac_cv_path_install+set}" = set; then
3664 $as_echo_n "(cached) " >&6
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir=.
3671 # Account for people who put trailing slashes in PATH elements.
3673 ./ | .// | /cC/* | \
3674 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3675 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3678 # OSF1 and SCO ODT 3.0 have their own names for install.
3679 # Don't use installbsd from OSF since it installs stuff as root
3681 for ac_prog in ginstall scoinst install; do
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3684 if test $ac_prog = install &&
3685 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3686 # AIX install. It has an incompatible calling convention.
3688 elif test $ac_prog = install &&
3689 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3690 # program-specific install script used by HP pwplus--don't use.
3693 rm -rf conftest.one conftest.two conftest.dir
3694 echo one > conftest.one
3695 echo two > conftest.two
3697 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3698 test -s conftest.one && test -s conftest.two &&
3699 test -s conftest.dir/conftest.one &&
3700 test -s conftest.dir/conftest.two
3702 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3715 rm -rf conftest.one conftest.two conftest.dir
3718 if test "${ac_cv_path_install+set}" = set; then
3719 INSTALL=$ac_cv_path_install
3721 # As a last resort, use the slow shell script. Don't cache a
3722 # value for INSTALL within a source directory, because that will
3723 # break other packages using the cache if that directory is
3724 # removed, or if the value is a relative name.
3725 INSTALL=$ac_install_sh
3728 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3729 $as_echo "$INSTALL" >&6; }
3731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3732 # It thinks the first close brace ends the variable substitution.
3733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3737 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3741 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3742 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3747 macro_version='2.2.6'
3748 macro_revision='1.3012'
3762 ltmain="$ac_aux_dir/ltmain.sh"
3764 # Make sure we can run config.sub.
3765 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3766 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3767 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3768 { (exit 1); exit 1; }; }
3770 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3771 $as_echo_n "checking build system type... " >&6; }
3772 if test "${ac_cv_build+set}" = set; then
3773 $as_echo_n "(cached) " >&6
3775 ac_build_alias=$build_alias
3776 test "x$ac_build_alias" = x &&
3777 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3778 test "x$ac_build_alias" = x &&
3779 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3780 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3781 { (exit 1); exit 1; }; }
3782 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3783 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3784 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3785 { (exit 1); exit 1; }; }
3788 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3789 $as_echo "$ac_cv_build" >&6; }
3790 case $ac_cv_build in
3792 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3793 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3794 { (exit 1); exit 1; }; };;
3797 ac_save_IFS=$IFS; IFS='-'
3803 # Remember, the first character of IFS is used to create $*,
3804 # except with old shells:
3807 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3810 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3811 $as_echo_n "checking host system type... " >&6; }
3812 if test "${ac_cv_host+set}" = set; then
3813 $as_echo_n "(cached) " >&6
3815 if test "x$host_alias" = x; then
3816 ac_cv_host=$ac_cv_build
3818 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3819 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3820 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3821 { (exit 1); exit 1; }; }
3825 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3826 $as_echo "$ac_cv_host" >&6; }
3829 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3830 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3831 { (exit 1); exit 1; }; };;
3834 ac_save_IFS=$IFS; IFS='-'
3840 # Remember, the first character of IFS is used to create $*,
3841 # except with old shells:
3844 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3847 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3848 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3849 if test "${ac_cv_path_SED+set}" = set; then
3850 $as_echo_n "(cached) " >&6
3852 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3853 for ac_i in 1 2 3 4 5 6 7; do
3854 ac_script="$ac_script$as_nl$ac_script"
3856 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3857 $as_unset ac_script || ac_script=
3858 if test -z "$SED"; then
3859 ac_path_SED_found=false
3860 # Loop through the user's path and test for each of PROGNAME-LIST
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir=.
3866 for ac_prog in sed gsed; do
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3869 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3870 # Check for GNU ac_path_SED and select it if it is found.
3871 # Check for GNU $ac_path_SED
3872 case `"$ac_path_SED" --version 2>&1` in
3874 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3877 $as_echo_n 0123456789 >"conftest.in"
3880 cat "conftest.in" "conftest.in" >"conftest.tmp"
3881 mv "conftest.tmp" "conftest.in"
3882 cp "conftest.in" "conftest.nl"
3883 $as_echo '' >> "conftest.nl"
3884 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3885 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3886 ac_count=`expr $ac_count + 1`
3887 if test $ac_count -gt ${ac_path_SED_max-0}; then
3888 # Best one so far, save it but keep looking for a better one
3889 ac_cv_path_SED="$ac_path_SED"
3890 ac_path_SED_max=$ac_count
3892 # 10*(2^10) chars as input seems more than enough
3893 test $ac_count -gt 10 && break
3895 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3898 $ac_path_SED_found && break 3
3903 if test -z "$ac_cv_path_SED"; then
3904 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3905 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3906 { (exit 1); exit 1; }; }
3913 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3914 $as_echo "$ac_cv_path_SED" >&6; }
3915 SED="$ac_cv_path_SED"
3918 test -z "$SED" && SED=sed
3919 Xsed="$SED -e 1s/^X//"
3931 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3932 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3933 if test "${ac_cv_path_GREP+set}" = set; then
3934 $as_echo_n "(cached) " >&6
3936 if test -z "$GREP"; then
3937 ac_path_GREP_found=false
3938 # Loop through the user's path and test for each of PROGNAME-LIST
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3943 test -z "$as_dir" && as_dir=.
3944 for ac_prog in grep ggrep; do
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3947 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3948 # Check for GNU ac_path_GREP and select it if it is found.
3949 # Check for GNU $ac_path_GREP
3950 case `"$ac_path_GREP" --version 2>&1` in
3952 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3955 $as_echo_n 0123456789 >"conftest.in"
3958 cat "conftest.in" "conftest.in" >"conftest.tmp"
3959 mv "conftest.tmp" "conftest.in"
3960 cp "conftest.in" "conftest.nl"
3961 $as_echo 'GREP' >> "conftest.nl"
3962 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3964 ac_count=`expr $ac_count + 1`
3965 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3966 # Best one so far, save it but keep looking for a better one
3967 ac_cv_path_GREP="$ac_path_GREP"
3968 ac_path_GREP_max=$ac_count
3970 # 10*(2^10) chars as input seems more than enough
3971 test $ac_count -gt 10 && break
3973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3976 $ac_path_GREP_found && break 3
3981 if test -z "$ac_cv_path_GREP"; then
3982 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3983 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3984 { (exit 1); exit 1; }; }
3987 ac_cv_path_GREP=$GREP
3991 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3992 $as_echo "$ac_cv_path_GREP" >&6; }
3993 GREP="$ac_cv_path_GREP"
3996 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3997 $as_echo_n "checking for egrep... " >&6; }
3998 if test "${ac_cv_path_EGREP+set}" = set; then
3999 $as_echo_n "(cached) " >&6
4001 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4002 then ac_cv_path_EGREP="$GREP -E"
4004 if test -z "$EGREP"; then
4005 ac_path_EGREP_found=false
4006 # Loop through the user's path and test for each of PROGNAME-LIST
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4011 test -z "$as_dir" && as_dir=.
4012 for ac_prog in egrep; do
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4015 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4016 # Check for GNU ac_path_EGREP and select it if it is found.
4017 # Check for GNU $ac_path_EGREP
4018 case `"$ac_path_EGREP" --version 2>&1` in
4020 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4023 $as_echo_n 0123456789 >"conftest.in"
4026 cat "conftest.in" "conftest.in" >"conftest.tmp"
4027 mv "conftest.tmp" "conftest.in"
4028 cp "conftest.in" "conftest.nl"
4029 $as_echo 'EGREP' >> "conftest.nl"
4030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4032 ac_count=`expr $ac_count + 1`
4033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4034 # Best one so far, save it but keep looking for a better one
4035 ac_cv_path_EGREP="$ac_path_EGREP"
4036 ac_path_EGREP_max=$ac_count
4038 # 10*(2^10) chars as input seems more than enough
4039 test $ac_count -gt 10 && break
4041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4044 $ac_path_EGREP_found && break 3
4049 if test -z "$ac_cv_path_EGREP"; then
4050 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4051 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4052 { (exit 1); exit 1; }; }
4055 ac_cv_path_EGREP=$EGREP
4060 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4061 $as_echo "$ac_cv_path_EGREP" >&6; }
4062 EGREP="$ac_cv_path_EGREP"
4065 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4066 $as_echo_n "checking for fgrep... " >&6; }
4067 if test "${ac_cv_path_FGREP+set}" = set; then
4068 $as_echo_n "(cached) " >&6
4070 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4071 then ac_cv_path_FGREP="$GREP -F"
4073 if test -z "$FGREP"; then
4074 ac_path_FGREP_found=false
4075 # Loop through the user's path and test for each of PROGNAME-LIST
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4080 test -z "$as_dir" && as_dir=.
4081 for ac_prog in fgrep; do
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4084 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4085 # Check for GNU ac_path_FGREP and select it if it is found.
4086 # Check for GNU $ac_path_FGREP
4087 case `"$ac_path_FGREP" --version 2>&1` in
4089 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4092 $as_echo_n 0123456789 >"conftest.in"
4095 cat "conftest.in" "conftest.in" >"conftest.tmp"
4096 mv "conftest.tmp" "conftest.in"
4097 cp "conftest.in" "conftest.nl"
4098 $as_echo 'FGREP' >> "conftest.nl"
4099 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4100 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4101 ac_count=`expr $ac_count + 1`
4102 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4103 # Best one so far, save it but keep looking for a better one
4104 ac_cv_path_FGREP="$ac_path_FGREP"
4105 ac_path_FGREP_max=$ac_count
4107 # 10*(2^10) chars as input seems more than enough
4108 test $ac_count -gt 10 && break
4110 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4113 $ac_path_FGREP_found && break 3
4118 if test -z "$ac_cv_path_FGREP"; then
4119 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4120 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4121 { (exit 1); exit 1; }; }
4124 ac_cv_path_FGREP=$FGREP
4129 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4130 $as_echo "$ac_cv_path_FGREP" >&6; }
4131 FGREP="$ac_cv_path_FGREP"
4134 test -z "$GREP" && GREP=grep
4154 # Check whether --with-gnu-ld was given.
4155 if test "${with_gnu_ld+set}" = set; then
4156 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4162 if test "$GCC" = yes; then
4163 # Check if gcc -print-prog-name=ld gives a path.
4164 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4165 $as_echo_n "checking for ld used by $CC... " >&6; }
4168 # gcc leaves a trailing carriage return which upsets mingw
4169 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4171 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4174 # Accept absolute paths.
4176 re_direlt='/[^/][^/]*/\.\./'
4177 # Canonicalize the pathname of ld
4178 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4179 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4180 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4182 test -z "$LD" && LD="$ac_prog"
4185 # If it fails, then pretend we aren't using GCC.
4189 # If it is relative, then search for the first ld in PATH.
4193 elif test "$with_gnu_ld" = yes; then
4194 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4195 $as_echo_n "checking for GNU ld... " >&6; }
4197 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4198 $as_echo_n "checking for non-GNU ld... " >&6; }
4200 if test "${lt_cv_path_LD+set}" = set; then
4201 $as_echo_n "(cached) " >&6
4203 if test -z "$LD"; then
4204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4205 for ac_dir in $PATH; do
4207 test -z "$ac_dir" && ac_dir=.
4208 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4209 lt_cv_path_LD="$ac_dir/$ac_prog"
4210 # Check to see if the program is GNU ld. I'd rather use --version,
4211 # but apparently some variants of GNU ld only accept -v.
4212 # Break only if it was the GNU/non-GNU ld that we prefer.
4213 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4214 *GNU* | *'with BFD'*)
4215 test "$with_gnu_ld" != no && break
4218 test "$with_gnu_ld" != yes && break
4225 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4230 if test -n "$LD"; then
4231 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4232 $as_echo "$LD" >&6; }
4234 { $as_echo "$as_me:$LINENO: result: no" >&5
4235 $as_echo "no" >&6; }
4237 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4238 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4239 { (exit 1); exit 1; }; }
4240 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4241 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4242 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4243 $as_echo_n "(cached) " >&6
4245 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4246 case `$LD -v 2>&1 </dev/null` in
4247 *GNU* | *'with BFD'*)
4248 lt_cv_prog_gnu_ld=yes
4251 lt_cv_prog_gnu_ld=no
4255 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4256 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4257 with_gnu_ld=$lt_cv_prog_gnu_ld
4267 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4268 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4269 if test "${lt_cv_path_NM+set}" = set; then
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$NM"; then
4273 # Let the user override the test.
4276 lt_nm_to_check="${ac_tool_prefix}nm"
4277 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4278 lt_nm_to_check="$lt_nm_to_check nm"
4280 for lt_tmp_nm in $lt_nm_to_check; do
4281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4282 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4284 test -z "$ac_dir" && ac_dir=.
4285 tmp_nm="$ac_dir/$lt_tmp_nm"
4286 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4287 # Check to see if the nm accepts a BSD-compat flag.
4288 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4289 # nm: unknown option "B" ignored
4290 # Tru64's nm complains that /dev/null is an invalid object file
4291 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4292 */dev/null* | *'Invalid file or object type'*)
4293 lt_cv_path_NM="$tmp_nm -B"
4297 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4299 lt_cv_path_NM="$tmp_nm -p"
4303 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4304 continue # so that we can try to find one that supports BSD flags
4313 : ${lt_cv_path_NM=no}
4316 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4317 $as_echo "$lt_cv_path_NM" >&6; }
4318 if test "$lt_cv_path_NM" != "no"; then
4321 # Didn't find any BSD compatible name lister, look for dumpbin.
4322 if test -n "$ac_tool_prefix"; then
4323 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 $as_echo_n "checking for $ac_word... " >&6; }
4329 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4330 $as_echo_n "(cached) " >&6
4332 if test -n "$DUMPBIN"; then
4333 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir=.
4340 for ac_exec_ext in '' $ac_executable_extensions; do
4341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4343 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 DUMPBIN=$ac_cv_prog_DUMPBIN
4353 if test -n "$DUMPBIN"; then
4354 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4355 $as_echo "$DUMPBIN" >&6; }
4357 { $as_echo "$as_me:$LINENO: result: no" >&5
4358 $as_echo "no" >&6; }
4362 test -n "$DUMPBIN" && break
4365 if test -z "$DUMPBIN"; then
4366 ac_ct_DUMPBIN=$DUMPBIN
4367 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4369 # Extract the first word of "$ac_prog", so it can be a program name with args.
4370 set dummy $ac_prog; ac_word=$2
4371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4374 $as_echo_n "(cached) " >&6
4376 if test -n "$ac_ct_DUMPBIN"; then
4377 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4387 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4397 if test -n "$ac_ct_DUMPBIN"; then
4398 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4399 $as_echo "$ac_ct_DUMPBIN" >&6; }
4401 { $as_echo "$as_me:$LINENO: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$ac_ct_DUMPBIN" && break
4409 if test "x$ac_ct_DUMPBIN" = x; then
4412 case $cross_compiling:$ac_tool_warned in
4414 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4416 ac_tool_warned=yes ;;
4418 DUMPBIN=$ac_ct_DUMPBIN
4423 if test "$DUMPBIN" != ":"; then
4427 test -z "$NM" && NM=nm
4434 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4435 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4436 if test "${lt_cv_nm_interface+set}" = set; then
4437 $as_echo_n "(cached) " >&6
4439 lt_cv_nm_interface="BSD nm"
4440 echo "int some_variable = 0;" > conftest.$ac_ext
4441 (eval echo "\"\$as_me:4441: $ac_compile\"" >&5)
4442 (eval "$ac_compile" 2>conftest.err)
4443 cat conftest.err >&5
4444 (eval echo "\"\$as_me:4444: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4445 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4446 cat conftest.err >&5
4447 (eval echo "\"\$as_me:4447: output\"" >&5)
4448 cat conftest.out >&5
4449 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4450 lt_cv_nm_interface="MS dumpbin"
4454 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4455 $as_echo "$lt_cv_nm_interface" >&6; }
4457 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4458 $as_echo_n "checking whether ln -s works... " >&6; }
4460 if test "$LN_S" = "ln -s"; then
4461 { $as_echo "$as_me:$LINENO: result: yes" >&5
4462 $as_echo "yes" >&6; }
4464 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4465 $as_echo "no, using $LN_S" >&6; }
4468 # find the maximum length of command line arguments
4469 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4470 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4471 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4472 $as_echo_n "(cached) " >&6
4479 # On DJGPP, this test can blow up pretty badly due to problems in libc
4480 # (any single argument exceeding 2000 bytes causes a buffer overrun
4481 # during glob expansion). Even if it were fixed, the result of this
4482 # check would be larger than it should be.
4483 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4487 # Under GNU Hurd, this test is not required because there is
4488 # no limit to the length of command line arguments.
4489 # Libtool will interpret -1 as no limit whatsoever
4490 lt_cv_sys_max_cmd_len=-1;
4493 cygwin* | mingw* | cegcc*)
4494 # On Win9x/ME, this test blows up -- it succeeds, but takes
4495 # about 5 minutes as the teststring grows exponentially.
4496 # Worse, since 9x/ME are not pre-emptively multitasking,
4497 # you end up with a "frozen" computer, even though with patience
4498 # the test eventually succeeds (with a max line length of 256k).
4499 # Instead, let's just punt: use the minimum linelength reported by
4500 # all of the supported platforms: 8192 (on NT/2K/XP).
4501 lt_cv_sys_max_cmd_len=8192;
4505 # On AmigaOS with pdksh, this test takes hours, literally.
4506 # So we just punt and use a minimum line length of 8192.
4507 lt_cv_sys_max_cmd_len=8192;
4510 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4511 # This has been around since 386BSD, at least. Likely further.
4512 if test -x /sbin/sysctl; then
4513 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4514 elif test -x /usr/sbin/sysctl; then
4515 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4517 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4519 # And add a safety zone
4520 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4521 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4525 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4526 lt_cv_sys_max_cmd_len=196608
4530 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4531 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4532 # nice to cause kernel panics so lets avoid the loop below.
4533 # First set a reasonable default.
4534 lt_cv_sys_max_cmd_len=16384
4536 if test -x /sbin/sysconfig; then
4537 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4538 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4543 lt_cv_sys_max_cmd_len=102400
4545 sysv5* | sco5v6* | sysv4.2uw2*)
4546 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4547 if test -n "$kargmax"; then
4548 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4550 lt_cv_sys_max_cmd_len=32768
4554 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4555 if test -n "$lt_cv_sys_max_cmd_len"; then
4556 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4557 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4559 # Make teststring a little bigger before we do anything with it.
4560 # a 1K string should be a reasonable start.
4561 for i in 1 2 3 4 5 6 7 8 ; do
4562 teststring=$teststring$teststring
4564 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4565 # If test is not a shell built-in, we'll probably end up computing a
4566 # maximum length that is only half of the actual maximum length, but
4568 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4569 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4570 test $i != 17 # 1/2 MB should be enough
4573 teststring=$teststring$teststring
4575 # Only check the string length outside the loop.
4576 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4578 # Add a significant safety factor because C++ compilers can tack on
4579 # massive amounts of additional arguments before passing them to the
4580 # linker. It appears as though 1/2 is a usable value.
4581 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4588 if test -n $lt_cv_sys_max_cmd_len ; then
4589 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4590 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4592 { $as_echo "$as_me:$LINENO: result: none" >&5
4593 $as_echo "none" >&6; }
4595 max_cmd_len=$lt_cv_sys_max_cmd_len
4606 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4607 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4608 # Try some XSI features
4611 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4613 && eval 'test $(( 1 + 1 )) -eq 2 \
4614 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4616 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4617 $as_echo "$xsi_shell" >&6; }
4620 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4621 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4623 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4625 && lt_shell_append=yes
4626 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4627 $as_echo "$lt_shell_append" >&6; }
4630 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4640 # test EBCDIC or ASCII
4641 case `echo X|tr X '\101'` in
4642 A) # ASCII based system
4643 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4644 lt_SP2NL='tr \040 \012'
4645 lt_NL2SP='tr \015\012 \040\040'
4647 *) # EBCDIC based system
4648 lt_SP2NL='tr \100 \n'
4649 lt_NL2SP='tr \r\n \100\100'
4661 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4662 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4663 if test "${lt_cv_ld_reload_flag+set}" = set; then
4664 $as_echo_n "(cached) " >&6
4666 lt_cv_ld_reload_flag='-r'
4668 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4669 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4670 reload_flag=$lt_cv_ld_reload_flag
4671 case $reload_flag in
4673 *) reload_flag=" $reload_flag" ;;
4675 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4678 if test "$GCC" = yes; then
4679 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4681 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4694 if test -n "$ac_tool_prefix"; then
4695 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4696 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$OBJDUMP"; then
4703 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4713 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 OBJDUMP=$ac_cv_prog_OBJDUMP
4723 if test -n "$OBJDUMP"; then
4724 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4725 $as_echo "$OBJDUMP" >&6; }
4727 { $as_echo "$as_me:$LINENO: result: no" >&5
4728 $as_echo "no" >&6; }
4733 if test -z "$ac_cv_prog_OBJDUMP"; then
4734 ac_ct_OBJDUMP=$OBJDUMP
4735 # Extract the first word of "objdump", so it can be a program name with args.
4736 set dummy objdump; ac_word=$2
4737 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$ac_ct_OBJDUMP"; then
4743 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir=.
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4753 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4763 if test -n "$ac_ct_OBJDUMP"; then
4764 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4765 $as_echo "$ac_ct_OBJDUMP" >&6; }
4767 { $as_echo "$as_me:$LINENO: result: no" >&5
4768 $as_echo "no" >&6; }
4771 if test "x$ac_ct_OBJDUMP" = x; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4780 OBJDUMP=$ac_ct_OBJDUMP
4783 OBJDUMP="$ac_cv_prog_OBJDUMP"
4786 test -z "$OBJDUMP" && OBJDUMP=objdump
4796 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4797 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4798 if test "${lt_cv_deplibs_check_method+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 lt_cv_file_magic_cmd='$MAGIC_CMD'
4802 lt_cv_file_magic_test_file=
4803 lt_cv_deplibs_check_method='unknown'
4804 # Need to set the preceding variable on all platforms that support
4805 # interlibrary dependencies.
4806 # 'none' -- dependencies not supported.
4807 # `unknown' -- same as none, but documents that we really don't know.
4808 # 'pass_all' -- all dependencies passed with no checks.
4809 # 'test_compile' -- check by making test program.
4810 # 'file_magic [[regex]]' -- check by looking for files in library path
4811 # which responds to the $file_magic_cmd with a given extended regex.
4812 # If you have `file' or equivalent on your system and you're not sure
4813 # whether `pass_all' will *always* work, you probably want this one.
4817 lt_cv_deplibs_check_method=pass_all
4821 lt_cv_deplibs_check_method=pass_all
4825 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4826 lt_cv_file_magic_cmd='/usr/bin/file -L'
4827 lt_cv_file_magic_test_file=/shlib/libc.so
4831 # func_win32_libid is a shell function defined in ltmain.sh
4832 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4833 lt_cv_file_magic_cmd='func_win32_libid'
4837 # Base MSYS/MinGW do not provide the 'file' command needed by
4838 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4839 # unless we find 'file', for example because we are cross-compiling.
4840 if ( file / ) >/dev/null 2>&1; then
4841 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4842 lt_cv_file_magic_cmd='func_win32_libid'
4844 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4845 lt_cv_file_magic_cmd='$OBJDUMP -f'
4850 # use the weaker test based on 'objdump'. See mingw*.
4851 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4852 lt_cv_file_magic_cmd='$OBJDUMP -f'
4855 darwin* | rhapsody*)
4856 lt_cv_deplibs_check_method=pass_all
4859 freebsd* | dragonfly*)
4860 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4863 # Not sure whether the presence of OpenBSD here was a mistake.
4864 # Let's accept both of them until this is cleared up.
4865 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4866 lt_cv_file_magic_cmd=/usr/bin/file
4867 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4871 lt_cv_deplibs_check_method=pass_all
4876 lt_cv_deplibs_check_method=pass_all
4879 hpux10.20* | hpux11*)
4880 lt_cv_file_magic_cmd=/usr/bin/file
4883 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4884 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4887 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]'
4888 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4891 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4892 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4898 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4899 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4902 irix5* | irix6* | nonstopux*)
4904 *-32|*"-32 ") libmagic=32-bit;;
4905 *-n32|*"-n32 ") libmagic=N32;;
4906 *-64|*"-64 ") libmagic=64-bit;;
4907 *) libmagic=never-match;;
4909 lt_cv_deplibs_check_method=pass_all
4912 # This must be Linux ELF.
4913 linux* | k*bsd*-gnu)
4914 lt_cv_deplibs_check_method=pass_all
4917 netbsd* | netbsdelf*-gnu)
4918 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4919 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4921 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4926 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4927 lt_cv_file_magic_cmd=/usr/bin/file
4928 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4932 lt_cv_deplibs_check_method=pass_all
4936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4937 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4939 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4943 osf3* | osf4* | osf5*)
4944 lt_cv_deplibs_check_method=pass_all
4948 lt_cv_deplibs_check_method=pass_all
4952 lt_cv_deplibs_check_method=pass_all
4955 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4956 lt_cv_deplibs_check_method=pass_all
4960 case $host_vendor in
4962 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]'
4963 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4966 lt_cv_deplibs_check_method=pass_all
4969 lt_cv_file_magic_cmd='/bin/file'
4970 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4973 lt_cv_file_magic_cmd='/bin/file'
4974 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4975 lt_cv_file_magic_test_file=/lib/libc.so
4978 lt_cv_deplibs_check_method=pass_all
4981 lt_cv_deplibs_check_method=pass_all
4987 lt_cv_deplibs_check_method=pass_all
4992 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4993 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4994 file_magic_cmd=$lt_cv_file_magic_cmd
4995 deplibs_check_method=$lt_cv_deplibs_check_method
4996 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5009 if test -n "$ac_tool_prefix"; then
5010 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}ar; ac_word=$2
5012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_AR+set}" = set; then
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR="$AR" # Let the user override the test.
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_AR="${ac_tool_prefix}ar"
5028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:$LINENO: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5042 { $as_echo "$as_me:$LINENO: result: no" >&5
5043 $as_echo "no" >&6; }
5048 if test -z "$ac_cv_prog_AR"; then
5050 # Extract the first word of "ar", so it can be a program name with args.
5051 set dummy ar; ac_word=$2
5052 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$ac_ct_AR"; then
5058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_ac_ct_AR="ar"
5068 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5078 if test -n "$ac_ct_AR"; then
5079 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5080 $as_echo "$ac_ct_AR" >&6; }
5082 { $as_echo "$as_me:$LINENO: result: no" >&5
5083 $as_echo "no" >&6; }
5086 if test "x$ac_ct_AR" = x; then
5089 case $cross_compiling:$ac_tool_warned in
5091 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5101 test -z "$AR" && AR=ar
5102 test -z "$AR_FLAGS" && AR_FLAGS=cru
5114 if test -n "$ac_tool_prefix"; then
5115 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}strip; ac_word=$2
5117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_STRIP+set}" = set; then
5120 $as_echo_n "(cached) " >&6
5122 if test -n "$STRIP"; then
5123 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 STRIP=$ac_cv_prog_STRIP
5143 if test -n "$STRIP"; then
5144 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5145 $as_echo "$STRIP" >&6; }
5147 { $as_echo "$as_me:$LINENO: result: no" >&5
5148 $as_echo "no" >&6; }
5153 if test -z "$ac_cv_prog_STRIP"; then
5155 # Extract the first word of "strip", so it can be a program name with args.
5156 set dummy strip; ac_word=$2
5157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5160 $as_echo_n "(cached) " >&6
5162 if test -n "$ac_ct_STRIP"; then
5163 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172 ac_cv_prog_ac_ct_STRIP="strip"
5173 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5183 if test -n "$ac_ct_STRIP"; then
5184 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5185 $as_echo "$ac_ct_STRIP" >&6; }
5187 { $as_echo "$as_me:$LINENO: result: no" >&5
5188 $as_echo "no" >&6; }
5191 if test "x$ac_ct_STRIP" = x; then
5194 case $cross_compiling:$ac_tool_warned in
5196 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned=yes ;;
5203 STRIP="$ac_cv_prog_STRIP"
5206 test -z "$STRIP" && STRIP=:
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if test "${ac_cv_prog_RANLIB+set}" = set; then
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$RANLIB"; then
5222 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5232 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 RANLIB=$ac_cv_prog_RANLIB
5242 if test -n "$RANLIB"; then
5243 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5244 $as_echo "$RANLIB" >&6; }
5246 { $as_echo "$as_me:$LINENO: result: no" >&5
5247 $as_echo "no" >&6; }
5252 if test -z "$ac_cv_prog_RANLIB"; then
5253 ac_ct_RANLIB=$RANLIB
5254 # Extract the first word of "ranlib", so it can be a program name with args.
5255 set dummy ranlib; ac_word=$2
5256 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5259 $as_echo_n "(cached) " >&6
5261 if test -n "$ac_ct_RANLIB"; then
5262 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271 ac_cv_prog_ac_ct_RANLIB="ranlib"
5272 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5282 if test -n "$ac_ct_RANLIB"; then
5283 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5284 $as_echo "$ac_ct_RANLIB" >&6; }
5286 { $as_echo "$as_me:$LINENO: result: no" >&5
5287 $as_echo "no" >&6; }
5290 if test "x$ac_ct_RANLIB" = x; then
5293 case $cross_compiling:$ac_tool_warned in
5295 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5297 ac_tool_warned=yes ;;
5299 RANLIB=$ac_ct_RANLIB
5302 RANLIB="$ac_cv_prog_RANLIB"
5305 test -z "$RANLIB" && RANLIB=:
5312 # Determine commands to create old-style static archives.
5313 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5314 old_postinstall_cmds='chmod 644 $oldlib'
5315 old_postuninstall_cmds=
5317 if test -n "$RANLIB"; then
5320 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5323 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5326 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5362 # If no C compiler was specified, use CC.
5365 # If no C compiler flags were specified, use CFLAGS.
5366 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5368 # Allow CC to be a program name with arguments.
5372 # Check for command to grab the raw symbol name followed by C symbol from nm.
5373 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5374 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5375 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5376 $as_echo_n "(cached) " >&6
5379 # These are sane defaults that work on at least a few old systems.
5380 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5382 # Character class describing NM global symbol codes.
5383 symcode='[BCDEGRST]'
5385 # Regexp to match symbols that can be accessed directly from C.
5386 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5388 # Define system-specific variables.
5393 cygwin* | mingw* | pw32* | cegcc*)
5394 symcode='[ABCDGISTW]'
5397 if test "$host_cpu" = ia64; then
5398 symcode='[ABCDEGRST]'
5402 symcode='[BCDEGRST]'
5405 symcode='[BCDEGQRST]'
5416 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5424 # If we're using GNU nm, then use its standard symbol codes.
5425 case `$NM -V 2>&1` in
5426 *GNU* | *'with BFD'*)
5427 symcode='[ABCDGIRSTW]' ;;
5430 # Transform an extracted symbol line into a proper C declaration.
5431 # Some systems (esp. on ia64) link data and code symbols differently,
5432 # so use this general approach.
5433 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5435 # Transform an extracted symbol line into symbol name and symbol address
5436 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5437 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'"
5439 # Handle CRLF in mingw tool chain
5443 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5447 # Try without a prefix underscore, then with it.
5448 for ac_symprfx in "" "_"; do
5450 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5451 symxfrm="\\1 $ac_symprfx\\2 \\2"
5453 # Write the raw and C identifiers.
5454 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5455 # Fake it for dumpbin and say T for any non-static function
5456 # and D for any global variable.
5457 # Also find C++ and __fastcall symbols from MSVC++,
5458 # which start with @ or ?.
5459 lt_cv_sys_global_symbol_pipe="$AWK '"\
5460 " {last_section=section; section=\$ 3};"\
5461 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5462 " \$ 0!~/External *\|/{next};"\
5463 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5464 " {if(hide[section]) next};"\
5465 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5466 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5467 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5468 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5469 " ' prfx=^$ac_symprfx"
5471 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5474 # Check to see that the pipe works correctly.
5478 cat > conftest.$ac_ext <<_LT_EOF
5483 void nm_test_func(void);
5484 void nm_test_func(void){}
5488 int main(){nm_test_var='a';nm_test_func();return(0);}
5491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5492 (eval $ac_compile) 2>&5
5494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }; then
5496 # Now try to grab the symbols.
5498 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5499 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } && test -s "$nlist"; then
5503 # Try sorting and uniquifying the output.
5504 if sort "$nlist" | uniq > "$nlist"T; then
5505 mv -f "$nlist"T "$nlist"
5510 # Make sure that we snagged all the symbols we need.
5511 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5512 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5513 cat <<_LT_EOF > conftest.$ac_ext
5519 # Now generate the symbol file.
5520 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5522 cat <<_LT_EOF >> conftest.$ac_ext
5524 /* The mapping between symbol names and symbols. */
5529 lt__PROGRAM__LTX_preloaded_symbols[] =
5531 { "@PROGRAM@", (void *) 0 },
5533 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5534 cat <<\_LT_EOF >> conftest.$ac_ext
5538 /* This works around a problem in FreeBSD linker */
5539 #ifdef FREEBSD_WORKAROUND
5540 static const void *lt_preloaded_setup() {
5541 return lt__PROGRAM__LTX_preloaded_symbols;
5549 # Now try linking the two files.
5550 mv conftest.$ac_objext conftstm.$ac_objext
5551 lt_save_LIBS="$LIBS"
5552 lt_save_CFLAGS="$CFLAGS"
5553 LIBS="conftstm.$ac_objext"
5554 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5556 (eval $ac_link) 2>&5
5558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5562 LIBS="$lt_save_LIBS"
5563 CFLAGS="$lt_save_CFLAGS"
5565 echo "cannot find nm_test_func in $nlist" >&5
5568 echo "cannot find nm_test_var in $nlist" >&5
5571 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5574 echo "$progname: failed program was:" >&5
5575 cat conftest.$ac_ext >&5
5577 rm -rf conftest* conftst*
5579 # Do not use the global_symbol_pipe unless it works.
5580 if test "$pipe_works" = yes; then
5583 lt_cv_sys_global_symbol_pipe=
5589 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5590 lt_cv_sys_global_symbol_to_cdecl=
5592 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5593 { $as_echo "$as_me:$LINENO: result: failed" >&5
5594 $as_echo "failed" >&6; }
5596 { $as_echo "$as_me:$LINENO: result: ok" >&5
5597 $as_echo "ok" >&6; }
5622 # Check whether --enable-libtool-lock was given.
5623 if test "${enable_libtool_lock+set}" = set; then
5624 enableval=$enable_libtool_lock;
5627 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5629 # Some flags need to be propagated to the compiler or linker for good
5633 # Find out which ABI we are using.
5634 echo 'int i;' > conftest.$ac_ext
5635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5636 (eval $ac_compile) 2>&5
5638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; then
5640 case `/usr/bin/file conftest.$ac_objext` in
5652 # Find out which ABI we are using.
5653 echo '#line 5653 "configure"' > conftest.$ac_ext
5654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5655 (eval $ac_compile) 2>&5
5657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; then
5659 if test "$lt_cv_prog_gnu_ld" = yes; then
5660 case `/usr/bin/file conftest.$ac_objext` in
5662 LD="${LD-ld} -melf32bsmip"
5665 LD="${LD-ld} -melf32bmipn32"
5668 LD="${LD-ld} -melf64bmip"
5672 case `/usr/bin/file conftest.$ac_objext` in
5688 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5689 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5690 # Find out which ABI we are using.
5691 echo 'int i;' > conftest.$ac_ext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693 (eval $ac_compile) 2>&5
5695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; then
5697 case `/usr/bin/file conftest.o` in
5700 x86_64-*kfreebsd*-gnu)
5701 LD="${LD-ld} -m elf_i386_fbsd"
5704 LD="${LD-ld} -m elf_i386"
5706 ppc64-*linux*|powerpc64-*linux*)
5707 LD="${LD-ld} -m elf32ppclinux"
5710 LD="${LD-ld} -m elf_s390"
5713 LD="${LD-ld} -m elf32_sparc"
5719 x86_64-*kfreebsd*-gnu)
5720 LD="${LD-ld} -m elf_x86_64_fbsd"
5723 LD="${LD-ld} -m elf_x86_64"
5725 ppc*-*linux*|powerpc*-*linux*)
5726 LD="${LD-ld} -m elf64ppc"
5728 s390*-*linux*|s390*-*tpf*)
5729 LD="${LD-ld} -m elf64_s390"
5732 LD="${LD-ld} -m elf64_sparc"
5742 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5743 SAVE_CFLAGS="$CFLAGS"
5744 CFLAGS="$CFLAGS -belf"
5745 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5746 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5747 if test "${lt_cv_cc_needs_belf+set}" = set; then
5748 $as_echo_n "(cached) " >&6
5751 ac_cpp='$CPP $CPPFLAGS'
5752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5756 cat >conftest.$ac_ext <<_ACEOF
5759 cat confdefs.h >>conftest.$ac_ext
5760 cat >>conftest.$ac_ext <<_ACEOF
5761 /* end confdefs.h. */
5771 rm -f conftest.$ac_objext conftest$ac_exeext
5772 if { (ac_try="$ac_link"
5774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5775 *) ac_try_echo=$ac_try;;
5777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5778 $as_echo "$ac_try_echo") >&5
5779 (eval "$ac_link") 2>conftest.er1
5781 grep -v '^ *+' conftest.er1 >conftest.err
5783 cat conftest.err >&5
5784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } && {
5786 test -z "$ac_c_werror_flag" ||
5787 test ! -s conftest.err
5788 } && test -s conftest$ac_exeext && {
5789 test "$cross_compiling" = yes ||
5790 $as_test_x conftest$ac_exeext
5792 lt_cv_cc_needs_belf=yes
5794 $as_echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.$ac_ext >&5
5797 lt_cv_cc_needs_belf=no
5800 rm -rf conftest.dSYM
5801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5802 conftest$ac_exeext conftest.$ac_ext
5804 ac_cpp='$CPP $CPPFLAGS'
5805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5810 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5811 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5812 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5813 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5814 CFLAGS="$SAVE_CFLAGS"
5818 # Find out which ABI we are using.
5819 echo 'int i;' > conftest.$ac_ext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5821 (eval $ac_compile) 2>&5
5823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); }; then
5825 case `/usr/bin/file conftest.o` in
5827 case $lt_cv_prog_gnu_ld in
5828 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5830 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5842 need_locks="$enable_libtool_lock"
5846 rhapsody* | darwin*)
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5850 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$DSYMUTIL"; then
5856 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5866 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5876 if test -n "$DSYMUTIL"; then
5877 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5878 $as_echo "$DSYMUTIL" >&6; }
5880 { $as_echo "$as_me:$LINENO: result: no" >&5
5881 $as_echo "no" >&6; }
5886 if test -z "$ac_cv_prog_DSYMUTIL"; then
5887 ac_ct_DSYMUTIL=$DSYMUTIL
5888 # Extract the first word of "dsymutil", so it can be a program name with args.
5889 set dummy dsymutil; ac_word=$2
5890 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5893 $as_echo_n "(cached) " >&6
5895 if test -n "$ac_ct_DSYMUTIL"; then
5896 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5906 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5916 if test -n "$ac_ct_DSYMUTIL"; then
5917 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5918 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5920 { $as_echo "$as_me:$LINENO: result: no" >&5
5921 $as_echo "no" >&6; }
5924 if test "x$ac_ct_DSYMUTIL" = x; then
5927 case $cross_compiling:$ac_tool_warned in
5929 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5931 ac_tool_warned=yes ;;
5933 DSYMUTIL=$ac_ct_DSYMUTIL
5936 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5939 if test -n "$ac_tool_prefix"; then
5940 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5941 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5943 $as_echo_n "checking for $ac_word... " >&6; }
5944 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5945 $as_echo_n "(cached) " >&6
5947 if test -n "$NMEDIT"; then
5948 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 test -z "$as_dir" && as_dir=.
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5957 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5958 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 NMEDIT=$ac_cv_prog_NMEDIT
5968 if test -n "$NMEDIT"; then
5969 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5970 $as_echo "$NMEDIT" >&6; }
5972 { $as_echo "$as_me:$LINENO: result: no" >&5
5973 $as_echo "no" >&6; }
5978 if test -z "$ac_cv_prog_NMEDIT"; then
5979 ac_ct_NMEDIT=$NMEDIT
5980 # Extract the first word of "nmedit", so it can be a program name with args.
5981 set dummy nmedit; ac_word=$2
5982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5985 $as_echo_n "(cached) " >&6
5987 if test -n "$ac_ct_NMEDIT"; then
5988 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6008 if test -n "$ac_ct_NMEDIT"; then
6009 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6010 $as_echo "$ac_ct_NMEDIT" >&6; }
6012 { $as_echo "$as_me:$LINENO: result: no" >&5
6013 $as_echo "no" >&6; }
6016 if test "x$ac_ct_NMEDIT" = x; then
6019 case $cross_compiling:$ac_tool_warned in
6021 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6023 ac_tool_warned=yes ;;
6025 NMEDIT=$ac_ct_NMEDIT
6028 NMEDIT="$ac_cv_prog_NMEDIT"
6031 if test -n "$ac_tool_prefix"; then
6032 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6033 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6034 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6035 $as_echo_n "checking for $ac_word... " >&6; }
6036 if test "${ac_cv_prog_LIPO+set}" = set; then
6037 $as_echo_n "(cached) " >&6
6039 if test -n "$LIPO"; then
6040 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6050 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6059 LIPO=$ac_cv_prog_LIPO
6060 if test -n "$LIPO"; then
6061 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6062 $as_echo "$LIPO" >&6; }
6064 { $as_echo "$as_me:$LINENO: result: no" >&5
6065 $as_echo "no" >&6; }
6070 if test -z "$ac_cv_prog_LIPO"; then
6072 # Extract the first word of "lipo", so it can be a program name with args.
6073 set dummy lipo; ac_word=$2
6074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6077 $as_echo_n "(cached) " >&6
6079 if test -n "$ac_ct_LIPO"; then
6080 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089 ac_cv_prog_ac_ct_LIPO="lipo"
6090 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6100 if test -n "$ac_ct_LIPO"; then
6101 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6102 $as_echo "$ac_ct_LIPO" >&6; }
6104 { $as_echo "$as_me:$LINENO: result: no" >&5
6105 $as_echo "no" >&6; }
6108 if test "x$ac_ct_LIPO" = x; then
6111 case $cross_compiling:$ac_tool_warned in
6113 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6115 ac_tool_warned=yes ;;
6120 LIPO="$ac_cv_prog_LIPO"
6123 if test -n "$ac_tool_prefix"; then
6124 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6125 set dummy ${ac_tool_prefix}otool; ac_word=$2
6126 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if test "${ac_cv_prog_OTOOL+set}" = set; then
6129 $as_echo_n "(cached) " >&6
6131 if test -n "$OTOOL"; then
6132 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6141 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6142 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 OTOOL=$ac_cv_prog_OTOOL
6152 if test -n "$OTOOL"; then
6153 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6154 $as_echo "$OTOOL" >&6; }
6156 { $as_echo "$as_me:$LINENO: result: no" >&5
6157 $as_echo "no" >&6; }
6162 if test -z "$ac_cv_prog_OTOOL"; then
6164 # Extract the first word of "otool", so it can be a program name with args.
6165 set dummy otool; ac_word=$2
6166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6169 $as_echo_n "(cached) " >&6
6171 if test -n "$ac_ct_OTOOL"; then
6172 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_prog_ac_ct_OTOOL="otool"
6182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6192 if test -n "$ac_ct_OTOOL"; then
6193 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6194 $as_echo "$ac_ct_OTOOL" >&6; }
6196 { $as_echo "$as_me:$LINENO: result: no" >&5
6197 $as_echo "no" >&6; }
6200 if test "x$ac_ct_OTOOL" = x; then
6203 case $cross_compiling:$ac_tool_warned in
6205 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned=yes ;;
6212 OTOOL="$ac_cv_prog_OTOOL"
6215 if test -n "$ac_tool_prefix"; then
6216 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6217 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6221 $as_echo_n "(cached) " >&6
6223 if test -n "$OTOOL64"; then
6224 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6233 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6234 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 OTOOL64=$ac_cv_prog_OTOOL64
6244 if test -n "$OTOOL64"; then
6245 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6246 $as_echo "$OTOOL64" >&6; }
6248 { $as_echo "$as_me:$LINENO: result: no" >&5
6249 $as_echo "no" >&6; }
6254 if test -z "$ac_cv_prog_OTOOL64"; then
6255 ac_ct_OTOOL64=$OTOOL64
6256 # Extract the first word of "otool64", so it can be a program name with args.
6257 set dummy otool64; ac_word=$2
6258 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$ac_ct_OTOOL64"; then
6264 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273 ac_cv_prog_ac_ct_OTOOL64="otool64"
6274 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6284 if test -n "$ac_ct_OTOOL64"; then
6285 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6286 $as_echo "$ac_ct_OTOOL64" >&6; }
6288 { $as_echo "$as_me:$LINENO: result: no" >&5
6289 $as_echo "no" >&6; }
6292 if test "x$ac_ct_OTOOL64" = x; then
6295 case $cross_compiling:$ac_tool_warned in
6297 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6299 ac_tool_warned=yes ;;
6301 OTOOL64=$ac_ct_OTOOL64
6304 OTOOL64="$ac_cv_prog_OTOOL64"
6333 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6334 $as_echo_n "checking for -single_module linker flag... " >&6; }
6335 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6336 $as_echo_n "(cached) " >&6
6338 lt_cv_apple_cc_single_mod=no
6339 if test -z "${LT_MULTI_MODULE}"; then
6340 # By default we will add the -single_module flag. You can override
6341 # by either setting the environment variable LT_MULTI_MODULE
6342 # non-empty at configure time, or by adding -multi_module to the
6344 rm -rf libconftest.dylib*
6345 echo "int foo(void){return 1;}" > conftest.c
6346 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6347 -dynamiclib -Wl,-single_module conftest.c" >&5
6348 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6349 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6351 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6352 lt_cv_apple_cc_single_mod=yes
6354 cat conftest.err >&5
6356 rm -rf libconftest.dylib*
6360 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6361 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6362 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6363 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6364 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6365 $as_echo_n "(cached) " >&6
6367 lt_cv_ld_exported_symbols_list=no
6368 save_LDFLAGS=$LDFLAGS
6369 echo "_main" > conftest.sym
6370 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6371 cat >conftest.$ac_ext <<_ACEOF
6374 cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6386 rm -f conftest.$ac_objext conftest$ac_exeext
6387 if { (ac_try="$ac_link"
6389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6390 *) ac_try_echo=$ac_try;;
6392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6393 $as_echo "$ac_try_echo") >&5
6394 (eval "$ac_link") 2>conftest.er1
6396 grep -v '^ *+' conftest.er1 >conftest.err
6398 cat conftest.err >&5
6399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } && {
6401 test -z "$ac_c_werror_flag" ||
6402 test ! -s conftest.err
6403 } && test -s conftest$ac_exeext && {
6404 test "$cross_compiling" = yes ||
6405 $as_test_x conftest$ac_exeext
6407 lt_cv_ld_exported_symbols_list=yes
6409 $as_echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5
6412 lt_cv_ld_exported_symbols_list=no
6415 rm -rf conftest.dSYM
6416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6417 conftest$ac_exeext conftest.$ac_ext
6418 LDFLAGS="$save_LDFLAGS"
6421 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6422 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6424 rhapsody* | darwin1.[012])
6425 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6427 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6428 darwin*) # darwin 5.x on
6429 # if running on 10.5 or later, the deployment target defaults
6430 # to the OS version, if on x86, and 10.4, the deployment
6431 # target defaults to 10.4. Don't you love it?
6432 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6433 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6434 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6436 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6438 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6442 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6443 _lt_dar_single_mod='$single_module'
6445 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6446 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6448 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6450 if test "$DSYMUTIL" != ":"; then
6451 _lt_dsymutil='~$DSYMUTIL $lib || :'
6459 ac_cpp='$CPP $CPPFLAGS'
6460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6463 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6465 # On Suns, sometimes $CPP names a directory.
6466 if test -n "$CPP" && test -d "$CPP"; then
6469 if test -z "$CPP"; then
6470 if test "${ac_cv_prog_CPP+set}" = set; then
6471 $as_echo_n "(cached) " >&6
6473 # Double quotes because CPP needs to be expanded
6474 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6477 for ac_c_preproc_warn_flag in '' yes
6479 # Use a header file that comes with gcc, so configuring glibc
6480 # with a fresh cross-compiler works.
6481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6482 # <limits.h> exists even on freestanding compilers.
6483 # On the NeXT, cc -E runs the code through the compiler's parser,
6484 # not just through cpp. "Syntax error" is here to catch this case.
6485 cat >conftest.$ac_ext <<_ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6492 # include <limits.h>
6494 # include <assert.h>
6498 if { (ac_try="$ac_cpp conftest.$ac_ext"
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6504 $as_echo "$ac_try_echo") >&5
6505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } >/dev/null && {
6512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6513 test ! -s conftest.err
6517 $as_echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 # Broken: fails on valid input.
6524 rm -f conftest.err conftest.$ac_ext
6526 # OK, works on sane cases. Now check whether nonexistent headers
6527 # can be detected and how.
6528 cat >conftest.$ac_ext <<_ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 #include <ac_nonexistent.h>
6536 if { (ac_try="$ac_cpp conftest.$ac_ext"
6538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6539 *) ac_try_echo=$ac_try;;
6541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6542 $as_echo "$ac_try_echo") >&5
6543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6545 grep -v '^ *+' conftest.er1 >conftest.err
6547 cat conftest.err >&5
6548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); } >/dev/null && {
6550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6551 test ! -s conftest.err
6553 # Broken: success on invalid input.
6556 $as_echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.$ac_ext >&5
6559 # Passes both tests.
6564 rm -f conftest.err conftest.$ac_ext
6567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6568 rm -f conftest.err conftest.$ac_ext
6569 if $ac_preproc_ok; then
6581 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
6582 $as_echo "$CPP" >&6; }
6584 for ac_c_preproc_warn_flag in '' yes
6586 # Use a header file that comes with gcc, so configuring glibc
6587 # with a fresh cross-compiler works.
6588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6589 # <limits.h> exists even on freestanding compilers.
6590 # On the NeXT, cc -E runs the code through the compiler's parser,
6591 # not just through cpp. "Syntax error" is here to catch this case.
6592 cat >conftest.$ac_ext <<_ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6599 # include <limits.h>
6601 # include <assert.h>
6605 if { (ac_try="$ac_cpp conftest.$ac_ext"
6607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6611 $as_echo "$ac_try_echo") >&5
6612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6614 grep -v '^ *+' conftest.er1 >conftest.err
6616 cat conftest.err >&5
6617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } >/dev/null && {
6619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6620 test ! -s conftest.err
6624 $as_echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6627 # Broken: fails on valid input.
6631 rm -f conftest.err conftest.$ac_ext
6633 # OK, works on sane cases. Now check whether nonexistent headers
6634 # can be detected and how.
6635 cat >conftest.$ac_ext <<_ACEOF
6638 cat confdefs.h >>conftest.$ac_ext
6639 cat >>conftest.$ac_ext <<_ACEOF
6640 /* end confdefs.h. */
6641 #include <ac_nonexistent.h>
6643 if { (ac_try="$ac_cpp conftest.$ac_ext"
6645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6646 *) ac_try_echo=$ac_try;;
6648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6649 $as_echo "$ac_try_echo") >&5
6650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6652 grep -v '^ *+' conftest.er1 >conftest.err
6654 cat conftest.err >&5
6655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); } >/dev/null && {
6657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6658 test ! -s conftest.err
6660 # Broken: success on invalid input.
6663 $as_echo "$as_me: failed program was:" >&5
6664 sed 's/^/| /' conftest.$ac_ext >&5
6666 # Passes both tests.
6671 rm -f conftest.err conftest.$ac_ext
6674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6675 rm -f conftest.err conftest.$ac_ext
6676 if $ac_preproc_ok; then
6679 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6681 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6682 See \`config.log' for more details." >&5
6683 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6684 See \`config.log' for more details." >&2;}
6685 { (exit 1); exit 1; }; }; }
6689 ac_cpp='$CPP $CPPFLAGS'
6690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6696 $as_echo_n "checking for ANSI C header files... " >&6; }
6697 if test "${ac_cv_header_stdc+set}" = set; then
6698 $as_echo_n "(cached) " >&6
6700 cat >conftest.$ac_ext <<_ACEOF
6703 cat confdefs.h >>conftest.$ac_ext
6704 cat >>conftest.$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6719 rm -f conftest.$ac_objext
6720 if { (ac_try="$ac_compile"
6722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6723 *) ac_try_echo=$ac_try;;
6725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6726 $as_echo "$ac_try_echo") >&5
6727 (eval "$ac_compile") 2>conftest.er1
6729 grep -v '^ *+' conftest.er1 >conftest.err
6731 cat conftest.err >&5
6732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } && {
6734 test -z "$ac_c_werror_flag" ||
6735 test ! -s conftest.err
6736 } && test -s conftest.$ac_objext; then
6737 ac_cv_header_stdc=yes
6739 $as_echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.$ac_ext >&5
6742 ac_cv_header_stdc=no
6745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6747 if test $ac_cv_header_stdc = yes; then
6748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6749 cat >conftest.$ac_ext <<_ACEOF
6752 cat confdefs.h >>conftest.$ac_ext
6753 cat >>conftest.$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6759 $EGREP "memchr" >/dev/null 2>&1; then
6762 ac_cv_header_stdc=no
6768 if test $ac_cv_header_stdc = yes; then
6769 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6770 cat >conftest.$ac_ext <<_ACEOF
6773 cat confdefs.h >>conftest.$ac_ext
6774 cat >>conftest.$ac_ext <<_ACEOF
6775 /* end confdefs.h. */
6779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6780 $EGREP "free" >/dev/null 2>&1; then
6783 ac_cv_header_stdc=no
6789 if test $ac_cv_header_stdc = yes; then
6790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6791 if test "$cross_compiling" = yes; then
6794 cat >conftest.$ac_ext <<_ACEOF
6797 cat confdefs.h >>conftest.$ac_ext
6798 cat >>conftest.$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6802 #if ((' ' & 0x0FF) == 0x020)
6803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6806 # define ISLOWER(c) \
6807 (('a' <= (c) && (c) <= 'i') \
6808 || ('j' <= (c) && (c) <= 'r') \
6809 || ('s' <= (c) && (c) <= 'z'))
6810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6818 for (i = 0; i < 256; i++)
6819 if (XOR (islower (i), ISLOWER (i))
6820 || toupper (i) != TOUPPER (i))
6825 rm -f conftest$ac_exeext
6826 if { (ac_try="$ac_link"
6828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6829 *) ac_try_echo=$ac_try;;
6831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6832 $as_echo "$ac_try_echo") >&5
6833 (eval "$ac_link") 2>&5
6835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6837 { (case "(($ac_try" in
6838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6839 *) ac_try_echo=$ac_try;;
6841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6842 $as_echo "$ac_try_echo") >&5
6843 (eval "$ac_try") 2>&5
6845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; }; then
6849 $as_echo "$as_me: program exited with status $ac_status" >&5
6850 $as_echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.$ac_ext >&5
6854 ac_cv_header_stdc=no
6856 rm -rf conftest.dSYM
6857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6863 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6864 $as_echo "$ac_cv_header_stdc" >&6; }
6865 if test $ac_cv_header_stdc = yes; then
6867 cat >>confdefs.h <<\_ACEOF
6868 #define STDC_HEADERS 1
6873 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6884 inttypes.h stdint.h unistd.h
6886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6888 $as_echo_n "checking for $ac_header... " >&6; }
6889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6890 $as_echo_n "(cached) " >&6
6892 cat >conftest.$ac_ext <<_ACEOF
6895 cat confdefs.h >>conftest.$ac_ext
6896 cat >>conftest.$ac_ext <<_ACEOF
6897 /* end confdefs.h. */
6898 $ac_includes_default
6900 #include <$ac_header>
6902 rm -f conftest.$ac_objext
6903 if { (ac_try="$ac_compile"
6905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6906 *) ac_try_echo=$ac_try;;
6908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6909 $as_echo "$ac_try_echo") >&5
6910 (eval "$ac_compile") 2>conftest.er1
6912 grep -v '^ *+' conftest.er1 >conftest.err
6914 cat conftest.err >&5
6915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); } && {
6917 test -z "$ac_c_werror_flag" ||
6918 test ! -s conftest.err
6919 } && test -s conftest.$ac_objext; then
6920 eval "$as_ac_Header=yes"
6922 $as_echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6925 eval "$as_ac_Header=no"
6928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6930 ac_res=`eval 'as_val=${'$as_ac_Header'}
6931 $as_echo "$as_val"'`
6932 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6933 $as_echo "$ac_res" >&6; }
6934 as_val=`eval 'as_val=${'$as_ac_Header'}
6935 $as_echo "$as_val"'`
6936 if test "x$as_val" = x""yes; then
6937 cat >>confdefs.h <<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 for ac_header in dlfcn.h
6949 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6950 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6951 $as_echo_n "checking for $ac_header... " >&6; }
6952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6953 $as_echo_n "(cached) " >&6
6955 cat >conftest.$ac_ext <<_ACEOF
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 $ac_includes_default
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (ac_try="$ac_compile"
6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969 *) ac_try_echo=$ac_try;;
6971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6972 $as_echo "$ac_try_echo") >&5
6973 (eval "$ac_compile") 2>conftest.er1
6975 grep -v '^ *+' conftest.er1 >conftest.err
6977 cat conftest.err >&5
6978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } && {
6980 test -z "$ac_c_werror_flag" ||
6981 test ! -s conftest.err
6982 } && test -s conftest.$ac_objext; then
6983 eval "$as_ac_Header=yes"
6985 $as_echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6988 eval "$as_ac_Header=no"
6991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6993 ac_res=`eval 'as_val=${'$as_ac_Header'}
6994 $as_echo "$as_val"'`
6995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6996 $as_echo "$ac_res" >&6; }
6997 as_val=`eval 'as_val=${'$as_ac_Header'}
6998 $as_echo "$as_val"'`
6999 if test "x$as_val" = x""yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 # Check whether --enable-shared was given.
7021 if test "${enable_shared+set}" = set; then
7022 enableval=$enable_shared; p=${PACKAGE-default}
7024 yes) enable_shared=yes ;;
7025 no) enable_shared=no ;;
7028 # Look at the argument we got. We use all the common list separators.
7029 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7030 for pkg in $enableval; do
7032 if test "X$pkg" = "X$p"; then
7051 # Check whether --enable-static was given.
7052 if test "${enable_static+set}" = set; then
7053 enableval=$enable_static; p=${PACKAGE-default}
7055 yes) enable_static=yes ;;
7056 no) enable_static=no ;;
7059 # Look at the argument we got. We use all the common list separators.
7060 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7061 for pkg in $enableval; do
7063 if test "X$pkg" = "X$p"; then
7083 # Check whether --with-pic was given.
7084 if test "${with_pic+set}" = set; then
7085 withval=$with_pic; pic_mode="$withval"
7091 test -z "$pic_mode" && pic_mode=default
7099 # Check whether --enable-fast-install was given.
7100 if test "${enable_fast_install+set}" = set; then
7101 enableval=$enable_fast_install; p=${PACKAGE-default}
7103 yes) enable_fast_install=yes ;;
7104 no) enable_fast_install=no ;;
7106 enable_fast_install=no
7107 # Look at the argument we got. We use all the common list separators.
7108 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7109 for pkg in $enableval; do
7111 if test "X$pkg" = "X$p"; then
7112 enable_fast_install=yes
7119 enable_fast_install=yes
7132 # This can be used to rebuild libtool when needed
7133 LIBTOOL_DEPS="$ltmain"
7135 # Always use our own libtool.
7136 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7162 test -z "$LN_S" && LN_S="ln -s"
7177 if test -n "${ZSH_VERSION+set}" ; then
7178 setopt NO_GLOB_SUBST
7181 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7182 $as_echo_n "checking for objdir... " >&6; }
7183 if test "${lt_cv_objdir+set}" = set; then
7184 $as_echo_n "(cached) " >&6
7186 rm -f .libs 2>/dev/null
7187 mkdir .libs 2>/dev/null
7188 if test -d .libs; then
7191 # MS-DOS does not allow filenames that begin with a dot.
7194 rmdir .libs 2>/dev/null
7196 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7197 $as_echo "$lt_cv_objdir" >&6; }
7198 objdir=$lt_cv_objdir
7204 cat >>confdefs.h <<_ACEOF
7205 #define LT_OBJDIR "$lt_cv_objdir/"
7226 # AIX sometimes has problems with the GCC collect2 program. For some
7227 # reason, if we set the COLLECT_NAMES environment variable, the problems
7228 # vanish in a puff of smoke.
7229 if test "X${COLLECT_NAMES+set}" != Xset; then
7231 export COLLECT_NAMES
7236 # Sed substitution that helps us do robust quoting. It backslashifies
7237 # metacharacters that are still active within double-quoted strings.
7238 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7240 # Same as above, but do not quote variable references.
7241 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7243 # Sed substitution to delay expansion of an escaped shell variable in a
7244 # double_quote_subst'ed string.
7245 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7247 # Sed substitution to delay expansion of an escaped single quote.
7248 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7250 # Sed substitution to avoid accidental globbing in evaled expressions
7251 no_glob_subst='s/\*/\\\*/g'
7255 can_build_shared=yes
7257 # All known linkers require a `.a' archive for static linking (except MSVC,
7258 # which needs '.lib').
7261 with_gnu_ld="$lt_cv_prog_gnu_ld"
7264 old_CFLAGS="$CFLAGS"
7266 # Set sane defaults for various variables
7267 test -z "$CC" && CC=cc
7268 test -z "$LTCC" && LTCC=$CC
7269 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7270 test -z "$LD" && LD=ld
7271 test -z "$ac_objext" && ac_objext=o
7273 for cc_temp in $compiler""; do
7275 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7276 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7281 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7284 # Only perform the check for file, if the check method requires it
7285 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7286 case $deplibs_check_method in
7288 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7289 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7290 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7291 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7292 $as_echo_n "(cached) " >&6
7296 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7299 lt_save_MAGIC_CMD="$MAGIC_CMD"
7300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7301 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7302 for ac_dir in $ac_dummy; do
7304 test -z "$ac_dir" && ac_dir=.
7305 if test -f $ac_dir/${ac_tool_prefix}file; then
7306 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7307 if test -n "$file_magic_test_file"; then
7308 case $deplibs_check_method in
7310 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7311 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7312 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7313 $EGREP "$file_magic_regex" > /dev/null; then
7318 *** Warning: the command libtool uses to detect shared libraries,
7319 *** $file_magic_cmd, produces output that libtool cannot recognize.
7320 *** The result is that libtool may fail to recognize shared libraries
7321 *** as such. This will affect the creation of libtool libraries that
7322 *** depend on shared libraries, but programs linked with such libtool
7323 *** libraries will work regardless of this problem. Nevertheless, you
7324 *** may want to report the problem to your system manager and/or to
7325 *** bug-libtool@gnu.org
7335 MAGIC_CMD="$lt_save_MAGIC_CMD"
7340 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7341 if test -n "$MAGIC_CMD"; then
7342 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7343 $as_echo "$MAGIC_CMD" >&6; }
7345 { $as_echo "$as_me:$LINENO: result: no" >&5
7346 $as_echo "no" >&6; }
7353 if test -z "$lt_cv_path_MAGIC_CMD"; then
7354 if test -n "$ac_tool_prefix"; then
7355 { $as_echo "$as_me:$LINENO: checking for file" >&5
7356 $as_echo_n "checking for file... " >&6; }
7357 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7358 $as_echo_n "(cached) " >&6
7362 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7365 lt_save_MAGIC_CMD="$MAGIC_CMD"
7366 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7367 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7368 for ac_dir in $ac_dummy; do
7370 test -z "$ac_dir" && ac_dir=.
7371 if test -f $ac_dir/file; then
7372 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7373 if test -n "$file_magic_test_file"; then
7374 case $deplibs_check_method in
7376 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7377 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7378 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7379 $EGREP "$file_magic_regex" > /dev/null; then
7384 *** Warning: the command libtool uses to detect shared libraries,
7385 *** $file_magic_cmd, produces output that libtool cannot recognize.
7386 *** The result is that libtool may fail to recognize shared libraries
7387 *** as such. This will affect the creation of libtool libraries that
7388 *** depend on shared libraries, but programs linked with such libtool
7389 *** libraries will work regardless of this problem. Nevertheless, you
7390 *** may want to report the problem to your system manager and/or to
7391 *** bug-libtool@gnu.org
7401 MAGIC_CMD="$lt_save_MAGIC_CMD"
7406 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7407 if test -n "$MAGIC_CMD"; then
7408 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7409 $as_echo "$MAGIC_CMD" >&6; }
7411 { $as_echo "$as_me:$LINENO: result: no" >&5
7412 $as_echo "no" >&6; }
7425 # Use C for the default configuration in the libtool script
7429 ac_cpp='$CPP $CPPFLAGS'
7430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7435 # Source file extension for C test sources.
7438 # Object file extension for compiled C test sources.
7442 # Code to be used in simple compile tests
7443 lt_simple_compile_test_code="int some_variable = 0;"
7445 # Code to be used in simple link tests
7446 lt_simple_link_test_code='int main(){return(0);}'
7454 # If no C compiler was specified, use CC.
7457 # If no C compiler flags were specified, use CFLAGS.
7458 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7460 # Allow CC to be a program name with arguments.
7463 # Save the default compiler, since it gets overwritten when the other
7464 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7465 compiler_DEFAULT=$CC
7467 # save warnings/boilerplate of simple test code
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7470 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7471 _lt_compiler_boilerplate=`cat conftest.err`
7474 ac_outfile=conftest.$ac_objext
7475 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7476 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7477 _lt_linker_boilerplate=`cat conftest.err`
7481 if test -n "$compiler"; then
7483 lt_prog_compiler_no_builtin_flag=
7485 if test "$GCC" = yes; then
7486 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7488 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7489 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7490 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7491 $as_echo_n "(cached) " >&6
7493 lt_cv_prog_compiler_rtti_exceptions=no
7494 ac_outfile=conftest.$ac_objext
7495 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7496 lt_compiler_flag="-fno-rtti -fno-exceptions"
7497 # Insert the option either (1) after the last *FLAGS variable, or
7498 # (2) before a word containing "conftest.", or (3) at the end.
7499 # Note that $ac_compile itself does not contain backslashes and begins
7500 # with a dollar sign (not a hyphen), so the echo should work correctly.
7501 # The option is referenced via a variable to avoid confusing sed.
7502 lt_compile=`echo "$ac_compile" | $SED \
7503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7505 -e 's:$: $lt_compiler_flag:'`
7506 (eval echo "\"\$as_me:7506: $lt_compile\"" >&5)
7507 (eval "$lt_compile" 2>conftest.err)
7509 cat conftest.err >&5
7510 echo "$as_me:7510: \$? = $ac_status" >&5
7511 if (exit $ac_status) && test -s "$ac_outfile"; then
7512 # The compiler can only warn and ignore the option if not recognized
7513 # So say no if there are warnings other than the usual output.
7514 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7515 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7516 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7517 lt_cv_prog_compiler_rtti_exceptions=yes
7523 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7524 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7526 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7527 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7539 lt_prog_compiler_wl=
7540 lt_prog_compiler_pic=
7541 lt_prog_compiler_static=
7543 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7544 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7546 if test "$GCC" = yes; then
7547 lt_prog_compiler_wl='-Wl,'
7548 lt_prog_compiler_static='-static'
7552 # All AIX code is PIC.
7553 if test "$host_cpu" = ia64; then
7554 # AIX 5 now supports IA64 processor
7555 lt_prog_compiler_static='-Bstatic'
7562 # see comment about AmigaOS4 .so support
7563 lt_prog_compiler_pic='-fPIC'
7566 # FIXME: we need at least 68020 code to build shared libraries, but
7567 # adding the `-m68020' flag to GCC prevents building anything better,
7569 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7574 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7575 # PIC is the default for these OSes.
7578 mingw* | cygwin* | pw32* | os2* | cegcc*)
7579 # This hack is so that the source file can tell whether it is being
7580 # built for inclusion in a dll (and should export symbols for example).
7581 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7582 # (--disable-auto-import) libraries
7583 lt_prog_compiler_pic='-DDLL_EXPORT'
7586 darwin* | rhapsody*)
7587 # PIC is the default on this platform
7588 # Common symbols not allowed in MH_DYLIB files
7589 lt_prog_compiler_pic='-fno-common'
7593 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7594 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7595 # sets the default TLS model and affects inlining.
7601 lt_prog_compiler_pic='-fPIC'
7607 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7608 # Instead, we relocate shared libraries at runtime.
7612 # Just because we use GCC doesn't mean we suddenly get shared libraries
7613 # on systems that don't support them.
7614 lt_prog_compiler_can_build_shared=no
7619 # QNX uses GNU C++, but need to define -shared option too, otherwise
7621 lt_prog_compiler_pic='-fPIC -shared'
7625 if test -d /usr/nec; then
7626 lt_prog_compiler_pic=-Kconform_pic
7631 lt_prog_compiler_pic='-fPIC'
7635 # PORTME Check for flag to pass linker flags through the system compiler.
7638 lt_prog_compiler_wl='-Wl,'
7639 if test "$host_cpu" = ia64; then
7640 # AIX 5 now supports IA64 processor
7641 lt_prog_compiler_static='-Bstatic'
7643 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7647 mingw* | cygwin* | pw32* | os2* | cegcc*)
7648 # This hack is so that the source file can tell whether it is being
7649 # built for inclusion in a dll (and should export symbols for example).
7650 lt_prog_compiler_pic='-DDLL_EXPORT'
7653 hpux9* | hpux10* | hpux11*)
7654 lt_prog_compiler_wl='-Wl,'
7655 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7662 lt_prog_compiler_pic='+Z'
7665 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7666 lt_prog_compiler_static='${wl}-a ${wl}archive'
7669 irix5* | irix6* | nonstopux*)
7670 lt_prog_compiler_wl='-Wl,'
7671 # PIC (with -KPIC) is the default.
7672 lt_prog_compiler_static='-non_shared'
7675 linux* | k*bsd*-gnu)
7676 case $cc_basename in
7677 # old Intel for x86_64 which still supported -KPIC.
7679 lt_prog_compiler_wl='-Wl,'
7680 lt_prog_compiler_pic='-KPIC'
7681 lt_prog_compiler_static='-static'
7683 # icc used to be incompatible with GCC.
7684 # ICC 10 doesn't accept -KPIC any more.
7686 lt_prog_compiler_wl='-Wl,'
7687 lt_prog_compiler_pic='-fPIC'
7688 lt_prog_compiler_static='-static'
7690 # Lahey Fortran 8.1.
7692 lt_prog_compiler_wl='-Wl,'
7693 lt_prog_compiler_pic='--shared'
7694 lt_prog_compiler_static='--static'
7696 pgcc* | pgf77* | pgf90* | pgf95*)
7697 # Portland Group compilers (*not* the Pentium gcc compiler,
7698 # which looks to be a dead project)
7699 lt_prog_compiler_wl='-Wl,'
7700 lt_prog_compiler_pic='-fpic'
7701 lt_prog_compiler_static='-Bstatic'
7704 lt_prog_compiler_wl='-Wl,'
7705 # All Alpha code is PIC.
7706 lt_prog_compiler_static='-non_shared'
7709 # IBM XL C 8.0/Fortran 10.1 on PPC
7710 lt_prog_compiler_wl='-Wl,'
7711 lt_prog_compiler_pic='-qpic'
7712 lt_prog_compiler_static='-qstaticlink'
7715 case `$CC -V 2>&1 | sed 5q` in
7718 lt_prog_compiler_pic='-KPIC'
7719 lt_prog_compiler_static='-Bstatic'
7720 lt_prog_compiler_wl='-Wl,'
7723 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7724 lt_prog_compiler_pic='-KPIC'
7725 lt_prog_compiler_static='-Bstatic'
7726 lt_prog_compiler_wl=''
7734 lt_prog_compiler_pic='-KPIC'
7735 lt_prog_compiler_static='-Bstatic'
7739 # QNX uses GNU C++, but need to define -shared option too, otherwise
7741 lt_prog_compiler_pic='-fPIC -shared'
7744 osf3* | osf4* | osf5*)
7745 lt_prog_compiler_wl='-Wl,'
7746 # All OSF/1 code is PIC.
7747 lt_prog_compiler_static='-non_shared'
7751 lt_prog_compiler_static='-non_shared'
7755 lt_prog_compiler_pic='-KPIC'
7756 lt_prog_compiler_static='-Bstatic'
7757 case $cc_basename in
7759 lt_prog_compiler_wl='-Qoption ld ';;
7761 lt_prog_compiler_wl='-Wl,';;
7766 lt_prog_compiler_wl='-Qoption ld '
7767 lt_prog_compiler_pic='-PIC'
7768 lt_prog_compiler_static='-Bstatic'
7771 sysv4 | sysv4.2uw2* | sysv4.3*)
7772 lt_prog_compiler_wl='-Wl,'
7773 lt_prog_compiler_pic='-KPIC'
7774 lt_prog_compiler_static='-Bstatic'
7778 if test -d /usr/nec ;then
7779 lt_prog_compiler_pic='-Kconform_pic'
7780 lt_prog_compiler_static='-Bstatic'
7784 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7785 lt_prog_compiler_wl='-Wl,'
7786 lt_prog_compiler_pic='-KPIC'
7787 lt_prog_compiler_static='-Bstatic'
7791 lt_prog_compiler_wl='-Wl,'
7792 lt_prog_compiler_can_build_shared=no
7796 lt_prog_compiler_pic='-pic'
7797 lt_prog_compiler_static='-Bstatic'
7801 lt_prog_compiler_can_build_shared=no
7807 # For platforms which do not support PIC, -DPIC is meaningless:
7809 lt_prog_compiler_pic=
7812 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7815 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7816 $as_echo "$lt_prog_compiler_pic" >&6; }
7824 # Check to make sure the PIC flag actually works.
7826 if test -n "$lt_prog_compiler_pic"; then
7827 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7828 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7829 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7830 $as_echo_n "(cached) " >&6
7832 lt_cv_prog_compiler_pic_works=no
7833 ac_outfile=conftest.$ac_objext
7834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7835 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7836 # Insert the option either (1) after the last *FLAGS variable, or
7837 # (2) before a word containing "conftest.", or (3) at the end.
7838 # Note that $ac_compile itself does not contain backslashes and begins
7839 # with a dollar sign (not a hyphen), so the echo should work correctly.
7840 # The option is referenced via a variable to avoid confusing sed.
7841 lt_compile=`echo "$ac_compile" | $SED \
7842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7844 -e 's:$: $lt_compiler_flag:'`
7845 (eval echo "\"\$as_me:7845: $lt_compile\"" >&5)
7846 (eval "$lt_compile" 2>conftest.err)
7848 cat conftest.err >&5
7849 echo "$as_me:7849: \$? = $ac_status" >&5
7850 if (exit $ac_status) && test -s "$ac_outfile"; then
7851 # The compiler can only warn and ignore the option if not recognized
7852 # So say no if there are warnings other than the usual output.
7853 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7854 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7855 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7856 lt_cv_prog_compiler_pic_works=yes
7862 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7863 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7865 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7866 case $lt_prog_compiler_pic in
7868 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7871 lt_prog_compiler_pic=
7872 lt_prog_compiler_can_build_shared=no
7883 # Check to make sure the static flag actually works.
7885 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7886 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7887 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7888 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7889 $as_echo_n "(cached) " >&6
7891 lt_cv_prog_compiler_static_works=no
7892 save_LDFLAGS="$LDFLAGS"
7893 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7896 # The linker can only warn and ignore the option if not recognized
7897 # So say no if there are warnings
7898 if test -s conftest.err; then
7899 # Append any errors to the config.log.
7900 cat conftest.err 1>&5
7901 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7903 if diff conftest.exp conftest.er2 >/dev/null; then
7904 lt_cv_prog_compiler_static_works=yes
7907 lt_cv_prog_compiler_static_works=yes
7911 LDFLAGS="$save_LDFLAGS"
7914 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7915 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7917 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7920 lt_prog_compiler_static=
7929 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7930 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7931 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7932 $as_echo_n "(cached) " >&6
7934 lt_cv_prog_compiler_c_o=no
7935 $RM -r conftest 2>/dev/null
7939 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7941 lt_compiler_flag="-o out/conftest2.$ac_objext"
7942 # Insert the option either (1) after the last *FLAGS variable, or
7943 # (2) before a word containing "conftest.", or (3) at the end.
7944 # Note that $ac_compile itself does not contain backslashes and begins
7945 # with a dollar sign (not a hyphen), so the echo should work correctly.
7946 lt_compile=`echo "$ac_compile" | $SED \
7947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7949 -e 's:$: $lt_compiler_flag:'`
7950 (eval echo "\"\$as_me:7950: $lt_compile\"" >&5)
7951 (eval "$lt_compile" 2>out/conftest.err)
7953 cat out/conftest.err >&5
7954 echo "$as_me:7954: \$? = $ac_status" >&5
7955 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7957 # The compiler can only warn and ignore the option if not recognized
7958 # So say no if there are warnings
7959 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7960 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7961 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7962 lt_cv_prog_compiler_c_o=yes
7967 # SGI C++ compiler will create directory out/ii_files/ for
7968 # template instantiation
7969 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7970 $RM out/* && rmdir out
7976 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7977 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7984 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7986 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7987 $as_echo_n "(cached) " >&6
7989 lt_cv_prog_compiler_c_o=no
7990 $RM -r conftest 2>/dev/null
7994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7996 lt_compiler_flag="-o out/conftest2.$ac_objext"
7997 # Insert the option either (1) after the last *FLAGS variable, or
7998 # (2) before a word containing "conftest.", or (3) at the end.
7999 # Note that $ac_compile itself does not contain backslashes and begins
8000 # with a dollar sign (not a hyphen), so the echo should work correctly.
8001 lt_compile=`echo "$ac_compile" | $SED \
8002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8004 -e 's:$: $lt_compiler_flag:'`
8005 (eval echo "\"\$as_me:8005: $lt_compile\"" >&5)
8006 (eval "$lt_compile" 2>out/conftest.err)
8008 cat out/conftest.err >&5
8009 echo "$as_me:8009: \$? = $ac_status" >&5
8010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8012 # The compiler can only warn and ignore the option if not recognized
8013 # So say no if there are warnings
8014 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8017 lt_cv_prog_compiler_c_o=yes
8022 # SGI C++ compiler will create directory out/ii_files/ for
8023 # template instantiation
8024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8025 $RM out/* && rmdir out
8031 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8032 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8037 hard_links="nottested"
8038 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8039 # do not overwrite the value of need_locks provided by the user
8040 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8041 $as_echo_n "checking if we can lock with hard links... " >&6; }
8044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8046 ln conftest.a conftest.b 2>&5 || hard_links=no
8047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8048 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8049 $as_echo "$hard_links" >&6; }
8050 if test "$hard_links" = no; then
8051 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8064 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8065 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8068 allow_undefined_flag=
8069 always_export_symbols=no
8071 archive_expsym_cmds=
8072 compiler_needs_object=no
8073 enable_shared_with_static_runtimes=no
8074 export_dynamic_flag_spec=
8075 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8076 hardcode_automatic=no
8078 hardcode_direct_absolute=no
8079 hardcode_libdir_flag_spec=
8080 hardcode_libdir_flag_spec_ld=
8081 hardcode_libdir_separator=
8083 hardcode_shlibpath_var=unsupported
8085 link_all_deplibs=unknown
8088 old_archive_from_new_cmds=
8089 old_archive_from_expsyms_cmds=
8090 thread_safe_flag_spec=
8091 whole_archive_flag_spec=
8092 # include_expsyms should be a list of space-separated symbols to be *always*
8093 # included in the symbol list
8095 # exclude_expsyms can be an extended regexp of symbols to exclude
8096 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8097 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8098 # as well as any symbol that contains `d'.
8099 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8100 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8101 # platforms (ab)use it in PIC code, but their linkers get confused if
8102 # the symbol is explicitly referenced. Since portable code cannot
8103 # rely on this symbol name, it's probably fine to never include it in
8104 # preloaded symbol tables.
8105 # Exclude shared library initialization/finalization symbols.
8106 extract_expsyms_cmds=
8109 cygwin* | mingw* | pw32* | cegcc*)
8110 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8111 # When not using gcc, we currently assume that we are using
8112 # Microsoft Visual C++.
8113 if test "$GCC" != yes; then
8118 # we just hope/assume this is gcc and not c89 (= MSVC++)
8124 linux* | k*bsd*-gnu)
8130 if test "$with_gnu_ld" = yes; then
8131 # If archive_cmds runs LD, not CC, wlarc should be empty
8134 # Set some defaults for GNU ld with shared library support. These
8135 # are reset later if shared libraries are not supported. Putting them
8136 # here allows them to be overridden if necessary.
8137 runpath_var=LD_RUN_PATH
8138 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8139 export_dynamic_flag_spec='${wl}--export-dynamic'
8140 # ancient GNU ld didn't support --whole-archive et. al.
8141 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8142 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8144 whole_archive_flag_spec=
8146 supports_anon_versioning=no
8147 case `$LD -v 2>&1` in
8148 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8149 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8150 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8151 *\ 2.11.*) ;; # other 2.11 versions
8152 *) supports_anon_versioning=yes ;;
8155 # See if GNU ld supports shared libraries.
8158 # On AIX/PPC, the GNU linker is very broken
8159 if test "$host_cpu" != ia64; then
8163 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8164 *** to be unable to reliably create shared libraries on AIX.
8165 *** Therefore, libtool is disabling shared libraries support. If you
8166 *** really care for shared libraries, you may want to modify your PATH
8167 *** so that a non-GNU linker is found, and then restart.
8176 # see comment about AmigaOS4 .so support
8177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8178 archive_expsym_cmds=''
8181 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)'
8182 hardcode_libdir_flag_spec='-L$libdir'
8183 hardcode_minus_L=yes
8189 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8190 allow_undefined_flag=unsupported
8191 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8192 # support --undefined. This deserves some investigation. FIXME
8193 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8199 cygwin* | mingw* | pw32* | cegcc*)
8200 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8201 # as there is no search path for DLLs.
8202 hardcode_libdir_flag_spec='-L$libdir'
8203 allow_undefined_flag=unsupported
8204 always_export_symbols=no
8205 enable_shared_with_static_runtimes=yes
8206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8210 # If the export-symbols file already is a .def file (1st line
8211 # is EXPORTS), use it as is; otherwise, prepend...
8212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8213 cp $export_symbols $output_objdir/$soname.def;
8215 echo EXPORTS > $output_objdir/$soname.def;
8216 cat $export_symbols >> $output_objdir/$soname.def;
8218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8226 hardcode_shlibpath_var=no
8227 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8228 export_dynamic_flag_spec='${wl}-E'
8229 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8230 # Instead, shared libraries are loaded at an image base (0x10000000 by
8231 # default) and relocated if they conflict, which is a slow very memory
8232 # consuming and fragmenting process. To avoid this, we pick a random,
8233 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8234 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8235 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8236 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'
8239 gnu* | linux* | tpf* | k*bsd*-gnu)
8241 if test "$host_os" = linux-dietlibc; then
8242 case $cc_basename in
8243 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8246 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8247 && test "$tmp_diet" = no
8250 tmp_sharedflag='-shared'
8251 case $cc_basename,$host_cpu in
8252 pgcc*) # Portland Group C compiler
8253 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'
8254 tmp_addflag=' $pic_flag'
8256 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8257 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'
8258 tmp_addflag=' $pic_flag -Mnomain' ;;
8259 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8260 tmp_addflag=' -i_dynamic' ;;
8261 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8262 tmp_addflag=' -i_dynamic -nofor_main' ;;
8263 ifc* | ifort*) # Intel Fortran compiler
8264 tmp_addflag=' -nofor_main' ;;
8265 lf95*) # Lahey Fortran 8.1
8266 whole_archive_flag_spec=
8267 tmp_sharedflag='--shared' ;;
8268 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8269 tmp_sharedflag='-qmkshrobj'
8272 case `$CC -V 2>&1 | sed 5q` in
8273 *Sun\ C*) # Sun C 5.9
8274 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'
8275 compiler_needs_object=yes
8276 tmp_sharedflag='-G' ;;
8277 *Sun\ F*) # Sun Fortran 8.3
8278 tmp_sharedflag='-G' ;;
8280 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8282 if test "x$supports_anon_versioning" = xyes; then
8283 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8284 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8285 echo "local: *; };" >> $output_objdir/$libname.ver~
8286 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8289 case $cc_basename in
8291 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8292 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8293 hardcode_libdir_flag_spec=
8294 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8295 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8296 if test "x$supports_anon_versioning" = xyes; then
8297 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8299 echo "local: *; };" >> $output_objdir/$libname.ver~
8300 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8309 netbsd* | netbsdelf*-gnu)
8310 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8311 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8314 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8315 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8320 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8324 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8325 *** create shared libraries on Solaris systems. Therefore, libtool
8326 *** is disabling shared libraries support. We urge you to upgrade GNU
8327 *** binutils to release 2.9.1 or newer. Another option is to modify
8328 *** your PATH or compiler configuration so that the native linker is
8329 *** used, and then restart.
8332 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8334 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8341 case `$LD -v 2>&1` in
8342 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8346 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8347 *** reliably create shared libraries on SCO systems. Therefore, libtool
8348 *** is disabling shared libraries support. We urge you to upgrade GNU
8349 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8350 *** your PATH or compiler configuration so that the native linker is
8351 *** used, and then restart.
8356 # For security reasons, it is highly recommended that you always
8357 # use absolute paths for naming shared libraries, and exclude the
8358 # DT_RUNPATH tag from executables and libraries. But doing so
8359 # requires that you compile everything twice, which is a pain.
8360 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8361 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8372 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8375 hardcode_shlibpath_var=no
8379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8380 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8381 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8388 if test "$ld_shlibs" = no; then
8390 hardcode_libdir_flag_spec=
8391 export_dynamic_flag_spec=
8392 whole_archive_flag_spec=
8395 # PORTME fill in a description of your system's linker (not GNU ld)
8398 allow_undefined_flag=unsupported
8399 always_export_symbols=yes
8400 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'
8401 # Note: this linker hardcodes the directories in LIBPATH if there
8402 # are no directories specified by -L.
8403 hardcode_minus_L=yes
8404 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8405 # Neither direct hardcoding nor static linking is supported with a
8407 hardcode_direct=unsupported
8412 if test "$host_cpu" = ia64; then
8413 # On IA64, the linker does run time linking by default, so we don't
8414 # have to do anything special.
8415 aix_use_runtimelinking=no
8416 exp_sym_flag='-Bexport'
8419 # If we're using GNU nm, then we don't want the "-C" option.
8420 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8421 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8422 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'
8424 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'
8426 aix_use_runtimelinking=no
8428 # Test if we are trying to use run time linking or normal
8429 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8430 # need to do runtime linking.
8431 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8432 for ld_flag in $LDFLAGS; do
8433 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8434 aix_use_runtimelinking=yes
8441 exp_sym_flag='-bexport'
8442 no_entry_flag='-bnoentry'
8445 # When large executables or shared objects are built, AIX ld can
8446 # have problems creating the table of contents. If linking a library
8447 # or program results in "error TOC overflow" add -mminimal-toc to
8448 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8449 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8453 hardcode_direct_absolute=yes
8454 hardcode_libdir_separator=':'
8455 link_all_deplibs=yes
8456 file_list_spec='${wl}-f,'
8458 if test "$GCC" = yes; then
8459 case $host_os in aix4.[012]|aix4.[012].*)
8460 # We only want to do this on AIX 4.2 and lower, the check
8461 # below for broken collect2 doesn't work under 4.3+
8462 collect2name=`${CC} -print-prog-name=collect2`
8463 if test -f "$collect2name" &&
8464 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8466 # We have reworked collect2
8469 # We have old collect2
8470 hardcode_direct=unsupported
8471 # It fails to find uninstalled libraries when the uninstalled
8472 # path is not listed in the libpath. Setting hardcode_minus_L
8473 # to unsupported forces relinking
8474 hardcode_minus_L=yes
8475 hardcode_libdir_flag_spec='-L$libdir'
8476 hardcode_libdir_separator=
8480 shared_flag='-shared'
8481 if test "$aix_use_runtimelinking" = yes; then
8482 shared_flag="$shared_flag "'${wl}-G'
8487 if test "$host_cpu" = ia64; then
8488 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8489 # chokes on -Wl,-G. The following line is correct:
8492 if test "$aix_use_runtimelinking" = yes; then
8493 shared_flag='${wl}-G'
8495 shared_flag='${wl}-bM:SRE'
8500 export_dynamic_flag_spec='${wl}-bexpall'
8501 # It seems that -bexpall does not export symbols beginning with
8502 # underscore (_), so it is better to generate a list of symbols to export.
8503 always_export_symbols=yes
8504 if test "$aix_use_runtimelinking" = yes; then
8505 # Warning - without using the other runtime loading flags (-brtl),
8506 # -berok will link without error, but may produce a broken library.
8507 allow_undefined_flag='-berok'
8508 # Determine the default libpath from the value encoded in an
8510 cat >conftest.$ac_ext <<_ACEOF
8513 cat confdefs.h >>conftest.$ac_ext
8514 cat >>conftest.$ac_ext <<_ACEOF
8515 /* end confdefs.h. */
8525 rm -f conftest.$ac_objext conftest$ac_exeext
8526 if { (ac_try="$ac_link"
8528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8529 *) ac_try_echo=$ac_try;;
8531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8532 $as_echo "$ac_try_echo") >&5
8533 (eval "$ac_link") 2>conftest.er1
8535 grep -v '^ *+' conftest.er1 >conftest.err
8537 cat conftest.err >&5
8538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } && {
8540 test -z "$ac_c_werror_flag" ||
8541 test ! -s conftest.err
8542 } && test -s conftest$ac_exeext && {
8543 test "$cross_compiling" = yes ||
8544 $as_test_x conftest$ac_exeext
8547 lt_aix_libpath_sed='
8548 /Import File Strings/,/^$/ {
8554 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8555 # Check for a 64-bit object if we didn't find anything.
8556 if test -z "$aix_libpath"; then
8557 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8560 $as_echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.$ac_ext >&5
8566 rm -rf conftest.dSYM
8567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8568 conftest$ac_exeext conftest.$ac_ext
8569 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8571 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8572 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"
8574 if test "$host_cpu" = ia64; then
8575 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8576 allow_undefined_flag="-z nodefs"
8577 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"
8579 # Determine the default libpath from the value encoded in an
8581 cat >conftest.$ac_ext <<_ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8596 rm -f conftest.$ac_objext conftest$ac_exeext
8597 if { (ac_try="$ac_link"
8599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8600 *) ac_try_echo=$ac_try;;
8602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8603 $as_echo "$ac_try_echo") >&5
8604 (eval "$ac_link") 2>conftest.er1
8606 grep -v '^ *+' conftest.er1 >conftest.err
8608 cat conftest.err >&5
8609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } && {
8611 test -z "$ac_c_werror_flag" ||
8612 test ! -s conftest.err
8613 } && test -s conftest$ac_exeext && {
8614 test "$cross_compiling" = yes ||
8615 $as_test_x conftest$ac_exeext
8618 lt_aix_libpath_sed='
8619 /Import File Strings/,/^$/ {
8625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8626 # Check for a 64-bit object if we didn't find anything.
8627 if test -z "$aix_libpath"; then
8628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8631 $as_echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8637 rm -rf conftest.dSYM
8638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8639 conftest$ac_exeext conftest.$ac_ext
8640 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8642 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8643 # Warning - without using the other run time loading flags,
8644 # -berok will link without error, but may produce a broken library.
8645 no_undefined_flag=' ${wl}-bernotok'
8646 allow_undefined_flag=' ${wl}-berok'
8647 # Exported symbols can be pulled into shared objects from archives
8648 whole_archive_flag_spec='$convenience'
8649 archive_cmds_need_lc=yes
8650 # This is similar to how AIX traditionally builds its shared libraries.
8651 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'
8659 # see comment about AmigaOS4 .so support
8660 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8661 archive_expsym_cmds=''
8664 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)'
8665 hardcode_libdir_flag_spec='-L$libdir'
8666 hardcode_minus_L=yes
8672 export_dynamic_flag_spec=-rdynamic
8675 cygwin* | mingw* | pw32* | cegcc*)
8676 # When not using gcc, we currently assume that we are using
8677 # Microsoft Visual C++.
8678 # hardcode_libdir_flag_spec is actually meaningless, as there is
8679 # no search path for DLLs.
8680 hardcode_libdir_flag_spec=' '
8681 allow_undefined_flag=unsupported
8682 # Tell ltmain to make .lib files, not .a files.
8684 # Tell ltmain to make .dll files, not .so files.
8686 # FIXME: Setting linknames here is a bad hack.
8687 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8688 # The linker will automatically build a .lib file if we build a DLL.
8689 old_archive_from_new_cmds='true'
8690 # FIXME: Should let the user specify the lib program.
8691 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8692 fix_srcfile_path='`cygpath -w "$srcfile"`'
8693 enable_shared_with_static_runtimes=yes
8696 darwin* | rhapsody*)
8699 archive_cmds_need_lc=no
8701 hardcode_automatic=yes
8702 hardcode_shlibpath_var=unsupported
8703 whole_archive_flag_spec=''
8704 link_all_deplibs=yes
8705 allow_undefined_flag="$_lt_dar_allow_undefined"
8706 case $cc_basename in
8707 ifort*) _lt_dar_can_shared=yes ;;
8708 *) _lt_dar_can_shared=$GCC ;;
8710 if test "$_lt_dar_can_shared" = "yes"; then
8711 output_verbose_link_cmd=echo
8712 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8713 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8714 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}"
8715 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}"
8724 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8725 hardcode_libdir_flag_spec='-L$libdir'
8726 hardcode_shlibpath_var=no
8733 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8734 # support. Future versions do this automatically, but an explicit c++rt0.o
8735 # does not break anything, and helps significantly (at the cost of a little
8738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8739 hardcode_libdir_flag_spec='-R$libdir'
8741 hardcode_shlibpath_var=no
8744 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8746 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8748 hardcode_minus_L=yes
8749 hardcode_shlibpath_var=no
8752 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8753 freebsd* | dragonfly*)
8754 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8755 hardcode_libdir_flag_spec='-R$libdir'
8757 hardcode_shlibpath_var=no
8761 if test "$GCC" = yes; then
8762 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'
8764 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'
8766 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8767 hardcode_libdir_separator=:
8770 # hardcode_minus_L: Not really in the search PATH,
8771 # but as the default location of the library.
8772 hardcode_minus_L=yes
8773 export_dynamic_flag_spec='${wl}-E'
8777 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8778 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8780 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8782 if test "$with_gnu_ld" = no; then
8783 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8784 hardcode_libdir_flag_spec_ld='+b $libdir'
8785 hardcode_libdir_separator=:
8787 hardcode_direct_absolute=yes
8788 export_dynamic_flag_spec='${wl}-E'
8789 # hardcode_minus_L: Not really in the search PATH,
8790 # but as the default location of the library.
8791 hardcode_minus_L=yes
8796 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8799 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8802 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8805 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8811 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8814 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8817 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8821 if test "$with_gnu_ld" = no; then
8822 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8823 hardcode_libdir_separator=:
8828 hardcode_shlibpath_var=no
8832 hardcode_direct_absolute=yes
8833 export_dynamic_flag_spec='${wl}-E'
8835 # hardcode_minus_L: Not really in the search PATH,
8836 # but as the default location of the library.
8837 hardcode_minus_L=yes
8843 irix5* | irix6* | nonstopux*)
8844 if test "$GCC" = yes; then
8845 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'
8846 # Try to use the -exported_symbol ld option, if it does not
8847 # work, assume that -exports_file does not work either and
8848 # implicitly export all symbols.
8849 save_LDFLAGS="$LDFLAGS"
8850 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8851 cat >conftest.$ac_ext <<_ACEOF
8854 rm -f conftest.$ac_objext conftest$ac_exeext
8855 if { (ac_try="$ac_link"
8857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8858 *) ac_try_echo=$ac_try;;
8860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8861 $as_echo "$ac_try_echo") >&5
8862 (eval "$ac_link") 2>conftest.er1
8864 grep -v '^ *+' conftest.er1 >conftest.err
8866 cat conftest.err >&5
8867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext && {
8872 test "$cross_compiling" = yes ||
8873 $as_test_x conftest$ac_exeext
8875 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'
8878 $as_echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.$ac_ext >&5
8884 rm -rf conftest.dSYM
8885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8886 conftest$ac_exeext conftest.$ac_ext
8887 LDFLAGS="$save_LDFLAGS"
8889 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'
8890 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'
8892 archive_cmds_need_lc='no'
8893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8894 hardcode_libdir_separator=:
8896 link_all_deplibs=yes
8899 netbsd* | netbsdelf*-gnu)
8900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8903 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8905 hardcode_libdir_flag_spec='-R$libdir'
8907 hardcode_shlibpath_var=no
8911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8913 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8914 hardcode_libdir_separator=:
8915 hardcode_shlibpath_var=no
8922 if test -f /usr/libexec/ld.so; then
8924 hardcode_shlibpath_var=no
8925 hardcode_direct_absolute=yes
8926 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8928 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8930 export_dynamic_flag_spec='${wl}-E'
8933 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8935 hardcode_libdir_flag_spec='-R$libdir'
8938 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8939 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8949 hardcode_libdir_flag_spec='-L$libdir'
8950 hardcode_minus_L=yes
8951 allow_undefined_flag=unsupported
8952 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'
8953 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8957 if test "$GCC" = yes; then
8958 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8959 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'
8961 allow_undefined_flag=' -expect_unresolved \*'
8962 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'
8964 archive_cmds_need_lc='no'
8965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8966 hardcode_libdir_separator=:
8969 osf4* | osf5*) # as osf3* with the addition of -msym flag
8970 if test "$GCC" = yes; then
8971 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8972 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'
8973 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8975 allow_undefined_flag=' -expect_unresolved \*'
8976 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'
8977 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~
8978 $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'
8980 # Both c and cxx compiler support -rpath directly
8981 hardcode_libdir_flag_spec='-rpath $libdir'
8983 archive_cmds_need_lc='no'
8984 hardcode_libdir_separator=:
8988 no_undefined_flag=' -z defs'
8989 if test "$GCC" = yes; then
8991 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8992 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8993 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8995 case `$CC -V 2>&1` in
8998 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9000 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9004 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9005 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9006 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9010 hardcode_libdir_flag_spec='-R$libdir'
9011 hardcode_shlibpath_var=no
9013 solaris2.[0-5] | solaris2.[0-5].*) ;;
9015 # The compiler driver will combine and reorder linker options,
9016 # but understands `-z linker_flag'. GCC discards it without `$wl',
9017 # but is careful enough not to reorder.
9018 # Supported since Solaris 2.6 (maybe 2.5.1?)
9019 if test "$GCC" = yes; then
9020 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9022 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9026 link_all_deplibs=yes
9030 if test "x$host_vendor" = xsequent; then
9031 # Use $CC to link under sequent, because it throws in some extra .o
9032 # files that make .init and .fini sections work.
9033 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9035 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9037 hardcode_libdir_flag_spec='-L$libdir'
9039 hardcode_minus_L=yes
9040 hardcode_shlibpath_var=no
9044 case $host_vendor in
9046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_direct=yes # is this really true???
9050 ## LD is ld it makes a PLAMLIB
9051 ## CC just makes a GrossModule.
9052 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9053 reload_cmds='$CC -r -o $output$reload_objs'
9057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9058 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9061 runpath_var='LD_RUN_PATH'
9062 hardcode_shlibpath_var=no
9066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9067 hardcode_shlibpath_var=no
9068 export_dynamic_flag_spec='-Bexport'
9072 if test -d /usr/nec; then
9073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9074 hardcode_shlibpath_var=no
9075 runpath_var=LD_RUN_PATH
9076 hardcode_runpath_var=yes
9081 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9082 no_undefined_flag='${wl}-z,text'
9083 archive_cmds_need_lc=no
9084 hardcode_shlibpath_var=no
9085 runpath_var='LD_RUN_PATH'
9087 if test "$GCC" = yes; then
9088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9096 sysv5* | sco3.2v5* | sco5v6*)
9097 # Note: We can NOT use -z defs as we might desire, because we do not
9098 # link with -lc, and that would cause any symbols used from libc to
9099 # always be unresolved, which means just about no library would
9100 # ever link correctly. If we're not using GNU ld we use -z text
9101 # though, which does catch some bad symbols but isn't as heavy-handed
9103 no_undefined_flag='${wl}-z,text'
9104 allow_undefined_flag='${wl}-z,nodefs'
9105 archive_cmds_need_lc=no
9106 hardcode_shlibpath_var=no
9107 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9108 hardcode_libdir_separator=':'
9109 link_all_deplibs=yes
9110 export_dynamic_flag_spec='${wl}-Bexport'
9111 runpath_var='LD_RUN_PATH'
9113 if test "$GCC" = yes; then
9114 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9124 hardcode_libdir_flag_spec='-L$libdir'
9125 hardcode_shlibpath_var=no
9133 if test x$host_vendor = xsni; then
9135 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9136 export_dynamic_flag_spec='${wl}-Blargedynsym'
9142 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9143 $as_echo "$ld_shlibs" >&6; }
9144 test "$ld_shlibs" = no && can_build_shared=no
9146 with_gnu_ld=$with_gnu_ld
9163 # Do we need to explicitly link libc?
9165 case "x$archive_cmds_need_lc" in
9167 # Assume -lc should be added
9168 archive_cmds_need_lc=yes
9170 if test "$enable_shared" = yes && test "$GCC" = yes; then
9171 case $archive_cmds in
9173 # FIXME: we may have to deal with multi-command sequences.
9176 # Test whether the compiler implicitly links with -lc since on some
9177 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9178 # to ld, don't add -lc before -lgcc.
9179 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9180 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9182 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9185 (eval $ac_compile) 2>&5
9187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } 2>conftest.err; then
9191 libobjs=conftest.$ac_objext
9193 wl=$lt_prog_compiler_wl
9194 pic_flag=$lt_prog_compiler_pic
9200 lt_save_allow_undefined_flag=$allow_undefined_flag
9201 allow_undefined_flag=
9202 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9203 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); }
9208 archive_cmds_need_lc=no
9210 archive_cmds_need_lc=yes
9212 allow_undefined_flag=$lt_save_allow_undefined_flag
9214 cat conftest.err 1>&5
9217 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9218 $as_echo "$archive_cmds_need_lc" >&6; }
9381 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9382 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9384 if test "$GCC" = yes; then
9386 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9387 *) lt_awk_arg="/^libraries:/" ;;
9389 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9390 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9391 # if the path contains ";" then we assume it to be the separator
9392 # otherwise default to the standard path separator (i.e. ":") - it is
9393 # assumed that no part of a normal pathname contains ";" but that should
9394 # okay in the real world where ";" in dirpaths is itself problematic.
9395 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9397 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9399 # Ok, now we have the path, separated by spaces, we can step through it
9400 # and add multilib dir if necessary.
9401 lt_tmp_lt_search_path_spec=
9402 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9403 for lt_sys_path in $lt_search_path_spec; do
9404 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9405 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9407 test -d "$lt_sys_path" && \
9408 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9411 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9412 BEGIN {RS=" "; FS="/|\n";} {
9415 for (lt_i = NF; lt_i > 0; lt_i--) {
9416 if ($lt_i != "" && $lt_i != ".") {
9417 if ($lt_i == "..") {
9420 if (lt_count == 0) {
9421 lt_foo="/" $lt_i lt_foo;
9428 if (lt_foo != "") { lt_freq[lt_foo]++; }
9429 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9431 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9433 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9436 libname_spec='lib$name'
9444 shlibpath_overrides_runpath=unknown
9446 dynamic_linker="$host_os ld.so"
9447 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9448 need_lib_prefix=unknown
9449 hardcode_into_libs=no
9451 # when you set need_version to no, make sure it does not cause -set_version
9452 # flags to be left without arguments
9453 need_version=unknown
9458 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9459 shlibpath_var=LIBPATH
9461 # AIX 3 has no versioning support, so we append a major version to the name.
9462 soname_spec='${libname}${release}${shared_ext}$major'
9469 hardcode_into_libs=yes
9470 if test "$host_cpu" = ia64; then
9471 # AIX 5 supports IA64
9472 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9473 shlibpath_var=LD_LIBRARY_PATH
9475 # With GCC up to 2.95.x, collect2 would create an import file
9476 # for dependence libraries. The import file would start with
9477 # the line `#! .'. This would cause the generated library to
9478 # depend on `.', always an invalid library. This was fixed in
9479 # development snapshots of GCC prior to 3.0.
9481 aix4 | aix4.[01] | aix4.[01].*)
9482 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9484 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9491 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9492 # soname into executable. Probably we can add versioning support to
9493 # collect2, so additional links can be useful in future.
9494 if test "$aix_use_runtimelinking" = yes; then
9495 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9496 # instead of lib<name>.a to let people know that these are not
9497 # typical AIX shared libraries.
9498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9500 # We preserve .a as extension for shared libraries through AIX4.2
9501 # and later when we are not doing run time linking.
9502 library_names_spec='${libname}${release}.a $libname.a'
9503 soname_spec='${libname}${release}${shared_ext}$major'
9505 shlibpath_var=LIBPATH
9512 # Since July 2007 AmigaOS4 officially supports .so libraries.
9513 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9517 library_names_spec='$libname.ixlibrary $libname.a'
9518 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9519 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'
9525 library_names_spec='${libname}${shared_ext}'
9526 dynamic_linker="$host_os ld.so"
9527 shlibpath_var=LIBRARY_PATH
9533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9534 soname_spec='${libname}${release}${shared_ext}$major'
9535 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9536 shlibpath_var=LD_LIBRARY_PATH
9537 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9538 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9539 # the default ld.so.conf also contains /usr/contrib/lib and
9540 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9541 # libtool to hard-code these into programs
9544 cygwin* | mingw* | pw32* | cegcc*)
9545 version_type=windows
9550 case $GCC,$host_os in
9551 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9552 library_names_spec='$libname.dll.a'
9553 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9554 postinstall_cmds='base_file=`basename \${file}`~
9555 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9556 dldir=$destdir/`dirname \$dlpath`~
9557 test -d \$dldir || mkdir -p \$dldir~
9558 $install_prog $dir/$dlname \$dldir/$dlname~
9559 chmod a+x \$dldir/$dlname~
9560 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9561 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9563 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9564 dlpath=$dir/\$dldll~
9566 shlibpath_overrides_runpath=yes
9570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9571 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9572 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9575 # MinGW DLLs use traditional 'lib' prefix
9576 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9577 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9578 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9579 # It is most probably a Windows format PATH printed by
9580 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9581 # path with ; separators, and with drive letters. We can handle the
9582 # drive letters (cygwin fileutils understands them), so leave them,
9583 # especially as we might pass files found there to a mingw objdump,
9584 # which wouldn't understand a cygwinified path. Ahh.
9585 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9587 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9591 # pw32 DLLs use 'pw' prefix rather than 'lib'
9592 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9598 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9601 dynamic_linker='Win32 ld.exe'
9602 # FIXME: first we should search . and the directory the executable is in
9606 darwin* | rhapsody*)
9607 dynamic_linker="$host_os dyld"
9611 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9612 soname_spec='${libname}${release}${major}$shared_ext'
9613 shlibpath_overrides_runpath=yes
9614 shlibpath_var=DYLD_LIBRARY_PATH
9615 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9618 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9626 soname_spec='${libname}${release}${shared_ext}$major'
9627 shlibpath_var=LD_LIBRARY_PATH
9634 freebsd* | dragonfly*)
9635 # DragonFly does not have aout. When/if they implement a new
9636 # versioning mechanism, adjust this.
9637 if test -x /usr/bin/objformat; then
9638 objformat=`/usr/bin/objformat`
9641 freebsd[123]*) objformat=aout ;;
9645 version_type=freebsd-$objformat
9646 case $version_type in
9648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9653 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9657 shlibpath_var=LD_LIBRARY_PATH
9660 shlibpath_overrides_runpath=yes
9662 freebsd3.[01]* | freebsdelf3.[01]*)
9663 shlibpath_overrides_runpath=yes
9664 hardcode_into_libs=yes
9666 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9667 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9668 shlibpath_overrides_runpath=no
9669 hardcode_into_libs=yes
9671 *) # from 4.6 on, and DragonFly
9672 shlibpath_overrides_runpath=yes
9673 hardcode_into_libs=yes
9682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9683 soname_spec='${libname}${release}${shared_ext}$major'
9684 shlibpath_var=LD_LIBRARY_PATH
9685 hardcode_into_libs=yes
9688 hpux9* | hpux10* | hpux11*)
9689 # Give a soname corresponding to the major version so that dld.sl refuses to
9690 # link against other versions.
9697 hardcode_into_libs=yes
9698 dynamic_linker="$host_os dld.so"
9699 shlibpath_var=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702 soname_spec='${libname}${release}${shared_ext}$major'
9703 if test "X$HPUX_IA64_MODE" = X32; then
9704 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9706 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9708 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9712 hardcode_into_libs=yes
9713 dynamic_linker="$host_os dld.sl"
9714 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9715 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9717 soname_spec='${libname}${release}${shared_ext}$major'
9718 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9719 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9723 dynamic_linker="$host_os dld.sl"
9724 shlibpath_var=SHLIB_PATH
9725 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727 soname_spec='${libname}${release}${shared_ext}$major'
9730 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9731 postinstall_cmds='chmod 555 $lib'
9738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9739 soname_spec='${libname}${release}${shared_ext}$major'
9740 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9741 shlibpath_var=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath=no
9743 hardcode_into_libs=yes
9746 irix5* | irix6* | nonstopux*)
9748 nonstopux*) version_type=nonstopux ;;
9750 if test "$lt_cv_prog_gnu_ld" = yes; then
9758 soname_spec='${libname}${release}${shared_ext}$major'
9759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9761 irix5* | nonstopux*)
9765 case $LD in # libtool.m4 will add one of these switches to LD
9766 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9767 libsuff= shlibsuff= libmagic=32-bit;;
9768 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9769 libsuff=32 shlibsuff=N32 libmagic=N32;;
9770 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9771 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9772 *) libsuff= shlibsuff= libmagic=never-match;;
9776 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9777 shlibpath_overrides_runpath=no
9778 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9779 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9780 hardcode_into_libs=yes
9783 # No shared lib support for Linux oldld, aout, or coff.
9784 linux*oldld* | linux*aout* | linux*coff*)
9788 # This must be Linux ELF.
9789 linux* | k*bsd*-gnu)
9793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec='${libname}${release}${shared_ext}$major'
9795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9796 shlibpath_var=LD_LIBRARY_PATH
9797 shlibpath_overrides_runpath=no
9798 # Some binutils ld are patched to set DT_RUNPATH
9799 save_LDFLAGS=$LDFLAGS
9801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9803 cat >conftest.$ac_ext <<_ACEOF
9806 cat confdefs.h >>conftest.$ac_ext
9807 cat >>conftest.$ac_ext <<_ACEOF
9808 /* end confdefs.h. */
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (ac_try="$ac_link"
9821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9822 *) ac_try_echo=$ac_try;;
9824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9825 $as_echo "$ac_try_echo") >&5
9826 (eval "$ac_link") 2>conftest.er1
9828 grep -v '^ *+' conftest.er1 >conftest.err
9830 cat conftest.err >&5
9831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); } && {
9833 test -z "$ac_c_werror_flag" ||
9834 test ! -s conftest.err
9835 } && test -s conftest$ac_exeext && {
9836 test "$cross_compiling" = yes ||
9837 $as_test_x conftest$ac_exeext
9839 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9840 shlibpath_overrides_runpath=yes
9844 $as_echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9850 rm -rf conftest.dSYM
9851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9852 conftest$ac_exeext conftest.$ac_ext
9853 LDFLAGS=$save_LDFLAGS
9856 # This implies no fast_install, which is unacceptable.
9857 # Some rework will be needed to allow for fast_install
9858 # before this can be enabled.
9859 hardcode_into_libs=yes
9861 # Append ld.so.conf contents to the search path
9862 if test -f /etc/ld.so.conf; then
9863 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' ' '`
9864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9867 # We used to test for /lib/ld.so.1 and disable shared libraries on
9868 # powerpc, because MkLinux only supported shared libraries with the
9869 # GNU dynamic linker. Since this was broken with cross compilers,
9870 # most powerpc-linux boxes support dynamic linking these days and
9871 # people can always --disable-shared, the test was removed, and we
9872 # assume the GNU/Linux dynamic linker is in use.
9873 dynamic_linker='GNU/Linux ld.so'
9880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9881 soname_spec='${libname}${release}${shared_ext}$major'
9882 shlibpath_var=LD_LIBRARY_PATH
9883 shlibpath_overrides_runpath=no
9884 hardcode_into_libs=yes
9885 dynamic_linker='NetBSD ld.elf_so'
9892 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9894 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9895 dynamic_linker='NetBSD (a.out) ld.so'
9897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9898 soname_spec='${libname}${release}${shared_ext}$major'
9899 dynamic_linker='NetBSD ld.elf_so'
9901 shlibpath_var=LD_LIBRARY_PATH
9902 shlibpath_overrides_runpath=yes
9903 hardcode_into_libs=yes
9908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9909 shlibpath_var=LD_LIBRARY_PATH
9910 shlibpath_overrides_runpath=yes
9917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9918 soname_spec='${libname}${release}${shared_ext}$major'
9919 shlibpath_var=LD_LIBRARY_PATH
9920 shlibpath_overrides_runpath=no
9921 hardcode_into_libs=yes
9922 dynamic_linker='ldqnx.so'
9927 sys_lib_dlsearch_path_spec="/usr/lib"
9929 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9931 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9932 *) need_version=no ;;
9934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9935 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9936 shlibpath_var=LD_LIBRARY_PATH
9937 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9939 openbsd2.[89] | openbsd2.[89].*)
9940 shlibpath_overrides_runpath=no
9943 shlibpath_overrides_runpath=yes
9947 shlibpath_overrides_runpath=yes
9952 libname_spec='$name'
9955 library_names_spec='$libname${shared_ext} $libname.a'
9956 dynamic_linker='OS/2 ld.exe'
9957 shlibpath_var=LIBPATH
9960 osf3* | osf4* | osf5*)
9964 soname_spec='${libname}${release}${shared_ext}$major'
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966 shlibpath_var=LD_LIBRARY_PATH
9967 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9968 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9980 soname_spec='${libname}${release}${shared_ext}$major'
9981 shlibpath_var=LD_LIBRARY_PATH
9982 shlibpath_overrides_runpath=yes
9983 hardcode_into_libs=yes
9984 # ldd complains unless libraries are executable
9985 postinstall_cmds='chmod +x $lib'
9990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9991 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9992 shlibpath_var=LD_LIBRARY_PATH
9993 shlibpath_overrides_runpath=yes
9994 if test "$with_gnu_ld" = yes; then
10002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10003 soname_spec='${libname}${release}${shared_ext}$major'
10004 shlibpath_var=LD_LIBRARY_PATH
10005 case $host_vendor in
10007 shlibpath_overrides_runpath=no
10009 runpath_var=LD_RUN_PATH
10017 shlibpath_overrides_runpath=no
10018 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10024 if test -d /usr/nec ;then
10026 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10027 soname_spec='$libname${shared_ext}.$major'
10028 shlibpath_var=LD_LIBRARY_PATH
10032 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10033 version_type=freebsd-elf
10036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10037 soname_spec='${libname}${release}${shared_ext}$major'
10038 shlibpath_var=LD_LIBRARY_PATH
10039 shlibpath_overrides_runpath=yes
10040 hardcode_into_libs=yes
10041 if test "$with_gnu_ld" = yes; then
10042 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10044 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10047 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10051 sys_lib_dlsearch_path_spec='/usr/lib'
10055 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10060 shlibpath_var=LD_LIBRARY_PATH
10061 shlibpath_overrides_runpath=no
10062 hardcode_into_libs=yes
10067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10068 soname_spec='${libname}${release}${shared_ext}$major'
10069 shlibpath_var=LD_LIBRARY_PATH
10076 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10077 $as_echo "$dynamic_linker" >&6; }
10078 test "$dynamic_linker" = no && can_build_shared=no
10080 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10081 if test "$GCC" = yes; then
10082 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10085 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10086 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10088 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10089 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10178 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10181 if test -n "$hardcode_libdir_flag_spec" ||
10182 test -n "$runpath_var" ||
10183 test "X$hardcode_automatic" = "Xyes" ; then
10185 # We can hardcode non-existent directories.
10186 if test "$hardcode_direct" != no &&
10187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10188 # have to relink, otherwise we might link with an installed library
10189 # when we should be linking with a yet-to-be-installed one
10190 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10191 test "$hardcode_minus_L" != no; then
10192 # Linking always hardcodes the temporary library directory.
10193 hardcode_action=relink
10195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10196 hardcode_action=immediate
10199 # We cannot hardcode anything, or else we can only hardcode existing
10201 hardcode_action=unsupported
10203 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10204 $as_echo "$hardcode_action" >&6; }
10206 if test "$hardcode_action" = relink ||
10207 test "$inherit_rpath" = yes; then
10208 # Fast installation is not supported
10209 enable_fast_install=no
10210 elif test "$shlibpath_overrides_runpath" = yes ||
10211 test "$enable_shared" = no; then
10212 # Fast installation is not necessary
10213 enable_fast_install=needless
10221 if test "x$enable_dlopen" != xyes; then
10222 enable_dlopen=unknown
10223 enable_dlopen_self=unknown
10224 enable_dlopen_self_static=unknown
10231 lt_cv_dlopen="load_add_on"
10233 lt_cv_dlopen_self=yes
10236 mingw* | pw32* | cegcc*)
10237 lt_cv_dlopen="LoadLibrary"
10242 lt_cv_dlopen="dlopen"
10247 # if libdl is installed we need to link against it
10248 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10251 $as_echo_n "(cached) " >&6
10253 ac_check_lib_save_LIBS=$LIBS
10255 cat >conftest.$ac_ext <<_ACEOF
10258 cat confdefs.h >>conftest.$ac_ext
10259 cat >>conftest.$ac_ext <<_ACEOF
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10277 rm -f conftest.$ac_objext conftest$ac_exeext
10278 if { (ac_try="$ac_link"
10279 case "(($ac_try" in
10280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10281 *) ac_try_echo=$ac_try;;
10283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10284 $as_echo "$ac_try_echo") >&5
10285 (eval "$ac_link") 2>conftest.er1
10287 grep -v '^ *+' conftest.er1 >conftest.err
10289 cat conftest.err >&5
10290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); } && {
10292 test -z "$ac_c_werror_flag" ||
10293 test ! -s conftest.err
10294 } && test -s conftest$ac_exeext && {
10295 test "$cross_compiling" = yes ||
10296 $as_test_x conftest$ac_exeext
10298 ac_cv_lib_dl_dlopen=yes
10300 $as_echo "$as_me: failed program was:" >&5
10301 sed 's/^/| /' conftest.$ac_ext >&5
10303 ac_cv_lib_dl_dlopen=no
10306 rm -rf conftest.dSYM
10307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10308 conftest$ac_exeext conftest.$ac_ext
10309 LIBS=$ac_check_lib_save_LIBS
10311 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10312 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10313 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10314 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10317 lt_cv_dlopen="dyld"
10319 lt_cv_dlopen_self=yes
10326 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10327 $as_echo_n "checking for shl_load... " >&6; }
10328 if test "${ac_cv_func_shl_load+set}" = set; then
10329 $as_echo_n "(cached) " >&6
10331 cat >conftest.$ac_ext <<_ACEOF
10334 cat confdefs.h >>conftest.$ac_ext
10335 cat >>conftest.$ac_ext <<_ACEOF
10336 /* end confdefs.h. */
10337 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10339 #define shl_load innocuous_shl_load
10341 /* System header to define __stub macros and hopefully few prototypes,
10342 which can conflict with char shl_load (); below.
10343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10344 <limits.h> exists even on freestanding compilers. */
10347 # include <limits.h>
10349 # include <assert.h>
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10361 /* The GNU C library defines this for functions which it implements
10362 to always fail with ENOSYS. Some functions are actually named
10363 something starting with __ and the normal name is an alias. */
10364 #if defined __stub_shl_load || defined __stub___shl_load
10371 return shl_load ();
10376 rm -f conftest.$ac_objext conftest$ac_exeext
10377 if { (ac_try="$ac_link"
10378 case "(($ac_try" in
10379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10380 *) ac_try_echo=$ac_try;;
10382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10383 $as_echo "$ac_try_echo") >&5
10384 (eval "$ac_link") 2>conftest.er1
10386 grep -v '^ *+' conftest.er1 >conftest.err
10388 cat conftest.err >&5
10389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } && {
10391 test -z "$ac_c_werror_flag" ||
10392 test ! -s conftest.err
10393 } && test -s conftest$ac_exeext && {
10394 test "$cross_compiling" = yes ||
10395 $as_test_x conftest$ac_exeext
10397 ac_cv_func_shl_load=yes
10399 $as_echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.$ac_ext >&5
10402 ac_cv_func_shl_load=no
10405 rm -rf conftest.dSYM
10406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10407 conftest$ac_exeext conftest.$ac_ext
10409 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10410 $as_echo "$ac_cv_func_shl_load" >&6; }
10411 if test "x$ac_cv_func_shl_load" = x""yes; then
10412 lt_cv_dlopen="shl_load"
10414 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10415 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10416 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10417 $as_echo_n "(cached) " >&6
10419 ac_check_lib_save_LIBS=$LIBS
10421 cat >conftest.$ac_ext <<_ACEOF
10424 cat confdefs.h >>conftest.$ac_ext
10425 cat >>conftest.$ac_ext <<_ACEOF
10426 /* end confdefs.h. */
10428 /* Override any GCC internal prototype to avoid an error.
10429 Use char because int might match the return type of a GCC
10430 builtin and then its argument prototype would still apply. */
10438 return shl_load ();
10443 rm -f conftest.$ac_objext conftest$ac_exeext
10444 if { (ac_try="$ac_link"
10445 case "(($ac_try" in
10446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10447 *) ac_try_echo=$ac_try;;
10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10450 $as_echo "$ac_try_echo") >&5
10451 (eval "$ac_link") 2>conftest.er1
10453 grep -v '^ *+' conftest.er1 >conftest.err
10455 cat conftest.err >&5
10456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } && {
10458 test -z "$ac_c_werror_flag" ||
10459 test ! -s conftest.err
10460 } && test -s conftest$ac_exeext && {
10461 test "$cross_compiling" = yes ||
10462 $as_test_x conftest$ac_exeext
10464 ac_cv_lib_dld_shl_load=yes
10466 $as_echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.$ac_ext >&5
10469 ac_cv_lib_dld_shl_load=no
10472 rm -rf conftest.dSYM
10473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_lib_save_LIBS
10477 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10478 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10479 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10480 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10482 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10483 $as_echo_n "checking for dlopen... " >&6; }
10484 if test "${ac_cv_func_dlopen+set}" = set; then
10485 $as_echo_n "(cached) " >&6
10487 cat >conftest.$ac_ext <<_ACEOF
10490 cat confdefs.h >>conftest.$ac_ext
10491 cat >>conftest.$ac_ext <<_ACEOF
10492 /* end confdefs.h. */
10493 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10495 #define dlopen innocuous_dlopen
10497 /* System header to define __stub macros and hopefully few prototypes,
10498 which can conflict with char dlopen (); below.
10499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10500 <limits.h> exists even on freestanding compilers. */
10503 # include <limits.h>
10505 # include <assert.h>
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10517 /* The GNU C library defines this for functions which it implements
10518 to always fail with ENOSYS. Some functions are actually named
10519 something starting with __ and the normal name is an alias. */
10520 #if defined __stub_dlopen || defined __stub___dlopen
10532 rm -f conftest.$ac_objext conftest$ac_exeext
10533 if { (ac_try="$ac_link"
10534 case "(($ac_try" in
10535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10536 *) ac_try_echo=$ac_try;;
10538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10539 $as_echo "$ac_try_echo") >&5
10540 (eval "$ac_link") 2>conftest.er1
10542 grep -v '^ *+' conftest.er1 >conftest.err
10544 cat conftest.err >&5
10545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } && {
10547 test -z "$ac_c_werror_flag" ||
10548 test ! -s conftest.err
10549 } && test -s conftest$ac_exeext && {
10550 test "$cross_compiling" = yes ||
10551 $as_test_x conftest$ac_exeext
10553 ac_cv_func_dlopen=yes
10555 $as_echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10558 ac_cv_func_dlopen=no
10561 rm -rf conftest.dSYM
10562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10563 conftest$ac_exeext conftest.$ac_ext
10565 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10566 $as_echo "$ac_cv_func_dlopen" >&6; }
10567 if test "x$ac_cv_func_dlopen" = x""yes; then
10568 lt_cv_dlopen="dlopen"
10570 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10571 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10572 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10573 $as_echo_n "(cached) " >&6
10575 ac_check_lib_save_LIBS=$LIBS
10577 cat >conftest.$ac_ext <<_ACEOF
10580 cat confdefs.h >>conftest.$ac_ext
10581 cat >>conftest.$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10584 /* Override any GCC internal prototype to avoid an error.
10585 Use char because int might match the return type of a GCC
10586 builtin and then its argument prototype would still apply. */
10599 rm -f conftest.$ac_objext conftest$ac_exeext
10600 if { (ac_try="$ac_link"
10601 case "(($ac_try" in
10602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10603 *) ac_try_echo=$ac_try;;
10605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10606 $as_echo "$ac_try_echo") >&5
10607 (eval "$ac_link") 2>conftest.er1
10609 grep -v '^ *+' conftest.er1 >conftest.err
10611 cat conftest.err >&5
10612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } && {
10614 test -z "$ac_c_werror_flag" ||
10615 test ! -s conftest.err
10616 } && test -s conftest$ac_exeext && {
10617 test "$cross_compiling" = yes ||
10618 $as_test_x conftest$ac_exeext
10620 ac_cv_lib_dl_dlopen=yes
10622 $as_echo "$as_me: failed program was:" >&5
10623 sed 's/^/| /' conftest.$ac_ext >&5
10625 ac_cv_lib_dl_dlopen=no
10628 rm -rf conftest.dSYM
10629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10630 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_lib_save_LIBS
10633 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10635 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10636 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10638 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10639 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10640 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10641 $as_echo_n "(cached) " >&6
10643 ac_check_lib_save_LIBS=$LIBS
10644 LIBS="-lsvld $LIBS"
10645 cat >conftest.$ac_ext <<_ACEOF
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10652 /* Override any GCC internal prototype to avoid an error.
10653 Use char because int might match the return type of a GCC
10654 builtin and then its argument prototype would still apply. */
10667 rm -f conftest.$ac_objext conftest$ac_exeext
10668 if { (ac_try="$ac_link"
10669 case "(($ac_try" in
10670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671 *) ac_try_echo=$ac_try;;
10673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10674 $as_echo "$ac_try_echo") >&5
10675 (eval "$ac_link") 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } && {
10682 test -z "$ac_c_werror_flag" ||
10683 test ! -s conftest.err
10684 } && test -s conftest$ac_exeext && {
10685 test "$cross_compiling" = yes ||
10686 $as_test_x conftest$ac_exeext
10688 ac_cv_lib_svld_dlopen=yes
10690 $as_echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 ac_cv_lib_svld_dlopen=no
10696 rm -rf conftest.dSYM
10697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10698 conftest$ac_exeext conftest.$ac_ext
10699 LIBS=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10702 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10703 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10704 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10706 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10707 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10708 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10709 $as_echo_n "(cached) " >&6
10711 ac_check_lib_save_LIBS=$LIBS
10713 cat >conftest.$ac_ext <<_ACEOF
10716 cat confdefs.h >>conftest.$ac_ext
10717 cat >>conftest.$ac_ext <<_ACEOF
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10730 return dld_link ();
10735 rm -f conftest.$ac_objext conftest$ac_exeext
10736 if { (ac_try="$ac_link"
10737 case "(($ac_try" in
10738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10739 *) ac_try_echo=$ac_try;;
10741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10742 $as_echo "$ac_try_echo") >&5
10743 (eval "$ac_link") 2>conftest.er1
10745 grep -v '^ *+' conftest.er1 >conftest.err
10747 cat conftest.err >&5
10748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } && {
10750 test -z "$ac_c_werror_flag" ||
10751 test ! -s conftest.err
10752 } && test -s conftest$ac_exeext && {
10753 test "$cross_compiling" = yes ||
10754 $as_test_x conftest$ac_exeext
10756 ac_cv_lib_dld_dld_link=yes
10758 $as_echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.$ac_ext >&5
10761 ac_cv_lib_dld_dld_link=no
10764 rm -rf conftest.dSYM
10765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_lib_save_LIBS
10769 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10770 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10771 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10772 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10793 if test "x$lt_cv_dlopen" != xno; then
10799 case $lt_cv_dlopen in
10801 save_CPPFLAGS="$CPPFLAGS"
10802 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10804 save_LDFLAGS="$LDFLAGS"
10805 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10808 LIBS="$lt_cv_dlopen_libs $LIBS"
10810 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10811 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10812 if test "${lt_cv_dlopen_self+set}" = set; then
10813 $as_echo_n "(cached) " >&6
10815 if test "$cross_compiling" = yes; then :
10816 lt_cv_dlopen_self=cross
10818 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10819 lt_status=$lt_dlunknown
10820 cat > conftest.$ac_ext <<_LT_EOF
10821 #line 10821 "configure"
10822 #include "confdefs.h"
10831 # define LT_DLGLOBAL RTLD_GLOBAL
10834 # define LT_DLGLOBAL DL_GLOBAL
10836 # define LT_DLGLOBAL 0
10840 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10841 find out it does not work in some platform. */
10842 #ifndef LT_DLLAZY_OR_NOW
10844 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10847 # define LT_DLLAZY_OR_NOW DL_LAZY
10850 # define LT_DLLAZY_OR_NOW RTLD_NOW
10853 # define LT_DLLAZY_OR_NOW DL_NOW
10855 # define LT_DLLAZY_OR_NOW 0
10862 void fnord() { int i=42;}
10865 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10866 int status = $lt_dlunknown;
10870 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10871 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10872 /* dlclose (self); */
10880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10881 (eval $ac_link) 2>&5
10883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10885 (./conftest; exit; ) >&5 2>/dev/null
10887 case x$lt_status in
10888 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10889 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10890 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10893 # compilation failed
10894 lt_cv_dlopen_self=no
10901 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10902 $as_echo "$lt_cv_dlopen_self" >&6; }
10904 if test "x$lt_cv_dlopen_self" = xyes; then
10905 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10906 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10907 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10908 if test "${lt_cv_dlopen_self_static+set}" = set; then
10909 $as_echo_n "(cached) " >&6
10911 if test "$cross_compiling" = yes; then :
10912 lt_cv_dlopen_self_static=cross
10914 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10915 lt_status=$lt_dlunknown
10916 cat > conftest.$ac_ext <<_LT_EOF
10917 #line 10917 "configure"
10918 #include "confdefs.h"
10927 # define LT_DLGLOBAL RTLD_GLOBAL
10930 # define LT_DLGLOBAL DL_GLOBAL
10932 # define LT_DLGLOBAL 0
10936 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10937 find out it does not work in some platform. */
10938 #ifndef LT_DLLAZY_OR_NOW
10940 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10943 # define LT_DLLAZY_OR_NOW DL_LAZY
10946 # define LT_DLLAZY_OR_NOW RTLD_NOW
10949 # define LT_DLLAZY_OR_NOW DL_NOW
10951 # define LT_DLLAZY_OR_NOW 0
10958 void fnord() { int i=42;}
10961 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10962 int status = $lt_dlunknown;
10966 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10967 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10968 /* dlclose (self); */
10976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10977 (eval $ac_link) 2>&5
10979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10981 (./conftest; exit; ) >&5 2>/dev/null
10983 case x$lt_status in
10984 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10985 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10986 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10989 # compilation failed
10990 lt_cv_dlopen_self_static=no
10997 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10998 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11001 CPPFLAGS="$save_CPPFLAGS"
11002 LDFLAGS="$save_LDFLAGS"
11007 case $lt_cv_dlopen_self in
11008 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11009 *) enable_dlopen_self=unknown ;;
11012 case $lt_cv_dlopen_self_static in
11013 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11014 *) enable_dlopen_self_static=unknown ;;
11036 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11037 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11038 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11039 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11040 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11041 { $as_echo "$as_me:$LINENO: result: yes" >&5
11042 $as_echo "yes" >&6; }
11044 # FIXME - insert some real tests, host_os isn't really good enough
11047 if test -n "$STRIP" ; then
11048 striplib="$STRIP -x"
11049 old_striplib="$STRIP -S"
11050 { $as_echo "$as_me:$LINENO: result: yes" >&5
11051 $as_echo "yes" >&6; }
11053 { $as_echo "$as_me:$LINENO: result: no" >&5
11054 $as_echo "no" >&6; }
11058 { $as_echo "$as_me:$LINENO: result: no" >&5
11059 $as_echo "no" >&6; }
11075 # Report which library types will actually be built
11076 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11077 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11078 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11079 $as_echo "$can_build_shared" >&6; }
11081 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11082 $as_echo_n "checking whether to build shared libraries... " >&6; }
11083 test "$can_build_shared" = "no" && enable_shared=no
11085 # On AIX, shared libraries and static libraries use the same namespace, and
11086 # are all built from PIC.
11089 test "$enable_shared" = yes && enable_static=no
11090 if test -n "$RANLIB"; then
11091 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11092 postinstall_cmds='$RANLIB $lib'
11097 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11098 test "$enable_shared" = yes && enable_static=no
11102 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11103 $as_echo "$enable_shared" >&6; }
11105 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11106 $as_echo_n "checking whether to build static libraries... " >&6; }
11107 # Make sure either enable_shared or enable_static is yes.
11108 test "$enable_shared" = yes || enable_static=yes
11109 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11110 $as_echo "$enable_static" >&6; }
11117 ac_cpp='$CPP $CPPFLAGS'
11118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11136 ac_config_commands="$ac_config_commands libtool"
11141 # Only expand once:
11145 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11146 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11147 if test "${ac_cv_c_const+set}" = set; then
11148 $as_echo_n "(cached) " >&6
11150 cat >conftest.$ac_ext <<_ACEOF
11153 cat confdefs.h >>conftest.$ac_ext
11154 cat >>conftest.$ac_ext <<_ACEOF
11155 /* end confdefs.h. */
11160 /* FIXME: Include the comments suggested by Paul. */
11161 #ifndef __cplusplus
11162 /* Ultrix mips cc rejects this. */
11163 typedef int charset[2];
11165 /* SunOS 4.1.1 cc rejects this. */
11166 char const *const *pcpcc;
11168 /* NEC SVR4.0.2 mips cc rejects this. */
11169 struct point {int x, y;};
11170 static struct point const zero = {0,0};
11171 /* AIX XL C 1.02.0.0 rejects this.
11172 It does not let you subtract one const X* pointer from another in
11173 an arm of an if-expression whose if-part is not a constant
11175 const char *g = "string";
11176 pcpcc = &g + (g ? g-g : 0);
11177 /* HPUX 7.0 cc rejects these. */
11179 ppc = (char**) pcpcc;
11180 pcpcc = (char const *const *) ppc;
11181 { /* SCO 3.2v4 cc rejects this. */
11183 char const *s = 0 ? (char *) 0 : (char const *) 0;
11188 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11189 int x[] = {25, 17};
11190 const int *foo = &x[0];
11193 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11194 typedef const int *iptr;
11198 { /* AIX XL C 1.02.0.0 rejects this saying
11199 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11200 struct s { int j; const int *ap[3]; };
11201 struct s *b; b->j = 5;
11203 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11204 const int foo = 10;
11205 if (!foo) return 0;
11207 return !cs[0] && !zero.x;
11214 rm -f conftest.$ac_objext
11215 if { (ac_try="$ac_compile"
11216 case "(($ac_try" in
11217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11218 *) ac_try_echo=$ac_try;;
11220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11221 $as_echo "$ac_try_echo") >&5
11222 (eval "$ac_compile") 2>conftest.er1
11224 grep -v '^ *+' conftest.er1 >conftest.err
11226 cat conftest.err >&5
11227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest.$ac_objext; then
11234 $as_echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11242 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11243 $as_echo "$ac_cv_c_const" >&6; }
11244 if test $ac_cv_c_const = no; then
11246 cat >>confdefs.h <<\_ACEOF
11252 if test $ac_cv_c_compiler_gnu = yes; then
11253 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11254 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11255 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11256 $as_echo_n "(cached) " >&6
11258 ac_pattern="Autoconf.*'x'"
11259 cat >conftest.$ac_ext <<_ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11269 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11270 ac_cv_prog_gcc_traditional=yes
11272 ac_cv_prog_gcc_traditional=no
11277 if test $ac_cv_prog_gcc_traditional = no; then
11278 cat >conftest.$ac_ext <<_ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11284 #include <termio.h>
11287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11288 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11289 ac_cv_prog_gcc_traditional=yes
11295 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11296 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11297 if test $ac_cv_prog_gcc_traditional = yes; then
11298 CC="$CC -traditional"
11311 for ac_header in libutil.h pthread.h pty.h sys/prctl.h sys/uio.h util.h \
11314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11316 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11317 $as_echo_n "checking for $ac_header... " >&6; }
11318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11319 $as_echo_n "(cached) " >&6
11321 ac_res=`eval 'as_val=${'$as_ac_Header'}
11322 $as_echo "$as_val"'`
11323 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11324 $as_echo "$ac_res" >&6; }
11326 # Is the header compilable?
11327 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11328 $as_echo_n "checking $ac_header usability... " >&6; }
11329 cat >conftest.$ac_ext <<_ACEOF
11332 cat confdefs.h >>conftest.$ac_ext
11333 cat >>conftest.$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11335 $ac_includes_default
11336 #include <$ac_header>
11338 rm -f conftest.$ac_objext
11339 if { (ac_try="$ac_compile"
11340 case "(($ac_try" in
11341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11342 *) ac_try_echo=$ac_try;;
11344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11345 $as_echo "$ac_try_echo") >&5
11346 (eval "$ac_compile") 2>conftest.er1
11348 grep -v '^ *+' conftest.er1 >conftest.err
11350 cat conftest.err >&5
11351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } && {
11353 test -z "$ac_c_werror_flag" ||
11354 test ! -s conftest.err
11355 } && test -s conftest.$ac_objext; then
11356 ac_header_compiler=yes
11358 $as_echo "$as_me: failed program was:" >&5
11359 sed 's/^/| /' conftest.$ac_ext >&5
11361 ac_header_compiler=no
11364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11365 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11366 $as_echo "$ac_header_compiler" >&6; }
11368 # Is the header present?
11369 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11370 $as_echo_n "checking $ac_header presence... " >&6; }
11371 cat >conftest.$ac_ext <<_ACEOF
11374 cat confdefs.h >>conftest.$ac_ext
11375 cat >>conftest.$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 #include <$ac_header>
11379 if { (ac_try="$ac_cpp conftest.$ac_ext"
11380 case "(($ac_try" in
11381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11382 *) ac_try_echo=$ac_try;;
11384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11385 $as_echo "$ac_try_echo") >&5
11386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11388 grep -v '^ *+' conftest.er1 >conftest.err
11390 cat conftest.err >&5
11391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } >/dev/null && {
11393 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11394 test ! -s conftest.err
11396 ac_header_preproc=yes
11398 $as_echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11401 ac_header_preproc=no
11404 rm -f conftest.err conftest.$ac_ext
11405 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11406 $as_echo "$ac_header_preproc" >&6; }
11408 # So? What about this header?
11409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11412 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11414 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11415 ac_header_preproc=yes
11418 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11419 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11420 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11421 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11422 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11423 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11424 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11425 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11426 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11427 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11428 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11429 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11431 ## ------------------------------------- ##
11432 ## Report this to markus@shellinabox.com ##
11433 ## ------------------------------------- ##
11435 ) | sed "s/^/$as_me: WARNING: /" >&2
11438 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11439 $as_echo_n "checking for $ac_header... " >&6; }
11440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11441 $as_echo_n "(cached) " >&6
11443 eval "$as_ac_Header=\$ac_header_preproc"
11445 ac_res=`eval 'as_val=${'$as_ac_Header'}
11446 $as_echo "$as_val"'`
11447 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11448 $as_echo "$ac_res" >&6; }
11451 as_val=`eval 'as_val=${'$as_ac_Header'}
11452 $as_echo "$as_val"'`
11453 if test "x$as_val" = x""yes; then
11454 cat >>confdefs.h <<_ACEOF
11455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11464 for ac_func in login_tty
11466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11467 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11468 $as_echo_n "checking for $ac_func... " >&6; }
11469 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11470 $as_echo_n "(cached) " >&6
11472 cat >conftest.$ac_ext <<_ACEOF
11475 cat confdefs.h >>conftest.$ac_ext
11476 cat >>conftest.$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11480 #define $ac_func innocuous_$ac_func
11482 /* System header to define __stub macros and hopefully few prototypes,
11483 which can conflict with char $ac_func (); below.
11484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11485 <limits.h> exists even on freestanding compilers. */
11488 # include <limits.h>
11490 # include <assert.h>
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11502 /* The GNU C library defines this for functions which it implements
11503 to always fail with ENOSYS. Some functions are actually named
11504 something starting with __ and the normal name is an alias. */
11505 #if defined __stub_$ac_func || defined __stub___$ac_func
11512 return $ac_func ();
11517 rm -f conftest.$ac_objext conftest$ac_exeext
11518 if { (ac_try="$ac_link"
11519 case "(($ac_try" in
11520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11521 *) ac_try_echo=$ac_try;;
11523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11524 $as_echo "$ac_try_echo") >&5
11525 (eval "$ac_link") 2>conftest.er1
11527 grep -v '^ *+' conftest.er1 >conftest.err
11529 cat conftest.err >&5
11530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } && {
11532 test -z "$ac_c_werror_flag" ||
11533 test ! -s conftest.err
11534 } && test -s conftest$ac_exeext && {
11535 test "$cross_compiling" = yes ||
11536 $as_test_x conftest$ac_exeext
11538 eval "$as_ac_var=yes"
11540 $as_echo "$as_me: failed program was:" >&5
11541 sed 's/^/| /' conftest.$ac_ext >&5
11543 eval "$as_ac_var=no"
11546 rm -rf conftest.dSYM
11547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11548 conftest$ac_exeext conftest.$ac_ext
11550 ac_res=`eval 'as_val=${'$as_ac_var'}
11551 $as_echo "$as_val"'`
11552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11553 $as_echo "$ac_res" >&6; }
11554 as_val=`eval 'as_val=${'$as_ac_var'}
11555 $as_echo "$as_val"'`
11556 if test "x$as_val" = x""yes; then
11557 cat >>confdefs.h <<_ACEOF
11558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11562 { $as_echo "$as_me:$LINENO: checking for login_tty in -lutil" >&5
11563 $as_echo_n "checking for login_tty in -lutil... " >&6; }
11564 if test "${ac_cv_lib_util_login_tty+set}" = set; then
11565 $as_echo_n "(cached) " >&6
11567 ac_check_lib_save_LIBS=$LIBS
11568 LIBS="-lutil $LIBS"
11569 cat >conftest.$ac_ext <<_ACEOF
11572 cat confdefs.h >>conftest.$ac_ext
11573 cat >>conftest.$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11586 return login_tty ();
11591 rm -f conftest.$ac_objext conftest$ac_exeext
11592 if { (ac_try="$ac_link"
11593 case "(($ac_try" in
11594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11598 $as_echo "$ac_try_echo") >&5
11599 (eval "$ac_link") 2>conftest.er1
11601 grep -v '^ *+' conftest.er1 >conftest.err
11603 cat conftest.err >&5
11604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } && {
11606 test -z "$ac_c_werror_flag" ||
11607 test ! -s conftest.err
11608 } && test -s conftest$ac_exeext && {
11609 test "$cross_compiling" = yes ||
11610 $as_test_x conftest$ac_exeext
11612 ac_cv_lib_util_login_tty=yes
11614 $as_echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 ac_cv_lib_util_login_tty=no
11620 rm -rf conftest.dSYM
11621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11622 conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_lib_save_LIBS
11625 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_login_tty" >&5
11626 $as_echo "$ac_cv_lib_util_login_tty" >&6; }
11627 if test "x$ac_cv_lib_util_login_tty" = x""yes; then
11628 LIBS="-lutil $LIBS"
11629 cat >>confdefs.h <<\_ACEOF
11630 #define HAVE_LOGIN_TTY 1
11640 for ac_func in strlcat
11642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11643 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11644 $as_echo_n "checking for $ac_func... " >&6; }
11645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11646 $as_echo_n "(cached) " >&6
11648 cat >conftest.$ac_ext <<_ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11656 #define $ac_func innocuous_$ac_func
11658 /* System header to define __stub macros and hopefully few prototypes,
11659 which can conflict with char $ac_func (); below.
11660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11661 <limits.h> exists even on freestanding compilers. */
11664 # include <limits.h>
11666 # include <assert.h>
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11678 /* The GNU C library defines this for functions which it implements
11679 to always fail with ENOSYS. Some functions are actually named
11680 something starting with __ and the normal name is an alias. */
11681 #if defined __stub_$ac_func || defined __stub___$ac_func
11688 return $ac_func ();
11693 rm -f conftest.$ac_objext conftest$ac_exeext
11694 if { (ac_try="$ac_link"
11695 case "(($ac_try" in
11696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11697 *) ac_try_echo=$ac_try;;
11699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11700 $as_echo "$ac_try_echo") >&5
11701 (eval "$ac_link") 2>conftest.er1
11703 grep -v '^ *+' conftest.er1 >conftest.err
11705 cat conftest.err >&5
11706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } && {
11708 test -z "$ac_c_werror_flag" ||
11709 test ! -s conftest.err
11710 } && test -s conftest$ac_exeext && {
11711 test "$cross_compiling" = yes ||
11712 $as_test_x conftest$ac_exeext
11714 eval "$as_ac_var=yes"
11716 $as_echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.$ac_ext >&5
11719 eval "$as_ac_var=no"
11722 rm -rf conftest.dSYM
11723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11724 conftest$ac_exeext conftest.$ac_ext
11726 ac_res=`eval 'as_val=${'$as_ac_var'}
11727 $as_echo "$as_val"'`
11728 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11729 $as_echo "$ac_res" >&6; }
11730 as_val=`eval 'as_val=${'$as_ac_var'}
11731 $as_echo "$as_val"'`
11732 if test "x$as_val" = x""yes; then
11733 cat >>confdefs.h <<_ACEOF
11734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11747 for ac_func in getgrgid_r getgrnam_r getpwnam_r getpwuid_r openpty \
11750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11751 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11752 $as_echo_n "checking for $ac_func... " >&6; }
11753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11754 $as_echo_n "(cached) " >&6
11756 cat >conftest.$ac_ext <<_ACEOF
11759 cat confdefs.h >>conftest.$ac_ext
11760 cat >>conftest.$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11764 #define $ac_func innocuous_$ac_func
11766 /* System header to define __stub macros and hopefully few prototypes,
11767 which can conflict with char $ac_func (); below.
11768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11769 <limits.h> exists even on freestanding compilers. */
11772 # include <limits.h>
11774 # include <assert.h>
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11786 /* The GNU C library defines this for functions which it implements
11787 to always fail with ENOSYS. Some functions are actually named
11788 something starting with __ and the normal name is an alias. */
11789 #if defined __stub_$ac_func || defined __stub___$ac_func
11796 return $ac_func ();
11801 rm -f conftest.$ac_objext conftest$ac_exeext
11802 if { (ac_try="$ac_link"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11808 $as_echo "$ac_try_echo") >&5
11809 (eval "$ac_link") 2>conftest.er1
11811 grep -v '^ *+' conftest.er1 >conftest.err
11813 cat conftest.err >&5
11814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } && {
11816 test -z "$ac_c_werror_flag" ||
11817 test ! -s conftest.err
11818 } && test -s conftest$ac_exeext && {
11819 test "$cross_compiling" = yes ||
11820 $as_test_x conftest$ac_exeext
11822 eval "$as_ac_var=yes"
11824 $as_echo "$as_me: failed program was:" >&5
11825 sed 's/^/| /' conftest.$ac_ext >&5
11827 eval "$as_ac_var=no"
11830 rm -rf conftest.dSYM
11831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11832 conftest$ac_exeext conftest.$ac_ext
11834 ac_res=`eval 'as_val=${'$as_ac_var'}
11835 $as_echo "$as_val"'`
11836 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11837 $as_echo "$ac_res" >&6; }
11838 as_val=`eval 'as_val=${'$as_ac_var'}
11839 $as_echo "$as_val"'`
11840 if test "x$as_val" = x""yes; then
11841 cat >>confdefs.h <<_ACEOF
11842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11849 cat >conftest.$ac_ext <<_ACEOF
11852 cat confdefs.h >>conftest.$ac_ext
11853 cat >>conftest.$ac_ext <<_ACEOF
11854 /* end confdefs.h. */
11855 #ifndef _XOPEN_SOURCE
11856 #define _XOPEN_SOURCE
11858 #ifndef _GNU_SOURCE
11859 #define _GNU_SOURCE
11861 #include <stdlib.h>
11865 char buf[10]; ptsname_r(0, buf, sizeof(buf));
11870 rm -f conftest.$ac_objext conftest$ac_exeext
11871 if { (ac_try="$ac_link"
11872 case "(($ac_try" in
11873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 *) ac_try_echo=$ac_try;;
11876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11877 $as_echo "$ac_try_echo") >&5
11878 (eval "$ac_link") 2>conftest.er1
11880 grep -v '^ *+' conftest.er1 >conftest.err
11882 cat conftest.err >&5
11883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } && {
11885 test -z "$ac_c_werror_flag" ||
11886 test ! -s conftest.err
11887 } && test -s conftest$ac_exeext && {
11888 test "$cross_compiling" = yes ||
11889 $as_test_x conftest$ac_exeext
11892 cat >>confdefs.h <<\_ACEOF
11893 #define HAVE_PTSNAME_R 1
11897 $as_echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.$ac_ext >&5
11903 rm -rf conftest.dSYM
11904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11905 conftest$ac_exeext conftest.$ac_ext
11907 cat >conftest.$ac_ext <<_ACEOF
11910 cat confdefs.h >>conftest.$ac_ext
11911 cat >>conftest.$ac_ext <<_ACEOF
11912 /* end confdefs.h. */
11913 #include <pthread.h>
11914 #include <signal.h>
11918 sigset_t s; int n; sigwait(&s, &n);
11923 rm -f conftest.$ac_objext conftest$ac_exeext
11924 if { (ac_try="$ac_link"
11925 case "(($ac_try" in
11926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11927 *) ac_try_echo=$ac_try;;
11929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11930 $as_echo "$ac_try_echo") >&5
11931 (eval "$ac_link") 2>conftest.er1
11933 grep -v '^ *+' conftest.er1 >conftest.err
11935 cat conftest.err >&5
11936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } && {
11938 test -z "$ac_c_werror_flag" ||
11939 test ! -s conftest.err
11940 } && test -s conftest$ac_exeext && {
11941 test "$cross_compiling" = yes ||
11942 $as_test_x conftest$ac_exeext
11945 cat >>confdefs.h <<\_ACEOF
11946 #define HAVE_SIGWAIT 1
11950 $as_echo "$as_me: failed program was:" >&5
11951 sed 's/^/| /' conftest.$ac_ext >&5
11956 rm -rf conftest.dSYM
11957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11958 conftest$ac_exeext conftest.$ac_ext
11960 # Check whether --enable-ssl was given.
11961 if test "${enable_ssl+set}" = set; then
11962 enableval=$enable_ssl;
11966 # Check whether --enable-pam was given.
11967 if test "${enable_pam+set}" = set; then
11968 enableval=$enable_pam;
11972 # Check whether --enable-runtime-loading was given.
11973 if test "${enable_runtime_loading+set}" = set; then
11974 enableval=$enable_runtime_loading;
11978 if test "x$enable_ssl" != xno; then
11982 for ac_header in openssl/bio.h openssl/err.h openssl/ssl.h
11984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11987 $as_echo_n "checking for $ac_header... " >&6; }
11988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11989 $as_echo_n "(cached) " >&6
11991 ac_res=`eval 'as_val=${'$as_ac_Header'}
11992 $as_echo "$as_val"'`
11993 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11994 $as_echo "$ac_res" >&6; }
11996 # Is the header compilable?
11997 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11998 $as_echo_n "checking $ac_header usability... " >&6; }
11999 cat >conftest.$ac_ext <<_ACEOF
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 $ac_includes_default
12006 #include <$ac_header>
12008 rm -f conftest.$ac_objext
12009 if { (ac_try="$ac_compile"
12010 case "(($ac_try" in
12011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12012 *) ac_try_echo=$ac_try;;
12014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12015 $as_echo "$ac_try_echo") >&5
12016 (eval "$ac_compile") 2>conftest.er1
12018 grep -v '^ *+' conftest.er1 >conftest.err
12020 cat conftest.err >&5
12021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } && {
12023 test -z "$ac_c_werror_flag" ||
12024 test ! -s conftest.err
12025 } && test -s conftest.$ac_objext; then
12026 ac_header_compiler=yes
12028 $as_echo "$as_me: failed program was:" >&5
12029 sed 's/^/| /' conftest.$ac_ext >&5
12031 ac_header_compiler=no
12034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12035 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12036 $as_echo "$ac_header_compiler" >&6; }
12038 # Is the header present?
12039 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12040 $as_echo_n "checking $ac_header presence... " >&6; }
12041 cat >conftest.$ac_ext <<_ACEOF
12044 cat confdefs.h >>conftest.$ac_ext
12045 cat >>conftest.$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12047 #include <$ac_header>
12049 if { (ac_try="$ac_cpp conftest.$ac_ext"
12050 case "(($ac_try" in
12051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12052 *) ac_try_echo=$ac_try;;
12054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12055 $as_echo "$ac_try_echo") >&5
12056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12058 grep -v '^ *+' conftest.er1 >conftest.err
12060 cat conftest.err >&5
12061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } >/dev/null && {
12063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12064 test ! -s conftest.err
12066 ac_header_preproc=yes
12068 $as_echo "$as_me: failed program was:" >&5
12069 sed 's/^/| /' conftest.$ac_ext >&5
12071 ac_header_preproc=no
12074 rm -f conftest.err conftest.$ac_ext
12075 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12076 $as_echo "$ac_header_preproc" >&6; }
12078 # So? What about this header?
12079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12082 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12084 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12085 ac_header_preproc=yes
12088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12089 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12091 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12093 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12095 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12099 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12101 ## ------------------------------------- ##
12102 ## Report this to markus@shellinabox.com ##
12103 ## ------------------------------------- ##
12105 ) | sed "s/^/$as_me: WARNING: /" >&2
12108 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12109 $as_echo_n "checking for $ac_header... " >&6; }
12110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12111 $as_echo_n "(cached) " >&6
12113 eval "$as_ac_Header=\$ac_header_preproc"
12115 ac_res=`eval 'as_val=${'$as_ac_Header'}
12116 $as_echo "$as_val"'`
12117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12118 $as_echo "$ac_res" >&6; }
12121 as_val=`eval 'as_val=${'$as_ac_Header'}
12122 $as_echo "$as_val"'`
12123 if test "x$as_val" = x""yes; then
12124 cat >>confdefs.h <<_ACEOF
12125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12134 if test "x$enable_pam" != xno; then
12138 for ac_header in security/pam_appl.h security/pam_client.h \
12139 security/pam_misc.h
12141 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12143 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12144 $as_echo_n "checking for $ac_header... " >&6; }
12145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12146 $as_echo_n "(cached) " >&6
12148 ac_res=`eval 'as_val=${'$as_ac_Header'}
12149 $as_echo "$as_val"'`
12150 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12151 $as_echo "$ac_res" >&6; }
12153 # Is the header compilable?
12154 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12155 $as_echo_n "checking $ac_header usability... " >&6; }
12156 cat >conftest.$ac_ext <<_ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 $ac_includes_default
12163 #include <$ac_header>
12165 rm -f conftest.$ac_objext
12166 if { (ac_try="$ac_compile"
12167 case "(($ac_try" in
12168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12169 *) ac_try_echo=$ac_try;;
12171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12172 $as_echo "$ac_try_echo") >&5
12173 (eval "$ac_compile") 2>conftest.er1
12175 grep -v '^ *+' conftest.er1 >conftest.err
12177 cat conftest.err >&5
12178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && {
12180 test -z "$ac_c_werror_flag" ||
12181 test ! -s conftest.err
12182 } && test -s conftest.$ac_objext; then
12183 ac_header_compiler=yes
12185 $as_echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 ac_header_compiler=no
12191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12192 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12193 $as_echo "$ac_header_compiler" >&6; }
12195 # Is the header present?
12196 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12197 $as_echo_n "checking $ac_header presence... " >&6; }
12198 cat >conftest.$ac_ext <<_ACEOF
12201 cat confdefs.h >>conftest.$ac_ext
12202 cat >>conftest.$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12204 #include <$ac_header>
12206 if { (ac_try="$ac_cpp conftest.$ac_ext"
12207 case "(($ac_try" in
12208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12209 *) ac_try_echo=$ac_try;;
12211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12212 $as_echo "$ac_try_echo") >&5
12213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12215 grep -v '^ *+' conftest.er1 >conftest.err
12217 cat conftest.err >&5
12218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } >/dev/null && {
12220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12223 ac_header_preproc=yes
12225 $as_echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12228 ac_header_preproc=no
12231 rm -f conftest.err conftest.$ac_ext
12232 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12233 $as_echo "$ac_header_preproc" >&6; }
12235 # So? What about this header?
12236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12239 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12241 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12242 ac_header_preproc=yes
12245 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12246 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12247 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12248 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12250 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12252 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12254 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12256 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12258 ## ------------------------------------- ##
12259 ## Report this to markus@shellinabox.com ##
12260 ## ------------------------------------- ##
12262 ) | sed "s/^/$as_me: WARNING: /" >&2
12265 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12266 $as_echo_n "checking for $ac_header... " >&6; }
12267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12268 $as_echo_n "(cached) " >&6
12270 eval "$as_ac_Header=\$ac_header_preproc"
12272 ac_res=`eval 'as_val=${'$as_ac_Header'}
12273 $as_echo "$as_val"'`
12274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12275 $as_echo "$ac_res" >&6; }
12278 as_val=`eval 'as_val=${'$as_ac_Header'}
12279 $as_echo "$as_val"'`
12280 if test "x$as_val" = x""yes; then
12281 cat >>confdefs.h <<_ACEOF
12282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12291 if test "x$enable_runtime_loading" != xno; then
12293 for ac_func in dlopen
12295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12296 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12297 $as_echo_n "checking for $ac_func... " >&6; }
12298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12299 $as_echo_n "(cached) " >&6
12301 cat >conftest.$ac_ext <<_ACEOF
12304 cat confdefs.h >>conftest.$ac_ext
12305 cat >>conftest.$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12309 #define $ac_func innocuous_$ac_func
12311 /* System header to define __stub macros and hopefully few prototypes,
12312 which can conflict with char $ac_func (); below.
12313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12314 <limits.h> exists even on freestanding compilers. */
12317 # include <limits.h>
12319 # include <assert.h>
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined __stub_$ac_func || defined __stub___$ac_func
12341 return $ac_func ();
12346 rm -f conftest.$ac_objext conftest$ac_exeext
12347 if { (ac_try="$ac_link"
12348 case "(($ac_try" in
12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12353 $as_echo "$ac_try_echo") >&5
12354 (eval "$ac_link") 2>conftest.er1
12356 grep -v '^ *+' conftest.er1 >conftest.err
12358 cat conftest.err >&5
12359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } && {
12361 test -z "$ac_c_werror_flag" ||
12362 test ! -s conftest.err
12363 } && test -s conftest$ac_exeext && {
12364 test "$cross_compiling" = yes ||
12365 $as_test_x conftest$ac_exeext
12367 eval "$as_ac_var=yes"
12369 $as_echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12372 eval "$as_ac_var=no"
12375 rm -rf conftest.dSYM
12376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12377 conftest$ac_exeext conftest.$ac_ext
12379 ac_res=`eval 'as_val=${'$as_ac_var'}
12380 $as_echo "$as_val"'`
12381 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12382 $as_echo "$ac_res" >&6; }
12383 as_val=`eval 'as_val=${'$as_ac_var'}
12384 $as_echo "$as_val"'`
12385 if test "x$as_val" = x""yes; then
12386 cat >>confdefs.h <<_ACEOF
12387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12391 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12392 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12393 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12394 $as_echo_n "(cached) " >&6
12396 ac_check_lib_save_LIBS=$LIBS
12398 cat >conftest.$ac_ext <<_ACEOF
12401 cat confdefs.h >>conftest.$ac_ext
12402 cat >>conftest.$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12420 rm -f conftest.$ac_objext conftest$ac_exeext
12421 if { (ac_try="$ac_link"
12422 case "(($ac_try" in
12423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12424 *) ac_try_echo=$ac_try;;
12426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12427 $as_echo "$ac_try_echo") >&5
12428 (eval "$ac_link") 2>conftest.er1
12430 grep -v '^ *+' conftest.er1 >conftest.err
12432 cat conftest.err >&5
12433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } && {
12435 test -z "$ac_c_werror_flag" ||
12436 test ! -s conftest.err
12437 } && test -s conftest$ac_exeext && {
12438 test "$cross_compiling" = yes ||
12439 $as_test_x conftest$ac_exeext
12441 ac_cv_lib_dl_dlopen=yes
12443 $as_echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.$ac_ext >&5
12446 ac_cv_lib_dl_dlopen=no
12449 rm -rf conftest.dSYM
12450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12456 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12458 cat >>confdefs.h <<\_ACEOF
12459 #define HAVE_DLOPEN 1
12463 enable_runtime_loading=no
12471 if test "x$enable_runtime_loading" == xno; then
12472 if test "x$enable_ssl" != xno; then
12473 if test "${ac_cv_header_openssl_bio_h+set}" = set; then
12474 { $as_echo "$as_me:$LINENO: checking for openssl/bio.h" >&5
12475 $as_echo_n "checking for openssl/bio.h... " >&6; }
12476 if test "${ac_cv_header_openssl_bio_h+set}" = set; then
12477 $as_echo_n "(cached) " >&6
12479 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_bio_h" >&5
12480 $as_echo "$ac_cv_header_openssl_bio_h" >&6; }
12482 # Is the header compilable?
12483 { $as_echo "$as_me:$LINENO: checking openssl/bio.h usability" >&5
12484 $as_echo_n "checking openssl/bio.h usability... " >&6; }
12485 cat >conftest.$ac_ext <<_ACEOF
12488 cat confdefs.h >>conftest.$ac_ext
12489 cat >>conftest.$ac_ext <<_ACEOF
12490 /* end confdefs.h. */
12491 $ac_includes_default
12492 #include <openssl/bio.h>
12494 rm -f conftest.$ac_objext
12495 if { (ac_try="$ac_compile"
12496 case "(($ac_try" in
12497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12498 *) ac_try_echo=$ac_try;;
12500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12501 $as_echo "$ac_try_echo") >&5
12502 (eval "$ac_compile") 2>conftest.er1
12504 grep -v '^ *+' conftest.er1 >conftest.err
12506 cat conftest.err >&5
12507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } && {
12509 test -z "$ac_c_werror_flag" ||
12510 test ! -s conftest.err
12511 } && test -s conftest.$ac_objext; then
12512 ac_header_compiler=yes
12514 $as_echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.$ac_ext >&5
12517 ac_header_compiler=no
12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12521 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12522 $as_echo "$ac_header_compiler" >&6; }
12524 # Is the header present?
12525 { $as_echo "$as_me:$LINENO: checking openssl/bio.h presence" >&5
12526 $as_echo_n "checking openssl/bio.h presence... " >&6; }
12527 cat >conftest.$ac_ext <<_ACEOF
12530 cat confdefs.h >>conftest.$ac_ext
12531 cat >>conftest.$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12533 #include <openssl/bio.h>
12535 if { (ac_try="$ac_cpp conftest.$ac_ext"
12536 case "(($ac_try" in
12537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12538 *) ac_try_echo=$ac_try;;
12540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12541 $as_echo "$ac_try_echo") >&5
12542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12544 grep -v '^ *+' conftest.er1 >conftest.err
12546 cat conftest.err >&5
12547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); } >/dev/null && {
12549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12550 test ! -s conftest.err
12552 ac_header_preproc=yes
12554 $as_echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.$ac_ext >&5
12557 ac_header_preproc=no
12560 rm -f conftest.err conftest.$ac_ext
12561 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12562 $as_echo "$ac_header_preproc" >&6; }
12564 # So? What about this header?
12565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12567 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: accepted by the compiler, rejected by the preprocessor!" >&5
12568 $as_echo "$as_me: WARNING: openssl/bio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12569 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: proceeding with the compiler's result" >&5
12570 $as_echo "$as_me: WARNING: openssl/bio.h: proceeding with the compiler's result" >&2;}
12571 ac_header_preproc=yes
12574 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: present but cannot be compiled" >&5
12575 $as_echo "$as_me: WARNING: openssl/bio.h: present but cannot be compiled" >&2;}
12576 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: check for missing prerequisite headers?" >&5
12577 $as_echo "$as_me: WARNING: openssl/bio.h: check for missing prerequisite headers?" >&2;}
12578 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: see the Autoconf documentation" >&5
12579 $as_echo "$as_me: WARNING: openssl/bio.h: see the Autoconf documentation" >&2;}
12580 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: section \"Present But Cannot Be Compiled\"" >&5
12581 $as_echo "$as_me: WARNING: openssl/bio.h: section \"Present But Cannot Be Compiled\"" >&2;}
12582 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: proceeding with the preprocessor's result" >&5
12583 $as_echo "$as_me: WARNING: openssl/bio.h: proceeding with the preprocessor's result" >&2;}
12584 { $as_echo "$as_me:$LINENO: WARNING: openssl/bio.h: in the future, the compiler will take precedence" >&5
12585 $as_echo "$as_me: WARNING: openssl/bio.h: in the future, the compiler will take precedence" >&2;}
12587 ## ------------------------------------- ##
12588 ## Report this to markus@shellinabox.com ##
12589 ## ------------------------------------- ##
12591 ) | sed "s/^/$as_me: WARNING: /" >&2
12594 { $as_echo "$as_me:$LINENO: checking for openssl/bio.h" >&5
12595 $as_echo_n "checking for openssl/bio.h... " >&6; }
12596 if test "${ac_cv_header_openssl_bio_h+set}" = set; then
12597 $as_echo_n "(cached) " >&6
12599 ac_cv_header_openssl_bio_h=$ac_header_preproc
12601 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_bio_h" >&5
12602 $as_echo "$ac_cv_header_openssl_bio_h" >&6; }
12605 if test "x$ac_cv_header_openssl_bio_h" = x""yes; then
12606 if test "${ac_cv_header_openssl_err_h+set}" = set; then
12607 { $as_echo "$as_me:$LINENO: checking for openssl/err.h" >&5
12608 $as_echo_n "checking for openssl/err.h... " >&6; }
12609 if test "${ac_cv_header_openssl_err_h+set}" = set; then
12610 $as_echo_n "(cached) " >&6
12612 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_err_h" >&5
12613 $as_echo "$ac_cv_header_openssl_err_h" >&6; }
12615 # Is the header compilable?
12616 { $as_echo "$as_me:$LINENO: checking openssl/err.h usability" >&5
12617 $as_echo_n "checking openssl/err.h usability... " >&6; }
12618 cat >conftest.$ac_ext <<_ACEOF
12621 cat confdefs.h >>conftest.$ac_ext
12622 cat >>conftest.$ac_ext <<_ACEOF
12623 /* end confdefs.h. */
12624 $ac_includes_default
12625 #include <openssl/err.h>
12627 rm -f conftest.$ac_objext
12628 if { (ac_try="$ac_compile"
12629 case "(($ac_try" in
12630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12631 *) ac_try_echo=$ac_try;;
12633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12634 $as_echo "$ac_try_echo") >&5
12635 (eval "$ac_compile") 2>conftest.er1
12637 grep -v '^ *+' conftest.er1 >conftest.err
12639 cat conftest.err >&5
12640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } && {
12642 test -z "$ac_c_werror_flag" ||
12643 test ! -s conftest.err
12644 } && test -s conftest.$ac_objext; then
12645 ac_header_compiler=yes
12647 $as_echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.$ac_ext >&5
12650 ac_header_compiler=no
12653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12654 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12655 $as_echo "$ac_header_compiler" >&6; }
12657 # Is the header present?
12658 { $as_echo "$as_me:$LINENO: checking openssl/err.h presence" >&5
12659 $as_echo_n "checking openssl/err.h presence... " >&6; }
12660 cat >conftest.$ac_ext <<_ACEOF
12663 cat confdefs.h >>conftest.$ac_ext
12664 cat >>conftest.$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12666 #include <openssl/err.h>
12668 if { (ac_try="$ac_cpp conftest.$ac_ext"
12669 case "(($ac_try" in
12670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12671 *) ac_try_echo=$ac_try;;
12673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12674 $as_echo "$ac_try_echo") >&5
12675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12677 grep -v '^ *+' conftest.er1 >conftest.err
12679 cat conftest.err >&5
12680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } >/dev/null && {
12682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12683 test ! -s conftest.err
12685 ac_header_preproc=yes
12687 $as_echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12690 ac_header_preproc=no
12693 rm -f conftest.err conftest.$ac_ext
12694 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12695 $as_echo "$ac_header_preproc" >&6; }
12697 # So? What about this header?
12698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12700 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: accepted by the compiler, rejected by the preprocessor!" >&5
12701 $as_echo "$as_me: WARNING: openssl/err.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12702 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: proceeding with the compiler's result" >&5
12703 $as_echo "$as_me: WARNING: openssl/err.h: proceeding with the compiler's result" >&2;}
12704 ac_header_preproc=yes
12707 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: present but cannot be compiled" >&5
12708 $as_echo "$as_me: WARNING: openssl/err.h: present but cannot be compiled" >&2;}
12709 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: check for missing prerequisite headers?" >&5
12710 $as_echo "$as_me: WARNING: openssl/err.h: check for missing prerequisite headers?" >&2;}
12711 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: see the Autoconf documentation" >&5
12712 $as_echo "$as_me: WARNING: openssl/err.h: see the Autoconf documentation" >&2;}
12713 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: section \"Present But Cannot Be Compiled\"" >&5
12714 $as_echo "$as_me: WARNING: openssl/err.h: section \"Present But Cannot Be Compiled\"" >&2;}
12715 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: proceeding with the preprocessor's result" >&5
12716 $as_echo "$as_me: WARNING: openssl/err.h: proceeding with the preprocessor's result" >&2;}
12717 { $as_echo "$as_me:$LINENO: WARNING: openssl/err.h: in the future, the compiler will take precedence" >&5
12718 $as_echo "$as_me: WARNING: openssl/err.h: in the future, the compiler will take precedence" >&2;}
12720 ## ------------------------------------- ##
12721 ## Report this to markus@shellinabox.com ##
12722 ## ------------------------------------- ##
12724 ) | sed "s/^/$as_me: WARNING: /" >&2
12727 { $as_echo "$as_me:$LINENO: checking for openssl/err.h" >&5
12728 $as_echo_n "checking for openssl/err.h... " >&6; }
12729 if test "${ac_cv_header_openssl_err_h+set}" = set; then
12730 $as_echo_n "(cached) " >&6
12732 ac_cv_header_openssl_err_h=$ac_header_preproc
12734 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_err_h" >&5
12735 $as_echo "$ac_cv_header_openssl_err_h" >&6; }
12738 if test "x$ac_cv_header_openssl_err_h" = x""yes; then
12739 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
12740 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
12741 $as_echo_n "checking for openssl/ssl.h... " >&6; }
12742 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
12743 $as_echo_n "(cached) " >&6
12745 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
12746 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
12748 # Is the header compilable?
12749 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
12750 $as_echo_n "checking openssl/ssl.h usability... " >&6; }
12751 cat >conftest.$ac_ext <<_ACEOF
12754 cat confdefs.h >>conftest.$ac_ext
12755 cat >>conftest.$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12757 $ac_includes_default
12758 #include <openssl/ssl.h>
12760 rm -f conftest.$ac_objext
12761 if { (ac_try="$ac_compile"
12762 case "(($ac_try" in
12763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12764 *) ac_try_echo=$ac_try;;
12766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12767 $as_echo "$ac_try_echo") >&5
12768 (eval "$ac_compile") 2>conftest.er1
12770 grep -v '^ *+' conftest.er1 >conftest.err
12772 cat conftest.err >&5
12773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } && {
12775 test -z "$ac_c_werror_flag" ||
12776 test ! -s conftest.err
12777 } && test -s conftest.$ac_objext; then
12778 ac_header_compiler=yes
12780 $as_echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.$ac_ext >&5
12783 ac_header_compiler=no
12786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12787 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12788 $as_echo "$ac_header_compiler" >&6; }
12790 # Is the header present?
12791 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
12792 $as_echo_n "checking openssl/ssl.h presence... " >&6; }
12793 cat >conftest.$ac_ext <<_ACEOF
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12799 #include <openssl/ssl.h>
12801 if { (ac_try="$ac_cpp conftest.$ac_ext"
12802 case "(($ac_try" in
12803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12804 *) ac_try_echo=$ac_try;;
12806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12807 $as_echo "$ac_try_echo") >&5
12808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12810 grep -v '^ *+' conftest.er1 >conftest.err
12812 cat conftest.err >&5
12813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); } >/dev/null && {
12815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12816 test ! -s conftest.err
12818 ac_header_preproc=yes
12820 $as_echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.$ac_ext >&5
12823 ac_header_preproc=no
12826 rm -f conftest.err conftest.$ac_ext
12827 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12828 $as_echo "$ac_header_preproc" >&6; }
12830 # So? What about this header?
12831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12833 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
12834 $as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12835 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
12836 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
12837 ac_header_preproc=yes
12840 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
12841 $as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
12842 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
12843 $as_echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
12844 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
12845 $as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
12846 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
12847 $as_echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
12848 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
12849 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
12850 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
12851 $as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
12853 ## ------------------------------------- ##
12854 ## Report this to markus@shellinabox.com ##
12855 ## ------------------------------------- ##
12857 ) | sed "s/^/$as_me: WARNING: /" >&2
12860 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
12861 $as_echo_n "checking for openssl/ssl.h... " >&6; }
12862 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
12863 $as_echo_n "(cached) " >&6
12865 ac_cv_header_openssl_ssl_h=$ac_header_preproc
12867 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
12868 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
12871 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then
12872 LIBS="-lssl -lcrypto $LIBS"
12884 if test "x$enable_pam" != xno; then
12885 if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
12886 { $as_echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
12887 $as_echo_n "checking for security/pam_appl.h... " >&6; }
12888 if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
12889 $as_echo_n "(cached) " >&6
12891 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
12892 $as_echo "$ac_cv_header_security_pam_appl_h" >&6; }
12894 # Is the header compilable?
12895 { $as_echo "$as_me:$LINENO: checking security/pam_appl.h usability" >&5
12896 $as_echo_n "checking security/pam_appl.h usability... " >&6; }
12897 cat >conftest.$ac_ext <<_ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 $ac_includes_default
12904 #include <security/pam_appl.h>
12906 rm -f conftest.$ac_objext
12907 if { (ac_try="$ac_compile"
12908 case "(($ac_try" in
12909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12910 *) ac_try_echo=$ac_try;;
12912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12913 $as_echo "$ac_try_echo") >&5
12914 (eval "$ac_compile") 2>conftest.er1
12916 grep -v '^ *+' conftest.er1 >conftest.err
12918 cat conftest.err >&5
12919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } && {
12921 test -z "$ac_c_werror_flag" ||
12922 test ! -s conftest.err
12923 } && test -s conftest.$ac_objext; then
12924 ac_header_compiler=yes
12926 $as_echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.$ac_ext >&5
12929 ac_header_compiler=no
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12933 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12934 $as_echo "$ac_header_compiler" >&6; }
12936 # Is the header present?
12937 { $as_echo "$as_me:$LINENO: checking security/pam_appl.h presence" >&5
12938 $as_echo_n "checking security/pam_appl.h presence... " >&6; }
12939 cat >conftest.$ac_ext <<_ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945 #include <security/pam_appl.h>
12947 if { (ac_try="$ac_cpp conftest.$ac_ext"
12948 case "(($ac_try" in
12949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12950 *) ac_try_echo=$ac_try;;
12952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12953 $as_echo "$ac_try_echo") >&5
12954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12956 grep -v '^ *+' conftest.er1 >conftest.err
12958 cat conftest.err >&5
12959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } >/dev/null && {
12961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12962 test ! -s conftest.err
12964 ac_header_preproc=yes
12966 $as_echo "$as_me: failed program was:" >&5
12967 sed 's/^/| /' conftest.$ac_ext >&5
12969 ac_header_preproc=no
12972 rm -f conftest.err conftest.$ac_ext
12973 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12974 $as_echo "$ac_header_preproc" >&6; }
12976 # So? What about this header?
12977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12979 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&5
12980 $as_echo "$as_me: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12981 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&5
12982 $as_echo "$as_me: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&2;}
12983 ac_header_preproc=yes
12986 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: present but cannot be compiled" >&5
12987 $as_echo "$as_me: WARNING: security/pam_appl.h: present but cannot be compiled" >&2;}
12988 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: check for missing prerequisite headers?" >&5
12989 $as_echo "$as_me: WARNING: security/pam_appl.h: check for missing prerequisite headers?" >&2;}
12990 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: see the Autoconf documentation" >&5
12991 $as_echo "$as_me: WARNING: security/pam_appl.h: see the Autoconf documentation" >&2;}
12992 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: section \"Present But Cannot Be Compiled\"" >&5
12993 $as_echo "$as_me: WARNING: security/pam_appl.h: section \"Present But Cannot Be Compiled\"" >&2;}
12994 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&5
12995 $as_echo "$as_me: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&2;}
12996 { $as_echo "$as_me:$LINENO: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&5
12997 $as_echo "$as_me: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&2;}
12999 ## ------------------------------------- ##
13000 ## Report this to markus@shellinabox.com ##
13001 ## ------------------------------------- ##
13003 ) | sed "s/^/$as_me: WARNING: /" >&2
13006 { $as_echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
13007 $as_echo_n "checking for security/pam_appl.h... " >&6; }
13008 if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
13009 $as_echo_n "(cached) " >&6
13011 ac_cv_header_security_pam_appl_h=$ac_header_preproc
13013 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
13014 $as_echo "$ac_cv_header_security_pam_appl_h" >&6; }
13017 if test "x$ac_cv_header_security_pam_appl_h" = x""yes; then
13022 if test "${ac_cv_header_security_pam_misc_h+set}" = set; then
13023 { $as_echo "$as_me:$LINENO: checking for security/pam_misc.h" >&5
13024 $as_echo_n "checking for security/pam_misc.h... " >&6; }
13025 if test "${ac_cv_header_security_pam_misc_h+set}" = set; then
13026 $as_echo_n "(cached) " >&6
13028 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_misc_h" >&5
13029 $as_echo "$ac_cv_header_security_pam_misc_h" >&6; }
13031 # Is the header compilable?
13032 { $as_echo "$as_me:$LINENO: checking security/pam_misc.h usability" >&5
13033 $as_echo_n "checking security/pam_misc.h usability... " >&6; }
13034 cat >conftest.$ac_ext <<_ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13040 $ac_includes_default
13041 #include <security/pam_misc.h>
13043 rm -f conftest.$ac_objext
13044 if { (ac_try="$ac_compile"
13045 case "(($ac_try" in
13046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13047 *) ac_try_echo=$ac_try;;
13049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13050 $as_echo "$ac_try_echo") >&5
13051 (eval "$ac_compile") 2>conftest.er1
13053 grep -v '^ *+' conftest.er1 >conftest.err
13055 cat conftest.err >&5
13056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } && {
13058 test -z "$ac_c_werror_flag" ||
13059 test ! -s conftest.err
13060 } && test -s conftest.$ac_objext; then
13061 ac_header_compiler=yes
13063 $as_echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.$ac_ext >&5
13066 ac_header_compiler=no
13069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13070 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13071 $as_echo "$ac_header_compiler" >&6; }
13073 # Is the header present?
13074 { $as_echo "$as_me:$LINENO: checking security/pam_misc.h presence" >&5
13075 $as_echo_n "checking security/pam_misc.h presence... " >&6; }
13076 cat >conftest.$ac_ext <<_ACEOF
13079 cat confdefs.h >>conftest.$ac_ext
13080 cat >>conftest.$ac_ext <<_ACEOF
13081 /* end confdefs.h. */
13082 #include <security/pam_misc.h>
13084 if { (ac_try="$ac_cpp conftest.$ac_ext"
13085 case "(($ac_try" in
13086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13090 $as_echo "$ac_try_echo") >&5
13091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13093 grep -v '^ *+' conftest.er1 >conftest.err
13095 cat conftest.err >&5
13096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } >/dev/null && {
13098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13099 test ! -s conftest.err
13101 ac_header_preproc=yes
13103 $as_echo "$as_me: failed program was:" >&5
13104 sed 's/^/| /' conftest.$ac_ext >&5
13106 ac_header_preproc=no
13109 rm -f conftest.err conftest.$ac_ext
13110 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13111 $as_echo "$ac_header_preproc" >&6; }
13113 # So? What about this header?
13114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13116 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: accepted by the compiler, rejected by the preprocessor!" >&5
13117 $as_echo "$as_me: WARNING: security/pam_misc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13118 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: proceeding with the compiler's result" >&5
13119 $as_echo "$as_me: WARNING: security/pam_misc.h: proceeding with the compiler's result" >&2;}
13120 ac_header_preproc=yes
13123 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: present but cannot be compiled" >&5
13124 $as_echo "$as_me: WARNING: security/pam_misc.h: present but cannot be compiled" >&2;}
13125 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: check for missing prerequisite headers?" >&5
13126 $as_echo "$as_me: WARNING: security/pam_misc.h: check for missing prerequisite headers?" >&2;}
13127 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: see the Autoconf documentation" >&5
13128 $as_echo "$as_me: WARNING: security/pam_misc.h: see the Autoconf documentation" >&2;}
13129 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: section \"Present But Cannot Be Compiled\"" >&5
13130 $as_echo "$as_me: WARNING: security/pam_misc.h: section \"Present But Cannot Be Compiled\"" >&2;}
13131 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: proceeding with the preprocessor's result" >&5
13132 $as_echo "$as_me: WARNING: security/pam_misc.h: proceeding with the preprocessor's result" >&2;}
13133 { $as_echo "$as_me:$LINENO: WARNING: security/pam_misc.h: in the future, the compiler will take precedence" >&5
13134 $as_echo "$as_me: WARNING: security/pam_misc.h: in the future, the compiler will take precedence" >&2;}
13136 ## ------------------------------------- ##
13137 ## Report this to markus@shellinabox.com ##
13138 ## ------------------------------------- ##
13140 ) | sed "s/^/$as_me: WARNING: /" >&2
13143 { $as_echo "$as_me:$LINENO: checking for security/pam_misc.h" >&5
13144 $as_echo_n "checking for security/pam_misc.h... " >&6; }
13145 if test "${ac_cv_header_security_pam_misc_h+set}" = set; then
13146 $as_echo_n "(cached) " >&6
13148 ac_cv_header_security_pam_misc_h=$ac_header_preproc
13150 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_misc_h" >&5
13151 $as_echo "$ac_cv_header_security_pam_misc_h" >&6; }
13154 if test "x$ac_cv_header_security_pam_misc_h" = x""yes; then
13155 LIBS="-lpam_misc $LIBS"
13162 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13163 $as_echo_n "checking for deflate in -lz... " >&6; }
13164 if test "${ac_cv_lib_z_deflate+set}" = set; then
13165 $as_echo_n "(cached) " >&6
13167 ac_check_lib_save_LIBS=$LIBS
13169 cat >conftest.$ac_ext <<_ACEOF
13172 cat confdefs.h >>conftest.$ac_ext
13173 cat >>conftest.$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (ac_try="$ac_link"
13193 case "(($ac_try" in
13194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13195 *) ac_try_echo=$ac_try;;
13197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13198 $as_echo "$ac_try_echo") >&5
13199 (eval "$ac_link") 2>conftest.er1
13201 grep -v '^ *+' conftest.er1 >conftest.err
13203 cat conftest.err >&5
13204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } && {
13206 test -z "$ac_c_werror_flag" ||
13207 test ! -s conftest.err
13208 } && test -s conftest$ac_exeext && {
13209 test "$cross_compiling" = yes ||
13210 $as_test_x conftest$ac_exeext
13212 ac_cv_lib_z_deflate=yes
13214 $as_echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.$ac_ext >&5
13217 ac_cv_lib_z_deflate=no
13220 rm -rf conftest.dSYM
13221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13222 conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13225 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13226 $as_echo "$ac_cv_lib_z_deflate" >&6; }
13227 if test "x$ac_cv_lib_z_deflate" = x""yes; then
13229 if test "${ac_cv_header_zlib_h+set}" = set; then
13230 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
13231 $as_echo_n "checking for zlib.h... " >&6; }
13232 if test "${ac_cv_header_zlib_h+set}" = set; then
13233 $as_echo_n "(cached) " >&6
13235 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
13236 $as_echo "$ac_cv_header_zlib_h" >&6; }
13238 # Is the header compilable?
13239 { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
13240 $as_echo_n "checking zlib.h usability... " >&6; }
13241 cat >conftest.$ac_ext <<_ACEOF
13244 cat confdefs.h >>conftest.$ac_ext
13245 cat >>conftest.$ac_ext <<_ACEOF
13246 /* end confdefs.h. */
13247 $ac_includes_default
13250 rm -f conftest.$ac_objext
13251 if { (ac_try="$ac_compile"
13252 case "(($ac_try" in
13253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254 *) ac_try_echo=$ac_try;;
13256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13257 $as_echo "$ac_try_echo") >&5
13258 (eval "$ac_compile") 2>conftest.er1
13260 grep -v '^ *+' conftest.er1 >conftest.err
13262 cat conftest.err >&5
13263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } && {
13265 test -z "$ac_c_werror_flag" ||
13266 test ! -s conftest.err
13267 } && test -s conftest.$ac_objext; then
13268 ac_header_compiler=yes
13270 $as_echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.$ac_ext >&5
13273 ac_header_compiler=no
13276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13277 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13278 $as_echo "$ac_header_compiler" >&6; }
13280 # Is the header present?
13281 { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
13282 $as_echo_n "checking zlib.h presence... " >&6; }
13283 cat >conftest.$ac_ext <<_ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13291 if { (ac_try="$ac_cpp conftest.$ac_ext"
13292 case "(($ac_try" in
13293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13294 *) ac_try_echo=$ac_try;;
13296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13297 $as_echo "$ac_try_echo") >&5
13298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13300 grep -v '^ *+' conftest.er1 >conftest.err
13302 cat conftest.err >&5
13303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev/null && {
13305 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13306 test ! -s conftest.err
13308 ac_header_preproc=yes
13310 $as_echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13313 ac_header_preproc=no
13316 rm -f conftest.err conftest.$ac_ext
13317 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13318 $as_echo "$ac_header_preproc" >&6; }
13320 # So? What about this header?
13321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13323 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13324 $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13325 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
13326 $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
13327 ac_header_preproc=yes
13330 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
13331 $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
13332 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
13333 $as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
13334 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
13335 $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
13336 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
13337 $as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13338 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
13339 $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
13340 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
13341 $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
13343 ## ------------------------------------- ##
13344 ## Report this to markus@shellinabox.com ##
13345 ## ------------------------------------- ##
13347 ) | sed "s/^/$as_me: WARNING: /" >&2
13350 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
13351 $as_echo_n "checking for zlib.h... " >&6; }
13352 if test "${ac_cv_header_zlib_h+set}" = set; then
13353 $as_echo_n "(cached) " >&6
13355 ac_cv_header_zlib_h=$ac_header_preproc
13357 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
13358 $as_echo "$ac_cv_header_zlib_h" >&6; }
13361 if test "x$ac_cv_header_zlib_h" = x""yes; then
13364 cat >>confdefs.h <<\_ACEOF
13365 #define HAVE_ZLIB 1
13375 ac_config_files="$ac_config_files Makefile"
13377 cat >confcache <<\_ACEOF
13378 # This file is a shell script that caches the results of configure
13379 # tests run on this system so they can be shared between configure
13380 # scripts and configure runs, see configure's option --config-cache.
13381 # It is not useful on other systems. If it contains results you don't
13382 # want to keep, you may remove or edit it.
13384 # config.status only pays attention to the cache file if you give it
13385 # the --recheck option to rerun configure.
13387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13389 # following values.
13393 # The following way of writing the cache mishandles newlines in values,
13394 # but we know of no workaround that is simple, portable, and efficient.
13395 # So, we kill variables containing newlines.
13396 # Ultrix sh set writes to stderr and can't be redirected directly,
13397 # and sets the high bit in the cache file unless we assign to the vars.
13399 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13400 eval ac_val=\$$ac_var
13404 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13408 _ | IFS | as_nl) ;; #(
13409 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13410 *) $as_unset $ac_var ;;
13416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13417 *${as_nl}ac_space=\ *)
13418 # `set' does not quote correctly, so add quotes (double-quote
13419 # substitution turns \\\\ into \\, and sed turns \\ into \).
13422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13425 # `set' quotes correctly as required by POSIX, so do not add quotes.
13426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13440 if test -w "$cache_file"; then
13441 test "x$cache_file" != "x/dev/null" &&
13442 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13443 $as_echo "$as_me: updating cache $cache_file" >&6;}
13444 cat confcache >$cache_file
13446 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13447 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13452 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13453 # Let make expand exec_prefix.
13454 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13456 DEFS=-DHAVE_CONFIG_H
13460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13461 # 1. Remove the extension, and $U if already installed.
13462 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13463 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13465 # will be set to the directory where LIBOBJS objects are built.
13466 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13467 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13469 LIBOBJS=$ac_libobjs
13471 LTLIBOBJS=$ac_ltlibobjs
13474 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13475 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13476 Usually this means the macro was only invoked conditionally." >&5
13477 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13478 Usually this means the macro was only invoked conditionally." >&2;}
13479 { (exit 1); exit 1; }; }
13481 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13482 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13483 Usually this means the macro was only invoked conditionally." >&5
13484 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13485 Usually this means the macro was only invoked conditionally." >&2;}
13486 { (exit 1); exit 1; }; }
13489 : ${CONFIG_STATUS=./config.status}
13491 ac_clean_files_save=$ac_clean_files
13492 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13493 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13494 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13495 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13497 # Generated by $as_me.
13498 # Run this file to recreate the current configuration.
13499 # Compiler output produced by configure, useful for debugging
13500 # configure, is in config.log if it exists.
13503 ac_cs_recheck=false
13505 SHELL=\${CONFIG_SHELL-$SHELL}
13508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13509 ## --------------------- ##
13510 ## M4sh Initialization. ##
13511 ## --------------------- ##
13513 # Be more Bourne compatible
13514 DUALCASE=1; export DUALCASE # for MKS sh
13515 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13518 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13519 # is contrary to our usage. Disable this feature.
13520 alias -g '${1+"$@"}'='"$@"'
13521 setopt NO_GLOB_SUBST
13523 case `(set -o) 2>/dev/null` in
13524 *posix*) set -o posix ;;
13533 # Avoid depending upon Character Ranges.
13534 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13535 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13536 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13537 as_cr_digits='0123456789'
13538 as_cr_alnum=$as_cr_Letters$as_cr_digits
13543 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13544 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13545 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13546 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13547 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13548 as_echo='printf %s\n'
13549 as_echo_n='printf %s'
13551 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13552 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13553 as_echo_n='/usr/ucb/echo -n'
13555 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13556 as_echo_n_body='eval
13560 expr "X$arg" : "X\\(.*\\)$as_nl";
13561 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13563 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13565 export as_echo_n_body
13566 as_echo_n='sh -c $as_echo_n_body as_echo'
13568 export as_echo_body
13569 as_echo='sh -c $as_echo_body as_echo'
13572 # The user is always right.
13573 if test "${PATH_SEPARATOR+set}" != set; then
13575 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13576 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13581 # Support unset when possible.
13582 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13590 # We need space, tab and new line, in precisely that order. Quoting is
13591 # there to prevent editors from complaining about space-tab.
13592 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13593 # splitting by setting IFS to empty value.)
13596 # Find who we are. Look in the path if we contain no directory separator.
13598 *[\\/]* ) as_myself=$0 ;;
13599 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600 for as_dir in $PATH
13603 test -z "$as_dir" && as_dir=.
13604 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13610 # We did not find ourselves, most probably we were run as `sh COMMAND'
13611 # in which case we are not to be found in the path.
13612 if test "x$as_myself" = x; then
13615 if test ! -f "$as_myself"; then
13616 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13617 { (exit 1); exit 1; }
13620 # Work around bugs in pre-3.0 UWIN ksh.
13621 for as_var in ENV MAIL MAILPATH
13622 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13634 # Required to use basename.
13635 if expr a : '\(a\)' >/dev/null 2>&1 &&
13636 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13642 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13643 as_basename=basename
13649 # Name of the executable.
13650 as_me=`$as_basename -- "$0" ||
13651 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13652 X"$0" : 'X\(//\)$' \| \
13653 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13655 sed '/^.*\/\([^/][^/]*\)\/*$/{
13674 as_lineno_1=$LINENO
13675 as_lineno_2=$LINENO
13676 test "x$as_lineno_1" != "x$as_lineno_2" &&
13677 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13679 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13680 # uniformly replaced by the line number. The first 'sed' inserts a
13681 # line-number line after each line using $LINENO; the second 'sed'
13682 # does the real work. The second script uses 'N' to pair each
13683 # line-number line with the line containing $LINENO, and appends
13684 # trailing '-' during substitution so that $LINENO is not a special
13685 # case at line end.
13686 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13687 # scripts with optimization help from Paolo Bonzini. Blame Lee
13688 # E. McMahon (1931-1989) for sed's syntax. :-)
13700 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13703 ' >$as_me.lineno &&
13704 chmod +x "$as_me.lineno" ||
13705 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13706 { (exit 1); exit 1; }; }
13708 # Don't try to exec as it changes $[0], causing all sort of problems
13709 # (the dirname of $[0] is not the place where we might find the
13710 # original and so on. Autoconf is especially sensitive to this).
13711 . "./$as_me.lineno"
13712 # Exit status is that of the last command.
13717 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13723 ECHO_C= ECHO_N= ECHO_T=
13724 case `echo -n x` in
13726 case `echo 'x\c'` in
13727 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13733 if expr a : '\(a\)' >/dev/null 2>&1 &&
13734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13740 rm -f conf$$ conf$$.exe conf$$.file
13741 if test -d conf$$.dir; then
13742 rm -f conf$$.dir/conf$$.file
13745 mkdir conf$$.dir 2>/dev/null
13747 if (echo >conf$$.file) 2>/dev/null; then
13748 if ln -s conf$$.file conf$$ 2>/dev/null; then
13750 # ... but there are two gotchas:
13751 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13752 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13753 # In both cases, we have to default to `cp -p'.
13754 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13756 elif ln conf$$.file conf$$ 2>/dev/null; then
13764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13765 rmdir conf$$.dir 2>/dev/null
13767 if mkdir -p . 2>/dev/null; then
13770 test -d ./-p && rmdir ./-p
13774 if test -x / >/dev/null 2>&1; then
13775 as_test_x='test -x'
13777 if ls -dL / >/dev/null 2>&1; then
13784 if test -d "$1"; then
13790 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13791 ???[sx]*):;;*)false;;esac;fi
13795 as_executable_p=$as_test_x
13797 # Sed expression to map a string onto a valid CPP name.
13798 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13800 # Sed expression to map a string onto a valid variable name.
13801 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13806 # Save the log message, to keep $[0] and so on meaningful, and to
13807 # report actual input values of CONFIG_FILES etc. instead of their
13808 # values after options handling.
13810 This file was extended by shellinabox $as_me 2.9, which was
13811 generated by GNU Autoconf 2.63. Invocation command line was
13813 CONFIG_FILES = $CONFIG_FILES
13814 CONFIG_HEADERS = $CONFIG_HEADERS
13815 CONFIG_LINKS = $CONFIG_LINKS
13816 CONFIG_COMMANDS = $CONFIG_COMMANDS
13819 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13824 case $ac_config_files in *"
13825 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13828 case $ac_config_headers in *"
13829 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13834 # Files that config.status was made for.
13835 config_files="$ac_config_files"
13836 config_headers="$ac_config_headers"
13837 config_commands="$ac_config_commands"
13841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13843 \`$as_me' instantiates files from templates according to the
13844 current configuration.
13846 Usage: $0 [OPTION]... [FILE]...
13848 -h, --help print this help, then exit
13849 -V, --version print version number and configuration settings, then exit
13850 -q, --quiet, --silent
13851 do not print progress messages
13852 -d, --debug don't remove temporary files
13853 --recheck update $as_me by reconfiguring in the same conditions
13854 --file=FILE[:TEMPLATE]
13855 instantiate the configuration file FILE
13856 --header=FILE[:TEMPLATE]
13857 instantiate the configuration header FILE
13859 Configuration files:
13862 Configuration headers:
13865 Configuration commands:
13868 Report bugs to <bug-autoconf@gnu.org>."
13871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13873 shellinabox config.status 2.9
13874 configured by $0, generated by GNU Autoconf 2.63,
13875 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13877 Copyright (C) 2008 Free Software Foundation, Inc.
13878 This config.status script is free software; the Free Software Foundation
13879 gives unlimited permission to copy, distribute and modify it."
13886 test -n "\$AWK" || AWK=awk
13889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13890 # The default lists apply if the user does not specify any file.
13896 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13897 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13908 # Handling of the options.
13909 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13911 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13912 $as_echo "$ac_cs_version"; exit ;;
13913 --debug | --debu | --deb | --de | --d | -d )
13915 --file | --fil | --fi | --f )
13918 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13920 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13921 ac_need_defaults=false;;
13922 --header | --heade | --head | --hea )
13925 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13927 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13928 ac_need_defaults=false;;
13930 # Conflict between --help and --header
13931 { $as_echo "$as_me: error: ambiguous option: $1
13932 Try \`$0 --help' for more information." >&2
13933 { (exit 1); exit 1; }; };;
13934 --help | --hel | -h )
13935 $as_echo "$ac_cs_usage"; exit ;;
13936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13937 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13940 # This is an error.
13941 -*) { $as_echo "$as_me: error: unrecognized option: $1
13942 Try \`$0 --help' for more information." >&2
13943 { (exit 1); exit 1; }; } ;;
13945 *) ac_config_targets="$ac_config_targets $1"
13946 ac_need_defaults=false ;;
13952 ac_configure_extra_args=
13954 if $ac_cs_silent; then
13956 ac_configure_extra_args="$ac_configure_extra_args --silent"
13960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13961 if \$ac_cs_recheck; then
13962 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13964 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13965 CONFIG_SHELL='$SHELL'
13966 export CONFIG_SHELL
13971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13975 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13976 ## Running $as_me. ##
13982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13986 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13989 # The HP-UX ksh and POSIX shell print the target directory to stdout
13990 # if CDPATH is set.
13991 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13993 sed_quote_subst='$sed_quote_subst'
13994 double_quote_subst='$double_quote_subst'
13995 delay_variable_subst='$delay_variable_subst'
13996 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13997 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13998 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13999 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14000 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14001 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14002 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14003 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14004 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14005 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14006 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14007 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14008 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14009 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14010 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14011 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14012 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14013 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14014 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14015 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14016 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14017 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14018 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14019 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14020 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14021 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14022 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14023 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14024 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14025 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14026 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14027 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14028 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14029 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14030 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14031 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14032 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14033 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14034 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14035 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14036 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14037 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14038 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14039 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14040 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"`'
14041 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"`'
14042 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14043 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14044 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14045 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14046 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14047 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14048 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14049 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14050 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14051 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14052 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14053 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14054 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14055 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14056 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14057 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14058 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14059 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14060 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14061 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14062 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14063 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14064 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14065 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14066 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14067 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14068 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14069 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14070 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14071 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14072 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14073 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14074 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14075 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14076 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14077 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14078 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14079 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14080 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14081 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14082 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14083 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14084 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14085 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14086 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14087 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14088 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14089 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14090 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14091 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14092 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14093 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14094 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14095 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14096 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14097 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14098 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14099 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14100 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14101 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14102 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14103 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14104 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14105 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14106 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14107 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14108 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14109 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14110 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14111 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14112 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14113 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14116 LTCFLAGS='$LTCFLAGS'
14117 compiler='$compiler_DEFAULT'
14119 # Quote evaled strings.
14131 deplibs_check_method \
14140 lt_cv_sys_global_symbol_pipe \
14141 lt_cv_sys_global_symbol_to_cdecl \
14142 lt_cv_sys_global_symbol_to_c_name_address \
14143 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14146 lt_prog_compiler_no_builtin_flag \
14147 lt_prog_compiler_wl \
14148 lt_prog_compiler_pic \
14149 lt_prog_compiler_static \
14150 lt_cv_prog_compiler_c_o \
14158 export_dynamic_flag_spec \
14159 whole_archive_flag_spec \
14160 compiler_needs_object \
14162 allow_undefined_flag \
14163 no_undefined_flag \
14164 hardcode_libdir_flag_spec \
14165 hardcode_libdir_flag_spec_ld \
14166 hardcode_libdir_separator \
14171 variables_saved_for_relink \
14173 library_names_spec \
14178 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14179 *[\\\\\\\`\\"\\\$]*)
14180 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14183 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14188 # Double-quote double-evaled strings.
14189 for var in reload_cmds \
14190 old_postinstall_cmds \
14191 old_postuninstall_cmds \
14193 extract_expsyms_cmds \
14194 old_archive_from_new_cmds \
14195 old_archive_from_expsyms_cmds \
14197 archive_expsym_cmds \
14199 module_expsym_cmds \
14200 export_symbols_cmds \
14203 postuninstall_cmds \
14205 sys_lib_search_path_spec \
14206 sys_lib_dlsearch_path_spec; do
14207 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14208 *[\\\\\\\`\\"\\\$]*)
14209 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14212 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14217 # Fix-up fallback echo if it was mangled by the above quoting rules.
14219 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14223 ac_aux_dir='$ac_aux_dir'
14224 xsi_shell='$xsi_shell'
14225 lt_shell_append='$lt_shell_append'
14227 # See if we are running on zsh, and set the options which allow our
14228 # commands through without removal of \ escapes INIT.
14229 if test -n "\${ZSH_VERSION+set}" ; then
14230 setopt NO_GLOB_SUBST
14236 TIMESTAMP='$TIMESTAMP'
14245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14247 # Handling of arguments.
14248 for ac_config_target in $ac_config_targets
14250 case $ac_config_target in
14251 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14252 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14253 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14254 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14256 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14257 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14258 { (exit 1); exit 1; }; };;
14263 # If the user did not use the arguments to specify the items to instantiate,
14264 # then the envvar interface is used. Set only those that are not.
14265 # We use the long form for the default assignment because of an extremely
14266 # bizarre bug on SunOS 4.1.3.
14267 if $ac_need_defaults; then
14268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14269 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14270 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14273 # Have a temporary directory for convenience. Make it in the build tree
14274 # simply because there is no reason against having it here, and in addition,
14275 # creating and moving files from /tmp can sometimes cause problems.
14276 # Hook for its removal unless debugging.
14277 # Note that there is a small window in which the directory will not be cleaned:
14278 # after its creation but before its name has been assigned to `$tmp'.
14282 trap 'exit_status=$?
14283 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14285 trap '{ (exit 1); exit 1; }' 1 2 13 15
14287 # Create a (secure) tmp directory for tmp files.
14290 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14291 test -n "$tmp" && test -d "$tmp"
14294 tmp=./conf$$-$RANDOM
14295 (umask 077 && mkdir "$tmp")
14298 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14299 { (exit 1); exit 1; }
14302 # Set up the scripts for CONFIG_FILES section.
14303 # No need to generate them if there are no CONFIG_FILES.
14304 # This happens for instance with `./config.status config.h'.
14305 if test -n "$CONFIG_FILES"; then
14309 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14310 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14313 ac_cs_awk_cr=$ac_cr
14316 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14321 echo "cat >conf$$subs.awk <<_ACEOF" &&
14322 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14324 } >conf$$subs.sh ||
14325 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14326 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14327 { (exit 1); exit 1; }; }
14328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14330 for ac_last_try in false false false false false :; do
14331 . ./conf$$subs.sh ||
14332 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14333 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14334 { (exit 1); exit 1; }; }
14336 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14337 if test $ac_delim_n = $ac_delim_num; then
14339 elif $ac_last_try; then
14340 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14341 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14342 { (exit 1); exit 1; }; }
14344 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14347 rm -f conf$$subs.sh
14349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14350 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14354 s/^/S["/; s/!.*/"]=/
14364 s/\(.\{148\}\).*/\1/
14366 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14378 s/\(.\{148\}\).*/\1/
14380 s/["\\]/\\&/g; s/^/"/; s/$/"/
14384 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14389 ' <conf$$subs.awk | sed '
14394 ' >>$CONFIG_STATUS || ac_write_fail=1
14395 rm -f conf$$subs.awk
14396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14398 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14399 for (key in S) S_is_set[key] = 1
14405 nfields = split(line, field, "@")
14407 len = length(field[1])
14408 for (i = 2; i < nfields; i++) {
14410 keylen = length(key)
14411 if (S_is_set[key]) {
14413 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14414 len += length(value) + length(field[++i])
14425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14426 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14427 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14430 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14431 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14432 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
14433 { (exit 1); exit 1; }; }
14436 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14437 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14438 # trailing colons and then remove the whole line if VPATH becomes empty
14439 # (actually we leave an empty line to preserve line numbers).
14440 if test "x$srcdir" = x.; then
14441 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14442 s/:*\$(srcdir):*/:/
14443 s/:*\${srcdir}:*/:/
14445 s/^\([^=]*=[ ]*\):*/\1/
14451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14452 fi # test -n "$CONFIG_FILES"
14454 # Set up the scripts for CONFIG_HEADERS section.
14455 # No need to generate them if there are no CONFIG_HEADERS.
14456 # This happens for instance with `./config.status Makefile'.
14457 if test -n "$CONFIG_HEADERS"; then
14458 cat >"$tmp/defines.awk" <<\_ACAWK ||
14462 # Transform confdefs.h into an awk script `defines.awk', embedded as
14463 # here-document in config.status, that substitutes the proper values into
14464 # config.h.in to produce config.h.
14466 # Create a delimiter string that does not exist in confdefs.h, to ease
14467 # handling of long lines.
14469 for ac_last_try in false false :; do
14470 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14471 if test -z "$ac_t"; then
14473 elif $ac_last_try; then
14474 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14475 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14476 { (exit 1); exit 1; }; }
14478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14482 # For the awk script, D is an array of macro values keyed by name,
14483 # likewise P contains macro parameters if any. Preserve backslash
14484 # newline sequences.
14486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14488 s/.\{148\}/&'"$ac_delim"'/g
14491 s/^[ ]*#[ ]*define[ ][ ]*/ /
14498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14505 D["\1"]=" \3\\\\\\n"\\/p
14507 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14512 s/.\{148\}/&'"$ac_delim"'/g
14517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14522 ' <confdefs.h | sed '
14523 s/'"$ac_delim"'/"\\\
14524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527 for (key in D) D_is_set[key] = 1
14530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14532 split(line, arg, " ")
14533 if (arg[1] == "#") {
14537 defundef = substr(arg[1], 2)
14540 split(mac1, mac2, "(") #)
14542 prefix = substr(line, 1, index(line, defundef) - 1)
14543 if (D_is_set[macro]) {
14544 # Preserve the white space surrounding the "#".
14545 print prefix "define", macro P[macro] D[macro]
14548 # Replace #undef with comments. This is necessary, for example,
14549 # in the case of _POSIX_SOURCE, which is predefined and required
14550 # on some systems where configure will not decide to define it.
14551 if (defundef == "undef") {
14552 print "/*", prefix defundef, macro, "*/"
14560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14561 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14562 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14563 { (exit 1); exit 1; }; }
14564 fi # test -n "$CONFIG_HEADERS"
14567 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14572 :[FHLC]) ac_mode=$ac_tag; continue;;
14574 case $ac_mode$ac_tag in
14576 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14577 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14578 { (exit 1); exit 1; }; };;
14579 :[FH]-) ac_tag=-:-;;
14580 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14597 -) ac_f="$tmp/stdin";;
14598 *) # Look for the file first in the build tree, then in the source tree
14599 # (if the path is not absolute). The absolute path cannot be DOS-style,
14600 # because $ac_f cannot contain `:'.
14604 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14606 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14607 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14608 { (exit 1); exit 1; }; };;
14610 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14611 ac_file_inputs="$ac_file_inputs '$ac_f'"
14614 # Let's still pretend it is `configure' which instantiates (i.e., don't
14615 # use $as_me), people would be surprised to read:
14616 # /* config.h. Generated by config.status. */
14617 configure_input='Generated from '`
14618 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14620 if test x"$ac_file" != x-; then
14621 configure_input="$ac_file. $configure_input"
14622 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14623 $as_echo "$as_me: creating $ac_file" >&6;}
14625 # Neutralize special characters interpreted by sed in replacement strings.
14626 case $configure_input in #(
14627 *\&* | *\|* | *\\* )
14628 ac_sed_conf_input=`$as_echo "$configure_input" |
14629 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14630 *) ac_sed_conf_input=$configure_input;;
14634 *:-:* | *:-) cat >"$tmp/stdin" \
14635 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14636 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14637 { (exit 1); exit 1; }; } ;;
14642 ac_dir=`$as_dirname -- "$ac_file" ||
14643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14644 X"$ac_file" : 'X\(//\)[^/]' \| \
14645 X"$ac_file" : 'X\(//\)$' \| \
14646 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14647 $as_echo X"$ac_file" |
14648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14652 /^X\(\/\/\)[^/].*/{
14667 -*) as_dir=./$as_dir;;
14669 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14673 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14674 *) as_qdir=$as_dir;;
14676 as_dirs="'$as_qdir' $as_dirs"
14677 as_dir=`$as_dirname -- "$as_dir" ||
14678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14679 X"$as_dir" : 'X\(//\)[^/]' \| \
14680 X"$as_dir" : 'X\(//\)$' \| \
14681 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14682 $as_echo X"$as_dir" |
14683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14687 /^X\(\/\/\)[^/].*/{
14700 test -d "$as_dir" && break
14702 test -z "$as_dirs" || eval "mkdir $as_dirs"
14703 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14704 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14705 { (exit 1); exit 1; }; }; }
14709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14711 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14712 # A ".." for each directory in $ac_dir_suffix.
14713 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14714 case $ac_top_builddir_sub in
14715 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14716 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14719 ac_abs_top_builddir=$ac_pwd
14720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14721 # for backward compatibility:
14722 ac_top_builddir=$ac_top_build_prefix
14725 .) # We are building in place.
14727 ac_top_srcdir=$ac_top_builddir_sub
14728 ac_abs_top_srcdir=$ac_pwd ;;
14729 [\\/]* | ?:[\\/]* ) # Absolute name.
14730 ac_srcdir=$srcdir$ac_dir_suffix;
14731 ac_top_srcdir=$srcdir
14732 ac_abs_top_srcdir=$srcdir ;;
14733 *) # Relative name.
14734 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14735 ac_top_srcdir=$ac_top_build_prefix$srcdir
14736 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14748 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14749 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14751 ac_MKDIR_P=$MKDIR_P
14753 [\\/$]* | ?:[\\/]* ) ;;
14754 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14759 # If the template does not know about datarootdir, expand it.
14760 # FIXME: This hack should be removed a few years after 2.60.
14761 ac_datarootdir_hack=; ac_datarootdir_seen=
14774 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14775 *datarootdir*) ac_datarootdir_seen=yes;;
14776 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14777 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14778 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14781 ac_datarootdir_hack='
14782 s&@datadir@&$datadir&g
14783 s&@docdir@&$docdir&g
14784 s&@infodir@&$infodir&g
14785 s&@localedir@&$localedir&g
14786 s&@mandir@&$mandir&g
14787 s&\\\${datarootdir}&$datarootdir&g' ;;
14791 # Neutralize VPATH when `$srcdir' = `.'.
14792 # Shell code in configure.ac might set extrasub.
14793 # FIXME: do we really want to maintain this feature?
14794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14795 ac_sed_extra="$ac_vpsub
14798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14801 s|@configure_input@|$ac_sed_conf_input|;t t
14802 s&@top_builddir@&$ac_top_builddir_sub&;t t
14803 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14804 s&@srcdir@&$ac_srcdir&;t t
14805 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14806 s&@top_srcdir@&$ac_top_srcdir&;t t
14807 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14808 s&@builddir@&$ac_builddir&;t t
14809 s&@abs_builddir@&$ac_abs_builddir&;t t
14810 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14811 s&@INSTALL@&$ac_INSTALL&;t t
14812 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14813 $ac_datarootdir_hack
14815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14816 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14817 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14818 { (exit 1); exit 1; }; }
14820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14821 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14823 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14824 which seems to be undefined. Please make sure it is defined." >&5
14825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14826 which seems to be undefined. Please make sure it is defined." >&2;}
14830 -) cat "$tmp/out" && rm -f "$tmp/out";;
14831 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14833 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14834 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14835 { (exit 1); exit 1; }; }
14841 if test x"$ac_file" != x-; then
14843 $as_echo "/* $configure_input */" \
14844 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14845 } >"$tmp/config.h" \
14846 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14847 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14848 { (exit 1); exit 1; }; }
14849 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14850 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14851 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14854 mv "$tmp/config.h" "$ac_file" \
14855 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14856 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14857 { (exit 1); exit 1; }; }
14860 $as_echo "/* $configure_input */" \
14861 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14862 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14863 $as_echo "$as_me: error: could not create -" >&2;}
14864 { (exit 1); exit 1; }; }
14866 # Compute "$ac_file"'s index in $config_headers.
14869 for _am_header in $config_headers :; do
14870 case $_am_header in
14871 $_am_arg | $_am_arg:* )
14874 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14877 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14878 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14879 X"$_am_arg" : 'X\(//\)[^/]' \| \
14880 X"$_am_arg" : 'X\(//\)$' \| \
14881 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14882 $as_echo X"$_am_arg" |
14883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14887 /^X\(\/\/\)[^/].*/{
14899 s/.*/./; q'`/stamp-h$_am_stamp_count
14902 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14903 $as_echo "$as_me: executing $ac_file commands" >&6;}
14908 case $ac_file$ac_mode in
14909 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14910 # are listed without --file. Let's play safe and only enable the eval
14911 # if we detect the quoting.
14912 case $CONFIG_FILES in
14913 *\'*) eval set x "$CONFIG_FILES" ;;
14914 *) set x $CONFIG_FILES ;;
14919 # Strip MF so we end up with the name of the file.
14920 mf=`echo "$mf" | sed -e 's/:.*$//'`
14921 # Check whether this is an Automake generated Makefile or not.
14922 # We used to match only the files named `Makefile.in', but
14923 # some people rename them; so instead we look at the file content.
14924 # Grep'ing the first line is not enough: some people post-process
14925 # each Makefile.in and add a new line on top of each file to say so.
14926 # Grep'ing the whole file is not good either: AIX grep has a line
14927 # limit of 2048, but all sed's we know have understand at least 4000.
14928 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14929 dirpart=`$as_dirname -- "$mf" ||
14930 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14931 X"$mf" : 'X\(//\)[^/]' \| \
14932 X"$mf" : 'X\(//\)$' \| \
14933 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14939 /^X\(\/\/\)[^/].*/{
14955 # Extract the definition of DEPDIR, am__include, and am__quote
14956 # from the Makefile without running `make'.
14957 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14958 test -z "$DEPDIR" && continue
14959 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14960 test -z "am__include" && continue
14961 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14962 # When using ansi2knr, U may be empty or an underscore; expand it
14963 U=`sed -n 's/^U = //p' < "$mf"`
14964 # Find all dependency output files, they are included files with
14965 # $(DEPDIR) in their names. We invoke sed twice because it is the
14966 # simplest approach to changing $(DEPDIR) to its actual value in the
14968 for file in `sed -n "
14969 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14970 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14971 # Make sure the directory exists.
14972 test -f "$dirpart/$file" && continue
14973 fdir=`$as_dirname -- "$file" ||
14974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14975 X"$file" : 'X\(//\)[^/]' \| \
14976 X"$file" : 'X\(//\)$' \| \
14977 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14978 $as_echo X"$file" |
14979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14983 /^X\(\/\/\)[^/].*/{
14996 { as_dir=$dirpart/$fdir
14998 -*) as_dir=./$as_dir;;
15000 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15004 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15005 *) as_qdir=$as_dir;;
15007 as_dirs="'$as_qdir' $as_dirs"
15008 as_dir=`$as_dirname -- "$as_dir" ||
15009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15010 X"$as_dir" : 'X\(//\)[^/]' \| \
15011 X"$as_dir" : 'X\(//\)$' \| \
15012 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15013 $as_echo X"$as_dir" |
15014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15018 /^X\(\/\/\)[^/].*/{
15031 test -d "$as_dir" && break
15033 test -z "$as_dirs" || eval "mkdir $as_dirs"
15034 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15035 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15036 { (exit 1); exit 1; }; }; }
15037 # echo "creating $dirpart/$file"
15038 echo '# dummy' > "$dirpart/$file"
15044 # See if we are running on zsh, and set the options which allow our
15045 # commands through without removal of \ escapes.
15046 if test -n "${ZSH_VERSION+set}" ; then
15047 setopt NO_GLOB_SUBST
15050 cfgfile="${ofile}T"
15051 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15054 cat <<_LT_EOF >> "$cfgfile"
15057 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15058 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15059 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15060 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15062 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15063 # 2006, 2007, 2008 Free Software Foundation, Inc.
15064 # Written by Gordon Matzigkeit, 1996
15066 # This file is part of GNU Libtool.
15068 # GNU Libtool is free software; you can redistribute it and/or
15069 # modify it under the terms of the GNU General Public License as
15070 # published by the Free Software Foundation; either version 2 of
15071 # the License, or (at your option) any later version.
15073 # As a special exception to the GNU General Public License,
15074 # if you distribute this file as part of a program or library that
15075 # is built using GNU Libtool, you may include this file under the
15076 # same distribution terms that you use for the rest of that program.
15078 # GNU Libtool is distributed in the hope that it will be useful,
15079 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15080 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15081 # GNU General Public License for more details.
15083 # You should have received a copy of the GNU General Public License
15084 # along with GNU Libtool; see the file COPYING. If not, a copy
15085 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15086 # obtained by writing to the Free Software Foundation, Inc.,
15087 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15090 # The names of the tagged configurations supported by this script.
15093 # ### BEGIN LIBTOOL CONFIG
15095 # Which release of libtool.m4 was used?
15096 macro_version=$macro_version
15097 macro_revision=$macro_revision
15099 # Whether or not to build shared libraries.
15100 build_libtool_libs=$enable_shared
15102 # Whether or not to build static libraries.
15103 build_old_libs=$enable_static
15105 # What type of objects to build.
15108 # Whether or not to optimize for fast installation.
15109 fast_install=$enable_fast_install
15112 host_alias=$host_alias
15116 # The build system.
15117 build_alias=$build_alias
15121 # A sed program that does not truncate output.
15124 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15125 Xsed="\$SED -e 1s/^X//"
15127 # A grep program that handles long lines.
15133 # A literal string matcher.
15136 # A BSD- or MS-compatible name lister.
15139 # Whether we need soft or hard links.
15142 # What is the maximum length of a command?
15143 max_cmd_len=$max_cmd_len
15145 # Object file suffix (normally "o").
15148 # Executable file suffix (normally "").
15151 # whether the shell understands "unset".
15154 # turn spaces into newlines.
15157 # turn newlines into spaces.
15160 # How to create reloadable object files.
15161 reload_flag=$lt_reload_flag
15162 reload_cmds=$lt_reload_cmds
15164 # An object symbol dumper.
15165 OBJDUMP=$lt_OBJDUMP
15167 # Method to check whether dependent libraries are shared objects.
15168 deplibs_check_method=$lt_deplibs_check_method
15170 # Command to use when deplibs_check_method == "file_magic".
15171 file_magic_cmd=$lt_file_magic_cmd
15175 AR_FLAGS=$lt_AR_FLAGS
15177 # A symbol stripping program.
15180 # Commands used to install an old-style archive.
15182 old_postinstall_cmds=$lt_old_postinstall_cmds
15183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15188 # LTCC compiler flags.
15189 LTCFLAGS=$lt_CFLAGS
15191 # Take the output of nm and produce a listing of raw symbols and C names.
15192 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15194 # Transform the output of nm in a proper C declaration.
15195 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15197 # Transform the output of nm in a C name address pair.
15198 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15200 # Transform the output of nm in a C name address pair when lib prefix is needed.
15201 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15203 # The name of the directory that contains temporary libtool files.
15206 # Shell to use when invoking shell scripts.
15209 # An echo program that does not interpret backslashes.
15212 # Used to examine libraries when file_magic_cmd begins with "file".
15213 MAGIC_CMD=$MAGIC_CMD
15215 # Must we lock files when doing compilation?
15216 need_locks=$lt_need_locks
15218 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15219 DSYMUTIL=$lt_DSYMUTIL
15221 # Tool to change global to local symbols on Mac OS X.
15224 # Tool to manipulate fat objects and archives on Mac OS X.
15227 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15230 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15231 OTOOL64=$lt_OTOOL64
15233 # Old archive suffix (normally "a").
15236 # Shared library suffix (normally ".so").
15237 shrext_cmds=$lt_shrext_cmds
15239 # The commands to extract the exported symbol list from a shared archive.
15240 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15242 # Variables whose values should be saved in libtool wrapper scripts and
15243 # restored at link time.
15244 variables_saved_for_relink=$lt_variables_saved_for_relink
15246 # Do we need the "lib" prefix for modules?
15247 need_lib_prefix=$need_lib_prefix
15249 # Do we need a version for libraries?
15250 need_version=$need_version
15252 # Library versioning type.
15253 version_type=$version_type
15255 # Shared library runtime path variable.
15256 runpath_var=$runpath_var
15258 # Shared library path variable.
15259 shlibpath_var=$shlibpath_var
15261 # Is shlibpath searched before the hard-coded library search path?
15262 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15264 # Format of library name prefix.
15265 libname_spec=$lt_libname_spec
15267 # List of archive names. First name is the real one, the rest are links.
15268 # The last name is the one that the linker finds with -lNAME
15269 library_names_spec=$lt_library_names_spec
15271 # The coded name of the library, if different from the real name.
15272 soname_spec=$lt_soname_spec
15274 # Command to use after installation of a shared archive.
15275 postinstall_cmds=$lt_postinstall_cmds
15277 # Command to use after uninstallation of a shared archive.
15278 postuninstall_cmds=$lt_postuninstall_cmds
15280 # Commands used to finish a libtool library installation in a directory.
15281 finish_cmds=$lt_finish_cmds
15283 # As "finish_cmds", except a single script fragment to be evaled but
15285 finish_eval=$lt_finish_eval
15287 # Whether we should hardcode library paths into libraries.
15288 hardcode_into_libs=$hardcode_into_libs
15290 # Compile-time system search path for libraries.
15291 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15293 # Run-time system search path for libraries.
15294 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15296 # Whether dlopen is supported.
15297 dlopen_support=$enable_dlopen
15299 # Whether dlopen of programs is supported.
15300 dlopen_self=$enable_dlopen_self
15302 # Whether dlopen of statically linked programs is supported.
15303 dlopen_self_static=$enable_dlopen_self_static
15305 # Commands to strip libraries.
15306 old_striplib=$lt_old_striplib
15307 striplib=$lt_striplib
15310 # The linker used to build libraries.
15313 # Commands used to build an old-style archive.
15314 old_archive_cmds=$lt_old_archive_cmds
15316 # A language specific compiler.
15319 # Is the compiler the GNU compiler?
15322 # Compiler flag to turn off builtin functions.
15323 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15325 # How to pass a linker flag through the compiler.
15326 wl=$lt_lt_prog_compiler_wl
15328 # Additional compiler flags for building library objects.
15329 pic_flag=$lt_lt_prog_compiler_pic
15331 # Compiler flag to prevent dynamic linking.
15332 link_static_flag=$lt_lt_prog_compiler_static
15334 # Does compiler simultaneously support -c and -o options?
15335 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15337 # Whether or not to add -lc for building shared libraries.
15338 build_libtool_need_lc=$archive_cmds_need_lc
15340 # Whether or not to disallow shared libs when runtime libs are static.
15341 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15343 # Compiler flag to allow reflexive dlopens.
15344 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15346 # Compiler flag to generate shared objects directly from archives.
15347 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15349 # Whether the compiler copes with passing no objects directly.
15350 compiler_needs_object=$lt_compiler_needs_object
15352 # Create an old-style archive from a shared archive.
15353 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15355 # Create a temporary old-style archive to link instead of a shared archive.
15356 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15358 # Commands used to build a shared archive.
15359 archive_cmds=$lt_archive_cmds
15360 archive_expsym_cmds=$lt_archive_expsym_cmds
15362 # Commands used to build a loadable module if different from building
15363 # a shared archive.
15364 module_cmds=$lt_module_cmds
15365 module_expsym_cmds=$lt_module_expsym_cmds
15367 # Whether we are building with GNU ld or not.
15368 with_gnu_ld=$lt_with_gnu_ld
15370 # Flag that allows shared libraries with undefined symbols to be built.
15371 allow_undefined_flag=$lt_allow_undefined_flag
15373 # Flag that enforces no undefined symbols.
15374 no_undefined_flag=$lt_no_undefined_flag
15376 # Flag to hardcode \$libdir into a binary during linking.
15377 # This must work even if \$libdir does not exist
15378 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15380 # If ld is used when linking, flag to hardcode \$libdir into a binary
15381 # during linking. This must work even if \$libdir does not exist.
15382 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15384 # Whether we need a single "-rpath" flag with a separated argument.
15385 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15387 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15388 # DIR into the resulting binary.
15389 hardcode_direct=$hardcode_direct
15391 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15392 # DIR into the resulting binary and the resulting library dependency is
15393 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15394 # library is relocated.
15395 hardcode_direct_absolute=$hardcode_direct_absolute
15397 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15398 # into the resulting binary.
15399 hardcode_minus_L=$hardcode_minus_L
15401 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15402 # into the resulting binary.
15403 hardcode_shlibpath_var=$hardcode_shlibpath_var
15405 # Set to "yes" if building a shared library automatically hardcodes DIR
15406 # into the library and all subsequent libraries and executables linked
15408 hardcode_automatic=$hardcode_automatic
15410 # Set to yes if linker adds runtime paths of dependent libraries
15411 # to runtime path list.
15412 inherit_rpath=$inherit_rpath
15414 # Whether libtool must link a program against all its dependency libraries.
15415 link_all_deplibs=$link_all_deplibs
15417 # Fix the shell variable \$srcfile for the compiler.
15418 fix_srcfile_path=$lt_fix_srcfile_path
15420 # Set to "yes" if exported symbols are required.
15421 always_export_symbols=$always_export_symbols
15423 # The commands to list exported symbols.
15424 export_symbols_cmds=$lt_export_symbols_cmds
15426 # Symbols that should not be listed in the preloaded symbols.
15427 exclude_expsyms=$lt_exclude_expsyms
15429 # Symbols that must always be exported.
15430 include_expsyms=$lt_include_expsyms
15432 # Commands necessary for linking programs (against libraries) with templates.
15433 prelink_cmds=$lt_prelink_cmds
15435 # Specify filename containing input files.
15436 file_list_spec=$lt_file_list_spec
15438 # How to hardcode a shared library path into an executable.
15439 hardcode_action=$hardcode_action
15441 # ### END LIBTOOL CONFIG
15447 cat <<\_LT_EOF >> "$cfgfile"
15448 # AIX sometimes has problems with the GCC collect2 program. For some
15449 # reason, if we set the COLLECT_NAMES environment variable, the problems
15450 # vanish in a puff of smoke.
15451 if test "X${COLLECT_NAMES+set}" != Xset; then
15453 export COLLECT_NAMES
15460 ltmain="$ac_aux_dir/ltmain.sh"
15463 # We use sed instead of cat because bash on DJGPP gets confused if
15464 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15465 # text mode, it properly converts lines to CR/LF. This bash problem
15466 # is reportedly fixed, but why not run on old versions too?
15467 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15468 || (rm -f "$cfgfile"; exit 1)
15472 cat << \_LT_EOF >> "$cfgfile"
15474 # func_dirname file append nondir_replacement
15475 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15476 # otherwise set result to NONDIR_REPLACEMENT.
15480 */*) func_dirname_result="${1%/*}${2}" ;;
15481 * ) func_dirname_result="${3}" ;;
15485 # func_basename file
15488 func_basename_result="${1##*/}"
15491 # func_dirname_and_basename file append nondir_replacement
15492 # perform func_basename and func_dirname in a single function
15494 # dirname: Compute the dirname of FILE. If nonempty,
15495 # add APPEND to the result, otherwise set result
15496 # to NONDIR_REPLACEMENT.
15497 # value returned in "$func_dirname_result"
15498 # basename: Compute filename of FILE.
15499 # value retuned in "$func_basename_result"
15500 # Implementation must be kept synchronized with func_dirname
15501 # and func_basename. For efficiency, we do not delegate to
15502 # those functions but instead duplicate the functionality here.
15503 func_dirname_and_basename ()
15506 */*) func_dirname_result="${1%/*}${2}" ;;
15507 * ) func_dirname_result="${3}" ;;
15509 func_basename_result="${1##*/}"
15512 # func_stripname prefix suffix name
15513 # strip PREFIX and SUFFIX off of NAME.
15514 # PREFIX and SUFFIX must not contain globbing or regex special
15515 # characters, hashes, percent signs, but SUFFIX may contain a leading
15516 # dot (in which case that matches only a dot).
15519 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15520 # positional parameters, so assign one to ordinary parameter first.
15521 func_stripname_result=${3}
15522 func_stripname_result=${func_stripname_result#"${1}"}
15523 func_stripname_result=${func_stripname_result%"${2}"}
15529 func_opt_split_opt=${1%%=*}
15530 func_opt_split_arg=${1#*=}
15537 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15538 *) func_lo2o_result=${1} ;;
15542 # func_xform libobj-or-source
15545 func_xform_result=${1%.*}.lo
15548 # func_arith arithmetic-term...
15551 func_arith_result=$(( $* ))
15555 # STRING may not start with a hyphen.
15558 func_len_result=${#1}
15563 *) # Bourne compatible functions.
15564 cat << \_LT_EOF >> "$cfgfile"
15566 # func_dirname file append nondir_replacement
15567 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15568 # otherwise set result to NONDIR_REPLACEMENT.
15571 # Extract subdirectory from the argument.
15572 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15573 if test "X$func_dirname_result" = "X${1}"; then
15574 func_dirname_result="${3}"
15576 func_dirname_result="$func_dirname_result${2}"
15580 # func_basename file
15583 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15587 # func_stripname prefix suffix name
15588 # strip PREFIX and SUFFIX off of NAME.
15589 # PREFIX and SUFFIX must not contain globbing or regex special
15590 # characters, hashes, percent signs, but SUFFIX may contain a leading
15591 # dot (in which case that matches only a dot).
15592 # func_strip_suffix prefix name
15596 .*) func_stripname_result=`$ECHO "X${3}" \
15597 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15598 *) func_stripname_result=`$ECHO "X${3}" \
15599 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15604 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15605 my_sed_long_arg='1s/^-[^=]*=//'
15610 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15611 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15617 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15620 # func_xform libobj-or-source
15623 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15626 # func_arith arithmetic-term...
15629 func_arith_result=`expr "$@"`
15633 # STRING may not start with a hyphen.
15636 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15642 case $lt_shell_append in
15644 cat << \_LT_EOF >> "$cfgfile"
15646 # func_append var value
15647 # Append VALUE to the end of shell variable VAR.
15655 cat << \_LT_EOF >> "$cfgfile"
15657 # func_append var value
15658 # Append VALUE to the end of shell variable VAR.
15669 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15670 || (rm -f "$cfgfile"; exit 1)
15672 mv -f "$cfgfile" "$ofile" ||
15673 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15682 { (exit 0); exit 0; }
15684 chmod +x $CONFIG_STATUS
15685 ac_clean_files=$ac_clean_files_save
15687 test $ac_write_fail = 0 ||
15688 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15689 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15690 { (exit 1); exit 1; }; }
15693 # configure is writing to config.log, and then calls config.status.
15694 # config.status does its own redirection, appending to config.log.
15695 # Unfortunately, on DOS this fails, as config.log is still kept open
15696 # by configure, so config.status won't be able to write to it; its
15697 # output is simply discarded. So we exec the FD to /dev/null,
15698 # effectively closing config.log, so it can be properly (re)opened and
15699 # appended to by config.status. When coming back to configure, we
15700 # need to make the FD available again.
15701 if test "$no_create" != yes; then
15703 ac_config_status_args=
15704 test "$silent" = yes &&
15705 ac_config_status_args="$ac_config_status_args --quiet"
15707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15710 # would make configure fail if this is the last instruction.
15711 $ac_cs_success || { (exit 1); exit 1; }
15713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15714 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15715 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}