2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for util-vserver 0.30.216-pre2833.
5 # Report bugs to <vserver@list.linux-vserver.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599 echo_test_string=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619 for dir in $PATH /usr/ucb; do
621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X/bin/ksh; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL=/bin/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 SHELL="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames=${tagnames+${tagnames},}CXX
706 tagnames=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev/null 6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix=/usr/local
720 ac_config_libobj_dir=.
726 SHELL=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME='util-vserver'
730 PACKAGE_TARNAME='util-vserver'
731 PACKAGE_VERSION='0.30.216-pre2833'
732 PACKAGE_STRING='util-vserver 0.30.216-pre2833'
733 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
735 ac_unique_file="src/capchroot.c"
736 # Factoring default headers for most tests.
737 ac_includes_default="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
832 MAINTAINER_MODE_FALSE
867 ENSC_HAVE_CXX_COMPILER_TRUE
868 ENSC_HAVE_CXX_COMPILER_FALSE
869 ENSC_HAVE_C99_COMPILER_TRUE
870 ENSC_HAVE_C99_COMPILER_FALSE
923 ENSC_USE_EXPENSIVE_TESTS
931 USE_DIETLIBC_COMPAT_TRUE
932 USE_DIETLIBC_COMPAT_FALSE
933 ENSC_USE_DIETLIBC_TRUE
934 ENSC_USE_DIETLIBC_FALSE
949 ENSC_ENABLE_INTERNAL_HEADERS_TRUE
950 ENSC_ENABLE_INTERNAL_HEADERS_FALSE
951 ENSC_HAVE_BEECRYPT_TRUE
952 ENSC_HAVE_BEECRYPT_FALSE
953 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE
954 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE
957 ENSC_HAVE_CRYPTO_TRUE
958 ENSC_HAVE_CRYPTO_FALSE
959 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE
960 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE
963 HAVE_GENTOO_INIT_TRUE
964 HAVE_GENTOO_INIT_FALSE
982 HAVE_VERSIONING_FALSE
986 ac_precious_vars='build_alias
1008 # Initialize some variables set by options.
1010 ac_init_version=false
1011 # The variables have the same names as the options, with
1012 # dashes changed to underlines.
1013 cache_file=/dev/null
1020 program_transform_name=s,x,x,
1028 # Installation directory options.
1029 # These are left unexpanded so users can "make install exec_prefix=/foo"
1030 # and all the variables that are supposed to be based on exec_prefix
1031 # by default will actually change.
1032 # Use braces instead of parens because sh, perl, etc. also accept them.
1033 # (The list follows the same order as the GNU Coding Standards.)
1034 bindir='${exec_prefix}/bin'
1035 sbindir='${exec_prefix}/sbin'
1036 libexecdir='${exec_prefix}/libexec'
1037 datarootdir='${prefix}/share'
1038 datadir='${datarootdir}'
1039 sysconfdir='${prefix}/etc'
1040 sharedstatedir='${prefix}/com'
1041 localstatedir='${prefix}/var'
1042 includedir='${prefix}/include'
1043 oldincludedir='/usr/include'
1044 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1045 infodir='${datarootdir}/info'
1050 libdir='${exec_prefix}/lib'
1051 localedir='${datarootdir}/locale'
1052 mandir='${datarootdir}/man'
1058 # If the previous option needs an argument, assign it.
1059 if test -n "$ac_prev"; then
1060 eval $ac_prev=\$ac_option
1066 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1070 # Accept the important Cygnus configure options, so we can diagnose typos.
1072 case $ac_dashdash$ac_option in
1076 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1078 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1079 bindir=$ac_optarg ;;
1081 -build | --build | --buil | --bui | --bu)
1082 ac_prev=build_alias ;;
1083 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1084 build_alias=$ac_optarg ;;
1086 -cache-file | --cache-file | --cache-fil | --cache-fi \
1087 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1088 ac_prev=cache_file ;;
1089 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1090 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1091 cache_file=$ac_optarg ;;
1093 --config-cache | -C)
1094 cache_file=config.cache ;;
1096 -datadir | --datadir | --datadi | --datad)
1098 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1099 datadir=$ac_optarg ;;
1101 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1102 | --dataroo | --dataro | --datar)
1103 ac_prev=datarootdir ;;
1104 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1105 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1106 datarootdir=$ac_optarg ;;
1108 -disable-* | --disable-*)
1109 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1115 eval enable_$ac_feature=no ;;
1117 -docdir | --docdir | --docdi | --doc | --do)
1119 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1120 docdir=$ac_optarg ;;
1122 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1124 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1125 dvidir=$ac_optarg ;;
1127 -enable-* | --enable-*)
1128 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1132 { (exit 1); exit 1; }; }
1133 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1134 eval enable_$ac_feature=\$ac_optarg ;;
1136 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1137 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1138 | --exec | --exe | --ex)
1139 ac_prev=exec_prefix ;;
1140 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1141 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1142 | --exec=* | --exe=* | --ex=*)
1143 exec_prefix=$ac_optarg ;;
1145 -gas | --gas | --ga | --g)
1146 # Obsolete; use --with-gas.
1149 -help | --help | --hel | --he | -h)
1150 ac_init_help=long ;;
1151 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1152 ac_init_help=recursive ;;
1153 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1154 ac_init_help=short ;;
1156 -host | --host | --hos | --ho)
1157 ac_prev=host_alias ;;
1158 -host=* | --host=* | --hos=* | --ho=*)
1159 host_alias=$ac_optarg ;;
1161 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1163 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1165 htmldir=$ac_optarg ;;
1167 -includedir | --includedir | --includedi | --included | --include \
1168 | --includ | --inclu | --incl | --inc)
1169 ac_prev=includedir ;;
1170 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1171 | --includ=* | --inclu=* | --incl=* | --inc=*)
1172 includedir=$ac_optarg ;;
1174 -infodir | --infodir | --infodi | --infod | --info | --inf)
1176 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1177 infodir=$ac_optarg ;;
1179 -libdir | --libdir | --libdi | --libd)
1181 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1182 libdir=$ac_optarg ;;
1184 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1185 | --libexe | --libex | --libe)
1186 ac_prev=libexecdir ;;
1187 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1188 | --libexe=* | --libex=* | --libe=*)
1189 libexecdir=$ac_optarg ;;
1191 -localedir | --localedir | --localedi | --localed | --locale)
1192 ac_prev=localedir ;;
1193 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1194 localedir=$ac_optarg ;;
1196 -localstatedir | --localstatedir | --localstatedi | --localstated \
1197 | --localstate | --localstat | --localsta | --localst | --locals)
1198 ac_prev=localstatedir ;;
1199 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1200 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1201 localstatedir=$ac_optarg ;;
1203 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1205 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1206 mandir=$ac_optarg ;;
1208 -nfp | --nfp | --nf)
1209 # Obsolete; use --without-fp.
1212 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1213 | --no-cr | --no-c | -n)
1216 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1217 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1220 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1221 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1222 | --oldin | --oldi | --old | --ol | --o)
1223 ac_prev=oldincludedir ;;
1224 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1225 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1226 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1227 oldincludedir=$ac_optarg ;;
1229 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1231 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1232 prefix=$ac_optarg ;;
1234 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1235 | --program-pre | --program-pr | --program-p)
1236 ac_prev=program_prefix ;;
1237 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1238 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1239 program_prefix=$ac_optarg ;;
1241 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1242 | --program-suf | --program-su | --program-s)
1243 ac_prev=program_suffix ;;
1244 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1245 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1246 program_suffix=$ac_optarg ;;
1248 -program-transform-name | --program-transform-name \
1249 | --program-transform-nam | --program-transform-na \
1250 | --program-transform-n | --program-transform- \
1251 | --program-transform | --program-transfor \
1252 | --program-transfo | --program-transf \
1253 | --program-trans | --program-tran \
1254 | --progr-tra | --program-tr | --program-t)
1255 ac_prev=program_transform_name ;;
1256 -program-transform-name=* | --program-transform-name=* \
1257 | --program-transform-nam=* | --program-transform-na=* \
1258 | --program-transform-n=* | --program-transform-=* \
1259 | --program-transform=* | --program-transfor=* \
1260 | --program-transfo=* | --program-transf=* \
1261 | --program-trans=* | --program-tran=* \
1262 | --progr-tra=* | --program-tr=* | --program-t=*)
1263 program_transform_name=$ac_optarg ;;
1265 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1267 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1268 pdfdir=$ac_optarg ;;
1270 -psdir | --psdir | --psdi | --psd | --ps)
1272 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1279 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1281 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1283 sbindir=$ac_optarg ;;
1285 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1286 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1287 | --sharedst | --shareds | --shared | --share | --shar \
1289 ac_prev=sharedstatedir ;;
1290 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1291 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1292 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1294 sharedstatedir=$ac_optarg ;;
1296 -site | --site | --sit)
1298 -site=* | --site=* | --sit=*)
1301 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1303 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1304 srcdir=$ac_optarg ;;
1306 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1307 | --syscon | --sysco | --sysc | --sys | --sy)
1308 ac_prev=sysconfdir ;;
1309 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1310 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1311 sysconfdir=$ac_optarg ;;
1313 -target | --target | --targe | --targ | --tar | --ta | --t)
1314 ac_prev=target_alias ;;
1315 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1316 target_alias=$ac_optarg ;;
1318 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1321 -version | --version | --versio | --versi | --vers | -V)
1322 ac_init_version=: ;;
1325 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1326 # Reject names that are not valid shell variable names.
1327 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1328 { echo "$as_me: error: invalid package name: $ac_package" >&2
1329 { (exit 1); exit 1; }; }
1330 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1331 eval with_$ac_package=\$ac_optarg ;;
1333 -without-* | --without-*)
1334 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1335 # Reject names that are not valid shell variable names.
1336 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1337 { echo "$as_me: error: invalid package name: $ac_package" >&2
1338 { (exit 1); exit 1; }; }
1339 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1340 eval with_$ac_package=no ;;
1343 # Obsolete; use --with-x.
1346 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1347 | --x-incl | --x-inc | --x-in | --x-i)
1348 ac_prev=x_includes ;;
1349 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1350 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1351 x_includes=$ac_optarg ;;
1353 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1354 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1355 ac_prev=x_libraries ;;
1356 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1357 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1358 x_libraries=$ac_optarg ;;
1360 -*) { echo "$as_me: error: unrecognized option: $ac_option
1361 Try \`$0 --help' for more information." >&2
1362 { (exit 1); exit 1; }; }
1366 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1367 # Reject names that are not valid shell variable names.
1368 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1369 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1370 { (exit 1); exit 1; }; }
1371 eval $ac_envvar=\$ac_optarg
1372 export $ac_envvar ;;
1375 # FIXME: should be removed in autoconf 3.0.
1376 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1377 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1378 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1379 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1385 if test -n "$ac_prev"; then
1386 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1387 { echo "$as_me: error: missing argument to $ac_option" >&2
1388 { (exit 1); exit 1; }; }
1391 # Be sure to have absolute directory names.
1392 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1393 datadir sysconfdir sharedstatedir localstatedir includedir \
1394 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1395 libdir localedir mandir
1397 eval ac_val=\$$ac_var
1399 [\\/$]* | ?:[\\/]* ) continue;;
1400 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1402 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1403 { (exit 1); exit 1; }; }
1406 # There might be people who depend on the old broken behavior: `$host'
1407 # used to hold the argument of --host etc.
1408 # FIXME: To remove some day.
1411 target=$target_alias
1413 # FIXME: To remove some day.
1414 if test "x$host_alias" != x; then
1415 if test "x$build_alias" = x; then
1416 cross_compiling=maybe
1417 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1418 If a cross compiler is detected then cross compile mode will be used." >&2
1419 elif test "x$build_alias" != "x$host_alias"; then
1425 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1427 test "$silent" = yes && exec 6>/dev/null
1430 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1431 ac_ls_di=`ls -di .` &&
1432 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1433 { echo "$as_me: error: Working directory cannot be determined" >&2
1434 { (exit 1); exit 1; }; }
1435 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1436 { echo "$as_me: error: pwd does not report name of working directory" >&2
1437 { (exit 1); exit 1; }; }
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442 ac_srcdir_defaulted=yes
1443 # Try the directory containing this script, then the parent directory.
1444 ac_confdir=`$as_dirname -- "$0" ||
1445 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446 X"$0" : 'X\(//\)[^/]' \| \
1447 X"$0" : 'X\(//\)$' \| \
1448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1472 ac_srcdir_defaulted=no
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1477 { (exit 1); exit 1; }; }
1479 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1481 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1482 { (exit 1); exit 1; }; }
1484 # When building in place, set srcdir=.
1485 if test "$ac_abs_confdir" = "$ac_pwd"; then
1488 # Remove unnecessary trailing slashes from srcdir.
1489 # Double slashes in file names in object file debugging info
1490 # mess up M-x gdb in Emacs.
1492 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 for ac_var in $ac_precious_vars; do
1495 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1496 eval ac_env_${ac_var}_value=\$${ac_var}
1497 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1498 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1502 # Report the --help message.
1504 if test "$ac_init_help" = "long"; then
1505 # Omit some internal or obsolete options to make the list less imposing.
1506 # This message is too long to be a string in the A/UX 3.1 sh.
1508 \`configure' configures util-vserver 0.30.216-pre2833 to adapt to many kinds of systems.
1510 Usage: $0 [OPTION]... [VAR=VALUE]...
1512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1513 VAR=VALUE. See below for descriptions of some of the useful variables.
1515 Defaults for the options are specified in brackets.
1518 -h, --help display this help and exit
1519 --help=short display options specific to this package
1520 --help=recursive display the short help of all the included packages
1521 -V, --version display version information and exit
1522 -q, --quiet, --silent do not print \`checking...' messages
1523 --cache-file=FILE cache test results in FILE [disabled]
1524 -C, --config-cache alias for \`--cache-file=config.cache'
1525 -n, --no-create do not create output files
1526 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1528 Installation directories:
1529 --prefix=PREFIX install architecture-independent files in PREFIX
1530 [$ac_default_prefix]
1531 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1534 By default, \`make install' will install all the files in
1535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1537 for instance \`--prefix=\$HOME'.
1539 For better control, use the options below.
1541 Fine tuning of the installation directories:
1542 --bindir=DIR user executables [EPREFIX/bin]
1543 --sbindir=DIR system admin executables [EPREFIX/sbin]
1544 --libexecdir=DIR program executables [EPREFIX/libexec]
1545 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1546 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1547 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1548 --libdir=DIR object code libraries [EPREFIX/lib]
1549 --includedir=DIR C header files [PREFIX/include]
1550 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1551 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1552 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1553 --infodir=DIR info documentation [DATAROOTDIR/info]
1554 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1555 --mandir=DIR man documentation [DATAROOTDIR/man]
1556 --docdir=DIR documentation root [DATAROOTDIR/doc/util-vserver]
1557 --htmldir=DIR html documentation [DOCDIR]
1558 --dvidir=DIR dvi documentation [DOCDIR]
1559 --pdfdir=DIR pdf documentation [DOCDIR]
1560 --psdir=DIR ps documentation [DOCDIR]
1566 --program-prefix=PREFIX prepend PREFIX to installed program names
1567 --program-suffix=SUFFIX append SUFFIX to installed program names
1568 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1571 --build=BUILD configure for building on BUILD [guessed]
1572 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1576 if test -n "$ac_init_help"; then
1577 case $ac_init_help in
1578 short | recursive ) echo "Configuration of util-vserver 0.30.216-pre2833:";;
1583 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1584 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1585 --enable-maintainer-mode enable make rules and dependencies not useful
1586 (and sometimes confusing) to the casual installer
1587 --disable-dependency-tracking speeds up one-time build
1588 --enable-dependency-tracking do not reject slow dependency extractors
1589 --disable-extra-optimizations
1590 disable certain extra optimizations (default: no)
1591 --enable-lib-debug enable additional debug code in library (default:
1593 --enable-expensive-tests
1594 disable tests which might be expensive on some
1595 systems (default: no)
1596 --enable-release enable release mode (default: no)
1597 --disable-alternative-syscalls
1598 do not use the alternative _syscallX macros provided
1599 by Herbert Poetzl (default: use them)
1600 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1601 --enable-dietlibc) (default: autodetect dietlibc)
1602 --enable-shared[=PKGS] build shared libraries [default=yes]
1603 --enable-static[=PKGS] build static libraries [default=yes]
1604 --enable-fast-install[=PKGS]
1605 optimize for fast installation [default=yes]
1606 --disable-libtool-lock avoid locking (might break parallel builds)
1607 --disable-internal-headers
1608 use vserver specific headers from the kernel instead
1609 of the shipped versions (default: no)
1610 --enable-apis=APIS enable support for the given apis; possible values
1612 legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2
1613 ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2)
1614 --disable-versioning Disable library versioning
1617 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1618 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1619 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1621 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1622 values are 'fast', 'traditional' and 'auto'
1624 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1625 --with-pic try to use only PIC/non-PIC objects [default=use
1627 --with-tags[=TAGS] include additional configurations [automatic]
1628 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1629 --with-crypto-api=API select crypto api to be used; possible values are
1630 `none', `nss', `beecrypt', `auto' (default:auto)
1631 --with-initscripts=TYPE force host initscripts; valid values are 'gentoo'
1632 and 'sysv' (default: guess)
1634 Some influential environment variables:
1635 CXX C++ compiler command
1636 CXXFLAGS C++ compiler flags
1637 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1638 nonstandard directory <lib dir>
1639 LIBS libraries to pass to the linker, e.g. -l<library>
1640 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1641 you have headers in a nonstandard directory <include dir>
1642 CC C compiler command
1643 CFLAGS C compiler flags
1644 PKG_CONFIG path to pkg-config utility
1646 DIET The 'diet' wrapper (default: diet)
1647 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1648 CXXCPP C++ preprocessor
1649 F77 Fortran 77 compiler command
1650 FFLAGS Fortran 77 compiler flags
1651 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
1652 NSS_LIBS linker flags for NSS, overriding pkg-config
1654 Use these variables to override the choices made by `configure' or to help
1655 it to find libraries and programs with nonstandard names/locations.
1657 Report bugs to <vserver@list.linux-vserver.org>.
1662 if test "$ac_init_help" = "recursive"; then
1663 # If there are subdirs, report their specific --help.
1664 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1665 test -d "$ac_dir" || continue
1669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1671 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1672 # A ".." for each directory in $ac_dir_suffix.
1673 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1674 case $ac_top_builddir_sub in
1675 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1676 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1679 ac_abs_top_builddir=$ac_pwd
1680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1681 # for backward compatibility:
1682 ac_top_builddir=$ac_top_build_prefix
1685 .) # We are building in place.
1687 ac_top_srcdir=$ac_top_builddir_sub
1688 ac_abs_top_srcdir=$ac_pwd ;;
1689 [\\/]* | ?:[\\/]* ) # Absolute name.
1690 ac_srcdir=$srcdir$ac_dir_suffix;
1691 ac_top_srcdir=$srcdir
1692 ac_abs_top_srcdir=$srcdir ;;
1694 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1695 ac_top_srcdir=$ac_top_build_prefix$srcdir
1696 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1700 cd "$ac_dir" || { ac_status=$?; continue; }
1701 # Check for guested configure.
1702 if test -f "$ac_srcdir/configure.gnu"; then
1704 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1705 elif test -f "$ac_srcdir/configure"; then
1707 $SHELL "$ac_srcdir/configure" --help=recursive
1709 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1711 cd "$ac_pwd" || { ac_status=$?; break; }
1715 test -n "$ac_init_help" && exit $ac_status
1716 if $ac_init_version; then
1718 util-vserver configure 0.30.216-pre2833
1719 generated by GNU Autoconf 2.61
1721 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1722 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1723 This configure script is free software; the Free Software Foundation
1724 gives unlimited permission to copy, distribute and modify it.
1728 cat >config.log <<_ACEOF
1729 This file contains any messages produced by compilers while
1730 running configure, to aid debugging if configure makes a mistake.
1732 It was created by util-vserver $as_me 0.30.216-pre2833, which was
1733 generated by GNU Autoconf 2.61. Invocation command line was
1745 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1746 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1747 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1748 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1749 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1751 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1752 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1754 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1755 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1756 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1757 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1758 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1759 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1760 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1768 test -z "$as_dir" && as_dir=.
1769 echo "PATH: $as_dir"
1785 # Keep a trace of the command line.
1786 # Strip out --no-create and --no-recursion so they do not pile up.
1787 # Strip out --silent because we don't want to record it for future runs.
1788 # Also quote any args containing shell meta-characters.
1789 # Make two passes to allow for proper duplicate-argument suppression.
1793 ac_must_keep_next=false
1799 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1800 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1801 | -silent | --silent | --silen | --sile | --sil)
1804 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1807 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1809 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1810 if test $ac_must_keep_next = true; then
1811 ac_must_keep_next=false # Got value, back to normal.
1814 *=* | --config-cache | -C | -disable-* | --disable-* \
1815 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1816 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1817 | -with-* | --with-* | -without-* | --without-* | --x)
1818 case "$ac_configure_args0 " in
1819 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1822 -* ) ac_must_keep_next=true ;;
1825 ac_configure_args="$ac_configure_args '$ac_arg'"
1830 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1831 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1833 # When interrupted or exit'd, cleanup temporary files, and complete
1834 # config.log. We remove comments because anyway the quotes in there
1835 # would cause problems or look ugly.
1836 # WARNING: Use '\'' to represent an apostrophe within the trap.
1837 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1838 trap 'exit_status=$?
1839 # Save into config.log some information that might help in debugging.
1844 ## ---------------- ##
1845 ## Cache variables. ##
1846 ## ---------------- ##
1849 # The following way of writing the cache mishandles newlines in values,
1851 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1852 eval ac_val=\$$ac_var
1856 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1857 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1860 _ | IFS | as_nl) ;; #(
1861 *) $as_unset $ac_var ;;
1866 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1867 *${as_nl}ac_space=\ *)
1869 "s/'\''/'\''\\\\'\'''\''/g;
1870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1873 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1881 ## ----------------- ##
1882 ## Output variables. ##
1883 ## ----------------- ##
1886 for ac_var in $ac_subst_vars
1888 eval ac_val=\$$ac_var
1890 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1892 echo "$ac_var='\''$ac_val'\''"
1896 if test -n "$ac_subst_files"; then
1898 ## ------------------- ##
1899 ## File substitutions. ##
1900 ## ------------------- ##
1903 for ac_var in $ac_subst_files
1905 eval ac_val=\$$ac_var
1907 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1909 echo "$ac_var='\''$ac_val'\''"
1914 if test -s confdefs.h; then
1924 test "$ac_signal" != 0 &&
1925 echo "$as_me: caught signal $ac_signal"
1926 echo "$as_me: exit $exit_status"
1928 rm -f core *.core core.conftest.* &&
1929 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1932 for ac_signal in 1 2 13 15; do
1933 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1937 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1938 rm -f -r conftest* confdefs.h
1940 # Predefined preprocessor variables.
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_NAME "$PACKAGE_NAME"
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1952 cat >>confdefs.h <<_ACEOF
1953 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_STRING "$PACKAGE_STRING"
1962 cat >>confdefs.h <<_ACEOF
1963 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1967 # Let the site file select an alternate cache file if it wants to.
1968 # Prefer explicitly selected file to automatically selected ones.
1969 if test -n "$CONFIG_SITE"; then
1970 set x "$CONFIG_SITE"
1971 elif test "x$prefix" != xNONE; then
1972 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1974 set x "$ac_default_prefix/share/config.site" \
1975 "$ac_default_prefix/etc/config.site"
1980 if test -r "$ac_site_file"; then
1981 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1982 echo "$as_me: loading site script $ac_site_file" >&6;}
1983 sed 's/^/| /' "$ac_site_file" >&5
1988 if test -r "$cache_file"; then
1989 # Some versions of bash will fail to source /dev/null (special
1990 # files actually), so we avoid doing that.
1991 if test -f "$cache_file"; then
1992 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1993 echo "$as_me: loading cache $cache_file" >&6;}
1995 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1996 *) . "./$cache_file";;
2000 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2001 echo "$as_me: creating cache $cache_file" >&6;}
2005 # Check that the precious variables saved in the cache have kept the same
2007 ac_cache_corrupted=false
2008 for ac_var in $ac_precious_vars; do
2009 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2010 eval ac_new_set=\$ac_env_${ac_var}_set
2011 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2012 eval ac_new_val=\$ac_env_${ac_var}_value
2013 case $ac_old_set,$ac_new_set in
2015 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2016 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2017 ac_cache_corrupted=: ;;
2019 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2020 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2021 ac_cache_corrupted=: ;;
2024 if test "x$ac_old_val" != "x$ac_new_val"; then
2025 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2026 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2027 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2028 echo "$as_me: former value: $ac_old_val" >&2;}
2029 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2030 echo "$as_me: current value: $ac_new_val" >&2;}
2031 ac_cache_corrupted=:
2034 # Pass precious variables to config.status.
2035 if test "$ac_new_set" = set; then
2037 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2038 *) ac_arg=$ac_var=$ac_new_val ;;
2040 case " $ac_configure_args " in
2041 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2042 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2046 if $ac_cache_corrupted; then
2047 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2048 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2049 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2050 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2051 { (exit 1); exit 1; }; }
2079 ac_cpp='$CPP $CPPFLAGS'
2080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2086 ac_config_headers="$ac_config_headers config.h"
2089 am__api_version='1.10'
2092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2093 if test -f "$ac_dir/install-sh"; then
2095 ac_install_sh="$ac_aux_dir/install-sh -c"
2097 elif test -f "$ac_dir/install.sh"; then
2099 ac_install_sh="$ac_aux_dir/install.sh -c"
2101 elif test -f "$ac_dir/shtool"; then
2103 ac_install_sh="$ac_aux_dir/shtool install -c"
2107 if test -z "$ac_aux_dir"; then
2108 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2109 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2110 { (exit 1); exit 1; }; }
2113 # These three variables are undocumented and unsupported,
2114 # and are intended to be withdrawn in a future Autoconf release.
2115 # They can cause serious problems if a builder's source tree is in a directory
2116 # whose full name contains unusual characters.
2117 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2118 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2119 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2122 # Find a good install program. We prefer a C program (faster),
2123 # so one script is as good as another. But avoid the broken or
2124 # incompatible versions:
2125 # SysV /etc/install, /usr/sbin/install
2126 # SunOS /usr/etc/install
2127 # IRIX /sbin/install
2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2133 # OS/2's system install, which has a completely different semantic
2134 # ./install, which can be erroneously created by make from ./install.sh.
2135 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2136 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2137 if test -z "$INSTALL"; then
2138 if test "${ac_cv_path_install+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 # Account for people who put trailing slashes in PATH elements.
2148 ./ | .// | /cC/* | \
2149 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2150 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2153 # OSF1 and SCO ODT 3.0 have their own names for install.
2154 # Don't use installbsd from OSF since it installs stuff as root
2156 for ac_prog in ginstall scoinst install; do
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2159 if test $ac_prog = install &&
2160 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2161 # AIX install. It has an incompatible calling convention.
2163 elif test $ac_prog = install &&
2164 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2165 # program-specific install script used by HP pwplus--don't use.
2168 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2181 if test "${ac_cv_path_install+set}" = set; then
2182 INSTALL=$ac_cv_path_install
2184 # As a last resort, use the slow shell script. Don't cache a
2185 # value for INSTALL within a source directory, because that will
2186 # break other packages using the cache if that directory is
2187 # removed, or if the value is a relative name.
2188 INSTALL=$ac_install_sh
2191 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2192 echo "${ECHO_T}$INSTALL" >&6; }
2194 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2195 # It thinks the first close brace ends the variable substitution.
2196 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2198 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2200 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2202 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2203 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2206 echo timestamp > conftest.file
2207 # Do `set' in a subshell so we don't clobber the current shell's
2208 # arguments. Must try -L first in case configure is actually a
2209 # symlink; some systems play weird games with the mod time of symlinks
2210 # (eg FreeBSD returns the mod time of the symlink's containing
2213 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2214 if test "$*" = "X"; then
2216 set X `ls -t $srcdir/configure conftest.file`
2219 if test "$*" != "X $srcdir/configure conftest.file" \
2220 && test "$*" != "X conftest.file $srcdir/configure"; then
2222 # If neither matched, then we have a broken ls. This can happen
2223 # if, for instance, CONFIG_SHELL is bash and it inherits a
2224 # broken ls alias from the environment. This has actually
2225 # happened. Such a system could not be considered "sane".
2226 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2227 alias in your environment" >&5
2228 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2229 alias in your environment" >&2;}
2230 { (exit 1); exit 1; }; }
2233 test "$2" = conftest.file
2239 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2240 Check your system clock" >&5
2241 echo "$as_me: error: newly created file is older than distributed files!
2242 Check your system clock" >&2;}
2243 { (exit 1); exit 1; }; }
2245 { echo "$as_me:$LINENO: result: yes" >&5
2246 echo "${ECHO_T}yes" >&6; }
2247 test "$program_prefix" != NONE &&
2248 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2249 # Use a double $ so make ignores it.
2250 test "$program_suffix" != NONE &&
2251 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2252 # Double any \ or $. echo might interpret backslashes.
2253 # By default was `s,x,x', remove it if useless.
2254 cat <<\_ACEOF >conftest.sed
2255 s/[\\$]/&&/g;s/;s,x,x,$//
2257 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2260 # expand $ac_aux_dir to an absolute path
2261 am_aux_dir=`cd $ac_aux_dir && pwd`
2263 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2264 # Use eval to expand $SHELL
2265 if eval "$MISSING --run true"; then
2266 am_missing_run="$MISSING --run "
2269 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2270 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2273 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2274 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2275 if test -z "$MKDIR_P"; then
2276 if test "${ac_cv_path_mkdir+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2283 test -z "$as_dir" && as_dir=.
2284 for ac_prog in mkdir gmkdir; do
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2287 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2288 'mkdir (GNU coreutils) '* | \
2289 'mkdir (coreutils) '* | \
2290 'mkdir (fileutils) '4.1*)
2291 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2301 if test "${ac_cv_path_mkdir+set}" = set; then
2302 MKDIR_P="$ac_cv_path_mkdir -p"
2304 # As a last resort, use the slow shell script. Don't cache a
2305 # value for MKDIR_P within a source directory, because that will
2306 # break other packages using the cache if that directory is
2307 # removed, or if the value is a relative name.
2308 test -d ./--version && rmdir ./--version
2309 MKDIR_P="$ac_install_sh -d"
2312 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2313 echo "${ECHO_T}$MKDIR_P" >&6; }
2317 [\\/$]* | ?:[\\/]*) ;;
2318 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2321 for ac_prog in gawk mawk nawk awk
2323 # Extract the first word of "$ac_prog", so it can be a program name with args.
2324 set dummy $ac_prog; ac_word=$2
2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_AWK+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$AWK"; then
2331 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_AWK="$ac_prog"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test -n "$AWK"; then
2352 { echo "$as_me:$LINENO: result: $AWK" >&5
2353 echo "${ECHO_T}$AWK" >&6; }
2355 { echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6; }
2360 test -n "$AWK" && break
2363 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2364 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2365 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2366 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 cat >conftest.make <<\_ACEOF
2372 @echo '@@@%%%=$(MAKE)=@@@%%%'
2374 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2375 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2377 eval ac_cv_prog_make_${ac_make}_set=yes;;
2379 eval ac_cv_prog_make_${ac_make}_set=no;;
2383 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2384 { echo "$as_me:$LINENO: result: yes" >&5
2385 echo "${ECHO_T}yes" >&6; }
2388 { echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6; }
2390 SET_MAKE="MAKE=${MAKE-make}"
2393 rm -rf .tst 2>/dev/null
2394 mkdir .tst 2>/dev/null
2395 if test -d .tst; then
2400 rmdir .tst 2>/dev/null
2402 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2403 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2404 # is not polluted with repeated "-I."
2405 am__isrc=' -I$(srcdir)'
2406 # test to see if srcdir already configured
2407 if test -f $srcdir/config.status; then
2408 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2409 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2410 { (exit 1); exit 1; }; }
2414 # test whether we have cygpath
2415 if test -z "$CYGPATH_W"; then
2416 if (cygpath --version) >/dev/null 2>/dev/null; then
2417 CYGPATH_W='cygpath -w'
2424 # Define the identity of the package.
2425 PACKAGE='util-vserver'
2426 VERSION='0.30.216-pre2833'
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE "$PACKAGE"
2434 cat >>confdefs.h <<_ACEOF
2435 #define VERSION "$VERSION"
2438 # Some tools Automake needs.
2440 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2443 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2446 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2449 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2452 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2454 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2456 # Installed binaries are usually stripped using `strip' when the user
2457 # run `make install-strip'. However `strip' might not be the right
2458 # tool to use in cross-compilation environments, therefore Automake
2459 # will honor the `STRIP' environment variable to overrule this program.
2460 if test "$cross_compiling" != no; then
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2463 set dummy ${ac_tool_prefix}strip; ac_word=$2
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_STRIP+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$STRIP"; then
2470 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 STRIP=$ac_cv_prog_STRIP
2490 if test -n "$STRIP"; then
2491 { echo "$as_me:$LINENO: result: $STRIP" >&5
2492 echo "${ECHO_T}$STRIP" >&6; }
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
2500 if test -z "$ac_cv_prog_STRIP"; then
2502 # Extract the first word of "strip", so it can be a program name with args.
2503 set dummy strip; ac_word=$2
2504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test -n "$ac_ct_STRIP"; then
2510 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_ac_ct_STRIP="strip"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2530 if test -n "$ac_ct_STRIP"; then
2531 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2532 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2534 { echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6; }
2538 if test "x$ac_ct_STRIP" = x; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&5
2546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547 whose name does not start with the host triplet. If you think this
2548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549 ac_tool_warned=yes ;;
2554 STRIP="$ac_cv_prog_STRIP"
2558 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2560 # We need awk for the "check" target. The system "awk" is bad on
2562 # Always define AMTAR for backward compatibility.
2564 AMTAR=${AMTAR-"${am_missing_run}tar"}
2566 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2572 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2573 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2574 # Check whether --enable-maintainer-mode was given.
2575 if test "${enable_maintainer_mode+set}" = set; then
2576 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2578 USE_MAINTAINER_MODE=no
2581 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2582 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2583 if test $USE_MAINTAINER_MODE = yes; then
2584 MAINTAINER_MODE_TRUE=
2585 MAINTAINER_MODE_FALSE='#'
2587 MAINTAINER_MODE_TRUE='#'
2588 MAINTAINER_MODE_FALSE=
2591 MAINT=$MAINTAINER_MODE_TRUE
2595 # Make sure we can run config.sub.
2596 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2597 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2598 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2599 { (exit 1); exit 1; }; }
2601 { echo "$as_me:$LINENO: checking build system type" >&5
2602 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2603 if test "${ac_cv_build+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 ac_build_alias=$build_alias
2607 test "x$ac_build_alias" = x &&
2608 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2609 test "x$ac_build_alias" = x &&
2610 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2611 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2612 { (exit 1); exit 1; }; }
2613 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2614 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2615 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2616 { (exit 1); exit 1; }; }
2619 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2620 echo "${ECHO_T}$ac_cv_build" >&6; }
2621 case $ac_cv_build in
2623 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2624 echo "$as_me: error: invalid value of canonical build" >&2;}
2625 { (exit 1); exit 1; }; };;
2628 ac_save_IFS=$IFS; IFS='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2641 { echo "$as_me:$LINENO: checking host system type" >&5
2642 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2643 if test "${ac_cv_host+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 if test "x$host_alias" = x; then
2647 ac_cv_host=$ac_cv_build
2649 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2650 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2651 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2652 { (exit 1); exit 1; }; }
2656 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2657 echo "${ECHO_T}$ac_cv_host" >&6; }
2660 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2661 echo "$as_me: error: invalid value of canonical host" >&2;}
2662 { (exit 1); exit 1; }; };;
2665 ac_save_IFS=$IFS; IFS='-'
2671 # Remember, the first character of IFS is used to create $*,
2672 # except with old shells:
2675 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2679 GPG_KEY="0xFFD316AC53ACA43A!"
2682 # Checks for programs.
2684 ac_cpp='$CXXCPP $CPPFLAGS'
2685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2688 if test -z "$CXX"; then
2689 if test -n "$CCC"; then
2692 if test -n "$ac_tool_prefix"; then
2693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2699 if test "${ac_cv_prog_CXX+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 if test -n "$CXX"; then
2703 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir=.
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 if test -n "$CXX"; then
2724 { echo "$as_me:$LINENO: result: $CXX" >&5
2725 echo "${ECHO_T}$CXX" >&6; }
2727 { echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6; }
2732 test -n "$CXX" && break
2735 if test -z "$CXX"; then
2737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2739 # Extract the first word of "$ac_prog", so it can be a program name with args.
2740 set dummy $ac_prog; ac_word=$2
2741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2743 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$ac_ct_CXX"; then
2747 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_ac_ct_CXX="$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2767 if test -n "$ac_ct_CXX"; then
2768 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2769 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2771 { echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6; }
2776 test -n "$ac_ct_CXX" && break
2779 if test "x$ac_ct_CXX" = x; then
2782 case $cross_compiling:$ac_tool_warned in
2784 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2785 whose name does not start with the host triplet. If you think this
2786 configuration is useful to you, please write to autoconf@gnu.org." >&5
2787 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2788 whose name does not start with the host triplet. If you think this
2789 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2790 ac_tool_warned=yes ;;
2798 # Provide some information about the compiler.
2799 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2800 ac_compiler=`set X $ac_compile; echo $2`
2801 { (ac_try="$ac_compiler --version >&5"
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_compiler --version >&5") 2>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811 { (ac_try="$ac_compiler -v >&5"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_compiler -v >&5") 2>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }
2821 { (ac_try="$ac_compiler -V >&5"
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_compiler -V >&5") 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); }
2832 cat >conftest.$ac_ext <<_ACEOF
2835 cat confdefs.h >>conftest.$ac_ext
2836 cat >>conftest.$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2847 ac_clean_files_save=$ac_clean_files
2848 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2849 # Try to create an executable without -o first, disregard a.out.
2850 # It will help us diagnose broken compilers, and finding out an intuition
2852 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2853 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2854 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2856 # List of possible output files, starting from the most likely.
2857 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2858 # only as a last resort. b.out is created by i960 compilers.
2859 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2861 # The IRIX 6 linker writes into existing files which may not be
2862 # executable, retaining their permissions. Remove them first so a
2863 # subsequent execution test works.
2865 for ac_file in $ac_files
2868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2869 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2874 if { (ac_try="$ac_link_default"
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_link_default") 2>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; then
2884 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2885 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2886 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2887 # so that the user can short-circuit this test for compilers unknown to
2889 for ac_file in $ac_files ''
2891 test -f "$ac_file" || continue
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2896 # We found the default executable, but exeext='' is most
2900 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2902 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2904 # We set ac_cv_exeext here because the later test for it is not
2905 # safe: cross compilers may not add the suffix if given an `-o'
2906 # argument, so we may need to know it at that point already.
2907 # Even if this section looks crufty: it has the advantage of
2914 test "$ac_cv_exeext" = no && ac_cv_exeext=
2920 { echo "$as_me:$LINENO: result: $ac_file" >&5
2921 echo "${ECHO_T}$ac_file" >&6; }
2922 if test -z "$ac_file"; then
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2927 See \`config.log' for more details." >&5
2928 echo "$as_me: error: C++ compiler cannot create executables
2929 See \`config.log' for more details." >&2;}
2930 { (exit 77); exit 77; }; }
2933 ac_exeext=$ac_cv_exeext
2935 # Check that the compiler produces executables we can run. If not, either
2936 # the compiler is broken, or we cross compile.
2937 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2938 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2939 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2940 # If not cross compiling, check that we can run a simple program.
2941 if test "$cross_compiling" != yes; then
2942 if { ac_try='./$ac_file'
2943 { (case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_try") 2>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2954 if test "$cross_compiling" = maybe; then
2957 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2958 If you meant to cross compile, use \`--host'.
2959 See \`config.log' for more details." >&5
2960 echo "$as_me: error: cannot run C++ compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }
2967 { echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6; }
2970 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2971 ac_clean_files=$ac_clean_files_save
2972 # Check that the compiler produces executables we can run. If not, either
2973 # the compiler is broken, or we cross compile.
2974 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2975 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2976 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2977 echo "${ECHO_T}$cross_compiling" >&6; }
2979 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2980 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2981 if { (ac_try="$ac_link"
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_link") 2>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; then
2991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2993 # work properly (i.e., refer to `conftest.exe'), while it won't with
2995 for ac_file in conftest.exe conftest conftest.*; do
2996 test -f "$ac_file" || continue
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3006 See \`config.log' for more details." >&5
3007 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3008 See \`config.log' for more details." >&2;}
3009 { (exit 1); exit 1; }; }
3012 rm -f conftest$ac_cv_exeext
3013 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3014 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3016 rm -f conftest.$ac_ext
3017 EXEEXT=$ac_cv_exeext
3019 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3020 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3021 if test "${ac_cv_objext+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 rm -f conftest.o conftest.obj
3040 if { (ac_try="$ac_compile"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_compile") 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; then
3050 for ac_file in conftest.o conftest.obj conftest.*; do
3051 test -f "$ac_file" || continue;
3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3054 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3063 See \`config.log' for more details." >&5
3064 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3065 See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3069 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3071 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3072 echo "${ECHO_T}$ac_cv_objext" >&6; }
3073 OBJEXT=$ac_cv_objext
3075 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3076 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3077 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 cat >conftest.$ac_ext <<_ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3098 rm -f conftest.$ac_objext
3099 if { (ac_try="$ac_compile"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3107 grep -v '^ *+' conftest.er1 >conftest.err
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_cxx_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3127 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3128 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3129 GXX=`test $ac_compiler_gnu = yes && echo yes`
3130 ac_test_CXXFLAGS=${CXXFLAGS+set}
3131 ac_save_CXXFLAGS=$CXXFLAGS
3132 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3133 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3134 if test "${ac_cv_prog_cxx_g+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3137 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3138 ac_cxx_werror_flag=yes
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.$ac_objext
3157 if { (ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>conftest.er1
3165 grep -v '^ *+' conftest.er1 >conftest.err
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } && {
3170 test -z "$ac_cxx_werror_flag" ||
3171 test ! -s conftest.err
3172 } && test -s conftest.$ac_objext; then
3173 ac_cv_prog_cxx_g=yes
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3179 cat >conftest.$ac_ext <<_ACEOF
3182 cat confdefs.h >>conftest.$ac_ext
3183 cat >>conftest.$ac_ext <<_ACEOF
3184 /* end confdefs.h. */
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3203 grep -v '^ *+' conftest.er1 >conftest.err
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } && {
3208 test -z "$ac_cxx_werror_flag" ||
3209 test ! -s conftest.err
3210 } && test -s conftest.$ac_objext; then
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3216 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3233 rm -f conftest.$ac_objext
3234 if { (ac_try="$ac_compile"
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3240 (eval "$ac_compile") 2>conftest.er1
3242 grep -v '^ *+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } && {
3247 test -z "$ac_cxx_werror_flag" ||
3248 test ! -s conftest.err
3249 } && test -s conftest.$ac_objext; then
3250 ac_cv_prog_cxx_g=yes
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3267 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3268 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3269 if test "$ac_test_CXXFLAGS" = set; then
3270 CXXFLAGS=$ac_save_CXXFLAGS
3271 elif test $ac_cv_prog_cxx_g = yes; then
3272 if test "$GXX" = yes; then
3278 if test "$GXX" = yes; then
3285 ac_cpp='$CPP $CPPFLAGS'
3286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3289 DEPDIR="${am__leading_dot}deps"
3291 ac_config_commands="$ac_config_commands depfiles"
3294 am_make=${MAKE-make}
3295 cat > confinc << 'END'
3300 # If we don't find an include directive, just comment out the code.
3301 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3302 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3306 # First try GNU make style include.
3307 echo "include confinc" > confmf
3308 # We grep out `Entering directory' and `Leaving directory'
3309 # messages which can occur if `w' ends up in MAKEFLAGS.
3310 # In particular we don't look at `^make:' because GNU make might
3311 # be invoked under some other name (usually "gmake"), in which
3312 # case it prints its new name instead of `make'.
3313 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3318 # Now try BSD make style include.
3319 if test "$am__include" = "#"; then
3320 echo '.include "confinc"' > confmf
3321 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3322 am__include=.include
3329 { echo "$as_me:$LINENO: result: $_am_result" >&5
3330 echo "${ECHO_T}$_am_result" >&6; }
3331 rm -f confinc confmf
3333 # Check whether --enable-dependency-tracking was given.
3334 if test "${enable_dependency_tracking+set}" = set; then
3335 enableval=$enable_dependency_tracking;
3338 if test "x$enable_dependency_tracking" != xno; then
3339 am_depcomp="$ac_aux_dir/depcomp"
3342 if test "x$enable_dependency_tracking" != xno; then
3352 depcc="$CXX" am_compiler_list=
3354 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3355 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3356 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3360 # We make a subdir and do the tests there. Otherwise we can end up
3361 # making bogus files that we don't know about and never remove. For
3362 # instance it was reported that on HP-UX the gcc test will end up
3363 # making a dummy file named `D' -- because `-MD' means `put the output
3366 # Copy depcomp to subdir because otherwise we won't find it if we're
3367 # using a relative directory.
3368 cp "$am_depcomp" conftest.dir
3370 # We will build objects and dependencies in a subdirectory because
3371 # it helps to detect inapplicable dependency modes. For instance
3372 # both Tru64's cc and ICC support -MD to output dependencies as a
3373 # side effect of compilation, but ICC will put the dependencies in
3374 # the current directory while Tru64 will put them in the object
3378 am_cv_CXX_dependencies_compiler_type=none
3379 if test "$am_compiler_list" = ""; then
3380 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3382 for depmode in $am_compiler_list; do
3383 # Setup a source with many dependencies, because some compilers
3384 # like to wrap large dependency lists on column 80 (with \), and
3385 # we should not choose a depcomp mode which is confused by this.
3387 # We need to recreate these files for each test, as the compiler may
3388 # overwrite some of them when testing with obscure command lines.
3389 # This happens at least with the AIX C compiler.
3391 for i in 1 2 3 4 5 6; do
3392 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3393 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3394 # Solaris 8's {/usr,}/bin/sh.
3395 touch sub/conftst$i.h
3397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3401 # after this tag, mechanisms are not by side-effect, so they'll
3402 # only be used when explicitly requested
3403 if test "x$enable_dependency_tracking" = xyes; then
3411 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3412 # mode. It turns out that the SunPro C++ compiler does not properly
3413 # handle `-M -o', and we need to detect this.
3414 if depmode=$depmode \
3415 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3416 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3417 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3418 >/dev/null 2>conftest.err &&
3419 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3420 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3421 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3422 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3423 # icc doesn't choke on unknown options, it will just issue warnings
3424 # or remarks (even with -Werror). So we grep stderr for any message
3425 # that says an option was ignored or not supported.
3426 # When given -MP, icc 7.0 and 7.1 complain thusly:
3427 # icc: Command line warning: ignoring option '-M'; no argument required
3428 # The diagnosis changed in icc 8.0:
3429 # icc: Command line remark: option '-MP' not supported
3430 if (grep 'ignoring option' conftest.err ||
3431 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3432 am_cv_CXX_dependencies_compiler_type=$depmode
3441 am_cv_CXX_dependencies_compiler_type=none
3445 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3446 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3447 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3450 test "x$enable_dependency_tracking" != xno \
3451 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3452 am__fastdepCXX_TRUE=
3453 am__fastdepCXX_FALSE='#'
3455 am__fastdepCXX_TRUE='#'
3456 am__fastdepCXX_FALSE=
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465 if test -n "$ac_tool_prefix"; then
3466 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3467 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3470 if test "${ac_cv_prog_CC+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 if test -n "$CC"; then
3474 ac_cv_prog_CC="$CC" # Let the user override the test.
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3483 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 if test -n "$CC"; then
3495 { echo "$as_me:$LINENO: result: $CC" >&5
3496 echo "${ECHO_T}$CC" >&6; }
3498 { echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6; }
3504 if test -z "$ac_cv_prog_CC"; then
3506 # Extract the first word of "gcc", so it can be a program name with args.
3507 set dummy gcc; ac_word=$2
3508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 if test -n "$ac_ct_CC"; then
3514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir=.
3521 for ac_exec_ext in '' $ac_executable_extensions; do
3522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523 ac_cv_prog_ac_ct_CC="gcc"
3524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3534 if test -n "$ac_ct_CC"; then
3535 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3536 echo "${ECHO_T}$ac_ct_CC" >&6; }
3538 { echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6; }
3542 if test "x$ac_ct_CC" = x; then
3545 case $cross_compiling:$ac_tool_warned in
3547 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3548 whose name does not start with the host triplet. If you think this
3549 configuration is useful to you, please write to autoconf@gnu.org." >&5
3550 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3551 whose name does not start with the host triplet. If you think this
3552 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3553 ac_tool_warned=yes ;;
3561 if test -z "$CC"; then
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cc; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CC+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 if test -n "$CC"; then
3571 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_CC="${ac_tool_prefix}cc"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 if test -n "$CC"; then
3592 { echo "$as_me:$LINENO: result: $CC" >&5
3593 echo "${ECHO_T}$CC" >&6; }
3595 { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3602 if test -z "$CC"; then
3603 # Extract the first word of "cc", so it can be a program name with args.
3604 set dummy cc; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_CC+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC="$CC" # Let the user override the test.
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3622 ac_prog_rejected=yes
3626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test $ac_prog_rejected = yes; then
3634 # We found a bogon in the path, so make sure we never use it.
3635 set dummy $ac_cv_prog_CC
3637 if test $# != 0; then
3638 # We chose a different compiler from the bogus one.
3639 # However, it has the same basename, so the bogon will be chosen
3640 # first if we set CC to just the basename; use the full file name.
3642 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3648 if test -n "$CC"; then
3649 { echo "$as_me:$LINENO: result: $CC" >&5
3650 echo "${ECHO_T}$CC" >&6; }
3652 { echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6; }
3658 if test -z "$CC"; then
3659 if test -n "$ac_tool_prefix"; then
3660 for ac_prog in cl.exe
3662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3666 if test "${ac_cv_prog_CC+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 if test -n "$CC"; then
3691 { echo "$as_me:$LINENO: result: $CC" >&5
3692 echo "${ECHO_T}$CC" >&6; }
3694 { echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6; }
3699 test -n "$CC" && break
3702 if test -z "$CC"; then
3704 for ac_prog in cl.exe
3706 # Extract the first word of "$ac_prog", so it can be a program name with args.
3707 set dummy $ac_prog; ac_word=$2
3708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 if test -n "$ac_ct_CC"; then
3714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir=.
3721 for ac_exec_ext in '' $ac_executable_extensions; do
3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723 ac_cv_prog_ac_ct_CC="$ac_prog"
3724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3734 if test -n "$ac_ct_CC"; then
3735 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3736 echo "${ECHO_T}$ac_ct_CC" >&6; }
3738 { echo "$as_me:$LINENO: result: no" >&5
3739 echo "${ECHO_T}no" >&6; }
3743 test -n "$ac_ct_CC" && break
3746 if test "x$ac_ct_CC" = x; then
3749 case $cross_compiling:$ac_tool_warned in
3751 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3752 whose name does not start with the host triplet. If you think this
3753 configuration is useful to you, please write to autoconf@gnu.org." >&5
3754 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3755 whose name does not start with the host triplet. If you think this
3756 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3757 ac_tool_warned=yes ;;
3766 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3767 See \`config.log' for more details." >&5
3768 echo "$as_me: error: no acceptable C compiler found in \$PATH
3769 See \`config.log' for more details." >&2;}
3770 { (exit 1); exit 1; }; }
3772 # Provide some information about the compiler.
3773 echo "$as_me:$LINENO: checking for C compiler version" >&5
3774 ac_compiler=`set X $ac_compile; echo $2`
3775 { (ac_try="$ac_compiler --version >&5"
3777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778 *) ac_try_echo=$ac_try;;
3780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3781 (eval "$ac_compiler --version >&5") 2>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }
3785 { (ac_try="$ac_compiler -v >&5"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791 (eval "$ac_compiler -v >&5") 2>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); }
3795 { (ac_try="$ac_compiler -V >&5"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801 (eval "$ac_compiler -V >&5") 2>&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }
3806 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3807 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3808 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 cat >conftest.$ac_ext <<_ACEOF
3814 cat confdefs.h >>conftest.$ac_ext
3815 cat >>conftest.$ac_ext <<_ACEOF
3816 /* end confdefs.h. */
3829 rm -f conftest.$ac_objext
3830 if { (ac_try="$ac_compile"
3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833 *) ac_try_echo=$ac_try;;
3835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3836 (eval "$ac_compile") 2>conftest.er1
3838 grep -v '^ *+' conftest.er1 >conftest.err
3840 cat conftest.err >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } && {
3843 test -z "$ac_c_werror_flag" ||
3844 test ! -s conftest.err
3845 } && test -s conftest.$ac_objext; then
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.$ac_ext >&5
3854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3855 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3858 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3859 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3860 GCC=`test $ac_compiler_gnu = yes && echo yes`
3861 ac_test_CFLAGS=${CFLAGS+set}
3862 ac_save_CFLAGS=$CFLAGS
3863 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3864 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3865 if test "${ac_cv_prog_cc_g+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_save_c_werror_flag=$ac_c_werror_flag
3869 ac_c_werror_flag=yes
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3887 rm -f conftest.$ac_objext
3888 if { (ac_try="$ac_compile"
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3894 (eval "$ac_compile") 2>conftest.er1
3896 grep -v '^ *+' conftest.er1 >conftest.err
3898 cat conftest.err >&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } && {
3901 test -z "$ac_c_werror_flag" ||
3902 test ! -s conftest.err
3903 } && test -s conftest.$ac_objext; then
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3910 cat >conftest.$ac_ext <<_ACEOF
3913 cat confdefs.h >>conftest.$ac_ext
3914 cat >>conftest.$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3925 rm -f conftest.$ac_objext
3926 if { (ac_try="$ac_compile"
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3932 (eval "$ac_compile") 2>conftest.er1
3934 grep -v '^ *+' conftest.er1 >conftest.err
3936 cat conftest.err >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); } && {
3939 test -z "$ac_c_werror_flag" ||
3940 test ! -s conftest.err
3941 } && test -s conftest.$ac_objext; then
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.$ac_ext >&5
3947 ac_c_werror_flag=$ac_save_c_werror_flag
3949 cat >conftest.$ac_ext <<_ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3964 rm -f conftest.$ac_objext
3965 if { (ac_try="$ac_compile"
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3971 (eval "$ac_compile") 2>conftest.er1
3973 grep -v '^ *+' conftest.er1 >conftest.err
3975 cat conftest.err >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } && {
3978 test -z "$ac_c_werror_flag" ||
3979 test ! -s conftest.err
3980 } && test -s conftest.$ac_objext; then
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 ac_c_werror_flag=$ac_save_c_werror_flag
3998 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3999 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4000 if test "$ac_test_CFLAGS" = set; then
4001 CFLAGS=$ac_save_CFLAGS
4002 elif test $ac_cv_prog_cc_g = yes; then
4003 if test "$GCC" = yes; then
4009 if test "$GCC" = yes; then
4015 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4016 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4017 if test "${ac_cv_prog_cc_c89+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 ac_cv_prog_cc_c89=no
4022 cat >conftest.$ac_ext <<_ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4030 #include <sys/types.h>
4031 #include <sys/stat.h>
4032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4033 struct buf { int x; };
4034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4035 static char *e (p, i)
4041 static char *f (char * (*g) (char **, int), char **p, ...)
4046 s = g (p, va_arg (v,int));
4051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4052 function prototypes and stuff, but not '\xHH' hex character constants.
4053 These don't provoke an error unfortunately, instead are silently treated
4054 as 'x'. The following induces an error, until -std is added to get
4055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4056 array size at least. It's necessary to write '\x00'==0 to get something
4057 that's true only with -std. */
4058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4061 inside strings and character constants. */
4063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4065 int test (int i, double x);
4066 struct s1 {int (*f) (int a);};
4067 struct s2 {int (*f) (double a);};
4068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4082 CC="$ac_save_CC $ac_arg"
4083 rm -f conftest.$ac_objext
4084 if { (ac_try="$ac_compile"
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4090 (eval "$ac_compile") 2>conftest.er1
4092 grep -v '^ *+' conftest.er1 >conftest.err
4094 cat conftest.err >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); } && {
4097 test -z "$ac_c_werror_flag" ||
4098 test ! -s conftest.err
4099 } && test -s conftest.$ac_objext; then
4100 ac_cv_prog_cc_c89=$ac_arg
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4108 rm -f core conftest.err conftest.$ac_objext
4109 test "x$ac_cv_prog_cc_c89" != "xno" && break
4111 rm -f conftest.$ac_ext
4116 case "x$ac_cv_prog_cc_c89" in
4118 { echo "$as_me:$LINENO: result: none needed" >&5
4119 echo "${ECHO_T}none needed" >&6; } ;;
4121 { echo "$as_me:$LINENO: result: unsupported" >&5
4122 echo "${ECHO_T}unsupported" >&6; } ;;
4124 CC="$CC $ac_cv_prog_cc_c89"
4125 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4126 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4131 ac_cpp='$CPP $CPPFLAGS'
4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136 depcc="$CC" am_compiler_list=
4138 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4139 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4140 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4144 # We make a subdir and do the tests there. Otherwise we can end up
4145 # making bogus files that we don't know about and never remove. For
4146 # instance it was reported that on HP-UX the gcc test will end up
4147 # making a dummy file named `D' -- because `-MD' means `put the output
4150 # Copy depcomp to subdir because otherwise we won't find it if we're
4151 # using a relative directory.
4152 cp "$am_depcomp" conftest.dir
4154 # We will build objects and dependencies in a subdirectory because
4155 # it helps to detect inapplicable dependency modes. For instance
4156 # both Tru64's cc and ICC support -MD to output dependencies as a
4157 # side effect of compilation, but ICC will put the dependencies in
4158 # the current directory while Tru64 will put them in the object
4162 am_cv_CC_dependencies_compiler_type=none
4163 if test "$am_compiler_list" = ""; then
4164 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4166 for depmode in $am_compiler_list; do
4167 # Setup a source with many dependencies, because some compilers
4168 # like to wrap large dependency lists on column 80 (with \), and
4169 # we should not choose a depcomp mode which is confused by this.
4171 # We need to recreate these files for each test, as the compiler may
4172 # overwrite some of them when testing with obscure command lines.
4173 # This happens at least with the AIX C compiler.
4175 for i in 1 2 3 4 5 6; do
4176 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4177 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4178 # Solaris 8's {/usr,}/bin/sh.
4179 touch sub/conftst$i.h
4181 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4185 # after this tag, mechanisms are not by side-effect, so they'll
4186 # only be used when explicitly requested
4187 if test "x$enable_dependency_tracking" = xyes; then
4195 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4196 # mode. It turns out that the SunPro C++ compiler does not properly
4197 # handle `-M -o', and we need to detect this.
4198 if depmode=$depmode \
4199 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4200 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4201 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4202 >/dev/null 2>conftest.err &&
4203 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4204 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4205 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4206 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4207 # icc doesn't choke on unknown options, it will just issue warnings
4208 # or remarks (even with -Werror). So we grep stderr for any message
4209 # that says an option was ignored or not supported.
4210 # When given -MP, icc 7.0 and 7.1 complain thusly:
4211 # icc: Command line warning: ignoring option '-M'; no argument required
4212 # The diagnosis changed in icc 8.0:
4213 # icc: Command line remark: option '-MP' not supported
4214 if (grep 'ignoring option' conftest.err ||
4215 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4216 am_cv_CC_dependencies_compiler_type=$depmode
4225 am_cv_CC_dependencies_compiler_type=none
4229 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4230 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4231 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4234 test "x$enable_dependency_tracking" != xno \
4235 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4237 am__fastdepCC_FALSE='#'
4239 am__fastdepCC_TRUE='#'
4240 am__fastdepCC_FALSE=
4244 # Find a good install program. We prefer a C program (faster),
4245 # so one script is as good as another. But avoid the broken or
4246 # incompatible versions:
4247 # SysV /etc/install, /usr/sbin/install
4248 # SunOS /usr/etc/install
4249 # IRIX /sbin/install
4251 # AmigaOS /C/install, which installs bootblocks on floppy discs
4252 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4253 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4254 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4255 # OS/2's system install, which has a completely different semantic
4256 # ./install, which can be erroneously created by make from ./install.sh.
4257 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4258 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4259 if test -z "$INSTALL"; then
4260 if test "${ac_cv_path_install+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir=.
4268 # Account for people who put trailing slashes in PATH elements.
4270 ./ | .// | /cC/* | \
4271 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4272 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4275 # OSF1 and SCO ODT 3.0 have their own names for install.
4276 # Don't use installbsd from OSF since it installs stuff as root
4278 for ac_prog in ginstall scoinst install; do
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4281 if test $ac_prog = install &&
4282 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4283 # AIX install. It has an incompatible calling convention.
4285 elif test $ac_prog = install &&
4286 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4287 # program-specific install script used by HP pwplus--don't use.
4290 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4303 if test "${ac_cv_path_install+set}" = set; then
4304 INSTALL=$ac_cv_path_install
4306 # As a last resort, use the slow shell script. Don't cache a
4307 # value for INSTALL within a source directory, because that will
4308 # break other packages using the cache if that directory is
4309 # removed, or if the value is a relative name.
4310 INSTALL=$ac_install_sh
4313 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4314 echo "${ECHO_T}$INSTALL" >&6; }
4316 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4317 # It thinks the first close brace ends the variable substitution.
4318 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4320 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4322 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4324 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4325 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4327 if test "$LN_S" = "ln -s"; then
4328 { echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6; }
4331 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4332 echo "${ECHO_T}no, using $LN_S" >&6; }
4335 if test "x$CC" != xcc; then
4336 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4337 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4339 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4340 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4342 set dummy $CC; ac_cc=`echo $2 |
4343 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4344 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 cat >conftest.$ac_ext <<_ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4362 # Make sure it works both with $CC and with simple cc.
4363 # We do the test twice because some compilers refuse to overwrite an
4364 # existing .o file with -o, though they will create one.
4365 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4367 if { (case "(($ac_try" in
4368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4369 *) ac_try_echo=$ac_try;;
4371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4372 (eval "$ac_try") 2>&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } &&
4376 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4378 *) ac_try_echo=$ac_try;;
4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4381 (eval "$ac_try") 2>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); };
4386 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4387 if test "x$CC" != xcc; then
4388 # Test first that cc exists at all.
4389 if { ac_try='cc -c conftest.$ac_ext >&5'
4390 { (case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4395 (eval "$ac_try") 2>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4401 if { (case "(($ac_try" in
4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4406 (eval "$ac_try") 2>&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); } &&
4410 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4415 (eval "$ac_try") 2>&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); };
4423 # cc exists but doesn't like -o.
4424 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4429 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4431 rm -f core conftest*
4434 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4435 { echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6; }
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4441 cat >>confdefs.h <<\_ACEOF
4442 #define NO_MINUS_C_MINUS_O 1
4447 # FIXME: we rely on the cache variable name because
4448 # there is no other way.
4450 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4451 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4452 # Losing compiler, so override with the script.
4453 # FIXME: It is wrong to rewrite CC.
4454 # But if we don't then we get into trouble of one sort or another.
4455 # A longer-term fix would be to have automake use am__CC in this case,
4456 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4457 CC="$am_aux_dir/compile $CC"
4463 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4464 if test -n "$ac_tool_prefix"; then
4465 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4466 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4469 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4484 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4496 if test -n "$PKG_CONFIG"; then
4497 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4498 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4500 { echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6; }
4506 if test -z "$ac_cv_path_PKG_CONFIG"; then
4507 ac_pt_PKG_CONFIG=$PKG_CONFIG
4508 # Extract the first word of "pkg-config", so it can be a program name with args.
4509 set dummy pkg-config; ac_word=$2
4510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4512 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 case $ac_pt_PKG_CONFIG in
4517 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4539 if test -n "$ac_pt_PKG_CONFIG"; then
4540 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4541 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4543 { echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6; }
4547 if test "x$ac_pt_PKG_CONFIG" = x; then
4550 case $cross_compiling:$ac_tool_warned in
4552 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4553 whose name does not start with the host triplet. If you think this
4554 configuration is useful to you, please write to autoconf@gnu.org." >&5
4555 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4556 whose name does not start with the host triplet. If you think this
4557 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4558 ac_tool_warned=yes ;;
4560 PKG_CONFIG=$ac_pt_PKG_CONFIG
4563 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4567 if test -n "$PKG_CONFIG"; then
4568 _pkg_min_version=0.9.0
4569 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4570 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4571 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4572 { echo "$as_me:$LINENO: result: yes" >&5
4573 echo "${ECHO_T}yes" >&6; }
4575 { echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6; }
4585 { echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4586 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6; }
4587 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 ac_cpp='$CXXCPP $CPPFLAGS'
4593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4597 cat >conftest.$ac_ext <<_ACEOF
4602 rm -f conftest.$ac_objext
4603 if { (ac_try="$ac_compile"
4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606 *) ac_try_echo=$ac_try;;
4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609 (eval "$ac_compile") 2>conftest.er1
4611 grep -v '^ *+' conftest.er1 >conftest.err
4613 cat conftest.err >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } && {
4616 test -z "$ac_cxx_werror_flag" ||
4617 test ! -s conftest.err
4618 } && test -s conftest.$ac_objext; then
4619 ensc_cv_cxx_cxxcompiler=yes
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.$ac_ext >&5
4624 ensc_cv_cxx_cxxcompiler=no
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 ac_cpp='$CPP $CPPFLAGS'
4630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4636 { echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4637 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6; }
4639 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4640 ENSC_HAVE_CXX_COMPILER_TRUE=
4641 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4643 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4644 ENSC_HAVE_CXX_COMPILER_FALSE=
4648 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4649 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4650 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4657 { echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4658 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6; }
4659 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 ac_cpp='$CPP $CPPFLAGS'
4665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4669 cat >conftest.$ac_ext <<_ACEOF
4671 int main(int argc, char *argv) {
4672 struct { int x; } a = { .x = argc };
4678 rm -f conftest.$ac_objext
4679 if { (ac_try="$ac_compile"
4681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4685 (eval "$ac_compile") 2>conftest.er1
4687 grep -v '^ *+' conftest.er1 >conftest.err
4689 cat conftest.err >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } && {
4692 test -z "$ac_c_werror_flag" ||
4693 test ! -s conftest.err
4694 } && test -s conftest.$ac_objext; then
4695 ensc_cv_c99_c99compiler=yes
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4700 ensc_cv_c99_c99compiler=no
4703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4712 { echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4713 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6; }
4715 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4716 ENSC_HAVE_C99_COMPILER_TRUE=
4717 ENSC_HAVE_C99_COMPILER_FALSE='#'
4719 ENSC_HAVE_C99_COMPILER_TRUE='#'
4720 ENSC_HAVE_C99_COMPILER_FALSE=
4724 if test x"$ensc_cv_c99_c99compiler" = xno; then
4725 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4726 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4731 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4756 # Extract the first word of "$ac_prog", so it can be a program name with args.
4757 set dummy $ac_prog; ac_word=$2
4758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4760 if test "${ac_cv_path_AWK+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $ensc_searchpath
4772 test -z "$as_dir" && as_dir=.
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4775 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 if test -n "$AWK"; then
4788 { echo "$as_me:$LINENO: result: $AWK" >&5
4789 echo "${ECHO_T}$AWK" >&6; }
4791 { echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6; }
4796 test -n "$AWK" && break
4798 test -n "$AWK" || AWK="$ensc_dflt"
4801 if test -z "${AWK}" && $rq; then
4803 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4804 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4805 { (exit 1); exit 1; }; }
4807 { { echo "$as_me:$LINENO: error:
4808 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4810 echo "$as_me: error:
4811 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4813 { (exit 1); exit 1; }; }
4817 if test "x" = x; then
4818 if test -h "${AWK}"; then
4819 AWK=`readlink -f "${AWK}"`
4823 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4844 # Extract the first word of "$ac_prog", so it can be a program name with args.
4845 set dummy $ac_prog; ac_word=$2
4846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4848 if test "${ac_cv_path_CAT+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $ensc_searchpath
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 if test -n "$CAT"; then
4876 { echo "$as_me:$LINENO: result: $CAT" >&5
4877 echo "${ECHO_T}$CAT" >&6; }
4879 { echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6; }
4884 test -n "$CAT" && break
4886 test -n "$CAT" || CAT="$ensc_dflt"
4889 if test -z "${CAT}" && $rq; then
4891 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4892 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4893 { (exit 1); exit 1; }; }
4895 { { echo "$as_me:$LINENO: error:
4896 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4898 echo "$as_me: error:
4899 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4901 { (exit 1); exit 1; }; }
4905 if test "x" = x; then
4906 if test -h "${CAT}"; then
4907 CAT=`readlink -f "${CAT}"`
4911 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4930 for ac_prog in chown
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4936 if test "${ac_cv_path_CHOWN+set}" = set; then
4937 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $ensc_searchpath
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 CHOWN=$ac_cv_path_CHOWN
4963 if test -n "$CHOWN"; then
4964 { echo "$as_me:$LINENO: result: $CHOWN" >&5
4965 echo "${ECHO_T}$CHOWN" >&6; }
4967 { echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6; }
4972 test -n "$CHOWN" && break
4974 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4977 if test -z "${CHOWN}" && $rq; then
4979 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4980 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4981 { (exit 1); exit 1; }; }
4983 { { echo "$as_me:$LINENO: error:
4984 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4986 echo "$as_me: error:
4987 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4989 { (exit 1); exit 1; }; }
4993 if test "x" = x; then
4994 if test -h "${CHOWN}"; then
4995 CHOWN=`readlink -f "${CHOWN}"`
4999 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
5020 # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy $ac_prog; ac_word=$2
5022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5024 if test "${ac_cv_path_CMP+set}" = set; then
5025 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $ensc_searchpath
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 if test -n "$CMP"; then
5052 { echo "$as_me:$LINENO: result: $CMP" >&5
5053 echo "${ECHO_T}$CMP" >&6; }
5055 { echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6; }
5060 test -n "$CMP" && break
5062 test -n "$CMP" || CMP="$ensc_dflt"
5065 if test -z "${CMP}" && $rq; then
5067 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
5068 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5069 { (exit 1); exit 1; }; }
5071 { { echo "$as_me:$LINENO: error:
5072 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
5074 echo "$as_me: error:
5075 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
5077 { (exit 1); exit 1; }; }
5081 if test "x" = x; then
5082 if test -h "${CMP}"; then
5083 CMP=`readlink -f "${CMP}"`
5087 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
5108 # Extract the first word of "$ac_prog", so it can be a program name with args.
5109 set dummy $ac_prog; ac_word=$2
5110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5112 if test "${ac_cv_path_CP+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 ac_cv_path_CP="$CP" # Let the user override the test with a path.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $ensc_searchpath
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
5128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 if test -n "$CP"; then
5140 { echo "$as_me:$LINENO: result: $CP" >&5
5141 echo "${ECHO_T}$CP" >&6; }
5143 { echo "$as_me:$LINENO: result: no" >&5
5144 echo "${ECHO_T}no" >&6; }
5148 test -n "$CP" && break
5150 test -n "$CP" || CP="$ensc_dflt"
5153 if test -z "${CP}" && $rq; then
5155 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
5156 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5157 { (exit 1); exit 1; }; }
5159 { { echo "$as_me:$LINENO: error:
5160 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5162 echo "$as_me: error:
5163 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5165 { (exit 1); exit 1; }; }
5169 if test "x" = x; then
5170 if test -h "${CP}"; then
5171 CP=`readlink -f "${CP}"`
5175 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
5194 for ac_prog in dirname
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5200 if test "${ac_cv_path_DIRNAME+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $ensc_searchpath
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
5216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 DIRNAME=$ac_cv_path_DIRNAME
5227 if test -n "$DIRNAME"; then
5228 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
5229 echo "${ECHO_T}$DIRNAME" >&6; }
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5236 test -n "$DIRNAME" && break
5238 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
5241 if test -z "${DIRNAME}" && $rq; then
5243 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
5244 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5245 { (exit 1); exit 1; }; }
5247 { { echo "$as_me:$LINENO: error:
5248 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5250 echo "$as_me: error:
5251 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5253 { (exit 1); exit 1; }; }
5257 if test "x" = x; then
5258 if test -h "${DIRNAME}"; then
5259 DIRNAME=`readlink -f "${DIRNAME}"`
5263 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
5282 for ac_prog in egrep
5284 # Extract the first word of "$ac_prog", so it can be a program name with args.
5285 set dummy $ac_prog; ac_word=$2
5286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5288 if test "${ac_cv_path_EGREP+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 for as_dir in $ensc_searchpath
5300 test -z "$as_dir" && as_dir=.
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
5304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 EGREP=$ac_cv_path_EGREP
5315 if test -n "$EGREP"; then
5316 { echo "$as_me:$LINENO: result: $EGREP" >&5
5317 echo "${ECHO_T}$EGREP" >&6; }
5319 { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5324 test -n "$EGREP" && break
5326 test -n "$EGREP" || EGREP="$ensc_dflt"
5329 if test -z "${EGREP}" && $rq; then
5331 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
5332 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5333 { (exit 1); exit 1; }; }
5335 { { echo "$as_me:$LINENO: error:
5336 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5338 echo "$as_me: error:
5339 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5341 { (exit 1); exit 1; }; }
5345 if test "xno-deref" = x; then
5346 if test -h "${EGREP}"; then
5347 EGREP=`readlink -f "${EGREP}"`
5351 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
5372 # Extract the first word of "$ac_prog", so it can be a program name with args.
5373 set dummy $ac_prog; ac_word=$2
5374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5376 if test "${ac_cv_path_ENV+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $ensc_searchpath
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
5392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 if test -n "$ENV"; then
5404 { echo "$as_me:$LINENO: result: $ENV" >&5
5405 echo "${ECHO_T}$ENV" >&6; }
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5412 test -n "$ENV" && break
5414 test -n "$ENV" || ENV="$ensc_dflt"
5417 if test -z "${ENV}" && $rq; then
5419 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
5420 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5421 { (exit 1); exit 1; }; }
5423 { { echo "$as_me:$LINENO: error:
5424 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5426 echo "$as_me: error:
5427 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5429 { (exit 1); exit 1; }; }
5433 if test "x" = x; then
5434 if test -h "${ENV}"; then
5435 ENV=`readlink -f "${ENV}"`
5439 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
5460 # Extract the first word of "$ac_prog", so it can be a program name with args.
5461 set dummy $ac_prog; ac_word=$2
5462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5464 if test "${ac_cv_path_GREP+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $ensc_searchpath
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5479 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
5480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 GREP=$ac_cv_path_GREP
5491 if test -n "$GREP"; then
5492 { echo "$as_me:$LINENO: result: $GREP" >&5
5493 echo "${ECHO_T}$GREP" >&6; }
5495 { echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6; }
5500 test -n "$GREP" && break
5502 test -n "$GREP" || GREP="$ensc_dflt"
5505 if test -z "${GREP}" && $rq; then
5507 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
5508 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5509 { (exit 1); exit 1; }; }
5511 { { echo "$as_me:$LINENO: error:
5512 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5514 echo "$as_me: error:
5515 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5517 { (exit 1); exit 1; }; }
5521 if test "x" = x; then
5522 if test -h "${GREP}"; then
5523 GREP=`readlink -f "${GREP}"`
5527 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy $ac_prog; ac_word=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_path_LN+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 ac_cv_path_LN="$LN" # Let the user override the test with a path.
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $ensc_searchpath
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 if test -n "$LN"; then
5580 { echo "$as_me:$LINENO: result: $LN" >&5
5581 echo "${ECHO_T}$LN" >&6; }
5583 { echo "$as_me:$LINENO: result: no" >&5
5584 echo "${ECHO_T}no" >&6; }
5588 test -n "$LN" && break
5590 test -n "$LN" || LN="$ensc_dflt"
5593 if test -z "${LN}" && $rq; then
5595 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
5596 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5597 { (exit 1); exit 1; }; }
5599 { { echo "$as_me:$LINENO: error:
5600 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5602 echo "$as_me: error:
5603 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5605 { (exit 1); exit 1; }; }
5609 if test "x" = x; then
5610 if test -h "${LN}"; then
5611 LN=`readlink -f "${LN}"`
5615 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
5634 for ac_prog in mkdir
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5640 if test "${ac_cv_path_MKDIR+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $ensc_searchpath
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5655 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 MKDIR=$ac_cv_path_MKDIR
5667 if test -n "$MKDIR"; then
5668 { echo "$as_me:$LINENO: result: $MKDIR" >&5
5669 echo "${ECHO_T}$MKDIR" >&6; }
5671 { echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6; }
5676 test -n "$MKDIR" && break
5678 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5681 if test -z "${MKDIR}" && $rq; then
5683 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5684 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5685 { (exit 1); exit 1; }; }
5687 { { echo "$as_me:$LINENO: error:
5688 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5690 echo "$as_me: error:
5691 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5693 { (exit 1); exit 1; }; }
5697 if test "x" = x; then
5698 if test -h "${MKDIR}"; then
5699 MKDIR=`readlink -f "${MKDIR}"`
5703 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5722 for ac_prog in mkfifo
5724 # Extract the first word of "$ac_prog", so it can be a program name with args.
5725 set dummy $ac_prog; ac_word=$2
5726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_MKFIFO+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $ensc_searchpath
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 MKFIFO=$ac_cv_path_MKFIFO
5755 if test -n "$MKFIFO"; then
5756 { echo "$as_me:$LINENO: result: $MKFIFO" >&5
5757 echo "${ECHO_T}$MKFIFO" >&6; }
5759 { echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6; }
5764 test -n "$MKFIFO" && break
5766 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5769 if test -z "${MKFIFO}" && $rq; then
5771 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5772 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5773 { (exit 1); exit 1; }; }
5775 { { echo "$as_me:$LINENO: error:
5776 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5778 echo "$as_me: error:
5779 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5781 { (exit 1); exit 1; }; }
5785 if test "x" = x; then
5786 if test -h "${MKFIFO}"; then
5787 MKFIFO=`readlink -f "${MKFIFO}"`
5791 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5810 for ac_prog in mktemp
5812 # Extract the first word of "$ac_prog", so it can be a program name with args.
5813 set dummy $ac_prog; ac_word=$2
5814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5816 if test "${ac_cv_path_MKTEMP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5821 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $ensc_searchpath
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 MKTEMP=$ac_cv_path_MKTEMP
5843 if test -n "$MKTEMP"; then
5844 { echo "$as_me:$LINENO: result: $MKTEMP" >&5
5845 echo "${ECHO_T}$MKTEMP" >&6; }
5847 { echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6; }
5852 test -n "$MKTEMP" && break
5854 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5857 if test -z "${MKTEMP}" && $rq; then
5859 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5860 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5861 { (exit 1); exit 1; }; }
5863 { { echo "$as_me:$LINENO: error:
5864 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5866 echo "$as_me: error:
5867 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5869 { (exit 1); exit 1; }; }
5873 if test "x" = x; then
5874 if test -h "${MKTEMP}"; then
5875 MKTEMP=`readlink -f "${MKTEMP}"`
5879 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5898 for ac_prog in mount
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5904 if test "${ac_cv_path_MOUNT+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $ensc_searchpath
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 MOUNT=$ac_cv_path_MOUNT
5931 if test -n "$MOUNT"; then
5932 { echo "$as_me:$LINENO: result: $MOUNT" >&5
5933 echo "${ECHO_T}$MOUNT" >&6; }
5935 { echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6; }
5940 test -n "$MOUNT" && break
5942 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5945 if test -z "${MOUNT}" && $rq; then
5947 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5948 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5949 { (exit 1); exit 1; }; }
5951 { { echo "$as_me:$LINENO: error:
5952 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5954 echo "$as_me: error:
5955 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5957 { (exit 1); exit 1; }; }
5961 if test "x" = x; then
5962 if test -h "${MOUNT}"; then
5963 MOUNT=`readlink -f "${MOUNT}"`
5967 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5988 # Extract the first word of "$ac_prog", so it can be a program name with args.
5989 set dummy $ac_prog; ac_word=$2
5990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5992 if test "${ac_cv_path_MV+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 ac_cv_path_MV="$MV" # Let the user override the test with a path.
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $ensc_searchpath
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 if test -n "$MV"; then
6020 { echo "$as_me:$LINENO: result: $MV" >&5
6021 echo "${ECHO_T}$MV" >&6; }
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6028 test -n "$MV" && break
6030 test -n "$MV" || MV="$ensc_dflt"
6033 if test -z "${MV}" && $rq; then
6035 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
6036 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6037 { (exit 1); exit 1; }; }
6039 { { echo "$as_me:$LINENO: error:
6040 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
6042 echo "$as_me: error:
6043 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
6045 { (exit 1); exit 1; }; }
6049 if test "x" = x; then
6050 if test -h "${MV}"; then
6051 MV=`readlink -f "${MV}"`
6055 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
6076 # Extract the first word of "$ac_prog", so it can be a program name with args.
6077 set dummy $ac_prog; ac_word=$2
6078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6080 if test "${ac_cv_path_NICE+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 for as_dir in $ensc_searchpath
6092 test -z "$as_dir" && as_dir=.
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6095 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
6096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 NICE=$ac_cv_path_NICE
6107 if test -n "$NICE"; then
6108 { echo "$as_me:$LINENO: result: $NICE" >&5
6109 echo "${ECHO_T}$NICE" >&6; }
6111 { echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6; }
6116 test -n "$NICE" && break
6118 test -n "$NICE" || NICE="$ensc_dflt"
6121 if test -z "${NICE}" && $rq; then
6123 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
6124 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6125 { (exit 1); exit 1; }; }
6127 { { echo "$as_me:$LINENO: error:
6128 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
6130 echo "$as_me: error:
6131 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
6133 { (exit 1); exit 1; }; }
6137 if test "x" = x; then
6138 if test -h "${NICE}"; then
6139 NICE=`readlink -f "${NICE}"`
6143 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
6164 # Extract the first word of "$ac_prog", so it can be a program name with args.
6165 set dummy $ac_prog; ac_word=$2
6166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6168 if test "${ac_cv_path_PS+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 ac_cv_path_PS="$PS" # Let the user override the test with a path.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $ensc_searchpath
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
6184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 if test -n "$PS"; then
6196 { echo "$as_me:$LINENO: result: $PS" >&5
6197 echo "${ECHO_T}$PS" >&6; }
6199 { echo "$as_me:$LINENO: result: no" >&5
6200 echo "${ECHO_T}no" >&6; }
6204 test -n "$PS" && break
6206 test -n "$PS" || PS="$ensc_dflt"
6209 if test -z "${PS}" && $rq; then
6211 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
6212 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6213 { (exit 1); exit 1; }; }
6215 { { echo "$as_me:$LINENO: error:
6216 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6218 echo "$as_me: error:
6219 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6221 { (exit 1); exit 1; }; }
6225 if test "x" = x; then
6226 if test -h "${PS}"; then
6227 PS=`readlink -f "${PS}"`
6231 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6256 if test "${ac_cv_path_RM+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 ac_cv_path_RM="$RM" # Let the user override the test with a path.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 for as_dir in $ensc_searchpath
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 if test -n "$RM"; then
6284 { echo "$as_me:$LINENO: result: $RM" >&5
6285 echo "${ECHO_T}$RM" >&6; }
6287 { echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6; }
6292 test -n "$RM" && break
6294 test -n "$RM" || RM="$ensc_dflt"
6297 if test -z "${RM}" && $rq; then
6299 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
6300 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6301 { (exit 1); exit 1; }; }
6303 { { echo "$as_me:$LINENO: error:
6304 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6306 echo "$as_me: error:
6307 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6309 { (exit 1); exit 1; }; }
6313 if test "x" = x; then
6314 if test -h "${RM}"; then
6315 RM=`readlink -f "${RM}"`
6319 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
6338 for ac_prog in rmdir
6340 # Extract the first word of "$ac_prog", so it can be a program name with args.
6341 set dummy $ac_prog; ac_word=$2
6342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6344 if test "${ac_cv_path_RMDIR+set}" = set; then
6345 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 for as_dir in $ensc_searchpath
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
6360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 RMDIR=$ac_cv_path_RMDIR
6371 if test -n "$RMDIR"; then
6372 { echo "$as_me:$LINENO: result: $RMDIR" >&5
6373 echo "${ECHO_T}$RMDIR" >&6; }
6375 { echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6; }
6380 test -n "$RMDIR" && break
6382 test -n "$RMDIR" || RMDIR="$ensc_dflt"
6385 if test -z "${RMDIR}" && $rq; then
6387 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
6388 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6389 { (exit 1); exit 1; }; }
6391 { { echo "$as_me:$LINENO: error:
6392 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6394 echo "$as_me: error:
6395 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6397 { (exit 1); exit 1; }; }
6401 if test "x" = x; then
6402 if test -h "${RMDIR}"; then
6403 RMDIR=`readlink -f "${RMDIR}"`
6407 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
6428 # Extract the first word of "$ac_prog", so it can be a program name with args.
6429 set dummy $ac_prog; ac_word=$2
6430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6432 if test "${ac_cv_path_SED+set}" = set; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 ac_cv_path_SED="$SED" # Let the user override the test with a path.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 for as_dir in $ensc_searchpath
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
6448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 if test -n "$SED"; then
6460 { echo "$as_me:$LINENO: result: $SED" >&5
6461 echo "${ECHO_T}$SED" >&6; }
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6468 test -n "$SED" && break
6470 test -n "$SED" || SED="$ensc_dflt"
6473 if test -z "${SED}" && $rq; then
6475 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
6476 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6477 { (exit 1); exit 1; }; }
6479 { { echo "$as_me:$LINENO: error:
6480 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6482 echo "$as_me: error:
6483 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6485 { (exit 1); exit 1; }; }
6489 if test "x" = x; then
6490 if test -h "${SED}"; then
6491 SED=`readlink -f "${SED}"`
6495 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
6516 # Extract the first word of "$ac_prog", so it can be a program name with args.
6517 set dummy $ac_prog; ac_word=$2
6518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6520 if test "${ac_cv_path_SH+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 ac_cv_path_SH="$SH" # Let the user override the test with a path.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 for as_dir in $ensc_searchpath
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
6536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 if test -n "$SH"; then
6548 { echo "$as_me:$LINENO: result: $SH" >&5
6549 echo "${ECHO_T}$SH" >&6; }
6551 { echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6; }
6556 test -n "$SH" && break
6558 test -n "$SH" || SH="$ensc_dflt"
6561 if test -z "${SH}" && $rq; then
6563 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
6564 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6565 { (exit 1); exit 1; }; }
6567 { { echo "$as_me:$LINENO: error:
6568 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6570 echo "$as_me: error:
6571 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6573 { (exit 1); exit 1; }; }
6577 if test "x" = x; then
6578 if test -h "${SH}"; then
6579 SH=`readlink -f "${SH}"`
6583 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
6604 # Extract the first word of "$ac_prog", so it can be a program name with args.
6605 set dummy $ac_prog; ac_word=$2
6606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6608 if test "${ac_cv_path_TAC+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $ensc_searchpath
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6623 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
6624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 if test -n "$TAC"; then
6636 { echo "$as_me:$LINENO: result: $TAC" >&5
6637 echo "${ECHO_T}$TAC" >&6; }
6639 { echo "$as_me:$LINENO: result: no" >&5
6640 echo "${ECHO_T}no" >&6; }
6644 test -n "$TAC" && break
6646 test -n "$TAC" || TAC="$ensc_dflt"
6649 if test -z "${TAC}" && $rq; then
6651 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
6652 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6653 { (exit 1); exit 1; }; }
6655 { { echo "$as_me:$LINENO: error:
6656 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6658 echo "$as_me: error:
6659 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6661 { (exit 1); exit 1; }; }
6665 if test "x" = x; then
6666 if test -h "${TAC}"; then
6667 TAC=`readlink -f "${TAC}"`
6671 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6696 if test "${ac_cv_path_TAR+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 for as_dir in $ensc_searchpath
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 if test -n "$TAR"; then
6724 { echo "$as_me:$LINENO: result: $TAR" >&5
6725 echo "${ECHO_T}$TAR" >&6; }
6727 { echo "$as_me:$LINENO: result: no" >&5
6728 echo "${ECHO_T}no" >&6; }
6732 test -n "$TAR" && break
6734 test -n "$TAR" || TAR="$ensc_dflt"
6737 if test -z "${TAR}" && $rq; then
6739 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6740 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6741 { (exit 1); exit 1; }; }
6743 { { echo "$as_me:$LINENO: error:
6744 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6746 echo "$as_me: error:
6747 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6749 { (exit 1); exit 1; }; }
6753 if test "x" = x; then
6754 if test -h "${TAR}"; then
6755 TAR=`readlink -f "${TAR}"`
6759 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6778 for ac_prog in touch
6780 # Extract the first word of "$ac_prog", so it can be a program name with args.
6781 set dummy $ac_prog; ac_word=$2
6782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6784 if test "${ac_cv_path_TOUCH+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 for as_dir in $ensc_searchpath
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 TOUCH=$ac_cv_path_TOUCH
6811 if test -n "$TOUCH"; then
6812 { echo "$as_me:$LINENO: result: $TOUCH" >&5
6813 echo "${ECHO_T}$TOUCH" >&6; }
6815 { echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6; }
6820 test -n "$TOUCH" && break
6822 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6825 if test -z "${TOUCH}" && $rq; then
6827 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6828 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6829 { (exit 1); exit 1; }; }
6831 { { echo "$as_me:$LINENO: error:
6832 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6834 echo "$as_me: error:
6835 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6837 { (exit 1); exit 1; }; }
6841 if test "x" = x; then
6842 if test -h "${TOUCH}"; then
6843 TOUCH=`readlink -f "${TOUCH}"`
6847 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6868 # Extract the first word of "$ac_prog", so it can be a program name with args.
6869 set dummy $ac_prog; ac_word=$2
6870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6872 if test "${ac_cv_path_TTY+set}" = set; then
6873 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 for as_dir in $ensc_searchpath
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 if test -n "$TTY"; then
6900 { echo "$as_me:$LINENO: result: $TTY" >&5
6901 echo "${ECHO_T}$TTY" >&6; }
6903 { echo "$as_me:$LINENO: result: no" >&5
6904 echo "${ECHO_T}no" >&6; }
6908 test -n "$TTY" && break
6910 test -n "$TTY" || TTY="$ensc_dflt"
6913 if test -z "${TTY}" && $rq; then
6915 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6916 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6917 { (exit 1); exit 1; }; }
6919 { { echo "$as_me:$LINENO: error:
6920 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6922 echo "$as_me: error:
6923 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6925 { (exit 1); exit 1; }; }
6929 if test "x" = x; then
6930 if test -h "${TTY}"; then
6931 TTY=`readlink -f "${TTY}"`
6935 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6954 for ac_prog in umount
6956 # Extract the first word of "$ac_prog", so it can be a program name with args.
6957 set dummy $ac_prog; ac_word=$2
6958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6960 if test "${ac_cv_path_UMOUNT+set}" = set; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6965 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 for as_dir in $ensc_searchpath
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 UMOUNT=$ac_cv_path_UMOUNT
6987 if test -n "$UMOUNT"; then
6988 { echo "$as_me:$LINENO: result: $UMOUNT" >&5
6989 echo "${ECHO_T}$UMOUNT" >&6; }
6991 { echo "$as_me:$LINENO: result: no" >&5
6992 echo "${ECHO_T}no" >&6; }
6996 test -n "$UMOUNT" && break
6998 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
7001 if test -z "${UMOUNT}" && $rq; then
7003 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
7004 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7005 { (exit 1); exit 1; }; }
7007 { { echo "$as_me:$LINENO: error:
7008 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
7010 echo "$as_me: error:
7011 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
7013 { (exit 1); exit 1; }; }
7017 if test "x" = x; then
7018 if test -h "${UMOUNT}"; then
7019 UMOUNT=`readlink -f "${UMOUNT}"`
7023 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
7044 # Extract the first word of "$ac_prog", so it can be a program name with args.
7045 set dummy $ac_prog; ac_word=$2
7046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7048 if test "${ac_cv_path_WC+set}" = set; then
7049 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 ac_cv_path_WC="$WC" # Let the user override the test with a path.
7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 for as_dir in $ensc_searchpath
7060 test -z "$as_dir" && as_dir=.
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
7064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 if test -n "$WC"; then
7076 { echo "$as_me:$LINENO: result: $WC" >&5
7077 echo "${ECHO_T}$WC" >&6; }
7079 { echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6; }
7084 test -n "$WC" && break
7086 test -n "$WC" || WC="$ensc_dflt"
7089 if test -z "${WC}" && $rq; then
7091 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
7092 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7093 { (exit 1); exit 1; }; }
7095 { { echo "$as_me:$LINENO: error:
7096 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
7098 echo "$as_me: error:
7099 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
7101 { (exit 1); exit 1; }; }
7105 if test "x" = x; then
7106 if test -h "${WC}"; then
7107 WC=`readlink -f "${WC}"`
7111 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
7134 # Extract the first word of "$ac_prog", so it can be a program name with args.
7135 set dummy $ac_prog; ac_word=$2
7136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7138 if test "${ac_cv_path_IP+set}" = set; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7143 ac_cv_path_IP="$IP" # Let the user override the test with a path.
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in $ensc_searchpath
7150 test -z "$as_dir" && as_dir=.
7151 for ac_exec_ext in '' $ac_executable_extensions; do
7152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7153 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
7154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 if test -n "$IP"; then
7166 { echo "$as_me:$LINENO: result: $IP" >&5
7167 echo "${ECHO_T}$IP" >&6; }
7169 { echo "$as_me:$LINENO: result: no" >&5
7170 echo "${ECHO_T}no" >&6; }
7174 test -n "$IP" && break
7176 test -n "$IP" || IP="$ensc_dflt"
7179 if test -z "${IP}" && $rq; then
7180 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
7181 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
7182 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7183 { (exit 1); exit 1; }; }
7185 { { echo "$as_me:$LINENO: error:
7186 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
7187 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
7188 echo "$as_me: error:
7189 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
7190 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
7191 { (exit 1); exit 1; }; }
7195 if test "x" = x; then
7196 if test -h "${IP}"; then
7197 IP=`readlink -f "${IP}"`
7201 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
7220 for ac_prog in iptables
7222 # Extract the first word of "$ac_prog", so it can be a program name with args.
7223 set dummy $ac_prog; ac_word=$2
7224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7226 if test "${ac_cv_path_IPTABLES+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $ensc_searchpath
7238 test -z "$as_dir" && as_dir=.
7239 for ac_exec_ext in '' $ac_executable_extensions; do
7240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7241 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
7242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 IPTABLES=$ac_cv_path_IPTABLES
7253 if test -n "$IPTABLES"; then
7254 { echo "$as_me:$LINENO: result: $IPTABLES" >&5
7255 echo "${ECHO_T}$IPTABLES" >&6; }
7257 { echo "$as_me:$LINENO: result: no" >&5
7258 echo "${ECHO_T}no" >&6; }
7262 test -n "$IPTABLES" && break
7264 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
7267 if test -z "${IPTABLES}" && $rq; then
7269 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
7270 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7271 { (exit 1); exit 1; }; }
7273 { { echo "$as_me:$LINENO: error:
7274 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7276 echo "$as_me: error:
7277 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7279 { (exit 1); exit 1; }; }
7283 if test "x" = x; then
7284 if test -h "${IPTABLES}"; then
7285 IPTABLES=`readlink -f "${IPTABLES}"`
7289 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
7308 for ac_prog in modprobe
7310 # Extract the first word of "$ac_prog", so it can be a program name with args.
7311 set dummy $ac_prog; ac_word=$2
7312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7314 if test "${ac_cv_path_MODPROBE+set}" = set; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7319 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in $ensc_searchpath
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7329 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
7330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 MODPROBE=$ac_cv_path_MODPROBE
7341 if test -n "$MODPROBE"; then
7342 { echo "$as_me:$LINENO: result: $MODPROBE" >&5
7343 echo "${ECHO_T}$MODPROBE" >&6; }
7345 { echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6; }
7350 test -n "$MODPROBE" && break
7352 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
7355 if test -z "${MODPROBE}" && $rq; then
7357 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
7358 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7359 { (exit 1); exit 1; }; }
7361 { { echo "$as_me:$LINENO: error:
7362 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7364 echo "$as_me: error:
7365 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7367 { (exit 1); exit 1; }; }
7371 if test "x" = x; then
7372 if test -h "${MODPROBE}"; then
7373 MODPROBE=`readlink -f "${MODPROBE}"`
7377 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
7396 for ac_prog in nameif
7398 # Extract the first word of "$ac_prog", so it can be a program name with args.
7399 set dummy $ac_prog; ac_word=$2
7400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7402 if test "${ac_cv_path_NAMEIF+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $ensc_searchpath
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
7418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 NAMEIF=$ac_cv_path_NAMEIF
7429 if test -n "$NAMEIF"; then
7430 { echo "$as_me:$LINENO: result: $NAMEIF" >&5
7431 echo "${ECHO_T}$NAMEIF" >&6; }
7433 { echo "$as_me:$LINENO: result: no" >&5
7434 echo "${ECHO_T}no" >&6; }
7438 test -n "$NAMEIF" && break
7440 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
7443 if test -z "${NAMEIF}" && $rq; then
7445 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
7446 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7447 { (exit 1); exit 1; }; }
7449 { { echo "$as_me:$LINENO: error:
7450 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7452 echo "$as_me: error:
7453 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7455 { (exit 1); exit 1; }; }
7459 if test "x" = x; then
7460 if test -h "${NAMEIF}"; then
7461 NAMEIF=`readlink -f "${NAMEIF}"`
7465 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
7484 for ac_prog in nohup
7486 # Extract the first word of "$ac_prog", so it can be a program name with args.
7487 set dummy $ac_prog; ac_word=$2
7488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7490 if test "${ac_cv_path_NOHUP+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
7498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 for as_dir in $ensc_searchpath
7502 test -z "$as_dir" && as_dir=.
7503 for ac_exec_ext in '' $ac_executable_extensions; do
7504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7505 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
7506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 NOHUP=$ac_cv_path_NOHUP
7517 if test -n "$NOHUP"; then
7518 { echo "$as_me:$LINENO: result: $NOHUP" >&5
7519 echo "${ECHO_T}$NOHUP" >&6; }
7521 { echo "$as_me:$LINENO: result: no" >&5
7522 echo "${ECHO_T}no" >&6; }
7526 test -n "$NOHUP" && break
7528 test -n "$NOHUP" || NOHUP="$ensc_dflt"
7531 if test -z "${NOHUP}" && $rq; then
7533 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
7534 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7535 { (exit 1); exit 1; }; }
7537 { { echo "$as_me:$LINENO: error:
7538 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7540 echo "$as_me: error:
7541 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7543 { (exit 1); exit 1; }; }
7547 if test "x" = x; then
7548 if test -h "${NOHUP}"; then
7549 NOHUP=`readlink -f "${NOHUP}"`
7553 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
7572 for ac_prog in rmmod
7574 # Extract the first word of "$ac_prog", so it can be a program name with args.
7575 set dummy $ac_prog; ac_word=$2
7576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7578 if test "${ac_cv_path_RMMOD+set}" = set; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7583 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7587 for as_dir in $ensc_searchpath
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
7594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 RMMOD=$ac_cv_path_RMMOD
7605 if test -n "$RMMOD"; then
7606 { echo "$as_me:$LINENO: result: $RMMOD" >&5
7607 echo "${ECHO_T}$RMMOD" >&6; }
7609 { echo "$as_me:$LINENO: result: no" >&5
7610 echo "${ECHO_T}no" >&6; }
7614 test -n "$RMMOD" && break
7616 test -n "$RMMOD" || RMMOD="$ensc_dflt"
7619 if test -z "${RMMOD}" && $rq; then
7621 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
7622 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7623 { (exit 1); exit 1; }; }
7625 { { echo "$as_me:$LINENO: error:
7626 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7628 echo "$as_me: error:
7629 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7631 { (exit 1); exit 1; }; }
7635 if test "x" = x; then
7636 if test -h "${RMMOD}"; then
7637 RMMOD=`readlink -f "${RMMOD}"`
7641 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
7660 for ac_prog in vconfig
7662 # Extract the first word of "$ac_prog", so it can be a program name with args.
7663 set dummy $ac_prog; ac_word=$2
7664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7666 if test "${ac_cv_path_VCONFIG+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7671 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $ensc_searchpath
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7681 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
7682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 VCONFIG=$ac_cv_path_VCONFIG
7693 if test -n "$VCONFIG"; then
7694 { echo "$as_me:$LINENO: result: $VCONFIG" >&5
7695 echo "${ECHO_T}$VCONFIG" >&6; }
7697 { echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6; }
7702 test -n "$VCONFIG" && break
7704 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
7707 if test -z "${VCONFIG}" && $rq; then
7708 if test -z "See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution"; then
7709 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
7710 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7711 { (exit 1); exit 1; }; }
7713 { { echo "$as_me:$LINENO: error:
7714 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7715 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
7716 echo "$as_me: error:
7717 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7718 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
7719 { (exit 1); exit 1; }; }
7723 if test "x" = x; then
7724 if test -h "${VCONFIG}"; then
7725 VCONFIG=`readlink -f "${VCONFIG}"`
7729 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
7750 # Extract the first word of "$ac_prog", so it can be a program name with args.
7751 set dummy $ac_prog; ac_word=$2
7752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7754 if test "${ac_cv_path_WGET+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763 for as_dir in $ensc_searchpath
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
7770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 WGET=$ac_cv_path_WGET
7781 if test -n "$WGET"; then
7782 { echo "$as_me:$LINENO: result: $WGET" >&5
7783 echo "${ECHO_T}$WGET" >&6; }
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7790 test -n "$WGET" && break
7792 test -n "$WGET" || WGET="$ensc_dflt"
7795 if test -z "${WGET}" && $rq; then
7797 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
7798 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7799 { (exit 1); exit 1; }; }
7801 { { echo "$as_me:$LINENO: error:
7802 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7804 echo "$as_me: error:
7805 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7807 { (exit 1); exit 1; }; }
7811 if test "x" = x; then
7812 if test -h "${WGET}"; then
7813 WGET=`readlink -f "${WGET}"`
7817 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7836 for ac_prog in ionice
7838 # Extract the first word of "$ac_prog", so it can be a program name with args.
7839 set dummy $ac_prog; ac_word=$2
7840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7842 if test "${ac_cv_path_IONICE+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 ac_cv_path_IONICE="$IONICE" # Let the user override the test with a path.
7850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851 for as_dir in $ensc_searchpath
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7857 ac_cv_path_IONICE="$as_dir/$ac_word$ac_exec_ext"
7858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7868 IONICE=$ac_cv_path_IONICE
7869 if test -n "$IONICE"; then
7870 { echo "$as_me:$LINENO: result: $IONICE" >&5
7871 echo "${ECHO_T}$IONICE" >&6; }
7873 { echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6; }
7878 test -n "$IONICE" && break
7880 test -n "$IONICE" || IONICE="$ensc_dflt"
7883 if test -z "${IONICE}" && $rq; then
7884 if test -z "This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package"; then
7885 { { echo "$as_me:$LINENO: error: Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'." >&5
7886 echo "$as_me: error: Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7887 { (exit 1); exit 1; }; }
7889 { { echo "$as_me:$LINENO: error:
7890 Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'.
7891 This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package" >&5
7892 echo "$as_me: error:
7893 Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'.
7894 This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package" >&2;}
7895 { (exit 1); exit 1; }; }
7899 if test "x" = x; then
7900 if test -h "${IONICE}"; then
7901 IONICE=`readlink -f "${IONICE}"`
7905 test "${IONICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IONICE'@!${IONICE}!g;"
7912 if test -z "file"; then
7926 # Extract the first word of "$ac_prog", so it can be a program name with args.
7927 set dummy $ac_prog; ac_word=$2
7928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7930 if test "${ac_cv_path_FILE+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $ensc_searchpath
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 FILE=$ac_cv_path_FILE
7957 if test -n "$FILE"; then
7958 { echo "$as_me:$LINENO: result: $FILE" >&5
7959 echo "${ECHO_T}$FILE" >&6; }
7961 { echo "$as_me:$LINENO: result: no" >&5
7962 echo "${ECHO_T}no" >&6; }
7966 test -n "$FILE" && break
7968 test -n "$FILE" || FILE="$ensc_dflt"
7971 if test -z "${FILE}" && $rq; then
7973 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
7974 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7975 { (exit 1); exit 1; }; }
7977 { { echo "$as_me:$LINENO: error:
7978 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7980 echo "$as_me: error:
7981 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7983 { (exit 1); exit 1; }; }
7987 if test "x" = x; then
7988 if test -h "${FILE}"; then
7989 FILE=`readlink -f "${FILE}"`
7993 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
8000 if test -z "gzip"; then
8014 # Extract the first word of "$ac_prog", so it can be a program name with args.
8015 set dummy $ac_prog; ac_word=$2
8016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8018 if test "${ac_cv_path_GZIP+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $ensc_searchpath
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
8034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 GZIP=$ac_cv_path_GZIP
8045 if test -n "$GZIP"; then
8046 { echo "$as_me:$LINENO: result: $GZIP" >&5
8047 echo "${ECHO_T}$GZIP" >&6; }
8049 { echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6; }
8054 test -n "$GZIP" && break
8056 test -n "$GZIP" || GZIP="$ensc_dflt"
8059 if test -z "${GZIP}" && $rq; then
8061 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
8062 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8063 { (exit 1); exit 1; }; }
8065 { { echo "$as_me:$LINENO: error:
8066 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
8068 echo "$as_me: error:
8069 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
8071 { (exit 1); exit 1; }; }
8075 if test "x" = x; then
8076 if test -h "${GZIP}"; then
8077 GZIP=`readlink -f "${GZIP}"`
8081 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
8088 if test -z "bzip2"; then
8100 for ac_prog in bzip2
8102 # Extract the first word of "$ac_prog", so it can be a program name with args.
8103 set dummy $ac_prog; ac_word=$2
8104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8106 if test "${ac_cv_path_BZIP2+set}" = set; then
8107 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $ensc_searchpath
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8121 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
8122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8132 BZIP2=$ac_cv_path_BZIP2
8133 if test -n "$BZIP2"; then
8134 { echo "$as_me:$LINENO: result: $BZIP2" >&5
8135 echo "${ECHO_T}$BZIP2" >&6; }
8137 { echo "$as_me:$LINENO: result: no" >&5
8138 echo "${ECHO_T}no" >&6; }
8142 test -n "$BZIP2" && break
8144 test -n "$BZIP2" || BZIP2="$ensc_dflt"
8147 if test -z "${BZIP2}" && $rq; then
8149 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
8150 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8151 { (exit 1); exit 1; }; }
8153 { { echo "$as_me:$LINENO: error:
8154 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
8156 echo "$as_me: error:
8157 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
8159 { (exit 1); exit 1; }; }
8163 if test "x" = x; then
8164 if test -h "${BZIP2}"; then
8165 BZIP2=`readlink -f "${BZIP2}"`
8169 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
8176 if test -z "cpio"; then
8190 # Extract the first word of "$ac_prog", so it can be a program name with args.
8191 set dummy $ac_prog; ac_word=$2
8192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8194 if test "${ac_cv_path_CPIO+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8199 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 for as_dir in $ensc_searchpath
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8209 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
8210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8220 CPIO=$ac_cv_path_CPIO
8221 if test -n "$CPIO"; then
8222 { echo "$as_me:$LINENO: result: $CPIO" >&5
8223 echo "${ECHO_T}$CPIO" >&6; }
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8230 test -n "$CPIO" && break
8232 test -n "$CPIO" || CPIO="$ensc_dflt"
8235 if test -z "${CPIO}" && $rq; then
8237 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
8238 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8239 { (exit 1); exit 1; }; }
8241 { { echo "$as_me:$LINENO: error:
8242 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
8244 echo "$as_me: error:
8245 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
8247 { (exit 1); exit 1; }; }
8251 if test "x" = x; then
8252 if test -h "${CPIO}"; then
8253 CPIO=`readlink -f "${CPIO}"`
8257 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
8264 if test -z "restore"; then
8276 for ac_prog in restore
8278 # Extract the first word of "$ac_prog", so it can be a program name with args.
8279 set dummy $ac_prog; ac_word=$2
8280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8282 if test "${ac_cv_path_RESTORE+set}" = set; then
8283 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $ensc_searchpath
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
8298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 RESTORE=$ac_cv_path_RESTORE
8309 if test -n "$RESTORE"; then
8310 { echo "$as_me:$LINENO: result: $RESTORE" >&5
8311 echo "${ECHO_T}$RESTORE" >&6; }
8313 { echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6; }
8318 test -n "$RESTORE" && break
8320 test -n "$RESTORE" || RESTORE="$ensc_dflt"
8323 if test -z "${RESTORE}" && $rq; then
8325 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
8326 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8327 { (exit 1); exit 1; }; }
8329 { { echo "$as_me:$LINENO: error:
8330 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8332 echo "$as_me: error:
8333 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8335 { (exit 1); exit 1; }; }
8339 if test "x" = x; then
8340 if test -h "${RESTORE}"; then
8341 RESTORE=`readlink -f "${RESTORE}"`
8345 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
8352 if test -z "rsync"; then
8364 for ac_prog in rsync
8366 # Extract the first word of "$ac_prog", so it can be a program name with args.
8367 set dummy $ac_prog; ac_word=$2
8368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8370 if test "${ac_cv_path_RSYNC+set}" = set; then
8371 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 for as_dir in $ensc_searchpath
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8385 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
8386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8396 RSYNC=$ac_cv_path_RSYNC
8397 if test -n "$RSYNC"; then
8398 { echo "$as_me:$LINENO: result: $RSYNC" >&5
8399 echo "${ECHO_T}$RSYNC" >&6; }
8401 { echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6; }
8406 test -n "$RSYNC" && break
8408 test -n "$RSYNC" || RSYNC="$ensc_dflt"
8411 if test -z "${RSYNC}" && $rq; then
8413 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
8414 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8415 { (exit 1); exit 1; }; }
8417 { { echo "$as_me:$LINENO: error:
8418 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8420 echo "$as_me: error:
8421 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8423 { (exit 1); exit 1; }; }
8427 if test "x" = x; then
8428 if test -h "${RSYNC}"; then
8429 RSYNC=`readlink -f "${RSYNC}"`
8433 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
8440 if test -z "strace"; then
8452 for ac_prog in strace
8454 # Extract the first word of "$ac_prog", so it can be a program name with args.
8455 set dummy $ac_prog; ac_word=$2
8456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8458 if test "${ac_cv_path_STRACE+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 ac_cv_path_STRACE="$STRACE" # Let the user override the test with a path.
8466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467 for as_dir in $ensc_searchpath
8470 test -z "$as_dir" && as_dir=.
8471 for ac_exec_ext in '' $ac_executable_extensions; do
8472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8473 ac_cv_path_STRACE="$as_dir/$ac_word$ac_exec_ext"
8474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8484 STRACE=$ac_cv_path_STRACE
8485 if test -n "$STRACE"; then
8486 { echo "$as_me:$LINENO: result: $STRACE" >&5
8487 echo "${ECHO_T}$STRACE" >&6; }
8489 { echo "$as_me:$LINENO: result: no" >&5
8490 echo "${ECHO_T}no" >&6; }
8494 test -n "$STRACE" && break
8496 test -n "$STRACE" || STRACE="$ensc_dflt"
8499 if test -z "${STRACE}" && $rq; then
8501 { { echo "$as_me:$LINENO: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&5
8502 echo "$as_me: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8503 { (exit 1); exit 1; }; }
8505 { { echo "$as_me:$LINENO: error:
8506 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8508 echo "$as_me: error:
8509 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8511 { (exit 1); exit 1; }; }
8515 if test "x" = x; then
8516 if test -h "${STRACE}"; then
8517 STRACE=`readlink -f "${STRACE}"`
8521 test "${STRACE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'STRACE'@!${STRACE}!g;"
8542 # Extract the first word of "$ac_prog", so it can be a program name with args.
8543 set dummy $ac_prog; ac_word=$2
8544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8546 if test "${ac_cv_path_FSCK+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 ac_cv_path_FSCK="$FSCK" # Let the user override the test with a path.
8554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8555 for as_dir in $ensc_searchpath
8558 test -z "$as_dir" && as_dir=.
8559 for ac_exec_ext in '' $ac_executable_extensions; do
8560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8561 ac_cv_path_FSCK="$as_dir/$ac_word$ac_exec_ext"
8562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8572 FSCK=$ac_cv_path_FSCK
8573 if test -n "$FSCK"; then
8574 { echo "$as_me:$LINENO: result: $FSCK" >&5
8575 echo "${ECHO_T}$FSCK" >&6; }
8577 { echo "$as_me:$LINENO: result: no" >&5
8578 echo "${ECHO_T}no" >&6; }
8582 test -n "$FSCK" && break
8584 test -n "$FSCK" || FSCK="$ensc_dflt"
8587 if test -z "${FSCK}" && $rq; then
8589 { { echo "$as_me:$LINENO: error: Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." >&5
8590 echo "$as_me: error: Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8591 { (exit 1); exit 1; }; }
8593 { { echo "$as_me:$LINENO: error:
8594 Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'.
8596 echo "$as_me: error:
8597 Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'.
8599 { (exit 1); exit 1; }; }
8603 if test "x" = x; then
8604 if test -h "${FSCK}"; then
8605 FSCK=`readlink -f "${FSCK}"`
8609 test "${FSCK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FSCK'@!${FSCK}!g;"
8617 if test -z ":"; then
8629 for ac_prog in doxygen
8631 # Extract the first word of "$ac_prog", so it can be a program name with args.
8632 set dummy $ac_prog; ac_word=$2
8633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8635 if test "${ac_cv_path_DOXYGEN+set}" = set; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6
8640 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 for as_dir in $ensc_searchpath
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8650 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8661 DOXYGEN=$ac_cv_path_DOXYGEN
8662 if test -n "$DOXYGEN"; then
8663 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8664 echo "${ECHO_T}$DOXYGEN" >&6; }
8666 { echo "$as_me:$LINENO: result: no" >&5
8667 echo "${ECHO_T}no" >&6; }
8671 test -n "$DOXYGEN" && break
8673 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
8676 if test -z "${DOXYGEN}" && $rq; then
8678 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
8679 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8680 { (exit 1); exit 1; }; }
8682 { { echo "$as_me:$LINENO: error:
8683 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8685 echo "$as_me: error:
8686 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8688 { (exit 1); exit 1; }; }
8692 if test "x" = x; then
8693 if test -h "${DOXYGEN}"; then
8694 DOXYGEN=`readlink -f "${DOXYGEN}"`
8698 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
8705 if test -z ":"; then
8717 for ac_prog in xsltp
8719 # Extract the first word of "$ac_prog", so it can be a program name with args.
8720 set dummy $ac_prog; ac_word=$2
8721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8723 if test "${ac_cv_path_XSLTP+set}" = set; then
8724 echo $ECHO_N "(cached) $ECHO_C" >&6
8728 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
8731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8732 for as_dir in $ensc_searchpath
8735 test -z "$as_dir" && as_dir=.
8736 for ac_exec_ext in '' $ac_executable_extensions; do
8737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8738 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
8739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8749 XSLTP=$ac_cv_path_XSLTP
8750 if test -n "$XSLTP"; then
8751 { echo "$as_me:$LINENO: result: $XSLTP" >&5
8752 echo "${ECHO_T}$XSLTP" >&6; }
8754 { echo "$as_me:$LINENO: result: no" >&5
8755 echo "${ECHO_T}no" >&6; }
8759 test -n "$XSLTP" && break
8761 test -n "$XSLTP" || XSLTP="$ensc_dflt"
8764 if test -z "${XSLTP}" && $rq; then
8766 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
8767 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8768 { (exit 1); exit 1; }; }
8770 { { echo "$as_me:$LINENO: error:
8771 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8773 echo "$as_me: error:
8774 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8776 { (exit 1); exit 1; }; }
8780 if test "x" = x; then
8781 if test -h "${XSLTP}"; then
8782 XSLTP=`readlink -f "${XSLTP}"`
8786 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
8793 if test -z ":"; then
8805 for ac_prog in xsltproc
8807 # Extract the first word of "$ac_prog", so it can be a program name with args.
8808 set dummy $ac_prog; ac_word=$2
8809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8811 if test "${ac_cv_path_XSLTPROC+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
8819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8820 for as_dir in $ensc_searchpath
8823 test -z "$as_dir" && as_dir=.
8824 for ac_exec_ext in '' $ac_executable_extensions; do
8825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8826 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
8827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 XSLTPROC=$ac_cv_path_XSLTPROC
8838 if test -n "$XSLTPROC"; then
8839 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
8840 echo "${ECHO_T}$XSLTPROC" >&6; }
8842 { echo "$as_me:$LINENO: result: no" >&5
8843 echo "${ECHO_T}no" >&6; }
8847 test -n "$XSLTPROC" && break
8849 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
8852 if test -z "${XSLTPROC}" && $rq; then
8854 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
8855 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8856 { (exit 1); exit 1; }; }
8858 { { echo "$as_me:$LINENO: error:
8859 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8861 echo "$as_me: error:
8862 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8864 { (exit 1); exit 1; }; }
8868 if test "x" = x; then
8869 if test -h "${XSLTPROC}"; then
8870 XSLTPROC=`readlink -f "${XSLTPROC}"`
8874 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
8879 if test "$XSLTP" != ':'; then
8881 HAVE_XSLTP_FALSE='#'
8887 if test "$XSLTPROC" != ':'; then
8889 HAVE_XSLTPROC_FALSE='#'
8891 HAVE_XSLTPROC_TRUE='#'
8892 HAVE_XSLTPROC_FALSE=
8896 if test x"$prefix" = x/; then
8902 warn_flags="-Werror -W"
8903 { echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
8904 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8906 ac_cpp='$CPP $CPPFLAGS'
8907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8911 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
8912 CFLAGS="$warn_flags"
8913 cat >conftest.$ac_ext <<_ACEOF
8916 cat confdefs.h >>conftest.$ac_ext
8917 cat >>conftest.$ac_ext <<_ACEOF
8918 /* end confdefs.h. */
8919 inline static void f(){}
8928 rm -f conftest.$ac_objext
8929 if { (ac_try="$ac_compile"
8931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8932 *) ac_try_echo=$ac_try;;
8934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8935 (eval "$ac_compile") 2>conftest.er1
8937 grep -v '^ *+' conftest.er1 >conftest.err
8939 cat conftest.err >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); } && {
8942 test -z "$ac_c_werror_flag" ||
8943 test ! -s conftest.err
8944 } && test -s conftest.$ac_objext; then
8945 ensc_sys_compilerwarnflags_C=${warn_flags}
8947 echo "$as_me: failed program was:" >&5
8948 sed 's/^/| /' conftest.$ac_ext >&5
8950 ensc_sys_compilerwarnflags_C=
8953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8955 ac_cpp='$CPP $CPPFLAGS'
8956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8960 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8962 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
8963 { echo "$as_me:$LINENO: result: no" >&5
8964 echo "${ECHO_T}no" >&6; }
8966 { echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6; }
8974 echo 'void f(){}' > conftest.c
8975 for i in -std=c99 -Wall -pedantic -W
8977 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8978 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8979 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8981 CFLAGS="${CFLAGS} $i"
8982 { echo "$as_me:$LINENO: result: yes" >&5
8983 echo "${ECHO_T}yes" >&6; }
8985 { echo "$as_me:$LINENO: result: no" >&5
8986 echo "${ECHO_T}no" >&6; }
8989 rm -f conftest.c conftest.o
8993 warn_flags="-Werror -W"
8994 { echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
8995 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8997 ac_cpp='$CXXCPP $CPPFLAGS'
8998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9002 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
9003 CXXFLAGS="$warn_flags"
9004 cat >conftest.$ac_ext <<_ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9010 inline static void f(){}
9019 rm -f conftest.$ac_objext
9020 if { (ac_try="$ac_compile"
9022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9023 *) ac_try_echo=$ac_try;;
9025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9026 (eval "$ac_compile") 2>conftest.er1
9028 grep -v '^ *+' conftest.er1 >conftest.err
9030 cat conftest.err >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } && {
9033 test -z "$ac_cxx_werror_flag" ||
9034 test ! -s conftest.err
9035 } && test -s conftest.$ac_objext; then
9036 ensc_sys_compilerwarnflags_CXX=${warn_flags}
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.$ac_ext >&5
9041 ensc_sys_compilerwarnflags_CXX=
9044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9046 ac_cpp='$CPP $CPPFLAGS'
9047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9051 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
9053 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
9054 { echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6; }
9057 { echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6; }
9065 echo 'void f(){}' > conftest.cc
9066 for i in -ansi -Wall -pedantic -W -fmessage-length=0
9068 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
9069 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
9070 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
9072 CXXFLAGS="${CXXFLAGS} $i"
9073 { echo "$as_me:$LINENO: result: yes" >&5
9074 echo "${ECHO_T}yes" >&6; }
9076 { echo "$as_me:$LINENO: result: no" >&5
9077 echo "${ECHO_T}no" >&6; }
9080 rm -f conftest.cc conftest.o
9083 { echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
9084 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6; }
9085 # Check whether --enable-extra-optimizations was given.
9086 if test "${enable_extra_optimizations+set}" = set; then
9087 enableval=$enable_extra_optimizations; case "$enableval" in
9088 (yes) use_extra_optimizations=1;;
9089 (no) use_extra_optimizations=;;
9090 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
9091 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
9092 { (exit 1); exit 1; }; };;
9095 use_extra_optimizations=1
9099 if test x"$use_extra_optimizations" = x; then
9100 { echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6; }
9103 { echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6; }
9108 echo 'void f(){}' > conftest.c
9109 for i in -funit-at-a-time
9111 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
9112 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
9113 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
9115 CFLAGS="${CFLAGS} $i"
9116 { echo "$as_me:$LINENO: result: yes" >&5
9117 echo "${ECHO_T}yes" >&6; }
9119 { echo "$as_me:$LINENO: result: no" >&5
9120 echo "${ECHO_T}no" >&6; }
9123 rm -f conftest.c conftest.o
9128 echo 'void f(){}' > conftest.cc
9129 for i in -funit-at-a-time
9131 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
9132 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
9133 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
9135 CXXFLAGS="${CXXFLAGS} $i"
9136 { echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6; }
9139 { echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6; }
9143 rm -f conftest.cc conftest.o
9147 { echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
9148 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6; }
9149 # Check whether --enable-lib-debug was given.
9150 if test "${enable_lib_debug+set}" = set; then
9151 enableval=$enable_lib_debug; case "$enableval" in
9152 (yes) use_lib_debug=1;;
9153 (no) use_lib_debug=;;
9154 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
9155 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
9156 { (exit 1); exit 1; }; };;
9163 if test x"$use_lib_debug" = x; then
9164 LIB_DEBUG_CPPFLAGS=-DNDEBUG
9166 { echo "$as_me:$LINENO: result: no" >&5
9167 echo "${ECHO_T}no" >&6; }
9170 { echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6; }
9174 { echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
9175 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6; }
9176 # Check whether --enable-expensive-tests was given.
9177 if test "${enable_expensive_tests+set}" = set; then
9178 enableval=$enable_expensive_tests; case "$enableval" in
9179 (yes|no) use_expensive_tests=$enableval;;
9180 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
9181 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
9182 { (exit 1); exit 1; }; };;
9185 use_expensive_tests=no
9188 { echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
9189 echo "${ECHO_T}$use_expensive_tests" >&6; }
9191 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
9196 { echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
9197 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6; }
9198 { echo "$as_me:$LINENO: result: " >&5
9199 echo "${ECHO_T}" >&6; }
9202 ac_cpp='$CPP $CPPFLAGS'
9203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9207 { echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
9208 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6; }
9209 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 cat >conftest.$ac_ext <<_ACEOF
9215 cat confdefs.h >>conftest.$ac_ext
9216 cat >>conftest.$ac_ext <<_ACEOF
9217 /* end confdefs.h. */
9219 #include <linux/personality.h>
9225 #ifndef MMAP_PAGE_ZERO
9226 (void) MMAP_PAGE_ZERO;
9233 rm -f conftest.$ac_objext
9234 if { (ac_try="$ac_compile"
9236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9237 *) ac_try_echo=$ac_try;;
9239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9240 (eval "$ac_compile") 2>conftest.er1
9242 grep -v '^ *+' conftest.er1 >conftest.err
9244 cat conftest.err >&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } && {
9247 test -z "$ac_c_werror_flag" ||
9248 test ! -s conftest.err
9249 } && test -s conftest.$ac_objext; then
9250 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
9252 echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.$ac_ext >&5
9255 ac_cv_have_decl_MMAP_PAGE_ZERO=no
9258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9260 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
9261 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6; }
9262 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
9264 cat >>confdefs.h <<_ACEOF
9265 #define HAVE_DECL_MMAP_PAGE_ZERO 1
9270 cat >>confdefs.h <<_ACEOF
9271 #define HAVE_DECL_MMAP_PAGE_ZERO 0
9276 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
9277 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6; }
9278 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 cat >conftest.$ac_ext <<_ACEOF
9284 cat confdefs.h >>conftest.$ac_ext
9285 cat >>conftest.$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9288 #include <linux/personality.h>
9294 #ifndef ADDR_LIMIT_32BIT
9295 (void) ADDR_LIMIT_32BIT;
9302 rm -f conftest.$ac_objext
9303 if { (ac_try="$ac_compile"
9305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_compile") 2>conftest.er1
9311 grep -v '^ *+' conftest.er1 >conftest.err
9313 cat conftest.err >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } && {
9316 test -z "$ac_c_werror_flag" ||
9317 test ! -s conftest.err
9318 } && test -s conftest.$ac_objext; then
9319 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9324 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9329 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
9330 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6; }
9331 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
9333 cat >>confdefs.h <<_ACEOF
9334 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
9339 cat >>confdefs.h <<_ACEOF
9340 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
9345 { echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
9346 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6; }
9347 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 cat >conftest.$ac_ext <<_ACEOF
9353 cat confdefs.h >>conftest.$ac_ext
9354 cat >>conftest.$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9357 #include <linux/personality.h>
9371 rm -f conftest.$ac_objext
9372 if { (ac_try="$ac_compile"
9374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9375 *) ac_try_echo=$ac_try;;
9377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9378 (eval "$ac_compile") 2>conftest.er1
9380 grep -v '^ *+' conftest.er1 >conftest.err
9382 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } && {
9385 test -z "$ac_c_werror_flag" ||
9386 test ! -s conftest.err
9387 } && test -s conftest.$ac_objext; then
9388 ac_cv_have_decl_SHORT_INODE=yes
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 ac_cv_have_decl_SHORT_INODE=no
9396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9398 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
9399 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6; }
9400 if test $ac_cv_have_decl_SHORT_INODE = yes; then
9402 cat >>confdefs.h <<_ACEOF
9403 #define HAVE_DECL_SHORT_INODE 1
9408 cat >>confdefs.h <<_ACEOF
9409 #define HAVE_DECL_SHORT_INODE 0
9414 { echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
9415 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6; }
9416 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
9417 echo $ECHO_N "(cached) $ECHO_C" >&6
9419 cat >conftest.$ac_ext <<_ACEOF
9422 cat confdefs.h >>conftest.$ac_ext
9423 cat >>conftest.$ac_ext <<_ACEOF
9424 /* end confdefs.h. */
9426 #include <linux/personality.h>
9432 #ifndef WHOLE_SECONDS
9433 (void) WHOLE_SECONDS;
9440 rm -f conftest.$ac_objext
9441 if { (ac_try="$ac_compile"
9443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9444 *) ac_try_echo=$ac_try;;
9446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 (eval "$ac_compile") 2>conftest.er1
9449 grep -v '^ *+' conftest.er1 >conftest.err
9451 cat conftest.err >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } && {
9454 test -z "$ac_c_werror_flag" ||
9455 test ! -s conftest.err
9456 } && test -s conftest.$ac_objext; then
9457 ac_cv_have_decl_WHOLE_SECONDS=yes
9459 echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.$ac_ext >&5
9462 ac_cv_have_decl_WHOLE_SECONDS=no
9465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9467 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
9468 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6; }
9469 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
9471 cat >>confdefs.h <<_ACEOF
9472 #define HAVE_DECL_WHOLE_SECONDS 1
9477 cat >>confdefs.h <<_ACEOF
9478 #define HAVE_DECL_WHOLE_SECONDS 0
9483 { echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
9484 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6; }
9485 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 cat >conftest.$ac_ext <<_ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 #include <linux/personality.h>
9501 #ifndef STICKY_TIMEOUTS
9502 (void) STICKY_TIMEOUTS;
9509 rm -f conftest.$ac_objext
9510 if { (ac_try="$ac_compile"
9512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9513 *) ac_try_echo=$ac_try;;
9515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9516 (eval "$ac_compile") 2>conftest.er1
9518 grep -v '^ *+' conftest.er1 >conftest.err
9520 cat conftest.err >&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); } && {
9523 test -z "$ac_c_werror_flag" ||
9524 test ! -s conftest.err
9525 } && test -s conftest.$ac_objext; then
9526 ac_cv_have_decl_STICKY_TIMEOUTS=yes
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9531 ac_cv_have_decl_STICKY_TIMEOUTS=no
9534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9536 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
9537 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6; }
9538 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
9540 cat >>confdefs.h <<_ACEOF
9541 #define HAVE_DECL_STICKY_TIMEOUTS 1
9546 cat >>confdefs.h <<_ACEOF
9547 #define HAVE_DECL_STICKY_TIMEOUTS 0
9552 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
9553 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6; }
9554 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
9555 echo $ECHO_N "(cached) $ECHO_C" >&6
9557 cat >conftest.$ac_ext <<_ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9564 #include <linux/personality.h>
9570 #ifndef ADDR_LIMIT_3GB
9571 (void) ADDR_LIMIT_3GB;
9578 rm -f conftest.$ac_objext
9579 if { (ac_try="$ac_compile"
9581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9585 (eval "$ac_compile") 2>conftest.er1
9587 grep -v '^ *+' conftest.er1 >conftest.err
9589 cat conftest.err >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); } && {
9592 test -z "$ac_c_werror_flag" ||
9593 test ! -s conftest.err
9594 } && test -s conftest.$ac_objext; then
9595 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
9597 echo "$as_me: failed program was:" >&5
9598 sed 's/^/| /' conftest.$ac_ext >&5
9600 ac_cv_have_decl_ADDR_LIMIT_3GB=no
9603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9605 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
9606 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6; }
9607 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
9609 cat >>confdefs.h <<_ACEOF
9610 #define HAVE_DECL_ADDR_LIMIT_3GB 1
9615 cat >>confdefs.h <<_ACEOF
9616 #define HAVE_DECL_ADDR_LIMIT_3GB 0
9624 { echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
9625 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6; }
9626 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 cat >conftest.$ac_ext <<_ACEOF
9632 cat confdefs.h >>conftest.$ac_ext
9633 cat >>conftest.$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9636 #include <linux/personality.h>
9650 rm -f conftest.$ac_objext
9651 if { (ac_try="$ac_compile"
9653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9654 *) ac_try_echo=$ac_try;;
9656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9657 (eval "$ac_compile") 2>conftest.er1
9659 grep -v '^ *+' conftest.er1 >conftest.err
9661 cat conftest.err >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } && {
9664 test -z "$ac_c_werror_flag" ||
9665 test ! -s conftest.err
9666 } && test -s conftest.$ac_objext; then
9667 ac_cv_have_decl_PER_LINUX=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9672 ac_cv_have_decl_PER_LINUX=no
9675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9677 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
9678 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6; }
9679 if test $ac_cv_have_decl_PER_LINUX = yes; then
9681 cat >>confdefs.h <<_ACEOF
9682 #define HAVE_DECL_PER_LINUX 1
9687 cat >>confdefs.h <<_ACEOF
9688 #define HAVE_DECL_PER_LINUX 0
9693 { echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
9694 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6; }
9695 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 cat >conftest.$ac_ext <<_ACEOF
9701 cat confdefs.h >>conftest.$ac_ext
9702 cat >>conftest.$ac_ext <<_ACEOF
9703 /* end confdefs.h. */
9705 #include <linux/personality.h>
9711 #ifndef PER_LINUX_32BIT
9712 (void) PER_LINUX_32BIT;
9719 rm -f conftest.$ac_objext
9720 if { (ac_try="$ac_compile"
9722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9723 *) ac_try_echo=$ac_try;;
9725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9726 (eval "$ac_compile") 2>conftest.er1
9728 grep -v '^ *+' conftest.er1 >conftest.err
9730 cat conftest.err >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } && {
9733 test -z "$ac_c_werror_flag" ||
9734 test ! -s conftest.err
9735 } && test -s conftest.$ac_objext; then
9736 ac_cv_have_decl_PER_LINUX_32BIT=yes
9738 echo "$as_me: failed program was:" >&5
9739 sed 's/^/| /' conftest.$ac_ext >&5
9741 ac_cv_have_decl_PER_LINUX_32BIT=no
9744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9746 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
9747 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6; }
9748 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
9750 cat >>confdefs.h <<_ACEOF
9751 #define HAVE_DECL_PER_LINUX_32BIT 1
9756 cat >>confdefs.h <<_ACEOF
9757 #define HAVE_DECL_PER_LINUX_32BIT 0
9762 { echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
9763 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6; }
9764 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 cat >conftest.$ac_ext <<_ACEOF
9770 cat confdefs.h >>conftest.$ac_ext
9771 cat >>conftest.$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9774 #include <linux/personality.h>
9788 rm -f conftest.$ac_objext
9789 if { (ac_try="$ac_compile"
9791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9792 *) ac_try_echo=$ac_try;;
9794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9795 (eval "$ac_compile") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1 >conftest.err
9799 cat conftest.err >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } && {
9802 test -z "$ac_c_werror_flag" ||
9803 test ! -s conftest.err
9804 } && test -s conftest.$ac_objext; then
9805 ac_cv_have_decl_PER_SVR4=yes
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9810 ac_cv_have_decl_PER_SVR4=no
9813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9815 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
9816 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6; }
9817 if test $ac_cv_have_decl_PER_SVR4 = yes; then
9819 cat >>confdefs.h <<_ACEOF
9820 #define HAVE_DECL_PER_SVR4 1
9825 cat >>confdefs.h <<_ACEOF
9826 #define HAVE_DECL_PER_SVR4 0
9831 { echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
9832 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6; }
9833 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 cat >conftest.$ac_ext <<_ACEOF
9839 cat confdefs.h >>conftest.$ac_ext
9840 cat >>conftest.$ac_ext <<_ACEOF
9841 /* end confdefs.h. */
9843 #include <linux/personality.h>
9857 rm -f conftest.$ac_objext
9858 if { (ac_try="$ac_compile"
9860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9861 *) ac_try_echo=$ac_try;;
9863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9864 (eval "$ac_compile") 2>conftest.er1
9866 grep -v '^ *+' conftest.er1 >conftest.err
9868 cat conftest.err >&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } && {
9871 test -z "$ac_c_werror_flag" ||
9872 test ! -s conftest.err
9873 } && test -s conftest.$ac_objext; then
9874 ac_cv_have_decl_PER_SVR3=yes
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.$ac_ext >&5
9879 ac_cv_have_decl_PER_SVR3=no
9882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9884 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
9885 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6; }
9886 if test $ac_cv_have_decl_PER_SVR3 = yes; then
9888 cat >>confdefs.h <<_ACEOF
9889 #define HAVE_DECL_PER_SVR3 1
9894 cat >>confdefs.h <<_ACEOF
9895 #define HAVE_DECL_PER_SVR3 0
9900 { echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
9901 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6; }
9902 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
9903 echo $ECHO_N "(cached) $ECHO_C" >&6
9905 cat >conftest.$ac_ext <<_ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 #include <linux/personality.h>
9926 rm -f conftest.$ac_objext
9927 if { (ac_try="$ac_compile"
9929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_compile") 2>conftest.er1
9935 grep -v '^ *+' conftest.er1 >conftest.err
9937 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && {
9940 test -z "$ac_c_werror_flag" ||
9941 test ! -s conftest.err
9942 } && test -s conftest.$ac_objext; then
9943 ac_cv_have_decl_PER_SCOSVR3=yes
9945 echo "$as_me: failed program was:" >&5
9946 sed 's/^/| /' conftest.$ac_ext >&5
9948 ac_cv_have_decl_PER_SCOSVR3=no
9951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9953 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
9954 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6; }
9955 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
9957 cat >>confdefs.h <<_ACEOF
9958 #define HAVE_DECL_PER_SCOSVR3 1
9963 cat >>confdefs.h <<_ACEOF
9964 #define HAVE_DECL_PER_SCOSVR3 0
9969 { echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
9970 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6; }
9971 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 cat >conftest.$ac_ext <<_ACEOF
9977 cat confdefs.h >>conftest.$ac_ext
9978 cat >>conftest.$ac_ext <<_ACEOF
9979 /* end confdefs.h. */
9981 #include <linux/personality.h>
9995 rm -f conftest.$ac_objext
9996 if { (ac_try="$ac_compile"
9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_compile") 2>conftest.er1
10004 grep -v '^ *+' conftest.er1 >conftest.err
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } && {
10009 test -z "$ac_c_werror_flag" ||
10010 test ! -s conftest.err
10011 } && test -s conftest.$ac_objext; then
10012 ac_cv_have_decl_PER_OSR5=yes
10014 echo "$as_me: failed program was:" >&5
10015 sed 's/^/| /' conftest.$ac_ext >&5
10017 ac_cv_have_decl_PER_OSR5=no
10020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10022 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
10023 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6; }
10024 if test $ac_cv_have_decl_PER_OSR5 = yes; then
10026 cat >>confdefs.h <<_ACEOF
10027 #define HAVE_DECL_PER_OSR5 1
10032 cat >>confdefs.h <<_ACEOF
10033 #define HAVE_DECL_PER_OSR5 0
10038 { echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
10039 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6; }
10040 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 cat >conftest.$ac_ext <<_ACEOF
10046 cat confdefs.h >>conftest.$ac_ext
10047 cat >>conftest.$ac_ext <<_ACEOF
10048 /* end confdefs.h. */
10050 #include <linux/personality.h>
10056 #ifndef PER_WYSEV386
10057 (void) PER_WYSEV386;
10064 rm -f conftest.$ac_objext
10065 if { (ac_try="$ac_compile"
10066 case "(($ac_try" in
10067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10068 *) ac_try_echo=$ac_try;;
10070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10071 (eval "$ac_compile") 2>conftest.er1
10073 grep -v '^ *+' conftest.er1 >conftest.err
10075 cat conftest.err >&5
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); } && {
10078 test -z "$ac_c_werror_flag" ||
10079 test ! -s conftest.err
10080 } && test -s conftest.$ac_objext; then
10081 ac_cv_have_decl_PER_WYSEV386=yes
10083 echo "$as_me: failed program was:" >&5
10084 sed 's/^/| /' conftest.$ac_ext >&5
10086 ac_cv_have_decl_PER_WYSEV386=no
10089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10091 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
10092 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6; }
10093 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
10095 cat >>confdefs.h <<_ACEOF
10096 #define HAVE_DECL_PER_WYSEV386 1
10101 cat >>confdefs.h <<_ACEOF
10102 #define HAVE_DECL_PER_WYSEV386 0
10107 { echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
10108 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6; }
10109 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 cat >conftest.$ac_ext <<_ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10119 #include <linux/personality.h>
10133 rm -f conftest.$ac_objext
10134 if { (ac_try="$ac_compile"
10135 case "(($ac_try" in
10136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10137 *) ac_try_echo=$ac_try;;
10139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10140 (eval "$ac_compile") 2>conftest.er1
10142 grep -v '^ *+' conftest.er1 >conftest.err
10144 cat conftest.err >&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } && {
10147 test -z "$ac_c_werror_flag" ||
10148 test ! -s conftest.err
10149 } && test -s conftest.$ac_objext; then
10150 ac_cv_have_decl_PER_ISCR4=yes
10152 echo "$as_me: failed program was:" >&5
10153 sed 's/^/| /' conftest.$ac_ext >&5
10155 ac_cv_have_decl_PER_ISCR4=no
10158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10160 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
10161 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6; }
10162 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
10164 cat >>confdefs.h <<_ACEOF
10165 #define HAVE_DECL_PER_ISCR4 1
10170 cat >>confdefs.h <<_ACEOF
10171 #define HAVE_DECL_PER_ISCR4 0
10176 { echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
10177 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6; }
10178 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 cat >conftest.$ac_ext <<_ACEOF
10184 cat confdefs.h >>conftest.$ac_ext
10185 cat >>conftest.$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10188 #include <linux/personality.h>
10202 rm -f conftest.$ac_objext
10203 if { (ac_try="$ac_compile"
10204 case "(($ac_try" in
10205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10206 *) ac_try_echo=$ac_try;;
10208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10209 (eval "$ac_compile") 2>conftest.er1
10211 grep -v '^ *+' conftest.er1 >conftest.err
10213 cat conftest.err >&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); } && {
10216 test -z "$ac_c_werror_flag" ||
10217 test ! -s conftest.err
10218 } && test -s conftest.$ac_objext; then
10219 ac_cv_have_decl_PER_BSD=yes
10221 echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.$ac_ext >&5
10224 ac_cv_have_decl_PER_BSD=no
10227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10229 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
10230 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6; }
10231 if test $ac_cv_have_decl_PER_BSD = yes; then
10233 cat >>confdefs.h <<_ACEOF
10234 #define HAVE_DECL_PER_BSD 1
10239 cat >>confdefs.h <<_ACEOF
10240 #define HAVE_DECL_PER_BSD 0
10245 { echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
10246 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6; }
10247 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 cat >conftest.$ac_ext <<_ACEOF
10253 cat confdefs.h >>conftest.$ac_ext
10254 cat >>conftest.$ac_ext <<_ACEOF
10255 /* end confdefs.h. */
10257 #include <linux/personality.h>
10271 rm -f conftest.$ac_objext
10272 if { (ac_try="$ac_compile"
10273 case "(($ac_try" in
10274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10275 *) ac_try_echo=$ac_try;;
10277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10278 (eval "$ac_compile") 2>conftest.er1
10280 grep -v '^ *+' conftest.er1 >conftest.err
10282 cat conftest.err >&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); } && {
10285 test -z "$ac_c_werror_flag" ||
10286 test ! -s conftest.err
10287 } && test -s conftest.$ac_objext; then
10288 ac_cv_have_decl_PER_SUNOS=yes
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10293 ac_cv_have_decl_PER_SUNOS=no
10296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10298 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
10299 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6; }
10300 if test $ac_cv_have_decl_PER_SUNOS = yes; then
10302 cat >>confdefs.h <<_ACEOF
10303 #define HAVE_DECL_PER_SUNOS 1
10308 cat >>confdefs.h <<_ACEOF
10309 #define HAVE_DECL_PER_SUNOS 0
10314 { echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
10315 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6; }
10316 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 cat >conftest.$ac_ext <<_ACEOF
10322 cat confdefs.h >>conftest.$ac_ext
10323 cat >>conftest.$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10326 #include <linux/personality.h>
10340 rm -f conftest.$ac_objext
10341 if { (ac_try="$ac_compile"
10342 case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_compile") 2>conftest.er1
10349 grep -v '^ *+' conftest.er1 >conftest.err
10351 cat conftest.err >&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } && {
10354 test -z "$ac_c_werror_flag" ||
10355 test ! -s conftest.err
10356 } && test -s conftest.$ac_objext; then
10357 ac_cv_have_decl_PER_XENIX=yes
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_have_decl_PER_XENIX=no
10365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10367 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
10368 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6; }
10369 if test $ac_cv_have_decl_PER_XENIX = yes; then
10371 cat >>confdefs.h <<_ACEOF
10372 #define HAVE_DECL_PER_XENIX 1
10377 cat >>confdefs.h <<_ACEOF
10378 #define HAVE_DECL_PER_XENIX 0
10383 { echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
10384 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6; }
10385 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10388 cat >conftest.$ac_ext <<_ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 #include <linux/personality.h>
10401 #ifndef PER_LINUX32
10402 (void) PER_LINUX32;
10409 rm -f conftest.$ac_objext
10410 if { (ac_try="$ac_compile"
10411 case "(($ac_try" in
10412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10413 *) ac_try_echo=$ac_try;;
10415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10416 (eval "$ac_compile") 2>conftest.er1
10418 grep -v '^ *+' conftest.er1 >conftest.err
10420 cat conftest.err >&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } && {
10423 test -z "$ac_c_werror_flag" ||
10424 test ! -s conftest.err
10425 } && test -s conftest.$ac_objext; then
10426 ac_cv_have_decl_PER_LINUX32=yes
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 ac_cv_have_decl_PER_LINUX32=no
10434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10436 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
10437 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6; }
10438 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
10440 cat >>confdefs.h <<_ACEOF
10441 #define HAVE_DECL_PER_LINUX32 1
10446 cat >>confdefs.h <<_ACEOF
10447 #define HAVE_DECL_PER_LINUX32 0
10452 { echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
10453 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6; }
10454 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10457 cat >conftest.$ac_ext <<_ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10464 #include <linux/personality.h>
10470 #ifndef PER_LINUX32_3GB
10471 (void) PER_LINUX32_3GB;
10478 rm -f conftest.$ac_objext
10479 if { (ac_try="$ac_compile"
10480 case "(($ac_try" in
10481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10482 *) ac_try_echo=$ac_try;;
10484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10485 (eval "$ac_compile") 2>conftest.er1
10487 grep -v '^ *+' conftest.er1 >conftest.err
10489 cat conftest.err >&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } && {
10492 test -z "$ac_c_werror_flag" ||
10493 test ! -s conftest.err
10494 } && test -s conftest.$ac_objext; then
10495 ac_cv_have_decl_PER_LINUX32_3GB=yes
10497 echo "$as_me: failed program was:" >&5
10498 sed 's/^/| /' conftest.$ac_ext >&5
10500 ac_cv_have_decl_PER_LINUX32_3GB=no
10503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10505 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
10506 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6; }
10507 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
10509 cat >>confdefs.h <<_ACEOF
10510 #define HAVE_DECL_PER_LINUX32_3GB 1
10515 cat >>confdefs.h <<_ACEOF
10516 #define HAVE_DECL_PER_LINUX32_3GB 0
10521 { echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
10522 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6; }
10523 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
10524 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 cat >conftest.$ac_ext <<_ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10533 #include <linux/personality.h>
10547 rm -f conftest.$ac_objext
10548 if { (ac_try="$ac_compile"
10549 case "(($ac_try" in
10550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10551 *) ac_try_echo=$ac_try;;
10553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10554 (eval "$ac_compile") 2>conftest.er1
10556 grep -v '^ *+' conftest.er1 >conftest.err
10558 cat conftest.err >&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); } && {
10561 test -z "$ac_c_werror_flag" ||
10562 test ! -s conftest.err
10563 } && test -s conftest.$ac_objext; then
10564 ac_cv_have_decl_PER_IRIX32=yes
10566 echo "$as_me: failed program was:" >&5
10567 sed 's/^/| /' conftest.$ac_ext >&5
10569 ac_cv_have_decl_PER_IRIX32=no
10572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10574 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
10575 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6; }
10576 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
10578 cat >>confdefs.h <<_ACEOF
10579 #define HAVE_DECL_PER_IRIX32 1
10584 cat >>confdefs.h <<_ACEOF
10585 #define HAVE_DECL_PER_IRIX32 0
10590 { echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
10591 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6; }
10592 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 cat >conftest.$ac_ext <<_ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10602 #include <linux/personality.h>
10608 #ifndef PER_IRIXN32
10609 (void) PER_IRIXN32;
10616 rm -f conftest.$ac_objext
10617 if { (ac_try="$ac_compile"
10618 case "(($ac_try" in
10619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10620 *) ac_try_echo=$ac_try;;
10622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10623 (eval "$ac_compile") 2>conftest.er1
10625 grep -v '^ *+' conftest.er1 >conftest.err
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } && {
10630 test -z "$ac_c_werror_flag" ||
10631 test ! -s conftest.err
10632 } && test -s conftest.$ac_objext; then
10633 ac_cv_have_decl_PER_IRIXN32=yes
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10638 ac_cv_have_decl_PER_IRIXN32=no
10641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10643 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
10644 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6; }
10645 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
10647 cat >>confdefs.h <<_ACEOF
10648 #define HAVE_DECL_PER_IRIXN32 1
10653 cat >>confdefs.h <<_ACEOF
10654 #define HAVE_DECL_PER_IRIXN32 0
10659 { echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
10660 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6; }
10661 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 cat >conftest.$ac_ext <<_ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10671 #include <linux/personality.h>
10685 rm -f conftest.$ac_objext
10686 if { (ac_try="$ac_compile"
10687 case "(($ac_try" in
10688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10689 *) ac_try_echo=$ac_try;;
10691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10692 (eval "$ac_compile") 2>conftest.er1
10694 grep -v '^ *+' conftest.er1 >conftest.err
10696 cat conftest.err >&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } && {
10699 test -z "$ac_c_werror_flag" ||
10700 test ! -s conftest.err
10701 } && test -s conftest.$ac_objext; then
10702 ac_cv_have_decl_PER_IRIX64=yes
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 ac_cv_have_decl_PER_IRIX64=no
10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10712 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
10713 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6; }
10714 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
10716 cat >>confdefs.h <<_ACEOF
10717 #define HAVE_DECL_PER_IRIX64 1
10722 cat >>confdefs.h <<_ACEOF
10723 #define HAVE_DECL_PER_IRIX64 0
10728 { echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
10729 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6; }
10730 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
10731 echo $ECHO_N "(cached) $ECHO_C" >&6
10733 cat >conftest.$ac_ext <<_ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10740 #include <linux/personality.h>
10754 rm -f conftest.$ac_objext
10755 if { (ac_try="$ac_compile"
10756 case "(($ac_try" in
10757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10758 *) ac_try_echo=$ac_try;;
10760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10761 (eval "$ac_compile") 2>conftest.er1
10763 grep -v '^ *+' conftest.er1 >conftest.err
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && {
10768 test -z "$ac_c_werror_flag" ||
10769 test ! -s conftest.err
10770 } && test -s conftest.$ac_objext; then
10771 ac_cv_have_decl_PER_RISCOS=yes
10773 echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.$ac_ext >&5
10776 ac_cv_have_decl_PER_RISCOS=no
10779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10781 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
10782 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6; }
10783 if test $ac_cv_have_decl_PER_RISCOS = yes; then
10785 cat >>confdefs.h <<_ACEOF
10786 #define HAVE_DECL_PER_RISCOS 1
10791 cat >>confdefs.h <<_ACEOF
10792 #define HAVE_DECL_PER_RISCOS 0
10797 { echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
10798 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6; }
10799 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 cat >conftest.$ac_ext <<_ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10809 #include <linux/personality.h>
10815 #ifndef PER_SOLARIS
10816 (void) PER_SOLARIS;
10823 rm -f conftest.$ac_objext
10824 if { (ac_try="$ac_compile"
10825 case "(($ac_try" in
10826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10827 *) ac_try_echo=$ac_try;;
10829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10830 (eval "$ac_compile") 2>conftest.er1
10832 grep -v '^ *+' conftest.er1 >conftest.err
10834 cat conftest.err >&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); } && {
10837 test -z "$ac_c_werror_flag" ||
10838 test ! -s conftest.err
10839 } && test -s conftest.$ac_objext; then
10840 ac_cv_have_decl_PER_SOLARIS=yes
10842 echo "$as_me: failed program was:" >&5
10843 sed 's/^/| /' conftest.$ac_ext >&5
10845 ac_cv_have_decl_PER_SOLARIS=no
10848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10850 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
10851 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6; }
10852 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
10854 cat >>confdefs.h <<_ACEOF
10855 #define HAVE_DECL_PER_SOLARIS 1
10860 cat >>confdefs.h <<_ACEOF
10861 #define HAVE_DECL_PER_SOLARIS 0
10866 { echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
10867 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6; }
10868 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 cat >conftest.$ac_ext <<_ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10878 #include <linux/personality.h>
10892 rm -f conftest.$ac_objext
10893 if { (ac_try="$ac_compile"
10894 case "(($ac_try" in
10895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10896 *) ac_try_echo=$ac_try;;
10898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10899 (eval "$ac_compile") 2>conftest.er1
10901 grep -v '^ *+' conftest.er1 >conftest.err
10903 cat conftest.err >&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); } && {
10906 test -z "$ac_c_werror_flag" ||
10907 test ! -s conftest.err
10908 } && test -s conftest.$ac_objext; then
10909 ac_cv_have_decl_PER_UW7=yes
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.$ac_ext >&5
10914 ac_cv_have_decl_PER_UW7=no
10917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10919 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
10920 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6; }
10921 if test $ac_cv_have_decl_PER_UW7 = yes; then
10923 cat >>confdefs.h <<_ACEOF
10924 #define HAVE_DECL_PER_UW7 1
10929 cat >>confdefs.h <<_ACEOF
10930 #define HAVE_DECL_PER_UW7 0
10935 { echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
10936 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6; }
10937 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10940 cat >conftest.$ac_ext <<_ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10947 #include <linux/personality.h>
10961 rm -f conftest.$ac_objext
10962 if { (ac_try="$ac_compile"
10963 case "(($ac_try" in
10964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10965 *) ac_try_echo=$ac_try;;
10967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10968 (eval "$ac_compile") 2>conftest.er1
10970 grep -v '^ *+' conftest.er1 >conftest.err
10972 cat conftest.err >&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); } && {
10975 test -z "$ac_c_werror_flag" ||
10976 test ! -s conftest.err
10977 } && test -s conftest.$ac_objext; then
10978 ac_cv_have_decl_PER_HPUX=yes
10980 echo "$as_me: failed program was:" >&5
10981 sed 's/^/| /' conftest.$ac_ext >&5
10983 ac_cv_have_decl_PER_HPUX=no
10986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10988 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
10989 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6; }
10990 if test $ac_cv_have_decl_PER_HPUX = yes; then
10992 cat >>confdefs.h <<_ACEOF
10993 #define HAVE_DECL_PER_HPUX 1
10998 cat >>confdefs.h <<_ACEOF
10999 #define HAVE_DECL_PER_HPUX 0
11004 { echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
11005 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6; }
11006 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 cat >conftest.$ac_ext <<_ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11016 #include <linux/personality.h>
11030 rm -f conftest.$ac_objext
11031 if { (ac_try="$ac_compile"
11032 case "(($ac_try" in
11033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11034 *) ac_try_echo=$ac_try;;
11036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11037 (eval "$ac_compile") 2>conftest.er1
11039 grep -v '^ *+' conftest.er1 >conftest.err
11041 cat conftest.err >&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); } && {
11044 test -z "$ac_c_werror_flag" ||
11045 test ! -s conftest.err
11046 } && test -s conftest.$ac_objext; then
11047 ac_cv_have_decl_PER_OSF4=yes
11049 echo "$as_me: failed program was:" >&5
11050 sed 's/^/| /' conftest.$ac_ext >&5
11052 ac_cv_have_decl_PER_OSF4=no
11055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11057 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
11058 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6; }
11059 if test $ac_cv_have_decl_PER_OSF4 = yes; then
11061 cat >>confdefs.h <<_ACEOF
11062 #define HAVE_DECL_PER_OSF4 1
11067 cat >>confdefs.h <<_ACEOF
11068 #define HAVE_DECL_PER_OSF4 0
11076 ac_cpp='$CPP $CPPFLAGS'
11077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11086 { echo "$as_me:$LINENO: checking for initrddir" >&5
11087 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6; }
11089 # Check whether --with-initrddir was given.
11090 if test "${with_initrddir+set}" = set; then
11091 withval=$with_initrddir; case "$withval" in
11092 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
11093 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
11094 { (exit 1); exit 1; }; };;
11095 *) ensc_initrddir=$withval;;
11098 ensc_initrddir='$(sysconfdir)/init.d'
11102 if test "initrddir"; then
11103 initrddir=$ensc_initrddir
11107 { echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
11108 echo "${ECHO_T}$ensc_initrddir" >&6; }
11111 { echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
11112 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6; }
11113 # Check whether --enable-release was given.
11114 if test "${enable_release+set}" = set; then
11115 enableval=$enable_release; case "$enableval" in
11116 yes) ensc_release_mode=yes;;
11117 no) ensc_release_mode=no;;
11118 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
11119 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
11120 { (exit 1); exit 1; }; };;
11123 ensc_release_mode=no
11127 if test x"$ensc_release_mode" = xno; then
11130 RELEASE_CPPFLAGS='-DNDEBUG'
11134 { echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
11135 echo "${ECHO_T}$ensc_release_mode" >&6; }
11138 # HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative
11139 # syscalls will never be enabled for glibc.
11141 ac_cpp='$CPP $CPPFLAGS'
11142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11145 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11146 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
11147 # On Suns, sometimes $CPP names a directory.
11148 if test -n "$CPP" && test -d "$CPP"; then
11151 if test -z "$CPP"; then
11152 if test "${ac_cv_prog_CPP+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 # Double quotes because CPP needs to be expanded
11156 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11158 ac_preproc_ok=false
11159 for ac_c_preproc_warn_flag in '' yes
11161 # Use a header file that comes with gcc, so configuring glibc
11162 # with a fresh cross-compiler works.
11163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11164 # <limits.h> exists even on freestanding compilers.
11165 # On the NeXT, cc -E runs the code through the compiler's parser,
11166 # not just through cpp. "Syntax error" is here to catch this case.
11167 cat >conftest.$ac_ext <<_ACEOF
11170 cat confdefs.h >>conftest.$ac_ext
11171 cat >>conftest.$ac_ext <<_ACEOF
11172 /* end confdefs.h. */
11174 # include <limits.h>
11176 # include <assert.h>
11180 if { (ac_try="$ac_cpp conftest.$ac_ext"
11181 case "(($ac_try" in
11182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11183 *) ac_try_echo=$ac_try;;
11185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11188 grep -v '^ *+' conftest.er1 >conftest.err
11190 cat conftest.err >&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } >/dev/null && {
11193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11194 test ! -s conftest.err
11198 echo "$as_me: failed program was:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 # Broken: fails on valid input.
11205 rm -f conftest.err conftest.$ac_ext
11207 # OK, works on sane cases. Now check whether nonexistent headers
11208 # can be detected and how.
11209 cat >conftest.$ac_ext <<_ACEOF
11212 cat confdefs.h >>conftest.$ac_ext
11213 cat >>conftest.$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 #include <ac_nonexistent.h>
11217 if { (ac_try="$ac_cpp conftest.$ac_ext"
11218 case "(($ac_try" in
11219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11220 *) ac_try_echo=$ac_try;;
11222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11225 grep -v '^ *+' conftest.er1 >conftest.err
11227 cat conftest.err >&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } >/dev/null && {
11230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11231 test ! -s conftest.err
11233 # Broken: success on invalid input.
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 # Passes both tests.
11244 rm -f conftest.err conftest.$ac_ext
11247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11248 rm -f conftest.err conftest.$ac_ext
11249 if $ac_preproc_ok; then
11254 ac_cv_prog_CPP=$CPP
11257 CPP=$ac_cv_prog_CPP
11259 ac_cv_prog_CPP=$CPP
11261 { echo "$as_me:$LINENO: result: $CPP" >&5
11262 echo "${ECHO_T}$CPP" >&6; }
11263 ac_preproc_ok=false
11264 for ac_c_preproc_warn_flag in '' yes
11266 # Use a header file that comes with gcc, so configuring glibc
11267 # with a fresh cross-compiler works.
11268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11269 # <limits.h> exists even on freestanding compilers.
11270 # On the NeXT, cc -E runs the code through the compiler's parser,
11271 # not just through cpp. "Syntax error" is here to catch this case.
11272 cat >conftest.$ac_ext <<_ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11279 # include <limits.h>
11281 # include <assert.h>
11285 if { (ac_try="$ac_cpp conftest.$ac_ext"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1 >conftest.err
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } >/dev/null && {
11298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.$ac_ext >&5
11306 # Broken: fails on valid input.
11310 rm -f conftest.err conftest.$ac_ext
11312 # OK, works on sane cases. Now check whether nonexistent headers
11313 # can be detected and how.
11314 cat >conftest.$ac_ext <<_ACEOF
11317 cat confdefs.h >>conftest.$ac_ext
11318 cat >>conftest.$ac_ext <<_ACEOF
11319 /* end confdefs.h. */
11320 #include <ac_nonexistent.h>
11322 if { (ac_try="$ac_cpp conftest.$ac_ext"
11323 case "(($ac_try" in
11324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11325 *) ac_try_echo=$ac_try;;
11327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11330 grep -v '^ *+' conftest.er1 >conftest.err
11332 cat conftest.err >&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); } >/dev/null && {
11335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11336 test ! -s conftest.err
11338 # Broken: success on invalid input.
11341 echo "$as_me: failed program was:" >&5
11342 sed 's/^/| /' conftest.$ac_ext >&5
11344 # Passes both tests.
11349 rm -f conftest.err conftest.$ac_ext
11352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11353 rm -f conftest.err conftest.$ac_ext
11354 if $ac_preproc_ok; then
11357 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11358 See \`config.log' for more details." >&5
11359 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11360 See \`config.log' for more details." >&2;}
11361 { (exit 1); exit 1; }; }
11365 ac_cpp='$CPP $CPPFLAGS'
11366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11370 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
11371 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
11372 if test "${ac_cv_path_GREP+set}" = set; then
11373 echo $ECHO_N "(cached) $ECHO_C" >&6
11375 # Extract the first word of "grep ggrep" to use in msg output
11376 if test -z "$GREP"; then
11377 set dummy grep ggrep; ac_prog_name=$2
11378 if test "${ac_cv_path_GREP+set}" = set; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 ac_path_GREP_found=false
11382 # Loop through the user's path and test for each of PROGNAME-LIST
11383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11387 test -z "$as_dir" && as_dir=.
11388 for ac_prog in grep ggrep; do
11389 for ac_exec_ext in '' $ac_executable_extensions; do
11390 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
11391 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
11392 # Check for GNU ac_path_GREP and select it if it is found.
11393 # Check for GNU $ac_path_GREP
11394 case `"$ac_path_GREP" --version 2>&1` in
11396 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11399 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11402 cat "conftest.in" "conftest.in" >"conftest.tmp"
11403 mv "conftest.tmp" "conftest.in"
11404 cp "conftest.in" "conftest.nl"
11405 echo 'GREP' >> "conftest.nl"
11406 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11408 ac_count=`expr $ac_count + 1`
11409 if test $ac_count -gt ${ac_path_GREP_max-0}; then
11410 # Best one so far, save it but keep looking for a better one
11411 ac_cv_path_GREP="$ac_path_GREP"
11412 ac_path_GREP_max=$ac_count
11414 # 10*(2^10) chars as input seems more than enough
11415 test $ac_count -gt 10 && break
11417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11421 $ac_path_GREP_found && break 3
11431 GREP="$ac_cv_path_GREP"
11432 if test -z "$GREP"; then
11433 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11435 { (exit 1); exit 1; }; }
11439 ac_cv_path_GREP=$GREP
11444 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
11445 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
11446 GREP="$ac_cv_path_GREP"
11449 { echo "$as_me:$LINENO: checking for egrep" >&5
11450 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11451 if test "${ac_cv_path_EGREP+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11455 then ac_cv_path_EGREP="$GREP -E"
11457 # Extract the first word of "egrep" to use in msg output
11458 if test -z "$EGREP"; then
11459 set dummy egrep; ac_prog_name=$2
11460 if test "${ac_cv_path_EGREP+set}" = set; then
11461 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 ac_path_EGREP_found=false
11464 # Loop through the user's path and test for each of PROGNAME-LIST
11465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11469 test -z "$as_dir" && as_dir=.
11470 for ac_prog in egrep; do
11471 for ac_exec_ext in '' $ac_executable_extensions; do
11472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11473 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11474 # Check for GNU ac_path_EGREP and select it if it is found.
11475 # Check for GNU $ac_path_EGREP
11476 case `"$ac_path_EGREP" --version 2>&1` in
11478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11481 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11484 cat "conftest.in" "conftest.in" >"conftest.tmp"
11485 mv "conftest.tmp" "conftest.in"
11486 cp "conftest.in" "conftest.nl"
11487 echo 'EGREP' >> "conftest.nl"
11488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11490 ac_count=`expr $ac_count + 1`
11491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11492 # Best one so far, save it but keep looking for a better one
11493 ac_cv_path_EGREP="$ac_path_EGREP"
11494 ac_path_EGREP_max=$ac_count
11496 # 10*(2^10) chars as input seems more than enough
11497 test $ac_count -gt 10 && break
11499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11503 $ac_path_EGREP_found && break 3
11513 EGREP="$ac_cv_path_EGREP"
11514 if test -z "$EGREP"; then
11515 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11516 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11517 { (exit 1); exit 1; }; }
11521 ac_cv_path_EGREP=$EGREP
11527 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11528 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11529 EGREP="$ac_cv_path_EGREP"
11536 { echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
11537 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6; }
11538 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 ac_cpp='$CPP $CPPFLAGS'
11544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11548 cat >conftest.$ac_ext <<_ACEOF
11550 #ifdef ENSC_SYSCALL_FALLBACK
11551 # include ENSC_SYSCALL_FALLBACK
11553 # include <asm/unistd.h>
11555 #ifdef __NR_vserver
11556 ensc_syscall_tmp_nr=__NR_vserver;
11557 ensc_syscall_tmp_src=ENSC_MARK
11561 ensc_syscall_tmp_nr=
11562 ensc_syscall_tmp_src=
11563 test x"$ensc_syscall_tmp_nr" != x || \
11564 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
11565 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
11566 eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"lib/syscall-fallback.h"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
11567 test "$ensc_syscall_tmp_nr" || {
11568 ensc_syscall_tmp_nr=273
11569 ensc_syscall_tmp_src=default
11572 if test x"$ensc_syscall_tmp_nr" = x; then
11573 { { echo "$as_me:$LINENO: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&5
11574 echo "$as_me: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&2;}
11575 { (exit 1); exit 1; }; }
11578 ac_cpp='$CPP $CPPFLAGS'
11579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11584 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
11587 { echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
11588 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6; }
11590 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
11591 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
11593 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
11595 cat >>confdefs.h <<_ACEOF
11596 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
11602 { echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
11603 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6; }
11604 # Check whether --enable-alternative-syscalls was given.
11605 if test "${enable_alternative_syscalls+set}" = set; then
11606 enableval=$enable_alternative_syscalls; case $enableval in
11607 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
11608 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
11609 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
11610 { (exit 1); exit 1; }; };;
11613 ensc_use_alternative_syscall_macros=yes
11617 case $ensc_use_alternative_syscall_macros in
11619 cat >>confdefs.h <<\_ACEOF
11620 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
11625 { echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
11626 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6; }
11631 { echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
11632 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6; }
11634 # Check whether --with-syscall was given.
11635 if test "${with_syscall+set}" = set; then
11636 withval=$with_syscall;
11641 { echo "$as_me:$LINENO: result: $with_syscall" >&5
11642 echo "${ECHO_T}$with_syscall" >&6; }
11644 case x"$with_syscall" in
11646 { echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
11647 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6; }
11648 if test "${ensc_cv_test_syscall+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11653 ac_cpp='$CPP $CPPFLAGS'
11654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11658 cat >conftest.$ac_ext <<_ACEOF
11661 cat confdefs.h >>conftest.$ac_ext
11662 cat >>conftest.$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11665 #include "$srcdir/lib/syscall-wrap.h"
11668 #define __NR_foo0 300
11669 #define __NR_foo1 301
11670 #define __NR_foo2 302
11671 #define __NR_foo3 303
11672 #define __NR_foo4 304
11673 #define __NR_foo5 305
11674 inline static _syscall0(int, foo0)
11675 inline static _syscall1(int, foo1, int, a)
11676 inline static _syscall2(int, foo2, int, a, int, b)
11677 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11678 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11679 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11691 rm -f conftest.$ac_objext
11692 if { (ac_try="$ac_compile"
11693 case "(($ac_try" in
11694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11695 *) ac_try_echo=$ac_try;;
11697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11698 (eval "$ac_compile") 2>conftest.er1
11700 grep -v '^ *+' conftest.er1 >conftest.err
11702 cat conftest.err >&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } && {
11705 test -z "$ac_c_werror_flag" ||
11706 test ! -s conftest.err
11707 } && test -s conftest.$ac_objext; then
11708 ensc_cv_test_syscall=fast
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.$ac_ext >&5
11713 ensc_cv_test_syscall=traditional
11716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11726 { echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
11727 echo "${ECHO_T}$ensc_cv_test_syscall" >&6; }
11728 with_syscall=$ensc_cv_test_syscall
11730 (xfast|xtraditional)
11733 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
11734 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
11735 { (exit 1); exit 1; }; }
11739 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
11740 with_syscall='alternative'
11743 if test x"$with_syscall" = xtraditional; then
11745 cat >>confdefs.h <<\_ACEOF
11746 #define ENSC_SYSCALL_TRADITIONAL 1
11757 (i*86|athlon) min_diet_ver=0.25;;
11758 (ia64|hppa*) min_diet_ver=0.29;;
11759 (sparc*) min_diet_ver=0.30;;
11760 (x86_64) min_diet_ver=0.27;;
11761 (*) min_diet_ver=0.28;;
11765 { echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
11766 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6; }
11774 # Check whether --enable-dietlibc was given.
11775 if test "${enable_dietlibc+set}" = set; then
11776 enableval=$enable_dietlibc; case "$enableval" in
11777 (yes) use_dietlibc=forced;;
11778 (no) use_dietlibc=forced_no;;
11779 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
11780 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
11781 { (exit 1); exit 1; }; };;
11784 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
11788 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
11789 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
11790 _dietlibc_ver=${_dietlibc_ver##*diet version }
11791 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
11792 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
11793 _dietlibc_ver_min=${_dietlibc_ver#*.}
11794 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
11795 _dietlibc_cmp="$min_diet_ver"
11796 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
11797 _dietlibc_cmp_min=${_dietlibc_cmp#*.}
11799 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
11801 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
11802 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
11804 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
11806 ENSC_VERSION_DIETLIBC=
11810 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
11811 ensc_have_dietlibc=no
11813 case x"$use_dietlibc" in
11817 USE_DIETLIBC_FALSE='#'
11819 USE_DIETLIBC_TRUE='#'
11820 USE_DIETLIBC_FALSE=
11823 { echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
11824 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6; }
11825 ensc_have_dietlibc=yes
11830 USE_DIETLIBC_FALSE='#'
11832 USE_DIETLIBC_TRUE='#'
11833 USE_DIETLIBC_FALSE=
11836 { echo "$as_me:$LINENO: result: yes (forced)" >&5
11837 echo "${ECHO_T}yes (forced)" >&6; }
11838 ensc_have_dietlibc=yes
11843 USE_DIETLIBC_FALSE='#'
11845 USE_DIETLIBC_TRUE='#'
11846 USE_DIETLIBC_FALSE=
11849 { echo "$as_me:$LINENO: result: no (detected)" >&5
11850 echo "${ECHO_T}no (detected)" >&6; }
11855 USE_DIETLIBC_FALSE='#'
11857 USE_DIETLIBC_TRUE='#'
11858 USE_DIETLIBC_FALSE=
11861 { echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
11862 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6; }
11867 USE_DIETLIBC_FALSE='#'
11869 USE_DIETLIBC_TRUE='#'
11870 USE_DIETLIBC_FALSE=
11873 { echo "$as_me:$LINENO: result: no (forced)" >&5
11874 echo "${ECHO_T}no (forced)" >&6; }
11877 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
11878 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
11879 { (exit 1); exit 1; }; }
11883 if test x"$ensc_have_dietlibc" != xno; then
11888 { echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
11889 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6; }
11890 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
11895 _ensc_dietlibc_c99_old_CC=$CC
11898 CC="${DIET:-diet} $CC"
11901 ac_cpp='$CPP $CPPFLAGS'
11902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11906 cat >conftest.$ac_ext <<_ACEOF
11909 rm -f conftest.$ac_objext
11910 if { (ac_try="$ac_compile"
11911 case "(($ac_try" in
11912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11913 *) ac_try_echo=$ac_try;;
11915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11916 (eval "$ac_compile") 2>conftest.er1
11918 grep -v '^ *+' conftest.er1 >conftest.err
11920 cat conftest.err >&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } && {
11923 test -z "$ac_c_werror_flag" ||
11924 test ! -s conftest.err
11925 } && test -s conftest.$ac_objext; then
11927 cat >conftest.$ac_ext <<_ACEOF
11929 #include <stdint.h>
11930 #include <sys/cdefs.h>
11931 #if defined(inline)
11932 # error 'inline' badly defined
11934 volatile uint64_t a;
11937 rm -f conftest.$ac_objext
11938 if { (ac_try="$ac_compile"
11939 case "(($ac_try" in
11940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11941 *) ac_try_echo=$ac_try;;
11943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11944 (eval "$ac_compile") 2>conftest.er1
11946 grep -v '^ *+' conftest.er1 >conftest.err
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } && {
11951 test -z "$ac_c_werror_flag" ||
11952 test ! -s conftest.err
11953 } && test -s conftest.$ac_objext; then
11954 ensc_cv_c_dietlibc_c99=yes
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 ensc_cv_c_dietlibc_c99=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.$ac_ext >&5
11967 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
11970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11978 CC=$_ensc_dietlibc_c99_old_CC
11979 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
11982 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
11983 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6; }
11985 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
11986 cat >>confdefs.h <<\_ACEOF
11987 #define ENSC_DIETLIBC_C99 1
11996 { echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5
11997 echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6; }
11998 if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 _ensc_dietlibc_syscall_old_CC="$CC"
12003 CC="${DIET:-diet} $CC"
12006 ac_cpp='$CPP $CPPFLAGS'
12007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12011 cat >conftest.$ac_ext <<_ACEOF
12013 #include <sys/syscall.h>
12014 long int syscall(long int __sysno, ...);
12017 rm -f conftest.$ac_objext
12018 if { (ac_try="$ac_compile"
12019 case "(($ac_try" in
12020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12021 *) ac_try_echo=$ac_try;;
12023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12024 (eval "$ac_compile") 2>conftest.er1
12026 grep -v '^ *+' conftest.er1 >conftest.err
12028 cat conftest.err >&5
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); } && {
12031 test -z "$ac_c_werror_flag" ||
12032 test ! -s conftest.err
12033 } && test -s conftest.$ac_objext; then
12034 ensc_cv_c_dietlibc_syscall=no
12036 echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.$ac_ext >&5
12039 ensc_cv_c_dietlibc_syscall=yes
12042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 ac_cpp='$CPP $CPPFLAGS'
12045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12050 CC="$_ensc_dietlibc_syscall_old_CC"
12053 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5
12054 echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6; }
12056 if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then
12057 cat >>confdefs.h <<\_ACEOF
12058 #define ENSC_DIETLIBC_HAS_SYSCALL 1
12066 if test x"$ensc_have_dietlibc" = xno; then
12067 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
12068 echo "$as_me: WARNING: *** ***" >&2;}
12069 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
12070 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
12071 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
12072 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
12073 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
12074 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
12075 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
12076 echo "$as_me: WARNING: *** there. ***" >&2;}
12077 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
12078 echo "$as_me: WARNING: *** ***" >&2;}
12080 USE_DIETLIBC_COMPAT_TRUE=
12081 USE_DIETLIBC_COMPAT_FALSE='#'
12083 USE_DIETLIBC_COMPAT_TRUE='#'
12084 USE_DIETLIBC_COMPAT_FALSE=
12088 # HACK: libtool does not have cmdline options to build only
12089 # dynamic libraries; this can be done with the
12090 # '--disable-static' ./configure option only. As our static
12091 # libraries will be build with dietlibc, we have to do set
12092 # this option which is evaluated by 'AC_PROG_LIBTOOL'
12093 # below. Therefore, this macro must not be called earlier.
12099 { echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
12100 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6; }
12101 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 ac_cpp='$CPP $CPPFLAGS'
12107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12111 ensc_dietlibc_need_compat_old_CC=$CC
12112 CC="${DIET:-diet} $CC"
12113 cat >conftest.$ac_ext <<_ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12121 #include "$srcdir/lib/syscall-wrap.h"
12124 #define __NR_foo0 42
12125 #define __NR_foo1 42
12126 #define __NR_foo2 42
12127 #define __NR_foo3 42
12128 #define __NR_foo4 42
12129 #define __NR_foo5 42
12130 inline static _syscall0(int, foo0)
12131 inline static _syscall1(int, foo1, int, a)
12132 inline static _syscall2(int, foo2, int, a, int, b)
12133 inline static _syscall3(int, foo3, int, a, int, b, int, c)
12134 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
12135 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
12140 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
12145 rm -f conftest.$ac_objext conftest$ac_exeext
12146 if { (ac_try="$ac_link"
12147 case "(($ac_try" in
12148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12149 *) ac_try_echo=$ac_try;;
12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12152 (eval "$ac_link") 2>conftest.er1
12154 grep -v '^ *+' conftest.er1 >conftest.err
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } && {
12159 test -z "$ac_c_werror_flag" ||
12160 test ! -s conftest.err
12161 } && test -s conftest$ac_exeext &&
12162 $as_test_x conftest$ac_exeext; then
12163 ensc_cv_c_dietlibc_compat=no
12165 echo "$as_me: failed program was:" >&5
12166 sed 's/^/| /' conftest.$ac_ext >&5
12168 ensc_cv_c_dietlibc_compat=yes
12171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12172 conftest$ac_exeext conftest.$ac_ext
12173 CC=$ensc_dietlibc_need_compat_old_CC
12175 ac_cpp='$CPP $CPPFLAGS'
12176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12182 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
12183 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6; }
12185 if test x"USE_DIETLIBC_COMPAT" != x; then
12186 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
12187 USE_DIETLIBC_COMPAT_TRUE=
12188 USE_DIETLIBC_COMPAT_FALSE='#'
12190 USE_DIETLIBC_COMPAT_TRUE='#'
12191 USE_DIETLIBC_COMPAT_FALSE=
12198 if test x"$ensc_have_dietlibc" = xyes; then
12199 ENSC_USE_DIETLIBC_TRUE=
12200 ENSC_USE_DIETLIBC_FALSE='#'
12202 ENSC_USE_DIETLIBC_TRUE='#'
12203 ENSC_USE_DIETLIBC_FALSE=
12207 ENSC_USE_GLIBC_TRUE=
12208 ENSC_USE_GLIBC_FALSE='#'
12210 ENSC_USE_GLIBC_TRUE='#'
12211 ENSC_USE_GLIBC_FALSE=
12215 # HACK: see comments at 'enable_static' above
12216 # Check whether --enable-shared was given.
12217 if test "${enable_shared+set}" = set; then
12218 enableval=$enable_shared; p=${PACKAGE-default}
12220 yes) enable_shared=yes ;;
12221 no) enable_shared=no ;;
12224 # Look at the argument we got. We use all the common list separators.
12225 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12226 for pkg in $enableval; do
12228 if test "X$pkg" = "X$p"; then
12240 # Check whether --enable-static was given.
12241 if test "${enable_static+set}" = set; then
12242 enableval=$enable_static; p=${PACKAGE-default}
12244 yes) enable_static=yes ;;
12245 no) enable_static=no ;;
12248 # Look at the argument we got. We use all the common list separators.
12249 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12250 for pkg in $enableval; do
12252 if test "X$pkg" = "X$p"; then
12264 # Check whether --enable-fast-install was given.
12265 if test "${enable_fast_install+set}" = set; then
12266 enableval=$enable_fast_install; p=${PACKAGE-default}
12268 yes) enable_fast_install=yes ;;
12269 no) enable_fast_install=no ;;
12271 enable_fast_install=no
12272 # Look at the argument we got. We use all the common list separators.
12273 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12274 for pkg in $enableval; do
12276 if test "X$pkg" = "X$p"; then
12277 enable_fast_install=yes
12284 enable_fast_install=yes
12288 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12289 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
12290 if test "${lt_cv_path_SED+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 # Loop through the user's path and test for sed and gsed.
12294 # Then use that list of sed's as ones to test for truncation.
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12299 test -z "$as_dir" && as_dir=.
12300 for lt_ac_prog in sed gsed; do
12301 for ac_exec_ext in '' $ac_executable_extensions; do
12302 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
12303 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12311 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12312 # along with /bin/sed that truncates output.
12313 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12314 test ! -f $lt_ac_sed && continue
12315 cat /dev/null > conftest.in
12317 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12318 # Check for GNU sed and select it if it is found.
12319 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12320 lt_cv_path_SED=$lt_ac_sed
12324 cat conftest.in conftest.in >conftest.tmp
12325 mv conftest.tmp conftest.in
12326 cp conftest.in conftest.nl
12328 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12329 cmp -s conftest.out conftest.nl || break
12330 # 10000 chars as input seems more than enough
12331 test $lt_ac_count -gt 10 && break
12332 lt_ac_count=`expr $lt_ac_count + 1`
12333 if test $lt_ac_count -gt $lt_ac_max; then
12334 lt_ac_max=$lt_ac_count
12335 lt_cv_path_SED=$lt_ac_sed
12342 SED=$lt_cv_path_SED
12344 { echo "$as_me:$LINENO: result: $SED" >&5
12345 echo "${ECHO_T}$SED" >&6; }
12348 # Check whether --with-gnu-ld was given.
12349 if test "${with_gnu_ld+set}" = set; then
12350 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12356 if test "$GCC" = yes; then
12357 # Check if gcc -print-prog-name=ld gives a path.
12358 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12359 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12362 # gcc leaves a trailing carriage return which upsets mingw
12363 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12365 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12368 # Accept absolute paths.
12370 re_direlt='/[^/][^/]*/\.\./'
12371 # Canonicalize the pathname of ld
12372 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12373 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12374 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12376 test -z "$LD" && LD="$ac_prog"
12379 # If it fails, then pretend we aren't using GCC.
12383 # If it is relative, then search for the first ld in PATH.
12384 with_gnu_ld=unknown
12387 elif test "$with_gnu_ld" = yes; then
12388 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12391 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12394 if test "${lt_cv_path_LD+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 if test -z "$LD"; then
12398 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12399 for ac_dir in $PATH; do
12401 test -z "$ac_dir" && ac_dir=.
12402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12403 lt_cv_path_LD="$ac_dir/$ac_prog"
12404 # Check to see if the program is GNU ld. I'd rather use --version,
12405 # but apparently some variants of GNU ld only accept -v.
12406 # Break only if it was the GNU/non-GNU ld that we prefer.
12407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12408 *GNU* | *'with BFD'*)
12409 test "$with_gnu_ld" != no && break
12412 test "$with_gnu_ld" != yes && break
12419 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12423 LD="$lt_cv_path_LD"
12424 if test -n "$LD"; then
12425 { echo "$as_me:$LINENO: result: $LD" >&5
12426 echo "${ECHO_T}$LD" >&6; }
12428 { echo "$as_me:$LINENO: result: no" >&5
12429 echo "${ECHO_T}no" >&6; }
12431 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12432 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12433 { (exit 1); exit 1; }; }
12434 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12435 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12440 case `$LD -v 2>&1 </dev/null` in
12441 *GNU* | *'with BFD'*)
12442 lt_cv_prog_gnu_ld=yes
12445 lt_cv_prog_gnu_ld=no
12449 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12450 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12451 with_gnu_ld=$lt_cv_prog_gnu_ld
12454 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12455 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12456 if test "${lt_cv_ld_reload_flag+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 lt_cv_ld_reload_flag='-r'
12461 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12462 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12463 reload_flag=$lt_cv_ld_reload_flag
12464 case $reload_flag in
12466 *) reload_flag=" $reload_flag" ;;
12468 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12471 if test "$GCC" = yes; then
12472 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12474 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12479 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12480 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12481 if test "${lt_cv_path_NM+set}" = set; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 if test -n "$NM"; then
12485 # Let the user override the test.
12486 lt_cv_path_NM="$NM"
12488 lt_nm_to_check="${ac_tool_prefix}nm"
12489 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12490 lt_nm_to_check="$lt_nm_to_check nm"
12492 for lt_tmp_nm in $lt_nm_to_check; do
12493 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12494 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12496 test -z "$ac_dir" && ac_dir=.
12497 tmp_nm="$ac_dir/$lt_tmp_nm"
12498 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12499 # Check to see if the nm accepts a BSD-compat flag.
12500 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12501 # nm: unknown option "B" ignored
12502 # Tru64's nm complains that /dev/null is an invalid object file
12503 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12504 */dev/null* | *'Invalid file or object type'*)
12505 lt_cv_path_NM="$tmp_nm -B"
12509 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12511 lt_cv_path_NM="$tmp_nm -p"
12515 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12516 continue # so that we can try to find one that supports BSD flags
12525 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12528 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12529 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12530 NM="$lt_cv_path_NM"
12532 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
12533 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
12534 if test "${lt_cv_deplibs_check_method+set}" = set; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 lt_cv_file_magic_cmd='$MAGIC_CMD'
12538 lt_cv_file_magic_test_file=
12539 lt_cv_deplibs_check_method='unknown'
12540 # Need to set the preceding variable on all platforms that support
12541 # interlibrary dependencies.
12542 # 'none' -- dependencies not supported.
12543 # `unknown' -- same as none, but documents that we really don't know.
12544 # 'pass_all' -- all dependencies passed with no checks.
12545 # 'test_compile' -- check by making test program.
12546 # 'file_magic [[regex]]' -- check by looking for files in library path
12547 # which responds to the $file_magic_cmd with a given extended regex.
12548 # If you have `file' or equivalent on your system and you're not sure
12549 # whether `pass_all' will *always* work, you probably want this one.
12553 lt_cv_deplibs_check_method=pass_all
12557 lt_cv_deplibs_check_method=pass_all
12561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12562 lt_cv_file_magic_cmd='/usr/bin/file -L'
12563 lt_cv_file_magic_test_file=/shlib/libc.so
12567 # func_win32_libid is a shell function defined in ltmain.sh
12568 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12569 lt_cv_file_magic_cmd='func_win32_libid'
12573 # Base MSYS/MinGW do not provide the 'file' command needed by
12574 # func_win32_libid shell function, so use a weaker test based on 'objdump',
12575 # unless we find 'file', for example because we are cross-compiling.
12576 if ( file / ) >/dev/null 2>&1; then
12577 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12578 lt_cv_file_magic_cmd='func_win32_libid'
12580 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12581 lt_cv_file_magic_cmd='$OBJDUMP -f'
12585 darwin* | rhapsody*)
12586 lt_cv_deplibs_check_method=pass_all
12589 freebsd* | dragonfly*)
12590 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12593 # Not sure whether the presence of OpenBSD here was a mistake.
12594 # Let's accept both of them until this is cleared up.
12595 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12596 lt_cv_file_magic_cmd=/usr/bin/file
12597 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12601 lt_cv_deplibs_check_method=pass_all
12606 lt_cv_deplibs_check_method=pass_all
12609 hpux10.20* | hpux11*)
12610 lt_cv_file_magic_cmd=/usr/bin/file
12613 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12614 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12617 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]'
12618 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12621 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12622 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12628 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12629 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12632 irix5* | irix6* | nonstopux*)
12634 *-32|*"-32 ") libmagic=32-bit;;
12635 *-n32|*"-n32 ") libmagic=N32;;
12636 *-64|*"-64 ") libmagic=64-bit;;
12637 *) libmagic=never-match;;
12639 lt_cv_deplibs_check_method=pass_all
12642 # This must be Linux ELF.
12643 linux* | k*bsd*-gnu)
12644 lt_cv_deplibs_check_method=pass_all
12648 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12649 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12651 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12656 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12657 lt_cv_file_magic_cmd=/usr/bin/file
12658 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12662 lt_cv_deplibs_check_method=unknown
12666 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12667 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12669 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12673 osf3* | osf4* | osf5*)
12674 lt_cv_deplibs_check_method=pass_all
12678 lt_cv_deplibs_check_method=pass_all
12682 lt_cv_deplibs_check_method=pass_all
12686 case $host_vendor in
12688 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]'
12689 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12692 lt_cv_deplibs_check_method=pass_all
12695 lt_cv_file_magic_cmd='/bin/file'
12696 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12699 lt_cv_file_magic_cmd='/bin/file'
12700 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12701 lt_cv_file_magic_test_file=/lib/libc.so
12704 lt_cv_deplibs_check_method=pass_all
12707 lt_cv_deplibs_check_method=pass_all
12712 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12713 lt_cv_deplibs_check_method=pass_all
12718 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12719 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12720 file_magic_cmd=$lt_cv_file_magic_cmd
12721 deplibs_check_method=$lt_cv_deplibs_check_method
12722 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12727 # If no C compiler was specified, use CC.
12730 # If no C compiler flags were specified, use CFLAGS.
12731 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12733 # Allow CC to be a program name with arguments.
12736 # Check whether --enable-libtool-lock was given.
12737 if test "${enable_libtool_lock+set}" = set; then
12738 enableval=$enable_libtool_lock;
12741 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12743 # Some flags need to be propagated to the compiler or linker for good
12747 # Find out which ABI we are using.
12748 echo 'int i;' > conftest.$ac_ext
12749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12750 (eval $ac_compile) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; then
12754 case `/usr/bin/file conftest.$ac_objext` in
12756 HPUX_IA64_MODE="32"
12759 HPUX_IA64_MODE="64"
12766 # Find out which ABI we are using.
12767 echo '#line 12767 "configure"' > conftest.$ac_ext
12768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12769 (eval $ac_compile) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; then
12773 if test "$lt_cv_prog_gnu_ld" = yes; then
12774 case `/usr/bin/file conftest.$ac_objext` in
12776 LD="${LD-ld} -melf32bsmip"
12779 LD="${LD-ld} -melf32bmipn32"
12782 LD="${LD-ld} -melf64bmip"
12786 case `/usr/bin/file conftest.$ac_objext` in
12802 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
12803 s390*-*linux*|sparc*-*linux*)
12804 # Find out which ABI we are using.
12805 echo 'int i;' > conftest.$ac_ext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; then
12811 case `/usr/bin/file conftest.o` in
12814 x86_64-*kfreebsd*-gnu)
12815 LD="${LD-ld} -m elf_i386_fbsd"
12818 LD="${LD-ld} -m elf_i386"
12820 ppc64-*linux*|powerpc64-*linux*)
12821 LD="${LD-ld} -m elf32ppclinux"
12824 LD="${LD-ld} -m elf_s390"
12827 LD="${LD-ld} -m elf32_sparc"
12834 x86_64-*kfreebsd*-gnu)
12835 LD="${LD-ld} -m elf_x86_64_fbsd"
12838 LD="${LD-ld} -m elf_x86_64"
12840 ppc*-*linux*|powerpc*-*linux*)
12841 LD="${LD-ld} -m elf64ppc"
12844 LD="${LD-ld} -m elf64_s390"
12847 LD="${LD-ld} -m elf64_sparc"
12857 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12858 SAVE_CFLAGS="$CFLAGS"
12859 CFLAGS="$CFLAGS -belf"
12860 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12861 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
12862 if test "${lt_cv_cc_needs_belf+set}" = set; then
12863 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 ac_cpp='$CPP $CPPFLAGS'
12867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12871 cat >conftest.$ac_ext <<_ACEOF
12874 cat confdefs.h >>conftest.$ac_ext
12875 cat >>conftest.$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12886 rm -f conftest.$ac_objext conftest$ac_exeext
12887 if { (ac_try="$ac_link"
12888 case "(($ac_try" in
12889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12890 *) ac_try_echo=$ac_try;;
12892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12893 (eval "$ac_link") 2>conftest.er1
12895 grep -v '^ *+' conftest.er1 >conftest.err
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } && {
12900 test -z "$ac_c_werror_flag" ||
12901 test ! -s conftest.err
12902 } && test -s conftest$ac_exeext &&
12903 $as_test_x conftest$ac_exeext; then
12904 lt_cv_cc_needs_belf=yes
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12909 lt_cv_cc_needs_belf=no
12912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12913 conftest$ac_exeext conftest.$ac_ext
12915 ac_cpp='$CPP $CPPFLAGS'
12916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12921 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12922 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12923 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12924 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12925 CFLAGS="$SAVE_CFLAGS"
12929 # Find out which ABI we are using.
12930 echo 'int i;' > conftest.$ac_ext
12931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12932 (eval $ac_compile) 2>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); }; then
12936 case `/usr/bin/file conftest.o` in
12938 case $lt_cv_prog_gnu_ld in
12939 yes*) LD="${LD-ld} -m elf64_sparc" ;;
12940 *) LD="${LD-ld} -64" ;;
12951 need_locks="$enable_libtool_lock"
12955 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12956 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12957 if test "${ac_cv_header_stdc+set}" = set; then
12958 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 cat >conftest.$ac_ext <<_ACEOF
12963 cat confdefs.h >>conftest.$ac_ext
12964 cat >>conftest.$ac_ext <<_ACEOF
12965 /* end confdefs.h. */
12966 #include <stdlib.h>
12967 #include <stdarg.h>
12968 #include <string.h>
12979 rm -f conftest.$ac_objext
12980 if { (ac_try="$ac_compile"
12981 case "(($ac_try" in
12982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12986 (eval "$ac_compile") 2>conftest.er1
12988 grep -v '^ *+' conftest.er1 >conftest.err
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } && {
12993 test -z "$ac_c_werror_flag" ||
12994 test ! -s conftest.err
12995 } && test -s conftest.$ac_objext; then
12996 ac_cv_header_stdc=yes
12998 echo "$as_me: failed program was:" >&5
12999 sed 's/^/| /' conftest.$ac_ext >&5
13001 ac_cv_header_stdc=no
13004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13006 if test $ac_cv_header_stdc = yes; then
13007 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13008 cat >conftest.$ac_ext <<_ACEOF
13011 cat confdefs.h >>conftest.$ac_ext
13012 cat >>conftest.$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13014 #include <string.h>
13017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13018 $EGREP "memchr" >/dev/null 2>&1; then
13021 ac_cv_header_stdc=no
13027 if test $ac_cv_header_stdc = yes; then
13028 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13029 cat >conftest.$ac_ext <<_ACEOF
13032 cat confdefs.h >>conftest.$ac_ext
13033 cat >>conftest.$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 #include <stdlib.h>
13038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13039 $EGREP "free" >/dev/null 2>&1; then
13042 ac_cv_header_stdc=no
13048 if test $ac_cv_header_stdc = yes; then
13049 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13050 if test "$cross_compiling" = yes; then
13053 cat >conftest.$ac_ext <<_ACEOF
13056 cat confdefs.h >>conftest.$ac_ext
13057 cat >>conftest.$ac_ext <<_ACEOF
13058 /* end confdefs.h. */
13060 #include <stdlib.h>
13061 #if ((' ' & 0x0FF) == 0x020)
13062 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13063 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13065 # define ISLOWER(c) \
13066 (('a' <= (c) && (c) <= 'i') \
13067 || ('j' <= (c) && (c) <= 'r') \
13068 || ('s' <= (c) && (c) <= 'z'))
13069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13077 for (i = 0; i < 256; i++)
13078 if (XOR (islower (i), ISLOWER (i))
13079 || toupper (i) != TOUPPER (i))
13084 rm -f conftest$ac_exeext
13085 if { (ac_try="$ac_link"
13086 case "(($ac_try" in
13087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13088 *) ac_try_echo=$ac_try;;
13090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13091 (eval "$ac_link") 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13095 { (case "(($ac_try" in
13096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13097 *) ac_try_echo=$ac_try;;
13099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13100 (eval "$ac_try") 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13106 echo "$as_me: program exited with status $ac_status" >&5
13107 echo "$as_me: failed program was:" >&5
13108 sed 's/^/| /' conftest.$ac_ext >&5
13110 ( exit $ac_status )
13111 ac_cv_header_stdc=no
13113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13119 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13120 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
13121 if test $ac_cv_header_stdc = yes; then
13123 cat >>confdefs.h <<\_ACEOF
13124 #define STDC_HEADERS 1
13129 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13139 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13140 inttypes.h stdint.h unistd.h
13142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 cat >conftest.$ac_ext <<_ACEOF
13151 cat confdefs.h >>conftest.$ac_ext
13152 cat >>conftest.$ac_ext <<_ACEOF
13153 /* end confdefs.h. */
13154 $ac_includes_default
13156 #include <$ac_header>
13158 rm -f conftest.$ac_objext
13159 if { (ac_try="$ac_compile"
13160 case "(($ac_try" in
13161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13162 *) ac_try_echo=$ac_try;;
13164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13165 (eval "$ac_compile") 2>conftest.er1
13167 grep -v '^ *+' conftest.er1 >conftest.err
13169 cat conftest.err >&5
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); } && {
13172 test -z "$ac_c_werror_flag" ||
13173 test ! -s conftest.err
13174 } && test -s conftest.$ac_objext; then
13175 eval "$as_ac_Header=yes"
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13180 eval "$as_ac_Header=no"
13183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13185 ac_res=`eval echo '${'$as_ac_Header'}'`
13186 { echo "$as_me:$LINENO: result: $ac_res" >&5
13187 echo "${ECHO_T}$ac_res" >&6; }
13188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13189 cat >>confdefs.h <<_ACEOF
13190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13199 for ac_header in dlfcn.h
13201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 ac_res=`eval echo '${'$as_ac_Header'}'`
13209 { echo "$as_me:$LINENO: result: $ac_res" >&5
13210 echo "${ECHO_T}$ac_res" >&6; }
13212 # Is the header compilable?
13213 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
13214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13215 cat >conftest.$ac_ext <<_ACEOF
13218 cat confdefs.h >>conftest.$ac_ext
13219 cat >>conftest.$ac_ext <<_ACEOF
13220 /* end confdefs.h. */
13221 $ac_includes_default
13222 #include <$ac_header>
13224 rm -f conftest.$ac_objext
13225 if { (ac_try="$ac_compile"
13226 case "(($ac_try" in
13227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228 *) ac_try_echo=$ac_try;;
13230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231 (eval "$ac_compile") 2>conftest.er1
13233 grep -v '^ *+' conftest.er1 >conftest.err
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } && {
13238 test -z "$ac_c_werror_flag" ||
13239 test ! -s conftest.err
13240 } && test -s conftest.$ac_objext; then
13241 ac_header_compiler=yes
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.$ac_ext >&5
13246 ac_header_compiler=no
13249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13251 echo "${ECHO_T}$ac_header_compiler" >&6; }
13253 # Is the header present?
13254 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13256 cat >conftest.$ac_ext <<_ACEOF
13259 cat confdefs.h >>conftest.$ac_ext
13260 cat >>conftest.$ac_ext <<_ACEOF
13261 /* end confdefs.h. */
13262 #include <$ac_header>
13264 if { (ac_try="$ac_cpp conftest.$ac_ext"
13265 case "(($ac_try" in
13266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13267 *) ac_try_echo=$ac_try;;
13269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13272 grep -v '^ *+' conftest.er1 >conftest.err
13274 cat conftest.err >&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); } >/dev/null && {
13277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13278 test ! -s conftest.err
13280 ac_header_preproc=yes
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.$ac_ext >&5
13285 ac_header_preproc=no
13288 rm -f conftest.err conftest.$ac_ext
13289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13290 echo "${ECHO_T}$ac_header_preproc" >&6; }
13292 # So? What about this header?
13293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13299 ac_header_preproc=yes
13302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13315 ## --------------------------------------------- ##
13316 ## Report this to vserver@list.linux-vserver.org ##
13317 ## --------------------------------------------- ##
13319 ) | sed "s/^/$as_me: WARNING: /" >&2
13322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 eval "$as_ac_Header=\$ac_header_preproc"
13329 ac_res=`eval echo '${'$as_ac_Header'}'`
13330 { echo "$as_me:$LINENO: result: $ac_res" >&5
13331 echo "${ECHO_T}$ac_res" >&6; }
13334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13345 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13346 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13347 (test "X$CXX" != "Xg++"))) ; then
13349 ac_cpp='$CXXCPP $CPPFLAGS'
13350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13353 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13354 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
13355 if test -z "$CXXCPP"; then
13356 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 # Double quotes because CXXCPP needs to be expanded
13360 for CXXCPP in "$CXX -E" "/lib/cpp"
13362 ac_preproc_ok=false
13363 for ac_cxx_preproc_warn_flag in '' yes
13365 # Use a header file that comes with gcc, so configuring glibc
13366 # with a fresh cross-compiler works.
13367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13368 # <limits.h> exists even on freestanding compilers.
13369 # On the NeXT, cc -E runs the code through the compiler's parser,
13370 # not just through cpp. "Syntax error" is here to catch this case.
13371 cat >conftest.$ac_ext <<_ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13378 # include <limits.h>
13380 # include <assert.h>
13384 if { (ac_try="$ac_cpp conftest.$ac_ext"
13385 case "(($ac_try" in
13386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13387 *) ac_try_echo=$ac_try;;
13389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13392 grep -v '^ *+' conftest.er1 >conftest.err
13394 cat conftest.err >&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); } >/dev/null && {
13397 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13398 test ! -s conftest.err
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.$ac_ext >&5
13405 # Broken: fails on valid input.
13409 rm -f conftest.err conftest.$ac_ext
13411 # OK, works on sane cases. Now check whether nonexistent headers
13412 # can be detected and how.
13413 cat >conftest.$ac_ext <<_ACEOF
13416 cat confdefs.h >>conftest.$ac_ext
13417 cat >>conftest.$ac_ext <<_ACEOF
13418 /* end confdefs.h. */
13419 #include <ac_nonexistent.h>
13421 if { (ac_try="$ac_cpp conftest.$ac_ext"
13422 case "(($ac_try" in
13423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13424 *) ac_try_echo=$ac_try;;
13426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13429 grep -v '^ *+' conftest.er1 >conftest.err
13431 cat conftest.err >&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } >/dev/null && {
13434 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13435 test ! -s conftest.err
13437 # Broken: success on invalid input.
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13443 # Passes both tests.
13448 rm -f conftest.err conftest.$ac_ext
13451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13452 rm -f conftest.err conftest.$ac_ext
13453 if $ac_preproc_ok; then
13458 ac_cv_prog_CXXCPP=$CXXCPP
13461 CXXCPP=$ac_cv_prog_CXXCPP
13463 ac_cv_prog_CXXCPP=$CXXCPP
13465 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
13466 echo "${ECHO_T}$CXXCPP" >&6; }
13467 ac_preproc_ok=false
13468 for ac_cxx_preproc_warn_flag in '' yes
13470 # Use a header file that comes with gcc, so configuring glibc
13471 # with a fresh cross-compiler works.
13472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13473 # <limits.h> exists even on freestanding compilers.
13474 # On the NeXT, cc -E runs the code through the compiler's parser,
13475 # not just through cpp. "Syntax error" is here to catch this case.
13476 cat >conftest.$ac_ext <<_ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13483 # include <limits.h>
13485 # include <assert.h>
13489 if { (ac_try="$ac_cpp conftest.$ac_ext"
13490 case "(($ac_try" in
13491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13492 *) ac_try_echo=$ac_try;;
13494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13497 grep -v '^ *+' conftest.er1 >conftest.err
13499 cat conftest.err >&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } >/dev/null && {
13502 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13503 test ! -s conftest.err
13507 echo "$as_me: failed program was:" >&5
13508 sed 's/^/| /' conftest.$ac_ext >&5
13510 # Broken: fails on valid input.
13514 rm -f conftest.err conftest.$ac_ext
13516 # OK, works on sane cases. Now check whether nonexistent headers
13517 # can be detected and how.
13518 cat >conftest.$ac_ext <<_ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524 #include <ac_nonexistent.h>
13526 if { (ac_try="$ac_cpp conftest.$ac_ext"
13527 case "(($ac_try" in
13528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13529 *) ac_try_echo=$ac_try;;
13531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13534 grep -v '^ *+' conftest.er1 >conftest.err
13536 cat conftest.err >&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); } >/dev/null && {
13539 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13540 test ! -s conftest.err
13542 # Broken: success on invalid input.
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.$ac_ext >&5
13548 # Passes both tests.
13553 rm -f conftest.err conftest.$ac_ext
13556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13557 rm -f conftest.err conftest.$ac_ext
13558 if $ac_preproc_ok; then
13561 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13562 See \`config.log' for more details." >&5
13563 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13564 See \`config.log' for more details." >&2;}
13565 { (exit 1); exit 1; }; }
13569 ac_cpp='$CXXCPP $CPPFLAGS'
13570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13577 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13578 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13579 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13580 if test -n "$ac_tool_prefix"; then
13581 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
13583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13584 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13587 if test "${ac_cv_prog_F77+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 if test -n "$F77"; then
13591 ac_cv_prog_F77="$F77" # Let the user override the test.
13593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13594 for as_dir in $PATH
13597 test -z "$as_dir" && as_dir=.
13598 for ac_exec_ext in '' $ac_executable_extensions; do
13599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13600 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13610 F77=$ac_cv_prog_F77
13611 if test -n "$F77"; then
13612 { echo "$as_me:$LINENO: result: $F77" >&5
13613 echo "${ECHO_T}$F77" >&6; }
13615 { echo "$as_me:$LINENO: result: no" >&5
13616 echo "${ECHO_T}no" >&6; }
13620 test -n "$F77" && break
13623 if test -z "$F77"; then
13625 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
13627 # Extract the first word of "$ac_prog", so it can be a program name with args.
13628 set dummy $ac_prog; ac_word=$2
13629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13631 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 if test -n "$ac_ct_F77"; then
13635 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13638 for as_dir in $PATH
13641 test -z "$as_dir" && as_dir=.
13642 for ac_exec_ext in '' $ac_executable_extensions; do
13643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13644 ac_cv_prog_ac_ct_F77="$ac_prog"
13645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13654 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13655 if test -n "$ac_ct_F77"; then
13656 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13657 echo "${ECHO_T}$ac_ct_F77" >&6; }
13659 { echo "$as_me:$LINENO: result: no" >&5
13660 echo "${ECHO_T}no" >&6; }
13664 test -n "$ac_ct_F77" && break
13667 if test "x$ac_ct_F77" = x; then
13670 case $cross_compiling:$ac_tool_warned in
13672 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13673 whose name does not start with the host triplet. If you think this
13674 configuration is useful to you, please write to autoconf@gnu.org." >&5
13675 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13676 whose name does not start with the host triplet. If you think this
13677 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13678 ac_tool_warned=yes ;;
13685 # Provide some information about the compiler.
13686 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13687 ac_compiler=`set X $ac_compile; echo $2`
13688 { (ac_try="$ac_compiler --version >&5"
13689 case "(($ac_try" in
13690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13691 *) ac_try_echo=$ac_try;;
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_compiler --version >&5") 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }
13698 { (ac_try="$ac_compiler -v >&5"
13699 case "(($ac_try" in
13700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13701 *) ac_try_echo=$ac_try;;
13703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13704 (eval "$ac_compiler -v >&5") 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }
13708 { (ac_try="$ac_compiler -V >&5"
13709 case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_compiler -V >&5") 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }
13720 # If we don't use `.F' as extension, the preprocessor is not run on the
13721 # input file. (Note that this only needs to work for GNU compilers.)
13722 ac_save_ext=$ac_ext
13724 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13725 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13726 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13729 cat >conftest.$ac_ext <<_ACEOF
13737 rm -f conftest.$ac_objext
13738 if { (ac_try="$ac_compile"
13739 case "(($ac_try" in
13740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741 *) ac_try_echo=$ac_try;;
13743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13744 (eval "$ac_compile") 2>conftest.er1
13746 grep -v '^ *+' conftest.er1 >conftest.err
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } && {
13751 test -z "$ac_f77_werror_flag" ||
13752 test ! -s conftest.err
13753 } && test -s conftest.$ac_objext; then
13754 ac_compiler_gnu=yes
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13763 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13766 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13767 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13768 ac_ext=$ac_save_ext
13769 ac_test_FFLAGS=${FFLAGS+set}
13770 ac_save_FFLAGS=$FFLAGS
13772 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13773 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13774 if test "${ac_cv_prog_f77_g+set}" = set; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 cat >conftest.$ac_ext <<_ACEOF
13783 rm -f conftest.$ac_objext
13784 if { (ac_try="$ac_compile"
13785 case "(($ac_try" in
13786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13787 *) ac_try_echo=$ac_try;;
13789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13790 (eval "$ac_compile") 2>conftest.er1
13792 grep -v '^ *+' conftest.er1 >conftest.err
13794 cat conftest.err >&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } && {
13797 test -z "$ac_f77_werror_flag" ||
13798 test ! -s conftest.err
13799 } && test -s conftest.$ac_objext; then
13800 ac_cv_prog_f77_g=yes
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13805 ac_cv_prog_f77_g=no
13808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13811 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13812 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13813 if test "$ac_test_FFLAGS" = set; then
13814 FFLAGS=$ac_save_FFLAGS
13815 elif test $ac_cv_prog_f77_g = yes; then
13816 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13822 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13829 G77=`test $ac_compiler_gnu = yes && echo yes`
13831 ac_cpp='$CPP $CPPFLAGS'
13832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13838 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13840 # find the maximum length of command line arguments
13841 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13842 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13843 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 # On DJGPP, this test can blow up pretty badly due to problems in libc
13852 # (any single argument exceeding 2000 bytes causes a buffer overrun
13853 # during glob expansion). Even if it were fixed, the result of this
13854 # check would be larger than it should be.
13855 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13859 # Under GNU Hurd, this test is not required because there is
13860 # no limit to the length of command line arguments.
13861 # Libtool will interpret -1 as no limit whatsoever
13862 lt_cv_sys_max_cmd_len=-1;
13866 # On Win9x/ME, this test blows up -- it succeeds, but takes
13867 # about 5 minutes as the teststring grows exponentially.
13868 # Worse, since 9x/ME are not pre-emptively multitasking,
13869 # you end up with a "frozen" computer, even though with patience
13870 # the test eventually succeeds (with a max line length of 256k).
13871 # Instead, let's just punt: use the minimum linelength reported by
13872 # all of the supported platforms: 8192 (on NT/2K/XP).
13873 lt_cv_sys_max_cmd_len=8192;
13877 # On AmigaOS with pdksh, this test takes hours, literally.
13878 # So we just punt and use a minimum line length of 8192.
13879 lt_cv_sys_max_cmd_len=8192;
13882 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13883 # This has been around since 386BSD, at least. Likely further.
13884 if test -x /sbin/sysctl; then
13885 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13886 elif test -x /usr/sbin/sysctl; then
13887 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13889 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13891 # And add a safety zone
13892 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13893 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13897 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13898 lt_cv_sys_max_cmd_len=196608
13902 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13903 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13904 # nice to cause kernel panics so lets avoid the loop below.
13905 # First set a reasonable default.
13906 lt_cv_sys_max_cmd_len=16384
13908 if test -x /sbin/sysconfig; then
13909 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13910 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13915 lt_cv_sys_max_cmd_len=102400
13917 sysv5* | sco5v6* | sysv4.2uw2*)
13918 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13919 if test -n "$kargmax"; then
13920 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13922 lt_cv_sys_max_cmd_len=32768
13926 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
13927 if test -n "$lt_cv_sys_max_cmd_len"; then
13928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13931 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13932 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13933 = "XX$teststring") >/dev/null 2>&1 &&
13934 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13935 lt_cv_sys_max_cmd_len=$new_result &&
13936 test $i != 17 # 1/2 MB should be enough
13939 teststring=$teststring$teststring
13942 # Add a significant safety factor because C++ compilers can tack on massive
13943 # amounts of additional arguments before passing them to the linker.
13944 # It appears as though 1/2 is a usable value.
13945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13952 if test -n $lt_cv_sys_max_cmd_len ; then
13953 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13954 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13956 { echo "$as_me:$LINENO: result: none" >&5
13957 echo "${ECHO_T}none" >&6; }
13964 # Check for command to grab the raw symbol name followed by C symbol from nm.
13965 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13966 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13967 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 # These are sane defaults that work on at least a few old systems.
13972 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13974 # Character class describing NM global symbol codes.
13975 symcode='[BCDEGRST]'
13977 # Regexp to match symbols that can be accessed directly from C.
13978 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13980 # Transform an extracted symbol line into a proper C declaration
13981 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13983 # Transform an extracted symbol line into symbol name and symbol address
13984 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
13986 # Define system-specific variables.
13991 cygwin* | mingw* | pw32*)
13992 symcode='[ABCDGISTW]'
13994 hpux*) # Its linker distinguishes data from code symbols
13995 if test "$host_cpu" = ia64; then
13996 symcode='[ABCDEGRST]'
13998 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13999 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
14001 linux* | k*bsd*-gnu)
14002 if test "$host_cpu" = ia64; then
14003 symcode='[ABCDGIRSTW]'
14004 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14005 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
14008 irix* | nonstopux*)
14009 symcode='[BCDEGRST]'
14012 symcode='[BCDEGQRST]'
14023 sysv5* | sco5v6* | unixware* | OpenUNIX*)
14031 # Handle CRLF in mingw tool chain
14035 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
14039 # If we're using GNU nm, then use its standard symbol codes.
14040 case `$NM -V 2>&1` in
14041 *GNU* | *'with BFD'*)
14042 symcode='[ABCDGIRSTW]' ;;
14045 # Try without a prefix undercore, then with it.
14046 for ac_symprfx in "" "_"; do
14048 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14049 symxfrm="\\1 $ac_symprfx\\2 \\2"
14051 # Write the raw and C identifiers.
14052 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14054 # Check to see that the pipe works correctly.
14058 cat > conftest.$ac_ext <<EOF
14063 void nm_test_func(){}
14067 int main(){nm_test_var='a';nm_test_func();return(0);}
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; then
14075 # Now try to grab the symbols.
14077 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14078 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } && test -s "$nlist"; then
14082 # Try sorting and uniquifying the output.
14083 if sort "$nlist" | uniq > "$nlist"T; then
14084 mv -f "$nlist"T "$nlist"
14089 # Make sure that we snagged all the symbols we need.
14090 if grep ' nm_test_var$' "$nlist" >/dev/null; then
14091 if grep ' nm_test_func$' "$nlist" >/dev/null; then
14092 cat <<EOF > conftest.$ac_ext
14098 # Now generate the symbol file.
14099 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14101 cat <<EOF >> conftest.$ac_ext
14102 #if defined (__STDC__) && __STDC__
14103 # define lt_ptr_t void *
14105 # define lt_ptr_t char *
14109 /* The mapping between symbol names and symbols. */
14114 lt_preloaded_symbols[] =
14117 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14118 cat <<\EOF >> conftest.$ac_ext
14126 # Now try linking the two files.
14127 mv conftest.$ac_objext conftstm.$ac_objext
14128 lt_save_LIBS="$LIBS"
14129 lt_save_CFLAGS="$CFLAGS"
14130 LIBS="conftstm.$ac_objext"
14131 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14133 (eval $ac_link) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); } && test -s conftest${ac_exeext}; then
14139 LIBS="$lt_save_LIBS"
14140 CFLAGS="$lt_save_CFLAGS"
14142 echo "cannot find nm_test_func in $nlist" >&5
14145 echo "cannot find nm_test_var in $nlist" >&5
14148 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14151 echo "$progname: failed program was:" >&5
14152 cat conftest.$ac_ext >&5
14154 rm -f conftest* conftst*
14156 # Do not use the global_symbol_pipe unless it works.
14157 if test "$pipe_works" = yes; then
14160 lt_cv_sys_global_symbol_pipe=
14166 if test -z "$lt_cv_sys_global_symbol_pipe"; then
14167 lt_cv_sys_global_symbol_to_cdecl=
14169 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14170 { echo "$as_me:$LINENO: result: failed" >&5
14171 echo "${ECHO_T}failed" >&6; }
14173 { echo "$as_me:$LINENO: result: ok" >&5
14174 echo "${ECHO_T}ok" >&6; }
14177 { echo "$as_me:$LINENO: checking for objdir" >&5
14178 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14179 if test "${lt_cv_objdir+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 rm -f .libs 2>/dev/null
14183 mkdir .libs 2>/dev/null
14184 if test -d .libs; then
14187 # MS-DOS does not allow filenames that begin with a dot.
14190 rmdir .libs 2>/dev/null
14192 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14193 echo "${ECHO_T}$lt_cv_objdir" >&6; }
14194 objdir=$lt_cv_objdir
14202 # AIX sometimes has problems with the GCC collect2 program. For some
14203 # reason, if we set the COLLECT_NAMES environment variable, the problems
14204 # vanish in a puff of smoke.
14205 if test "X${COLLECT_NAMES+set}" != Xset; then
14207 export COLLECT_NAMES
14212 # Sed substitution that helps us do robust quoting. It backslashifies
14213 # metacharacters that are still active within double-quoted strings.
14214 Xsed='sed -e 1s/^X//'
14215 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14217 # Same as above, but do not quote variable references.
14218 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14220 # Sed substitution to delay expansion of an escaped shell variable in a
14221 # double_quote_subst'ed string.
14222 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14224 # Sed substitution to avoid accidental globbing in evaled expressions
14225 no_glob_subst='s/\*/\\\*/g'
14230 # Global variables:
14231 default_ofile=libtool
14232 can_build_shared=yes
14234 # All known linkers require a `.a' archive for static linking (except MSVC,
14235 # which needs '.lib').
14237 ltmain="$ac_aux_dir/ltmain.sh"
14238 ofile="$default_ofile"
14239 with_gnu_ld="$lt_cv_prog_gnu_ld"
14241 if test -n "$ac_tool_prefix"; then
14242 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14243 set dummy ${ac_tool_prefix}ar; ac_word=$2
14244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14246 if test "${ac_cv_prog_AR+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 if test -n "$AR"; then
14250 ac_cv_prog_AR="$AR" # Let the user override the test.
14252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14253 for as_dir in $PATH
14256 test -z "$as_dir" && as_dir=.
14257 for ac_exec_ext in '' $ac_executable_extensions; do
14258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14259 ac_cv_prog_AR="${ac_tool_prefix}ar"
14260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14270 if test -n "$AR"; then
14271 { echo "$as_me:$LINENO: result: $AR" >&5
14272 echo "${ECHO_T}$AR" >&6; }
14274 { echo "$as_me:$LINENO: result: no" >&5
14275 echo "${ECHO_T}no" >&6; }
14280 if test -z "$ac_cv_prog_AR"; then
14282 # Extract the first word of "ar", so it can be a program name with args.
14283 set dummy ar; ac_word=$2
14284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14286 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 if test -n "$ac_ct_AR"; then
14290 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14293 for as_dir in $PATH
14296 test -z "$as_dir" && as_dir=.
14297 for ac_exec_ext in '' $ac_executable_extensions; do
14298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14299 ac_cv_prog_ac_ct_AR="ar"
14300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14309 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14310 if test -n "$ac_ct_AR"; then
14311 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14312 echo "${ECHO_T}$ac_ct_AR" >&6; }
14314 { echo "$as_me:$LINENO: result: no" >&5
14315 echo "${ECHO_T}no" >&6; }
14318 if test "x$ac_ct_AR" = x; then
14321 case $cross_compiling:$ac_tool_warned in
14323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14324 whose name does not start with the host triplet. If you think this
14325 configuration is useful to you, please write to autoconf@gnu.org." >&5
14326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14327 whose name does not start with the host triplet. If you think this
14328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14329 ac_tool_warned=yes ;;
14334 AR="$ac_cv_prog_AR"
14337 if test -n "$ac_tool_prefix"; then
14338 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14339 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14342 if test "${ac_cv_prog_RANLIB+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 if test -n "$RANLIB"; then
14346 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14349 for as_dir in $PATH
14352 test -z "$as_dir" && as_dir=.
14353 for ac_exec_ext in '' $ac_executable_extensions; do
14354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14355 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 RANLIB=$ac_cv_prog_RANLIB
14366 if test -n "$RANLIB"; then
14367 { echo "$as_me:$LINENO: result: $RANLIB" >&5
14368 echo "${ECHO_T}$RANLIB" >&6; }
14370 { echo "$as_me:$LINENO: result: no" >&5
14371 echo "${ECHO_T}no" >&6; }
14376 if test -z "$ac_cv_prog_RANLIB"; then
14377 ac_ct_RANLIB=$RANLIB
14378 # Extract the first word of "ranlib", so it can be a program name with args.
14379 set dummy ranlib; ac_word=$2
14380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14382 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14383 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 if test -n "$ac_ct_RANLIB"; then
14386 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14389 for as_dir in $PATH
14392 test -z "$as_dir" && as_dir=.
14393 for ac_exec_ext in '' $ac_executable_extensions; do
14394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14395 ac_cv_prog_ac_ct_RANLIB="ranlib"
14396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14405 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14406 if test -n "$ac_ct_RANLIB"; then
14407 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14408 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14410 { echo "$as_me:$LINENO: result: no" >&5
14411 echo "${ECHO_T}no" >&6; }
14414 if test "x$ac_ct_RANLIB" = x; then
14417 case $cross_compiling:$ac_tool_warned in
14419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14420 whose name does not start with the host triplet. If you think this
14421 configuration is useful to you, please write to autoconf@gnu.org." >&5
14422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14423 whose name does not start with the host triplet. If you think this
14424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14425 ac_tool_warned=yes ;;
14427 RANLIB=$ac_ct_RANLIB
14430 RANLIB="$ac_cv_prog_RANLIB"
14433 if test -n "$ac_tool_prefix"; then
14434 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14435 set dummy ${ac_tool_prefix}strip; ac_word=$2
14436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14438 if test "${ac_cv_prog_STRIP+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 if test -n "$STRIP"; then
14442 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14445 for as_dir in $PATH
14448 test -z "$as_dir" && as_dir=.
14449 for ac_exec_ext in '' $ac_executable_extensions; do
14450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14451 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14461 STRIP=$ac_cv_prog_STRIP
14462 if test -n "$STRIP"; then
14463 { echo "$as_me:$LINENO: result: $STRIP" >&5
14464 echo "${ECHO_T}$STRIP" >&6; }
14466 { echo "$as_me:$LINENO: result: no" >&5
14467 echo "${ECHO_T}no" >&6; }
14472 if test -z "$ac_cv_prog_STRIP"; then
14474 # Extract the first word of "strip", so it can be a program name with args.
14475 set dummy strip; ac_word=$2
14476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14478 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 if test -n "$ac_ct_STRIP"; then
14482 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14485 for as_dir in $PATH
14488 test -z "$as_dir" && as_dir=.
14489 for ac_exec_ext in '' $ac_executable_extensions; do
14490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14491 ac_cv_prog_ac_ct_STRIP="strip"
14492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14501 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14502 if test -n "$ac_ct_STRIP"; then
14503 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14504 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14506 { echo "$as_me:$LINENO: result: no" >&5
14507 echo "${ECHO_T}no" >&6; }
14510 if test "x$ac_ct_STRIP" = x; then
14513 case $cross_compiling:$ac_tool_warned in
14515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14516 whose name does not start with the host triplet. If you think this
14517 configuration is useful to you, please write to autoconf@gnu.org." >&5
14518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14519 whose name does not start with the host triplet. If you think this
14520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14521 ac_tool_warned=yes ;;
14526 STRIP="$ac_cv_prog_STRIP"
14531 old_CFLAGS="$CFLAGS"
14533 # Set sane defaults for various variables
14534 test -z "$AR" && AR=ar
14535 test -z "$AR_FLAGS" && AR_FLAGS=cru
14536 test -z "$AS" && AS=as
14537 test -z "$CC" && CC=cc
14538 test -z "$LTCC" && LTCC=$CC
14539 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14540 test -z "$DLLTOOL" && DLLTOOL=dlltool
14541 test -z "$LD" && LD=ld
14542 test -z "$LN_S" && LN_S="ln -s"
14543 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14544 test -z "$NM" && NM=nm
14545 test -z "$SED" && SED=sed
14546 test -z "$OBJDUMP" && OBJDUMP=objdump
14547 test -z "$RANLIB" && RANLIB=:
14548 test -z "$STRIP" && STRIP=:
14549 test -z "$ac_objext" && ac_objext=o
14551 # Determine commands to create old-style static archives.
14552 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
14553 old_postinstall_cmds='chmod 644 $oldlib'
14554 old_postuninstall_cmds=
14556 if test -n "$RANLIB"; then
14559 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14562 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14565 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14568 for cc_temp in $compiler""; do
14570 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14571 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14576 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14579 # Only perform the check for file, if the check method requires it
14580 case $deplibs_check_method in
14582 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14583 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14584 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14585 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14593 lt_save_MAGIC_CMD="$MAGIC_CMD"
14594 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14595 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14596 for ac_dir in $ac_dummy; do
14598 test -z "$ac_dir" && ac_dir=.
14599 if test -f $ac_dir/${ac_tool_prefix}file; then
14600 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14601 if test -n "$file_magic_test_file"; then
14602 case $deplibs_check_method in
14604 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14605 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14606 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14607 $EGREP "$file_magic_regex" > /dev/null; then
14612 *** Warning: the command libtool uses to detect shared libraries,
14613 *** $file_magic_cmd, produces output that libtool cannot recognize.
14614 *** The result is that libtool may fail to recognize shared libraries
14615 *** as such. This will affect the creation of libtool libraries that
14616 *** depend on shared libraries, but programs linked with such libtool
14617 *** libraries will work regardless of this problem. Nevertheless, you
14618 *** may want to report the problem to your system manager and/or to
14619 *** bug-libtool@gnu.org
14629 MAGIC_CMD="$lt_save_MAGIC_CMD"
14634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14635 if test -n "$MAGIC_CMD"; then
14636 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14637 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14639 { echo "$as_me:$LINENO: result: no" >&5
14640 echo "${ECHO_T}no" >&6; }
14643 if test -z "$lt_cv_path_MAGIC_CMD"; then
14644 if test -n "$ac_tool_prefix"; then
14645 { echo "$as_me:$LINENO: checking for file" >&5
14646 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14647 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14655 lt_save_MAGIC_CMD="$MAGIC_CMD"
14656 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14657 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14658 for ac_dir in $ac_dummy; do
14660 test -z "$ac_dir" && ac_dir=.
14661 if test -f $ac_dir/file; then
14662 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14663 if test -n "$file_magic_test_file"; then
14664 case $deplibs_check_method in
14666 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14668 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14669 $EGREP "$file_magic_regex" > /dev/null; then
14674 *** Warning: the command libtool uses to detect shared libraries,
14675 *** $file_magic_cmd, produces output that libtool cannot recognize.
14676 *** The result is that libtool may fail to recognize shared libraries
14677 *** as such. This will affect the creation of libtool libraries that
14678 *** depend on shared libraries, but programs linked with such libtool
14679 *** libraries will work regardless of this problem. Nevertheless, you
14680 *** may want to report the problem to your system manager and/or to
14681 *** bug-libtool@gnu.org
14691 MAGIC_CMD="$lt_save_MAGIC_CMD"
14696 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14697 if test -n "$MAGIC_CMD"; then
14698 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14699 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14701 { echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6; }
14715 enable_win32_dll=no
14717 # Check whether --enable-libtool-lock was given.
14718 if test "${enable_libtool_lock+set}" = set; then
14719 enableval=$enable_libtool_lock;
14722 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14725 # Check whether --with-pic was given.
14726 if test "${with_pic+set}" = set; then
14727 withval=$with_pic; pic_mode="$withval"
14732 test -z "$pic_mode" && pic_mode=default
14734 # Use C for the default configuration in the libtool script
14738 ac_cpp='$CPP $CPPFLAGS'
14739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14744 # Source file extension for C test sources.
14747 # Object file extension for compiled C test sources.
14751 # Code to be used in simple compile tests
14752 lt_simple_compile_test_code="int some_variable = 0;"
14754 # Code to be used in simple link tests
14755 lt_simple_link_test_code='int main(){return(0);}'
14758 # If no C compiler was specified, use CC.
14761 # If no C compiler flags were specified, use CFLAGS.
14762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14764 # Allow CC to be a program name with arguments.
14768 # save warnings/boilerplate of simple test code
14769 ac_outfile=conftest.$ac_objext
14770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14772 _lt_compiler_boilerplate=`cat conftest.err`
14775 ac_outfile=conftest.$ac_objext
14776 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14778 _lt_linker_boilerplate=`cat conftest.err`
14783 lt_prog_compiler_no_builtin_flag=
14785 if test "$GCC" = yes; then
14786 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14789 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14790 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14791 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 lt_cv_prog_compiler_rtti_exceptions=no
14795 ac_outfile=conftest.$ac_objext
14796 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14797 lt_compiler_flag="-fno-rtti -fno-exceptions"
14798 # Insert the option either (1) after the last *FLAGS variable, or
14799 # (2) before a word containing "conftest.", or (3) at the end.
14800 # Note that $ac_compile itself does not contain backslashes and begins
14801 # with a dollar sign (not a hyphen), so the echo should work correctly.
14802 # The option is referenced via a variable to avoid confusing sed.
14803 lt_compile=`echo "$ac_compile" | $SED \
14804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14806 -e 's:$: $lt_compiler_flag:'`
14807 (eval echo "\"\$as_me:14807: $lt_compile\"" >&5)
14808 (eval "$lt_compile" 2>conftest.err)
14810 cat conftest.err >&5
14811 echo "$as_me:14811: \$? = $ac_status" >&5
14812 if (exit $ac_status) && test -s "$ac_outfile"; then
14813 # The compiler can only warn and ignore the option if not recognized
14814 # So say no if there are warnings other than the usual output.
14815 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14816 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14817 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14818 lt_cv_prog_compiler_rtti_exceptions=yes
14824 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14825 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14827 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14828 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14835 lt_prog_compiler_wl=
14836 lt_prog_compiler_pic=
14837 lt_prog_compiler_static=
14839 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14840 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14842 if test "$GCC" = yes; then
14843 lt_prog_compiler_wl='-Wl,'
14844 lt_prog_compiler_static='-static'
14848 # All AIX code is PIC.
14849 if test "$host_cpu" = ia64; then
14850 # AIX 5 now supports IA64 processor
14851 lt_prog_compiler_static='-Bstatic'
14856 # FIXME: we need at least 68020 code to build shared libraries, but
14857 # adding the `-m68020' flag to GCC prevents building anything better,
14859 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14862 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14863 # PIC is the default for these OSes.
14866 mingw* | cygwin* | pw32* | os2*)
14867 # This hack is so that the source file can tell whether it is being
14868 # built for inclusion in a dll (and should export symbols for example).
14869 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14870 # (--disable-auto-import) libraries
14871 lt_prog_compiler_pic='-DDLL_EXPORT'
14874 darwin* | rhapsody*)
14875 # PIC is the default on this platform
14876 # Common symbols not allowed in MH_DYLIB files
14877 lt_prog_compiler_pic='-fno-common'
14881 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14882 # Instead, we relocate shared libraries at runtime.
14886 # Just because we use GCC doesn't mean we suddenly get shared libraries
14887 # on systems that don't support them.
14888 lt_prog_compiler_can_build_shared=no
14893 if test -d /usr/nec; then
14894 lt_prog_compiler_pic=-Kconform_pic
14899 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14900 # not for PA HP-UX.
14906 lt_prog_compiler_pic='-fPIC'
14912 lt_prog_compiler_pic='-fPIC'
14916 # PORTME Check for flag to pass linker flags through the system compiler.
14919 lt_prog_compiler_wl='-Wl,'
14920 if test "$host_cpu" = ia64; then
14921 # AIX 5 now supports IA64 processor
14922 lt_prog_compiler_static='-Bstatic'
14924 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14928 # PIC is the default on this platform
14929 # Common symbols not allowed in MH_DYLIB files
14930 case $cc_basename in
14932 lt_prog_compiler_pic='-qnocommon'
14933 lt_prog_compiler_wl='-Wl,'
14938 mingw* | cygwin* | pw32* | os2*)
14939 # This hack is so that the source file can tell whether it is being
14940 # built for inclusion in a dll (and should export symbols for example).
14941 lt_prog_compiler_pic='-DDLL_EXPORT'
14944 hpux9* | hpux10* | hpux11*)
14945 lt_prog_compiler_wl='-Wl,'
14946 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14947 # not for PA HP-UX.
14953 lt_prog_compiler_pic='+Z'
14956 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14957 lt_prog_compiler_static='${wl}-a ${wl}archive'
14960 irix5* | irix6* | nonstopux*)
14961 lt_prog_compiler_wl='-Wl,'
14962 # PIC (with -KPIC) is the default.
14963 lt_prog_compiler_static='-non_shared'
14967 lt_prog_compiler_pic='-KPIC'
14968 lt_prog_compiler_static='-Bstatic'
14971 linux* | k*bsd*-gnu)
14972 case $cc_basename in
14974 lt_prog_compiler_wl='-Wl,'
14975 lt_prog_compiler_pic='-KPIC'
14976 lt_prog_compiler_static='-static'
14978 pgcc* | pgf77* | pgf90* | pgf95*)
14979 # Portland Group compilers (*not* the Pentium gcc compiler,
14980 # which looks to be a dead project)
14981 lt_prog_compiler_wl='-Wl,'
14982 lt_prog_compiler_pic='-fpic'
14983 lt_prog_compiler_static='-Bstatic'
14986 lt_prog_compiler_wl='-Wl,'
14987 # All Alpha code is PIC.
14988 lt_prog_compiler_static='-non_shared'
14991 case `$CC -V 2>&1 | sed 5q` in
14994 lt_prog_compiler_pic='-KPIC'
14995 lt_prog_compiler_static='-Bstatic'
14996 lt_prog_compiler_wl='-Wl,'
14999 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15000 lt_prog_compiler_pic='-KPIC'
15001 lt_prog_compiler_static='-Bstatic'
15002 lt_prog_compiler_wl=''
15009 osf3* | osf4* | osf5*)
15010 lt_prog_compiler_wl='-Wl,'
15011 # All OSF/1 code is PIC.
15012 lt_prog_compiler_static='-non_shared'
15016 lt_prog_compiler_static='-non_shared'
15020 lt_prog_compiler_pic='-KPIC'
15021 lt_prog_compiler_static='-Bstatic'
15022 case $cc_basename in
15023 f77* | f90* | f95*)
15024 lt_prog_compiler_wl='-Qoption ld ';;
15026 lt_prog_compiler_wl='-Wl,';;
15031 lt_prog_compiler_wl='-Qoption ld '
15032 lt_prog_compiler_pic='-PIC'
15033 lt_prog_compiler_static='-Bstatic'
15036 sysv4 | sysv4.2uw2* | sysv4.3*)
15037 lt_prog_compiler_wl='-Wl,'
15038 lt_prog_compiler_pic='-KPIC'
15039 lt_prog_compiler_static='-Bstatic'
15043 if test -d /usr/nec ;then
15044 lt_prog_compiler_pic='-Kconform_pic'
15045 lt_prog_compiler_static='-Bstatic'
15049 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15050 lt_prog_compiler_wl='-Wl,'
15051 lt_prog_compiler_pic='-KPIC'
15052 lt_prog_compiler_static='-Bstatic'
15056 lt_prog_compiler_wl='-Wl,'
15057 lt_prog_compiler_can_build_shared=no
15061 lt_prog_compiler_pic='-pic'
15062 lt_prog_compiler_static='-Bstatic'
15066 lt_prog_compiler_can_build_shared=no
15071 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15072 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15075 # Check to make sure the PIC flag actually works.
15077 if test -n "$lt_prog_compiler_pic"; then
15079 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15080 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
15081 if test "${lt_prog_compiler_pic_works+set}" = set; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 lt_prog_compiler_pic_works=no
15085 ac_outfile=conftest.$ac_objext
15086 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15087 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15088 # Insert the option either (1) after the last *FLAGS variable, or
15089 # (2) before a word containing "conftest.", or (3) at the end.
15090 # Note that $ac_compile itself does not contain backslashes and begins
15091 # with a dollar sign (not a hyphen), so the echo should work correctly.
15092 # The option is referenced via a variable to avoid confusing sed.
15093 lt_compile=`echo "$ac_compile" | $SED \
15094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15096 -e 's:$: $lt_compiler_flag:'`
15097 (eval echo "\"\$as_me:15097: $lt_compile\"" >&5)
15098 (eval "$lt_compile" 2>conftest.err)
15100 cat conftest.err >&5
15101 echo "$as_me:15101: \$? = $ac_status" >&5
15102 if (exit $ac_status) && test -s "$ac_outfile"; then
15103 # The compiler can only warn and ignore the option if not recognized
15104 # So say no if there are warnings other than the usual output.
15105 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15106 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15107 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15108 lt_prog_compiler_pic_works=yes
15114 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
15115 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
15117 if test x"$lt_prog_compiler_pic_works" = xyes; then
15118 case $lt_prog_compiler_pic in
15120 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15123 lt_prog_compiler_pic=
15124 lt_prog_compiler_can_build_shared=no
15129 # For platforms which do not support PIC, -DPIC is meaningless:
15131 lt_prog_compiler_pic=
15134 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15139 # Check to make sure the static flag actually works.
15141 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15142 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15143 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15144 if test "${lt_prog_compiler_static_works+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 lt_prog_compiler_static_works=no
15148 save_LDFLAGS="$LDFLAGS"
15149 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15150 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15151 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15152 # The linker can only warn and ignore the option if not recognized
15153 # So say no if there are warnings
15154 if test -s conftest.err; then
15155 # Append any errors to the config.log.
15156 cat conftest.err 1>&5
15157 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15159 if diff conftest.exp conftest.er2 >/dev/null; then
15160 lt_prog_compiler_static_works=yes
15163 lt_prog_compiler_static_works=yes
15167 LDFLAGS="$save_LDFLAGS"
15170 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
15171 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
15173 if test x"$lt_prog_compiler_static_works" = xyes; then
15176 lt_prog_compiler_static=
15180 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15181 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15182 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 lt_cv_prog_compiler_c_o=no
15186 $rm -r conftest 2>/dev/null
15190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15192 lt_compiler_flag="-o out/conftest2.$ac_objext"
15193 # Insert the option either (1) after the last *FLAGS variable, or
15194 # (2) before a word containing "conftest.", or (3) at the end.
15195 # Note that $ac_compile itself does not contain backslashes and begins
15196 # with a dollar sign (not a hyphen), so the echo should work correctly.
15197 lt_compile=`echo "$ac_compile" | $SED \
15198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15200 -e 's:$: $lt_compiler_flag:'`
15201 (eval echo "\"\$as_me:15201: $lt_compile\"" >&5)
15202 (eval "$lt_compile" 2>out/conftest.err)
15204 cat out/conftest.err >&5
15205 echo "$as_me:15205: \$? = $ac_status" >&5
15206 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15208 # The compiler can only warn and ignore the option if not recognized
15209 # So say no if there are warnings
15210 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15211 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15212 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15213 lt_cv_prog_compiler_c_o=yes
15218 # SGI C++ compiler will create directory out/ii_files/ for
15219 # template instantiation
15220 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15221 $rm out/* && rmdir out
15227 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15228 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15231 hard_links="nottested"
15232 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15233 # do not overwrite the value of need_locks provided by the user
15234 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15235 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15238 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15240 ln conftest.a conftest.b 2>&5 || hard_links=no
15241 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15242 { echo "$as_me:$LINENO: result: $hard_links" >&5
15243 echo "${ECHO_T}$hard_links" >&6; }
15244 if test "$hard_links" = no; then
15245 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15246 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15253 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15254 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15257 allow_undefined_flag=
15258 enable_shared_with_static_runtimes=no
15260 archive_expsym_cmds=
15261 old_archive_From_new_cmds=
15262 old_archive_from_expsyms_cmds=
15263 export_dynamic_flag_spec=
15264 whole_archive_flag_spec=
15265 thread_safe_flag_spec=
15266 hardcode_libdir_flag_spec=
15267 hardcode_libdir_flag_spec_ld=
15268 hardcode_libdir_separator=
15270 hardcode_minus_L=no
15271 hardcode_shlibpath_var=unsupported
15272 link_all_deplibs=unknown
15273 hardcode_automatic=no
15275 module_expsym_cmds=
15276 always_export_symbols=no
15277 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15278 # include_expsyms should be a list of space-separated symbols to be *always*
15279 # included in the symbol list
15281 # exclude_expsyms can be an extended regexp of symbols to exclude
15282 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15283 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15284 # as well as any symbol that contains `d'.
15285 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15286 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15287 # platforms (ab)use it in PIC code, but their linkers get confused if
15288 # the symbol is explicitly referenced. Since portable code cannot
15289 # rely on this symbol name, it's probably fine to never include it in
15290 # preloaded symbol tables.
15291 extract_expsyms_cmds=
15292 # Just being paranoid about ensuring that cc_basename is set.
15293 for cc_temp in $compiler""; do
15295 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15296 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15301 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15304 cygwin* | mingw* | pw32*)
15305 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15306 # When not using gcc, we currently assume that we are using
15307 # Microsoft Visual C++.
15308 if test "$GCC" != yes; then
15313 # we just hope/assume this is gcc and not c89 (= MSVC++)
15322 if test "$with_gnu_ld" = yes; then
15323 # If archive_cmds runs LD, not CC, wlarc should be empty
15326 # Set some defaults for GNU ld with shared library support. These
15327 # are reset later if shared libraries are not supported. Putting them
15328 # here allows them to be overridden if necessary.
15329 runpath_var=LD_RUN_PATH
15330 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15331 export_dynamic_flag_spec='${wl}--export-dynamic'
15332 # ancient GNU ld didn't support --whole-archive et. al.
15333 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15334 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15336 whole_archive_flag_spec=
15338 supports_anon_versioning=no
15339 case `$LD -v 2>/dev/null` in
15340 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15341 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15342 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15343 *\ 2.11.*) ;; # other 2.11 versions
15344 *) supports_anon_versioning=yes ;;
15347 # See if GNU ld supports shared libraries.
15349 aix3* | aix4* | aix5*)
15350 # On AIX/PPC, the GNU linker is very broken
15351 if test "$host_cpu" != ia64; then
15355 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15356 *** to be unable to reliably create shared libraries on AIX.
15357 *** Therefore, libtool is disabling shared libraries support. If you
15358 *** really care for shared libraries, you may want to modify your PATH
15359 *** so that a non-GNU linker is found, and then restart.
15366 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)'
15367 hardcode_libdir_flag_spec='-L$libdir'
15368 hardcode_minus_L=yes
15370 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15371 # that the semantics of dynamic libraries on AmigaOS, at least up
15372 # to version 4, is to share data among multiple programs linked
15373 # with the same dynamic library. Since this doesn't match the
15374 # behavior of shared libraries on other platforms, we can't use
15380 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15381 allow_undefined_flag=unsupported
15382 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15383 # support --undefined. This deserves some investigation. FIXME
15384 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15390 cygwin* | mingw* | pw32*)
15391 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15392 # as there is no search path for DLLs.
15393 hardcode_libdir_flag_spec='-L$libdir'
15394 allow_undefined_flag=unsupported
15395 always_export_symbols=no
15396 enable_shared_with_static_runtimes=yes
15397 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15399 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15401 # If the export-symbols file already is a .def file (1st line
15402 # is EXPORTS), use it as is; otherwise, prepend...
15403 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15404 cp $export_symbols $output_objdir/$soname.def;
15406 echo EXPORTS > $output_objdir/$soname.def;
15407 cat $export_symbols >> $output_objdir/$soname.def;
15409 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15417 hardcode_shlibpath_var=no
15418 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15419 export_dynamic_flag_spec='${wl}-E'
15420 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15421 # Instead, shared libraries are loaded at an image base (0x10000000 by
15422 # default) and relocated if they conflict, which is a slow very memory
15423 # consuming and fragmenting process. To avoid this, we pick a random,
15424 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15425 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15426 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15427 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'
15430 gnu* | linux* | k*bsd*-gnu)
15431 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15433 case $cc_basename,$host_cpu in
15434 pgcc*) # Portland Group C compiler
15435 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'
15436 tmp_addflag=' $pic_flag'
15438 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15439 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'
15440 tmp_addflag=' $pic_flag -Mnomain' ;;
15441 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15442 tmp_addflag=' -i_dynamic' ;;
15443 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15444 tmp_addflag=' -i_dynamic -nofor_main' ;;
15445 ifc* | ifort*) # Intel Fortran compiler
15446 tmp_addflag=' -nofor_main' ;;
15448 case `$CC -V 2>&1 | sed 5q` in
15449 *Sun\ C*) # Sun C 5.9
15450 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'
15451 tmp_sharedflag='-G' ;;
15452 *Sun\ F*) # Sun Fortran 8.3
15453 tmp_sharedflag='-G' ;;
15455 tmp_sharedflag='-shared' ;;
15457 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15459 if test $supports_anon_versioning = yes; then
15460 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15462 $echo "local: *; };" >> $output_objdir/$libname.ver~
15463 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15471 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15472 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15475 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15476 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15481 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15485 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15486 *** create shared libraries on Solaris systems. Therefore, libtool
15487 *** is disabling shared libraries support. We urge you to upgrade GNU
15488 *** binutils to release 2.9.1 or newer. Another option is to modify
15489 *** your PATH or compiler configuration so that the native linker is
15490 *** used, and then restart.
15493 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15494 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15495 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15501 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15502 case `$LD -v 2>&1` in
15503 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15507 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15508 *** reliably create shared libraries on SCO systems. Therefore, libtool
15509 *** is disabling shared libraries support. We urge you to upgrade GNU
15510 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15511 *** your PATH or compiler configuration so that the native linker is
15512 *** used, and then restart.
15517 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15518 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15519 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15520 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15529 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15531 hardcode_direct=yes
15532 hardcode_shlibpath_var=no
15536 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15537 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15538 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15545 if test "$ld_shlibs" = no; then
15547 hardcode_libdir_flag_spec=
15548 export_dynamic_flag_spec=
15549 whole_archive_flag_spec=
15552 # PORTME fill in a description of your system's linker (not GNU ld)
15555 allow_undefined_flag=unsupported
15556 always_export_symbols=yes
15557 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'
15558 # Note: this linker hardcodes the directories in LIBPATH if there
15559 # are no directories specified by -L.
15560 hardcode_minus_L=yes
15561 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15562 # Neither direct hardcoding nor static linking is supported with a
15564 hardcode_direct=unsupported
15569 if test "$host_cpu" = ia64; then
15570 # On IA64, the linker does run time linking by default, so we don't
15571 # have to do anything special.
15572 aix_use_runtimelinking=no
15573 exp_sym_flag='-Bexport'
15576 # If we're using GNU nm, then we don't want the "-C" option.
15577 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15578 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15579 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'
15581 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'
15583 aix_use_runtimelinking=no
15585 # Test if we are trying to use run time linking or normal
15586 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15587 # need to do runtime linking.
15588 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15589 for ld_flag in $LDFLAGS; do
15590 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15591 aix_use_runtimelinking=yes
15598 exp_sym_flag='-bexport'
15599 no_entry_flag='-bnoentry'
15602 # When large executables or shared objects are built, AIX ld can
15603 # have problems creating the table of contents. If linking a library
15604 # or program results in "error TOC overflow" add -mminimal-toc to
15605 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15606 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15609 hardcode_direct=yes
15610 hardcode_libdir_separator=':'
15611 link_all_deplibs=yes
15613 if test "$GCC" = yes; then
15614 case $host_os in aix4.[012]|aix4.[012].*)
15615 # We only want to do this on AIX 4.2 and lower, the check
15616 # below for broken collect2 doesn't work under 4.3+
15617 collect2name=`${CC} -print-prog-name=collect2`
15618 if test -f "$collect2name" && \
15619 strings "$collect2name" | grep resolve_lib_name >/dev/null
15621 # We have reworked collect2
15624 # We have old collect2
15625 hardcode_direct=unsupported
15626 # It fails to find uninstalled libraries when the uninstalled
15627 # path is not listed in the libpath. Setting hardcode_minus_L
15628 # to unsupported forces relinking
15629 hardcode_minus_L=yes
15630 hardcode_libdir_flag_spec='-L$libdir'
15631 hardcode_libdir_separator=
15635 shared_flag='-shared'
15636 if test "$aix_use_runtimelinking" = yes; then
15637 shared_flag="$shared_flag "'${wl}-G'
15641 if test "$host_cpu" = ia64; then
15642 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15643 # chokes on -Wl,-G. The following line is correct:
15646 if test "$aix_use_runtimelinking" = yes; then
15647 shared_flag='${wl}-G'
15649 shared_flag='${wl}-bM:SRE'
15654 # It seems that -bexpall does not export symbols beginning with
15655 # underscore (_), so it is better to generate a list of symbols to export.
15656 always_export_symbols=yes
15657 if test "$aix_use_runtimelinking" = yes; then
15658 # Warning - without using the other runtime loading flags (-brtl),
15659 # -berok will link without error, but may produce a broken library.
15660 allow_undefined_flag='-berok'
15661 # Determine the default libpath from the value encoded in an empty executable.
15662 cat >conftest.$ac_ext <<_ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15677 rm -f conftest.$ac_objext conftest$ac_exeext
15678 if { (ac_try="$ac_link"
15679 case "(($ac_try" in
15680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15681 *) ac_try_echo=$ac_try;;
15683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15684 (eval "$ac_link") 2>conftest.er1
15686 grep -v '^ *+' conftest.er1 >conftest.err
15688 cat conftest.err >&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); } && {
15691 test -z "$ac_c_werror_flag" ||
15692 test ! -s conftest.err
15693 } && test -s conftest$ac_exeext &&
15694 $as_test_x conftest$ac_exeext; then
15696 lt_aix_libpath_sed='
15697 /Import File Strings/,/^$/ {
15703 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15704 # Check for a 64-bit object if we didn't find anything.
15705 if test -z "$aix_libpath"; then
15706 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15716 conftest$ac_exeext conftest.$ac_ext
15717 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15719 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15720 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15722 if test "$host_cpu" = ia64; then
15723 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15724 allow_undefined_flag="-z nodefs"
15725 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"
15727 # Determine the default libpath from the value encoded in an empty executable.
15728 cat >conftest.$ac_ext <<_ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15743 rm -f conftest.$ac_objext conftest$ac_exeext
15744 if { (ac_try="$ac_link"
15745 case "(($ac_try" in
15746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_link") 2>conftest.er1
15752 grep -v '^ *+' conftest.er1 >conftest.err
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } && {
15757 test -z "$ac_c_werror_flag" ||
15758 test ! -s conftest.err
15759 } && test -s conftest$ac_exeext &&
15760 $as_test_x conftest$ac_exeext; then
15762 lt_aix_libpath_sed='
15763 /Import File Strings/,/^$/ {
15769 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15770 # Check for a 64-bit object if we didn't find anything.
15771 if test -z "$aix_libpath"; then
15772 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.$ac_ext >&5
15781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15782 conftest$ac_exeext conftest.$ac_ext
15783 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15785 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15786 # Warning - without using the other run time loading flags,
15787 # -berok will link without error, but may produce a broken library.
15788 no_undefined_flag=' ${wl}-bernotok'
15789 allow_undefined_flag=' ${wl}-berok'
15790 # Exported symbols can be pulled into shared objects from archives
15791 whole_archive_flag_spec='$convenience'
15792 archive_cmds_need_lc=yes
15793 # This is similar to how AIX traditionally builds its shared libraries.
15794 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'
15800 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)'
15801 hardcode_libdir_flag_spec='-L$libdir'
15802 hardcode_minus_L=yes
15803 # see comment about different semantics on the GNU ld section
15808 export_dynamic_flag_spec=-rdynamic
15811 cygwin* | mingw* | pw32*)
15812 # When not using gcc, we currently assume that we are using
15813 # Microsoft Visual C++.
15814 # hardcode_libdir_flag_spec is actually meaningless, as there is
15815 # no search path for DLLs.
15816 hardcode_libdir_flag_spec=' '
15817 allow_undefined_flag=unsupported
15818 # Tell ltmain to make .lib files, not .a files.
15820 # Tell ltmain to make .dll files, not .so files.
15822 # FIXME: Setting linknames here is a bad hack.
15823 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15824 # The linker will automatically build a .lib file if we build a DLL.
15825 old_archive_From_new_cmds='true'
15826 # FIXME: Should let the user specify the lib program.
15827 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15828 fix_srcfile_path='`cygpath -w "$srcfile"`'
15829 enable_shared_with_static_runtimes=yes
15832 darwin* | rhapsody*)
15834 rhapsody* | darwin1.[012])
15835 allow_undefined_flag='${wl}-undefined ${wl}suppress'
15838 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15839 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15841 case ${MACOSX_DEPLOYMENT_TARGET} in
15843 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15846 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15852 archive_cmds_need_lc=no
15854 hardcode_automatic=yes
15855 hardcode_shlibpath_var=unsupported
15856 whole_archive_flag_spec=''
15857 link_all_deplibs=yes
15858 if test "$GCC" = yes ; then
15859 output_verbose_link_cmd='echo'
15860 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15861 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15862 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15863 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15864 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15866 case $cc_basename in
15868 output_verbose_link_cmd='echo'
15869 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15870 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15871 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15872 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15873 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15883 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15884 hardcode_libdir_flag_spec='-L$libdir'
15885 hardcode_shlibpath_var=no
15892 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15893 # support. Future versions do this automatically, but an explicit c++rt0.o
15894 # does not break anything, and helps significantly (at the cost of a little
15897 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15898 hardcode_libdir_flag_spec='-R$libdir'
15899 hardcode_direct=yes
15900 hardcode_shlibpath_var=no
15903 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15905 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15906 hardcode_direct=yes
15907 hardcode_minus_L=yes
15908 hardcode_shlibpath_var=no
15911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15912 freebsd* | dragonfly*)
15913 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15914 hardcode_libdir_flag_spec='-R$libdir'
15915 hardcode_direct=yes
15916 hardcode_shlibpath_var=no
15920 if test "$GCC" = yes; then
15921 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'
15923 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'
15925 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15926 hardcode_libdir_separator=:
15927 hardcode_direct=yes
15929 # hardcode_minus_L: Not really in the search PATH,
15930 # but as the default location of the library.
15931 hardcode_minus_L=yes
15932 export_dynamic_flag_spec='${wl}-E'
15936 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15937 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15939 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15941 if test "$with_gnu_ld" = no; then
15942 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15943 hardcode_libdir_separator=:
15945 hardcode_direct=yes
15946 export_dynamic_flag_spec='${wl}-E'
15948 # hardcode_minus_L: Not really in the search PATH,
15949 # but as the default location of the library.
15950 hardcode_minus_L=yes
15955 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15958 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15961 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15964 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15970 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15973 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15976 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15980 if test "$with_gnu_ld" = no; then
15981 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15982 hardcode_libdir_separator=:
15986 hardcode_libdir_flag_spec_ld='+b $libdir'
15988 hardcode_shlibpath_var=no
15991 hardcode_direct=yes
15992 export_dynamic_flag_spec='${wl}-E'
15994 # hardcode_minus_L: Not really in the search PATH,
15995 # but as the default location of the library.
15996 hardcode_minus_L=yes
16002 irix5* | irix6* | nonstopux*)
16003 if test "$GCC" = yes; then
16004 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16006 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16007 hardcode_libdir_flag_spec_ld='-rpath $libdir'
16009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16010 hardcode_libdir_separator=:
16011 link_all_deplibs=yes
16015 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16018 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16020 hardcode_libdir_flag_spec='-R$libdir'
16021 hardcode_direct=yes
16022 hardcode_shlibpath_var=no
16026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16027 hardcode_direct=yes
16028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16029 hardcode_libdir_separator=:
16030 hardcode_shlibpath_var=no
16034 if test -f /usr/libexec/ld.so; then
16035 hardcode_direct=yes
16036 hardcode_shlibpath_var=no
16037 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16038 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16039 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16040 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16041 export_dynamic_flag_spec='${wl}-E'
16044 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16045 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16046 hardcode_libdir_flag_spec='-R$libdir'
16049 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16050 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16060 hardcode_libdir_flag_spec='-L$libdir'
16061 hardcode_minus_L=yes
16062 allow_undefined_flag=unsupported
16063 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'
16064 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16068 if test "$GCC" = yes; then
16069 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16070 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16072 allow_undefined_flag=' -expect_unresolved \*'
16073 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16075 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16076 hardcode_libdir_separator=:
16079 osf4* | osf5*) # as osf3* with the addition of -msym flag
16080 if test "$GCC" = yes; then
16081 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16082 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16083 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16085 allow_undefined_flag=' -expect_unresolved \*'
16086 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16087 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16088 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16090 # Both c and cxx compiler support -rpath directly
16091 hardcode_libdir_flag_spec='-rpath $libdir'
16093 hardcode_libdir_separator=:
16097 no_undefined_flag=' -z text'
16098 if test "$GCC" = yes; then
16100 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16101 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16102 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16105 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16106 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16107 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16109 hardcode_libdir_flag_spec='-R$libdir'
16110 hardcode_shlibpath_var=no
16112 solaris2.[0-5] | solaris2.[0-5].*) ;;
16114 # The compiler driver will combine and reorder linker options,
16115 # but understands `-z linker_flag'. GCC discards it without `$wl',
16116 # but is careful enough not to reorder.
16117 # Supported since Solaris 2.6 (maybe 2.5.1?)
16118 if test "$GCC" = yes; then
16119 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16121 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
16125 link_all_deplibs=yes
16129 if test "x$host_vendor" = xsequent; then
16130 # Use $CC to link under sequent, because it throws in some extra .o
16131 # files that make .init and .fini sections work.
16132 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16134 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16136 hardcode_libdir_flag_spec='-L$libdir'
16137 hardcode_direct=yes
16138 hardcode_minus_L=yes
16139 hardcode_shlibpath_var=no
16143 case $host_vendor in
16145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16146 hardcode_direct=yes # is this really true???
16149 ## LD is ld it makes a PLAMLIB
16150 ## CC just makes a GrossModule.
16151 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16152 reload_cmds='$CC -r -o $output$reload_objs'
16156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16157 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
16160 runpath_var='LD_RUN_PATH'
16161 hardcode_shlibpath_var=no
16165 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16166 hardcode_shlibpath_var=no
16167 export_dynamic_flag_spec='-Bexport'
16171 if test -d /usr/nec; then
16172 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16173 hardcode_shlibpath_var=no
16174 runpath_var=LD_RUN_PATH
16175 hardcode_runpath_var=yes
16180 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16181 no_undefined_flag='${wl}-z,text'
16182 archive_cmds_need_lc=no
16183 hardcode_shlibpath_var=no
16184 runpath_var='LD_RUN_PATH'
16186 if test "$GCC" = yes; then
16187 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16188 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16190 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16191 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16195 sysv5* | sco3.2v5* | sco5v6*)
16196 # Note: We can NOT use -z defs as we might desire, because we do not
16197 # link with -lc, and that would cause any symbols used from libc to
16198 # always be unresolved, which means just about no library would
16199 # ever link correctly. If we're not using GNU ld we use -z text
16200 # though, which does catch some bad symbols but isn't as heavy-handed
16202 no_undefined_flag='${wl}-z,text'
16203 allow_undefined_flag='${wl}-z,nodefs'
16204 archive_cmds_need_lc=no
16205 hardcode_shlibpath_var=no
16206 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16207 hardcode_libdir_separator=':'
16208 link_all_deplibs=yes
16209 export_dynamic_flag_spec='${wl}-Bexport'
16210 runpath_var='LD_RUN_PATH'
16212 if test "$GCC" = yes; then
16213 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16214 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16216 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16217 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16222 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16223 hardcode_libdir_flag_spec='-L$libdir'
16224 hardcode_shlibpath_var=no
16233 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16234 echo "${ECHO_T}$ld_shlibs" >&6; }
16235 test "$ld_shlibs" = no && can_build_shared=no
16238 # Do we need to explicitly link libc?
16240 case "x$archive_cmds_need_lc" in
16242 # Assume -lc should be added
16243 archive_cmds_need_lc=yes
16245 if test "$enable_shared" = yes && test "$GCC" = yes; then
16246 case $archive_cmds in
16248 # FIXME: we may have to deal with multi-command sequences.
16251 # Test whether the compiler implicitly links with -lc since on some
16252 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16253 # to ld, don't add -lc before -lgcc.
16254 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16255 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16257 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } 2>conftest.err; then
16266 libobjs=conftest.$ac_objext
16268 wl=$lt_prog_compiler_wl
16269 pic_flag=$lt_prog_compiler_pic
16275 lt_save_allow_undefined_flag=$allow_undefined_flag
16276 allow_undefined_flag=
16277 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16278 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }
16283 archive_cmds_need_lc=no
16285 archive_cmds_need_lc=yes
16287 allow_undefined_flag=$lt_save_allow_undefined_flag
16289 cat conftest.err 1>&5
16292 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16293 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16300 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16301 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16302 library_names_spec=
16303 libname_spec='lib$name'
16307 postuninstall_cmds=
16311 shlibpath_overrides_runpath=unknown
16313 dynamic_linker="$host_os ld.so"
16314 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16316 if test "$GCC" = yes; then
16318 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
16319 *) lt_awk_arg="/^libraries:/" ;;
16321 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16322 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
16323 # if the path contains ";" then we assume it to be the separator
16324 # otherwise default to the standard path separator (i.e. ":") - it is
16325 # assumed that no part of a normal pathname contains ";" but that should
16326 # okay in the real world where ";" in dirpaths is itself problematic.
16327 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
16329 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16331 # Ok, now we have the path, separated by spaces, we can step through it
16332 # and add multilib dir if necessary.
16333 lt_tmp_lt_search_path_spec=
16334 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
16335 for lt_sys_path in $lt_search_path_spec; do
16336 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
16337 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
16339 test -d "$lt_sys_path" && \
16340 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
16343 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
16344 BEGIN {RS=" "; FS="/|\n";} {
16347 for (lt_i = NF; lt_i > 0; lt_i--) {
16348 if ($lt_i != "" && $lt_i != ".") {
16349 if ($lt_i == "..") {
16352 if (lt_count == 0) {
16353 lt_foo="/" $lt_i lt_foo;
16360 if (lt_foo != "") { lt_freq[lt_foo]++; }
16361 if (lt_freq[lt_foo] == 1) { print lt_foo; }
16363 sys_lib_search_path_spec=`echo $lt_search_path_spec`
16365 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16367 need_lib_prefix=unknown
16368 hardcode_into_libs=no
16370 # when you set need_version to no, make sure it does not cause -set_version
16371 # flags to be left without arguments
16372 need_version=unknown
16377 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16378 shlibpath_var=LIBPATH
16380 # AIX 3 has no versioning support, so we append a major version to the name.
16381 soname_spec='${libname}${release}${shared_ext}$major'
16388 hardcode_into_libs=yes
16389 if test "$host_cpu" = ia64; then
16390 # AIX 5 supports IA64
16391 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16392 shlibpath_var=LD_LIBRARY_PATH
16394 # With GCC up to 2.95.x, collect2 would create an import file
16395 # for dependence libraries. The import file would start with
16396 # the line `#! .'. This would cause the generated library to
16397 # depend on `.', always an invalid library. This was fixed in
16398 # development snapshots of GCC prior to 3.0.
16400 aix4 | aix4.[01] | aix4.[01].*)
16401 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16403 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16406 can_build_shared=no
16410 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16411 # soname into executable. Probably we can add versioning support to
16412 # collect2, so additional links can be useful in future.
16413 if test "$aix_use_runtimelinking" = yes; then
16414 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16415 # instead of lib<name>.a to let people know that these are not
16416 # typical AIX shared libraries.
16417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16419 # We preserve .a as extension for shared libraries through AIX4.2
16420 # and later when we are not doing run time linking.
16421 library_names_spec='${libname}${release}.a $libname.a'
16422 soname_spec='${libname}${release}${shared_ext}$major'
16424 shlibpath_var=LIBPATH
16429 library_names_spec='$libname.ixlibrary $libname.a'
16430 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16431 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'
16435 library_names_spec='${libname}${shared_ext}'
16436 dynamic_linker="$host_os ld.so"
16437 shlibpath_var=LIBRARY_PATH
16443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16444 soname_spec='${libname}${release}${shared_ext}$major'
16445 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16446 shlibpath_var=LD_LIBRARY_PATH
16447 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16448 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16449 # the default ld.so.conf also contains /usr/contrib/lib and
16450 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16451 # libtool to hard-code these into programs
16454 cygwin* | mingw* | pw32*)
16455 version_type=windows
16460 case $GCC,$host_os in
16461 yes,cygwin* | yes,mingw* | yes,pw32*)
16462 library_names_spec='$libname.dll.a'
16463 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16464 postinstall_cmds='base_file=`basename \${file}`~
16465 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16466 dldir=$destdir/`dirname \$dlpath`~
16467 test -d \$dldir || mkdir -p \$dldir~
16468 $install_prog $dir/$dlname \$dldir/$dlname~
16469 chmod a+x \$dldir/$dlname'
16470 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16471 dlpath=$dir/\$dldll~
16473 shlibpath_overrides_runpath=yes
16477 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16478 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16479 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16482 # MinGW DLLs use traditional 'lib' prefix
16483 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16484 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16485 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16486 # It is most probably a Windows format PATH printed by
16487 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16488 # path with ; separators, and with drive letters. We can handle the
16489 # drive letters (cygwin fileutils understands them), so leave them,
16490 # especially as we might pass files found there to a mingw objdump,
16491 # which wouldn't understand a cygwinified path. Ahh.
16492 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16494 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16498 # pw32 DLLs use 'pw' prefix rather than 'lib'
16499 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16505 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16508 dynamic_linker='Win32 ld.exe'
16509 # FIXME: first we should search . and the directory the executable is in
16513 darwin* | rhapsody*)
16514 dynamic_linker="$host_os dyld"
16515 version_type=darwin
16518 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16519 soname_spec='${libname}${release}${major}$shared_ext'
16520 shlibpath_overrides_runpath=yes
16521 shlibpath_var=DYLD_LIBRARY_PATH
16522 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16524 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
16525 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16533 soname_spec='${libname}${release}${shared_ext}$major'
16534 shlibpath_var=LD_LIBRARY_PATH
16541 freebsd* | dragonfly*)
16542 # DragonFly does not have aout. When/if they implement a new
16543 # versioning mechanism, adjust this.
16544 if test -x /usr/bin/objformat; then
16545 objformat=`/usr/bin/objformat`
16548 freebsd[123]*) objformat=aout ;;
16549 *) objformat=elf ;;
16552 version_type=freebsd-$objformat
16553 case $version_type in
16555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16560 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16564 shlibpath_var=LD_LIBRARY_PATH
16567 shlibpath_overrides_runpath=yes
16569 freebsd3.[01]* | freebsdelf3.[01]*)
16570 shlibpath_overrides_runpath=yes
16571 hardcode_into_libs=yes
16573 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16574 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16575 shlibpath_overrides_runpath=no
16576 hardcode_into_libs=yes
16578 *) # from 4.6 on, and DragonFly
16579 shlibpath_overrides_runpath=yes
16580 hardcode_into_libs=yes
16589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16590 soname_spec='${libname}${release}${shared_ext}$major'
16591 shlibpath_var=LD_LIBRARY_PATH
16592 hardcode_into_libs=yes
16595 hpux9* | hpux10* | hpux11*)
16596 # Give a soname corresponding to the major version so that dld.sl refuses to
16597 # link against other versions.
16604 hardcode_into_libs=yes
16605 dynamic_linker="$host_os dld.so"
16606 shlibpath_var=LD_LIBRARY_PATH
16607 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16609 soname_spec='${libname}${release}${shared_ext}$major'
16610 if test "X$HPUX_IA64_MODE" = X32; then
16611 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16613 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16615 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16619 hardcode_into_libs=yes
16620 dynamic_linker="$host_os dld.sl"
16621 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16622 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16624 soname_spec='${libname}${release}${shared_ext}$major'
16625 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16626 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16630 dynamic_linker="$host_os dld.sl"
16631 shlibpath_var=SHLIB_PATH
16632 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16634 soname_spec='${libname}${release}${shared_ext}$major'
16637 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16638 postinstall_cmds='chmod 555 $lib'
16645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16646 soname_spec='${libname}${release}${shared_ext}$major'
16647 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16648 shlibpath_var=LD_LIBRARY_PATH
16649 shlibpath_overrides_runpath=no
16650 hardcode_into_libs=yes
16653 irix5* | irix6* | nonstopux*)
16655 nonstopux*) version_type=nonstopux ;;
16657 if test "$lt_cv_prog_gnu_ld" = yes; then
16665 soname_spec='${libname}${release}${shared_ext}$major'
16666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16668 irix5* | nonstopux*)
16669 libsuff= shlibsuff=
16672 case $LD in # libtool.m4 will add one of these switches to LD
16673 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16674 libsuff= shlibsuff= libmagic=32-bit;;
16675 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16676 libsuff=32 shlibsuff=N32 libmagic=N32;;
16677 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16678 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16679 *) libsuff= shlibsuff= libmagic=never-match;;
16683 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16684 shlibpath_overrides_runpath=no
16685 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16686 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16687 hardcode_into_libs=yes
16690 # No shared lib support for Linux oldld, aout, or coff.
16691 linux*oldld* | linux*aout* | linux*coff*)
16695 # This must be Linux ELF.
16696 linux* | k*bsd*-gnu)
16700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16701 soname_spec='${libname}${release}${shared_ext}$major'
16702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16703 shlibpath_var=LD_LIBRARY_PATH
16704 shlibpath_overrides_runpath=no
16705 # This implies no fast_install, which is unacceptable.
16706 # Some rework will be needed to allow for fast_install
16707 # before this can be enabled.
16708 hardcode_into_libs=yes
16709 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16710 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16712 # Append ld.so.conf contents to the search path
16713 if test -f /etc/ld.so.conf; then
16714 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' ' '`
16715 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16718 # We used to test for /lib/ld.so.1 and disable shared libraries on
16719 # powerpc, because MkLinux only supported shared libraries with the
16720 # GNU dynamic linker. Since this was broken with cross compilers,
16721 # most powerpc-linux boxes support dynamic linking these days and
16722 # people can always --disable-shared, the test was removed, and we
16723 # assume the GNU/Linux dynamic linker is in use.
16724 dynamic_linker='GNU/Linux ld.so'
16731 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16733 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16734 dynamic_linker='NetBSD (a.out) ld.so'
16736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16737 soname_spec='${libname}${release}${shared_ext}$major'
16738 dynamic_linker='NetBSD ld.elf_so'
16740 shlibpath_var=LD_LIBRARY_PATH
16741 shlibpath_overrides_runpath=yes
16742 hardcode_into_libs=yes
16747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16748 shlibpath_var=LD_LIBRARY_PATH
16749 shlibpath_overrides_runpath=yes
16756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16757 soname_spec='${libname}${release}${shared_ext}$major'
16758 shlibpath_var=LD_LIBRARY_PATH
16759 shlibpath_overrides_runpath=yes
16764 sys_lib_dlsearch_path_spec="/usr/lib"
16766 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16768 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16769 *) need_version=no ;;
16771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16772 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16773 shlibpath_var=LD_LIBRARY_PATH
16774 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16776 openbsd2.[89] | openbsd2.[89].*)
16777 shlibpath_overrides_runpath=no
16780 shlibpath_overrides_runpath=yes
16784 shlibpath_overrides_runpath=yes
16789 libname_spec='$name'
16792 library_names_spec='$libname${shared_ext} $libname.a'
16793 dynamic_linker='OS/2 ld.exe'
16794 shlibpath_var=LIBPATH
16797 osf3* | osf4* | osf5*)
16801 soname_spec='${libname}${release}${shared_ext}$major'
16802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16803 shlibpath_var=LD_LIBRARY_PATH
16804 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16805 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16817 soname_spec='${libname}${release}${shared_ext}$major'
16818 shlibpath_var=LD_LIBRARY_PATH
16819 shlibpath_overrides_runpath=yes
16820 hardcode_into_libs=yes
16821 # ldd complains unless libraries are executable
16822 postinstall_cmds='chmod +x $lib'
16827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16828 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16829 shlibpath_var=LD_LIBRARY_PATH
16830 shlibpath_overrides_runpath=yes
16831 if test "$with_gnu_ld" = yes; then
16839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16840 soname_spec='${libname}${release}${shared_ext}$major'
16841 shlibpath_var=LD_LIBRARY_PATH
16842 case $host_vendor in
16844 shlibpath_overrides_runpath=no
16846 export_dynamic_flag_spec='${wl}-Blargedynsym'
16847 runpath_var=LD_RUN_PATH
16855 shlibpath_overrides_runpath=no
16856 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16862 if test -d /usr/nec ;then
16864 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16865 soname_spec='$libname${shared_ext}.$major'
16866 shlibpath_var=LD_LIBRARY_PATH
16870 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16871 version_type=freebsd-elf
16874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16875 soname_spec='${libname}${release}${shared_ext}$major'
16876 shlibpath_var=LD_LIBRARY_PATH
16877 hardcode_into_libs=yes
16878 if test "$with_gnu_ld" = yes; then
16879 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16880 shlibpath_overrides_runpath=no
16882 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16883 shlibpath_overrides_runpath=yes
16886 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16890 sys_lib_dlsearch_path_spec='/usr/lib'
16895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16896 soname_spec='${libname}${release}${shared_ext}$major'
16897 shlibpath_var=LD_LIBRARY_PATH
16904 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16905 echo "${ECHO_T}$dynamic_linker" >&6; }
16906 test "$dynamic_linker" = no && can_build_shared=no
16908 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16909 if test "$GCC" = yes; then
16910 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16913 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16914 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16916 if test -n "$hardcode_libdir_flag_spec" || \
16917 test -n "$runpath_var" || \
16918 test "X$hardcode_automatic" = "Xyes" ; then
16920 # We can hardcode non-existant directories.
16921 if test "$hardcode_direct" != no &&
16922 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16923 # have to relink, otherwise we might link with an installed library
16924 # when we should be linking with a yet-to-be-installed one
16925 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16926 test "$hardcode_minus_L" != no; then
16927 # Linking always hardcodes the temporary library directory.
16928 hardcode_action=relink
16930 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16931 hardcode_action=immediate
16934 # We cannot hardcode anything, or else we can only hardcode existing
16936 hardcode_action=unsupported
16938 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16939 echo "${ECHO_T}$hardcode_action" >&6; }
16941 if test "$hardcode_action" = relink; then
16942 # Fast installation is not supported
16943 enable_fast_install=no
16944 elif test "$shlibpath_overrides_runpath" = yes ||
16945 test "$enable_shared" = no; then
16946 # Fast installation is not necessary
16947 enable_fast_install=needless
16952 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16953 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16954 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16955 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16956 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16957 { echo "$as_me:$LINENO: result: yes" >&5
16958 echo "${ECHO_T}yes" >&6; }
16960 # FIXME - insert some real tests, host_os isn't really good enough
16963 if test -n "$STRIP" ; then
16964 striplib="$STRIP -x"
16965 old_striplib="$STRIP -S"
16966 { echo "$as_me:$LINENO: result: yes" >&5
16967 echo "${ECHO_T}yes" >&6; }
16969 { echo "$as_me:$LINENO: result: no" >&5
16970 echo "${ECHO_T}no" >&6; }
16974 { echo "$as_me:$LINENO: result: no" >&5
16975 echo "${ECHO_T}no" >&6; }
16980 if test "x$enable_dlopen" != xyes; then
16981 enable_dlopen=unknown
16982 enable_dlopen_self=unknown
16983 enable_dlopen_self_static=unknown
16990 lt_cv_dlopen="load_add_on"
16992 lt_cv_dlopen_self=yes
16996 lt_cv_dlopen="LoadLibrary"
17001 lt_cv_dlopen="dlopen"
17006 # if libdl is installed we need to link against it
17007 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17008 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17009 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17012 ac_check_lib_save_LIBS=$LIBS
17014 cat >conftest.$ac_ext <<_ACEOF
17017 cat confdefs.h >>conftest.$ac_ext
17018 cat >>conftest.$ac_ext <<_ACEOF
17019 /* end confdefs.h. */
17021 /* Override any GCC internal prototype to avoid an error.
17022 Use char because int might match the return type of a GCC
17023 builtin and then its argument prototype would still apply. */
17036 rm -f conftest.$ac_objext conftest$ac_exeext
17037 if { (ac_try="$ac_link"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_link") 2>conftest.er1
17045 grep -v '^ *+' conftest.er1 >conftest.err
17047 cat conftest.err >&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } && {
17050 test -z "$ac_c_werror_flag" ||
17051 test ! -s conftest.err
17052 } && test -s conftest$ac_exeext &&
17053 $as_test_x conftest$ac_exeext; then
17054 ac_cv_lib_dl_dlopen=yes
17056 echo "$as_me: failed program was:" >&5
17057 sed 's/^/| /' conftest.$ac_ext >&5
17059 ac_cv_lib_dl_dlopen=no
17062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17063 conftest$ac_exeext conftest.$ac_ext
17064 LIBS=$ac_check_lib_save_LIBS
17066 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17067 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17068 if test $ac_cv_lib_dl_dlopen = yes; then
17069 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17072 lt_cv_dlopen="dyld"
17074 lt_cv_dlopen_self=yes
17081 { echo "$as_me:$LINENO: checking for shl_load" >&5
17082 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17083 if test "${ac_cv_func_shl_load+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 cat >conftest.$ac_ext <<_ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17094 #define shl_load innocuous_shl_load
17096 /* System header to define __stub macros and hopefully few prototypes,
17097 which can conflict with char shl_load (); below.
17098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17099 <limits.h> exists even on freestanding compilers. */
17102 # include <limits.h>
17104 # include <assert.h>
17109 /* Override any GCC internal prototype to avoid an error.
17110 Use char because int might match the return type of a GCC
17111 builtin and then its argument prototype would still apply. */
17116 /* The GNU C library defines this for functions which it implements
17117 to always fail with ENOSYS. Some functions are actually named
17118 something starting with __ and the normal name is an alias. */
17119 #if defined __stub_shl_load || defined __stub___shl_load
17126 return shl_load ();
17131 rm -f conftest.$ac_objext conftest$ac_exeext
17132 if { (ac_try="$ac_link"
17133 case "(($ac_try" in
17134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_link") 2>conftest.er1
17140 grep -v '^ *+' conftest.er1 >conftest.err
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } && {
17145 test -z "$ac_c_werror_flag" ||
17146 test ! -s conftest.err
17147 } && test -s conftest$ac_exeext &&
17148 $as_test_x conftest$ac_exeext; then
17149 ac_cv_func_shl_load=yes
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 ac_cv_func_shl_load=no
17157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17158 conftest$ac_exeext conftest.$ac_ext
17160 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17161 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17162 if test $ac_cv_func_shl_load = yes; then
17163 lt_cv_dlopen="shl_load"
17165 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17166 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17167 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17168 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 ac_check_lib_save_LIBS=$LIBS
17172 cat >conftest.$ac_ext <<_ACEOF
17175 cat confdefs.h >>conftest.$ac_ext
17176 cat >>conftest.$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17189 return shl_load ();
17194 rm -f conftest.$ac_objext conftest$ac_exeext
17195 if { (ac_try="$ac_link"
17196 case "(($ac_try" in
17197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17198 *) ac_try_echo=$ac_try;;
17200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17201 (eval "$ac_link") 2>conftest.er1
17203 grep -v '^ *+' conftest.er1 >conftest.err
17205 cat conftest.err >&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } && {
17208 test -z "$ac_c_werror_flag" ||
17209 test ! -s conftest.err
17210 } && test -s conftest$ac_exeext &&
17211 $as_test_x conftest$ac_exeext; then
17212 ac_cv_lib_dld_shl_load=yes
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17217 ac_cv_lib_dld_shl_load=no
17220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17221 conftest$ac_exeext conftest.$ac_ext
17222 LIBS=$ac_check_lib_save_LIBS
17224 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17225 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17226 if test $ac_cv_lib_dld_shl_load = yes; then
17227 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17229 { echo "$as_me:$LINENO: checking for dlopen" >&5
17230 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17231 if test "${ac_cv_func_dlopen+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 cat >conftest.$ac_ext <<_ACEOF
17237 cat confdefs.h >>conftest.$ac_ext
17238 cat >>conftest.$ac_ext <<_ACEOF
17239 /* end confdefs.h. */
17240 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17242 #define dlopen innocuous_dlopen
17244 /* System header to define __stub macros and hopefully few prototypes,
17245 which can conflict with char dlopen (); below.
17246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17247 <limits.h> exists even on freestanding compilers. */
17250 # include <limits.h>
17252 # include <assert.h>
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17264 /* The GNU C library defines this for functions which it implements
17265 to always fail with ENOSYS. Some functions are actually named
17266 something starting with __ and the normal name is an alias. */
17267 #if defined __stub_dlopen || defined __stub___dlopen
17279 rm -f conftest.$ac_objext conftest$ac_exeext
17280 if { (ac_try="$ac_link"
17281 case "(($ac_try" in
17282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17283 *) ac_try_echo=$ac_try;;
17285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17286 (eval "$ac_link") 2>conftest.er1
17288 grep -v '^ *+' conftest.er1 >conftest.err
17290 cat conftest.err >&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } && {
17293 test -z "$ac_c_werror_flag" ||
17294 test ! -s conftest.err
17295 } && test -s conftest$ac_exeext &&
17296 $as_test_x conftest$ac_exeext; then
17297 ac_cv_func_dlopen=yes
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17302 ac_cv_func_dlopen=no
17305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17306 conftest$ac_exeext conftest.$ac_ext
17308 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17309 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17310 if test $ac_cv_func_dlopen = yes; then
17311 lt_cv_dlopen="dlopen"
17313 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17314 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17315 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 ac_check_lib_save_LIBS=$LIBS
17320 cat >conftest.$ac_ext <<_ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17327 /* Override any GCC internal prototype to avoid an error.
17328 Use char because int might match the return type of a GCC
17329 builtin and then its argument prototype would still apply. */
17342 rm -f conftest.$ac_objext conftest$ac_exeext
17343 if { (ac_try="$ac_link"
17344 case "(($ac_try" in
17345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17346 *) ac_try_echo=$ac_try;;
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_link") 2>conftest.er1
17351 grep -v '^ *+' conftest.er1 >conftest.err
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest$ac_exeext &&
17359 $as_test_x conftest$ac_exeext; then
17360 ac_cv_lib_dl_dlopen=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17365 ac_cv_lib_dl_dlopen=no
17368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17369 conftest$ac_exeext conftest.$ac_ext
17370 LIBS=$ac_check_lib_save_LIBS
17372 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17373 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17374 if test $ac_cv_lib_dl_dlopen = yes; then
17375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17377 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17378 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17379 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 ac_check_lib_save_LIBS=$LIBS
17383 LIBS="-lsvld $LIBS"
17384 cat >conftest.$ac_ext <<_ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17391 /* Override any GCC internal prototype to avoid an error.
17392 Use char because int might match the return type of a GCC
17393 builtin and then its argument prototype would still apply. */
17406 rm -f conftest.$ac_objext conftest$ac_exeext
17407 if { (ac_try="$ac_link"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_link") 2>conftest.er1
17415 grep -v '^ *+' conftest.er1 >conftest.err
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } && {
17420 test -z "$ac_c_werror_flag" ||
17421 test ! -s conftest.err
17422 } && test -s conftest$ac_exeext &&
17423 $as_test_x conftest$ac_exeext; then
17424 ac_cv_lib_svld_dlopen=yes
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.$ac_ext >&5
17429 ac_cv_lib_svld_dlopen=no
17432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17433 conftest$ac_exeext conftest.$ac_ext
17434 LIBS=$ac_check_lib_save_LIBS
17436 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17437 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17438 if test $ac_cv_lib_svld_dlopen = yes; then
17439 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17441 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17442 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17443 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 ac_check_lib_save_LIBS=$LIBS
17448 cat >conftest.$ac_ext <<_ACEOF
17451 cat confdefs.h >>conftest.$ac_ext
17452 cat >>conftest.$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17455 /* Override any GCC internal prototype to avoid an error.
17456 Use char because int might match the return type of a GCC
17457 builtin and then its argument prototype would still apply. */
17465 return dld_link ();
17470 rm -f conftest.$ac_objext conftest$ac_exeext
17471 if { (ac_try="$ac_link"
17472 case "(($ac_try" in
17473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17474 *) ac_try_echo=$ac_try;;
17476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17477 (eval "$ac_link") 2>conftest.er1
17479 grep -v '^ *+' conftest.er1 >conftest.err
17481 cat conftest.err >&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } && {
17484 test -z "$ac_c_werror_flag" ||
17485 test ! -s conftest.err
17486 } && test -s conftest$ac_exeext &&
17487 $as_test_x conftest$ac_exeext; then
17488 ac_cv_lib_dld_dld_link=yes
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17493 ac_cv_lib_dld_dld_link=no
17496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17497 conftest$ac_exeext conftest.$ac_ext
17498 LIBS=$ac_check_lib_save_LIBS
17500 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17501 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17502 if test $ac_cv_lib_dld_dld_link = yes; then
17503 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17524 if test "x$lt_cv_dlopen" != xno; then
17530 case $lt_cv_dlopen in
17532 save_CPPFLAGS="$CPPFLAGS"
17533 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17535 save_LDFLAGS="$LDFLAGS"
17536 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17539 LIBS="$lt_cv_dlopen_libs $LIBS"
17541 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17542 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17543 if test "${lt_cv_dlopen_self+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 if test "$cross_compiling" = yes; then :
17547 lt_cv_dlopen_self=cross
17549 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17550 lt_status=$lt_dlunknown
17551 cat > conftest.$ac_ext <<EOF
17552 #line 17552 "configure"
17553 #include "confdefs.h"
17562 # define LT_DLGLOBAL RTLD_GLOBAL
17565 # define LT_DLGLOBAL DL_GLOBAL
17567 # define LT_DLGLOBAL 0
17571 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17572 find out it does not work in some platform. */
17573 #ifndef LT_DLLAZY_OR_NOW
17575 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17578 # define LT_DLLAZY_OR_NOW DL_LAZY
17581 # define LT_DLLAZY_OR_NOW RTLD_NOW
17584 # define LT_DLLAZY_OR_NOW DL_NOW
17586 # define LT_DLLAZY_OR_NOW 0
17594 extern "C" void exit (int);
17597 void fnord() { int i=42;}
17600 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17601 int status = $lt_dlunknown;
17605 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17606 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17607 /* dlclose (self); */
17615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17616 (eval $ac_link) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17620 (./conftest; exit; ) >&5 2>/dev/null
17622 case x$lt_status in
17623 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17624 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17625 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17628 # compilation failed
17629 lt_cv_dlopen_self=no
17636 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17637 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17639 if test "x$lt_cv_dlopen_self" = xyes; then
17640 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17641 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17642 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17643 if test "${lt_cv_dlopen_self_static+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 if test "$cross_compiling" = yes; then :
17647 lt_cv_dlopen_self_static=cross
17649 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17650 lt_status=$lt_dlunknown
17651 cat > conftest.$ac_ext <<EOF
17652 #line 17652 "configure"
17653 #include "confdefs.h"
17662 # define LT_DLGLOBAL RTLD_GLOBAL
17665 # define LT_DLGLOBAL DL_GLOBAL
17667 # define LT_DLGLOBAL 0
17671 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17672 find out it does not work in some platform. */
17673 #ifndef LT_DLLAZY_OR_NOW
17675 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17678 # define LT_DLLAZY_OR_NOW DL_LAZY
17681 # define LT_DLLAZY_OR_NOW RTLD_NOW
17684 # define LT_DLLAZY_OR_NOW DL_NOW
17686 # define LT_DLLAZY_OR_NOW 0
17694 extern "C" void exit (int);
17697 void fnord() { int i=42;}
17700 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17701 int status = $lt_dlunknown;
17705 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17706 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17707 /* dlclose (self); */
17715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17716 (eval $ac_link) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17720 (./conftest; exit; ) >&5 2>/dev/null
17722 case x$lt_status in
17723 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17724 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17725 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17728 # compilation failed
17729 lt_cv_dlopen_self_static=no
17736 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17737 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17740 CPPFLAGS="$save_CPPFLAGS"
17741 LDFLAGS="$save_LDFLAGS"
17746 case $lt_cv_dlopen_self in
17747 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17748 *) enable_dlopen_self=unknown ;;
17751 case $lt_cv_dlopen_self_static in
17752 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17753 *) enable_dlopen_self_static=unknown ;;
17758 # Report which library types will actually be built
17759 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17760 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17761 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17762 echo "${ECHO_T}$can_build_shared" >&6; }
17764 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17765 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17766 test "$can_build_shared" = "no" && enable_shared=no
17768 # On AIX, shared libraries and static libraries use the same namespace, and
17769 # are all built from PIC.
17772 test "$enable_shared" = yes && enable_static=no
17773 if test -n "$RANLIB"; then
17774 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17775 postinstall_cmds='$RANLIB $lib'
17780 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17781 test "$enable_shared" = yes && enable_static=no
17785 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17786 echo "${ECHO_T}$enable_shared" >&6; }
17788 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17789 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17790 # Make sure either enable_shared or enable_static is yes.
17791 test "$enable_shared" = yes || enable_static=yes
17792 { echo "$as_me:$LINENO: result: $enable_static" >&5
17793 echo "${ECHO_T}$enable_static" >&6; }
17795 # The else clause should only fire when bootstrapping the
17796 # libtool distribution, otherwise you forgot to ship ltmain.sh
17797 # with your package, and you will get complaints that there are
17798 # no rules to generate ltmain.sh.
17799 if test -f "$ltmain"; then
17800 # See if we are running on zsh, and set the options which allow our commands through
17801 # without removal of \ escapes.
17802 if test -n "${ZSH_VERSION+set}" ; then
17803 setopt NO_GLOB_SUBST
17805 # Now quote all the things that may contain metacharacters while being
17806 # careful not to overquote the AC_SUBSTed values. We take copies of the
17807 # variables and quote the copies for generation of the libtool script.
17808 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17810 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17811 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17812 deplibs_check_method reload_flag reload_cmds need_locks \
17813 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17814 lt_cv_sys_global_symbol_to_c_name_address \
17815 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17816 old_postinstall_cmds old_postuninstall_cmds \
17820 lt_prog_compiler_wl \
17821 lt_prog_compiler_pic \
17822 lt_prog_compiler_static \
17823 lt_prog_compiler_no_builtin_flag \
17824 export_dynamic_flag_spec \
17825 thread_safe_flag_spec \
17826 whole_archive_flag_spec \
17827 enable_shared_with_static_runtimes \
17829 old_archive_from_new_cmds \
17834 compiler_lib_search_path \
17836 archive_expsym_cmds \
17838 postuninstall_cmds \
17839 old_archive_from_expsyms_cmds \
17840 allow_undefined_flag \
17841 no_undefined_flag \
17842 export_symbols_cmds \
17843 hardcode_libdir_flag_spec \
17844 hardcode_libdir_flag_spec_ld \
17845 hardcode_libdir_separator \
17846 hardcode_automatic \
17848 module_expsym_cmds \
17849 lt_cv_prog_compiler_c_o \
17852 include_expsyms; do
17855 old_archive_cmds | \
17856 old_archive_from_new_cmds | \
17858 archive_expsym_cmds | \
17860 module_expsym_cmds | \
17861 old_archive_from_expsyms_cmds | \
17862 export_symbols_cmds | \
17863 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17864 postinstall_cmds | postuninstall_cmds | \
17865 old_postinstall_cmds | old_postuninstall_cmds | \
17866 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17867 # Double-quote double-evaled strings.
17868 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17871 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17877 *'\$0 --fallback-echo"')
17878 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17882 cfgfile="${ofile}T"
17883 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17885 { echo "$as_me:$LINENO: creating $ofile" >&5
17886 echo "$as_me: creating $ofile" >&6;}
17888 cat <<__EOF__ >> "$cfgfile"
17891 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17892 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17893 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17895 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
17896 # Free Software Foundation, Inc.
17898 # This file is part of GNU Libtool:
17899 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17901 # This program is free software; you can redistribute it and/or modify
17902 # it under the terms of the GNU General Public License as published by
17903 # the Free Software Foundation; either version 2 of the License, or
17904 # (at your option) any later version.
17906 # This program is distributed in the hope that it will be useful, but
17907 # WITHOUT ANY WARRANTY; without even the implied warranty of
17908 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17909 # General Public License for more details.
17911 # You should have received a copy of the GNU General Public License
17912 # along with this program; if not, write to the Free Software
17913 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17915 # As a special exception to the GNU General Public License, if you
17916 # distribute this file as part of a program that contains a
17917 # configuration script generated by Autoconf, you may include it under
17918 # the same distribution terms that you use for the rest of that program.
17920 # A sed program that does not truncate output.
17923 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17924 Xsed="$SED -e 1s/^X//"
17926 # The HP-UX ksh and POSIX shell print the target directory to stdout
17927 # if CDPATH is set.
17928 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17930 # The names of the tagged configurations supported by this script.
17933 # ### BEGIN LIBTOOL CONFIG
17935 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17937 # Shell to use when invoking shell scripts.
17940 # Whether or not to build shared libraries.
17941 build_libtool_libs=$enable_shared
17943 # Whether or not to build static libraries.
17944 build_old_libs=$enable_static
17946 # Whether or not to add -lc for building shared libraries.
17947 build_libtool_need_lc=$archive_cmds_need_lc
17949 # Whether or not to disallow shared libs when runtime libs are static
17950 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17952 # Whether or not to optimize for fast installation.
17953 fast_install=$enable_fast_install
17956 host_alias=$host_alias
17960 # The build system.
17961 build_alias=$build_alias
17965 # An echo program that does not interpret backslashes.
17970 AR_FLAGS=$lt_AR_FLAGS
17975 # LTCC compiler flags.
17976 LTCFLAGS=$lt_LTCFLAGS
17978 # A language-specific compiler.
17981 # Is the compiler the GNU C compiler?
17987 # The linker used to build libraries.
17990 # Whether we need hard or soft links.
17993 # A BSD-compatible nm program.
17996 # A symbol stripping program
17999 # Used to examine libraries when file_magic_cmd begins "file"
18000 MAGIC_CMD=$MAGIC_CMD
18002 # Used on cygwin: DLL creation program.
18005 # Used on cygwin: object dumper.
18008 # Used on cygwin: assembler.
18011 # The name of the directory that contains temporary libtool files.
18014 # How to create reloadable object files.
18015 reload_flag=$lt_reload_flag
18016 reload_cmds=$lt_reload_cmds
18018 # How to pass a linker flag through the compiler.
18019 wl=$lt_lt_prog_compiler_wl
18021 # Object file suffix (normally "o").
18022 objext="$ac_objext"
18024 # Old archive suffix (normally "a").
18027 # Shared library suffix (normally ".so").
18028 shrext_cmds='$shrext_cmds'
18030 # Executable file suffix (normally "").
18033 # Additional compiler flags for building library objects.
18034 pic_flag=$lt_lt_prog_compiler_pic
18037 # What is the maximum length of a command?
18038 max_cmd_len=$lt_cv_sys_max_cmd_len
18040 # Does compiler simultaneously support -c and -o options?
18041 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18043 # Must we lock files when doing compilation?
18044 need_locks=$lt_need_locks
18046 # Do we need the lib prefix for modules?
18047 need_lib_prefix=$need_lib_prefix
18049 # Do we need a version for libraries?
18050 need_version=$need_version
18052 # Whether dlopen is supported.
18053 dlopen_support=$enable_dlopen
18055 # Whether dlopen of programs is supported.
18056 dlopen_self=$enable_dlopen_self
18058 # Whether dlopen of statically linked programs is supported.
18059 dlopen_self_static=$enable_dlopen_self_static
18061 # Compiler flag to prevent dynamic linking.
18062 link_static_flag=$lt_lt_prog_compiler_static
18064 # Compiler flag to turn off builtin functions.
18065 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18067 # Compiler flag to allow reflexive dlopens.
18068 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18070 # Compiler flag to generate shared objects directly from archives.
18071 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18073 # Compiler flag to generate thread-safe objects.
18074 thread_safe_flag_spec=$lt_thread_safe_flag_spec
18076 # Library versioning type.
18077 version_type=$version_type
18079 # Format of library name prefix.
18080 libname_spec=$lt_libname_spec
18082 # List of archive names. First name is the real one, the rest are links.
18083 # The last name is the one that the linker finds with -lNAME.
18084 library_names_spec=$lt_library_names_spec
18086 # The coded name of the library, if different from the real name.
18087 soname_spec=$lt_soname_spec
18089 # Commands used to build and install an old-style archive.
18091 old_archive_cmds=$lt_old_archive_cmds
18092 old_postinstall_cmds=$lt_old_postinstall_cmds
18093 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18095 # Create an old-style archive from a shared archive.
18096 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18098 # Create a temporary old-style archive to link instead of a shared archive.
18099 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18101 # Commands used to build and install a shared archive.
18102 archive_cmds=$lt_archive_cmds
18103 archive_expsym_cmds=$lt_archive_expsym_cmds
18104 postinstall_cmds=$lt_postinstall_cmds
18105 postuninstall_cmds=$lt_postuninstall_cmds
18107 # Commands used to build a loadable module (assumed same as above if empty)
18108 module_cmds=$lt_module_cmds
18109 module_expsym_cmds=$lt_module_expsym_cmds
18111 # Commands to strip libraries.
18112 old_striplib=$lt_old_striplib
18113 striplib=$lt_striplib
18115 # Dependencies to place before the objects being linked to create a
18117 predep_objects=$lt_predep_objects
18119 # Dependencies to place after the objects being linked to create a
18121 postdep_objects=$lt_postdep_objects
18123 # Dependencies to place before the objects being linked to create a
18125 predeps=$lt_predeps
18127 # Dependencies to place after the objects being linked to create a
18129 postdeps=$lt_postdeps
18131 # The library search path used internally by the compiler when linking
18132 # a shared library.
18133 compiler_lib_search_path=$lt_compiler_lib_search_path
18135 # Method to check whether dependent libraries are shared objects.
18136 deplibs_check_method=$lt_deplibs_check_method
18138 # Command to use when deplibs_check_method == file_magic.
18139 file_magic_cmd=$lt_file_magic_cmd
18141 # Flag that allows shared libraries with undefined symbols to be built.
18142 allow_undefined_flag=$lt_allow_undefined_flag
18144 # Flag that forces no undefined symbols.
18145 no_undefined_flag=$lt_no_undefined_flag
18147 # Commands used to finish a libtool library installation in a directory.
18148 finish_cmds=$lt_finish_cmds
18150 # Same as above, but a single script fragment to be evaled but not shown.
18151 finish_eval=$lt_finish_eval
18153 # Take the output of nm and produce a listing of raw symbols and C names.
18154 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18156 # Transform the output of nm in a proper C declaration
18157 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18159 # Transform the output of nm in a C name address pair
18160 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18162 # This is the shared library runtime path variable.
18163 runpath_var=$runpath_var
18165 # This is the shared library path variable.
18166 shlibpath_var=$shlibpath_var
18168 # Is shlibpath searched before the hard-coded library search path?
18169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18171 # How to hardcode a shared library path into an executable.
18172 hardcode_action=$hardcode_action
18174 # Whether we should hardcode library paths into libraries.
18175 hardcode_into_libs=$hardcode_into_libs
18177 # Flag to hardcode \$libdir into a binary during linking.
18178 # This must work even if \$libdir does not exist.
18179 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18181 # If ld is used when linking, flag to hardcode \$libdir into
18182 # a binary during linking. This must work even if \$libdir does
18184 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18186 # Whether we need a single -rpath flag with a separated argument.
18187 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18189 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18190 # resulting binary.
18191 hardcode_direct=$hardcode_direct
18193 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18194 # resulting binary.
18195 hardcode_minus_L=$hardcode_minus_L
18197 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18198 # the resulting binary.
18199 hardcode_shlibpath_var=$hardcode_shlibpath_var
18201 # Set to yes if building a shared library automatically hardcodes DIR into the library
18202 # and all subsequent libraries and executables linked against it.
18203 hardcode_automatic=$hardcode_automatic
18205 # Variables whose values should be saved in libtool wrapper scripts and
18206 # restored at relink time.
18207 variables_saved_for_relink="$variables_saved_for_relink"
18209 # Whether libtool must link a program against all its dependency libraries.
18210 link_all_deplibs=$link_all_deplibs
18212 # Compile-time system search path for libraries
18213 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18215 # Run-time system search path for libraries
18216 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18218 # Fix the shell variable \$srcfile for the compiler.
18219 fix_srcfile_path=$lt_fix_srcfile_path
18221 # Set to yes if exported symbols are required.
18222 always_export_symbols=$always_export_symbols
18224 # The commands to list exported symbols.
18225 export_symbols_cmds=$lt_export_symbols_cmds
18227 # The commands to extract the exported symbol list from a shared archive.
18228 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18230 # Symbols that should not be listed in the preloaded symbols.
18231 exclude_expsyms=$lt_exclude_expsyms
18233 # Symbols that must always be exported.
18234 include_expsyms=$lt_include_expsyms
18236 # ### END LIBTOOL CONFIG
18243 cat <<\EOF >> "$cfgfile"
18245 # AIX sometimes has problems with the GCC collect2 program. For some
18246 # reason, if we set the COLLECT_NAMES environment variable, the problems
18247 # vanish in a puff of smoke.
18248 if test "X${COLLECT_NAMES+set}" != Xset; then
18250 export COLLECT_NAMES
18256 # We use sed instead of cat because bash on DJGPP gets confused if
18257 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18258 # text mode, it properly converts lines to CR/LF. This bash problem
18259 # is reportedly fixed, but why not run on old versions too?
18260 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18262 mv -f "$cfgfile" "$ofile" || \
18263 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18267 # If there is no Makefile yet, we rely on a make rule to execute
18268 # `config.status --recheck' to rerun these tests and create the
18269 # libtool script then.
18270 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18271 if test -f "$ltmain_in"; then
18272 test -f Makefile && make "$ltmain"
18278 ac_cpp='$CPP $CPPFLAGS'
18279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18286 # Check whether --with-tags was given.
18287 if test "${with_tags+set}" = set; then
18288 withval=$with_tags; tagnames="$withval"
18292 if test -f "$ltmain" && test -n "$tagnames"; then
18293 if test ! -f "${ofile}"; then
18294 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18295 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18298 if test -z "$LTCC"; then
18299 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18300 if test -z "$LTCC"; then
18301 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18302 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18304 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18305 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18308 if test -z "$LTCFLAGS"; then
18309 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18312 # Extract list of available tagged configurations in $ofile.
18313 # Note that this assumes the entire list is on one line.
18314 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18316 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18317 for tagname in $tagnames; do
18319 # Check whether tagname contains only valid characters
18320 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18322 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18323 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18324 { (exit 1); exit 1; }; }
18328 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18330 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18331 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18332 { (exit 1); exit 1; }; }
18335 # Update the list of available tags.
18336 if test -n "$tagname"; then
18337 echo appending configuration tag \"$tagname\" to $ofile
18341 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18342 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18343 (test "X$CXX" != "Xg++"))) ; then
18345 ac_cpp='$CXXCPP $CPPFLAGS'
18346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18353 archive_cmds_need_lc_CXX=no
18354 allow_undefined_flag_CXX=
18355 always_export_symbols_CXX=no
18356 archive_expsym_cmds_CXX=
18357 export_dynamic_flag_spec_CXX=
18358 hardcode_direct_CXX=no
18359 hardcode_libdir_flag_spec_CXX=
18360 hardcode_libdir_flag_spec_ld_CXX=
18361 hardcode_libdir_separator_CXX=
18362 hardcode_minus_L_CXX=no
18363 hardcode_shlibpath_var_CXX=unsupported
18364 hardcode_automatic_CXX=no
18366 module_expsym_cmds_CXX=
18367 link_all_deplibs_CXX=unknown
18368 old_archive_cmds_CXX=$old_archive_cmds
18369 no_undefined_flag_CXX=
18370 whole_archive_flag_spec_CXX=
18371 enable_shared_with_static_runtimes_CXX=no
18373 # Dependencies to place before and after the object being linked:
18374 predep_objects_CXX=
18375 postdep_objects_CXX=
18378 compiler_lib_search_path_CXX=
18380 # Source file extension for C++ test sources.
18383 # Object file extension for compiled C++ test sources.
18387 # Code to be used in simple compile tests
18388 lt_simple_compile_test_code="int some_variable = 0;"
18390 # Code to be used in simple link tests
18391 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18393 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18395 # If no C compiler was specified, use CC.
18398 # If no C compiler flags were specified, use CFLAGS.
18399 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18401 # Allow CC to be a program name with arguments.
18405 # save warnings/boilerplate of simple test code
18406 ac_outfile=conftest.$ac_objext
18407 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18408 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18409 _lt_compiler_boilerplate=`cat conftest.err`
18412 ac_outfile=conftest.$ac_objext
18413 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18414 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18415 _lt_linker_boilerplate=`cat conftest.err`
18419 # Allow CC to be a program name with arguments.
18424 lt_save_with_gnu_ld=$with_gnu_ld
18425 lt_save_path_LD=$lt_cv_path_LD
18426 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18427 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18429 $as_unset lt_cv_prog_gnu_ld
18431 if test -n "${lt_cv_path_LDCXX+set}"; then
18432 lt_cv_path_LD=$lt_cv_path_LDCXX
18434 $as_unset lt_cv_path_LD
18436 test -z "${LDCXX+set}" || LD=$LDCXX
18440 for cc_temp in $compiler""; do
18442 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18443 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18448 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18451 # We don't want -fno-exception wen compiling C++ code, so set the
18452 # no_builtin_flag separately
18453 if test "$GXX" = yes; then
18454 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18456 lt_prog_compiler_no_builtin_flag_CXX=
18459 if test "$GXX" = yes; then
18460 # Set up default GNU C++ configuration
18463 # Check whether --with-gnu-ld was given.
18464 if test "${with_gnu_ld+set}" = set; then
18465 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18471 if test "$GCC" = yes; then
18472 # Check if gcc -print-prog-name=ld gives a path.
18473 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18474 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18477 # gcc leaves a trailing carriage return which upsets mingw
18478 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18480 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18483 # Accept absolute paths.
18485 re_direlt='/[^/][^/]*/\.\./'
18486 # Canonicalize the pathname of ld
18487 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18488 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18489 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18491 test -z "$LD" && LD="$ac_prog"
18494 # If it fails, then pretend we aren't using GCC.
18498 # If it is relative, then search for the first ld in PATH.
18499 with_gnu_ld=unknown
18502 elif test "$with_gnu_ld" = yes; then
18503 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18504 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18506 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18507 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18509 if test "${lt_cv_path_LD+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 if test -z "$LD"; then
18513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18514 for ac_dir in $PATH; do
18516 test -z "$ac_dir" && ac_dir=.
18517 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18518 lt_cv_path_LD="$ac_dir/$ac_prog"
18519 # Check to see if the program is GNU ld. I'd rather use --version,
18520 # but apparently some variants of GNU ld only accept -v.
18521 # Break only if it was the GNU/non-GNU ld that we prefer.
18522 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18523 *GNU* | *'with BFD'*)
18524 test "$with_gnu_ld" != no && break
18527 test "$with_gnu_ld" != yes && break
18534 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18538 LD="$lt_cv_path_LD"
18539 if test -n "$LD"; then
18540 { echo "$as_me:$LINENO: result: $LD" >&5
18541 echo "${ECHO_T}$LD" >&6; }
18543 { echo "$as_me:$LINENO: result: no" >&5
18544 echo "${ECHO_T}no" >&6; }
18546 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18547 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18548 { (exit 1); exit 1; }; }
18549 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18550 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18551 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18555 case `$LD -v 2>&1 </dev/null` in
18556 *GNU* | *'with BFD'*)
18557 lt_cv_prog_gnu_ld=yes
18560 lt_cv_prog_gnu_ld=no
18564 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18565 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18566 with_gnu_ld=$lt_cv_prog_gnu_ld
18570 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18571 # archiving commands below assume that GNU ld is being used.
18572 if test "$with_gnu_ld" = yes; then
18573 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18574 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18576 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18577 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18579 # If archive_cmds runs LD, not CC, wlarc should be empty
18580 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18581 # investigate it a little bit more. (MM)
18584 # ancient GNU ld didn't support --whole-archive et. al.
18585 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18586 grep 'no-whole-archive' > /dev/null; then
18587 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18589 whole_archive_flag_spec_CXX=
18595 # A generic and very simple default shared library creation
18596 # command for GNU C++ for the case where it uses the native
18597 # linker, instead of GNU ld. If possible, this setting should
18598 # overridden to take advantage of the native linker features on
18599 # the platform it is being used on.
18600 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18603 # Commands to make compiler produce verbose output that lists
18604 # what "hidden" libraries, object files and flags are used when
18605 # linking a shared library.
18606 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18614 # PORTME: fill in a description of your system's C++ link characteristics
18615 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18616 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18620 # FIXME: insert proper C++ library support
18624 if test "$host_cpu" = ia64; then
18625 # On IA64, the linker does run time linking by default, so we don't
18626 # have to do anything special.
18627 aix_use_runtimelinking=no
18628 exp_sym_flag='-Bexport'
18631 aix_use_runtimelinking=no
18633 # Test if we are trying to use run time linking or normal
18634 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18635 # need to do runtime linking.
18636 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18637 for ld_flag in $LDFLAGS; do
18640 aix_use_runtimelinking=yes
18648 exp_sym_flag='-bexport'
18649 no_entry_flag='-bnoentry'
18652 # When large executables or shared objects are built, AIX ld can
18653 # have problems creating the table of contents. If linking a library
18654 # or program results in "error TOC overflow" add -mminimal-toc to
18655 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18656 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18658 archive_cmds_CXX=''
18659 hardcode_direct_CXX=yes
18660 hardcode_libdir_separator_CXX=':'
18661 link_all_deplibs_CXX=yes
18663 if test "$GXX" = yes; then
18664 case $host_os in aix4.[012]|aix4.[012].*)
18665 # We only want to do this on AIX 4.2 and lower, the check
18666 # below for broken collect2 doesn't work under 4.3+
18667 collect2name=`${CC} -print-prog-name=collect2`
18668 if test -f "$collect2name" && \
18669 strings "$collect2name" | grep resolve_lib_name >/dev/null
18671 # We have reworked collect2
18674 # We have old collect2
18675 hardcode_direct_CXX=unsupported
18676 # It fails to find uninstalled libraries when the uninstalled
18677 # path is not listed in the libpath. Setting hardcode_minus_L
18678 # to unsupported forces relinking
18679 hardcode_minus_L_CXX=yes
18680 hardcode_libdir_flag_spec_CXX='-L$libdir'
18681 hardcode_libdir_separator_CXX=
18685 shared_flag='-shared'
18686 if test "$aix_use_runtimelinking" = yes; then
18687 shared_flag="$shared_flag "'${wl}-G'
18691 if test "$host_cpu" = ia64; then
18692 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18693 # chokes on -Wl,-G. The following line is correct:
18696 if test "$aix_use_runtimelinking" = yes; then
18697 shared_flag='${wl}-G'
18699 shared_flag='${wl}-bM:SRE'
18704 # It seems that -bexpall does not export symbols beginning with
18705 # underscore (_), so it is better to generate a list of symbols to export.
18706 always_export_symbols_CXX=yes
18707 if test "$aix_use_runtimelinking" = yes; then
18708 # Warning - without using the other runtime loading flags (-brtl),
18709 # -berok will link without error, but may produce a broken library.
18710 allow_undefined_flag_CXX='-berok'
18711 # Determine the default libpath from the value encoded in an empty executable.
18712 cat >conftest.$ac_ext <<_ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18727 rm -f conftest.$ac_objext conftest$ac_exeext
18728 if { (ac_try="$ac_link"
18729 case "(($ac_try" in
18730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18731 *) ac_try_echo=$ac_try;;
18733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18734 (eval "$ac_link") 2>conftest.er1
18736 grep -v '^ *+' conftest.er1 >conftest.err
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } && {
18741 test -z "$ac_cxx_werror_flag" ||
18742 test ! -s conftest.err
18743 } && test -s conftest$ac_exeext &&
18744 $as_test_x conftest$ac_exeext; then
18746 lt_aix_libpath_sed='
18747 /Import File Strings/,/^$/ {
18753 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18754 # Check for a 64-bit object if we didn't find anything.
18755 if test -z "$aix_libpath"; then
18756 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.$ac_ext >&5
18765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18766 conftest$ac_exeext conftest.$ac_ext
18767 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18769 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18771 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18773 if test "$host_cpu" = ia64; then
18774 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18775 allow_undefined_flag_CXX="-z nodefs"
18776 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18778 # Determine the default libpath from the value encoded in an empty executable.
18779 cat >conftest.$ac_ext <<_ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18794 rm -f conftest.$ac_objext conftest$ac_exeext
18795 if { (ac_try="$ac_link"
18796 case "(($ac_try" in
18797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18798 *) ac_try_echo=$ac_try;;
18800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18801 (eval "$ac_link") 2>conftest.er1
18803 grep -v '^ *+' conftest.er1 >conftest.err
18805 cat conftest.err >&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } && {
18808 test -z "$ac_cxx_werror_flag" ||
18809 test ! -s conftest.err
18810 } && test -s conftest$ac_exeext &&
18811 $as_test_x conftest$ac_exeext; then
18813 lt_aix_libpath_sed='
18814 /Import File Strings/,/^$/ {
18820 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18821 # Check for a 64-bit object if we didn't find anything.
18822 if test -z "$aix_libpath"; then
18823 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18833 conftest$ac_exeext conftest.$ac_ext
18834 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18836 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18837 # Warning - without using the other run time loading flags,
18838 # -berok will link without error, but may produce a broken library.
18839 no_undefined_flag_CXX=' ${wl}-bernotok'
18840 allow_undefined_flag_CXX=' ${wl}-berok'
18841 # Exported symbols can be pulled into shared objects from archives
18842 whole_archive_flag_spec_CXX='$convenience'
18843 archive_cmds_need_lc_CXX=yes
18844 # This is similar to how AIX traditionally builds its shared libraries.
18845 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18851 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18852 allow_undefined_flag_CXX=unsupported
18853 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18854 # support --undefined. This deserves some investigation. FIXME
18855 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18862 case $cc_basename in
18864 # FIXME: insert proper C++ library support
18870 cygwin* | mingw* | pw32*)
18871 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18872 # as there is no search path for DLLs.
18873 hardcode_libdir_flag_spec_CXX='-L$libdir'
18874 allow_undefined_flag_CXX=unsupported
18875 always_export_symbols_CXX=no
18876 enable_shared_with_static_runtimes_CXX=yes
18878 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18879 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18880 # If the export-symbols file already is a .def file (1st line
18881 # is EXPORTS), use it as is; otherwise, prepend...
18882 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18883 cp $export_symbols $output_objdir/$soname.def;
18885 echo EXPORTS > $output_objdir/$soname.def;
18886 cat $export_symbols >> $output_objdir/$soname.def;
18888 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18893 darwin* | rhapsody*)
18895 rhapsody* | darwin1.[012])
18896 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18899 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18900 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18902 case ${MACOSX_DEPLOYMENT_TARGET} in
18904 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18907 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18913 archive_cmds_need_lc_CXX=no
18914 hardcode_direct_CXX=no
18915 hardcode_automatic_CXX=yes
18916 hardcode_shlibpath_var_CXX=unsupported
18917 whole_archive_flag_spec_CXX=''
18918 link_all_deplibs_CXX=yes
18920 if test "$GXX" = yes ; then
18921 lt_int_apple_cc_single_mod=no
18922 output_verbose_link_cmd='echo'
18923 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18924 lt_int_apple_cc_single_mod=yes
18926 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18927 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18929 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18931 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18932 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18933 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18934 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18936 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18938 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18940 case $cc_basename in
18942 output_verbose_link_cmd='echo'
18943 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18944 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18945 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18946 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18947 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18957 case $cc_basename in
18959 # FIXME: insert proper C++ library support
18963 # Green Hills C++ Compiler
18964 # FIXME: insert proper C++ library support
18968 # FIXME: insert proper C++ library support
18974 # C++ shared libraries reported to be fairly broken before switch to ELF
18978 archive_cmds_need_lc_CXX=no
18980 freebsd* | dragonfly*)
18981 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18988 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18989 hardcode_libdir_separator_CXX=:
18990 export_dynamic_flag_spec_CXX='${wl}-E'
18991 hardcode_direct_CXX=yes
18992 hardcode_minus_L_CXX=yes # Not in the search PATH,
18993 # but as the default
18994 # location of the library.
18996 case $cc_basename in
18998 # FIXME: insert proper C++ library support
19002 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19003 # Commands to make compiler produce verbose output that lists
19004 # what "hidden" libraries, object files and flags are used when
19005 # linking a shared library.
19007 # There doesn't appear to be a way to prevent this compiler from
19008 # explicitly linking system object files so we need to strip them
19009 # from the output so that they don't get included in the library
19011 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19014 if test "$GXX" = yes; then
19015 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19017 # FIXME: insert proper C++ library support
19024 if test $with_gnu_ld = no; then
19025 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19026 hardcode_libdir_separator_CXX=:
19031 export_dynamic_flag_spec_CXX='${wl}-E'
19037 hardcode_direct_CXX=no
19038 hardcode_shlibpath_var_CXX=no
19041 hardcode_direct_CXX=yes
19042 hardcode_minus_L_CXX=yes # Not in the search PATH,
19043 # but as the default
19044 # location of the library.
19048 case $cc_basename in
19050 # FIXME: insert proper C++ library support
19056 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19059 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19062 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19065 # Commands to make compiler produce verbose output that lists
19066 # what "hidden" libraries, object files and flags are used when
19067 # linking a shared library.
19069 # There doesn't appear to be a way to prevent this compiler from
19070 # explicitly linking system object files so we need to strip them
19071 # from the output so that they don't get included in the library
19073 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19076 if test "$GXX" = yes; then
19077 if test $with_gnu_ld = no; then
19080 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19083 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19086 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19091 # FIXME: insert proper C++ library support
19098 hardcode_direct_CXX=no
19099 hardcode_shlibpath_var_CXX=no
19100 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19101 export_dynamic_flag_spec_CXX='${wl}-E'
19102 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19103 # Instead, shared libraries are loaded at an image base (0x10000000 by
19104 # default) and relocated if they conflict, which is a slow very memory
19105 # consuming and fragmenting process. To avoid this, we pick a random,
19106 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19107 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19108 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19109 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19112 case $cc_basename in
19115 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19117 # Archives containing C++ object files must be created using
19118 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19119 # necessary to make sure instantiated templates are included
19121 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19124 if test "$GXX" = yes; then
19125 if test "$with_gnu_ld" = no; then
19126 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19128 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
19131 link_all_deplibs_CXX=yes
19134 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19135 hardcode_libdir_separator_CXX=:
19137 linux* | k*bsd*-gnu)
19138 case $cc_basename in
19140 # Kuck and Associates, Inc. (KAI) C++ Compiler
19142 # KCC will only create a shared library if the output file
19143 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19144 # to its proper name (with version) after linking.
19145 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19146 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
19147 # Commands to make compiler produce verbose output that lists
19148 # what "hidden" libraries, object files and flags are used when
19149 # linking a shared library.
19151 # There doesn't appear to be a way to prevent this compiler from
19152 # explicitly linking system object files so we need to strip them
19153 # from the output so that they don't get included in the library
19155 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19157 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19158 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19160 # Archives containing C++ object files must be created using
19161 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19162 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19167 # version 8.0 and above of icpc choke on multiply defined symbols
19168 # if we add $predep_objects and $postdep_objects, however 7.1 and
19169 # earlier do not add the objects themselves.
19170 case `$CC -V 2>&1` in
19172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19173 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19175 *) # Version 8.0 or newer
19178 ia64*) tmp_idyn=' -i_dynamic';;
19180 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19181 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19184 archive_cmds_need_lc_CXX=no
19185 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19186 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19187 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19190 # Portland Group C++ compiler
19191 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19192 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
19194 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19195 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19196 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19200 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19201 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
19203 runpath_var=LD_RUN_PATH
19204 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19205 hardcode_libdir_separator_CXX=:
19207 # Commands to make compiler produce verbose output that lists
19208 # what "hidden" libraries, object files and flags are used when
19209 # linking a shared library.
19211 # There doesn't appear to be a way to prevent this compiler from
19212 # explicitly linking system object files so we need to strip them
19213 # from the output so that they don't get included in the library
19215 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19218 case `$CC -V 2>&1 | sed 5q` in
19221 no_undefined_flag_CXX=' -zdefs'
19222 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19223 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
19224 hardcode_libdir_flag_spec_CXX='-R$libdir'
19225 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19227 # Not sure whether something based on
19228 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19230 output_verbose_link_cmd='echo'
19232 # Archives containing C++ object files must be created using
19233 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19234 # necessary to make sure instantiated templates are included
19236 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19243 # FIXME: insert proper C++ library support
19247 # FIXME: insert proper C++ library support
19251 case $cc_basename in
19253 # FIXME: insert proper C++ library support
19257 # FIXME: insert proper C++ library support
19263 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19264 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19266 hardcode_libdir_flag_spec_CXX='-R$libdir'
19267 hardcode_direct_CXX=yes
19268 hardcode_shlibpath_var_CXX=no
19270 # Workaround some broken pre-1.5 toolchains
19271 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19274 # C++ shared libraries are fairly broken
19278 if test -f /usr/libexec/ld.so; then
19279 hardcode_direct_CXX=yes
19280 hardcode_shlibpath_var_CXX=no
19281 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19282 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19283 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19284 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19285 export_dynamic_flag_spec_CXX='${wl}-E'
19286 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19288 output_verbose_link_cmd='echo'
19294 case $cc_basename in
19296 # Kuck and Associates, Inc. (KAI) C++ Compiler
19298 # KCC will only create a shared library if the output file
19299 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19300 # to its proper name (with version) after linking.
19301 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19303 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19304 hardcode_libdir_separator_CXX=:
19306 # Archives containing C++ object files must be created using
19307 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19308 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19312 # Rational C++ 2.4.1
19313 # FIXME: insert proper C++ library support
19317 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19318 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19320 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19321 hardcode_libdir_separator_CXX=:
19323 # Commands to make compiler produce verbose output that lists
19324 # what "hidden" libraries, object files and flags are used when
19325 # linking a shared library.
19327 # There doesn't appear to be a way to prevent this compiler from
19328 # explicitly linking system object files so we need to strip them
19329 # from the output so that they don't get included in the library
19331 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19334 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19335 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19336 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19338 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19339 hardcode_libdir_separator_CXX=:
19341 # Commands to make compiler produce verbose output that lists
19342 # what "hidden" libraries, object files and flags are used when
19343 # linking a shared library.
19344 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19347 # FIXME: insert proper C++ library support
19354 case $cc_basename in
19356 # Kuck and Associates, Inc. (KAI) C++ Compiler
19358 # KCC will only create a shared library if the output file
19359 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19360 # to its proper name (with version) after linking.
19361 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19363 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19364 hardcode_libdir_separator_CXX=:
19366 # Archives containing C++ object files must be created using
19367 # the KAI C++ compiler.
19368 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19371 # Rational C++ 2.4.1
19372 # FIXME: insert proper C++ library support
19376 allow_undefined_flag_CXX=' -expect_unresolved \*'
19377 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19378 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19379 echo "-hidden">> $lib.exp~
19380 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
19383 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19384 hardcode_libdir_separator_CXX=:
19386 # Commands to make compiler produce verbose output that lists
19387 # what "hidden" libraries, object files and flags are used when
19388 # linking a shared library.
19390 # There doesn't appear to be a way to prevent this compiler from
19391 # explicitly linking system object files so we need to strip them
19392 # from the output so that they don't get included in the library
19394 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19397 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19398 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19399 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19401 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19402 hardcode_libdir_separator_CXX=:
19404 # Commands to make compiler produce verbose output that lists
19405 # what "hidden" libraries, object files and flags are used when
19406 # linking a shared library.
19407 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19410 # FIXME: insert proper C++ library support
19417 # FIXME: insert proper C++ library support
19421 case $cc_basename in
19424 # FIXME: insert proper C++ library support
19429 # FIXME: insert proper C++ library support
19433 # FIXME: insert proper C++ library support
19439 case $cc_basename in
19441 # Sun C++ 4.2, 5.x and Centerline C++
19442 archive_cmds_need_lc_CXX=yes
19443 no_undefined_flag_CXX=' -zdefs'
19444 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19445 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19446 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19448 hardcode_libdir_flag_spec_CXX='-R$libdir'
19449 hardcode_shlibpath_var_CXX=no
19451 solaris2.[0-5] | solaris2.[0-5].*) ;;
19453 # The compiler driver will combine and reorder linker options,
19454 # but understands `-z linker_flag'.
19455 # Supported since Solaris 2.6 (maybe 2.5.1?)
19456 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19459 link_all_deplibs_CXX=yes
19461 output_verbose_link_cmd='echo'
19463 # Archives containing C++ object files must be created using
19464 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19465 # necessary to make sure instantiated templates are included
19467 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19470 # Green Hills C++ Compiler
19471 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19473 # The C++ compiler must be used to create the archive.
19474 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19477 # GNU C++ compiler with Solaris linker
19478 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19479 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19480 if $CC --version | grep -v '^2\.7' > /dev/null; then
19481 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19482 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19483 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19485 # Commands to make compiler produce verbose output that lists
19486 # what "hidden" libraries, object files and flags are used when
19487 # linking a shared library.
19488 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19490 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19492 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19493 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19494 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19496 # Commands to make compiler produce verbose output that lists
19497 # what "hidden" libraries, object files and flags are used when
19498 # linking a shared library.
19499 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19502 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19504 solaris2.[0-5] | solaris2.[0-5].*) ;;
19506 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19513 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19514 no_undefined_flag_CXX='${wl}-z,text'
19515 archive_cmds_need_lc_CXX=no
19516 hardcode_shlibpath_var_CXX=no
19517 runpath_var='LD_RUN_PATH'
19519 case $cc_basename in
19521 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19522 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19525 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19526 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19530 sysv5* | sco3.2v5* | sco5v6*)
19531 # Note: We can NOT use -z defs as we might desire, because we do not
19532 # link with -lc, and that would cause any symbols used from libc to
19533 # always be unresolved, which means just about no library would
19534 # ever link correctly. If we're not using GNU ld we use -z text
19535 # though, which does catch some bad symbols but isn't as heavy-handed
19537 # For security reasons, it is highly recommended that you always
19538 # use absolute paths for naming shared libraries, and exclude the
19539 # DT_RUNPATH tag from executables and libraries. But doing so
19540 # requires that you compile everything twice, which is a pain.
19541 # So that behaviour is only enabled if SCOABSPATH is set to a
19542 # non-empty value in the environment. Most likely only useful for
19543 # creating official distributions of packages.
19544 # This is a hack until libtool officially supports absolute path
19545 # names for shared libraries.
19546 no_undefined_flag_CXX='${wl}-z,text'
19547 allow_undefined_flag_CXX='${wl}-z,nodefs'
19548 archive_cmds_need_lc_CXX=no
19549 hardcode_shlibpath_var_CXX=no
19550 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19551 hardcode_libdir_separator_CXX=':'
19552 link_all_deplibs_CXX=yes
19553 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19554 runpath_var='LD_RUN_PATH'
19556 case $cc_basename in
19558 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19559 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19562 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19563 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19568 case $cc_basename in
19570 # NonStop-UX NCC 3.20
19571 # FIXME: insert proper C++ library support
19575 # FIXME: insert proper C++ library support
19581 # FIXME: insert proper C++ library support
19585 # FIXME: insert proper C++ library support
19589 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19590 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19591 test "$ld_shlibs_CXX" = no && can_build_shared=no
19597 cat > conftest.$ac_ext <<EOF
19601 Foo (void) { a = 0; }
19607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19608 (eval $ac_compile) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; then
19612 # Parse the compiler output and extract the necessary
19613 # objects, libraries and library flags.
19615 # Sentinel used to keep track of whether or not we are before
19616 # the conftest object file.
19617 pre_test_object_deps_done=no
19619 # The `*' in the case matches for architectures that use `case' in
19620 # $output_verbose_cmd can trigger glob expansion during the loop
19621 # eval without this substitution.
19622 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19624 for p in `eval $output_verbose_link_cmd`; do
19628 # Some compilers place space between "-{L,R}" and the path.
19629 # Remove the space.
19630 if test $p = "-L" \
19631 || test $p = "-R"; then
19638 if test "$pre_test_object_deps_done" = no; then
19641 # Internal compiler library paths should come after those
19642 # provided the user. The postdeps already come after the
19643 # user supplied libs so there is no need to process them.
19644 if test -z "$compiler_lib_search_path_CXX"; then
19645 compiler_lib_search_path_CXX="${prev}${p}"
19647 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19650 # The "-l" case would never come before the object being
19651 # linked, so don't bother handling this case.
19654 if test -z "$postdeps_CXX"; then
19655 postdeps_CXX="${prev}${p}"
19657 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19663 # This assumes that the test object file only shows up
19664 # once in the compiler output.
19665 if test "$p" = "conftest.$objext"; then
19666 pre_test_object_deps_done=yes
19670 if test "$pre_test_object_deps_done" = no; then
19671 if test -z "$predep_objects_CXX"; then
19672 predep_objects_CXX="$p"
19674 predep_objects_CXX="$predep_objects_CXX $p"
19677 if test -z "$postdep_objects_CXX"; then
19678 postdep_objects_CXX="$p"
19680 postdep_objects_CXX="$postdep_objects_CXX $p"
19685 *) ;; # Ignore the rest.
19693 echo "libtool.m4: error: problem compiling CXX test program"
19696 $rm -f confest.$objext
19698 # PORTME: override above test on systems where it is broken
19701 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19702 # hack all around it, let's just trust "g++" to DTRT.
19703 predep_objects_CXX=
19704 postdep_objects_CXX=
19709 case `$CC -V 2>&1 | sed 5q` in
19713 # The more standards-conforming stlport4 library is
19714 # incompatible with the Cstd library. Avoid specifying
19715 # it if it's in CXXFLAGS. Ignore libCrun as
19716 # -library=stlport4 depends on it.
19717 case " $CXX $CXXFLAGS " in
19718 *" -library=stlport4 "*)
19719 solaris_use_stlport4=yes
19722 if test "$solaris_use_stlport4" != yes; then
19723 postdeps_CXX='-library=Cstd -library=Crun'
19730 case $cc_basename in
19732 # The more standards-conforming stlport4 library is
19733 # incompatible with the Cstd library. Avoid specifying
19734 # it if it's in CXXFLAGS. Ignore libCrun as
19735 # -library=stlport4 depends on it.
19736 case " $CXX $CXXFLAGS " in
19737 *" -library=stlport4 "*)
19738 solaris_use_stlport4=yes
19742 # Adding this requires a known-good setup of shared libraries for
19743 # Sun compiler versions before 5.6, else PIC objects from an old
19744 # archive will be linked into the output, leading to subtle bugs.
19745 if test "$solaris_use_stlport4" != yes; then
19746 postdeps_CXX='-library=Cstd -library=Crun'
19754 case " $postdeps_CXX " in
19755 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19758 lt_prog_compiler_wl_CXX=
19759 lt_prog_compiler_pic_CXX=
19760 lt_prog_compiler_static_CXX=
19762 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19763 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19765 # C++ specific cases for pic, static, wl, etc.
19766 if test "$GXX" = yes; then
19767 lt_prog_compiler_wl_CXX='-Wl,'
19768 lt_prog_compiler_static_CXX='-static'
19772 # All AIX code is PIC.
19773 if test "$host_cpu" = ia64; then
19774 # AIX 5 now supports IA64 processor
19775 lt_prog_compiler_static_CXX='-Bstatic'
19779 # FIXME: we need at least 68020 code to build shared libraries, but
19780 # adding the `-m68020' flag to GCC prevents building anything better,
19782 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19784 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19785 # PIC is the default for these OSes.
19787 mingw* | cygwin* | os2* | pw32*)
19788 # This hack is so that the source file can tell whether it is being
19789 # built for inclusion in a dll (and should export symbols for example).
19790 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19791 # (--disable-auto-import) libraries
19792 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19794 darwin* | rhapsody*)
19795 # PIC is the default on this platform
19796 # Common symbols not allowed in MH_DYLIB files
19797 lt_prog_compiler_pic_CXX='-fno-common'
19800 # DJGPP does not support shared libraries at all
19801 lt_prog_compiler_pic_CXX=
19804 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19805 # Instead, we relocate shared libraries at runtime.
19808 if test -d /usr/nec; then
19809 lt_prog_compiler_pic_CXX=-Kconform_pic
19813 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19814 # not for PA HP-UX.
19819 lt_prog_compiler_pic_CXX='-fPIC'
19824 lt_prog_compiler_pic_CXX='-fPIC'
19830 # All AIX code is PIC.
19831 if test "$host_cpu" = ia64; then
19832 # AIX 5 now supports IA64 processor
19833 lt_prog_compiler_static_CXX='-Bstatic'
19835 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19839 case $cc_basename in
19841 # Green Hills C++ Compiler
19842 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19847 # PIC is the default on this platform
19848 # Common symbols not allowed in MH_DYLIB files
19849 case $cc_basename in
19851 lt_prog_compiler_pic_CXX='-qnocommon'
19852 lt_prog_compiler_wl_CXX='-Wl,'
19857 case $cc_basename in
19859 lt_prog_compiler_pic_CXX='-KPIC'
19862 # Green Hills C++ Compiler
19863 lt_prog_compiler_pic_CXX='-pic'
19869 freebsd* | dragonfly*)
19870 # FreeBSD uses GNU C++
19872 hpux9* | hpux10* | hpux11*)
19873 case $cc_basename in
19875 lt_prog_compiler_wl_CXX='-Wl,'
19876 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19877 if test "$host_cpu" != ia64; then
19878 lt_prog_compiler_pic_CXX='+Z'
19882 lt_prog_compiler_wl_CXX='-Wl,'
19883 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19889 lt_prog_compiler_pic_CXX='+Z'
19898 # This is c89, which is MS Visual C++ (no shared libs)
19899 # Anyone wants to do a port?
19901 irix5* | irix6* | nonstopux*)
19902 case $cc_basename in
19904 lt_prog_compiler_wl_CXX='-Wl,'
19905 lt_prog_compiler_static_CXX='-non_shared'
19906 # CC pic flag -KPIC is the default.
19912 linux* | k*bsd*-gnu)
19913 case $cc_basename in
19916 lt_prog_compiler_wl_CXX='--backend -Wl,'
19917 lt_prog_compiler_pic_CXX='-fPIC'
19921 lt_prog_compiler_wl_CXX='-Wl,'
19922 lt_prog_compiler_pic_CXX='-KPIC'
19923 lt_prog_compiler_static_CXX='-static'
19926 # Portland Group C++ compiler.
19927 lt_prog_compiler_wl_CXX='-Wl,'
19928 lt_prog_compiler_pic_CXX='-fpic'
19929 lt_prog_compiler_static_CXX='-Bstatic'
19933 # Make sure the PIC flag is empty. It appears that all Alpha
19934 # Linux and Compaq Tru64 Unix objects are PIC.
19935 lt_prog_compiler_pic_CXX=
19936 lt_prog_compiler_static_CXX='-non_shared'
19939 case `$CC -V 2>&1 | sed 5q` in
19942 lt_prog_compiler_pic_CXX='-KPIC'
19943 lt_prog_compiler_static_CXX='-Bstatic'
19944 lt_prog_compiler_wl_CXX='-Qoption ld '
19955 case $cc_basename in
19957 lt_prog_compiler_pic_CXX='-W c,exportall'
19965 osf3* | osf4* | osf5*)
19966 case $cc_basename in
19968 lt_prog_compiler_wl_CXX='--backend -Wl,'
19971 # Rational C++ 2.4.1
19972 lt_prog_compiler_pic_CXX='-pic'
19975 # Digital/Compaq C++
19976 lt_prog_compiler_wl_CXX='-Wl,'
19977 # Make sure the PIC flag is empty. It appears that all Alpha
19978 # Linux and Compaq Tru64 Unix objects are PIC.
19979 lt_prog_compiler_pic_CXX=
19980 lt_prog_compiler_static_CXX='-non_shared'
19989 case $cc_basename in
19991 # Sun C++ 4.2, 5.x and Centerline C++
19992 lt_prog_compiler_pic_CXX='-KPIC'
19993 lt_prog_compiler_static_CXX='-Bstatic'
19994 lt_prog_compiler_wl_CXX='-Qoption ld '
19997 # Green Hills C++ Compiler
19998 lt_prog_compiler_pic_CXX='-PIC'
20005 case $cc_basename in
20008 lt_prog_compiler_pic_CXX='-pic'
20009 lt_prog_compiler_static_CXX='-Bstatic'
20013 lt_prog_compiler_pic_CXX='-pic'
20020 case $cc_basename in
20022 # NonStop-UX NCC 3.20
20023 lt_prog_compiler_pic_CXX='-KPIC'
20029 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20030 case $cc_basename in
20032 lt_prog_compiler_wl_CXX='-Wl,'
20033 lt_prog_compiler_pic_CXX='-KPIC'
20034 lt_prog_compiler_static_CXX='-Bstatic'
20041 lt_prog_compiler_can_build_shared_CXX=no
20046 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
20047 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
20050 # Check to make sure the PIC flag actually works.
20052 if test -n "$lt_prog_compiler_pic_CXX"; then
20054 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20055 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
20056 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 lt_prog_compiler_pic_works_CXX=no
20060 ac_outfile=conftest.$ac_objext
20061 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20062 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
20063 # Insert the option either (1) after the last *FLAGS variable, or
20064 # (2) before a word containing "conftest.", or (3) at the end.
20065 # Note that $ac_compile itself does not contain backslashes and begins
20066 # with a dollar sign (not a hyphen), so the echo should work correctly.
20067 # The option is referenced via a variable to avoid confusing sed.
20068 lt_compile=`echo "$ac_compile" | $SED \
20069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20071 -e 's:$: $lt_compiler_flag:'`
20072 (eval echo "\"\$as_me:20072: $lt_compile\"" >&5)
20073 (eval "$lt_compile" 2>conftest.err)
20075 cat conftest.err >&5
20076 echo "$as_me:20076: \$? = $ac_status" >&5
20077 if (exit $ac_status) && test -s "$ac_outfile"; then
20078 # The compiler can only warn and ignore the option if not recognized
20079 # So say no if there are warnings other than the usual output.
20080 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20081 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20082 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20083 lt_prog_compiler_pic_works_CXX=yes
20089 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20090 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
20092 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
20093 case $lt_prog_compiler_pic_CXX in
20095 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20098 lt_prog_compiler_pic_CXX=
20099 lt_prog_compiler_can_build_shared_CXX=no
20104 # For platforms which do not support PIC, -DPIC is meaningless:
20106 lt_prog_compiler_pic_CXX=
20109 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20114 # Check to make sure the static flag actually works.
20116 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20117 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20118 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20119 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 lt_prog_compiler_static_works_CXX=no
20123 save_LDFLAGS="$LDFLAGS"
20124 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20125 echo "$lt_simple_link_test_code" > conftest.$ac_ext
20126 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20127 # The linker can only warn and ignore the option if not recognized
20128 # So say no if there are warnings
20129 if test -s conftest.err; then
20130 # Append any errors to the config.log.
20131 cat conftest.err 1>&5
20132 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20133 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20134 if diff conftest.exp conftest.er2 >/dev/null; then
20135 lt_prog_compiler_static_works_CXX=yes
20138 lt_prog_compiler_static_works_CXX=yes
20142 LDFLAGS="$save_LDFLAGS"
20145 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20146 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
20148 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
20151 lt_prog_compiler_static_CXX=
20155 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20156 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20157 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20160 lt_cv_prog_compiler_c_o_CXX=no
20161 $rm -r conftest 2>/dev/null
20165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20167 lt_compiler_flag="-o out/conftest2.$ac_objext"
20168 # Insert the option either (1) after the last *FLAGS variable, or
20169 # (2) before a word containing "conftest.", or (3) at the end.
20170 # Note that $ac_compile itself does not contain backslashes and begins
20171 # with a dollar sign (not a hyphen), so the echo should work correctly.
20172 lt_compile=`echo "$ac_compile" | $SED \
20173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20175 -e 's:$: $lt_compiler_flag:'`
20176 (eval echo "\"\$as_me:20176: $lt_compile\"" >&5)
20177 (eval "$lt_compile" 2>out/conftest.err)
20179 cat out/conftest.err >&5
20180 echo "$as_me:20180: \$? = $ac_status" >&5
20181 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20183 # The compiler can only warn and ignore the option if not recognized
20184 # So say no if there are warnings
20185 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20186 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20187 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20188 lt_cv_prog_compiler_c_o_CXX=yes
20193 # SGI C++ compiler will create directory out/ii_files/ for
20194 # template instantiation
20195 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20196 $rm out/* && rmdir out
20202 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20203 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20206 hard_links="nottested"
20207 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20208 # do not overwrite the value of need_locks provided by the user
20209 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20210 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20213 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20215 ln conftest.a conftest.b 2>&5 || hard_links=no
20216 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20217 { echo "$as_me:$LINENO: result: $hard_links" >&5
20218 echo "${ECHO_T}$hard_links" >&6; }
20219 if test "$hard_links" = no; then
20220 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20221 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20228 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20229 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20231 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20234 # If we're using GNU nm, then we don't want the "-C" option.
20235 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20236 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20237 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20239 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20243 export_symbols_cmds_CXX="$ltdll_cmds"
20246 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
20249 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20253 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20254 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20255 test "$ld_shlibs_CXX" = no && can_build_shared=no
20258 # Do we need to explicitly link libc?
20260 case "x$archive_cmds_need_lc_CXX" in
20262 # Assume -lc should be added
20263 archive_cmds_need_lc_CXX=yes
20265 if test "$enable_shared" = yes && test "$GCC" = yes; then
20266 case $archive_cmds_CXX in
20268 # FIXME: we may have to deal with multi-command sequences.
20271 # Test whether the compiler implicitly links with -lc since on some
20272 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20273 # to ld, don't add -lc before -lgcc.
20274 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20275 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20280 (eval $ac_compile) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } 2>conftest.err; then
20286 libobjs=conftest.$ac_objext
20288 wl=$lt_prog_compiler_wl_CXX
20289 pic_flag=$lt_prog_compiler_pic_CXX
20295 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20296 allow_undefined_flag_CXX=
20297 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20298 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }
20303 archive_cmds_need_lc_CXX=no
20305 archive_cmds_need_lc_CXX=yes
20307 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20309 cat conftest.err 1>&5
20312 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20313 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20320 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20321 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20322 library_names_spec=
20323 libname_spec='lib$name'
20327 postuninstall_cmds=
20331 shlibpath_overrides_runpath=unknown
20333 dynamic_linker="$host_os ld.so"
20334 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20336 need_lib_prefix=unknown
20337 hardcode_into_libs=no
20339 # when you set need_version to no, make sure it does not cause -set_version
20340 # flags to be left without arguments
20341 need_version=unknown
20346 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20347 shlibpath_var=LIBPATH
20349 # AIX 3 has no versioning support, so we append a major version to the name.
20350 soname_spec='${libname}${release}${shared_ext}$major'
20357 hardcode_into_libs=yes
20358 if test "$host_cpu" = ia64; then
20359 # AIX 5 supports IA64
20360 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20361 shlibpath_var=LD_LIBRARY_PATH
20363 # With GCC up to 2.95.x, collect2 would create an import file
20364 # for dependence libraries. The import file would start with
20365 # the line `#! .'. This would cause the generated library to
20366 # depend on `.', always an invalid library. This was fixed in
20367 # development snapshots of GCC prior to 3.0.
20369 aix4 | aix4.[01] | aix4.[01].*)
20370 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20372 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20375 can_build_shared=no
20379 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20380 # soname into executable. Probably we can add versioning support to
20381 # collect2, so additional links can be useful in future.
20382 if test "$aix_use_runtimelinking" = yes; then
20383 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20384 # instead of lib<name>.a to let people know that these are not
20385 # typical AIX shared libraries.
20386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20388 # We preserve .a as extension for shared libraries through AIX4.2
20389 # and later when we are not doing run time linking.
20390 library_names_spec='${libname}${release}.a $libname.a'
20391 soname_spec='${libname}${release}${shared_ext}$major'
20393 shlibpath_var=LIBPATH
20398 library_names_spec='$libname.ixlibrary $libname.a'
20399 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20400 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'
20404 library_names_spec='${libname}${shared_ext}'
20405 dynamic_linker="$host_os ld.so"
20406 shlibpath_var=LIBRARY_PATH
20412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20413 soname_spec='${libname}${release}${shared_ext}$major'
20414 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20415 shlibpath_var=LD_LIBRARY_PATH
20416 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20417 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20418 # the default ld.so.conf also contains /usr/contrib/lib and
20419 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20420 # libtool to hard-code these into programs
20423 cygwin* | mingw* | pw32*)
20424 version_type=windows
20429 case $GCC,$host_os in
20430 yes,cygwin* | yes,mingw* | yes,pw32*)
20431 library_names_spec='$libname.dll.a'
20432 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20433 postinstall_cmds='base_file=`basename \${file}`~
20434 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20435 dldir=$destdir/`dirname \$dlpath`~
20436 test -d \$dldir || mkdir -p \$dldir~
20437 $install_prog $dir/$dlname \$dldir/$dlname~
20438 chmod a+x \$dldir/$dlname'
20439 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20440 dlpath=$dir/\$dldll~
20442 shlibpath_overrides_runpath=yes
20446 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20447 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20448 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20451 # MinGW DLLs use traditional 'lib' prefix
20452 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20453 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20454 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20455 # It is most probably a Windows format PATH printed by
20456 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20457 # path with ; separators, and with drive letters. We can handle the
20458 # drive letters (cygwin fileutils understands them), so leave them,
20459 # especially as we might pass files found there to a mingw objdump,
20460 # which wouldn't understand a cygwinified path. Ahh.
20461 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20463 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20467 # pw32 DLLs use 'pw' prefix rather than 'lib'
20468 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20474 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20477 dynamic_linker='Win32 ld.exe'
20478 # FIXME: first we should search . and the directory the executable is in
20482 darwin* | rhapsody*)
20483 dynamic_linker="$host_os dyld"
20484 version_type=darwin
20487 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20488 soname_spec='${libname}${release}${major}$shared_ext'
20489 shlibpath_overrides_runpath=yes
20490 shlibpath_var=DYLD_LIBRARY_PATH
20491 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20493 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20501 soname_spec='${libname}${release}${shared_ext}$major'
20502 shlibpath_var=LD_LIBRARY_PATH
20509 freebsd* | dragonfly*)
20510 # DragonFly does not have aout. When/if they implement a new
20511 # versioning mechanism, adjust this.
20512 if test -x /usr/bin/objformat; then
20513 objformat=`/usr/bin/objformat`
20516 freebsd[123]*) objformat=aout ;;
20517 *) objformat=elf ;;
20520 version_type=freebsd-$objformat
20521 case $version_type in
20523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20528 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20532 shlibpath_var=LD_LIBRARY_PATH
20535 shlibpath_overrides_runpath=yes
20537 freebsd3.[01]* | freebsdelf3.[01]*)
20538 shlibpath_overrides_runpath=yes
20539 hardcode_into_libs=yes
20541 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20542 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20543 shlibpath_overrides_runpath=no
20544 hardcode_into_libs=yes
20546 *) # from 4.6 on, and DragonFly
20547 shlibpath_overrides_runpath=yes
20548 hardcode_into_libs=yes
20557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20558 soname_spec='${libname}${release}${shared_ext}$major'
20559 shlibpath_var=LD_LIBRARY_PATH
20560 hardcode_into_libs=yes
20563 hpux9* | hpux10* | hpux11*)
20564 # Give a soname corresponding to the major version so that dld.sl refuses to
20565 # link against other versions.
20572 hardcode_into_libs=yes
20573 dynamic_linker="$host_os dld.so"
20574 shlibpath_var=LD_LIBRARY_PATH
20575 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20577 soname_spec='${libname}${release}${shared_ext}$major'
20578 if test "X$HPUX_IA64_MODE" = X32; then
20579 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20581 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20583 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20587 hardcode_into_libs=yes
20588 dynamic_linker="$host_os dld.sl"
20589 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20590 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20592 soname_spec='${libname}${release}${shared_ext}$major'
20593 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20598 dynamic_linker="$host_os dld.sl"
20599 shlibpath_var=SHLIB_PATH
20600 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20602 soname_spec='${libname}${release}${shared_ext}$major'
20605 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20606 postinstall_cmds='chmod 555 $lib'
20613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20614 soname_spec='${libname}${release}${shared_ext}$major'
20615 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20616 shlibpath_var=LD_LIBRARY_PATH
20617 shlibpath_overrides_runpath=no
20618 hardcode_into_libs=yes
20621 irix5* | irix6* | nonstopux*)
20623 nonstopux*) version_type=nonstopux ;;
20625 if test "$lt_cv_prog_gnu_ld" = yes; then
20633 soname_spec='${libname}${release}${shared_ext}$major'
20634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20636 irix5* | nonstopux*)
20637 libsuff= shlibsuff=
20640 case $LD in # libtool.m4 will add one of these switches to LD
20641 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20642 libsuff= shlibsuff= libmagic=32-bit;;
20643 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20644 libsuff=32 shlibsuff=N32 libmagic=N32;;
20645 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20646 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20647 *) libsuff= shlibsuff= libmagic=never-match;;
20651 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20652 shlibpath_overrides_runpath=no
20653 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20654 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20655 hardcode_into_libs=yes
20658 # No shared lib support for Linux oldld, aout, or coff.
20659 linux*oldld* | linux*aout* | linux*coff*)
20663 # This must be Linux ELF.
20664 linux* | k*bsd*-gnu)
20668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20669 soname_spec='${libname}${release}${shared_ext}$major'
20670 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20671 shlibpath_var=LD_LIBRARY_PATH
20672 shlibpath_overrides_runpath=no
20673 # This implies no fast_install, which is unacceptable.
20674 # Some rework will be needed to allow for fast_install
20675 # before this can be enabled.
20676 hardcode_into_libs=yes
20677 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20678 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20680 # Append ld.so.conf contents to the search path
20681 if test -f /etc/ld.so.conf; then
20682 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' ' '`
20683 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20686 # We used to test for /lib/ld.so.1 and disable shared libraries on
20687 # powerpc, because MkLinux only supported shared libraries with the
20688 # GNU dynamic linker. Since this was broken with cross compilers,
20689 # most powerpc-linux boxes support dynamic linking these days and
20690 # people can always --disable-shared, the test was removed, and we
20691 # assume the GNU/Linux dynamic linker is in use.
20692 dynamic_linker='GNU/Linux ld.so'
20699 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20702 dynamic_linker='NetBSD (a.out) ld.so'
20704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20705 soname_spec='${libname}${release}${shared_ext}$major'
20706 dynamic_linker='NetBSD ld.elf_so'
20708 shlibpath_var=LD_LIBRARY_PATH
20709 shlibpath_overrides_runpath=yes
20710 hardcode_into_libs=yes
20715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20716 shlibpath_var=LD_LIBRARY_PATH
20717 shlibpath_overrides_runpath=yes
20724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20725 soname_spec='${libname}${release}${shared_ext}$major'
20726 shlibpath_var=LD_LIBRARY_PATH
20727 shlibpath_overrides_runpath=yes
20732 sys_lib_dlsearch_path_spec="/usr/lib"
20734 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20736 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20737 *) need_version=no ;;
20739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20740 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20741 shlibpath_var=LD_LIBRARY_PATH
20742 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20744 openbsd2.[89] | openbsd2.[89].*)
20745 shlibpath_overrides_runpath=no
20748 shlibpath_overrides_runpath=yes
20752 shlibpath_overrides_runpath=yes
20757 libname_spec='$name'
20760 library_names_spec='$libname${shared_ext} $libname.a'
20761 dynamic_linker='OS/2 ld.exe'
20762 shlibpath_var=LIBPATH
20765 osf3* | osf4* | osf5*)
20769 soname_spec='${libname}${release}${shared_ext}$major'
20770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20771 shlibpath_var=LD_LIBRARY_PATH
20772 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20773 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20785 soname_spec='${libname}${release}${shared_ext}$major'
20786 shlibpath_var=LD_LIBRARY_PATH
20787 shlibpath_overrides_runpath=yes
20788 hardcode_into_libs=yes
20789 # ldd complains unless libraries are executable
20790 postinstall_cmds='chmod +x $lib'
20795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20796 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20797 shlibpath_var=LD_LIBRARY_PATH
20798 shlibpath_overrides_runpath=yes
20799 if test "$with_gnu_ld" = yes; then
20807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20808 soname_spec='${libname}${release}${shared_ext}$major'
20809 shlibpath_var=LD_LIBRARY_PATH
20810 case $host_vendor in
20812 shlibpath_overrides_runpath=no
20814 export_dynamic_flag_spec='${wl}-Blargedynsym'
20815 runpath_var=LD_RUN_PATH
20823 shlibpath_overrides_runpath=no
20824 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20830 if test -d /usr/nec ;then
20832 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20833 soname_spec='$libname${shared_ext}.$major'
20834 shlibpath_var=LD_LIBRARY_PATH
20838 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20839 version_type=freebsd-elf
20842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20843 soname_spec='${libname}${release}${shared_ext}$major'
20844 shlibpath_var=LD_LIBRARY_PATH
20845 hardcode_into_libs=yes
20846 if test "$with_gnu_ld" = yes; then
20847 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20848 shlibpath_overrides_runpath=no
20850 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20851 shlibpath_overrides_runpath=yes
20854 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20858 sys_lib_dlsearch_path_spec='/usr/lib'
20863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20864 soname_spec='${libname}${release}${shared_ext}$major'
20865 shlibpath_var=LD_LIBRARY_PATH
20872 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20873 echo "${ECHO_T}$dynamic_linker" >&6; }
20874 test "$dynamic_linker" = no && can_build_shared=no
20876 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20877 if test "$GCC" = yes; then
20878 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20881 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20882 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20883 hardcode_action_CXX=
20884 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20885 test -n "$runpath_var_CXX" || \
20886 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20888 # We can hardcode non-existant directories.
20889 if test "$hardcode_direct_CXX" != no &&
20890 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20891 # have to relink, otherwise we might link with an installed library
20892 # when we should be linking with a yet-to-be-installed one
20893 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20894 test "$hardcode_minus_L_CXX" != no; then
20895 # Linking always hardcodes the temporary library directory.
20896 hardcode_action_CXX=relink
20898 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20899 hardcode_action_CXX=immediate
20902 # We cannot hardcode anything, or else we can only hardcode existing
20904 hardcode_action_CXX=unsupported
20906 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20907 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20909 if test "$hardcode_action_CXX" = relink; then
20910 # Fast installation is not supported
20911 enable_fast_install=no
20912 elif test "$shlibpath_overrides_runpath" = yes ||
20913 test "$enable_shared" = no; then
20914 # Fast installation is not necessary
20915 enable_fast_install=needless
20919 # The else clause should only fire when bootstrapping the
20920 # libtool distribution, otherwise you forgot to ship ltmain.sh
20921 # with your package, and you will get complaints that there are
20922 # no rules to generate ltmain.sh.
20923 if test -f "$ltmain"; then
20924 # See if we are running on zsh, and set the options which allow our commands through
20925 # without removal of \ escapes.
20926 if test -n "${ZSH_VERSION+set}" ; then
20927 setopt NO_GLOB_SUBST
20929 # Now quote all the things that may contain metacharacters while being
20930 # careful not to overquote the AC_SUBSTed values. We take copies of the
20931 # variables and quote the copies for generation of the libtool script.
20932 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20934 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20935 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20936 deplibs_check_method reload_flag reload_cmds need_locks \
20937 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20938 lt_cv_sys_global_symbol_to_c_name_address \
20939 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20940 old_postinstall_cmds old_postuninstall_cmds \
20944 lt_prog_compiler_wl_CXX \
20945 lt_prog_compiler_pic_CXX \
20946 lt_prog_compiler_static_CXX \
20947 lt_prog_compiler_no_builtin_flag_CXX \
20948 export_dynamic_flag_spec_CXX \
20949 thread_safe_flag_spec_CXX \
20950 whole_archive_flag_spec_CXX \
20951 enable_shared_with_static_runtimes_CXX \
20952 old_archive_cmds_CXX \
20953 old_archive_from_new_cmds_CXX \
20954 predep_objects_CXX \
20955 postdep_objects_CXX \
20958 compiler_lib_search_path_CXX \
20960 archive_expsym_cmds_CXX \
20961 postinstall_cmds_CXX \
20962 postuninstall_cmds_CXX \
20963 old_archive_from_expsyms_cmds_CXX \
20964 allow_undefined_flag_CXX \
20965 no_undefined_flag_CXX \
20966 export_symbols_cmds_CXX \
20967 hardcode_libdir_flag_spec_CXX \
20968 hardcode_libdir_flag_spec_ld_CXX \
20969 hardcode_libdir_separator_CXX \
20970 hardcode_automatic_CXX \
20972 module_expsym_cmds_CXX \
20973 lt_cv_prog_compiler_c_o_CXX \
20974 fix_srcfile_path_CXX \
20975 exclude_expsyms_CXX \
20976 include_expsyms_CXX; do
20979 old_archive_cmds_CXX | \
20980 old_archive_from_new_cmds_CXX | \
20981 archive_cmds_CXX | \
20982 archive_expsym_cmds_CXX | \
20983 module_cmds_CXX | \
20984 module_expsym_cmds_CXX | \
20985 old_archive_from_expsyms_cmds_CXX | \
20986 export_symbols_cmds_CXX | \
20987 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20988 postinstall_cmds | postuninstall_cmds | \
20989 old_postinstall_cmds | old_postuninstall_cmds | \
20990 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20991 # Double-quote double-evaled strings.
20992 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20995 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21001 *'\$0 --fallback-echo"')
21002 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21008 cat <<__EOF__ >> "$cfgfile"
21009 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21011 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21013 # Shell to use when invoking shell scripts.
21016 # Whether or not to build shared libraries.
21017 build_libtool_libs=$enable_shared
21019 # Whether or not to build static libraries.
21020 build_old_libs=$enable_static
21022 # Whether or not to add -lc for building shared libraries.
21023 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21025 # Whether or not to disallow shared libs when runtime libs are static
21026 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21028 # Whether or not to optimize for fast installation.
21029 fast_install=$enable_fast_install
21032 host_alias=$host_alias
21036 # The build system.
21037 build_alias=$build_alias
21041 # An echo program that does not interpret backslashes.
21046 AR_FLAGS=$lt_AR_FLAGS
21051 # LTCC compiler flags.
21052 LTCFLAGS=$lt_LTCFLAGS
21054 # A language-specific compiler.
21055 CC=$lt_compiler_CXX
21057 # Is the compiler the GNU C compiler?
21063 # The linker used to build libraries.
21066 # Whether we need hard or soft links.
21069 # A BSD-compatible nm program.
21072 # A symbol stripping program
21075 # Used to examine libraries when file_magic_cmd begins "file"
21076 MAGIC_CMD=$MAGIC_CMD
21078 # Used on cygwin: DLL creation program.
21081 # Used on cygwin: object dumper.
21084 # Used on cygwin: assembler.
21087 # The name of the directory that contains temporary libtool files.
21090 # How to create reloadable object files.
21091 reload_flag=$lt_reload_flag
21092 reload_cmds=$lt_reload_cmds
21094 # How to pass a linker flag through the compiler.
21095 wl=$lt_lt_prog_compiler_wl_CXX
21097 # Object file suffix (normally "o").
21098 objext="$ac_objext"
21100 # Old archive suffix (normally "a").
21103 # Shared library suffix (normally ".so").
21104 shrext_cmds='$shrext_cmds'
21106 # Executable file suffix (normally "").
21109 # Additional compiler flags for building library objects.
21110 pic_flag=$lt_lt_prog_compiler_pic_CXX
21113 # What is the maximum length of a command?
21114 max_cmd_len=$lt_cv_sys_max_cmd_len
21116 # Does compiler simultaneously support -c and -o options?
21117 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21119 # Must we lock files when doing compilation?
21120 need_locks=$lt_need_locks
21122 # Do we need the lib prefix for modules?
21123 need_lib_prefix=$need_lib_prefix
21125 # Do we need a version for libraries?
21126 need_version=$need_version
21128 # Whether dlopen is supported.
21129 dlopen_support=$enable_dlopen
21131 # Whether dlopen of programs is supported.
21132 dlopen_self=$enable_dlopen_self
21134 # Whether dlopen of statically linked programs is supported.
21135 dlopen_self_static=$enable_dlopen_self_static
21137 # Compiler flag to prevent dynamic linking.
21138 link_static_flag=$lt_lt_prog_compiler_static_CXX
21140 # Compiler flag to turn off builtin functions.
21141 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21143 # Compiler flag to allow reflexive dlopens.
21144 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21146 # Compiler flag to generate shared objects directly from archives.
21147 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21149 # Compiler flag to generate thread-safe objects.
21150 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21152 # Library versioning type.
21153 version_type=$version_type
21155 # Format of library name prefix.
21156 libname_spec=$lt_libname_spec
21158 # List of archive names. First name is the real one, the rest are links.
21159 # The last name is the one that the linker finds with -lNAME.
21160 library_names_spec=$lt_library_names_spec
21162 # The coded name of the library, if different from the real name.
21163 soname_spec=$lt_soname_spec
21165 # Commands used to build and install an old-style archive.
21167 old_archive_cmds=$lt_old_archive_cmds_CXX
21168 old_postinstall_cmds=$lt_old_postinstall_cmds
21169 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21171 # Create an old-style archive from a shared archive.
21172 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21174 # Create a temporary old-style archive to link instead of a shared archive.
21175 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21177 # Commands used to build and install a shared archive.
21178 archive_cmds=$lt_archive_cmds_CXX
21179 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21180 postinstall_cmds=$lt_postinstall_cmds
21181 postuninstall_cmds=$lt_postuninstall_cmds
21183 # Commands used to build a loadable module (assumed same as above if empty)
21184 module_cmds=$lt_module_cmds_CXX
21185 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21187 # Commands to strip libraries.
21188 old_striplib=$lt_old_striplib
21189 striplib=$lt_striplib
21191 # Dependencies to place before the objects being linked to create a
21193 predep_objects=$lt_predep_objects_CXX
21195 # Dependencies to place after the objects being linked to create a
21197 postdep_objects=$lt_postdep_objects_CXX
21199 # Dependencies to place before the objects being linked to create a
21201 predeps=$lt_predeps_CXX
21203 # Dependencies to place after the objects being linked to create a
21205 postdeps=$lt_postdeps_CXX
21207 # The library search path used internally by the compiler when linking
21208 # a shared library.
21209 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21211 # Method to check whether dependent libraries are shared objects.
21212 deplibs_check_method=$lt_deplibs_check_method
21214 # Command to use when deplibs_check_method == file_magic.
21215 file_magic_cmd=$lt_file_magic_cmd
21217 # Flag that allows shared libraries with undefined symbols to be built.
21218 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21220 # Flag that forces no undefined symbols.
21221 no_undefined_flag=$lt_no_undefined_flag_CXX
21223 # Commands used to finish a libtool library installation in a directory.
21224 finish_cmds=$lt_finish_cmds
21226 # Same as above, but a single script fragment to be evaled but not shown.
21227 finish_eval=$lt_finish_eval
21229 # Take the output of nm and produce a listing of raw symbols and C names.
21230 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21232 # Transform the output of nm in a proper C declaration
21233 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21235 # Transform the output of nm in a C name address pair
21236 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21238 # This is the shared library runtime path variable.
21239 runpath_var=$runpath_var
21241 # This is the shared library path variable.
21242 shlibpath_var=$shlibpath_var
21244 # Is shlibpath searched before the hard-coded library search path?
21245 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21247 # How to hardcode a shared library path into an executable.
21248 hardcode_action=$hardcode_action_CXX
21250 # Whether we should hardcode library paths into libraries.
21251 hardcode_into_libs=$hardcode_into_libs
21253 # Flag to hardcode \$libdir into a binary during linking.
21254 # This must work even if \$libdir does not exist.
21255 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21257 # If ld is used when linking, flag to hardcode \$libdir into
21258 # a binary during linking. This must work even if \$libdir does
21260 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21262 # Whether we need a single -rpath flag with a separated argument.
21263 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21265 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21266 # resulting binary.
21267 hardcode_direct=$hardcode_direct_CXX
21269 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21270 # resulting binary.
21271 hardcode_minus_L=$hardcode_minus_L_CXX
21273 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21274 # the resulting binary.
21275 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21277 # Set to yes if building a shared library automatically hardcodes DIR into the library
21278 # and all subsequent libraries and executables linked against it.
21279 hardcode_automatic=$hardcode_automatic_CXX
21281 # Variables whose values should be saved in libtool wrapper scripts and
21282 # restored at relink time.
21283 variables_saved_for_relink="$variables_saved_for_relink"
21285 # Whether libtool must link a program against all its dependency libraries.
21286 link_all_deplibs=$link_all_deplibs_CXX
21288 # Compile-time system search path for libraries
21289 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21291 # Run-time system search path for libraries
21292 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21294 # Fix the shell variable \$srcfile for the compiler.
21295 fix_srcfile_path=$lt_fix_srcfile_path
21297 # Set to yes if exported symbols are required.
21298 always_export_symbols=$always_export_symbols_CXX
21300 # The commands to list exported symbols.
21301 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21303 # The commands to extract the exported symbol list from a shared archive.
21304 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21306 # Symbols that should not be listed in the preloaded symbols.
21307 exclude_expsyms=$lt_exclude_expsyms_CXX
21309 # Symbols that must always be exported.
21310 include_expsyms=$lt_include_expsyms_CXX
21312 # ### END LIBTOOL TAG CONFIG: $tagname
21318 # If there is no Makefile yet, we rely on a make rule to execute
21319 # `config.status --recheck' to rerun these tests and create the
21320 # libtool script then.
21321 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21322 if test -f "$ltmain_in"; then
21323 test -f Makefile && make "$ltmain"
21329 ac_cpp='$CPP $CPPFLAGS'
21330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21338 with_gnu_ldcxx=$with_gnu_ld
21339 with_gnu_ld=$lt_save_with_gnu_ld
21340 lt_cv_path_LDCXX=$lt_cv_path_LD
21341 lt_cv_path_LD=$lt_save_path_LD
21342 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21343 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21351 if test -n "$F77" && test "X$F77" != "Xno"; then
21354 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21355 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21359 archive_cmds_need_lc_F77=no
21360 allow_undefined_flag_F77=
21361 always_export_symbols_F77=no
21362 archive_expsym_cmds_F77=
21363 export_dynamic_flag_spec_F77=
21364 hardcode_direct_F77=no
21365 hardcode_libdir_flag_spec_F77=
21366 hardcode_libdir_flag_spec_ld_F77=
21367 hardcode_libdir_separator_F77=
21368 hardcode_minus_L_F77=no
21369 hardcode_automatic_F77=no
21371 module_expsym_cmds_F77=
21372 link_all_deplibs_F77=unknown
21373 old_archive_cmds_F77=$old_archive_cmds
21374 no_undefined_flag_F77=
21375 whole_archive_flag_spec_F77=
21376 enable_shared_with_static_runtimes_F77=no
21378 # Source file extension for f77 test sources.
21381 # Object file extension for compiled f77 test sources.
21385 # Code to be used in simple compile tests
21386 lt_simple_compile_test_code="\
21392 # Code to be used in simple link tests
21393 lt_simple_link_test_code="\
21398 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21400 # If no C compiler was specified, use CC.
21403 # If no C compiler flags were specified, use CFLAGS.
21404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21406 # Allow CC to be a program name with arguments.
21410 # save warnings/boilerplate of simple test code
21411 ac_outfile=conftest.$ac_objext
21412 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21413 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21414 _lt_compiler_boilerplate=`cat conftest.err`
21417 ac_outfile=conftest.$ac_objext
21418 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21419 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21420 _lt_linker_boilerplate=`cat conftest.err`
21424 # Allow CC to be a program name with arguments.
21429 for cc_temp in $compiler""; do
21431 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21432 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21437 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21440 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21441 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21442 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21443 echo "${ECHO_T}$can_build_shared" >&6; }
21445 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21446 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21447 test "$can_build_shared" = "no" && enable_shared=no
21449 # On AIX, shared libraries and static libraries use the same namespace, and
21450 # are all built from PIC.
21453 test "$enable_shared" = yes && enable_static=no
21454 if test -n "$RANLIB"; then
21455 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21456 postinstall_cmds='$RANLIB $lib'
21460 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21461 test "$enable_shared" = yes && enable_static=no
21465 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21466 echo "${ECHO_T}$enable_shared" >&6; }
21468 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21469 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21470 # Make sure either enable_shared or enable_static is yes.
21471 test "$enable_shared" = yes || enable_static=yes
21472 { echo "$as_me:$LINENO: result: $enable_static" >&5
21473 echo "${ECHO_T}$enable_static" >&6; }
21478 lt_prog_compiler_wl_F77=
21479 lt_prog_compiler_pic_F77=
21480 lt_prog_compiler_static_F77=
21482 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21483 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21485 if test "$GCC" = yes; then
21486 lt_prog_compiler_wl_F77='-Wl,'
21487 lt_prog_compiler_static_F77='-static'
21491 # All AIX code is PIC.
21492 if test "$host_cpu" = ia64; then
21493 # AIX 5 now supports IA64 processor
21494 lt_prog_compiler_static_F77='-Bstatic'
21499 # FIXME: we need at least 68020 code to build shared libraries, but
21500 # adding the `-m68020' flag to GCC prevents building anything better,
21502 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21505 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21506 # PIC is the default for these OSes.
21509 mingw* | cygwin* | pw32* | os2*)
21510 # This hack is so that the source file can tell whether it is being
21511 # built for inclusion in a dll (and should export symbols for example).
21512 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21513 # (--disable-auto-import) libraries
21514 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21517 darwin* | rhapsody*)
21518 # PIC is the default on this platform
21519 # Common symbols not allowed in MH_DYLIB files
21520 lt_prog_compiler_pic_F77='-fno-common'
21524 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21525 # Instead, we relocate shared libraries at runtime.
21529 # Just because we use GCC doesn't mean we suddenly get shared libraries
21530 # on systems that don't support them.
21531 lt_prog_compiler_can_build_shared_F77=no
21536 if test -d /usr/nec; then
21537 lt_prog_compiler_pic_F77=-Kconform_pic
21542 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21543 # not for PA HP-UX.
21549 lt_prog_compiler_pic_F77='-fPIC'
21555 lt_prog_compiler_pic_F77='-fPIC'
21559 # PORTME Check for flag to pass linker flags through the system compiler.
21562 lt_prog_compiler_wl_F77='-Wl,'
21563 if test "$host_cpu" = ia64; then
21564 # AIX 5 now supports IA64 processor
21565 lt_prog_compiler_static_F77='-Bstatic'
21567 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21571 # PIC is the default on this platform
21572 # Common symbols not allowed in MH_DYLIB files
21573 case $cc_basename in
21575 lt_prog_compiler_pic_F77='-qnocommon'
21576 lt_prog_compiler_wl_F77='-Wl,'
21581 mingw* | cygwin* | pw32* | os2*)
21582 # This hack is so that the source file can tell whether it is being
21583 # built for inclusion in a dll (and should export symbols for example).
21584 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21587 hpux9* | hpux10* | hpux11*)
21588 lt_prog_compiler_wl_F77='-Wl,'
21589 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21590 # not for PA HP-UX.
21596 lt_prog_compiler_pic_F77='+Z'
21599 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21600 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21603 irix5* | irix6* | nonstopux*)
21604 lt_prog_compiler_wl_F77='-Wl,'
21605 # PIC (with -KPIC) is the default.
21606 lt_prog_compiler_static_F77='-non_shared'
21610 lt_prog_compiler_pic_F77='-KPIC'
21611 lt_prog_compiler_static_F77='-Bstatic'
21614 linux* | k*bsd*-gnu)
21615 case $cc_basename in
21617 lt_prog_compiler_wl_F77='-Wl,'
21618 lt_prog_compiler_pic_F77='-KPIC'
21619 lt_prog_compiler_static_F77='-static'
21621 pgcc* | pgf77* | pgf90* | pgf95*)
21622 # Portland Group compilers (*not* the Pentium gcc compiler,
21623 # which looks to be a dead project)
21624 lt_prog_compiler_wl_F77='-Wl,'
21625 lt_prog_compiler_pic_F77='-fpic'
21626 lt_prog_compiler_static_F77='-Bstatic'
21629 lt_prog_compiler_wl_F77='-Wl,'
21630 # All Alpha code is PIC.
21631 lt_prog_compiler_static_F77='-non_shared'
21634 case `$CC -V 2>&1 | sed 5q` in
21637 lt_prog_compiler_pic_F77='-KPIC'
21638 lt_prog_compiler_static_F77='-Bstatic'
21639 lt_prog_compiler_wl_F77='-Wl,'
21642 # Sun Fortran 8.3 passes all unrecognized flags to the linker
21643 lt_prog_compiler_pic_F77='-KPIC'
21644 lt_prog_compiler_static_F77='-Bstatic'
21645 lt_prog_compiler_wl_F77=''
21652 osf3* | osf4* | osf5*)
21653 lt_prog_compiler_wl_F77='-Wl,'
21654 # All OSF/1 code is PIC.
21655 lt_prog_compiler_static_F77='-non_shared'
21659 lt_prog_compiler_static_F77='-non_shared'
21663 lt_prog_compiler_pic_F77='-KPIC'
21664 lt_prog_compiler_static_F77='-Bstatic'
21665 case $cc_basename in
21666 f77* | f90* | f95*)
21667 lt_prog_compiler_wl_F77='-Qoption ld ';;
21669 lt_prog_compiler_wl_F77='-Wl,';;
21674 lt_prog_compiler_wl_F77='-Qoption ld '
21675 lt_prog_compiler_pic_F77='-PIC'
21676 lt_prog_compiler_static_F77='-Bstatic'
21679 sysv4 | sysv4.2uw2* | sysv4.3*)
21680 lt_prog_compiler_wl_F77='-Wl,'
21681 lt_prog_compiler_pic_F77='-KPIC'
21682 lt_prog_compiler_static_F77='-Bstatic'
21686 if test -d /usr/nec ;then
21687 lt_prog_compiler_pic_F77='-Kconform_pic'
21688 lt_prog_compiler_static_F77='-Bstatic'
21692 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21693 lt_prog_compiler_wl_F77='-Wl,'
21694 lt_prog_compiler_pic_F77='-KPIC'
21695 lt_prog_compiler_static_F77='-Bstatic'
21699 lt_prog_compiler_wl_F77='-Wl,'
21700 lt_prog_compiler_can_build_shared_F77=no
21704 lt_prog_compiler_pic_F77='-pic'
21705 lt_prog_compiler_static_F77='-Bstatic'
21709 lt_prog_compiler_can_build_shared_F77=no
21714 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21715 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21718 # Check to make sure the PIC flag actually works.
21720 if test -n "$lt_prog_compiler_pic_F77"; then
21722 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21723 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21724 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21725 echo $ECHO_N "(cached) $ECHO_C" >&6
21727 lt_prog_compiler_pic_works_F77=no
21728 ac_outfile=conftest.$ac_objext
21729 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21730 lt_compiler_flag="$lt_prog_compiler_pic_F77"
21731 # Insert the option either (1) after the last *FLAGS variable, or
21732 # (2) before a word containing "conftest.", or (3) at the end.
21733 # Note that $ac_compile itself does not contain backslashes and begins
21734 # with a dollar sign (not a hyphen), so the echo should work correctly.
21735 # The option is referenced via a variable to avoid confusing sed.
21736 lt_compile=`echo "$ac_compile" | $SED \
21737 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21738 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21739 -e 's:$: $lt_compiler_flag:'`
21740 (eval echo "\"\$as_me:21740: $lt_compile\"" >&5)
21741 (eval "$lt_compile" 2>conftest.err)
21743 cat conftest.err >&5
21744 echo "$as_me:21744: \$? = $ac_status" >&5
21745 if (exit $ac_status) && test -s "$ac_outfile"; then
21746 # The compiler can only warn and ignore the option if not recognized
21747 # So say no if there are warnings other than the usual output.
21748 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21749 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21750 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21751 lt_prog_compiler_pic_works_F77=yes
21757 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21758 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21760 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21761 case $lt_prog_compiler_pic_F77 in
21763 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21766 lt_prog_compiler_pic_F77=
21767 lt_prog_compiler_can_build_shared_F77=no
21772 # For platforms which do not support PIC, -DPIC is meaningless:
21774 lt_prog_compiler_pic_F77=
21777 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21782 # Check to make sure the static flag actually works.
21784 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21785 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21786 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21787 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21788 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 lt_prog_compiler_static_works_F77=no
21791 save_LDFLAGS="$LDFLAGS"
21792 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21793 echo "$lt_simple_link_test_code" > conftest.$ac_ext
21794 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21795 # The linker can only warn and ignore the option if not recognized
21796 # So say no if there are warnings
21797 if test -s conftest.err; then
21798 # Append any errors to the config.log.
21799 cat conftest.err 1>&5
21800 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21802 if diff conftest.exp conftest.er2 >/dev/null; then
21803 lt_prog_compiler_static_works_F77=yes
21806 lt_prog_compiler_static_works_F77=yes
21810 LDFLAGS="$save_LDFLAGS"
21813 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21814 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21816 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21819 lt_prog_compiler_static_F77=
21823 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21824 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21825 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 lt_cv_prog_compiler_c_o_F77=no
21829 $rm -r conftest 2>/dev/null
21833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21835 lt_compiler_flag="-o out/conftest2.$ac_objext"
21836 # Insert the option either (1) after the last *FLAGS variable, or
21837 # (2) before a word containing "conftest.", or (3) at the end.
21838 # Note that $ac_compile itself does not contain backslashes and begins
21839 # with a dollar sign (not a hyphen), so the echo should work correctly.
21840 lt_compile=`echo "$ac_compile" | $SED \
21841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21843 -e 's:$: $lt_compiler_flag:'`
21844 (eval echo "\"\$as_me:21844: $lt_compile\"" >&5)
21845 (eval "$lt_compile" 2>out/conftest.err)
21847 cat out/conftest.err >&5
21848 echo "$as_me:21848: \$? = $ac_status" >&5
21849 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21851 # The compiler can only warn and ignore the option if not recognized
21852 # So say no if there are warnings
21853 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21854 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21855 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21856 lt_cv_prog_compiler_c_o_F77=yes
21861 # SGI C++ compiler will create directory out/ii_files/ for
21862 # template instantiation
21863 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21864 $rm out/* && rmdir out
21870 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21871 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21874 hard_links="nottested"
21875 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21876 # do not overwrite the value of need_locks provided by the user
21877 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21878 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21881 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21883 ln conftest.a conftest.b 2>&5 || hard_links=no
21884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21885 { echo "$as_me:$LINENO: result: $hard_links" >&5
21886 echo "${ECHO_T}$hard_links" >&6; }
21887 if test "$hard_links" = no; then
21888 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21889 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21896 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21897 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21900 allow_undefined_flag_F77=
21901 enable_shared_with_static_runtimes_F77=no
21903 archive_expsym_cmds_F77=
21904 old_archive_From_new_cmds_F77=
21905 old_archive_from_expsyms_cmds_F77=
21906 export_dynamic_flag_spec_F77=
21907 whole_archive_flag_spec_F77=
21908 thread_safe_flag_spec_F77=
21909 hardcode_libdir_flag_spec_F77=
21910 hardcode_libdir_flag_spec_ld_F77=
21911 hardcode_libdir_separator_F77=
21912 hardcode_direct_F77=no
21913 hardcode_minus_L_F77=no
21914 hardcode_shlibpath_var_F77=unsupported
21915 link_all_deplibs_F77=unknown
21916 hardcode_automatic_F77=no
21918 module_expsym_cmds_F77=
21919 always_export_symbols_F77=no
21920 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21921 # include_expsyms should be a list of space-separated symbols to be *always*
21922 # included in the symbol list
21923 include_expsyms_F77=
21924 # exclude_expsyms can be an extended regexp of symbols to exclude
21925 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21926 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21927 # as well as any symbol that contains `d'.
21928 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21929 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21930 # platforms (ab)use it in PIC code, but their linkers get confused if
21931 # the symbol is explicitly referenced. Since portable code cannot
21932 # rely on this symbol name, it's probably fine to never include it in
21933 # preloaded symbol tables.
21934 extract_expsyms_cmds=
21935 # Just being paranoid about ensuring that cc_basename is set.
21936 for cc_temp in $compiler""; do
21938 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21939 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21944 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21947 cygwin* | mingw* | pw32*)
21948 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21949 # When not using gcc, we currently assume that we are using
21950 # Microsoft Visual C++.
21951 if test "$GCC" != yes; then
21956 # we just hope/assume this is gcc and not c89 (= MSVC++)
21965 if test "$with_gnu_ld" = yes; then
21966 # If archive_cmds runs LD, not CC, wlarc should be empty
21969 # Set some defaults for GNU ld with shared library support. These
21970 # are reset later if shared libraries are not supported. Putting them
21971 # here allows them to be overridden if necessary.
21972 runpath_var=LD_RUN_PATH
21973 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21974 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21975 # ancient GNU ld didn't support --whole-archive et. al.
21976 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21977 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21979 whole_archive_flag_spec_F77=
21981 supports_anon_versioning=no
21982 case `$LD -v 2>/dev/null` in
21983 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21984 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21985 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21986 *\ 2.11.*) ;; # other 2.11 versions
21987 *) supports_anon_versioning=yes ;;
21990 # See if GNU ld supports shared libraries.
21992 aix3* | aix4* | aix5*)
21993 # On AIX/PPC, the GNU linker is very broken
21994 if test "$host_cpu" != ia64; then
21998 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21999 *** to be unable to reliably create shared libraries on AIX.
22000 *** Therefore, libtool is disabling shared libraries support. If you
22001 *** really care for shared libraries, you may want to modify your PATH
22002 *** so that a non-GNU linker is found, and then restart.
22009 archive_cmds_F77='$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)'
22010 hardcode_libdir_flag_spec_F77='-L$libdir'
22011 hardcode_minus_L_F77=yes
22013 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22014 # that the semantics of dynamic libraries on AmigaOS, at least up
22015 # to version 4, is to share data among multiple programs linked
22016 # with the same dynamic library. Since this doesn't match the
22017 # behavior of shared libraries on other platforms, we can't use
22023 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22024 allow_undefined_flag_F77=unsupported
22025 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22026 # support --undefined. This deserves some investigation. FIXME
22027 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22033 cygwin* | mingw* | pw32*)
22034 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
22035 # as there is no search path for DLLs.
22036 hardcode_libdir_flag_spec_F77='-L$libdir'
22037 allow_undefined_flag_F77=unsupported
22038 always_export_symbols_F77=no
22039 enable_shared_with_static_runtimes_F77=yes
22040 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22042 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22043 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22044 # If the export-symbols file already is a .def file (1st line
22045 # is EXPORTS), use it as is; otherwise, prepend...
22046 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22047 cp $export_symbols $output_objdir/$soname.def;
22049 echo EXPORTS > $output_objdir/$soname.def;
22050 cat $export_symbols >> $output_objdir/$soname.def;
22052 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22059 hardcode_direct_F77=no
22060 hardcode_shlibpath_var_F77=no
22061 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22062 export_dynamic_flag_spec_F77='${wl}-E'
22063 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22064 # Instead, shared libraries are loaded at an image base (0x10000000 by
22065 # default) and relocated if they conflict, which is a slow very memory
22066 # consuming and fragmenting process. To avoid this, we pick a random,
22067 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22068 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22069 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
22070 archive_expsym_cmds_F77='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'
22073 gnu* | linux* | k*bsd*-gnu)
22074 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22076 case $cc_basename,$host_cpu in
22077 pgcc*) # Portland Group C compiler
22078 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
22079 tmp_addflag=' $pic_flag'
22081 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
22082 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
22083 tmp_addflag=' $pic_flag -Mnomain' ;;
22084 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22085 tmp_addflag=' -i_dynamic' ;;
22086 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22087 tmp_addflag=' -i_dynamic -nofor_main' ;;
22088 ifc* | ifort*) # Intel Fortran compiler
22089 tmp_addflag=' -nofor_main' ;;
22091 case `$CC -V 2>&1 | sed 5q` in
22092 *Sun\ C*) # Sun C 5.9
22093 whole_archive_flag_spec_F77='${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'
22094 tmp_sharedflag='-G' ;;
22095 *Sun\ F*) # Sun Fortran 8.3
22096 tmp_sharedflag='-G' ;;
22098 tmp_sharedflag='-shared' ;;
22100 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22102 if test $supports_anon_versioning = yes; then
22103 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22105 $echo "local: *; };" >> $output_objdir/$libname.ver~
22106 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22114 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22115 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22118 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22119 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22124 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22128 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22129 *** create shared libraries on Solaris systems. Therefore, libtool
22130 *** is disabling shared libraries support. We urge you to upgrade GNU
22131 *** binutils to release 2.9.1 or newer. Another option is to modify
22132 *** your PATH or compiler configuration so that the native linker is
22133 *** used, and then restart.
22136 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22137 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22138 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22144 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22145 case `$LD -v 2>&1` in
22146 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22150 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22151 *** reliably create shared libraries on SCO systems. Therefore, libtool
22152 *** is disabling shared libraries support. We urge you to upgrade GNU
22153 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22154 *** your PATH or compiler configuration so that the native linker is
22155 *** used, and then restart.
22160 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22161 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22162 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22163 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22172 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22174 hardcode_direct_F77=yes
22175 hardcode_shlibpath_var_F77=no
22179 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22180 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22181 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22188 if test "$ld_shlibs_F77" = no; then
22190 hardcode_libdir_flag_spec_F77=
22191 export_dynamic_flag_spec_F77=
22192 whole_archive_flag_spec_F77=
22195 # PORTME fill in a description of your system's linker (not GNU ld)
22198 allow_undefined_flag_F77=unsupported
22199 always_export_symbols_F77=yes
22200 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22201 # Note: this linker hardcodes the directories in LIBPATH if there
22202 # are no directories specified by -L.
22203 hardcode_minus_L_F77=yes
22204 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22205 # Neither direct hardcoding nor static linking is supported with a
22207 hardcode_direct_F77=unsupported
22212 if test "$host_cpu" = ia64; then
22213 # On IA64, the linker does run time linking by default, so we don't
22214 # have to do anything special.
22215 aix_use_runtimelinking=no
22216 exp_sym_flag='-Bexport'
22219 # If we're using GNU nm, then we don't want the "-C" option.
22220 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22221 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22222 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22224 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22226 aix_use_runtimelinking=no
22228 # Test if we are trying to use run time linking or normal
22229 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22230 # need to do runtime linking.
22231 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22232 for ld_flag in $LDFLAGS; do
22233 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22234 aix_use_runtimelinking=yes
22241 exp_sym_flag='-bexport'
22242 no_entry_flag='-bnoentry'
22245 # When large executables or shared objects are built, AIX ld can
22246 # have problems creating the table of contents. If linking a library
22247 # or program results in "error TOC overflow" add -mminimal-toc to
22248 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22249 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22251 archive_cmds_F77=''
22252 hardcode_direct_F77=yes
22253 hardcode_libdir_separator_F77=':'
22254 link_all_deplibs_F77=yes
22256 if test "$GCC" = yes; then
22257 case $host_os in aix4.[012]|aix4.[012].*)
22258 # We only want to do this on AIX 4.2 and lower, the check
22259 # below for broken collect2 doesn't work under 4.3+
22260 collect2name=`${CC} -print-prog-name=collect2`
22261 if test -f "$collect2name" && \
22262 strings "$collect2name" | grep resolve_lib_name >/dev/null
22264 # We have reworked collect2
22267 # We have old collect2
22268 hardcode_direct_F77=unsupported
22269 # It fails to find uninstalled libraries when the uninstalled
22270 # path is not listed in the libpath. Setting hardcode_minus_L
22271 # to unsupported forces relinking
22272 hardcode_minus_L_F77=yes
22273 hardcode_libdir_flag_spec_F77='-L$libdir'
22274 hardcode_libdir_separator_F77=
22278 shared_flag='-shared'
22279 if test "$aix_use_runtimelinking" = yes; then
22280 shared_flag="$shared_flag "'${wl}-G'
22284 if test "$host_cpu" = ia64; then
22285 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22286 # chokes on -Wl,-G. The following line is correct:
22289 if test "$aix_use_runtimelinking" = yes; then
22290 shared_flag='${wl}-G'
22292 shared_flag='${wl}-bM:SRE'
22297 # It seems that -bexpall does not export symbols beginning with
22298 # underscore (_), so it is better to generate a list of symbols to export.
22299 always_export_symbols_F77=yes
22300 if test "$aix_use_runtimelinking" = yes; then
22301 # Warning - without using the other runtime loading flags (-brtl),
22302 # -berok will link without error, but may produce a broken library.
22303 allow_undefined_flag_F77='-berok'
22304 # Determine the default libpath from the value encoded in an empty executable.
22305 cat >conftest.$ac_ext <<_ACEOF
22310 rm -f conftest.$ac_objext conftest$ac_exeext
22311 if { (ac_try="$ac_link"
22312 case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_link") 2>conftest.er1
22319 grep -v '^ *+' conftest.er1 >conftest.err
22321 cat conftest.err >&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); } && {
22324 test -z "$ac_f77_werror_flag" ||
22325 test ! -s conftest.err
22326 } && test -s conftest$ac_exeext &&
22327 $as_test_x conftest$ac_exeext; then
22329 lt_aix_libpath_sed='
22330 /Import File Strings/,/^$/ {
22336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22337 # Check for a 64-bit object if we didn't find anything.
22338 if test -z "$aix_libpath"; then
22339 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22349 conftest$ac_exeext conftest.$ac_ext
22350 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22352 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22353 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22355 if test "$host_cpu" = ia64; then
22356 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22357 allow_undefined_flag_F77="-z nodefs"
22358 archive_expsym_cmds_F77="\$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"
22360 # Determine the default libpath from the value encoded in an empty executable.
22361 cat >conftest.$ac_ext <<_ACEOF
22366 rm -f conftest.$ac_objext conftest$ac_exeext
22367 if { (ac_try="$ac_link"
22368 case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_link") 2>conftest.er1
22375 grep -v '^ *+' conftest.er1 >conftest.err
22377 cat conftest.err >&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } && {
22380 test -z "$ac_f77_werror_flag" ||
22381 test ! -s conftest.err
22382 } && test -s conftest$ac_exeext &&
22383 $as_test_x conftest$ac_exeext; then
22385 lt_aix_libpath_sed='
22386 /Import File Strings/,/^$/ {
22392 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22393 # Check for a 64-bit object if we didn't find anything.
22394 if test -z "$aix_libpath"; then
22395 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22398 echo "$as_me: failed program was:" >&5
22399 sed 's/^/| /' conftest.$ac_ext >&5
22404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22405 conftest$ac_exeext conftest.$ac_ext
22406 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22408 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22409 # Warning - without using the other run time loading flags,
22410 # -berok will link without error, but may produce a broken library.
22411 no_undefined_flag_F77=' ${wl}-bernotok'
22412 allow_undefined_flag_F77=' ${wl}-berok'
22413 # Exported symbols can be pulled into shared objects from archives
22414 whole_archive_flag_spec_F77='$convenience'
22415 archive_cmds_need_lc_F77=yes
22416 # This is similar to how AIX traditionally builds its shared libraries.
22417 archive_expsym_cmds_F77="\$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'
22423 archive_cmds_F77='$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)'
22424 hardcode_libdir_flag_spec_F77='-L$libdir'
22425 hardcode_minus_L_F77=yes
22426 # see comment about different semantics on the GNU ld section
22431 export_dynamic_flag_spec_F77=-rdynamic
22434 cygwin* | mingw* | pw32*)
22435 # When not using gcc, we currently assume that we are using
22436 # Microsoft Visual C++.
22437 # hardcode_libdir_flag_spec is actually meaningless, as there is
22438 # no search path for DLLs.
22439 hardcode_libdir_flag_spec_F77=' '
22440 allow_undefined_flag_F77=unsupported
22441 # Tell ltmain to make .lib files, not .a files.
22443 # Tell ltmain to make .dll files, not .so files.
22445 # FIXME: Setting linknames here is a bad hack.
22446 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22447 # The linker will automatically build a .lib file if we build a DLL.
22448 old_archive_From_new_cmds_F77='true'
22449 # FIXME: Should let the user specify the lib program.
22450 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
22451 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22452 enable_shared_with_static_runtimes_F77=yes
22455 darwin* | rhapsody*)
22457 rhapsody* | darwin1.[012])
22458 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22461 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22462 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22464 case ${MACOSX_DEPLOYMENT_TARGET} in
22466 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22469 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22475 archive_cmds_need_lc_F77=no
22476 hardcode_direct_F77=no
22477 hardcode_automatic_F77=yes
22478 hardcode_shlibpath_var_F77=unsupported
22479 whole_archive_flag_spec_F77=''
22480 link_all_deplibs_F77=yes
22481 if test "$GCC" = yes ; then
22482 output_verbose_link_cmd='echo'
22483 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22484 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22485 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22486 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22487 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22489 case $cc_basename in
22491 output_verbose_link_cmd='echo'
22492 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
22493 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22494 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22495 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22496 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22506 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22507 hardcode_libdir_flag_spec_F77='-L$libdir'
22508 hardcode_shlibpath_var_F77=no
22515 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22516 # support. Future versions do this automatically, but an explicit c++rt0.o
22517 # does not break anything, and helps significantly (at the cost of a little
22520 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22521 hardcode_libdir_flag_spec_F77='-R$libdir'
22522 hardcode_direct_F77=yes
22523 hardcode_shlibpath_var_F77=no
22526 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22528 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22529 hardcode_direct_F77=yes
22530 hardcode_minus_L_F77=yes
22531 hardcode_shlibpath_var_F77=no
22534 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22535 freebsd* | dragonfly*)
22536 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22537 hardcode_libdir_flag_spec_F77='-R$libdir'
22538 hardcode_direct_F77=yes
22539 hardcode_shlibpath_var_F77=no
22543 if test "$GCC" = yes; then
22544 archive_cmds_F77='$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'
22546 archive_cmds_F77='$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'
22548 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22549 hardcode_libdir_separator_F77=:
22550 hardcode_direct_F77=yes
22552 # hardcode_minus_L: Not really in the search PATH,
22553 # but as the default location of the library.
22554 hardcode_minus_L_F77=yes
22555 export_dynamic_flag_spec_F77='${wl}-E'
22559 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22560 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22562 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22564 if test "$with_gnu_ld" = no; then
22565 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22566 hardcode_libdir_separator_F77=:
22568 hardcode_direct_F77=yes
22569 export_dynamic_flag_spec_F77='${wl}-E'
22571 # hardcode_minus_L: Not really in the search PATH,
22572 # but as the default location of the library.
22573 hardcode_minus_L_F77=yes
22578 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22581 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22584 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22587 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22593 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22596 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22599 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22603 if test "$with_gnu_ld" = no; then
22604 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22605 hardcode_libdir_separator_F77=:
22609 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22610 hardcode_direct_F77=no
22611 hardcode_shlibpath_var_F77=no
22614 hardcode_direct_F77=yes
22615 export_dynamic_flag_spec_F77='${wl}-E'
22617 # hardcode_minus_L: Not really in the search PATH,
22618 # but as the default location of the library.
22619 hardcode_minus_L_F77=yes
22625 irix5* | irix6* | nonstopux*)
22626 if test "$GCC" = yes; then
22627 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22629 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22630 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22632 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22633 hardcode_libdir_separator_F77=:
22634 link_all_deplibs_F77=yes
22638 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22639 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22641 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22643 hardcode_libdir_flag_spec_F77='-R$libdir'
22644 hardcode_direct_F77=yes
22645 hardcode_shlibpath_var_F77=no
22649 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22650 hardcode_direct_F77=yes
22651 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22652 hardcode_libdir_separator_F77=:
22653 hardcode_shlibpath_var_F77=no
22657 if test -f /usr/libexec/ld.so; then
22658 hardcode_direct_F77=yes
22659 hardcode_shlibpath_var_F77=no
22660 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22661 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22662 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22663 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22664 export_dynamic_flag_spec_F77='${wl}-E'
22667 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22668 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22669 hardcode_libdir_flag_spec_F77='-R$libdir'
22672 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22673 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22683 hardcode_libdir_flag_spec_F77='-L$libdir'
22684 hardcode_minus_L_F77=yes
22685 allow_undefined_flag_F77=unsupported
22686 archive_cmds_F77='$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'
22687 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22691 if test "$GCC" = yes; then
22692 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22693 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22695 allow_undefined_flag_F77=' -expect_unresolved \*'
22696 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22698 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22699 hardcode_libdir_separator_F77=:
22702 osf4* | osf5*) # as osf3* with the addition of -msym flag
22703 if test "$GCC" = yes; then
22704 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22705 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22706 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22708 allow_undefined_flag_F77=' -expect_unresolved \*'
22709 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22710 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22711 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
22713 # Both c and cxx compiler support -rpath directly
22714 hardcode_libdir_flag_spec_F77='-rpath $libdir'
22716 hardcode_libdir_separator_F77=:
22720 no_undefined_flag_F77=' -z text'
22721 if test "$GCC" = yes; then
22723 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22724 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22725 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22728 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22729 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22730 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22732 hardcode_libdir_flag_spec_F77='-R$libdir'
22733 hardcode_shlibpath_var_F77=no
22735 solaris2.[0-5] | solaris2.[0-5].*) ;;
22737 # The compiler driver will combine and reorder linker options,
22738 # but understands `-z linker_flag'. GCC discards it without `$wl',
22739 # but is careful enough not to reorder.
22740 # Supported since Solaris 2.6 (maybe 2.5.1?)
22741 if test "$GCC" = yes; then
22742 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
22744 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
22748 link_all_deplibs_F77=yes
22752 if test "x$host_vendor" = xsequent; then
22753 # Use $CC to link under sequent, because it throws in some extra .o
22754 # files that make .init and .fini sections work.
22755 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22757 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22759 hardcode_libdir_flag_spec_F77='-L$libdir'
22760 hardcode_direct_F77=yes
22761 hardcode_minus_L_F77=yes
22762 hardcode_shlibpath_var_F77=no
22766 case $host_vendor in
22768 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22769 hardcode_direct_F77=yes # is this really true???
22772 ## LD is ld it makes a PLAMLIB
22773 ## CC just makes a GrossModule.
22774 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22775 reload_cmds_F77='$CC -r -o $output$reload_objs'
22776 hardcode_direct_F77=no
22779 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22780 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22783 runpath_var='LD_RUN_PATH'
22784 hardcode_shlibpath_var_F77=no
22788 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22789 hardcode_shlibpath_var_F77=no
22790 export_dynamic_flag_spec_F77='-Bexport'
22794 if test -d /usr/nec; then
22795 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22796 hardcode_shlibpath_var_F77=no
22797 runpath_var=LD_RUN_PATH
22798 hardcode_runpath_var=yes
22803 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
22804 no_undefined_flag_F77='${wl}-z,text'
22805 archive_cmds_need_lc_F77=no
22806 hardcode_shlibpath_var_F77=no
22807 runpath_var='LD_RUN_PATH'
22809 if test "$GCC" = yes; then
22810 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22811 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22813 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22814 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22818 sysv5* | sco3.2v5* | sco5v6*)
22819 # Note: We can NOT use -z defs as we might desire, because we do not
22820 # link with -lc, and that would cause any symbols used from libc to
22821 # always be unresolved, which means just about no library would
22822 # ever link correctly. If we're not using GNU ld we use -z text
22823 # though, which does catch some bad symbols but isn't as heavy-handed
22825 no_undefined_flag_F77='${wl}-z,text'
22826 allow_undefined_flag_F77='${wl}-z,nodefs'
22827 archive_cmds_need_lc_F77=no
22828 hardcode_shlibpath_var_F77=no
22829 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22830 hardcode_libdir_separator_F77=':'
22831 link_all_deplibs_F77=yes
22832 export_dynamic_flag_spec_F77='${wl}-Bexport'
22833 runpath_var='LD_RUN_PATH'
22835 if test "$GCC" = yes; then
22836 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22837 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22839 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22840 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22845 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22846 hardcode_libdir_flag_spec_F77='-L$libdir'
22847 hardcode_shlibpath_var_F77=no
22856 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22857 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22858 test "$ld_shlibs_F77" = no && can_build_shared=no
22861 # Do we need to explicitly link libc?
22863 case "x$archive_cmds_need_lc_F77" in
22865 # Assume -lc should be added
22866 archive_cmds_need_lc_F77=yes
22868 if test "$enable_shared" = yes && test "$GCC" = yes; then
22869 case $archive_cmds_F77 in
22871 # FIXME: we may have to deal with multi-command sequences.
22874 # Test whether the compiler implicitly links with -lc since on some
22875 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22876 # to ld, don't add -lc before -lgcc.
22877 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22878 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22880 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22883 (eval $ac_compile) 2>&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } 2>conftest.err; then
22889 libobjs=conftest.$ac_objext
22891 wl=$lt_prog_compiler_wl_F77
22892 pic_flag=$lt_prog_compiler_pic_F77
22898 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22899 allow_undefined_flag_F77=
22900 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22901 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }
22906 archive_cmds_need_lc_F77=no
22908 archive_cmds_need_lc_F77=yes
22910 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22912 cat conftest.err 1>&5
22915 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22916 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22923 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22924 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22925 library_names_spec=
22926 libname_spec='lib$name'
22930 postuninstall_cmds=
22934 shlibpath_overrides_runpath=unknown
22936 dynamic_linker="$host_os ld.so"
22937 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22939 need_lib_prefix=unknown
22940 hardcode_into_libs=no
22942 # when you set need_version to no, make sure it does not cause -set_version
22943 # flags to be left without arguments
22944 need_version=unknown
22949 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22950 shlibpath_var=LIBPATH
22952 # AIX 3 has no versioning support, so we append a major version to the name.
22953 soname_spec='${libname}${release}${shared_ext}$major'
22960 hardcode_into_libs=yes
22961 if test "$host_cpu" = ia64; then
22962 # AIX 5 supports IA64
22963 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22964 shlibpath_var=LD_LIBRARY_PATH
22966 # With GCC up to 2.95.x, collect2 would create an import file
22967 # for dependence libraries. The import file would start with
22968 # the line `#! .'. This would cause the generated library to
22969 # depend on `.', always an invalid library. This was fixed in
22970 # development snapshots of GCC prior to 3.0.
22972 aix4 | aix4.[01] | aix4.[01].*)
22973 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22975 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22978 can_build_shared=no
22982 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22983 # soname into executable. Probably we can add versioning support to
22984 # collect2, so additional links can be useful in future.
22985 if test "$aix_use_runtimelinking" = yes; then
22986 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22987 # instead of lib<name>.a to let people know that these are not
22988 # typical AIX shared libraries.
22989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22991 # We preserve .a as extension for shared libraries through AIX4.2
22992 # and later when we are not doing run time linking.
22993 library_names_spec='${libname}${release}.a $libname.a'
22994 soname_spec='${libname}${release}${shared_ext}$major'
22996 shlibpath_var=LIBPATH
23001 library_names_spec='$libname.ixlibrary $libname.a'
23002 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23003 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'
23007 library_names_spec='${libname}${shared_ext}'
23008 dynamic_linker="$host_os ld.so"
23009 shlibpath_var=LIBRARY_PATH
23015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23016 soname_spec='${libname}${release}${shared_ext}$major'
23017 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23018 shlibpath_var=LD_LIBRARY_PATH
23019 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23020 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23021 # the default ld.so.conf also contains /usr/contrib/lib and
23022 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23023 # libtool to hard-code these into programs
23026 cygwin* | mingw* | pw32*)
23027 version_type=windows
23032 case $GCC,$host_os in
23033 yes,cygwin* | yes,mingw* | yes,pw32*)
23034 library_names_spec='$libname.dll.a'
23035 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23036 postinstall_cmds='base_file=`basename \${file}`~
23037 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23038 dldir=$destdir/`dirname \$dlpath`~
23039 test -d \$dldir || mkdir -p \$dldir~
23040 $install_prog $dir/$dlname \$dldir/$dlname~
23041 chmod a+x \$dldir/$dlname'
23042 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23043 dlpath=$dir/\$dldll~
23045 shlibpath_overrides_runpath=yes
23049 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23050 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23051 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23054 # MinGW DLLs use traditional 'lib' prefix
23055 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23056 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23057 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23058 # It is most probably a Windows format PATH printed by
23059 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23060 # path with ; separators, and with drive letters. We can handle the
23061 # drive letters (cygwin fileutils understands them), so leave them,
23062 # especially as we might pass files found there to a mingw objdump,
23063 # which wouldn't understand a cygwinified path. Ahh.
23064 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23066 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23070 # pw32 DLLs use 'pw' prefix rather than 'lib'
23071 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23077 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23080 dynamic_linker='Win32 ld.exe'
23081 # FIXME: first we should search . and the directory the executable is in
23085 darwin* | rhapsody*)
23086 dynamic_linker="$host_os dyld"
23087 version_type=darwin
23090 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23091 soname_spec='${libname}${release}${major}$shared_ext'
23092 shlibpath_overrides_runpath=yes
23093 shlibpath_var=DYLD_LIBRARY_PATH
23094 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
23096 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23104 soname_spec='${libname}${release}${shared_ext}$major'
23105 shlibpath_var=LD_LIBRARY_PATH
23112 freebsd* | dragonfly*)
23113 # DragonFly does not have aout. When/if they implement a new
23114 # versioning mechanism, adjust this.
23115 if test -x /usr/bin/objformat; then
23116 objformat=`/usr/bin/objformat`
23119 freebsd[123]*) objformat=aout ;;
23120 *) objformat=elf ;;
23123 version_type=freebsd-$objformat
23124 case $version_type in
23126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23131 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23135 shlibpath_var=LD_LIBRARY_PATH
23138 shlibpath_overrides_runpath=yes
23140 freebsd3.[01]* | freebsdelf3.[01]*)
23141 shlibpath_overrides_runpath=yes
23142 hardcode_into_libs=yes
23144 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23145 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23146 shlibpath_overrides_runpath=no
23147 hardcode_into_libs=yes
23149 *) # from 4.6 on, and DragonFly
23150 shlibpath_overrides_runpath=yes
23151 hardcode_into_libs=yes
23160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23161 soname_spec='${libname}${release}${shared_ext}$major'
23162 shlibpath_var=LD_LIBRARY_PATH
23163 hardcode_into_libs=yes
23166 hpux9* | hpux10* | hpux11*)
23167 # Give a soname corresponding to the major version so that dld.sl refuses to
23168 # link against other versions.
23175 hardcode_into_libs=yes
23176 dynamic_linker="$host_os dld.so"
23177 shlibpath_var=LD_LIBRARY_PATH
23178 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23180 soname_spec='${libname}${release}${shared_ext}$major'
23181 if test "X$HPUX_IA64_MODE" = X32; then
23182 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23184 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23186 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23190 hardcode_into_libs=yes
23191 dynamic_linker="$host_os dld.sl"
23192 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23193 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23195 soname_spec='${libname}${release}${shared_ext}$major'
23196 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23197 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23201 dynamic_linker="$host_os dld.sl"
23202 shlibpath_var=SHLIB_PATH
23203 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23205 soname_spec='${libname}${release}${shared_ext}$major'
23208 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23209 postinstall_cmds='chmod 555 $lib'
23216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23217 soname_spec='${libname}${release}${shared_ext}$major'
23218 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23219 shlibpath_var=LD_LIBRARY_PATH
23220 shlibpath_overrides_runpath=no
23221 hardcode_into_libs=yes
23224 irix5* | irix6* | nonstopux*)
23226 nonstopux*) version_type=nonstopux ;;
23228 if test "$lt_cv_prog_gnu_ld" = yes; then
23236 soname_spec='${libname}${release}${shared_ext}$major'
23237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23239 irix5* | nonstopux*)
23240 libsuff= shlibsuff=
23243 case $LD in # libtool.m4 will add one of these switches to LD
23244 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23245 libsuff= shlibsuff= libmagic=32-bit;;
23246 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23247 libsuff=32 shlibsuff=N32 libmagic=N32;;
23248 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23249 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23250 *) libsuff= shlibsuff= libmagic=never-match;;
23254 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23255 shlibpath_overrides_runpath=no
23256 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23257 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23258 hardcode_into_libs=yes
23261 # No shared lib support for Linux oldld, aout, or coff.
23262 linux*oldld* | linux*aout* | linux*coff*)
23266 # This must be Linux ELF.
23267 linux* | k*bsd*-gnu)
23271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23272 soname_spec='${libname}${release}${shared_ext}$major'
23273 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23274 shlibpath_var=LD_LIBRARY_PATH
23275 shlibpath_overrides_runpath=no
23276 # This implies no fast_install, which is unacceptable.
23277 # Some rework will be needed to allow for fast_install
23278 # before this can be enabled.
23279 hardcode_into_libs=yes
23280 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23281 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23283 # Append ld.so.conf contents to the search path
23284 if test -f /etc/ld.so.conf; then
23285 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' ' '`
23286 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
23289 # We used to test for /lib/ld.so.1 and disable shared libraries on
23290 # powerpc, because MkLinux only supported shared libraries with the
23291 # GNU dynamic linker. Since this was broken with cross compilers,
23292 # most powerpc-linux boxes support dynamic linking these days and
23293 # people can always --disable-shared, the test was removed, and we
23294 # assume the GNU/Linux dynamic linker is in use.
23295 dynamic_linker='GNU/Linux ld.so'
23302 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23304 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23305 dynamic_linker='NetBSD (a.out) ld.so'
23307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23308 soname_spec='${libname}${release}${shared_ext}$major'
23309 dynamic_linker='NetBSD ld.elf_so'
23311 shlibpath_var=LD_LIBRARY_PATH
23312 shlibpath_overrides_runpath=yes
23313 hardcode_into_libs=yes
23318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23319 shlibpath_var=LD_LIBRARY_PATH
23320 shlibpath_overrides_runpath=yes
23327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23328 soname_spec='${libname}${release}${shared_ext}$major'
23329 shlibpath_var=LD_LIBRARY_PATH
23330 shlibpath_overrides_runpath=yes
23335 sys_lib_dlsearch_path_spec="/usr/lib"
23337 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23339 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23340 *) need_version=no ;;
23342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23343 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23344 shlibpath_var=LD_LIBRARY_PATH
23345 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23347 openbsd2.[89] | openbsd2.[89].*)
23348 shlibpath_overrides_runpath=no
23351 shlibpath_overrides_runpath=yes
23355 shlibpath_overrides_runpath=yes
23360 libname_spec='$name'
23363 library_names_spec='$libname${shared_ext} $libname.a'
23364 dynamic_linker='OS/2 ld.exe'
23365 shlibpath_var=LIBPATH
23368 osf3* | osf4* | osf5*)
23372 soname_spec='${libname}${release}${shared_ext}$major'
23373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23374 shlibpath_var=LD_LIBRARY_PATH
23375 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23376 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23388 soname_spec='${libname}${release}${shared_ext}$major'
23389 shlibpath_var=LD_LIBRARY_PATH
23390 shlibpath_overrides_runpath=yes
23391 hardcode_into_libs=yes
23392 # ldd complains unless libraries are executable
23393 postinstall_cmds='chmod +x $lib'
23398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23399 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23400 shlibpath_var=LD_LIBRARY_PATH
23401 shlibpath_overrides_runpath=yes
23402 if test "$with_gnu_ld" = yes; then
23410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23411 soname_spec='${libname}${release}${shared_ext}$major'
23412 shlibpath_var=LD_LIBRARY_PATH
23413 case $host_vendor in
23415 shlibpath_overrides_runpath=no
23417 export_dynamic_flag_spec='${wl}-Blargedynsym'
23418 runpath_var=LD_RUN_PATH
23426 shlibpath_overrides_runpath=no
23427 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23433 if test -d /usr/nec ;then
23435 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23436 soname_spec='$libname${shared_ext}.$major'
23437 shlibpath_var=LD_LIBRARY_PATH
23441 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23442 version_type=freebsd-elf
23445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23446 soname_spec='${libname}${release}${shared_ext}$major'
23447 shlibpath_var=LD_LIBRARY_PATH
23448 hardcode_into_libs=yes
23449 if test "$with_gnu_ld" = yes; then
23450 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23451 shlibpath_overrides_runpath=no
23453 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23454 shlibpath_overrides_runpath=yes
23457 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23461 sys_lib_dlsearch_path_spec='/usr/lib'
23466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23467 soname_spec='${libname}${release}${shared_ext}$major'
23468 shlibpath_var=LD_LIBRARY_PATH
23475 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23476 echo "${ECHO_T}$dynamic_linker" >&6; }
23477 test "$dynamic_linker" = no && can_build_shared=no
23479 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23480 if test "$GCC" = yes; then
23481 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23484 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23485 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23486 hardcode_action_F77=
23487 if test -n "$hardcode_libdir_flag_spec_F77" || \
23488 test -n "$runpath_var_F77" || \
23489 test "X$hardcode_automatic_F77" = "Xyes" ; then
23491 # We can hardcode non-existant directories.
23492 if test "$hardcode_direct_F77" != no &&
23493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23494 # have to relink, otherwise we might link with an installed library
23495 # when we should be linking with a yet-to-be-installed one
23496 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23497 test "$hardcode_minus_L_F77" != no; then
23498 # Linking always hardcodes the temporary library directory.
23499 hardcode_action_F77=relink
23501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23502 hardcode_action_F77=immediate
23505 # We cannot hardcode anything, or else we can only hardcode existing
23507 hardcode_action_F77=unsupported
23509 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23510 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23512 if test "$hardcode_action_F77" = relink; then
23513 # Fast installation is not supported
23514 enable_fast_install=no
23515 elif test "$shlibpath_overrides_runpath" = yes ||
23516 test "$enable_shared" = no; then
23517 # Fast installation is not necessary
23518 enable_fast_install=needless
23522 # The else clause should only fire when bootstrapping the
23523 # libtool distribution, otherwise you forgot to ship ltmain.sh
23524 # with your package, and you will get complaints that there are
23525 # no rules to generate ltmain.sh.
23526 if test -f "$ltmain"; then
23527 # See if we are running on zsh, and set the options which allow our commands through
23528 # without removal of \ escapes.
23529 if test -n "${ZSH_VERSION+set}" ; then
23530 setopt NO_GLOB_SUBST
23532 # Now quote all the things that may contain metacharacters while being
23533 # careful not to overquote the AC_SUBSTed values. We take copies of the
23534 # variables and quote the copies for generation of the libtool script.
23535 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23537 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23538 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23539 deplibs_check_method reload_flag reload_cmds need_locks \
23540 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23541 lt_cv_sys_global_symbol_to_c_name_address \
23542 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23543 old_postinstall_cmds old_postuninstall_cmds \
23547 lt_prog_compiler_wl_F77 \
23548 lt_prog_compiler_pic_F77 \
23549 lt_prog_compiler_static_F77 \
23550 lt_prog_compiler_no_builtin_flag_F77 \
23551 export_dynamic_flag_spec_F77 \
23552 thread_safe_flag_spec_F77 \
23553 whole_archive_flag_spec_F77 \
23554 enable_shared_with_static_runtimes_F77 \
23555 old_archive_cmds_F77 \
23556 old_archive_from_new_cmds_F77 \
23557 predep_objects_F77 \
23558 postdep_objects_F77 \
23561 compiler_lib_search_path_F77 \
23563 archive_expsym_cmds_F77 \
23564 postinstall_cmds_F77 \
23565 postuninstall_cmds_F77 \
23566 old_archive_from_expsyms_cmds_F77 \
23567 allow_undefined_flag_F77 \
23568 no_undefined_flag_F77 \
23569 export_symbols_cmds_F77 \
23570 hardcode_libdir_flag_spec_F77 \
23571 hardcode_libdir_flag_spec_ld_F77 \
23572 hardcode_libdir_separator_F77 \
23573 hardcode_automatic_F77 \
23575 module_expsym_cmds_F77 \
23576 lt_cv_prog_compiler_c_o_F77 \
23577 fix_srcfile_path_F77 \
23578 exclude_expsyms_F77 \
23579 include_expsyms_F77; do
23582 old_archive_cmds_F77 | \
23583 old_archive_from_new_cmds_F77 | \
23584 archive_cmds_F77 | \
23585 archive_expsym_cmds_F77 | \
23586 module_cmds_F77 | \
23587 module_expsym_cmds_F77 | \
23588 old_archive_from_expsyms_cmds_F77 | \
23589 export_symbols_cmds_F77 | \
23590 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23591 postinstall_cmds | postuninstall_cmds | \
23592 old_postinstall_cmds | old_postuninstall_cmds | \
23593 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23594 # Double-quote double-evaled strings.
23595 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23598 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23604 *'\$0 --fallback-echo"')
23605 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23611 cat <<__EOF__ >> "$cfgfile"
23612 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23614 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23616 # Shell to use when invoking shell scripts.
23619 # Whether or not to build shared libraries.
23620 build_libtool_libs=$enable_shared
23622 # Whether or not to build static libraries.
23623 build_old_libs=$enable_static
23625 # Whether or not to add -lc for building shared libraries.
23626 build_libtool_need_lc=$archive_cmds_need_lc_F77
23628 # Whether or not to disallow shared libs when runtime libs are static
23629 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23631 # Whether or not to optimize for fast installation.
23632 fast_install=$enable_fast_install
23635 host_alias=$host_alias
23639 # The build system.
23640 build_alias=$build_alias
23644 # An echo program that does not interpret backslashes.
23649 AR_FLAGS=$lt_AR_FLAGS
23654 # LTCC compiler flags.
23655 LTCFLAGS=$lt_LTCFLAGS
23657 # A language-specific compiler.
23658 CC=$lt_compiler_F77
23660 # Is the compiler the GNU C compiler?
23666 # The linker used to build libraries.
23669 # Whether we need hard or soft links.
23672 # A BSD-compatible nm program.
23675 # A symbol stripping program
23678 # Used to examine libraries when file_magic_cmd begins "file"
23679 MAGIC_CMD=$MAGIC_CMD
23681 # Used on cygwin: DLL creation program.
23684 # Used on cygwin: object dumper.
23687 # Used on cygwin: assembler.
23690 # The name of the directory that contains temporary libtool files.
23693 # How to create reloadable object files.
23694 reload_flag=$lt_reload_flag
23695 reload_cmds=$lt_reload_cmds
23697 # How to pass a linker flag through the compiler.
23698 wl=$lt_lt_prog_compiler_wl_F77
23700 # Object file suffix (normally "o").
23701 objext="$ac_objext"
23703 # Old archive suffix (normally "a").
23706 # Shared library suffix (normally ".so").
23707 shrext_cmds='$shrext_cmds'
23709 # Executable file suffix (normally "").
23712 # Additional compiler flags for building library objects.
23713 pic_flag=$lt_lt_prog_compiler_pic_F77
23716 # What is the maximum length of a command?
23717 max_cmd_len=$lt_cv_sys_max_cmd_len
23719 # Does compiler simultaneously support -c and -o options?
23720 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23722 # Must we lock files when doing compilation?
23723 need_locks=$lt_need_locks
23725 # Do we need the lib prefix for modules?
23726 need_lib_prefix=$need_lib_prefix
23728 # Do we need a version for libraries?
23729 need_version=$need_version
23731 # Whether dlopen is supported.
23732 dlopen_support=$enable_dlopen
23734 # Whether dlopen of programs is supported.
23735 dlopen_self=$enable_dlopen_self
23737 # Whether dlopen of statically linked programs is supported.
23738 dlopen_self_static=$enable_dlopen_self_static
23740 # Compiler flag to prevent dynamic linking.
23741 link_static_flag=$lt_lt_prog_compiler_static_F77
23743 # Compiler flag to turn off builtin functions.
23744 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23746 # Compiler flag to allow reflexive dlopens.
23747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23749 # Compiler flag to generate shared objects directly from archives.
23750 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23752 # Compiler flag to generate thread-safe objects.
23753 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23755 # Library versioning type.
23756 version_type=$version_type
23758 # Format of library name prefix.
23759 libname_spec=$lt_libname_spec
23761 # List of archive names. First name is the real one, the rest are links.
23762 # The last name is the one that the linker finds with -lNAME.
23763 library_names_spec=$lt_library_names_spec
23765 # The coded name of the library, if different from the real name.
23766 soname_spec=$lt_soname_spec
23768 # Commands used to build and install an old-style archive.
23770 old_archive_cmds=$lt_old_archive_cmds_F77
23771 old_postinstall_cmds=$lt_old_postinstall_cmds
23772 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23774 # Create an old-style archive from a shared archive.
23775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23777 # Create a temporary old-style archive to link instead of a shared archive.
23778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23780 # Commands used to build and install a shared archive.
23781 archive_cmds=$lt_archive_cmds_F77
23782 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23783 postinstall_cmds=$lt_postinstall_cmds
23784 postuninstall_cmds=$lt_postuninstall_cmds
23786 # Commands used to build a loadable module (assumed same as above if empty)
23787 module_cmds=$lt_module_cmds_F77
23788 module_expsym_cmds=$lt_module_expsym_cmds_F77
23790 # Commands to strip libraries.
23791 old_striplib=$lt_old_striplib
23792 striplib=$lt_striplib
23794 # Dependencies to place before the objects being linked to create a
23796 predep_objects=$lt_predep_objects_F77
23798 # Dependencies to place after the objects being linked to create a
23800 postdep_objects=$lt_postdep_objects_F77
23802 # Dependencies to place before the objects being linked to create a
23804 predeps=$lt_predeps_F77
23806 # Dependencies to place after the objects being linked to create a
23808 postdeps=$lt_postdeps_F77
23810 # The library search path used internally by the compiler when linking
23811 # a shared library.
23812 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23814 # Method to check whether dependent libraries are shared objects.
23815 deplibs_check_method=$lt_deplibs_check_method
23817 # Command to use when deplibs_check_method == file_magic.
23818 file_magic_cmd=$lt_file_magic_cmd
23820 # Flag that allows shared libraries with undefined symbols to be built.
23821 allow_undefined_flag=$lt_allow_undefined_flag_F77
23823 # Flag that forces no undefined symbols.
23824 no_undefined_flag=$lt_no_undefined_flag_F77
23826 # Commands used to finish a libtool library installation in a directory.
23827 finish_cmds=$lt_finish_cmds
23829 # Same as above, but a single script fragment to be evaled but not shown.
23830 finish_eval=$lt_finish_eval
23832 # Take the output of nm and produce a listing of raw symbols and C names.
23833 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23835 # Transform the output of nm in a proper C declaration
23836 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23838 # Transform the output of nm in a C name address pair
23839 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23841 # This is the shared library runtime path variable.
23842 runpath_var=$runpath_var
23844 # This is the shared library path variable.
23845 shlibpath_var=$shlibpath_var
23847 # Is shlibpath searched before the hard-coded library search path?
23848 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23850 # How to hardcode a shared library path into an executable.
23851 hardcode_action=$hardcode_action_F77
23853 # Whether we should hardcode library paths into libraries.
23854 hardcode_into_libs=$hardcode_into_libs
23856 # Flag to hardcode \$libdir into a binary during linking.
23857 # This must work even if \$libdir does not exist.
23858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23860 # If ld is used when linking, flag to hardcode \$libdir into
23861 # a binary during linking. This must work even if \$libdir does
23863 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23865 # Whether we need a single -rpath flag with a separated argument.
23866 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23868 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23869 # resulting binary.
23870 hardcode_direct=$hardcode_direct_F77
23872 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23873 # resulting binary.
23874 hardcode_minus_L=$hardcode_minus_L_F77
23876 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23877 # the resulting binary.
23878 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23880 # Set to yes if building a shared library automatically hardcodes DIR into the library
23881 # and all subsequent libraries and executables linked against it.
23882 hardcode_automatic=$hardcode_automatic_F77
23884 # Variables whose values should be saved in libtool wrapper scripts and
23885 # restored at relink time.
23886 variables_saved_for_relink="$variables_saved_for_relink"
23888 # Whether libtool must link a program against all its dependency libraries.
23889 link_all_deplibs=$link_all_deplibs_F77
23891 # Compile-time system search path for libraries
23892 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23894 # Run-time system search path for libraries
23895 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23897 # Fix the shell variable \$srcfile for the compiler.
23898 fix_srcfile_path=$lt_fix_srcfile_path
23900 # Set to yes if exported symbols are required.
23901 always_export_symbols=$always_export_symbols_F77
23903 # The commands to list exported symbols.
23904 export_symbols_cmds=$lt_export_symbols_cmds_F77
23906 # The commands to extract the exported symbol list from a shared archive.
23907 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23909 # Symbols that should not be listed in the preloaded symbols.
23910 exclude_expsyms=$lt_exclude_expsyms_F77
23912 # Symbols that must always be exported.
23913 include_expsyms=$lt_include_expsyms_F77
23915 # ### END LIBTOOL TAG CONFIG: $tagname
23921 # If there is no Makefile yet, we rely on a make rule to execute
23922 # `config.status --recheck' to rerun these tests and create the
23923 # libtool script then.
23924 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23925 if test -f "$ltmain_in"; then
23926 test -f Makefile && make "$ltmain"
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23945 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23948 # Source file extension for Java test sources.
23951 # Object file extension for compiled Java test sources.
23955 # Code to be used in simple compile tests
23956 lt_simple_compile_test_code="class foo {}"
23958 # Code to be used in simple link tests
23959 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
23961 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23963 # If no C compiler was specified, use CC.
23966 # If no C compiler flags were specified, use CFLAGS.
23967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23969 # Allow CC to be a program name with arguments.
23973 # save warnings/boilerplate of simple test code
23974 ac_outfile=conftest.$ac_objext
23975 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23977 _lt_compiler_boilerplate=`cat conftest.err`
23980 ac_outfile=conftest.$ac_objext
23981 echo "$lt_simple_link_test_code" >conftest.$ac_ext
23982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23983 _lt_linker_boilerplate=`cat conftest.err`
23987 # Allow CC to be a program name with arguments.
23992 for cc_temp in $compiler""; do
23994 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23995 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24000 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24003 # GCJ did not exist at the time GCC didn't implicitly link libc in.
24004 archive_cmds_need_lc_GCJ=no
24006 old_archive_cmds_GCJ=$old_archive_cmds
24009 lt_prog_compiler_no_builtin_flag_GCJ=
24011 if test "$GCC" = yes; then
24012 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
24015 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24016 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
24017 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24020 lt_cv_prog_compiler_rtti_exceptions=no
24021 ac_outfile=conftest.$ac_objext
24022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24023 lt_compiler_flag="-fno-rtti -fno-exceptions"
24024 # Insert the option either (1) after the last *FLAGS variable, or
24025 # (2) before a word containing "conftest.", or (3) at the end.
24026 # Note that $ac_compile itself does not contain backslashes and begins
24027 # with a dollar sign (not a hyphen), so the echo should work correctly.
24028 # The option is referenced via a variable to avoid confusing sed.
24029 lt_compile=`echo "$ac_compile" | $SED \
24030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24032 -e 's:$: $lt_compiler_flag:'`
24033 (eval echo "\"\$as_me:24033: $lt_compile\"" >&5)
24034 (eval "$lt_compile" 2>conftest.err)
24036 cat conftest.err >&5
24037 echo "$as_me:24037: \$? = $ac_status" >&5
24038 if (exit $ac_status) && test -s "$ac_outfile"; then
24039 # The compiler can only warn and ignore the option if not recognized
24040 # So say no if there are warnings other than the usual output.
24041 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24042 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24043 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24044 lt_cv_prog_compiler_rtti_exceptions=yes
24050 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24051 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24053 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
24054 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
24061 lt_prog_compiler_wl_GCJ=
24062 lt_prog_compiler_pic_GCJ=
24063 lt_prog_compiler_static_GCJ=
24065 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24066 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
24068 if test "$GCC" = yes; then
24069 lt_prog_compiler_wl_GCJ='-Wl,'
24070 lt_prog_compiler_static_GCJ='-static'
24074 # All AIX code is PIC.
24075 if test "$host_cpu" = ia64; then
24076 # AIX 5 now supports IA64 processor
24077 lt_prog_compiler_static_GCJ='-Bstatic'
24082 # FIXME: we need at least 68020 code to build shared libraries, but
24083 # adding the `-m68020' flag to GCC prevents building anything better,
24085 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
24088 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24089 # PIC is the default for these OSes.
24092 mingw* | cygwin* | pw32* | os2*)
24093 # This hack is so that the source file can tell whether it is being
24094 # built for inclusion in a dll (and should export symbols for example).
24095 # Although the cygwin gcc ignores -fPIC, still need this for old-style
24096 # (--disable-auto-import) libraries
24097 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24100 darwin* | rhapsody*)
24101 # PIC is the default on this platform
24102 # Common symbols not allowed in MH_DYLIB files
24103 lt_prog_compiler_pic_GCJ='-fno-common'
24107 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24108 # Instead, we relocate shared libraries at runtime.
24112 # Just because we use GCC doesn't mean we suddenly get shared libraries
24113 # on systems that don't support them.
24114 lt_prog_compiler_can_build_shared_GCJ=no
24119 if test -d /usr/nec; then
24120 lt_prog_compiler_pic_GCJ=-Kconform_pic
24125 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24126 # not for PA HP-UX.
24132 lt_prog_compiler_pic_GCJ='-fPIC'
24138 lt_prog_compiler_pic_GCJ='-fPIC'
24142 # PORTME Check for flag to pass linker flags through the system compiler.
24145 lt_prog_compiler_wl_GCJ='-Wl,'
24146 if test "$host_cpu" = ia64; then
24147 # AIX 5 now supports IA64 processor
24148 lt_prog_compiler_static_GCJ='-Bstatic'
24150 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24154 # PIC is the default on this platform
24155 # Common symbols not allowed in MH_DYLIB files
24156 case $cc_basename in
24158 lt_prog_compiler_pic_GCJ='-qnocommon'
24159 lt_prog_compiler_wl_GCJ='-Wl,'
24164 mingw* | cygwin* | pw32* | os2*)
24165 # This hack is so that the source file can tell whether it is being
24166 # built for inclusion in a dll (and should export symbols for example).
24167 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24170 hpux9* | hpux10* | hpux11*)
24171 lt_prog_compiler_wl_GCJ='-Wl,'
24172 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24173 # not for PA HP-UX.
24179 lt_prog_compiler_pic_GCJ='+Z'
24182 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24183 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24186 irix5* | irix6* | nonstopux*)
24187 lt_prog_compiler_wl_GCJ='-Wl,'
24188 # PIC (with -KPIC) is the default.
24189 lt_prog_compiler_static_GCJ='-non_shared'
24193 lt_prog_compiler_pic_GCJ='-KPIC'
24194 lt_prog_compiler_static_GCJ='-Bstatic'
24197 linux* | k*bsd*-gnu)
24198 case $cc_basename in
24200 lt_prog_compiler_wl_GCJ='-Wl,'
24201 lt_prog_compiler_pic_GCJ='-KPIC'
24202 lt_prog_compiler_static_GCJ='-static'
24204 pgcc* | pgf77* | pgf90* | pgf95*)
24205 # Portland Group compilers (*not* the Pentium gcc compiler,
24206 # which looks to be a dead project)
24207 lt_prog_compiler_wl_GCJ='-Wl,'
24208 lt_prog_compiler_pic_GCJ='-fpic'
24209 lt_prog_compiler_static_GCJ='-Bstatic'
24212 lt_prog_compiler_wl_GCJ='-Wl,'
24213 # All Alpha code is PIC.
24214 lt_prog_compiler_static_GCJ='-non_shared'
24217 case `$CC -V 2>&1 | sed 5q` in
24220 lt_prog_compiler_pic_GCJ='-KPIC'
24221 lt_prog_compiler_static_GCJ='-Bstatic'
24222 lt_prog_compiler_wl_GCJ='-Wl,'
24225 # Sun Fortran 8.3 passes all unrecognized flags to the linker
24226 lt_prog_compiler_pic_GCJ='-KPIC'
24227 lt_prog_compiler_static_GCJ='-Bstatic'
24228 lt_prog_compiler_wl_GCJ=''
24235 osf3* | osf4* | osf5*)
24236 lt_prog_compiler_wl_GCJ='-Wl,'
24237 # All OSF/1 code is PIC.
24238 lt_prog_compiler_static_GCJ='-non_shared'
24242 lt_prog_compiler_static_GCJ='-non_shared'
24246 lt_prog_compiler_pic_GCJ='-KPIC'
24247 lt_prog_compiler_static_GCJ='-Bstatic'
24248 case $cc_basename in
24249 f77* | f90* | f95*)
24250 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24252 lt_prog_compiler_wl_GCJ='-Wl,';;
24257 lt_prog_compiler_wl_GCJ='-Qoption ld '
24258 lt_prog_compiler_pic_GCJ='-PIC'
24259 lt_prog_compiler_static_GCJ='-Bstatic'
24262 sysv4 | sysv4.2uw2* | sysv4.3*)
24263 lt_prog_compiler_wl_GCJ='-Wl,'
24264 lt_prog_compiler_pic_GCJ='-KPIC'
24265 lt_prog_compiler_static_GCJ='-Bstatic'
24269 if test -d /usr/nec ;then
24270 lt_prog_compiler_pic_GCJ='-Kconform_pic'
24271 lt_prog_compiler_static_GCJ='-Bstatic'
24275 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24276 lt_prog_compiler_wl_GCJ='-Wl,'
24277 lt_prog_compiler_pic_GCJ='-KPIC'
24278 lt_prog_compiler_static_GCJ='-Bstatic'
24282 lt_prog_compiler_wl_GCJ='-Wl,'
24283 lt_prog_compiler_can_build_shared_GCJ=no
24287 lt_prog_compiler_pic_GCJ='-pic'
24288 lt_prog_compiler_static_GCJ='-Bstatic'
24292 lt_prog_compiler_can_build_shared_GCJ=no
24297 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24298 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24301 # Check to make sure the PIC flag actually works.
24303 if test -n "$lt_prog_compiler_pic_GCJ"; then
24305 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24306 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24307 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24308 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 lt_prog_compiler_pic_works_GCJ=no
24311 ac_outfile=conftest.$ac_objext
24312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24313 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24314 # Insert the option either (1) after the last *FLAGS variable, or
24315 # (2) before a word containing "conftest.", or (3) at the end.
24316 # Note that $ac_compile itself does not contain backslashes and begins
24317 # with a dollar sign (not a hyphen), so the echo should work correctly.
24318 # The option is referenced via a variable to avoid confusing sed.
24319 lt_compile=`echo "$ac_compile" | $SED \
24320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24322 -e 's:$: $lt_compiler_flag:'`
24323 (eval echo "\"\$as_me:24323: $lt_compile\"" >&5)
24324 (eval "$lt_compile" 2>conftest.err)
24326 cat conftest.err >&5
24327 echo "$as_me:24327: \$? = $ac_status" >&5
24328 if (exit $ac_status) && test -s "$ac_outfile"; then
24329 # The compiler can only warn and ignore the option if not recognized
24330 # So say no if there are warnings other than the usual output.
24331 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24332 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24333 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24334 lt_prog_compiler_pic_works_GCJ=yes
24340 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24341 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24343 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24344 case $lt_prog_compiler_pic_GCJ in
24346 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24349 lt_prog_compiler_pic_GCJ=
24350 lt_prog_compiler_can_build_shared_GCJ=no
24355 # For platforms which do not support PIC, -DPIC is meaningless:
24357 lt_prog_compiler_pic_GCJ=
24360 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24365 # Check to make sure the static flag actually works.
24367 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24368 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24369 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24370 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24371 echo $ECHO_N "(cached) $ECHO_C" >&6
24373 lt_prog_compiler_static_works_GCJ=no
24374 save_LDFLAGS="$LDFLAGS"
24375 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24376 echo "$lt_simple_link_test_code" > conftest.$ac_ext
24377 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24378 # The linker can only warn and ignore the option if not recognized
24379 # So say no if there are warnings
24380 if test -s conftest.err; then
24381 # Append any errors to the config.log.
24382 cat conftest.err 1>&5
24383 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24385 if diff conftest.exp conftest.er2 >/dev/null; then
24386 lt_prog_compiler_static_works_GCJ=yes
24389 lt_prog_compiler_static_works_GCJ=yes
24393 LDFLAGS="$save_LDFLAGS"
24396 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24397 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24399 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
24402 lt_prog_compiler_static_GCJ=
24406 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24407 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24408 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 lt_cv_prog_compiler_c_o_GCJ=no
24412 $rm -r conftest 2>/dev/null
24416 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24418 lt_compiler_flag="-o out/conftest2.$ac_objext"
24419 # Insert the option either (1) after the last *FLAGS variable, or
24420 # (2) before a word containing "conftest.", or (3) at the end.
24421 # Note that $ac_compile itself does not contain backslashes and begins
24422 # with a dollar sign (not a hyphen), so the echo should work correctly.
24423 lt_compile=`echo "$ac_compile" | $SED \
24424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24426 -e 's:$: $lt_compiler_flag:'`
24427 (eval echo "\"\$as_me:24427: $lt_compile\"" >&5)
24428 (eval "$lt_compile" 2>out/conftest.err)
24430 cat out/conftest.err >&5
24431 echo "$as_me:24431: \$? = $ac_status" >&5
24432 if (exit $ac_status) && test -s out/conftest2.$ac_objext
24434 # The compiler can only warn and ignore the option if not recognized
24435 # So say no if there are warnings
24436 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24437 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24438 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24439 lt_cv_prog_compiler_c_o_GCJ=yes
24444 # SGI C++ compiler will create directory out/ii_files/ for
24445 # template instantiation
24446 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24447 $rm out/* && rmdir out
24453 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24454 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24457 hard_links="nottested"
24458 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24459 # do not overwrite the value of need_locks provided by the user
24460 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24461 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24464 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24466 ln conftest.a conftest.b 2>&5 || hard_links=no
24467 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24468 { echo "$as_me:$LINENO: result: $hard_links" >&5
24469 echo "${ECHO_T}$hard_links" >&6; }
24470 if test "$hard_links" = no; then
24471 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24472 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24479 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24480 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24483 allow_undefined_flag_GCJ=
24484 enable_shared_with_static_runtimes_GCJ=no
24486 archive_expsym_cmds_GCJ=
24487 old_archive_From_new_cmds_GCJ=
24488 old_archive_from_expsyms_cmds_GCJ=
24489 export_dynamic_flag_spec_GCJ=
24490 whole_archive_flag_spec_GCJ=
24491 thread_safe_flag_spec_GCJ=
24492 hardcode_libdir_flag_spec_GCJ=
24493 hardcode_libdir_flag_spec_ld_GCJ=
24494 hardcode_libdir_separator_GCJ=
24495 hardcode_direct_GCJ=no
24496 hardcode_minus_L_GCJ=no
24497 hardcode_shlibpath_var_GCJ=unsupported
24498 link_all_deplibs_GCJ=unknown
24499 hardcode_automatic_GCJ=no
24501 module_expsym_cmds_GCJ=
24502 always_export_symbols_GCJ=no
24503 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24504 # include_expsyms should be a list of space-separated symbols to be *always*
24505 # included in the symbol list
24506 include_expsyms_GCJ=
24507 # exclude_expsyms can be an extended regexp of symbols to exclude
24508 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24509 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24510 # as well as any symbol that contains `d'.
24511 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
24512 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24513 # platforms (ab)use it in PIC code, but their linkers get confused if
24514 # the symbol is explicitly referenced. Since portable code cannot
24515 # rely on this symbol name, it's probably fine to never include it in
24516 # preloaded symbol tables.
24517 extract_expsyms_cmds=
24518 # Just being paranoid about ensuring that cc_basename is set.
24519 for cc_temp in $compiler""; do
24521 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24522 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24527 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24530 cygwin* | mingw* | pw32*)
24531 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24532 # When not using gcc, we currently assume that we are using
24533 # Microsoft Visual C++.
24534 if test "$GCC" != yes; then
24539 # we just hope/assume this is gcc and not c89 (= MSVC++)
24548 if test "$with_gnu_ld" = yes; then
24549 # If archive_cmds runs LD, not CC, wlarc should be empty
24552 # Set some defaults for GNU ld with shared library support. These
24553 # are reset later if shared libraries are not supported. Putting them
24554 # here allows them to be overridden if necessary.
24555 runpath_var=LD_RUN_PATH
24556 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24557 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24558 # ancient GNU ld didn't support --whole-archive et. al.
24559 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24560 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24562 whole_archive_flag_spec_GCJ=
24564 supports_anon_versioning=no
24565 case `$LD -v 2>/dev/null` in
24566 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24567 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24568 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24569 *\ 2.11.*) ;; # other 2.11 versions
24570 *) supports_anon_versioning=yes ;;
24573 # See if GNU ld supports shared libraries.
24575 aix3* | aix4* | aix5*)
24576 # On AIX/PPC, the GNU linker is very broken
24577 if test "$host_cpu" != ia64; then
24581 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24582 *** to be unable to reliably create shared libraries on AIX.
24583 *** Therefore, libtool is disabling shared libraries support. If you
24584 *** really care for shared libraries, you may want to modify your PATH
24585 *** so that a non-GNU linker is found, and then restart.
24592 archive_cmds_GCJ='$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)'
24593 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24594 hardcode_minus_L_GCJ=yes
24596 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24597 # that the semantics of dynamic libraries on AmigaOS, at least up
24598 # to version 4, is to share data among multiple programs linked
24599 # with the same dynamic library. Since this doesn't match the
24600 # behavior of shared libraries on other platforms, we can't use
24606 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24607 allow_undefined_flag_GCJ=unsupported
24608 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24609 # support --undefined. This deserves some investigation. FIXME
24610 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24616 cygwin* | mingw* | pw32*)
24617 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24618 # as there is no search path for DLLs.
24619 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24620 allow_undefined_flag_GCJ=unsupported
24621 always_export_symbols_GCJ=no
24622 enable_shared_with_static_runtimes_GCJ=yes
24623 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
24625 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24626 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24627 # If the export-symbols file already is a .def file (1st line
24628 # is EXPORTS), use it as is; otherwise, prepend...
24629 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24630 cp $export_symbols $output_objdir/$soname.def;
24632 echo EXPORTS > $output_objdir/$soname.def;
24633 cat $export_symbols >> $output_objdir/$soname.def;
24635 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24642 hardcode_direct_GCJ=no
24643 hardcode_shlibpath_var_GCJ=no
24644 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24645 export_dynamic_flag_spec_GCJ='${wl}-E'
24646 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24647 # Instead, shared libraries are loaded at an image base (0x10000000 by
24648 # default) and relocated if they conflict, which is a slow very memory
24649 # consuming and fragmenting process. To avoid this, we pick a random,
24650 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24651 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24652 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24653 archive_expsym_cmds_GCJ='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'
24656 gnu* | linux* | k*bsd*-gnu)
24657 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24659 case $cc_basename,$host_cpu in
24660 pgcc*) # Portland Group C compiler
24661 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24662 tmp_addflag=' $pic_flag'
24664 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24665 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24666 tmp_addflag=' $pic_flag -Mnomain' ;;
24667 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24668 tmp_addflag=' -i_dynamic' ;;
24669 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24670 tmp_addflag=' -i_dynamic -nofor_main' ;;
24671 ifc* | ifort*) # Intel Fortran compiler
24672 tmp_addflag=' -nofor_main' ;;
24674 case `$CC -V 2>&1 | sed 5q` in
24675 *Sun\ C*) # Sun C 5.9
24676 whole_archive_flag_spec_GCJ='${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'
24677 tmp_sharedflag='-G' ;;
24678 *Sun\ F*) # Sun Fortran 8.3
24679 tmp_sharedflag='-G' ;;
24681 tmp_sharedflag='-shared' ;;
24683 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24685 if test $supports_anon_versioning = yes; then
24686 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24687 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24688 $echo "local: *; };" >> $output_objdir/$libname.ver~
24689 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24697 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24698 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24701 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24702 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24707 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24711 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24712 *** create shared libraries on Solaris systems. Therefore, libtool
24713 *** is disabling shared libraries support. We urge you to upgrade GNU
24714 *** binutils to release 2.9.1 or newer. Another option is to modify
24715 *** your PATH or compiler configuration so that the native linker is
24716 *** used, and then restart.
24719 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24720 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24721 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24727 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24728 case `$LD -v 2>&1` in
24729 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24733 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24734 *** reliably create shared libraries on SCO systems. Therefore, libtool
24735 *** is disabling shared libraries support. We urge you to upgrade GNU
24736 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24737 *** your PATH or compiler configuration so that the native linker is
24738 *** used, and then restart.
24743 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24744 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24745 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24746 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24755 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24757 hardcode_direct_GCJ=yes
24758 hardcode_shlibpath_var_GCJ=no
24762 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24763 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24764 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24771 if test "$ld_shlibs_GCJ" = no; then
24773 hardcode_libdir_flag_spec_GCJ=
24774 export_dynamic_flag_spec_GCJ=
24775 whole_archive_flag_spec_GCJ=
24778 # PORTME fill in a description of your system's linker (not GNU ld)
24781 allow_undefined_flag_GCJ=unsupported
24782 always_export_symbols_GCJ=yes
24783 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
24784 # Note: this linker hardcodes the directories in LIBPATH if there
24785 # are no directories specified by -L.
24786 hardcode_minus_L_GCJ=yes
24787 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24788 # Neither direct hardcoding nor static linking is supported with a
24790 hardcode_direct_GCJ=unsupported
24795 if test "$host_cpu" = ia64; then
24796 # On IA64, the linker does run time linking by default, so we don't
24797 # have to do anything special.
24798 aix_use_runtimelinking=no
24799 exp_sym_flag='-Bexport'
24802 # If we're using GNU nm, then we don't want the "-C" option.
24803 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24804 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24805 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24807 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24809 aix_use_runtimelinking=no
24811 # Test if we are trying to use run time linking or normal
24812 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24813 # need to do runtime linking.
24814 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24815 for ld_flag in $LDFLAGS; do
24816 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24817 aix_use_runtimelinking=yes
24824 exp_sym_flag='-bexport'
24825 no_entry_flag='-bnoentry'
24828 # When large executables or shared objects are built, AIX ld can
24829 # have problems creating the table of contents. If linking a library
24830 # or program results in "error TOC overflow" add -mminimal-toc to
24831 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24832 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24834 archive_cmds_GCJ=''
24835 hardcode_direct_GCJ=yes
24836 hardcode_libdir_separator_GCJ=':'
24837 link_all_deplibs_GCJ=yes
24839 if test "$GCC" = yes; then
24840 case $host_os in aix4.[012]|aix4.[012].*)
24841 # We only want to do this on AIX 4.2 and lower, the check
24842 # below for broken collect2 doesn't work under 4.3+
24843 collect2name=`${CC} -print-prog-name=collect2`
24844 if test -f "$collect2name" && \
24845 strings "$collect2name" | grep resolve_lib_name >/dev/null
24847 # We have reworked collect2
24850 # We have old collect2
24851 hardcode_direct_GCJ=unsupported
24852 # It fails to find uninstalled libraries when the uninstalled
24853 # path is not listed in the libpath. Setting hardcode_minus_L
24854 # to unsupported forces relinking
24855 hardcode_minus_L_GCJ=yes
24856 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24857 hardcode_libdir_separator_GCJ=
24861 shared_flag='-shared'
24862 if test "$aix_use_runtimelinking" = yes; then
24863 shared_flag="$shared_flag "'${wl}-G'
24867 if test "$host_cpu" = ia64; then
24868 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24869 # chokes on -Wl,-G. The following line is correct:
24872 if test "$aix_use_runtimelinking" = yes; then
24873 shared_flag='${wl}-G'
24875 shared_flag='${wl}-bM:SRE'
24880 # It seems that -bexpall does not export symbols beginning with
24881 # underscore (_), so it is better to generate a list of symbols to export.
24882 always_export_symbols_GCJ=yes
24883 if test "$aix_use_runtimelinking" = yes; then
24884 # Warning - without using the other runtime loading flags (-brtl),
24885 # -berok will link without error, but may produce a broken library.
24886 allow_undefined_flag_GCJ='-berok'
24887 # Determine the default libpath from the value encoded in an empty executable.
24888 cat >conftest.$ac_ext <<_ACEOF
24891 cat confdefs.h >>conftest.$ac_ext
24892 cat >>conftest.$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24903 rm -f conftest.$ac_objext conftest$ac_exeext
24904 if { (ac_try="$ac_link"
24905 case "(($ac_try" in
24906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24907 *) ac_try_echo=$ac_try;;
24909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24910 (eval "$ac_link") 2>conftest.er1
24912 grep -v '^ *+' conftest.er1 >conftest.err
24914 cat conftest.err >&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); } && {
24917 test -z "$ac_c_werror_flag" ||
24918 test ! -s conftest.err
24919 } && test -s conftest$ac_exeext &&
24920 $as_test_x conftest$ac_exeext; then
24922 lt_aix_libpath_sed='
24923 /Import File Strings/,/^$/ {
24929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24930 # Check for a 64-bit object if we didn't find anything.
24931 if test -z "$aix_libpath"; then
24932 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24935 echo "$as_me: failed program was:" >&5
24936 sed 's/^/| /' conftest.$ac_ext >&5
24941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24942 conftest$ac_exeext conftest.$ac_ext
24943 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24945 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24946 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24948 if test "$host_cpu" = ia64; then
24949 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24950 allow_undefined_flag_GCJ="-z nodefs"
24951 archive_expsym_cmds_GCJ="\$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"
24953 # Determine the default libpath from the value encoded in an empty executable.
24954 cat >conftest.$ac_ext <<_ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24969 rm -f conftest.$ac_objext conftest$ac_exeext
24970 if { (ac_try="$ac_link"
24971 case "(($ac_try" in
24972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24973 *) ac_try_echo=$ac_try;;
24975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24976 (eval "$ac_link") 2>conftest.er1
24978 grep -v '^ *+' conftest.er1 >conftest.err
24980 cat conftest.err >&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); } && {
24983 test -z "$ac_c_werror_flag" ||
24984 test ! -s conftest.err
24985 } && test -s conftest$ac_exeext &&
24986 $as_test_x conftest$ac_exeext; then
24988 lt_aix_libpath_sed='
24989 /Import File Strings/,/^$/ {
24995 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24996 # Check for a 64-bit object if we didn't find anything.
24997 if test -z "$aix_libpath"; then
24998 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25001 echo "$as_me: failed program was:" >&5
25002 sed 's/^/| /' conftest.$ac_ext >&5
25007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25008 conftest$ac_exeext conftest.$ac_ext
25009 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25011 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25012 # Warning - without using the other run time loading flags,
25013 # -berok will link without error, but may produce a broken library.
25014 no_undefined_flag_GCJ=' ${wl}-bernotok'
25015 allow_undefined_flag_GCJ=' ${wl}-berok'
25016 # Exported symbols can be pulled into shared objects from archives
25017 whole_archive_flag_spec_GCJ='$convenience'
25018 archive_cmds_need_lc_GCJ=yes
25019 # This is similar to how AIX traditionally builds its shared libraries.
25020 archive_expsym_cmds_GCJ="\$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'
25026 archive_cmds_GCJ='$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)'
25027 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25028 hardcode_minus_L_GCJ=yes
25029 # see comment about different semantics on the GNU ld section
25034 export_dynamic_flag_spec_GCJ=-rdynamic
25037 cygwin* | mingw* | pw32*)
25038 # When not using gcc, we currently assume that we are using
25039 # Microsoft Visual C++.
25040 # hardcode_libdir_flag_spec is actually meaningless, as there is
25041 # no search path for DLLs.
25042 hardcode_libdir_flag_spec_GCJ=' '
25043 allow_undefined_flag_GCJ=unsupported
25044 # Tell ltmain to make .lib files, not .a files.
25046 # Tell ltmain to make .dll files, not .so files.
25048 # FIXME: Setting linknames here is a bad hack.
25049 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25050 # The linker will automatically build a .lib file if we build a DLL.
25051 old_archive_From_new_cmds_GCJ='true'
25052 # FIXME: Should let the user specify the lib program.
25053 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
25054 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
25055 enable_shared_with_static_runtimes_GCJ=yes
25058 darwin* | rhapsody*)
25060 rhapsody* | darwin1.[012])
25061 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
25064 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25065 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25067 case ${MACOSX_DEPLOYMENT_TARGET} in
25069 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25072 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
25078 archive_cmds_need_lc_GCJ=no
25079 hardcode_direct_GCJ=no
25080 hardcode_automatic_GCJ=yes
25081 hardcode_shlibpath_var_GCJ=unsupported
25082 whole_archive_flag_spec_GCJ=''
25083 link_all_deplibs_GCJ=yes
25084 if test "$GCC" = yes ; then
25085 output_verbose_link_cmd='echo'
25086 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
25087 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25088 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25089 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25090 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25092 case $cc_basename in
25094 output_verbose_link_cmd='echo'
25095 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
25096 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25097 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25098 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25099 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25109 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25110 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25111 hardcode_shlibpath_var_GCJ=no
25118 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25119 # support. Future versions do this automatically, but an explicit c++rt0.o
25120 # does not break anything, and helps significantly (at the cost of a little
25123 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25124 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25125 hardcode_direct_GCJ=yes
25126 hardcode_shlibpath_var_GCJ=no
25129 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25131 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25132 hardcode_direct_GCJ=yes
25133 hardcode_minus_L_GCJ=yes
25134 hardcode_shlibpath_var_GCJ=no
25137 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25138 freebsd* | dragonfly*)
25139 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25140 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25141 hardcode_direct_GCJ=yes
25142 hardcode_shlibpath_var_GCJ=no
25146 if test "$GCC" = yes; then
25147 archive_cmds_GCJ='$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'
25149 archive_cmds_GCJ='$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'
25151 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25152 hardcode_libdir_separator_GCJ=:
25153 hardcode_direct_GCJ=yes
25155 # hardcode_minus_L: Not really in the search PATH,
25156 # but as the default location of the library.
25157 hardcode_minus_L_GCJ=yes
25158 export_dynamic_flag_spec_GCJ='${wl}-E'
25162 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25163 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25165 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25167 if test "$with_gnu_ld" = no; then
25168 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25169 hardcode_libdir_separator_GCJ=:
25171 hardcode_direct_GCJ=yes
25172 export_dynamic_flag_spec_GCJ='${wl}-E'
25174 # hardcode_minus_L: Not really in the search PATH,
25175 # but as the default location of the library.
25176 hardcode_minus_L_GCJ=yes
25181 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25184 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25187 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25190 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25196 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25199 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25202 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25206 if test "$with_gnu_ld" = no; then
25207 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25208 hardcode_libdir_separator_GCJ=:
25212 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25213 hardcode_direct_GCJ=no
25214 hardcode_shlibpath_var_GCJ=no
25217 hardcode_direct_GCJ=yes
25218 export_dynamic_flag_spec_GCJ='${wl}-E'
25220 # hardcode_minus_L: Not really in the search PATH,
25221 # but as the default location of the library.
25222 hardcode_minus_L_GCJ=yes
25228 irix5* | irix6* | nonstopux*)
25229 if test "$GCC" = yes; then
25230 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25232 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25233 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25235 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25236 hardcode_libdir_separator_GCJ=:
25237 link_all_deplibs_GCJ=yes
25241 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25242 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25244 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25246 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25247 hardcode_direct_GCJ=yes
25248 hardcode_shlibpath_var_GCJ=no
25252 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25253 hardcode_direct_GCJ=yes
25254 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25255 hardcode_libdir_separator_GCJ=:
25256 hardcode_shlibpath_var_GCJ=no
25260 if test -f /usr/libexec/ld.so; then
25261 hardcode_direct_GCJ=yes
25262 hardcode_shlibpath_var_GCJ=no
25263 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25264 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25265 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25266 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25267 export_dynamic_flag_spec_GCJ='${wl}-E'
25270 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25271 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25272 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25275 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25276 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25286 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25287 hardcode_minus_L_GCJ=yes
25288 allow_undefined_flag_GCJ=unsupported
25289 archive_cmds_GCJ='$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'
25290 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25294 if test "$GCC" = yes; then
25295 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25296 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25298 allow_undefined_flag_GCJ=' -expect_unresolved \*'
25299 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25301 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25302 hardcode_libdir_separator_GCJ=:
25305 osf4* | osf5*) # as osf3* with the addition of -msym flag
25306 if test "$GCC" = yes; then
25307 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25308 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25309 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25311 allow_undefined_flag_GCJ=' -expect_unresolved \*'
25312 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25313 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
25314 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
25316 # Both c and cxx compiler support -rpath directly
25317 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25319 hardcode_libdir_separator_GCJ=:
25323 no_undefined_flag_GCJ=' -z text'
25324 if test "$GCC" = yes; then
25326 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25327 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25328 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25331 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25332 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25335 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25336 hardcode_shlibpath_var_GCJ=no
25338 solaris2.[0-5] | solaris2.[0-5].*) ;;
25340 # The compiler driver will combine and reorder linker options,
25341 # but understands `-z linker_flag'. GCC discards it without `$wl',
25342 # but is careful enough not to reorder.
25343 # Supported since Solaris 2.6 (maybe 2.5.1?)
25344 if test "$GCC" = yes; then
25345 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
25347 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
25351 link_all_deplibs_GCJ=yes
25355 if test "x$host_vendor" = xsequent; then
25356 # Use $CC to link under sequent, because it throws in some extra .o
25357 # files that make .init and .fini sections work.
25358 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25360 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25362 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25363 hardcode_direct_GCJ=yes
25364 hardcode_minus_L_GCJ=yes
25365 hardcode_shlibpath_var_GCJ=no
25369 case $host_vendor in
25371 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25372 hardcode_direct_GCJ=yes # is this really true???
25375 ## LD is ld it makes a PLAMLIB
25376 ## CC just makes a GrossModule.
25377 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25378 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25379 hardcode_direct_GCJ=no
25382 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25383 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25386 runpath_var='LD_RUN_PATH'
25387 hardcode_shlibpath_var_GCJ=no
25391 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25392 hardcode_shlibpath_var_GCJ=no
25393 export_dynamic_flag_spec_GCJ='-Bexport'
25397 if test -d /usr/nec; then
25398 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25399 hardcode_shlibpath_var_GCJ=no
25400 runpath_var=LD_RUN_PATH
25401 hardcode_runpath_var=yes
25406 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
25407 no_undefined_flag_GCJ='${wl}-z,text'
25408 archive_cmds_need_lc_GCJ=no
25409 hardcode_shlibpath_var_GCJ=no
25410 runpath_var='LD_RUN_PATH'
25412 if test "$GCC" = yes; then
25413 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25414 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25416 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25417 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25421 sysv5* | sco3.2v5* | sco5v6*)
25422 # Note: We can NOT use -z defs as we might desire, because we do not
25423 # link with -lc, and that would cause any symbols used from libc to
25424 # always be unresolved, which means just about no library would
25425 # ever link correctly. If we're not using GNU ld we use -z text
25426 # though, which does catch some bad symbols but isn't as heavy-handed
25428 no_undefined_flag_GCJ='${wl}-z,text'
25429 allow_undefined_flag_GCJ='${wl}-z,nodefs'
25430 archive_cmds_need_lc_GCJ=no
25431 hardcode_shlibpath_var_GCJ=no
25432 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25433 hardcode_libdir_separator_GCJ=':'
25434 link_all_deplibs_GCJ=yes
25435 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25436 runpath_var='LD_RUN_PATH'
25438 if test "$GCC" = yes; then
25439 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25440 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25442 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25443 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25448 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25449 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25450 hardcode_shlibpath_var_GCJ=no
25459 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25460 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25461 test "$ld_shlibs_GCJ" = no && can_build_shared=no
25464 # Do we need to explicitly link libc?
25466 case "x$archive_cmds_need_lc_GCJ" in
25468 # Assume -lc should be added
25469 archive_cmds_need_lc_GCJ=yes
25471 if test "$enable_shared" = yes && test "$GCC" = yes; then
25472 case $archive_cmds_GCJ in
25474 # FIXME: we may have to deal with multi-command sequences.
25477 # Test whether the compiler implicitly links with -lc since on some
25478 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25479 # to ld, don't add -lc before -lgcc.
25480 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25481 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25483 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25486 (eval $ac_compile) 2>&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } 2>conftest.err; then
25492 libobjs=conftest.$ac_objext
25494 wl=$lt_prog_compiler_wl_GCJ
25495 pic_flag=$lt_prog_compiler_pic_GCJ
25501 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25502 allow_undefined_flag_GCJ=
25503 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25504 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); }
25509 archive_cmds_need_lc_GCJ=no
25511 archive_cmds_need_lc_GCJ=yes
25513 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25515 cat conftest.err 1>&5
25518 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25519 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25526 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25527 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25528 library_names_spec=
25529 libname_spec='lib$name'
25533 postuninstall_cmds=
25537 shlibpath_overrides_runpath=unknown
25539 dynamic_linker="$host_os ld.so"
25540 sys_lib_dlsearch_path_spec="/lib /usr/lib"
25542 need_lib_prefix=unknown
25543 hardcode_into_libs=no
25545 # when you set need_version to no, make sure it does not cause -set_version
25546 # flags to be left without arguments
25547 need_version=unknown
25552 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25553 shlibpath_var=LIBPATH
25555 # AIX 3 has no versioning support, so we append a major version to the name.
25556 soname_spec='${libname}${release}${shared_ext}$major'
25563 hardcode_into_libs=yes
25564 if test "$host_cpu" = ia64; then
25565 # AIX 5 supports IA64
25566 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25567 shlibpath_var=LD_LIBRARY_PATH
25569 # With GCC up to 2.95.x, collect2 would create an import file
25570 # for dependence libraries. The import file would start with
25571 # the line `#! .'. This would cause the generated library to
25572 # depend on `.', always an invalid library. This was fixed in
25573 # development snapshots of GCC prior to 3.0.
25575 aix4 | aix4.[01] | aix4.[01].*)
25576 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25578 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25581 can_build_shared=no
25585 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25586 # soname into executable. Probably we can add versioning support to
25587 # collect2, so additional links can be useful in future.
25588 if test "$aix_use_runtimelinking" = yes; then
25589 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25590 # instead of lib<name>.a to let people know that these are not
25591 # typical AIX shared libraries.
25592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25594 # We preserve .a as extension for shared libraries through AIX4.2
25595 # and later when we are not doing run time linking.
25596 library_names_spec='${libname}${release}.a $libname.a'
25597 soname_spec='${libname}${release}${shared_ext}$major'
25599 shlibpath_var=LIBPATH
25604 library_names_spec='$libname.ixlibrary $libname.a'
25605 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25606 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'
25610 library_names_spec='${libname}${shared_ext}'
25611 dynamic_linker="$host_os ld.so"
25612 shlibpath_var=LIBRARY_PATH
25618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25619 soname_spec='${libname}${release}${shared_ext}$major'
25620 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25621 shlibpath_var=LD_LIBRARY_PATH
25622 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25623 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25624 # the default ld.so.conf also contains /usr/contrib/lib and
25625 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25626 # libtool to hard-code these into programs
25629 cygwin* | mingw* | pw32*)
25630 version_type=windows
25635 case $GCC,$host_os in
25636 yes,cygwin* | yes,mingw* | yes,pw32*)
25637 library_names_spec='$libname.dll.a'
25638 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25639 postinstall_cmds='base_file=`basename \${file}`~
25640 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25641 dldir=$destdir/`dirname \$dlpath`~
25642 test -d \$dldir || mkdir -p \$dldir~
25643 $install_prog $dir/$dlname \$dldir/$dlname~
25644 chmod a+x \$dldir/$dlname'
25645 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25646 dlpath=$dir/\$dldll~
25648 shlibpath_overrides_runpath=yes
25652 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25653 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25654 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25657 # MinGW DLLs use traditional 'lib' prefix
25658 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25659 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25660 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25661 # It is most probably a Windows format PATH printed by
25662 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25663 # path with ; separators, and with drive letters. We can handle the
25664 # drive letters (cygwin fileutils understands them), so leave them,
25665 # especially as we might pass files found there to a mingw objdump,
25666 # which wouldn't understand a cygwinified path. Ahh.
25667 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25669 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25673 # pw32 DLLs use 'pw' prefix rather than 'lib'
25674 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25680 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25683 dynamic_linker='Win32 ld.exe'
25684 # FIXME: first we should search . and the directory the executable is in
25688 darwin* | rhapsody*)
25689 dynamic_linker="$host_os dyld"
25690 version_type=darwin
25693 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25694 soname_spec='${libname}${release}${major}$shared_ext'
25695 shlibpath_overrides_runpath=yes
25696 shlibpath_var=DYLD_LIBRARY_PATH
25697 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25699 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25707 soname_spec='${libname}${release}${shared_ext}$major'
25708 shlibpath_var=LD_LIBRARY_PATH
25715 freebsd* | dragonfly*)
25716 # DragonFly does not have aout. When/if they implement a new
25717 # versioning mechanism, adjust this.
25718 if test -x /usr/bin/objformat; then
25719 objformat=`/usr/bin/objformat`
25722 freebsd[123]*) objformat=aout ;;
25723 *) objformat=elf ;;
25726 version_type=freebsd-$objformat
25727 case $version_type in
25729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25734 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25738 shlibpath_var=LD_LIBRARY_PATH
25741 shlibpath_overrides_runpath=yes
25743 freebsd3.[01]* | freebsdelf3.[01]*)
25744 shlibpath_overrides_runpath=yes
25745 hardcode_into_libs=yes
25747 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25748 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25749 shlibpath_overrides_runpath=no
25750 hardcode_into_libs=yes
25752 *) # from 4.6 on, and DragonFly
25753 shlibpath_overrides_runpath=yes
25754 hardcode_into_libs=yes
25763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25764 soname_spec='${libname}${release}${shared_ext}$major'
25765 shlibpath_var=LD_LIBRARY_PATH
25766 hardcode_into_libs=yes
25769 hpux9* | hpux10* | hpux11*)
25770 # Give a soname corresponding to the major version so that dld.sl refuses to
25771 # link against other versions.
25778 hardcode_into_libs=yes
25779 dynamic_linker="$host_os dld.so"
25780 shlibpath_var=LD_LIBRARY_PATH
25781 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25783 soname_spec='${libname}${release}${shared_ext}$major'
25784 if test "X$HPUX_IA64_MODE" = X32; then
25785 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25787 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25789 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25793 hardcode_into_libs=yes
25794 dynamic_linker="$host_os dld.sl"
25795 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25796 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25798 soname_spec='${libname}${release}${shared_ext}$major'
25799 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25800 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25804 dynamic_linker="$host_os dld.sl"
25805 shlibpath_var=SHLIB_PATH
25806 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25808 soname_spec='${libname}${release}${shared_ext}$major'
25811 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25812 postinstall_cmds='chmod 555 $lib'
25819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25820 soname_spec='${libname}${release}${shared_ext}$major'
25821 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25822 shlibpath_var=LD_LIBRARY_PATH
25823 shlibpath_overrides_runpath=no
25824 hardcode_into_libs=yes
25827 irix5* | irix6* | nonstopux*)
25829 nonstopux*) version_type=nonstopux ;;
25831 if test "$lt_cv_prog_gnu_ld" = yes; then
25839 soname_spec='${libname}${release}${shared_ext}$major'
25840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25842 irix5* | nonstopux*)
25843 libsuff= shlibsuff=
25846 case $LD in # libtool.m4 will add one of these switches to LD
25847 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25848 libsuff= shlibsuff= libmagic=32-bit;;
25849 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25850 libsuff=32 shlibsuff=N32 libmagic=N32;;
25851 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25852 libsuff=64 shlibsuff=64 libmagic=64-bit;;
25853 *) libsuff= shlibsuff= libmagic=never-match;;
25857 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25858 shlibpath_overrides_runpath=no
25859 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25860 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25861 hardcode_into_libs=yes
25864 # No shared lib support for Linux oldld, aout, or coff.
25865 linux*oldld* | linux*aout* | linux*coff*)
25869 # This must be Linux ELF.
25870 linux* | k*bsd*-gnu)
25874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25875 soname_spec='${libname}${release}${shared_ext}$major'
25876 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25877 shlibpath_var=LD_LIBRARY_PATH
25878 shlibpath_overrides_runpath=no
25879 # This implies no fast_install, which is unacceptable.
25880 # Some rework will be needed to allow for fast_install
25881 # before this can be enabled.
25882 hardcode_into_libs=yes
25883 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25884 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25886 # Append ld.so.conf contents to the search path
25887 if test -f /etc/ld.so.conf; then
25888 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' ' '`
25889 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
25892 # We used to test for /lib/ld.so.1 and disable shared libraries on
25893 # powerpc, because MkLinux only supported shared libraries with the
25894 # GNU dynamic linker. Since this was broken with cross compilers,
25895 # most powerpc-linux boxes support dynamic linking these days and
25896 # people can always --disable-shared, the test was removed, and we
25897 # assume the GNU/Linux dynamic linker is in use.
25898 dynamic_linker='GNU/Linux ld.so'
25905 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25908 dynamic_linker='NetBSD (a.out) ld.so'
25910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25911 soname_spec='${libname}${release}${shared_ext}$major'
25912 dynamic_linker='NetBSD ld.elf_so'
25914 shlibpath_var=LD_LIBRARY_PATH
25915 shlibpath_overrides_runpath=yes
25916 hardcode_into_libs=yes
25921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25922 shlibpath_var=LD_LIBRARY_PATH
25923 shlibpath_overrides_runpath=yes
25930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25931 soname_spec='${libname}${release}${shared_ext}$major'
25932 shlibpath_var=LD_LIBRARY_PATH
25933 shlibpath_overrides_runpath=yes
25938 sys_lib_dlsearch_path_spec="/usr/lib"
25940 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25942 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25943 *) need_version=no ;;
25945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25946 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25947 shlibpath_var=LD_LIBRARY_PATH
25948 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25950 openbsd2.[89] | openbsd2.[89].*)
25951 shlibpath_overrides_runpath=no
25954 shlibpath_overrides_runpath=yes
25958 shlibpath_overrides_runpath=yes
25963 libname_spec='$name'
25966 library_names_spec='$libname${shared_ext} $libname.a'
25967 dynamic_linker='OS/2 ld.exe'
25968 shlibpath_var=LIBPATH
25971 osf3* | osf4* | osf5*)
25975 soname_spec='${libname}${release}${shared_ext}$major'
25976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25977 shlibpath_var=LD_LIBRARY_PATH
25978 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25979 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25991 soname_spec='${libname}${release}${shared_ext}$major'
25992 shlibpath_var=LD_LIBRARY_PATH
25993 shlibpath_overrides_runpath=yes
25994 hardcode_into_libs=yes
25995 # ldd complains unless libraries are executable
25996 postinstall_cmds='chmod +x $lib'
26001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26002 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26003 shlibpath_var=LD_LIBRARY_PATH
26004 shlibpath_overrides_runpath=yes
26005 if test "$with_gnu_ld" = yes; then
26013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26014 soname_spec='${libname}${release}${shared_ext}$major'
26015 shlibpath_var=LD_LIBRARY_PATH
26016 case $host_vendor in
26018 shlibpath_overrides_runpath=no
26020 export_dynamic_flag_spec='${wl}-Blargedynsym'
26021 runpath_var=LD_RUN_PATH
26029 shlibpath_overrides_runpath=no
26030 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26036 if test -d /usr/nec ;then
26038 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26039 soname_spec='$libname${shared_ext}.$major'
26040 shlibpath_var=LD_LIBRARY_PATH
26044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26045 version_type=freebsd-elf
26048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26049 soname_spec='${libname}${release}${shared_ext}$major'
26050 shlibpath_var=LD_LIBRARY_PATH
26051 hardcode_into_libs=yes
26052 if test "$with_gnu_ld" = yes; then
26053 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26054 shlibpath_overrides_runpath=no
26056 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26057 shlibpath_overrides_runpath=yes
26060 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26064 sys_lib_dlsearch_path_spec='/usr/lib'
26069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26070 soname_spec='${libname}${release}${shared_ext}$major'
26071 shlibpath_var=LD_LIBRARY_PATH
26078 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26079 echo "${ECHO_T}$dynamic_linker" >&6; }
26080 test "$dynamic_linker" = no && can_build_shared=no
26082 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26083 if test "$GCC" = yes; then
26084 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26087 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26088 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26089 hardcode_action_GCJ=
26090 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26091 test -n "$runpath_var_GCJ" || \
26092 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26094 # We can hardcode non-existant directories.
26095 if test "$hardcode_direct_GCJ" != no &&
26096 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26097 # have to relink, otherwise we might link with an installed library
26098 # when we should be linking with a yet-to-be-installed one
26099 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26100 test "$hardcode_minus_L_GCJ" != no; then
26101 # Linking always hardcodes the temporary library directory.
26102 hardcode_action_GCJ=relink
26104 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26105 hardcode_action_GCJ=immediate
26108 # We cannot hardcode anything, or else we can only hardcode existing
26110 hardcode_action_GCJ=unsupported
26112 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26113 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26115 if test "$hardcode_action_GCJ" = relink; then
26116 # Fast installation is not supported
26117 enable_fast_install=no
26118 elif test "$shlibpath_overrides_runpath" = yes ||
26119 test "$enable_shared" = no; then
26120 # Fast installation is not necessary
26121 enable_fast_install=needless
26125 # The else clause should only fire when bootstrapping the
26126 # libtool distribution, otherwise you forgot to ship ltmain.sh
26127 # with your package, and you will get complaints that there are
26128 # no rules to generate ltmain.sh.
26129 if test -f "$ltmain"; then
26130 # See if we are running on zsh, and set the options which allow our commands through
26131 # without removal of \ escapes.
26132 if test -n "${ZSH_VERSION+set}" ; then
26133 setopt NO_GLOB_SUBST
26135 # Now quote all the things that may contain metacharacters while being
26136 # careful not to overquote the AC_SUBSTed values. We take copies of the
26137 # variables and quote the copies for generation of the libtool script.
26138 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26140 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26141 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26142 deplibs_check_method reload_flag reload_cmds need_locks \
26143 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26144 lt_cv_sys_global_symbol_to_c_name_address \
26145 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26146 old_postinstall_cmds old_postuninstall_cmds \
26150 lt_prog_compiler_wl_GCJ \
26151 lt_prog_compiler_pic_GCJ \
26152 lt_prog_compiler_static_GCJ \
26153 lt_prog_compiler_no_builtin_flag_GCJ \
26154 export_dynamic_flag_spec_GCJ \
26155 thread_safe_flag_spec_GCJ \
26156 whole_archive_flag_spec_GCJ \
26157 enable_shared_with_static_runtimes_GCJ \
26158 old_archive_cmds_GCJ \
26159 old_archive_from_new_cmds_GCJ \
26160 predep_objects_GCJ \
26161 postdep_objects_GCJ \
26164 compiler_lib_search_path_GCJ \
26166 archive_expsym_cmds_GCJ \
26167 postinstall_cmds_GCJ \
26168 postuninstall_cmds_GCJ \
26169 old_archive_from_expsyms_cmds_GCJ \
26170 allow_undefined_flag_GCJ \
26171 no_undefined_flag_GCJ \
26172 export_symbols_cmds_GCJ \
26173 hardcode_libdir_flag_spec_GCJ \
26174 hardcode_libdir_flag_spec_ld_GCJ \
26175 hardcode_libdir_separator_GCJ \
26176 hardcode_automatic_GCJ \
26178 module_expsym_cmds_GCJ \
26179 lt_cv_prog_compiler_c_o_GCJ \
26180 fix_srcfile_path_GCJ \
26181 exclude_expsyms_GCJ \
26182 include_expsyms_GCJ; do
26185 old_archive_cmds_GCJ | \
26186 old_archive_from_new_cmds_GCJ | \
26187 archive_cmds_GCJ | \
26188 archive_expsym_cmds_GCJ | \
26189 module_cmds_GCJ | \
26190 module_expsym_cmds_GCJ | \
26191 old_archive_from_expsyms_cmds_GCJ | \
26192 export_symbols_cmds_GCJ | \
26193 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26194 postinstall_cmds | postuninstall_cmds | \
26195 old_postinstall_cmds | old_postuninstall_cmds | \
26196 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26197 # Double-quote double-evaled strings.
26198 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26201 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26207 *'\$0 --fallback-echo"')
26208 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26214 cat <<__EOF__ >> "$cfgfile"
26215 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26217 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26219 # Shell to use when invoking shell scripts.
26222 # Whether or not to build shared libraries.
26223 build_libtool_libs=$enable_shared
26225 # Whether or not to build static libraries.
26226 build_old_libs=$enable_static
26228 # Whether or not to add -lc for building shared libraries.
26229 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26231 # Whether or not to disallow shared libs when runtime libs are static
26232 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26234 # Whether or not to optimize for fast installation.
26235 fast_install=$enable_fast_install
26238 host_alias=$host_alias
26242 # The build system.
26243 build_alias=$build_alias
26247 # An echo program that does not interpret backslashes.
26252 AR_FLAGS=$lt_AR_FLAGS
26257 # LTCC compiler flags.
26258 LTCFLAGS=$lt_LTCFLAGS
26260 # A language-specific compiler.
26261 CC=$lt_compiler_GCJ
26263 # Is the compiler the GNU C compiler?
26269 # The linker used to build libraries.
26272 # Whether we need hard or soft links.
26275 # A BSD-compatible nm program.
26278 # A symbol stripping program
26281 # Used to examine libraries when file_magic_cmd begins "file"
26282 MAGIC_CMD=$MAGIC_CMD
26284 # Used on cygwin: DLL creation program.
26287 # Used on cygwin: object dumper.
26290 # Used on cygwin: assembler.
26293 # The name of the directory that contains temporary libtool files.
26296 # How to create reloadable object files.
26297 reload_flag=$lt_reload_flag
26298 reload_cmds=$lt_reload_cmds
26300 # How to pass a linker flag through the compiler.
26301 wl=$lt_lt_prog_compiler_wl_GCJ
26303 # Object file suffix (normally "o").
26304 objext="$ac_objext"
26306 # Old archive suffix (normally "a").
26309 # Shared library suffix (normally ".so").
26310 shrext_cmds='$shrext_cmds'
26312 # Executable file suffix (normally "").
26315 # Additional compiler flags for building library objects.
26316 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26319 # What is the maximum length of a command?
26320 max_cmd_len=$lt_cv_sys_max_cmd_len
26322 # Does compiler simultaneously support -c and -o options?
26323 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26325 # Must we lock files when doing compilation?
26326 need_locks=$lt_need_locks
26328 # Do we need the lib prefix for modules?
26329 need_lib_prefix=$need_lib_prefix
26331 # Do we need a version for libraries?
26332 need_version=$need_version
26334 # Whether dlopen is supported.
26335 dlopen_support=$enable_dlopen
26337 # Whether dlopen of programs is supported.
26338 dlopen_self=$enable_dlopen_self
26340 # Whether dlopen of statically linked programs is supported.
26341 dlopen_self_static=$enable_dlopen_self_static
26343 # Compiler flag to prevent dynamic linking.
26344 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26346 # Compiler flag to turn off builtin functions.
26347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26349 # Compiler flag to allow reflexive dlopens.
26350 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26352 # Compiler flag to generate shared objects directly from archives.
26353 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26355 # Compiler flag to generate thread-safe objects.
26356 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26358 # Library versioning type.
26359 version_type=$version_type
26361 # Format of library name prefix.
26362 libname_spec=$lt_libname_spec
26364 # List of archive names. First name is the real one, the rest are links.
26365 # The last name is the one that the linker finds with -lNAME.
26366 library_names_spec=$lt_library_names_spec
26368 # The coded name of the library, if different from the real name.
26369 soname_spec=$lt_soname_spec
26371 # Commands used to build and install an old-style archive.
26373 old_archive_cmds=$lt_old_archive_cmds_GCJ
26374 old_postinstall_cmds=$lt_old_postinstall_cmds
26375 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26377 # Create an old-style archive from a shared archive.
26378 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26380 # Create a temporary old-style archive to link instead of a shared archive.
26381 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26383 # Commands used to build and install a shared archive.
26384 archive_cmds=$lt_archive_cmds_GCJ
26385 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26386 postinstall_cmds=$lt_postinstall_cmds
26387 postuninstall_cmds=$lt_postuninstall_cmds
26389 # Commands used to build a loadable module (assumed same as above if empty)
26390 module_cmds=$lt_module_cmds_GCJ
26391 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26393 # Commands to strip libraries.
26394 old_striplib=$lt_old_striplib
26395 striplib=$lt_striplib
26397 # Dependencies to place before the objects being linked to create a
26399 predep_objects=$lt_predep_objects_GCJ
26401 # Dependencies to place after the objects being linked to create a
26403 postdep_objects=$lt_postdep_objects_GCJ
26405 # Dependencies to place before the objects being linked to create a
26407 predeps=$lt_predeps_GCJ
26409 # Dependencies to place after the objects being linked to create a
26411 postdeps=$lt_postdeps_GCJ
26413 # The library search path used internally by the compiler when linking
26414 # a shared library.
26415 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26417 # Method to check whether dependent libraries are shared objects.
26418 deplibs_check_method=$lt_deplibs_check_method
26420 # Command to use when deplibs_check_method == file_magic.
26421 file_magic_cmd=$lt_file_magic_cmd
26423 # Flag that allows shared libraries with undefined symbols to be built.
26424 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26426 # Flag that forces no undefined symbols.
26427 no_undefined_flag=$lt_no_undefined_flag_GCJ
26429 # Commands used to finish a libtool library installation in a directory.
26430 finish_cmds=$lt_finish_cmds
26432 # Same as above, but a single script fragment to be evaled but not shown.
26433 finish_eval=$lt_finish_eval
26435 # Take the output of nm and produce a listing of raw symbols and C names.
26436 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26438 # Transform the output of nm in a proper C declaration
26439 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26441 # Transform the output of nm in a C name address pair
26442 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26444 # This is the shared library runtime path variable.
26445 runpath_var=$runpath_var
26447 # This is the shared library path variable.
26448 shlibpath_var=$shlibpath_var
26450 # Is shlibpath searched before the hard-coded library search path?
26451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26453 # How to hardcode a shared library path into an executable.
26454 hardcode_action=$hardcode_action_GCJ
26456 # Whether we should hardcode library paths into libraries.
26457 hardcode_into_libs=$hardcode_into_libs
26459 # Flag to hardcode \$libdir into a binary during linking.
26460 # This must work even if \$libdir does not exist.
26461 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26463 # If ld is used when linking, flag to hardcode \$libdir into
26464 # a binary during linking. This must work even if \$libdir does
26466 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26468 # Whether we need a single -rpath flag with a separated argument.
26469 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26471 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26472 # resulting binary.
26473 hardcode_direct=$hardcode_direct_GCJ
26475 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26476 # resulting binary.
26477 hardcode_minus_L=$hardcode_minus_L_GCJ
26479 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26480 # the resulting binary.
26481 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26483 # Set to yes if building a shared library automatically hardcodes DIR into the library
26484 # and all subsequent libraries and executables linked against it.
26485 hardcode_automatic=$hardcode_automatic_GCJ
26487 # Variables whose values should be saved in libtool wrapper scripts and
26488 # restored at relink time.
26489 variables_saved_for_relink="$variables_saved_for_relink"
26491 # Whether libtool must link a program against all its dependency libraries.
26492 link_all_deplibs=$link_all_deplibs_GCJ
26494 # Compile-time system search path for libraries
26495 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26497 # Run-time system search path for libraries
26498 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26500 # Fix the shell variable \$srcfile for the compiler.
26501 fix_srcfile_path=$lt_fix_srcfile_path
26503 # Set to yes if exported symbols are required.
26504 always_export_symbols=$always_export_symbols_GCJ
26506 # The commands to list exported symbols.
26507 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26509 # The commands to extract the exported symbol list from a shared archive.
26510 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26512 # Symbols that should not be listed in the preloaded symbols.
26513 exclude_expsyms=$lt_exclude_expsyms_GCJ
26515 # Symbols that must always be exported.
26516 include_expsyms=$lt_include_expsyms_GCJ
26518 # ### END LIBTOOL TAG CONFIG: $tagname
26524 # If there is no Makefile yet, we rely on a make rule to execute
26525 # `config.status --recheck' to rerun these tests and create the
26526 # libtool script then.
26527 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26528 if test -f "$ltmain_in"; then
26529 test -f Makefile && make "$ltmain"
26535 ac_cpp='$CPP $CPPFLAGS'
26536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26550 # Source file extension for RC test sources.
26553 # Object file extension for compiled RC test sources.
26557 # Code to be used in simple compile tests
26558 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
26560 # Code to be used in simple link tests
26561 lt_simple_link_test_code="$lt_simple_compile_test_code"
26563 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26565 # If no C compiler was specified, use CC.
26568 # If no C compiler flags were specified, use CFLAGS.
26569 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26571 # Allow CC to be a program name with arguments.
26575 # save warnings/boilerplate of simple test code
26576 ac_outfile=conftest.$ac_objext
26577 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26578 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26579 _lt_compiler_boilerplate=`cat conftest.err`
26582 ac_outfile=conftest.$ac_objext
26583 echo "$lt_simple_link_test_code" >conftest.$ac_ext
26584 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26585 _lt_linker_boilerplate=`cat conftest.err`
26589 # Allow CC to be a program name with arguments.
26594 for cc_temp in $compiler""; do
26596 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26597 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26602 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26604 lt_cv_prog_compiler_c_o_RC=yes
26606 # The else clause should only fire when bootstrapping the
26607 # libtool distribution, otherwise you forgot to ship ltmain.sh
26608 # with your package, and you will get complaints that there are
26609 # no rules to generate ltmain.sh.
26610 if test -f "$ltmain"; then
26611 # See if we are running on zsh, and set the options which allow our commands through
26612 # without removal of \ escapes.
26613 if test -n "${ZSH_VERSION+set}" ; then
26614 setopt NO_GLOB_SUBST
26616 # Now quote all the things that may contain metacharacters while being
26617 # careful not to overquote the AC_SUBSTed values. We take copies of the
26618 # variables and quote the copies for generation of the libtool script.
26619 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26621 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26622 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26623 deplibs_check_method reload_flag reload_cmds need_locks \
26624 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26625 lt_cv_sys_global_symbol_to_c_name_address \
26626 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26627 old_postinstall_cmds old_postuninstall_cmds \
26631 lt_prog_compiler_wl_RC \
26632 lt_prog_compiler_pic_RC \
26633 lt_prog_compiler_static_RC \
26634 lt_prog_compiler_no_builtin_flag_RC \
26635 export_dynamic_flag_spec_RC \
26636 thread_safe_flag_spec_RC \
26637 whole_archive_flag_spec_RC \
26638 enable_shared_with_static_runtimes_RC \
26639 old_archive_cmds_RC \
26640 old_archive_from_new_cmds_RC \
26641 predep_objects_RC \
26642 postdep_objects_RC \
26645 compiler_lib_search_path_RC \
26647 archive_expsym_cmds_RC \
26648 postinstall_cmds_RC \
26649 postuninstall_cmds_RC \
26650 old_archive_from_expsyms_cmds_RC \
26651 allow_undefined_flag_RC \
26652 no_undefined_flag_RC \
26653 export_symbols_cmds_RC \
26654 hardcode_libdir_flag_spec_RC \
26655 hardcode_libdir_flag_spec_ld_RC \
26656 hardcode_libdir_separator_RC \
26657 hardcode_automatic_RC \
26659 module_expsym_cmds_RC \
26660 lt_cv_prog_compiler_c_o_RC \
26661 fix_srcfile_path_RC \
26662 exclude_expsyms_RC \
26663 include_expsyms_RC; do
26666 old_archive_cmds_RC | \
26667 old_archive_from_new_cmds_RC | \
26668 archive_cmds_RC | \
26669 archive_expsym_cmds_RC | \
26671 module_expsym_cmds_RC | \
26672 old_archive_from_expsyms_cmds_RC | \
26673 export_symbols_cmds_RC | \
26674 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26675 postinstall_cmds | postuninstall_cmds | \
26676 old_postinstall_cmds | old_postuninstall_cmds | \
26677 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26678 # Double-quote double-evaled strings.
26679 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26682 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26688 *'\$0 --fallback-echo"')
26689 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26695 cat <<__EOF__ >> "$cfgfile"
26696 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26698 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26700 # Shell to use when invoking shell scripts.
26703 # Whether or not to build shared libraries.
26704 build_libtool_libs=$enable_shared
26706 # Whether or not to build static libraries.
26707 build_old_libs=$enable_static
26709 # Whether or not to add -lc for building shared libraries.
26710 build_libtool_need_lc=$archive_cmds_need_lc_RC
26712 # Whether or not to disallow shared libs when runtime libs are static
26713 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26715 # Whether or not to optimize for fast installation.
26716 fast_install=$enable_fast_install
26719 host_alias=$host_alias
26723 # The build system.
26724 build_alias=$build_alias
26728 # An echo program that does not interpret backslashes.
26733 AR_FLAGS=$lt_AR_FLAGS
26738 # LTCC compiler flags.
26739 LTCFLAGS=$lt_LTCFLAGS
26741 # A language-specific compiler.
26744 # Is the compiler the GNU C compiler?
26750 # The linker used to build libraries.
26753 # Whether we need hard or soft links.
26756 # A BSD-compatible nm program.
26759 # A symbol stripping program
26762 # Used to examine libraries when file_magic_cmd begins "file"
26763 MAGIC_CMD=$MAGIC_CMD
26765 # Used on cygwin: DLL creation program.
26768 # Used on cygwin: object dumper.
26771 # Used on cygwin: assembler.
26774 # The name of the directory that contains temporary libtool files.
26777 # How to create reloadable object files.
26778 reload_flag=$lt_reload_flag
26779 reload_cmds=$lt_reload_cmds
26781 # How to pass a linker flag through the compiler.
26782 wl=$lt_lt_prog_compiler_wl_RC
26784 # Object file suffix (normally "o").
26785 objext="$ac_objext"
26787 # Old archive suffix (normally "a").
26790 # Shared library suffix (normally ".so").
26791 shrext_cmds='$shrext_cmds'
26793 # Executable file suffix (normally "").
26796 # Additional compiler flags for building library objects.
26797 pic_flag=$lt_lt_prog_compiler_pic_RC
26800 # What is the maximum length of a command?
26801 max_cmd_len=$lt_cv_sys_max_cmd_len
26803 # Does compiler simultaneously support -c and -o options?
26804 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26806 # Must we lock files when doing compilation?
26807 need_locks=$lt_need_locks
26809 # Do we need the lib prefix for modules?
26810 need_lib_prefix=$need_lib_prefix
26812 # Do we need a version for libraries?
26813 need_version=$need_version
26815 # Whether dlopen is supported.
26816 dlopen_support=$enable_dlopen
26818 # Whether dlopen of programs is supported.
26819 dlopen_self=$enable_dlopen_self
26821 # Whether dlopen of statically linked programs is supported.
26822 dlopen_self_static=$enable_dlopen_self_static
26824 # Compiler flag to prevent dynamic linking.
26825 link_static_flag=$lt_lt_prog_compiler_static_RC
26827 # Compiler flag to turn off builtin functions.
26828 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26830 # Compiler flag to allow reflexive dlopens.
26831 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26833 # Compiler flag to generate shared objects directly from archives.
26834 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26836 # Compiler flag to generate thread-safe objects.
26837 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26839 # Library versioning type.
26840 version_type=$version_type
26842 # Format of library name prefix.
26843 libname_spec=$lt_libname_spec
26845 # List of archive names. First name is the real one, the rest are links.
26846 # The last name is the one that the linker finds with -lNAME.
26847 library_names_spec=$lt_library_names_spec
26849 # The coded name of the library, if different from the real name.
26850 soname_spec=$lt_soname_spec
26852 # Commands used to build and install an old-style archive.
26854 old_archive_cmds=$lt_old_archive_cmds_RC
26855 old_postinstall_cmds=$lt_old_postinstall_cmds
26856 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26858 # Create an old-style archive from a shared archive.
26859 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26861 # Create a temporary old-style archive to link instead of a shared archive.
26862 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26864 # Commands used to build and install a shared archive.
26865 archive_cmds=$lt_archive_cmds_RC
26866 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26867 postinstall_cmds=$lt_postinstall_cmds
26868 postuninstall_cmds=$lt_postuninstall_cmds
26870 # Commands used to build a loadable module (assumed same as above if empty)
26871 module_cmds=$lt_module_cmds_RC
26872 module_expsym_cmds=$lt_module_expsym_cmds_RC
26874 # Commands to strip libraries.
26875 old_striplib=$lt_old_striplib
26876 striplib=$lt_striplib
26878 # Dependencies to place before the objects being linked to create a
26880 predep_objects=$lt_predep_objects_RC
26882 # Dependencies to place after the objects being linked to create a
26884 postdep_objects=$lt_postdep_objects_RC
26886 # Dependencies to place before the objects being linked to create a
26888 predeps=$lt_predeps_RC
26890 # Dependencies to place after the objects being linked to create a
26892 postdeps=$lt_postdeps_RC
26894 # The library search path used internally by the compiler when linking
26895 # a shared library.
26896 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26898 # Method to check whether dependent libraries are shared objects.
26899 deplibs_check_method=$lt_deplibs_check_method
26901 # Command to use when deplibs_check_method == file_magic.
26902 file_magic_cmd=$lt_file_magic_cmd
26904 # Flag that allows shared libraries with undefined symbols to be built.
26905 allow_undefined_flag=$lt_allow_undefined_flag_RC
26907 # Flag that forces no undefined symbols.
26908 no_undefined_flag=$lt_no_undefined_flag_RC
26910 # Commands used to finish a libtool library installation in a directory.
26911 finish_cmds=$lt_finish_cmds
26913 # Same as above, but a single script fragment to be evaled but not shown.
26914 finish_eval=$lt_finish_eval
26916 # Take the output of nm and produce a listing of raw symbols and C names.
26917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26919 # Transform the output of nm in a proper C declaration
26920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26922 # Transform the output of nm in a C name address pair
26923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26925 # This is the shared library runtime path variable.
26926 runpath_var=$runpath_var
26928 # This is the shared library path variable.
26929 shlibpath_var=$shlibpath_var
26931 # Is shlibpath searched before the hard-coded library search path?
26932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26934 # How to hardcode a shared library path into an executable.
26935 hardcode_action=$hardcode_action_RC
26937 # Whether we should hardcode library paths into libraries.
26938 hardcode_into_libs=$hardcode_into_libs
26940 # Flag to hardcode \$libdir into a binary during linking.
26941 # This must work even if \$libdir does not exist.
26942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26944 # If ld is used when linking, flag to hardcode \$libdir into
26945 # a binary during linking. This must work even if \$libdir does
26947 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26949 # Whether we need a single -rpath flag with a separated argument.
26950 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26952 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26953 # resulting binary.
26954 hardcode_direct=$hardcode_direct_RC
26956 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26957 # resulting binary.
26958 hardcode_minus_L=$hardcode_minus_L_RC
26960 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26961 # the resulting binary.
26962 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26964 # Set to yes if building a shared library automatically hardcodes DIR into the library
26965 # and all subsequent libraries and executables linked against it.
26966 hardcode_automatic=$hardcode_automatic_RC
26968 # Variables whose values should be saved in libtool wrapper scripts and
26969 # restored at relink time.
26970 variables_saved_for_relink="$variables_saved_for_relink"
26972 # Whether libtool must link a program against all its dependency libraries.
26973 link_all_deplibs=$link_all_deplibs_RC
26975 # Compile-time system search path for libraries
26976 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26978 # Run-time system search path for libraries
26979 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26981 # Fix the shell variable \$srcfile for the compiler.
26982 fix_srcfile_path=$lt_fix_srcfile_path
26984 # Set to yes if exported symbols are required.
26985 always_export_symbols=$always_export_symbols_RC
26987 # The commands to list exported symbols.
26988 export_symbols_cmds=$lt_export_symbols_cmds_RC
26990 # The commands to extract the exported symbol list from a shared archive.
26991 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26993 # Symbols that should not be listed in the preloaded symbols.
26994 exclude_expsyms=$lt_exclude_expsyms_RC
26996 # Symbols that must always be exported.
26997 include_expsyms=$lt_include_expsyms_RC
26999 # ### END LIBTOOL TAG CONFIG: $tagname
27005 # If there is no Makefile yet, we rely on a make rule to execute
27006 # `config.status --recheck' to rerun these tests and create the
27007 # libtool script then.
27008 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27009 if test -f "$ltmain_in"; then
27010 test -f Makefile && make "$ltmain"
27016 ac_cpp='$CPP $CPPFLAGS'
27017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27026 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27027 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27028 { (exit 1); exit 1; }; }
27032 # Append the new tag name to the list of available tags.
27033 if test -n "$tagname" ; then
27034 available_tags="$available_tags $tagname"
27040 # Now substitute the updated list of available tags.
27041 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27042 mv "${ofile}T" "$ofile"
27046 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27047 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27048 { (exit 1); exit 1; }; }
27054 # This can be used to rebuild libtool when needed
27055 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27057 # Always use our own libtool.
27058 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27060 # Prevent multiple expansion
27084 { echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
27085 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6; }
27087 # Check whether --with-vrootdir was given.
27088 if test "${with_vrootdir+set}" = set; then
27089 withval=$with_vrootdir; case "$withval" in
27090 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
27091 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
27092 { (exit 1); exit 1; }; };;
27093 *) ensc_uv_path_vrootdir=$withval;;
27096 ensc_uv_path_vrootdir=/vservers
27099 { echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
27100 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6; }
27102 if test x"vserverdir" != x; then
27103 vserverdir=$ensc_uv_path_vrootdir
27108 for ac_prog in svn2cl
27110 # Extract the first word of "$ac_prog", so it can be a program name with args.
27111 set dummy $ac_prog; ac_word=$2
27112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27114 if test "${ac_cv_prog_SVN2CL+set}" = set; then
27115 echo $ECHO_N "(cached) $ECHO_C" >&6
27117 if test -n "$SVN2CL"; then
27118 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
27120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27121 for as_dir in $PATH
27124 test -z "$as_dir" && as_dir=.
27125 for ac_exec_ext in '' $ac_executable_extensions; do
27126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27127 ac_cv_prog_SVN2CL="$ac_prog"
27128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27137 SVN2CL=$ac_cv_prog_SVN2CL
27138 if test -n "$SVN2CL"; then
27139 { echo "$as_me:$LINENO: result: $SVN2CL" >&5
27140 echo "${ECHO_T}$SVN2CL" >&6; }
27142 { echo "$as_me:$LINENO: result: no" >&5
27143 echo "${ECHO_T}no" >&6; }
27147 test -n "$SVN2CL" && break
27150 if test x"$SVN2CL" != x; then
27152 HAVE_SVN2CL_FALSE='#'
27154 HAVE_SVN2CL_TRUE='#'
27161 { echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
27162 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6; }
27163 # Check whether --enable-internal-headers was given.
27164 if test "${enable_internal_headers+set}" = set; then
27165 enableval=$enable_internal_headers; case "$enableval" in
27167 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
27168 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
27169 { (exit 1); exit 1; }; };;
27172 enable_internal_headers=yes
27176 if test x"$enable_internal_headers" = xyes; then
27177 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
27178 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
27180 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
27181 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
27184 { echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
27185 echo "${ECHO_T}$enable_internal_headers" >&6; }
27214 { echo "$as_me:$LINENO: checking for supported APIs" >&5
27215 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6; }
27216 # Check whether --enable-apis was given.
27217 if test "${enable_apis+set}" = set; then
27218 enableval=$enable_apis;
27220 enable_apis=v13,net,v21,v22,v23,netv2
27224 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2'
27225 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2'
27226 enable_api_oldproc=
27231 for i in $enable_apis; do
27233 (compat) cat >>confdefs.h <<\_ACEOF
27234 #define VC_ENABLE_API_COMPAT 1
27237 enable_api_oldproc=${enable_api_oldproc:-1}
27238 enable_api_olduts=${enable_api_olduts:-1}
27240 (legacy) cat >>confdefs.h <<\_ACEOF
27241 #define VC_ENABLE_API_LEGACY 1
27244 enable_api_oldproc=${enable_api_oldproc:-1}
27245 enable_api_olduts=${enable_api_olduts:-1}
27247 (v11) cat >>confdefs.h <<\_ACEOF
27248 #define VC_ENABLE_API_V11 1
27251 enable_api_oldproc=${enable_api_oldproc:-1}
27252 enable_api_olduts=${enable_api_olduts:-1}
27254 (fscompat) cat >>confdefs.h <<\_ACEOF
27255 #define VC_ENABLE_API_FSCOMPAT 1
27258 (v13obs) cat >>confdefs.h <<\_ACEOF
27259 #define VC_ENABLE_API_V13OBS 1
27262 cat >>confdefs.h <<\_ACEOF
27263 #define VC_ENABLE_API_V13 1
27266 (v13) cat >>confdefs.h <<\_ACEOF
27267 #define VC_ENABLE_API_V13 1
27270 (net) cat >>confdefs.h <<\_ACEOF
27271 #define VC_ENABLE_API_NET 1
27274 (v21) cat >>confdefs.h <<\_ACEOF
27275 #define VC_ENABLE_API_V21 1
27278 (v22) cat >>confdefs.h <<\_ACEOF
27279 #define VC_ENABLE_API_V22 1
27282 (v23) cat >>confdefs.h <<\_ACEOF
27283 #define VC_ENABLE_API_V23 1
27286 (netv2) cat >>confdefs.h <<\_ACEOF
27287 #define VC_ENABLE_API_NETV2 1
27290 (oldproc) enable_api_oldproc=2;;
27291 (olduts) enable_api_olduts=2;;
27292 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
27293 echo "$as_me: error: '$i' is not a supported API" >&2;}
27294 { (exit 1); exit 1; }; };;
27298 if test x"$enable_api_oldproc" != x; then
27299 cat >>confdefs.h <<\_ACEOF
27300 #define VC_ENABLE_API_OLDPROC 1
27303 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
27305 if test x"$enable_api_olduts" != x; then
27306 cat >>confdefs.h <<\_ACEOF
27307 #define VC_ENABLE_API_OLDUTS 1
27310 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
27312 { echo "$as_me:$LINENO: result: $enable_apis" >&5
27313 echo "${ECHO_T}$enable_apis" >&6; }
27319 ac_cpp='$CXXCPP $CPPFLAGS'
27320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27324 { echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
27325 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6; }
27326 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
27327 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 cat >conftest.$ac_ext <<_ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27336 #include <ext2fs/ext2_fs.h>
27337 int main() { return 0; }
27339 rm -f conftest.$ac_objext
27340 if { (ac_try="$ac_compile"
27341 case "(($ac_try" in
27342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27343 *) ac_try_echo=$ac_try;;
27345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27346 (eval "$ac_compile") 2>conftest.er1
27348 grep -v '^ *+' conftest.er1 >conftest.err
27350 cat conftest.err >&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } && {
27353 test -z "$ac_cxx_werror_flag" ||
27354 test ! -s conftest.err
27355 } && test -s conftest.$ac_objext; then
27356 ensc_cv_test_ext2fs_header=e2fsprogs
27358 echo "$as_me: failed program was:" >&5
27359 sed 's/^/| /' conftest.$ac_ext >&5
27362 cat >conftest.$ac_ext <<_ACEOF
27365 cat confdefs.h >>conftest.$ac_ext
27366 cat >>conftest.$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368 #include <linux/ext2_fs.h>
27369 int main() { return 0; }
27371 rm -f conftest.$ac_objext
27372 if { (ac_try="$ac_compile"
27373 case "(($ac_try" in
27374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27375 *) ac_try_echo=$ac_try;;
27377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378 (eval "$ac_compile") 2>conftest.er1
27380 grep -v '^ *+' conftest.er1 >conftest.err
27382 cat conftest.err >&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && {
27385 test -z "$ac_cxx_werror_flag" ||
27386 test ! -s conftest.err
27387 } && test -s conftest.$ac_objext; then
27388 ensc_cv_test_ext2fs_header=kernel
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.$ac_ext >&5
27394 ensc_cv_test_ext2fs_header=none
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27402 { echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
27403 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6; }
27405 case x"$ensc_cv_test_ext2fs_header" in
27407 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27408 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27409 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27410 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27414 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27416 # Is the header compilable?
27417 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
27418 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6; }
27419 cat >conftest.$ac_ext <<_ACEOF
27422 cat confdefs.h >>conftest.$ac_ext
27423 cat >>conftest.$ac_ext <<_ACEOF
27424 /* end confdefs.h. */
27425 $ac_includes_default
27426 #include <ext2fs/ext2_fs.h>
27428 rm -f conftest.$ac_objext
27429 if { (ac_try="$ac_compile"
27430 case "(($ac_try" in
27431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_compile") 2>conftest.er1
27437 grep -v '^ *+' conftest.er1 >conftest.err
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_cxx_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest.$ac_objext; then
27445 ac_header_compiler=yes
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27450 ac_header_compiler=no
27453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27454 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27455 echo "${ECHO_T}$ac_header_compiler" >&6; }
27457 # Is the header present?
27458 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
27459 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6; }
27460 cat >conftest.$ac_ext <<_ACEOF
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h. */
27466 #include <ext2fs/ext2_fs.h>
27468 if { (ac_try="$ac_cpp conftest.$ac_ext"
27469 case "(($ac_try" in
27470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27471 *) ac_try_echo=$ac_try;;
27473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27476 grep -v '^ *+' conftest.er1 >conftest.err
27478 cat conftest.err >&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); } >/dev/null && {
27481 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27482 test ! -s conftest.err
27484 ac_header_preproc=yes
27486 echo "$as_me: failed program was:" >&5
27487 sed 's/^/| /' conftest.$ac_ext >&5
27489 ac_header_preproc=no
27492 rm -f conftest.err conftest.$ac_ext
27493 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27494 echo "${ECHO_T}$ac_header_preproc" >&6; }
27496 # So? What about this header?
27497 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27499 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27500 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27501 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
27502 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
27503 ac_header_preproc=yes
27506 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
27507 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
27508 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
27509 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27510 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
27511 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
27512 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27513 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27514 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
27515 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27516 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
27517 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27519 ## --------------------------------------------- ##
27520 ## Report this to vserver@list.linux-vserver.org ##
27521 ## --------------------------------------------- ##
27523 ) | sed "s/^/$as_me: WARNING: /" >&2
27526 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27527 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27528 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27529 echo $ECHO_N "(cached) $ECHO_C" >&6
27531 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
27533 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27534 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27537 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
27539 cat >>confdefs.h <<\_ACEOF
27540 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
27544 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27545 See \`config.log' for more details." >&5
27546 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27547 See \`config.log' for more details." >&2;}
27548 { (exit 1); exit 1; }; }
27554 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27555 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27556 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27557 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27558 echo $ECHO_N "(cached) $ECHO_C" >&6
27560 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27561 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27563 # Is the header compilable?
27564 { echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
27565 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6; }
27566 cat >conftest.$ac_ext <<_ACEOF
27569 cat confdefs.h >>conftest.$ac_ext
27570 cat >>conftest.$ac_ext <<_ACEOF
27571 /* end confdefs.h. */
27572 $ac_includes_default
27573 #include <linux/ext2_fs.h>
27575 rm -f conftest.$ac_objext
27576 if { (ac_try="$ac_compile"
27577 case "(($ac_try" in
27578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27579 *) ac_try_echo=$ac_try;;
27581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27582 (eval "$ac_compile") 2>conftest.er1
27584 grep -v '^ *+' conftest.er1 >conftest.err
27586 cat conftest.err >&5
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); } && {
27589 test -z "$ac_cxx_werror_flag" ||
27590 test ! -s conftest.err
27591 } && test -s conftest.$ac_objext; then
27592 ac_header_compiler=yes
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27597 ac_header_compiler=no
27600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27601 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27602 echo "${ECHO_T}$ac_header_compiler" >&6; }
27604 # Is the header present?
27605 { echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
27606 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6; }
27607 cat >conftest.$ac_ext <<_ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27613 #include <linux/ext2_fs.h>
27615 if { (ac_try="$ac_cpp conftest.$ac_ext"
27616 case "(($ac_try" in
27617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27618 *) ac_try_echo=$ac_try;;
27620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27623 grep -v '^ *+' conftest.er1 >conftest.err
27625 cat conftest.err >&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); } >/dev/null && {
27628 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27629 test ! -s conftest.err
27631 ac_header_preproc=yes
27633 echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27636 ac_header_preproc=no
27639 rm -f conftest.err conftest.$ac_ext
27640 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27641 echo "${ECHO_T}$ac_header_preproc" >&6; }
27643 # So? What about this header?
27644 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27646 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27647 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27648 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
27649 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
27650 ac_header_preproc=yes
27653 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
27654 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
27655 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
27656 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27657 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
27658 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
27659 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27660 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27661 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
27662 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27663 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
27664 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27666 ## --------------------------------------------- ##
27667 ## Report this to vserver@list.linux-vserver.org ##
27668 ## --------------------------------------------- ##
27670 ) | sed "s/^/$as_me: WARNING: /" >&2
27673 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27674 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27675 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27676 echo $ECHO_N "(cached) $ECHO_C" >&6
27678 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
27680 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27681 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27684 if test $ac_cv_header_linux_ext2_fs_h = yes; then
27686 cat >>confdefs.h <<\_ACEOF
27687 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
27691 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
27692 See \`config.log' for more details." >&5
27693 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
27694 See \`config.log' for more details." >&2;}
27695 { (exit 1); exit 1; }; }
27701 { { echo "$as_me:$LINENO: error:
27702 ext2fs headers were not found, or they are not usable. This can have
27703 the following reasons:
27705 * you have neither the e2fsprogs nor the kernel headers installed
27707 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27708 and you do not have e2fsprogs headers installed; please try to install
27709 - e2fsprogs-devel (for Red Hat), or
27710 - lib*ext2fs2-devel (for Mandriva), or
27711 - e2fslibs-dev (for Debian)
27714 * kernel headers are broken and your e2fsprogs headers are too old;
27715 until version 1.27 (inclusive), they are using reserved C++ keywords
27717 * kernel headers are broken and your e2fsprogs headers are too new;
27718 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27719 C++, for details and a solution see
27720 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27723 In the latter two cases you have the following options:
27724 * fix the headers manually, or
27725 * install a stable version of e2fsprogs (e.g. 1.34), or
27726 * use good kernel headers (from linux 2.4.x)
27728 See \`config.log' for more details." >&5
27729 echo "$as_me: error:
27730 ext2fs headers were not found, or they are not usable. This can have
27731 the following reasons:
27733 * you have neither the e2fsprogs nor the kernel headers installed
27735 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27736 and you do not have e2fsprogs headers installed; please try to install
27737 - e2fsprogs-devel (for Red Hat), or
27738 - lib*ext2fs2-devel (for Mandriva), or
27739 - e2fslibs-dev (for Debian)
27742 * kernel headers are broken and your e2fsprogs headers are too old;
27743 until version 1.27 (inclusive), they are using reserved C++ keywords
27745 * kernel headers are broken and your e2fsprogs headers are too new;
27746 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27747 C++, for details and a solution see
27748 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27751 In the latter two cases you have the following options:
27752 * fix the headers manually, or
27753 * install a stable version of e2fsprogs (e.g. 1.34), or
27754 * use good kernel headers (from linux 2.4.x)
27756 See \`config.log' for more details." >&2;}
27757 { (exit 1); exit 1; }; }
27761 ac_cpp='$CPP $CPPFLAGS'
27762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27768 for ac_func in vserver
27770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27774 echo $ECHO_N "(cached) $ECHO_C" >&6
27776 cat >conftest.$ac_ext <<_ACEOF
27779 cat confdefs.h >>conftest.$ac_ext
27780 cat >>conftest.$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27784 #define $ac_func innocuous_$ac_func
27786 /* System header to define __stub macros and hopefully few prototypes,
27787 which can conflict with char $ac_func (); below.
27788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27789 <limits.h> exists even on freestanding compilers. */
27792 # include <limits.h>
27794 # include <assert.h>
27799 /* Override any GCC internal prototype to avoid an error.
27800 Use char because int might match the return type of a GCC
27801 builtin and then its argument prototype would still apply. */
27806 /* The GNU C library defines this for functions which it implements
27807 to always fail with ENOSYS. Some functions are actually named
27808 something starting with __ and the normal name is an alias. */
27809 #if defined __stub_$ac_func || defined __stub___$ac_func
27816 return $ac_func ();
27821 rm -f conftest.$ac_objext conftest$ac_exeext
27822 if { (ac_try="$ac_link"
27823 case "(($ac_try" in
27824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27825 *) ac_try_echo=$ac_try;;
27827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828 (eval "$ac_link") 2>conftest.er1
27830 grep -v '^ *+' conftest.er1 >conftest.err
27832 cat conftest.err >&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } && {
27835 test -z "$ac_c_werror_flag" ||
27836 test ! -s conftest.err
27837 } && test -s conftest$ac_exeext &&
27838 $as_test_x conftest$ac_exeext; then
27839 eval "$as_ac_var=yes"
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.$ac_ext >&5
27844 eval "$as_ac_var=no"
27847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27848 conftest$ac_exeext conftest.$ac_ext
27850 ac_res=`eval echo '${'$as_ac_var'}'`
27851 { echo "$as_me:$LINENO: result: $ac_res" >&5
27852 echo "${ECHO_T}$ac_res" >&6; }
27853 if test `eval echo '${'$as_ac_var'}'` = yes; then
27854 cat >>confdefs.h <<_ACEOF
27855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27861 { echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27862 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6; }
27863 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27864 echo $ECHO_N "(cached) $ECHO_C" >&6
27866 cat >conftest.$ac_ext <<_ACEOF
27869 cat confdefs.h >>conftest.$ac_ext
27870 cat >>conftest.$ac_ext <<_ACEOF
27871 /* end confdefs.h. */
27872 #include <linux/fs.h>
27885 rm -f conftest.$ac_objext
27886 if { (ac_try="$ac_compile"
27887 case "(($ac_try" in
27888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27889 *) ac_try_echo=$ac_try;;
27891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27892 (eval "$ac_compile") 2>conftest.er1
27894 grep -v '^ *+' conftest.er1 >conftest.err
27896 cat conftest.err >&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); } && {
27899 test -z "$ac_c_werror_flag" ||
27900 test ! -s conftest.err
27901 } && test -s conftest.$ac_objext; then
27902 ac_cv_have_decl_MS_MOVE=yes
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27907 ac_cv_have_decl_MS_MOVE=no
27910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27912 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27913 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6; }
27914 if test $ac_cv_have_decl_MS_MOVE = yes; then
27916 cat >>confdefs.h <<_ACEOF
27917 #define HAVE_DECL_MS_MOVE 1
27922 cat >>confdefs.h <<_ACEOF
27923 #define HAVE_DECL_MS_MOVE 0
27930 { echo "$as_me:$LINENO: checking for xid_t" >&5
27931 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6; }
27932 if test "${ac_cv_type_xid_t+set}" = set; then
27933 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 cat >conftest.$ac_ext <<_ACEOF
27938 cat confdefs.h >>conftest.$ac_ext
27939 cat >>conftest.$ac_ext <<_ACEOF
27940 /* end confdefs.h. */
27941 #include <sys/types.h>
27943 typedef xid_t ac__type_new_;
27947 if ((ac__type_new_ *) 0)
27949 if (sizeof (ac__type_new_))
27955 rm -f conftest.$ac_objext
27956 if { (ac_try="$ac_compile"
27957 case "(($ac_try" in
27958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27959 *) ac_try_echo=$ac_try;;
27961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27962 (eval "$ac_compile") 2>conftest.er1
27964 grep -v '^ *+' conftest.er1 >conftest.err
27966 cat conftest.err >&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); } && {
27969 test -z "$ac_c_werror_flag" ||
27970 test ! -s conftest.err
27971 } && test -s conftest.$ac_objext; then
27972 ac_cv_type_xid_t=yes
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27977 ac_cv_type_xid_t=no
27980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27982 { echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27983 echo "${ECHO_T}$ac_cv_type_xid_t" >&6; }
27984 if test $ac_cv_type_xid_t = yes; then
27986 cat >>confdefs.h <<_ACEOF
27987 #define HAVE_XID_T 1
27993 { echo "$as_me:$LINENO: checking for nid_t" >&5
27994 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6; }
27995 if test "${ac_cv_type_nid_t+set}" = set; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 cat >conftest.$ac_ext <<_ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28004 #include <sys/types.h>
28006 typedef nid_t ac__type_new_;
28010 if ((ac__type_new_ *) 0)
28012 if (sizeof (ac__type_new_))
28018 rm -f conftest.$ac_objext
28019 if { (ac_try="$ac_compile"
28020 case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_compile") 2>conftest.er1
28027 grep -v '^ *+' conftest.er1 >conftest.err
28029 cat conftest.err >&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } && {
28032 test -z "$ac_c_werror_flag" ||
28033 test ! -s conftest.err
28034 } && test -s conftest.$ac_objext; then
28035 ac_cv_type_nid_t=yes
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.$ac_ext >&5
28040 ac_cv_type_nid_t=no
28043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045 { echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
28046 echo "${ECHO_T}$ac_cv_type_nid_t" >&6; }
28047 if test $ac_cv_type_nid_t = yes; then
28049 cat >>confdefs.h <<_ACEOF
28050 #define HAVE_NID_T 1
28056 { echo "$as_me:$LINENO: checking for tag_t" >&5
28057 echo $ECHO_N "checking for tag_t... $ECHO_C" >&6; }
28058 if test "${ac_cv_type_tag_t+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 cat >conftest.$ac_ext <<_ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28067 #include <sys/types.h>
28069 typedef tag_t ac__type_new_;
28073 if ((ac__type_new_ *) 0)
28075 if (sizeof (ac__type_new_))
28081 rm -f conftest.$ac_objext
28082 if { (ac_try="$ac_compile"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_compile") 2>conftest.er1
28090 grep -v '^ *+' conftest.er1 >conftest.err
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest.$ac_objext; then
28098 ac_cv_type_tag_t=yes
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28103 ac_cv_type_tag_t=no
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28108 { echo "$as_me:$LINENO: result: $ac_cv_type_tag_t" >&5
28109 echo "${ECHO_T}$ac_cv_type_tag_t" >&6; }
28110 if test $ac_cv_type_tag_t = yes; then
28112 cat >>confdefs.h <<_ACEOF
28113 #define HAVE_TAG_T 1
28121 for ac_header in sys/capability.h
28123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28128 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 ac_res=`eval echo '${'$as_ac_Header'}'`
28131 { echo "$as_me:$LINENO: result: $ac_res" >&5
28132 echo "${ECHO_T}$ac_res" >&6; }
28134 # Is the header compilable?
28135 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28137 cat >conftest.$ac_ext <<_ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28143 $ac_includes_default
28144 #include <$ac_header>
28146 rm -f conftest.$ac_objext
28147 if { (ac_try="$ac_compile"
28148 case "(($ac_try" in
28149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28150 *) ac_try_echo=$ac_try;;
28152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28153 (eval "$ac_compile") 2>conftest.er1
28155 grep -v '^ *+' conftest.er1 >conftest.err
28157 cat conftest.err >&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } && {
28160 test -z "$ac_c_werror_flag" ||
28161 test ! -s conftest.err
28162 } && test -s conftest.$ac_objext; then
28163 ac_header_compiler=yes
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.$ac_ext >&5
28168 ac_header_compiler=no
28171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28172 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28173 echo "${ECHO_T}$ac_header_compiler" >&6; }
28175 # Is the header present?
28176 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28178 cat >conftest.$ac_ext <<_ACEOF
28181 cat confdefs.h >>conftest.$ac_ext
28182 cat >>conftest.$ac_ext <<_ACEOF
28183 /* end confdefs.h. */
28184 #include <$ac_header>
28186 if { (ac_try="$ac_cpp conftest.$ac_ext"
28187 case "(($ac_try" in
28188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28189 *) ac_try_echo=$ac_try;;
28191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28194 grep -v '^ *+' conftest.er1 >conftest.err
28196 cat conftest.err >&5
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); } >/dev/null && {
28199 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28200 test ! -s conftest.err
28202 ac_header_preproc=yes
28204 echo "$as_me: failed program was:" >&5
28205 sed 's/^/| /' conftest.$ac_ext >&5
28207 ac_header_preproc=no
28210 rm -f conftest.err conftest.$ac_ext
28211 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28212 echo "${ECHO_T}$ac_header_preproc" >&6; }
28214 # So? What about this header?
28215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28221 ac_header_preproc=yes
28224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28237 ## --------------------------------------------- ##
28238 ## Report this to vserver@list.linux-vserver.org ##
28239 ## --------------------------------------------- ##
28241 ) | sed "s/^/$as_me: WARNING: /" >&2
28244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 eval "$as_ac_Header=\$ac_header_preproc"
28251 ac_res=`eval echo '${'$as_ac_Header'}'`
28252 { echo "$as_me:$LINENO: result: $ac_res" >&5
28253 echo "${ECHO_T}$ac_res" >&6; }
28256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28257 cat >>confdefs.h <<_ACEOF
28258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28266 if test x"$ensc_have_dietlibc" = xno; then
28267 { echo "$as_me:$LINENO: checking for openpty" >&5
28268 echo $ECHO_N "checking for openpty... $ECHO_C" >&6; }
28269 if test "${ac_cv_func_openpty+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 cat >conftest.$ac_ext <<_ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
28279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28280 #define openpty innocuous_openpty
28282 /* System header to define __stub macros and hopefully few prototypes,
28283 which can conflict with char openpty (); below.
28284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28285 <limits.h> exists even on freestanding compilers. */
28288 # include <limits.h>
28290 # include <assert.h>
28295 /* Override any GCC internal prototype to avoid an error.
28296 Use char because int might match the return type of a GCC
28297 builtin and then its argument prototype would still apply. */
28302 /* The GNU C library defines this for functions which it implements
28303 to always fail with ENOSYS. Some functions are actually named
28304 something starting with __ and the normal name is an alias. */
28305 #if defined __stub_openpty || defined __stub___openpty
28317 rm -f conftest.$ac_objext conftest$ac_exeext
28318 if { (ac_try="$ac_link"
28319 case "(($ac_try" in
28320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28321 *) ac_try_echo=$ac_try;;
28323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28324 (eval "$ac_link") 2>conftest.er1
28326 grep -v '^ *+' conftest.er1 >conftest.err
28328 cat conftest.err >&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); } && {
28331 test -z "$ac_c_werror_flag" ||
28332 test ! -s conftest.err
28333 } && test -s conftest$ac_exeext &&
28334 $as_test_x conftest$ac_exeext; then
28335 ac_cv_func_openpty=yes
28337 echo "$as_me: failed program was:" >&5
28338 sed 's/^/| /' conftest.$ac_ext >&5
28340 ac_cv_func_openpty=no
28343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28344 conftest$ac_exeext conftest.$ac_ext
28346 { echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
28347 echo "${ECHO_T}$ac_cv_func_openpty" >&6; }
28348 if test $ac_cv_func_openpty = yes; then
28352 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
28353 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
28354 if test "${ac_cv_lib_util_openpty+set}" = set; then
28355 echo $ECHO_N "(cached) $ECHO_C" >&6
28357 ac_check_lib_save_LIBS=$LIBS
28358 LIBS="-lutil $LIBS"
28359 cat >conftest.$ac_ext <<_ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28366 /* Override any GCC internal prototype to avoid an error.
28367 Use char because int might match the return type of a GCC
28368 builtin and then its argument prototype would still apply. */
28381 rm -f conftest.$ac_objext conftest$ac_exeext
28382 if { (ac_try="$ac_link"
28383 case "(($ac_try" in
28384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28385 *) ac_try_echo=$ac_try;;
28387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28388 (eval "$ac_link") 2>conftest.er1
28390 grep -v '^ *+' conftest.er1 >conftest.err
28392 cat conftest.err >&5
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); } && {
28395 test -z "$ac_c_werror_flag" ||
28396 test ! -s conftest.err
28397 } && test -s conftest$ac_exeext &&
28398 $as_test_x conftest$ac_exeext; then
28399 ac_cv_lib_util_openpty=yes
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.$ac_ext >&5
28404 ac_cv_lib_util_openpty=no
28407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28408 conftest$ac_exeext conftest.$ac_ext
28409 LIBS=$ac_check_lib_save_LIBS
28411 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
28412 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
28413 if test $ac_cv_lib_util_openpty = yes; then
28414 cat >>confdefs.h <<_ACEOF
28415 #define HAVE_LIBUTIL 1
28418 LIBS="-lutil $LIBS"
28421 { { echo "$as_me:$LINENO: error:
28423 **** openpty could not be found
28425 echo "$as_me: error:
28427 **** openpty could not be found
28429 { (exit 1); exit 1; }; }
28438 # Check whether --with-crypto-api was given.
28439 if test "${with_crypto_api+set}" = set; then
28440 withval=$with_crypto_api; case $withval in
28441 (none|nss|beecrypt|auto) ensc_crypto_api=$withval;;
28442 (yes) ensc_crypto_api=auto;;
28443 (no) ensc_crypto_api=none;;
28444 (*) { { echo "$as_me:$LINENO: error: invalid crypto-api value, only none,nss,beecrypt,auto are supported" >&5
28445 echo "$as_me: error: invalid crypto-api value, only none,nss,beecrypt,auto are supported" >&2;}
28446 { (exit 1); exit 1; }; };;
28449 ensc_crypto_api=auto
28455 case $ensc_crypto_api in
28457 if test x"$ensc_cv_c99_c99compiler" = xyes; then
28458 ensc_have_beecrypt=yes
28460 if test x"$ensc_have_beecrypt" = xyes; then
28461 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28462 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28463 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28464 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28468 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28470 # Is the header compilable?
28471 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
28472 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6; }
28473 cat >conftest.$ac_ext <<_ACEOF
28476 cat confdefs.h >>conftest.$ac_ext
28477 cat >>conftest.$ac_ext <<_ACEOF
28478 /* end confdefs.h. */
28479 $ac_includes_default
28480 #include <beecrypt/beecrypt.h>
28482 rm -f conftest.$ac_objext
28483 if { (ac_try="$ac_compile"
28484 case "(($ac_try" in
28485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28486 *) ac_try_echo=$ac_try;;
28488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28489 (eval "$ac_compile") 2>conftest.er1
28491 grep -v '^ *+' conftest.er1 >conftest.err
28493 cat conftest.err >&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && {
28496 test -z "$ac_c_werror_flag" ||
28497 test ! -s conftest.err
28498 } && test -s conftest.$ac_objext; then
28499 ac_header_compiler=yes
28501 echo "$as_me: failed program was:" >&5
28502 sed 's/^/| /' conftest.$ac_ext >&5
28504 ac_header_compiler=no
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28509 echo "${ECHO_T}$ac_header_compiler" >&6; }
28511 # Is the header present?
28512 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
28513 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6; }
28514 cat >conftest.$ac_ext <<_ACEOF
28517 cat confdefs.h >>conftest.$ac_ext
28518 cat >>conftest.$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28520 #include <beecrypt/beecrypt.h>
28522 if { (ac_try="$ac_cpp conftest.$ac_ext"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28530 grep -v '^ *+' conftest.er1 >conftest.err
28532 cat conftest.err >&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); } >/dev/null && {
28535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28536 test ! -s conftest.err
28538 ac_header_preproc=yes
28540 echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28543 ac_header_preproc=no
28546 rm -f conftest.err conftest.$ac_ext
28547 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28548 echo "${ECHO_T}$ac_header_preproc" >&6; }
28550 # So? What about this header?
28551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28553 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
28554 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28555 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
28556 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
28557 ac_header_preproc=yes
28560 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
28561 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
28562 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
28563 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
28564 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
28565 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
28566 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
28567 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
28568 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
28569 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
28570 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
28571 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
28573 ## --------------------------------------------- ##
28574 ## Report this to vserver@list.linux-vserver.org ##
28575 ## --------------------------------------------- ##
28577 ) | sed "s/^/$as_me: WARNING: /" >&2
28580 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28581 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28582 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28583 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
28587 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28588 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28591 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
28594 ensc_have_beecrypt=no
28600 if test x"$ensc_have_beecrypt" = xyes; then
28601 { echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
28602 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6; }
28603 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 ac_check_lib_save_LIBS=$LIBS
28607 LIBS="-lbeecrypt $LIBS"
28608 cat >conftest.$ac_ext <<_ACEOF
28611 cat confdefs.h >>conftest.$ac_ext
28612 cat >>conftest.$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28615 /* Override any GCC internal prototype to avoid an error.
28616 Use char because int might match the return type of a GCC
28617 builtin and then its argument prototype would still apply. */
28621 char hashFunctionContextInit ();
28625 return hashFunctionContextInit ();
28630 rm -f conftest.$ac_objext conftest$ac_exeext
28631 if { (ac_try="$ac_link"
28632 case "(($ac_try" in
28633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28634 *) ac_try_echo=$ac_try;;
28636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28637 (eval "$ac_link") 2>conftest.er1
28639 grep -v '^ *+' conftest.er1 >conftest.err
28641 cat conftest.err >&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); } && {
28644 test -z "$ac_c_werror_flag" ||
28645 test ! -s conftest.err
28646 } && test -s conftest$ac_exeext &&
28647 $as_test_x conftest$ac_exeext; then
28648 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
28650 echo "$as_me: failed program was:" >&5
28651 sed 's/^/| /' conftest.$ac_ext >&5
28653 ac_cv_lib_beecrypt_hashFunctionContextInit=no
28656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28657 conftest$ac_exeext conftest.$ac_ext
28658 LIBS=$ac_check_lib_save_LIBS
28660 { echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
28661 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6; }
28662 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
28665 ensc_have_beecrypt=no
28670 ensc_have_beecrypt=no
28674 case $ensc_crypto_api in
28675 (auto) if test x"$ensc_have_beecrypt" = xyes; then
28676 { echo "$as_me:$LINENO: using beecrypt as crypto api" >&5
28677 echo "$as_me: using beecrypt as crypto api" >&6;}
28678 ensc_crypto_api=beecrypt
28680 (beecrypt) if test x"$ensc_have_beecrypt" != xyes; then
28681 { { echo "$as_me:$LINENO: error: beecrypt crypto api not found" >&5
28682 echo "$as_me: error: beecrypt crypto api not found" >&2;}
28683 { (exit 1); exit 1; }; }
28687 if test x"$ensc_have_beecrypt" = xyes; then
28688 ENSC_HAVE_BEECRYPT_TRUE=
28689 ENSC_HAVE_BEECRYPT_FALSE='#'
28691 ENSC_HAVE_BEECRYPT_TRUE='#'
28692 ENSC_HAVE_BEECRYPT_FALSE=
28696 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
28697 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
28699 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
28700 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
28706 case $ensc_crypto_api in
28709 { echo "$as_me:$LINENO: checking for NSS" >&5
28710 echo $ECHO_N "checking for NSS... $ECHO_C" >&6; }
28712 if test -n "$NSS_CFLAGS"; then
28713 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
28714 elif test -n "$PKG_CONFIG"; then
28715 if test -n "$PKG_CONFIG" && \
28716 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28717 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); }; then
28721 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null`
28728 if test -n "$NSS_LIBS"; then
28729 pkg_cv_NSS_LIBS="$NSS_LIBS"
28730 elif test -n "$PKG_CONFIG"; then
28731 if test -n "$PKG_CONFIG" && \
28732 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28733 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); }; then
28737 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null`
28747 if test $pkg_failed = yes; then
28749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28750 _pkg_short_errors_supported=yes
28752 _pkg_short_errors_supported=no
28754 if test $_pkg_short_errors_supported = yes; then
28755 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nss" 2>&1`
28757 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors "nss" 2>&1`
28759 # Put the nasty error message in config.log where it belongs
28760 echo "$NSS_PKG_ERRORS" >&5
28762 { { echo "$as_me:$LINENO: error: Package requirements (nss) were not met:
28766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28767 installed software in a non-standard prefix.
28769 Alternatively, you may set the environment variables NSS_CFLAGS
28770 and NSS_LIBS to avoid the need to call pkg-config.
28771 See the pkg-config man page for more details.
28773 echo "$as_me: error: Package requirements (nss) were not met:
28777 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28778 installed software in a non-standard prefix.
28780 Alternatively, you may set the environment variables NSS_CFLAGS
28781 and NSS_LIBS to avoid the need to call pkg-config.
28782 See the pkg-config man page for more details.
28784 { (exit 1); exit 1; }; }
28785 elif test $pkg_failed = untried; then
28786 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28787 is in your PATH or set the PKG_CONFIG environment variable to the full
28788 path to pkg-config.
28790 Alternatively, you may set the environment variables NSS_CFLAGS
28791 and NSS_LIBS to avoid the need to call pkg-config.
28792 See the pkg-config man page for more details.
28794 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28795 See \`config.log' for more details." >&5
28796 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28797 is in your PATH or set the PKG_CONFIG environment variable to the full
28798 path to pkg-config.
28800 Alternatively, you may set the environment variables NSS_CFLAGS
28801 and NSS_LIBS to avoid the need to call pkg-config.
28802 See the pkg-config man page for more details.
28804 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28805 See \`config.log' for more details." >&2;}
28806 { (exit 1); exit 1; }; }
28808 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
28809 NSS_LIBS=$pkg_cv_NSS_LIBS
28810 { echo "$as_me:$LINENO: result: yes" >&5
28811 echo "${ECHO_T}yes" >&6; }
28816 { echo "$as_me:$LINENO: checking for NSS" >&5
28817 echo $ECHO_N "checking for NSS... $ECHO_C" >&6; }
28819 if test -n "$NSS_CFLAGS"; then
28820 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
28821 elif test -n "$PKG_CONFIG"; then
28822 if test -n "$PKG_CONFIG" && \
28823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28824 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); }; then
28828 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null`
28835 if test -n "$NSS_LIBS"; then
28836 pkg_cv_NSS_LIBS="$NSS_LIBS"
28837 elif test -n "$PKG_CONFIG"; then
28838 if test -n "$PKG_CONFIG" && \
28839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28840 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; then
28844 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null`
28854 if test $pkg_failed = yes; then
28856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28857 _pkg_short_errors_supported=yes
28859 _pkg_short_errors_supported=no
28861 if test $_pkg_short_errors_supported = yes; then
28862 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nss" 2>&1`
28864 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors "nss" 2>&1`
28866 # Put the nasty error message in config.log where it belongs
28867 echo "$NSS_PKG_ERRORS" >&5
28869 { { echo "$as_me:$LINENO: error: Package requirements (nss) were not met:
28873 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28874 installed software in a non-standard prefix.
28876 Alternatively, you may set the environment variables NSS_CFLAGS
28877 and NSS_LIBS to avoid the need to call pkg-config.
28878 See the pkg-config man page for more details.
28880 echo "$as_me: error: Package requirements (nss) were not met:
28884 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28885 installed software in a non-standard prefix.
28887 Alternatively, you may set the environment variables NSS_CFLAGS
28888 and NSS_LIBS to avoid the need to call pkg-config.
28889 See the pkg-config man page for more details.
28891 { (exit 1); exit 1; }; }
28892 elif test $pkg_failed = untried; then
28893 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28894 is in your PATH or set the PKG_CONFIG environment variable to the full
28895 path to pkg-config.
28897 Alternatively, you may set the environment variables NSS_CFLAGS
28898 and NSS_LIBS to avoid the need to call pkg-config.
28899 See the pkg-config man page for more details.
28901 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28902 See \`config.log' for more details." >&5
28903 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28904 is in your PATH or set the PKG_CONFIG environment variable to the full
28905 path to pkg-config.
28907 Alternatively, you may set the environment variables NSS_CFLAGS
28908 and NSS_LIBS to avoid the need to call pkg-config.
28909 See the pkg-config man page for more details.
28911 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28912 See \`config.log' for more details." >&2;}
28913 { (exit 1); exit 1; }; }
28915 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
28916 NSS_LIBS=$pkg_cv_NSS_LIBS
28917 { echo "$as_me:$LINENO: result: yes" >&5
28918 echo "${ECHO_T}yes" >&6; }
28920 { echo "$as_me:$LINENO: using NSS as crypto api" >&5
28921 echo "$as_me: using NSS as crypto api" >&6;}
28922 ensc_crypto_api=nss
28927 case $ensc_crypto_api in
28929 ENSC_HAVE_CRYPTO=true
28930 ENSC_CRYPTO_API=ENSC_CRYPTO_API_BEECRYPT
28931 ENSC_CRYPTO_CFLAGS=
28932 ENSC_CRYPTO_LIB=-lbeecrypt
28933 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false
28937 ENSC_HAVE_CRYPTO=true
28938 ENSC_CRYPTO_API=ENSC_CRYPTO_API_NSS
28939 ENSC_CRYPTO_CFLAGS=$NSS_CFLAGS
28940 ENSC_CRYPTO_LIB=$NSS_LIBS
28941 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false
28945 ENSC_HAVE_CRYPTO=false
28946 ENSC_CRYPTO_API=ENSC_CRYPTO_API_NONE
28947 ENSC_CRYPTO_CFLAGS=
28949 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false
28951 { echo "$as_me:$LINENO: WARNING: No crypto api found/select. This will disable the build of 'vhashify'" >&5
28952 echo "$as_me: WARNING: No crypto api found/select. This will disable the build of 'vhashify'" >&2;}
28955 (*) { { echo "$as_me:$LINENO: error: internal error" >&5
28956 echo "$as_me: error: internal error" >&2;}
28957 { (exit 1); exit 1; }; }
28960 if $ENSC_HAVE_CRYPTO; then
28961 ENSC_HAVE_CRYPTO_TRUE=
28962 ENSC_HAVE_CRYPTO_FALSE='#'
28964 ENSC_HAVE_CRYPTO_TRUE='#'
28965 ENSC_HAVE_CRYPTO_FALSE=
28968 if $ENSC_CAN_CRYPTO_WITH_DIETLIBC; then
28969 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE=
28970 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE='#'
28972 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE='#'
28973 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE=
28976 ENSC_CRYPTO_CFLAGS=$ENSC_CRYPTO_CFLAGS
28978 ENSC_CRYPTO_LIB=$ENSC_CRYPTO_LIB
28981 cat >>confdefs.h <<_ACEOF
28982 #define ENSC_CRYPTO_API $ENSC_CRYPTO_API
28988 { echo "$as_me:$LINENO: checking for host initscripts" >&5
28989 echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6; }
28991 # Check whether --with-initscripts was given.
28992 if test "${with_initscripts+set}" = set; then
28993 withval=$with_initscripts;
28995 gentoo) ensc_with_init=gentoo;;
28996 sysv) ensc_with_init=sysv;;
28997 *) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
28998 echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
28999 { (exit 1); exit 1; }; };;
29004 if test -e /etc/gentoo-release; then
29005 ensc_with_init=gentoo
29007 ensc_with_init=sysv
29012 { echo "$as_me:$LINENO: result: $ensc_with_init" >&5
29013 echo "${ECHO_T}$ensc_with_init" >&6; }
29014 if test x"$ensc_with_init" = xgentoo; then
29015 HAVE_GENTOO_INIT_TRUE=
29016 HAVE_GENTOO_INIT_FALSE='#'
29018 HAVE_GENTOO_INIT_TRUE='#'
29019 HAVE_GENTOO_INIT_FALSE=
29022 if test x"$ensc_with_init" = xsysv; then
29023 HAVE_SYSV_INIT_TRUE=
29024 HAVE_SYSV_INIT_FALSE='#'
29026 HAVE_SYSV_INIT_TRUE='#'
29027 HAVE_SYSV_INIT_FALSE=
29033 ensc_have_python=yes
29038 # Find any Python interpreter.
29039 if test -z "$PYTHON"; then
29040 for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
29042 # Extract the first word of "$ac_prog", so it can be a program name with args.
29043 set dummy $ac_prog; ac_word=$2
29044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29046 if test "${ac_cv_path_PYTHON+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29051 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
29054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29055 for as_dir in $PATH
29058 test -z "$as_dir" && as_dir=.
29059 for ac_exec_ext in '' $ac_executable_extensions; do
29060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29061 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
29062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29072 PYTHON=$ac_cv_path_PYTHON
29073 if test -n "$PYTHON"; then
29074 { echo "$as_me:$LINENO: result: $PYTHON" >&5
29075 echo "${ECHO_T}$PYTHON" >&6; }
29077 { echo "$as_me:$LINENO: result: no" >&5
29078 echo "${ECHO_T}no" >&6; }
29082 test -n "$PYTHON" && break
29084 test -n "$PYTHON" || PYTHON=":"
29087 am_display_PYTHON=python
29090 if test "$PYTHON" = :; then
29095 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
29096 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
29097 if test "${am_cv_python_version+set}" = set; then
29098 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
29102 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
29103 echo "${ECHO_T}$am_cv_python_version" >&6; }
29104 PYTHON_VERSION=$am_cv_python_version
29108 PYTHON_PREFIX='${prefix}'
29110 PYTHON_EXEC_PREFIX='${exec_prefix}'
29114 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
29115 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
29116 if test "${am_cv_python_platform+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29119 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
29121 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
29122 echo "${ECHO_T}$am_cv_python_platform" >&6; }
29123 PYTHON_PLATFORM=$am_cv_python_platform
29128 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
29129 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
29130 if test "${am_cv_python_pythondir+set}" = set; then
29131 echo $ECHO_N "(cached) $ECHO_C" >&6
29133 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
29134 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
29136 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
29137 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
29138 pythondir=$am_cv_python_pythondir
29142 pkgpythondir=\${pythondir}/$PACKAGE
29145 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
29146 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
29147 if test "${am_cv_python_pyexecdir+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29150 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
29151 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
29153 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
29154 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
29155 pyexecdir=$am_cv_python_pyexecdir
29159 pkgpyexecdir=\${pyexecdir}/$PACKAGE
29166 if test "x$PYTHON" = x:; then
29167 ensc_have_python=no
29169 if test x$ensc_have_python = xyes; then
29170 PYTHON_CFLAGS=-I`$PYTHON -c 'from distutils.sysconfig import get_python_inc; print get_python_inc(1)'`
29171 PYTHON_LDFLAGS=-L`$PYTHON -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)'`
29175 ensc_have_python=no
29177 # Extract the first word of "ctags", so it can be a program name with args.
29178 set dummy ctags; ac_word=$2
29179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29181 if test "${ac_cv_path_CTAGS+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29186 ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path.
29189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29190 for as_dir in $PATH
29193 test -z "$as_dir" && as_dir=.
29194 for ac_exec_ext in '' $ac_executable_extensions; do
29195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29196 ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext"
29197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29204 test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="no"
29208 CTAGS=$ac_cv_path_CTAGS
29209 if test -n "$CTAGS"; then
29210 { echo "$as_me:$LINENO: result: $CTAGS" >&5
29211 echo "${ECHO_T}$CTAGS" >&6; }
29213 { echo "$as_me:$LINENO: result: no" >&5
29214 echo "${ECHO_T}no" >&6; }
29218 if test "x$CTAGS" = xno; then
29219 ensc_have_python=no
29221 if test x$ensc_have_python = xyes; then
29223 HAVE_PYTHON_FALSE='#'
29225 HAVE_PYTHON_TRUE='#'
29233 ensc_have_versioning=yes
29234 # Check whether --enable-versioning was given.
29235 if test "${enable_versioning+set}" = set; then
29236 enableval=$enable_versioning; ensc_have_versioning="$enableval"
29239 if test "x$ensc_have_versioning" = xyes; then
29240 HAVE_VERSIONING_TRUE=
29241 HAVE_VERSIONING_FALSE='#'
29243 HAVE_VERSIONING_TRUE='#'
29244 HAVE_VERSIONING_FALSE=
29247 if test "x$ensc_have_versioning" = xyes; then
29249 cat >>confdefs.h <<\_ACEOF
29250 #define HAVE_VERSIONING 1
29258 cat >>confdefs.h <<\_ACEOF
29259 #define UTMP_GID 22
29265 cat >>confdefs.h <<\_ACEOF
29266 #define HAVE_GROWING_STACK 1
29272 cat >>confdefs.h <<\_ACEOF
29273 #define _FILE_OFFSET_BITS 64
29277 ensc_cxx_affected=" (affected: vbuild, vcheck)"
29278 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
29279 ensc_diet_msg=" (you have been warned)"
29280 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
29281 ensc_diet_compat_msg=" (using -lcompat)"
29282 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
29283 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
29284 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
29285 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
29286 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
29292 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
29294 cat >confcache <<\_ACEOF
29295 # This file is a shell script that caches the results of configure
29296 # tests run on this system so they can be shared between configure
29297 # scripts and configure runs, see configure's option --config-cache.
29298 # It is not useful on other systems. If it contains results you don't
29299 # want to keep, you may remove or edit it.
29301 # config.status only pays attention to the cache file if you give it
29302 # the --recheck option to rerun configure.
29304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29306 # following values.
29310 # The following way of writing the cache mishandles newlines in values,
29311 # but we know of no workaround that is simple, portable, and efficient.
29312 # So, we kill variables containing newlines.
29313 # Ultrix sh set writes to stderr and can't be redirected directly,
29314 # and sets the high bit in the cache file unless we assign to the vars.
29316 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29317 eval ac_val=\$$ac_var
29321 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29322 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29325 _ | IFS | as_nl) ;; #(
29326 *) $as_unset $ac_var ;;
29332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
29333 *${as_nl}ac_space=\ *)
29334 # `set' does not quote correctly, so add quotes (double-quote
29335 # substitution turns \\\\ into \\, and sed turns \\ into \).
29338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29341 # `set' quotes correctly as required by POSIX, so do not add quotes.
29342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29355 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29356 if test -w "$cache_file"; then
29357 test "x$cache_file" != "x/dev/null" &&
29358 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
29359 echo "$as_me: updating cache $cache_file" >&6;}
29360 cat confcache >$cache_file
29362 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29363 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29368 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29369 # Let make expand exec_prefix.
29370 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29372 DEFS=-DHAVE_CONFIG_H
29376 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29377 # 1. Remove the extension, and $U if already installed.
29378 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29379 ac_i=`echo "$ac_i" | sed "$ac_script"`
29380 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29381 # will be set to the directory where LIBOBJS objects are built.
29382 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29383 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29385 LIBOBJS=$ac_libobjs
29387 LTLIBOBJS=$ac_ltlibobjs
29390 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29391 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29392 Usually this means the macro was only invoked conditionally." >&5
29393 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29394 Usually this means the macro was only invoked conditionally." >&2;}
29395 { (exit 1); exit 1; }; }
29397 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29398 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29399 Usually this means the macro was only invoked conditionally." >&5
29400 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29401 Usually this means the macro was only invoked conditionally." >&2;}
29402 { (exit 1); exit 1; }; }
29404 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29405 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29406 Usually this means the macro was only invoked conditionally." >&5
29407 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29408 Usually this means the macro was only invoked conditionally." >&2;}
29409 { (exit 1); exit 1; }; }
29411 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29412 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29413 Usually this means the macro was only invoked conditionally." >&5
29414 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29415 Usually this means the macro was only invoked conditionally." >&2;}
29416 { (exit 1); exit 1; }; }
29418 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
29419 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
29420 Usually this means the macro was only invoked conditionally." >&5
29421 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
29422 Usually this means the macro was only invoked conditionally." >&2;}
29423 { (exit 1); exit 1; }; }
29425 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
29426 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
29427 Usually this means the macro was only invoked conditionally." >&5
29428 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
29429 Usually this means the macro was only invoked conditionally." >&2;}
29430 { (exit 1); exit 1; }; }
29432 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
29433 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
29434 Usually this means the macro was only invoked conditionally." >&5
29435 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
29436 Usually this means the macro was only invoked conditionally." >&2;}
29437 { (exit 1); exit 1; }; }
29439 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
29440 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
29441 Usually this means the macro was only invoked conditionally." >&5
29442 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
29443 Usually this means the macro was only invoked conditionally." >&2;}
29444 { (exit 1); exit 1; }; }
29446 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29447 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29448 Usually this means the macro was only invoked conditionally." >&5
29449 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29450 Usually this means the macro was only invoked conditionally." >&2;}
29451 { (exit 1); exit 1; }; }
29453 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29454 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29455 Usually this means the macro was only invoked conditionally." >&5
29456 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29457 Usually this means the macro was only invoked conditionally." >&2;}
29458 { (exit 1); exit 1; }; }
29460 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29461 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29462 Usually this means the macro was only invoked conditionally." >&5
29463 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29464 Usually this means the macro was only invoked conditionally." >&2;}
29465 { (exit 1); exit 1; }; }
29467 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29468 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29469 Usually this means the macro was only invoked conditionally." >&5
29470 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29471 Usually this means the macro was only invoked conditionally." >&2;}
29472 { (exit 1); exit 1; }; }
29474 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29475 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29476 Usually this means the macro was only invoked conditionally." >&5
29477 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29478 Usually this means the macro was only invoked conditionally." >&2;}
29479 { (exit 1); exit 1; }; }
29481 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
29482 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29483 Usually this means the macro was only invoked conditionally." >&5
29484 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29485 Usually this means the macro was only invoked conditionally." >&2;}
29486 { (exit 1); exit 1; }; }
29488 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
29489 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29490 Usually this means the macro was only invoked conditionally." >&5
29491 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29492 Usually this means the macro was only invoked conditionally." >&2;}
29493 { (exit 1); exit 1; }; }
29495 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
29496 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
29497 Usually this means the macro was only invoked conditionally." >&5
29498 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
29499 Usually this means the macro was only invoked conditionally." >&2;}
29500 { (exit 1); exit 1; }; }
29502 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
29503 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
29504 Usually this means the macro was only invoked conditionally." >&5
29505 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
29506 Usually this means the macro was only invoked conditionally." >&2;}
29507 { (exit 1); exit 1; }; }
29509 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
29510 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
29511 Usually this means the macro was only invoked conditionally." >&5
29512 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
29513 Usually this means the macro was only invoked conditionally." >&2;}
29514 { (exit 1); exit 1; }; }
29516 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
29517 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
29518 Usually this means the macro was only invoked conditionally." >&5
29519 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
29520 Usually this means the macro was only invoked conditionally." >&2;}
29521 { (exit 1); exit 1; }; }
29523 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
29524 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
29525 Usually this means the macro was only invoked conditionally." >&5
29526 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
29527 Usually this means the macro was only invoked conditionally." >&2;}
29528 { (exit 1); exit 1; }; }
29530 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
29531 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
29532 Usually this means the macro was only invoked conditionally." >&5
29533 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
29534 Usually this means the macro was only invoked conditionally." >&2;}
29535 { (exit 1); exit 1; }; }
29537 if test -z "${ENSC_HAVE_CRYPTO_TRUE}" && test -z "${ENSC_HAVE_CRYPTO_FALSE}"; then
29538 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CRYPTO\" was never defined.
29539 Usually this means the macro was only invoked conditionally." >&5
29540 echo "$as_me: error: conditional \"ENSC_HAVE_CRYPTO\" was never defined.
29541 Usually this means the macro was only invoked conditionally." >&2;}
29542 { (exit 1); exit 1; }; }
29544 if test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE}"; then
29545 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined.
29546 Usually this means the macro was only invoked conditionally." >&5
29547 echo "$as_me: error: conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined.
29548 Usually this means the macro was only invoked conditionally." >&2;}
29549 { (exit 1); exit 1; }; }
29551 if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then
29552 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
29553 Usually this means the macro was only invoked conditionally." >&5
29554 echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
29555 Usually this means the macro was only invoked conditionally." >&2;}
29556 { (exit 1); exit 1; }; }
29558 if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then
29559 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined.
29560 Usually this means the macro was only invoked conditionally." >&5
29561 echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined.
29562 Usually this means the macro was only invoked conditionally." >&2;}
29563 { (exit 1); exit 1; }; }
29565 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
29566 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined.
29567 Usually this means the macro was only invoked conditionally." >&5
29568 echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined.
29569 Usually this means the macro was only invoked conditionally." >&2;}
29570 { (exit 1); exit 1; }; }
29572 if test -z "${HAVE_VERSIONING_TRUE}" && test -z "${HAVE_VERSIONING_FALSE}"; then
29573 { { echo "$as_me:$LINENO: error: conditional \"HAVE_VERSIONING\" was never defined.
29574 Usually this means the macro was only invoked conditionally." >&5
29575 echo "$as_me: error: conditional \"HAVE_VERSIONING\" was never defined.
29576 Usually this means the macro was only invoked conditionally." >&2;}
29577 { (exit 1); exit 1; }; }
29582 CC: $CC, $($CC --version | sed -e '1p;d')
29583 CXX: $CXX, $($CXX --version | sed -e '1p;d')
29584 CPPFLAGS: '$CPPFLAGS'
29586 CXXFLAGS: '$CXXFLAGS'
29587 build/host: $build/$host
29588 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
29589 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
29590 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
29591 Available APIs: $enable_apis
29592 ext2fs Source: $ensc_cv_test_ext2fs_header
29593 syscall(2) invocation: $with_syscall
29594 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
29595 crypto api: $ensc_crypto_api
29596 python bindings: $ensc_have_python
29597 use library versioning: $ensc_have_versioning
29601 sysconf-Directory: $sysconfdir
29602 cfg-Directory: $sysconfdir/vservers
29603 initrd-Directory: $initrddir
29604 pkgstate-Directory: $localstatedir/run/vservers
29605 vserver-Rootdir: $vserverdir
29607 echo "$FEATURES_TXT" >FEATURES.txt
29610 : ${CONFIG_STATUS=./config.status}
29611 ac_clean_files_save=$ac_clean_files
29612 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29613 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29614 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29615 cat >$CONFIG_STATUS <<_ACEOF
29617 # Generated by $as_me.
29618 # Run this file to recreate the current configuration.
29619 # Compiler output produced by configure, useful for debugging
29620 # configure, is in config.log if it exists.
29623 ac_cs_recheck=false
29625 SHELL=\${CONFIG_SHELL-$SHELL}
29628 cat >>$CONFIG_STATUS <<\_ACEOF
29629 ## --------------------- ##
29630 ## M4sh Initialization. ##
29631 ## --------------------- ##
29633 # Be more Bourne compatible
29634 DUALCASE=1; export DUALCASE # for MKS sh
29635 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29638 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29639 # is contrary to our usage. Disable this feature.
29640 alias -g '${1+"$@"}'='"$@"'
29641 setopt NO_GLOB_SUBST
29643 case `(set -o) 2>/dev/null` in
29644 *posix*) set -o posix ;;
29653 # Avoid depending upon Character Ranges.
29654 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29655 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29656 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29657 as_cr_digits='0123456789'
29658 as_cr_alnum=$as_cr_Letters$as_cr_digits
29660 # The user is always right.
29661 if test "${PATH_SEPARATOR+set}" != set; then
29662 echo "#! /bin/sh" >conf$$.sh
29663 echo "exit 0" >>conf$$.sh
29665 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29673 # Support unset when possible.
29674 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29682 # We need space, tab and new line, in precisely that order. Quoting is
29683 # there to prevent editors from complaining about space-tab.
29684 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29685 # splitting by setting IFS to empty value.)
29690 # Find who we are. Look in the path if we contain no directory separator.
29692 *[\\/]* ) as_myself=$0 ;;
29693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29694 for as_dir in $PATH
29697 test -z "$as_dir" && as_dir=.
29698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29704 # We did not find ourselves, most probably we were run as `sh COMMAND'
29705 # in which case we are not to be found in the path.
29706 if test "x$as_myself" = x; then
29709 if test ! -f "$as_myself"; then
29710 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29711 { (exit 1); exit 1; }
29714 # Work around bugs in pre-3.0 UWIN ksh.
29715 for as_var in ENV MAIL MAILPATH
29716 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29724 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29725 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29726 LC_TELEPHONE LC_TIME
29728 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29729 eval $as_var=C; export $as_var
29731 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29735 # Required to use basename.
29736 if expr a : '\(a\)' >/dev/null 2>&1 &&
29737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29744 as_basename=basename
29750 # Name of the executable.
29751 as_me=`$as_basename -- "$0" ||
29752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29753 X"$0" : 'X\(//\)$' \| \
29754 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29756 sed '/^.*\/\([^/][^/]*\)\/*$/{
29775 as_lineno_1=$LINENO
29776 as_lineno_2=$LINENO
29777 test "x$as_lineno_1" != "x$as_lineno_2" &&
29778 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29781 # uniformly replaced by the line number. The first 'sed' inserts a
29782 # line-number line after each line using $LINENO; the second 'sed'
29783 # does the real work. The second script uses 'N' to pair each
29784 # line-number line with the line containing $LINENO, and appends
29785 # trailing '-' during substitution so that $LINENO is not a special
29786 # case at line end.
29787 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29788 # scripts with optimization help from Paolo Bonzini. Blame Lee
29789 # E. McMahon (1931-1989) for sed's syntax. :-)
29801 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29804 ' >$as_me.lineno &&
29805 chmod +x "$as_me.lineno" ||
29806 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29807 { (exit 1); exit 1; }; }
29809 # Don't try to exec as it changes $[0], causing all sort of problems
29810 # (the dirname of $[0] is not the place where we might find the
29811 # original and so on. Autoconf is especially sensitive to this).
29812 . "./$as_me.lineno"
29813 # Exit status is that of the last command.
29818 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29824 ECHO_C= ECHO_N= ECHO_T=
29825 case `echo -n x` in
29827 case `echo 'x\c'` in
29828 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29835 if expr a : '\(a\)' >/dev/null 2>&1 &&
29836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29842 rm -f conf$$ conf$$.exe conf$$.file
29843 if test -d conf$$.dir; then
29844 rm -f conf$$.dir/conf$$.file
29850 if ln -s conf$$.file conf$$ 2>/dev/null; then
29852 # ... but there are two gotchas:
29853 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29854 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29855 # In both cases, we have to default to `cp -p'.
29856 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29858 elif ln conf$$.file conf$$ 2>/dev/null; then
29863 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29864 rmdir conf$$.dir 2>/dev/null
29866 if mkdir -p . 2>/dev/null; then
29869 test -d ./-p && rmdir ./-p
29873 if test -x / >/dev/null 2>&1; then
29874 as_test_x='test -x'
29876 if ls -dL / >/dev/null 2>&1; then
29883 if test -d "$1"; then
29889 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29890 ???[sx]*):;;*)false;;esac;fi
29894 as_executable_p=$as_test_x
29896 # Sed expression to map a string onto a valid CPP name.
29897 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29899 # Sed expression to map a string onto a valid variable name.
29900 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29905 # Save the log message, to keep $[0] and so on meaningful, and to
29906 # report actual input values of CONFIG_FILES etc. instead of their
29907 # values after options handling.
29909 This file was extended by util-vserver $as_me 0.30.216-pre2833, which was
29910 generated by GNU Autoconf 2.61. Invocation command line was
29912 CONFIG_FILES = $CONFIG_FILES
29913 CONFIG_HEADERS = $CONFIG_HEADERS
29914 CONFIG_LINKS = $CONFIG_LINKS
29915 CONFIG_COMMANDS = $CONFIG_COMMANDS
29918 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29923 cat >>$CONFIG_STATUS <<_ACEOF
29924 # Files that config.status was made for.
29925 config_files="$ac_config_files"
29926 config_headers="$ac_config_headers"
29927 config_commands="$ac_config_commands"
29931 cat >>$CONFIG_STATUS <<\_ACEOF
29933 \`$as_me' instantiates files from templates according to the
29934 current configuration.
29936 Usage: $0 [OPTIONS] [FILE]...
29938 -h, --help print this help, then exit
29939 -V, --version print version number and configuration settings, then exit
29940 -q, --quiet do not print progress messages
29941 -d, --debug don't remove temporary files
29942 --recheck update $as_me by reconfiguring in the same conditions
29943 --file=FILE[:TEMPLATE]
29944 instantiate the configuration file FILE
29945 --header=FILE[:TEMPLATE]
29946 instantiate the configuration header FILE
29948 Configuration files:
29951 Configuration headers:
29954 Configuration commands:
29957 Report bugs to <bug-autoconf@gnu.org>."
29960 cat >>$CONFIG_STATUS <<_ACEOF
29962 util-vserver config.status 0.30.216-pre2833
29963 configured by $0, generated by GNU Autoconf 2.61,
29964 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29966 Copyright (C) 2006 Free Software Foundation, Inc.
29967 This config.status script is free software; the Free Software Foundation
29968 gives unlimited permission to copy, distribute and modify it."
29976 cat >>$CONFIG_STATUS <<\_ACEOF
29977 # If no file are specified by the user, then we need to provide default
29978 # value. By we need to know if files were specified by the user.
29984 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29985 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29996 # Handling of the options.
29997 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29999 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30000 echo "$ac_cs_version"; exit ;;
30001 --debug | --debu | --deb | --de | --d | -d )
30003 --file | --fil | --fi | --f )
30005 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30006 ac_need_defaults=false;;
30007 --header | --heade | --head | --hea )
30009 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30010 ac_need_defaults=false;;
30012 # Conflict between --help and --header
30013 { echo "$as_me: error: ambiguous option: $1
30014 Try \`$0 --help' for more information." >&2
30015 { (exit 1); exit 1; }; };;
30016 --help | --hel | -h )
30017 echo "$ac_cs_usage"; exit ;;
30018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30019 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30022 # This is an error.
30023 -*) { echo "$as_me: error: unrecognized option: $1
30024 Try \`$0 --help' for more information." >&2
30025 { (exit 1); exit 1; }; } ;;
30027 *) ac_config_targets="$ac_config_targets $1"
30028 ac_need_defaults=false ;;
30034 ac_configure_extra_args=
30036 if $ac_cs_silent; then
30038 ac_configure_extra_args="$ac_configure_extra_args --silent"
30042 cat >>$CONFIG_STATUS <<_ACEOF
30043 if \$ac_cs_recheck; then
30044 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30045 CONFIG_SHELL=$SHELL
30046 export CONFIG_SHELL
30047 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30051 cat >>$CONFIG_STATUS <<\_ACEOF
30055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30056 ## Running $as_me. ##
30062 cat >>$CONFIG_STATUS <<_ACEOF
30066 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30070 cat >>$CONFIG_STATUS <<\_ACEOF
30072 # Handling of arguments.
30073 for ac_config_target in $ac_config_targets
30075 case $ac_config_target in
30076 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30077 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30078 "util-vserver.spec") CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
30079 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30080 "distrib/Makefile") CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
30081 "lib/apidoc/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
30083 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30084 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30085 { (exit 1); exit 1; }; };;
30090 # If the user did not use the arguments to specify the items to instantiate,
30091 # then the envvar interface is used. Set only those that are not.
30092 # We use the long form for the default assignment because of an extremely
30093 # bizarre bug on SunOS 4.1.3.
30094 if $ac_need_defaults; then
30095 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
30096 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
30097 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
30100 # Have a temporary directory for convenience. Make it in the build tree
30101 # simply because there is no reason against having it here, and in addition,
30102 # creating and moving files from /tmp can sometimes cause problems.
30103 # Hook for its removal unless debugging.
30104 # Note that there is a small window in which the directory will not be cleaned:
30105 # after its creation but before its name has been assigned to `$tmp'.
30109 trap 'exit_status=$?
30110 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30112 trap '{ (exit 1); exit 1; }' 1 2 13 15
30114 # Create a (secure) tmp directory for tmp files.
30117 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30118 test -n "$tmp" && test -d "$tmp"
30121 tmp=./conf$$-$RANDOM
30122 (umask 077 && mkdir "$tmp")
30125 echo "$me: cannot create a temporary directory in ." >&2
30126 { (exit 1); exit 1; }
30130 # Set up the sed scripts for CONFIG_FILES section.
30133 # No need to generate the scripts if there are no CONFIG_FILES.
30134 # This happens for instance when ./config.status config.h
30135 if test -n "$CONFIG_FILES"; then
30142 for ac_last_try in false false false false false :; do
30143 cat >conf$$subs.sed <<_ACEOF
30144 SHELL!$SHELL$ac_delim
30145 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
30146 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
30147 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
30148 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
30149 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
30150 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
30151 exec_prefix!$exec_prefix$ac_delim
30152 prefix!$prefix$ac_delim
30153 program_transform_name!$program_transform_name$ac_delim
30154 bindir!$bindir$ac_delim
30155 sbindir!$sbindir$ac_delim
30156 libexecdir!$libexecdir$ac_delim
30157 datarootdir!$datarootdir$ac_delim
30158 datadir!$datadir$ac_delim
30159 sysconfdir!$sysconfdir$ac_delim
30160 sharedstatedir!$sharedstatedir$ac_delim
30161 localstatedir!$localstatedir$ac_delim
30162 includedir!$includedir$ac_delim
30163 oldincludedir!$oldincludedir$ac_delim
30164 docdir!$docdir$ac_delim
30165 infodir!$infodir$ac_delim
30166 htmldir!$htmldir$ac_delim
30167 dvidir!$dvidir$ac_delim
30168 pdfdir!$pdfdir$ac_delim
30169 psdir!$psdir$ac_delim
30170 libdir!$libdir$ac_delim
30171 localedir!$localedir$ac_delim
30172 mandir!$mandir$ac_delim
30173 DEFS!$DEFS$ac_delim
30174 ECHO_C!$ECHO_C$ac_delim
30175 ECHO_N!$ECHO_N$ac_delim
30176 ECHO_T!$ECHO_T$ac_delim
30177 LIBS!$LIBS$ac_delim
30178 build_alias!$build_alias$ac_delim
30179 host_alias!$host_alias$ac_delim
30180 target_alias!$target_alias$ac_delim
30181 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
30182 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
30183 INSTALL_DATA!$INSTALL_DATA$ac_delim
30184 am__isrc!$am__isrc$ac_delim
30185 CYGPATH_W!$CYGPATH_W$ac_delim
30186 PACKAGE!$PACKAGE$ac_delim
30187 VERSION!$VERSION$ac_delim
30188 ACLOCAL!$ACLOCAL$ac_delim
30189 AUTOCONF!$AUTOCONF$ac_delim
30190 AUTOMAKE!$AUTOMAKE$ac_delim
30191 AUTOHEADER!$AUTOHEADER$ac_delim
30192 MAKEINFO!$MAKEINFO$ac_delim
30193 install_sh!$install_sh$ac_delim
30194 STRIP!$STRIP$ac_delim
30195 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
30196 mkdir_p!$mkdir_p$ac_delim
30198 SET_MAKE!$SET_MAKE$ac_delim
30199 am__leading_dot!$am__leading_dot$ac_delim
30200 AMTAR!$AMTAR$ac_delim
30201 am__tar!$am__tar$ac_delim
30202 am__untar!$am__untar$ac_delim
30203 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
30204 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
30205 MAINT!$MAINT$ac_delim
30206 build!$build$ac_delim
30207 build_cpu!$build_cpu$ac_delim
30208 build_vendor!$build_vendor$ac_delim
30209 build_os!$build_os$ac_delim
30210 host!$host$ac_delim
30211 host_cpu!$host_cpu$ac_delim
30212 host_vendor!$host_vendor$ac_delim
30213 host_os!$host_os$ac_delim
30214 GPG_KEY!$GPG_KEY$ac_delim
30216 CXXFLAGS!$CXXFLAGS$ac_delim
30217 LDFLAGS!$LDFLAGS$ac_delim
30218 CPPFLAGS!$CPPFLAGS$ac_delim
30219 ac_ct_CXX!$ac_ct_CXX$ac_delim
30220 EXEEXT!$EXEEXT$ac_delim
30221 OBJEXT!$OBJEXT$ac_delim
30222 DEPDIR!$DEPDIR$ac_delim
30223 am__include!$am__include$ac_delim
30224 am__quote!$am__quote$ac_delim
30225 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
30226 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
30227 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
30228 CXXDEPMODE!$CXXDEPMODE$ac_delim
30229 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
30230 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
30232 CFLAGS!$CFLAGS$ac_delim
30233 ac_ct_CC!$ac_ct_CC$ac_delim
30234 CCDEPMODE!$CCDEPMODE$ac_delim
30235 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
30236 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
30237 LN_S!$LN_S$ac_delim
30238 PKG_CONFIG!$PKG_CONFIG$ac_delim
30239 ENSC_HAVE_CXX_COMPILER_TRUE!$ENSC_HAVE_CXX_COMPILER_TRUE$ac_delim
30240 ENSC_HAVE_CXX_COMPILER_FALSE!$ENSC_HAVE_CXX_COMPILER_FALSE$ac_delim
30243 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30245 elif $ac_last_try; then
30246 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30247 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30248 { (exit 1); exit 1; }; }
30250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30254 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30255 if test -n "$ac_eof"; then
30256 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30257 ac_eof=`expr $ac_eof + 1`
30260 cat >>$CONFIG_STATUS <<_ACEOF
30261 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
30262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30265 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30266 s/^/s,@/; s/!/@,|#_!!_#|/
30269 s/'"$ac_delim"'$/,g/; t
30271 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30272 ' >>$CONFIG_STATUS <conf$$subs.sed
30273 rm -f conf$$subs.sed
30274 cat >>$CONFIG_STATUS <<_ACEOF
30280 for ac_last_try in false false false false false :; do
30281 cat >conf$$subs.sed <<_ACEOF
30282 ENSC_HAVE_C99_COMPILER_TRUE!$ENSC_HAVE_C99_COMPILER_TRUE$ac_delim
30283 ENSC_HAVE_C99_COMPILER_FALSE!$ENSC_HAVE_C99_COMPILER_FALSE$ac_delim
30284 ENSC_PATHPROG_SED!$ENSC_PATHPROG_SED$ac_delim
30286 CHOWN!$CHOWN$ac_delim
30289 DIRNAME!$DIRNAME$ac_delim
30290 EGREP!$EGREP$ac_delim
30292 GREP!$GREP$ac_delim
30294 MKDIR!$MKDIR$ac_delim
30295 MKFIFO!$MKFIFO$ac_delim
30296 MKTEMP!$MKTEMP$ac_delim
30297 MOUNT!$MOUNT$ac_delim
30299 NICE!$NICE$ac_delim
30302 RMDIR!$RMDIR$ac_delim
30307 TOUCH!$TOUCH$ac_delim
30309 UMOUNT!$UMOUNT$ac_delim
30312 IPTABLES!$IPTABLES$ac_delim
30313 MODPROBE!$MODPROBE$ac_delim
30314 NAMEIF!$NAMEIF$ac_delim
30315 NOHUP!$NOHUP$ac_delim
30316 RMMOD!$RMMOD$ac_delim
30317 VCONFIG!$VCONFIG$ac_delim
30318 WGET!$WGET$ac_delim
30319 IONICE!$IONICE$ac_delim
30320 FILE!$FILE$ac_delim
30321 GZIP!$GZIP$ac_delim
30322 BZIP2!$BZIP2$ac_delim
30323 CPIO!$CPIO$ac_delim
30324 RESTORE!$RESTORE$ac_delim
30325 RSYNC!$RSYNC$ac_delim
30326 STRACE!$STRACE$ac_delim
30327 FSCK!$FSCK$ac_delim
30328 DOXYGEN!$DOXYGEN$ac_delim
30329 XSLTP!$XSLTP$ac_delim
30330 XSLTPROC!$XSLTPROC$ac_delim
30331 HAVE_XSLTP_TRUE!$HAVE_XSLTP_TRUE$ac_delim
30332 HAVE_XSLTP_FALSE!$HAVE_XSLTP_FALSE$ac_delim
30333 HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim
30334 HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim
30335 LIB_DEBUG_CPPFLAGS!$LIB_DEBUG_CPPFLAGS$ac_delim
30336 ENSC_USE_EXPENSIVE_TESTS!$ENSC_USE_EXPENSIVE_TESTS$ac_delim
30337 initrddir!$initrddir$ac_delim
30338 RELEASE_CPPFLAGS!$RELEASE_CPPFLAGS$ac_delim
30340 DIET!$DIET$ac_delim
30341 DIETFLAGS!$DIETFLAGS$ac_delim
30342 USE_DIETLIBC_TRUE!$USE_DIETLIBC_TRUE$ac_delim
30343 USE_DIETLIBC_FALSE!$USE_DIETLIBC_FALSE$ac_delim
30344 USE_DIETLIBC_COMPAT_TRUE!$USE_DIETLIBC_COMPAT_TRUE$ac_delim
30345 USE_DIETLIBC_COMPAT_FALSE!$USE_DIETLIBC_COMPAT_FALSE$ac_delim
30346 ENSC_USE_DIETLIBC_TRUE!$ENSC_USE_DIETLIBC_TRUE$ac_delim
30347 ENSC_USE_DIETLIBC_FALSE!$ENSC_USE_DIETLIBC_FALSE$ac_delim
30348 ENSC_USE_GLIBC_TRUE!$ENSC_USE_GLIBC_TRUE$ac_delim
30349 ENSC_USE_GLIBC_FALSE!$ENSC_USE_GLIBC_FALSE$ac_delim
30350 ECHO!$ECHO$ac_delim
30352 RANLIB!$RANLIB$ac_delim
30353 CXXCPP!$CXXCPP$ac_delim
30355 FFLAGS!$FFLAGS$ac_delim
30356 ac_ct_F77!$ac_ct_F77$ac_delim
30357 LIBTOOL!$LIBTOOL$ac_delim
30358 vserverdir!$vserverdir$ac_delim
30359 SVN2CL!$SVN2CL$ac_delim
30360 HAVE_SVN2CL_TRUE!$HAVE_SVN2CL_TRUE$ac_delim
30361 HAVE_SVN2CL_FALSE!$HAVE_SVN2CL_FALSE$ac_delim
30362 ENSC_ENABLE_INTERNAL_HEADERS_TRUE!$ENSC_ENABLE_INTERNAL_HEADERS_TRUE$ac_delim
30363 ENSC_ENABLE_INTERNAL_HEADERS_FALSE!$ENSC_ENABLE_INTERNAL_HEADERS_FALSE$ac_delim
30364 ENSC_HAVE_BEECRYPT_TRUE!$ENSC_HAVE_BEECRYPT_TRUE$ac_delim
30365 ENSC_HAVE_BEECRYPT_FALSE!$ENSC_HAVE_BEECRYPT_FALSE$ac_delim
30366 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE$ac_delim
30367 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE$ac_delim
30368 NSS_CFLAGS!$NSS_CFLAGS$ac_delim
30369 NSS_LIBS!$NSS_LIBS$ac_delim
30370 ENSC_HAVE_CRYPTO_TRUE!$ENSC_HAVE_CRYPTO_TRUE$ac_delim
30371 ENSC_HAVE_CRYPTO_FALSE!$ENSC_HAVE_CRYPTO_FALSE$ac_delim
30372 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE!$ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE$ac_delim
30373 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE!$ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE$ac_delim
30374 ENSC_CRYPTO_CFLAGS!$ENSC_CRYPTO_CFLAGS$ac_delim
30375 ENSC_CRYPTO_LIB!$ENSC_CRYPTO_LIB$ac_delim
30376 HAVE_GENTOO_INIT_TRUE!$HAVE_GENTOO_INIT_TRUE$ac_delim
30377 HAVE_GENTOO_INIT_FALSE!$HAVE_GENTOO_INIT_FALSE$ac_delim
30378 HAVE_SYSV_INIT_TRUE!$HAVE_SYSV_INIT_TRUE$ac_delim
30381 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30383 elif $ac_last_try; then
30384 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30385 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30386 { (exit 1); exit 1; }; }
30388 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30392 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30393 if test -n "$ac_eof"; then
30394 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30395 ac_eof=`expr $ac_eof + 1`
30398 cat >>$CONFIG_STATUS <<_ACEOF
30399 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30400 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30403 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30404 s/^/s,@/; s/!/@,|#_!!_#|/
30407 s/'"$ac_delim"'$/,g/; t
30409 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30410 ' >>$CONFIG_STATUS <conf$$subs.sed
30411 rm -f conf$$subs.sed
30412 cat >>$CONFIG_STATUS <<_ACEOF
30418 for ac_last_try in false false false false false :; do
30419 cat >conf$$subs.sed <<_ACEOF
30420 HAVE_SYSV_INIT_FALSE!$HAVE_SYSV_INIT_FALSE$ac_delim
30421 PYTHON!$PYTHON$ac_delim
30422 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
30423 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
30424 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
30425 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
30426 pythondir!$pythondir$ac_delim
30427 pkgpythondir!$pkgpythondir$ac_delim
30428 pyexecdir!$pyexecdir$ac_delim
30429 pkgpyexecdir!$pkgpyexecdir$ac_delim
30430 PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
30431 PYTHON_LDFLAGS!$PYTHON_LDFLAGS$ac_delim
30432 CTAGS!$CTAGS$ac_delim
30433 HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim
30434 HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim
30435 HAVE_VERSIONING_TRUE!$HAVE_VERSIONING_TRUE$ac_delim
30436 HAVE_VERSIONING_FALSE!$HAVE_VERSIONING_FALSE$ac_delim
30437 LIBOBJS!$LIBOBJS$ac_delim
30438 LTLIBOBJS!$LTLIBOBJS$ac_delim
30441 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
30443 elif $ac_last_try; then
30444 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30445 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30446 { (exit 1); exit 1; }; }
30448 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30452 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30453 if test -n "$ac_eof"; then
30454 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30455 ac_eof=`expr $ac_eof + 1`
30458 cat >>$CONFIG_STATUS <<_ACEOF
30459 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
30460 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
30463 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30464 s/^/s,@/; s/!/@,|#_!!_#|/
30467 s/'"$ac_delim"'$/,g/; t
30469 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30470 ' >>$CONFIG_STATUS <conf$$subs.sed
30471 rm -f conf$$subs.sed
30472 cat >>$CONFIG_STATUS <<_ACEOF
30479 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30480 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30481 # trailing colons and then remove the whole line if VPATH becomes empty
30482 # (actually we leave an empty line to preserve line numbers).
30483 if test "x$srcdir" = x.; then
30484 ac_vpsub='/^[ ]*VPATH[ ]*=/{
30485 s/:*\$(srcdir):*/:/
30486 s/:*\${srcdir}:*/:/
30488 s/^\([^=]*=[ ]*\):*/\1/
30494 cat >>$CONFIG_STATUS <<\_ACEOF
30495 fi # test -n "$CONFIG_FILES"
30498 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
30501 :[FHLC]) ac_mode=$ac_tag; continue;;
30503 case $ac_mode$ac_tag in
30505 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30506 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30507 { (exit 1); exit 1; }; };;
30508 :[FH]-) ac_tag=-:-;;
30509 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
30526 -) ac_f="$tmp/stdin";;
30527 *) # Look for the file first in the build tree, then in the source tree
30528 # (if the path is not absolute). The absolute path cannot be DOS-style,
30529 # because $ac_f cannot contain `:'.
30533 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30535 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
30536 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
30537 { (exit 1); exit 1; }; };;
30539 ac_file_inputs="$ac_file_inputs $ac_f"
30542 # Let's still pretend it is `configure' which instantiates (i.e., don't
30543 # use $as_me), people would be surprised to read:
30544 # /* config.h. Generated by config.status. */
30545 configure_input="Generated from "`IFS=:
30546 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
30547 if test x"$ac_file" != x-; then
30548 configure_input="$ac_file. $configure_input"
30549 { echo "$as_me:$LINENO: creating $ac_file" >&5
30550 echo "$as_me: creating $ac_file" >&6;}
30554 *:-:* | *:-) cat >"$tmp/stdin";;
30559 ac_dir=`$as_dirname -- "$ac_file" ||
30560 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30561 X"$ac_file" : 'X\(//\)[^/]' \| \
30562 X"$ac_file" : 'X\(//\)$' \| \
30563 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30569 /^X\(\/\/\)[^/].*/{
30584 -*) as_dir=./$as_dir;;
30586 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30590 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30591 *) as_qdir=$as_dir;;
30593 as_dirs="'$as_qdir' $as_dirs"
30594 as_dir=`$as_dirname -- "$as_dir" ||
30595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30596 X"$as_dir" : 'X\(//\)[^/]' \| \
30597 X"$as_dir" : 'X\(//\)$' \| \
30598 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30604 /^X\(\/\/\)[^/].*/{
30617 test -d "$as_dir" && break
30619 test -z "$as_dirs" || eval "mkdir $as_dirs"
30620 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30621 echo "$as_me: error: cannot create directory $as_dir" >&2;}
30622 { (exit 1); exit 1; }; }; }
30626 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30628 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30629 # A ".." for each directory in $ac_dir_suffix.
30630 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30631 case $ac_top_builddir_sub in
30632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30636 ac_abs_top_builddir=$ac_pwd
30637 ac_abs_builddir=$ac_pwd$ac_dir_suffix
30638 # for backward compatibility:
30639 ac_top_builddir=$ac_top_build_prefix
30642 .) # We are building in place.
30644 ac_top_srcdir=$ac_top_builddir_sub
30645 ac_abs_top_srcdir=$ac_pwd ;;
30646 [\\/]* | ?:[\\/]* ) # Absolute name.
30647 ac_srcdir=$srcdir$ac_dir_suffix;
30648 ac_top_srcdir=$srcdir
30649 ac_abs_top_srcdir=$srcdir ;;
30650 *) # Relative name.
30651 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30652 ac_top_srcdir=$ac_top_build_prefix$srcdir
30653 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30655 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30665 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30666 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30668 ac_MKDIR_P=$MKDIR_P
30670 [\\/$]* | ?:[\\/]* ) ;;
30671 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
30675 cat >>$CONFIG_STATUS <<\_ACEOF
30676 # If the template does not know about datarootdir, expand it.
30677 # FIXME: This hack should be removed a few years after 2.60.
30678 ac_datarootdir_hack=; ac_datarootdir_seen=
30680 case `sed -n '/datarootdir/ {
30689 ' $ac_file_inputs` in
30690 *datarootdir*) ac_datarootdir_seen=yes;;
30691 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30692 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30693 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30695 cat >>$CONFIG_STATUS <<_ACEOF
30696 ac_datarootdir_hack='
30697 s&@datadir@&$datadir&g
30698 s&@docdir@&$docdir&g
30699 s&@infodir@&$infodir&g
30700 s&@localedir@&$localedir&g
30701 s&@mandir@&$mandir&g
30702 s&\\\${datarootdir}&$datarootdir&g' ;;
30706 # Neutralize VPATH when `$srcdir' = `.'.
30707 # Shell code in configure.ac might set extrasub.
30708 # FIXME: do we really want to maintain this feature?
30709 cat >>$CONFIG_STATUS <<_ACEOF
30713 cat >>$CONFIG_STATUS <<\_ACEOF
30715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30716 s&@configure_input@&$configure_input&;t t
30717 s&@top_builddir@&$ac_top_builddir_sub&;t t
30718 s&@srcdir@&$ac_srcdir&;t t
30719 s&@abs_srcdir@&$ac_abs_srcdir&;t t
30720 s&@top_srcdir@&$ac_top_srcdir&;t t
30721 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30722 s&@builddir@&$ac_builddir&;t t
30723 s&@abs_builddir@&$ac_abs_builddir&;t t
30724 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30725 s&@INSTALL@&$ac_INSTALL&;t t
30726 s&@MKDIR_P@&$ac_MKDIR_P&;t t
30727 $ac_datarootdir_hack
30728 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
30730 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30731 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30732 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30733 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30734 which seems to be undefined. Please make sure it is defined." >&5
30735 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30736 which seems to be undefined. Please make sure it is defined." >&2;}
30740 -) cat "$tmp/out"; rm -f "$tmp/out";;
30741 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30750 # Transform confdefs.h into a sed script `conftest.defines', that
30751 # substitutes the proper values into config.h.in to produce config.h.
30752 rm -f conftest.defines conftest.tail
30753 # First, append a space to every undef/define line, to ease matching.
30754 echo 's/$/ /' >conftest.defines
30755 # Then, protect against being on the right side of a sed subst, or in
30756 # an unquoted here document, in config.status. If some macros were
30757 # called several times there might be several #defines for the same
30758 # symbol, which is useless. But do not sort them, since the last
30759 # AC_DEFINE must be honored.
30760 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30761 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30762 # NAME is the cpp macro being defined, VALUE is the value it is being given.
30763 # PARAMS is the parameter list in the macro definition--in most cases, it's
30764 # just an empty string.
30765 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30766 ac_dB='\\)[ (].*,\\1define\\2'
30774 s/^[ ]*#[ ]*define[ ][ ]*//
30779 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30780 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30781 ' >>conftest.defines
30783 # Remove the space that was appended to ease matching.
30784 # Then replace #undef with comments. This is necessary, for
30785 # example, in the case of _POSIX_SOURCE, which is predefined and required
30786 # on some systems where configure will not decide to define it.
30787 # (The regexp can be short, since the line contains either #define or #undef.)
30789 s,^[ #]*u.*,/* & */,' >>conftest.defines
30791 # Break up conftest.defines:
30792 ac_max_sed_lines=50
30794 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30795 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30796 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30798 ac_in='$ac_file_inputs'
30799 ac_out='"$tmp/out1"'
30800 ac_nxt='"$tmp/out2"'
30804 # Write a here document:
30805 cat >>$CONFIG_STATUS <<_ACEOF
30806 # First, check the format of the line:
30807 cat >"\$tmp/defines.sed" <<\\CEOF
30808 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30809 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30813 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30815 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30816 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30817 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30818 grep . conftest.tail >/dev/null || break
30819 rm -f conftest.defines
30820 mv conftest.tail conftest.defines
30822 rm -f conftest.defines conftest.tail
30824 echo "ac_result=$ac_in" >>$CONFIG_STATUS
30825 cat >>$CONFIG_STATUS <<\_ACEOF
30826 if test x"$ac_file" != x-; then
30827 echo "/* $configure_input */" >"$tmp/config.h"
30828 cat "$ac_result" >>"$tmp/config.h"
30829 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30830 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30831 echo "$as_me: $ac_file is unchanged" >&6;}
30834 mv "$tmp/config.h" $ac_file
30837 echo "/* $configure_input */"
30841 # Compute $ac_file's index in $config_headers.
30844 for _am_header in $config_headers :; do
30845 case $_am_header in
30846 $_am_arg | $_am_arg:* )
30849 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30852 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
30853 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30854 X"$_am_arg" : 'X\(//\)[^/]' \| \
30855 X"$_am_arg" : 'X\(//\)$' \| \
30856 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
30858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30862 /^X\(\/\/\)[^/].*/{
30874 s/.*/./; q'`/stamp-h$_am_stamp_count
30877 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
30878 echo "$as_me: executing $ac_file commands" >&6;}
30883 case $ac_file$ac_mode in
30884 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30885 # Strip MF so we end up with the name of the file.
30886 mf=`echo "$mf" | sed -e 's/:.*$//'`
30887 # Check whether this is an Automake generated Makefile or not.
30888 # We used to match only the files named `Makefile.in', but
30889 # some people rename them; so instead we look at the file content.
30890 # Grep'ing the first line is not enough: some people post-process
30891 # each Makefile.in and add a new line on top of each file to say so.
30892 # Grep'ing the whole file is not good either: AIX grep has a line
30893 # limit of 2048, but all sed's we know have understand at least 4000.
30894 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
30895 dirpart=`$as_dirname -- "$mf" ||
30896 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30897 X"$mf" : 'X\(//\)[^/]' \| \
30898 X"$mf" : 'X\(//\)$' \| \
30899 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30905 /^X\(\/\/\)[^/].*/{
30921 # Extract the definition of DEPDIR, am__include, and am__quote
30922 # from the Makefile without running `make'.
30923 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30924 test -z "$DEPDIR" && continue
30925 am__include=`sed -n 's/^am__include = //p' < "$mf"`
30926 test -z "am__include" && continue
30927 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30928 # When using ansi2knr, U may be empty or an underscore; expand it
30929 U=`sed -n 's/^U = //p' < "$mf"`
30930 # Find all dependency output files, they are included files with
30931 # $(DEPDIR) in their names. We invoke sed twice because it is the
30932 # simplest approach to changing $(DEPDIR) to its actual value in the
30934 for file in `sed -n "
30935 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30936 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30937 # Make sure the directory exists.
30938 test -f "$dirpart/$file" && continue
30939 fdir=`$as_dirname -- "$file" ||
30940 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30941 X"$file" : 'X\(//\)[^/]' \| \
30942 X"$file" : 'X\(//\)$' \| \
30943 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30949 /^X\(\/\/\)[^/].*/{
30962 { as_dir=$dirpart/$fdir
30964 -*) as_dir=./$as_dir;;
30966 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30970 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30971 *) as_qdir=$as_dir;;
30973 as_dirs="'$as_qdir' $as_dirs"
30974 as_dir=`$as_dirname -- "$as_dir" ||
30975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30976 X"$as_dir" : 'X\(//\)[^/]' \| \
30977 X"$as_dir" : 'X\(//\)$' \| \
30978 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30984 /^X\(\/\/\)[^/].*/{
30997 test -d "$as_dir" && break
30999 test -z "$as_dirs" || eval "mkdir $as_dirs"
31000 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
31001 echo "$as_me: error: cannot create directory $as_dir" >&2;}
31002 { (exit 1); exit 1; }; }; }
31003 # echo "creating $dirpart/$file"
31004 echo '# dummy' > "$dirpart/$file"
31013 { (exit 0); exit 0; }
31015 chmod +x $CONFIG_STATUS
31016 ac_clean_files=$ac_clean_files_save
31019 # configure is writing to config.log, and then calls config.status.
31020 # config.status does its own redirection, appending to config.log.
31021 # Unfortunately, on DOS this fails, as config.log is still kept open
31022 # by configure, so config.status won't be able to write to it; its
31023 # output is simply discarded. So we exec the FD to /dev/null,
31024 # effectively closing config.log, so it can be properly (re)opened and
31025 # appended to by config.status. When coming back to configure, we
31026 # need to make the FD available again.
31027 if test "$no_create" != yes; then
31029 ac_config_status_args=
31030 test "$silent" = yes &&
31031 ac_config_status_args="$ac_config_status_args --quiet"
31033 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
31035 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31036 # would make configure fail if this is the last instruction.
31037 $ac_cs_success || { (exit 1); exit 1; }
31041 { echo "$as_me:$LINENO:
31050 $FEATURES_TXT" >&6;}