2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for util-vserver 0.30.214.
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.214'
732 PACKAGE_STRING='util-vserver 0.30.214'
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
875 ENSC_HAVE_CXX_COMPILER_TRUE
876 ENSC_HAVE_CXX_COMPILER_FALSE
877 ENSC_HAVE_C99_COMPILER_TRUE
878 ENSC_HAVE_C99_COMPILER_FALSE
929 ENSC_USE_EXPENSIVE_TESTS
937 USE_DIETLIBC_COMPAT_TRUE
938 USE_DIETLIBC_COMPAT_FALSE
939 ENSC_USE_DIETLIBC_TRUE
940 ENSC_USE_DIETLIBC_FALSE
955 ENSC_ENABLE_INTERNAL_HEADERS_TRUE
956 ENSC_ENABLE_INTERNAL_HEADERS_FALSE
957 ENSC_HAVE_BEECRYPT_TRUE
958 ENSC_HAVE_BEECRYPT_FALSE
959 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE
960 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE
962 ENSC_HAVE_LIBNL_FALSE
964 HAVE_GENTOO_INIT_TRUE
965 HAVE_GENTOO_INIT_FALSE
971 ac_precious_vars='build_alias
990 # Initialize some variables set by options.
992 ac_init_version=false
993 # The variables have the same names as the options, with
994 # dashes changed to underlines.
1002 program_transform_name=s,x,x,
1010 # Installation directory options.
1011 # These are left unexpanded so users can "make install exec_prefix=/foo"
1012 # and all the variables that are supposed to be based on exec_prefix
1013 # by default will actually change.
1014 # Use braces instead of parens because sh, perl, etc. also accept them.
1015 # (The list follows the same order as the GNU Coding Standards.)
1016 bindir='${exec_prefix}/bin'
1017 sbindir='${exec_prefix}/sbin'
1018 libexecdir='${exec_prefix}/libexec'
1019 datarootdir='${prefix}/share'
1020 datadir='${datarootdir}'
1021 sysconfdir='${prefix}/etc'
1022 sharedstatedir='${prefix}/com'
1023 localstatedir='${prefix}/var'
1024 includedir='${prefix}/include'
1025 oldincludedir='/usr/include'
1026 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1027 infodir='${datarootdir}/info'
1032 libdir='${exec_prefix}/lib'
1033 localedir='${datarootdir}/locale'
1034 mandir='${datarootdir}/man'
1040 # If the previous option needs an argument, assign it.
1041 if test -n "$ac_prev"; then
1042 eval $ac_prev=\$ac_option
1048 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1052 # Accept the important Cygnus configure options, so we can diagnose typos.
1054 case $ac_dashdash$ac_option in
1058 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1060 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1061 bindir=$ac_optarg ;;
1063 -build | --build | --buil | --bui | --bu)
1064 ac_prev=build_alias ;;
1065 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1066 build_alias=$ac_optarg ;;
1068 -cache-file | --cache-file | --cache-fil | --cache-fi \
1069 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1070 ac_prev=cache_file ;;
1071 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1072 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1073 cache_file=$ac_optarg ;;
1075 --config-cache | -C)
1076 cache_file=config.cache ;;
1078 -datadir | --datadir | --datadi | --datad)
1080 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1081 datadir=$ac_optarg ;;
1083 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1084 | --dataroo | --dataro | --datar)
1085 ac_prev=datarootdir ;;
1086 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1087 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1088 datarootdir=$ac_optarg ;;
1090 -disable-* | --disable-*)
1091 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1095 { (exit 1); exit 1; }; }
1096 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1097 eval enable_$ac_feature=no ;;
1099 -docdir | --docdir | --docdi | --doc | --do)
1101 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1102 docdir=$ac_optarg ;;
1104 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1106 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1107 dvidir=$ac_optarg ;;
1109 -enable-* | --enable-*)
1110 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1116 eval enable_$ac_feature=\$ac_optarg ;;
1118 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1119 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1120 | --exec | --exe | --ex)
1121 ac_prev=exec_prefix ;;
1122 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1123 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1124 | --exec=* | --exe=* | --ex=*)
1125 exec_prefix=$ac_optarg ;;
1127 -gas | --gas | --ga | --g)
1128 # Obsolete; use --with-gas.
1131 -help | --help | --hel | --he | -h)
1132 ac_init_help=long ;;
1133 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134 ac_init_help=recursive ;;
1135 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1136 ac_init_help=short ;;
1138 -host | --host | --hos | --ho)
1139 ac_prev=host_alias ;;
1140 -host=* | --host=* | --hos=* | --ho=*)
1141 host_alias=$ac_optarg ;;
1143 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1145 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1147 htmldir=$ac_optarg ;;
1149 -includedir | --includedir | --includedi | --included | --include \
1150 | --includ | --inclu | --incl | --inc)
1151 ac_prev=includedir ;;
1152 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1153 | --includ=* | --inclu=* | --incl=* | --inc=*)
1154 includedir=$ac_optarg ;;
1156 -infodir | --infodir | --infodi | --infod | --info | --inf)
1158 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1159 infodir=$ac_optarg ;;
1161 -libdir | --libdir | --libdi | --libd)
1163 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1164 libdir=$ac_optarg ;;
1166 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1167 | --libexe | --libex | --libe)
1168 ac_prev=libexecdir ;;
1169 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1170 | --libexe=* | --libex=* | --libe=*)
1171 libexecdir=$ac_optarg ;;
1173 -localedir | --localedir | --localedi | --localed | --locale)
1174 ac_prev=localedir ;;
1175 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1176 localedir=$ac_optarg ;;
1178 -localstatedir | --localstatedir | --localstatedi | --localstated \
1179 | --localstate | --localstat | --localsta | --localst | --locals)
1180 ac_prev=localstatedir ;;
1181 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1182 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1183 localstatedir=$ac_optarg ;;
1185 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1187 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1188 mandir=$ac_optarg ;;
1190 -nfp | --nfp | --nf)
1191 # Obsolete; use --without-fp.
1194 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1195 | --no-cr | --no-c | -n)
1198 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1199 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1202 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1203 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1204 | --oldin | --oldi | --old | --ol | --o)
1205 ac_prev=oldincludedir ;;
1206 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1207 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1208 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1209 oldincludedir=$ac_optarg ;;
1211 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1213 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1214 prefix=$ac_optarg ;;
1216 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1217 | --program-pre | --program-pr | --program-p)
1218 ac_prev=program_prefix ;;
1219 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1220 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1221 program_prefix=$ac_optarg ;;
1223 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1224 | --program-suf | --program-su | --program-s)
1225 ac_prev=program_suffix ;;
1226 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1227 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1228 program_suffix=$ac_optarg ;;
1230 -program-transform-name | --program-transform-name \
1231 | --program-transform-nam | --program-transform-na \
1232 | --program-transform-n | --program-transform- \
1233 | --program-transform | --program-transfor \
1234 | --program-transfo | --program-transf \
1235 | --program-trans | --program-tran \
1236 | --progr-tra | --program-tr | --program-t)
1237 ac_prev=program_transform_name ;;
1238 -program-transform-name=* | --program-transform-name=* \
1239 | --program-transform-nam=* | --program-transform-na=* \
1240 | --program-transform-n=* | --program-transform-=* \
1241 | --program-transform=* | --program-transfor=* \
1242 | --program-transfo=* | --program-transf=* \
1243 | --program-trans=* | --program-tran=* \
1244 | --progr-tra=* | --program-tr=* | --program-t=*)
1245 program_transform_name=$ac_optarg ;;
1247 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1249 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1250 pdfdir=$ac_optarg ;;
1252 -psdir | --psdir | --psdi | --psd | --ps)
1254 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258 | -silent | --silent | --silen | --sile | --sil)
1261 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1263 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1265 sbindir=$ac_optarg ;;
1267 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1268 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1269 | --sharedst | --shareds | --shared | --share | --shar \
1271 ac_prev=sharedstatedir ;;
1272 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1273 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1274 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1276 sharedstatedir=$ac_optarg ;;
1278 -site | --site | --sit)
1280 -site=* | --site=* | --sit=*)
1283 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1285 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286 srcdir=$ac_optarg ;;
1288 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1289 | --syscon | --sysco | --sysc | --sys | --sy)
1290 ac_prev=sysconfdir ;;
1291 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1292 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293 sysconfdir=$ac_optarg ;;
1295 -target | --target | --targe | --targ | --tar | --ta | --t)
1296 ac_prev=target_alias ;;
1297 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298 target_alias=$ac_optarg ;;
1300 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1303 -version | --version | --versio | --versi | --vers | -V)
1304 ac_init_version=: ;;
1307 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1310 { echo "$as_me: error: invalid package name: $ac_package" >&2
1311 { (exit 1); exit 1; }; }
1312 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1313 eval with_$ac_package=\$ac_optarg ;;
1315 -without-* | --without-*)
1316 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1319 { echo "$as_me: error: invalid package name: $ac_package" >&2
1320 { (exit 1); exit 1; }; }
1321 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1322 eval with_$ac_package=no ;;
1325 # Obsolete; use --with-x.
1328 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329 | --x-incl | --x-inc | --x-in | --x-i)
1330 ac_prev=x_includes ;;
1331 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333 x_includes=$ac_optarg ;;
1335 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337 ac_prev=x_libraries ;;
1338 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340 x_libraries=$ac_optarg ;;
1342 -*) { echo "$as_me: error: unrecognized option: $ac_option
1343 Try \`$0 --help' for more information." >&2
1344 { (exit 1); exit 1; }; }
1348 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1349 # Reject names that are not valid shell variable names.
1350 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1351 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1352 { (exit 1); exit 1; }; }
1353 eval $ac_envvar=\$ac_optarg
1354 export $ac_envvar ;;
1357 # FIXME: should be removed in autoconf 3.0.
1358 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1367 if test -n "$ac_prev"; then
1368 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369 { echo "$as_me: error: missing argument to $ac_option" >&2
1370 { (exit 1); exit 1; }; }
1373 # Be sure to have absolute directory names.
1374 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1375 datadir sysconfdir sharedstatedir localstatedir includedir \
1376 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1377 libdir localedir mandir
1379 eval ac_val=\$$ac_var
1381 [\\/$]* | ?:[\\/]* ) continue;;
1382 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1384 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1385 { (exit 1); exit 1; }; }
1388 # There might be people who depend on the old broken behavior: `$host'
1389 # used to hold the argument of --host etc.
1390 # FIXME: To remove some day.
1393 target=$target_alias
1395 # FIXME: To remove some day.
1396 if test "x$host_alias" != x; then
1397 if test "x$build_alias" = x; then
1398 cross_compiling=maybe
1399 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1400 If a cross compiler is detected then cross compile mode will be used." >&2
1401 elif test "x$build_alias" != "x$host_alias"; then
1407 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1409 test "$silent" = yes && exec 6>/dev/null
1412 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1413 ac_ls_di=`ls -di .` &&
1414 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1415 { echo "$as_me: error: Working directory cannot be determined" >&2
1416 { (exit 1); exit 1; }; }
1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1418 { echo "$as_me: error: pwd does not report name of working directory" >&2
1419 { (exit 1); exit 1; }; }
1422 # Find the source files, if location was not specified.
1423 if test -z "$srcdir"; then
1424 ac_srcdir_defaulted=yes
1425 # Try the directory containing this script, then the parent directory.
1426 ac_confdir=`$as_dirname -- "$0" ||
1427 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1428 X"$0" : 'X\(//\)[^/]' \| \
1429 X"$0" : 'X\(//\)$' \| \
1430 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1450 if test ! -r "$srcdir/$ac_unique_file"; then
1454 ac_srcdir_defaulted=no
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1457 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1458 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1459 { (exit 1); exit 1; }; }
1461 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1463 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1464 { (exit 1); exit 1; }; }
1466 # When building in place, set srcdir=.
1467 if test "$ac_abs_confdir" = "$ac_pwd"; then
1470 # Remove unnecessary trailing slashes from srcdir.
1471 # Double slashes in file names in object file debugging info
1472 # mess up M-x gdb in Emacs.
1474 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476 for ac_var in $ac_precious_vars; do
1477 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1478 eval ac_env_${ac_var}_value=\$${ac_var}
1479 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1480 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1484 # Report the --help message.
1486 if test "$ac_init_help" = "long"; then
1487 # Omit some internal or obsolete options to make the list less imposing.
1488 # This message is too long to be a string in the A/UX 3.1 sh.
1490 \`configure' configures util-vserver 0.30.214 to adapt to many kinds of systems.
1492 Usage: $0 [OPTION]... [VAR=VALUE]...
1494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1495 VAR=VALUE. See below for descriptions of some of the useful variables.
1497 Defaults for the options are specified in brackets.
1500 -h, --help display this help and exit
1501 --help=short display options specific to this package
1502 --help=recursive display the short help of all the included packages
1503 -V, --version display version information and exit
1504 -q, --quiet, --silent do not print \`checking...' messages
1505 --cache-file=FILE cache test results in FILE [disabled]
1506 -C, --config-cache alias for \`--cache-file=config.cache'
1507 -n, --no-create do not create output files
1508 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1510 Installation directories:
1511 --prefix=PREFIX install architecture-independent files in PREFIX
1512 [$ac_default_prefix]
1513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1516 By default, \`make install' will install all the files in
1517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1519 for instance \`--prefix=\$HOME'.
1521 For better control, use the options below.
1523 Fine tuning of the installation directories:
1524 --bindir=DIR user executables [EPREFIX/bin]
1525 --sbindir=DIR system admin executables [EPREFIX/sbin]
1526 --libexecdir=DIR program executables [EPREFIX/libexec]
1527 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1528 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1529 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1530 --libdir=DIR object code libraries [EPREFIX/lib]
1531 --includedir=DIR C header files [PREFIX/include]
1532 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1533 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1534 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1535 --infodir=DIR info documentation [DATAROOTDIR/info]
1536 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1537 --mandir=DIR man documentation [DATAROOTDIR/man]
1538 --docdir=DIR documentation root [DATAROOTDIR/doc/util-vserver]
1539 --htmldir=DIR html documentation [DOCDIR]
1540 --dvidir=DIR dvi documentation [DOCDIR]
1541 --pdfdir=DIR pdf documentation [DOCDIR]
1542 --psdir=DIR ps documentation [DOCDIR]
1548 --program-prefix=PREFIX prepend PREFIX to installed program names
1549 --program-suffix=SUFFIX append SUFFIX to installed program names
1550 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1553 --build=BUILD configure for building on BUILD [guessed]
1554 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1558 if test -n "$ac_init_help"; then
1559 case $ac_init_help in
1560 short | recursive ) echo "Configuration of util-vserver 0.30.214:";;
1565 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1566 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1567 --enable-maintainer-mode enable make rules and dependencies not useful
1568 (and sometimes confusing) to the casual installer
1569 --disable-dependency-tracking speeds up one-time build
1570 --enable-dependency-tracking do not reject slow dependency extractors
1571 --disable-extra-optimizations
1572 disable certain extra optimizations (default: no)
1573 --enable-lib-debug enable additional debug code in library (default:
1575 --enable-expensive-tests
1576 disable tests which might be expensive on some
1577 systems (default: no)
1578 --enable-release enable release mode (default: no)
1579 --disable-alternative-syscalls
1580 do not use the alternative _syscallX macros provided
1581 by Herbert Poetzl (default: use them)
1582 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1583 --enable-dietlibc) (default: autodetect dietlibc)
1584 --enable-shared[=PKGS] build shared libraries [default=yes]
1585 --enable-static[=PKGS] build static libraries [default=yes]
1586 --enable-fast-install[=PKGS]
1587 optimize for fast installation [default=yes]
1588 --disable-libtool-lock avoid locking (might break parallel builds)
1589 --disable-internal-headers
1590 use vserver specific headers from the kernel instead
1591 of the shipped versions (default: no)
1592 --enable-apis=APIS enable support for the given apis; possible values
1594 legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2
1595 ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2)
1598 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1599 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1600 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1602 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1603 values are 'fast', 'traditional' and 'auto'
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-pic try to use only PIC/non-PIC objects [default=use
1608 --with-tags[=TAGS] include additional configurations [automatic]
1609 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1610 --with-initscripts=TYPE force host initscripts; valid values are 'gentoo'
1611 and 'sysv' (default: guess)
1613 Some influential environment variables:
1614 CXX C++ compiler command
1615 CXXFLAGS C++ compiler flags
1616 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1617 nonstandard directory <lib dir>
1618 LIBS libraries to pass to the linker, e.g. -l<library>
1619 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1620 you have headers in a nonstandard directory <include dir>
1621 CC C compiler command
1622 CFLAGS C compiler flags
1624 DIET The 'diet' wrapper (default: diet)
1625 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1626 CXXCPP C++ preprocessor
1627 F77 Fortran 77 compiler command
1628 FFLAGS Fortran 77 compiler flags
1630 Use these variables to override the choices made by `configure' or to help
1631 it to find libraries and programs with nonstandard names/locations.
1633 Report bugs to <vserver@list.linux-vserver.org>.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641 test -d "$ac_dir" || continue
1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1648 # A ".." for each directory in $ac_dir_suffix.
1649 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1650 case $ac_top_builddir_sub in
1651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1655 ac_abs_top_builddir=$ac_pwd
1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1657 # for backward compatibility:
1658 ac_top_builddir=$ac_top_build_prefix
1661 .) # We are building in place.
1663 ac_top_srcdir=$ac_top_builddir_sub
1664 ac_abs_top_srcdir=$ac_pwd ;;
1665 [\\/]* | ?:[\\/]* ) # Absolute name.
1666 ac_srcdir=$srcdir$ac_dir_suffix;
1667 ac_top_srcdir=$srcdir
1668 ac_abs_top_srcdir=$srcdir ;;
1670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1671 ac_top_srcdir=$ac_top_build_prefix$srcdir
1672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1676 cd "$ac_dir" || { ac_status=$?; continue; }
1677 # Check for guested configure.
1678 if test -f "$ac_srcdir/configure.gnu"; then
1680 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1681 elif test -f "$ac_srcdir/configure"; then
1683 $SHELL "$ac_srcdir/configure" --help=recursive
1685 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687 cd "$ac_pwd" || { ac_status=$?; break; }
1691 test -n "$ac_init_help" && exit $ac_status
1692 if $ac_init_version; then
1694 util-vserver configure 0.30.214
1695 generated by GNU Autoconf 2.61
1697 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1698 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1699 This configure script is free software; the Free Software Foundation
1700 gives unlimited permission to copy, distribute and modify it.
1704 cat >config.log <<_ACEOF
1705 This file contains any messages produced by compilers while
1706 running configure, to aid debugging if configure makes a mistake.
1708 It was created by util-vserver $as_me 0.30.214, which was
1709 generated by GNU Autoconf 2.61. Invocation command line was
1721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1728 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1730 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1731 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1733 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1734 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1735 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1736 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir=.
1745 echo "PATH: $as_dir"
1761 # Keep a trace of the command line.
1762 # Strip out --no-create and --no-recursion so they do not pile up.
1763 # Strip out --silent because we don't want to record it for future runs.
1764 # Also quote any args containing shell meta-characters.
1765 # Make two passes to allow for proper duplicate-argument suppression.
1769 ac_must_keep_next=false
1775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1777 | -silent | --silent | --silen | --sile | --sil)
1780 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1783 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1785 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1786 if test $ac_must_keep_next = true; then
1787 ac_must_keep_next=false # Got value, back to normal.
1790 *=* | --config-cache | -C | -disable-* | --disable-* \
1791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1793 | -with-* | --with-* | -without-* | --without-* | --x)
1794 case "$ac_configure_args0 " in
1795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1798 -* ) ac_must_keep_next=true ;;
1801 ac_configure_args="$ac_configure_args '$ac_arg'"
1806 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1807 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1809 # When interrupted or exit'd, cleanup temporary files, and complete
1810 # config.log. We remove comments because anyway the quotes in there
1811 # would cause problems or look ugly.
1812 # WARNING: Use '\'' to represent an apostrophe within the trap.
1813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1814 trap 'exit_status=$?
1815 # Save into config.log some information that might help in debugging.
1820 ## ---------------- ##
1821 ## Cache variables. ##
1822 ## ---------------- ##
1825 # The following way of writing the cache mishandles newlines in values,
1827 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1828 eval ac_val=\$$ac_var
1832 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1836 _ | IFS | as_nl) ;; #(
1837 *) $as_unset $ac_var ;;
1842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1843 *${as_nl}ac_space=\ *)
1845 "s/'\''/'\''\\\\'\'''\''/g;
1846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1857 ## ----------------- ##
1858 ## Output variables. ##
1859 ## ----------------- ##
1862 for ac_var in $ac_subst_vars
1864 eval ac_val=\$$ac_var
1866 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868 echo "$ac_var='\''$ac_val'\''"
1872 if test -n "$ac_subst_files"; then
1874 ## ------------------- ##
1875 ## File substitutions. ##
1876 ## ------------------- ##
1879 for ac_var in $ac_subst_files
1881 eval ac_val=\$$ac_var
1883 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885 echo "$ac_var='\''$ac_val'\''"
1890 if test -s confdefs.h; then
1900 test "$ac_signal" != 0 &&
1901 echo "$as_me: caught signal $ac_signal"
1902 echo "$as_me: exit $exit_status"
1904 rm -f core *.core core.conftest.* &&
1905 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1908 for ac_signal in 1 2 13 15; do
1909 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1913 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1914 rm -f -r conftest* confdefs.h
1916 # Predefined preprocessor variables.
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_NAME "$PACKAGE_NAME"
1923 cat >>confdefs.h <<_ACEOF
1924 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_STRING "$PACKAGE_STRING"
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1943 # Let the site file select an alternate cache file if it wants to.
1944 # Prefer explicitly selected file to automatically selected ones.
1945 if test -n "$CONFIG_SITE"; then
1946 set x "$CONFIG_SITE"
1947 elif test "x$prefix" != xNONE; then
1948 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1950 set x "$ac_default_prefix/share/config.site" \
1951 "$ac_default_prefix/etc/config.site"
1956 if test -r "$ac_site_file"; then
1957 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1958 echo "$as_me: loading site script $ac_site_file" >&6;}
1959 sed 's/^/| /' "$ac_site_file" >&5
1964 if test -r "$cache_file"; then
1965 # Some versions of bash will fail to source /dev/null (special
1966 # files actually), so we avoid doing that.
1967 if test -f "$cache_file"; then
1968 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1969 echo "$as_me: loading cache $cache_file" >&6;}
1971 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1972 *) . "./$cache_file";;
1976 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1977 echo "$as_me: creating cache $cache_file" >&6;}
1981 # Check that the precious variables saved in the cache have kept the same
1983 ac_cache_corrupted=false
1984 for ac_var in $ac_precious_vars; do
1985 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1986 eval ac_new_set=\$ac_env_${ac_var}_set
1987 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1988 eval ac_new_val=\$ac_env_${ac_var}_value
1989 case $ac_old_set,$ac_new_set in
1991 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1992 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1993 ac_cache_corrupted=: ;;
1995 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1996 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1997 ac_cache_corrupted=: ;;
2000 if test "x$ac_old_val" != "x$ac_new_val"; then
2001 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2002 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2003 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2004 echo "$as_me: former value: $ac_old_val" >&2;}
2005 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2006 echo "$as_me: current value: $ac_new_val" >&2;}
2007 ac_cache_corrupted=:
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2013 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 *) ac_arg=$ac_var=$ac_new_val ;;
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2022 if $ac_cache_corrupted; then
2023 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2024 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2025 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2026 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2027 { (exit 1); exit 1; }; }
2055 ac_cpp='$CPP $CPPFLAGS'
2056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2062 ac_config_headers="$ac_config_headers config.h"
2065 am__api_version='1.10'
2068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2069 if test -f "$ac_dir/install-sh"; then
2071 ac_install_sh="$ac_aux_dir/install-sh -c"
2073 elif test -f "$ac_dir/install.sh"; then
2075 ac_install_sh="$ac_aux_dir/install.sh -c"
2077 elif test -f "$ac_dir/shtool"; then
2079 ac_install_sh="$ac_aux_dir/shtool install -c"
2083 if test -z "$ac_aux_dir"; then
2084 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2085 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2086 { (exit 1); exit 1; }; }
2089 # These three variables are undocumented and unsupported,
2090 # and are intended to be withdrawn in a future Autoconf release.
2091 # They can cause serious problems if a builder's source tree is in a directory
2092 # whose full name contains unusual characters.
2093 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2094 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2095 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2098 # Find a good install program. We prefer a C program (faster),
2099 # so one script is as good as another. But avoid the broken or
2100 # incompatible versions:
2101 # SysV /etc/install, /usr/sbin/install
2102 # SunOS /usr/etc/install
2103 # IRIX /sbin/install
2105 # AmigaOS /C/install, which installs bootblocks on floppy discs
2106 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2107 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2108 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2109 # OS/2's system install, which has a completely different semantic
2110 # ./install, which can be erroneously created by make from ./install.sh.
2111 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2112 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2113 if test -z "$INSTALL"; then
2114 if test "${ac_cv_path_install+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 # Account for people who put trailing slashes in PATH elements.
2124 ./ | .// | /cC/* | \
2125 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2126 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2129 # OSF1 and SCO ODT 3.0 have their own names for install.
2130 # Don't use installbsd from OSF since it installs stuff as root
2132 for ac_prog in ginstall scoinst install; do
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2135 if test $ac_prog = install &&
2136 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2137 # AIX install. It has an incompatible calling convention.
2139 elif test $ac_prog = install &&
2140 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141 # program-specific install script used by HP pwplus--don't use.
2144 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2157 if test "${ac_cv_path_install+set}" = set; then
2158 INSTALL=$ac_cv_path_install
2160 # As a last resort, use the slow shell script. Don't cache a
2161 # value for INSTALL within a source directory, because that will
2162 # break other packages using the cache if that directory is
2163 # removed, or if the value is a relative name.
2164 INSTALL=$ac_install_sh
2167 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2168 echo "${ECHO_T}$INSTALL" >&6; }
2170 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2171 # It thinks the first close brace ends the variable substitution.
2172 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2174 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2176 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2178 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2179 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2182 echo timestamp > conftest.file
2183 # Do `set' in a subshell so we don't clobber the current shell's
2184 # arguments. Must try -L first in case configure is actually a
2185 # symlink; some systems play weird games with the mod time of symlinks
2186 # (eg FreeBSD returns the mod time of the symlink's containing
2189 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2190 if test "$*" = "X"; then
2192 set X `ls -t $srcdir/configure conftest.file`
2195 if test "$*" != "X $srcdir/configure conftest.file" \
2196 && test "$*" != "X conftest.file $srcdir/configure"; then
2198 # If neither matched, then we have a broken ls. This can happen
2199 # if, for instance, CONFIG_SHELL is bash and it inherits a
2200 # broken ls alias from the environment. This has actually
2201 # happened. Such a system could not be considered "sane".
2202 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2203 alias in your environment" >&5
2204 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2205 alias in your environment" >&2;}
2206 { (exit 1); exit 1; }; }
2209 test "$2" = conftest.file
2215 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2216 Check your system clock" >&5
2217 echo "$as_me: error: newly created file is older than distributed files!
2218 Check your system clock" >&2;}
2219 { (exit 1); exit 1; }; }
2221 { echo "$as_me:$LINENO: result: yes" >&5
2222 echo "${ECHO_T}yes" >&6; }
2223 test "$program_prefix" != NONE &&
2224 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2225 # Use a double $ so make ignores it.
2226 test "$program_suffix" != NONE &&
2227 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2228 # Double any \ or $. echo might interpret backslashes.
2229 # By default was `s,x,x', remove it if useless.
2230 cat <<\_ACEOF >conftest.sed
2231 s/[\\$]/&&/g;s/;s,x,x,$//
2233 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2236 # expand $ac_aux_dir to an absolute path
2237 am_aux_dir=`cd $ac_aux_dir && pwd`
2239 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2240 # Use eval to expand $SHELL
2241 if eval "$MISSING --run true"; then
2242 am_missing_run="$MISSING --run "
2245 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2246 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2249 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2250 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2251 if test -z "$MKDIR_P"; then
2252 if test "${ac_cv_path_mkdir+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2259 test -z "$as_dir" && as_dir=.
2260 for ac_prog in mkdir gmkdir; do
2261 for ac_exec_ext in '' $ac_executable_extensions; do
2262 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2263 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2264 'mkdir (GNU coreutils) '* | \
2265 'mkdir (coreutils) '* | \
2266 'mkdir (fileutils) '4.1*)
2267 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2277 if test "${ac_cv_path_mkdir+set}" = set; then
2278 MKDIR_P="$ac_cv_path_mkdir -p"
2280 # As a last resort, use the slow shell script. Don't cache a
2281 # value for MKDIR_P within a source directory, because that will
2282 # break other packages using the cache if that directory is
2283 # removed, or if the value is a relative name.
2284 test -d ./--version && rmdir ./--version
2285 MKDIR_P="$ac_install_sh -d"
2288 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2289 echo "${ECHO_T}$MKDIR_P" >&6; }
2293 [\\/$]* | ?:[\\/]*) ;;
2294 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2297 for ac_prog in gawk mawk nawk awk
2299 # Extract the first word of "$ac_prog", so it can be a program name with args.
2300 set dummy $ac_prog; ac_word=$2
2301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2303 if test "${ac_cv_prog_AWK+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$AWK"; then
2307 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_AWK="$ac_prog"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 if test -n "$AWK"; then
2328 { echo "$as_me:$LINENO: result: $AWK" >&5
2329 echo "${ECHO_T}$AWK" >&6; }
2331 { echo "$as_me:$LINENO: result: no" >&5
2332 echo "${ECHO_T}no" >&6; }
2336 test -n "$AWK" && break
2339 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2340 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2341 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2342 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 cat >conftest.make <<\_ACEOF
2348 @echo '@@@%%%=$(MAKE)=@@@%%%'
2350 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2351 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2353 eval ac_cv_prog_make_${ac_make}_set=yes;;
2355 eval ac_cv_prog_make_${ac_make}_set=no;;
2359 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2360 { echo "$as_me:$LINENO: result: yes" >&5
2361 echo "${ECHO_T}yes" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2366 SET_MAKE="MAKE=${MAKE-make}"
2369 rm -rf .tst 2>/dev/null
2370 mkdir .tst 2>/dev/null
2371 if test -d .tst; then
2376 rmdir .tst 2>/dev/null
2378 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2379 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2380 # is not polluted with repeated "-I."
2381 am__isrc=' -I$(srcdir)'
2382 # test to see if srcdir already configured
2383 if test -f $srcdir/config.status; then
2384 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2385 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2386 { (exit 1); exit 1; }; }
2390 # test whether we have cygpath
2391 if test -z "$CYGPATH_W"; then
2392 if (cygpath --version) >/dev/null 2>/dev/null; then
2393 CYGPATH_W='cygpath -w'
2400 # Define the identity of the package.
2401 PACKAGE='util-vserver'
2405 cat >>confdefs.h <<_ACEOF
2406 #define PACKAGE "$PACKAGE"
2410 cat >>confdefs.h <<_ACEOF
2411 #define VERSION "$VERSION"
2414 # Some tools Automake needs.
2416 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2419 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2422 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2425 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2428 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2430 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2432 # Installed binaries are usually stripped using `strip' when the user
2433 # run `make install-strip'. However `strip' might not be the right
2434 # tool to use in cross-compilation environments, therefore Automake
2435 # will honor the `STRIP' environment variable to overrule this program.
2436 if test "$cross_compiling" != no; then
2437 if test -n "$ac_tool_prefix"; then
2438 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2439 set dummy ${ac_tool_prefix}strip; ac_word=$2
2440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2442 if test "${ac_cv_prog_STRIP+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 if test -n "$STRIP"; then
2446 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 STRIP=$ac_cv_prog_STRIP
2466 if test -n "$STRIP"; then
2467 { echo "$as_me:$LINENO: result: $STRIP" >&5
2468 echo "${ECHO_T}$STRIP" >&6; }
2470 { echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6; }
2476 if test -z "$ac_cv_prog_STRIP"; then
2478 # Extract the first word of "strip", so it can be a program name with args.
2479 set dummy strip; ac_word=$2
2480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2482 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$ac_ct_STRIP"; then
2486 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495 ac_cv_prog_ac_ct_STRIP="strip"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2506 if test -n "$ac_ct_STRIP"; then
2507 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2508 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2510 { echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6; }
2514 if test "x$ac_ct_STRIP" = x; then
2517 case $cross_compiling:$ac_tool_warned in
2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&5
2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet. If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2525 ac_tool_warned=yes ;;
2530 STRIP="$ac_cv_prog_STRIP"
2534 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2536 # We need awk for the "check" target. The system "awk" is bad on
2538 # Always define AMTAR for backward compatibility.
2540 AMTAR=${AMTAR-"${am_missing_run}tar"}
2542 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2548 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2549 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2550 # Check whether --enable-maintainer-mode was given.
2551 if test "${enable_maintainer_mode+set}" = set; then
2552 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2554 USE_MAINTAINER_MODE=no
2557 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2558 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2559 if test $USE_MAINTAINER_MODE = yes; then
2560 MAINTAINER_MODE_TRUE=
2561 MAINTAINER_MODE_FALSE='#'
2563 MAINTAINER_MODE_TRUE='#'
2564 MAINTAINER_MODE_FALSE=
2567 MAINT=$MAINTAINER_MODE_TRUE
2571 # Make sure we can run config.sub.
2572 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2573 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2574 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2575 { (exit 1); exit 1; }; }
2577 { echo "$as_me:$LINENO: checking build system type" >&5
2578 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2579 if test "${ac_cv_build+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 ac_build_alias=$build_alias
2583 test "x$ac_build_alias" = x &&
2584 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2585 test "x$ac_build_alias" = x &&
2586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2588 { (exit 1); exit 1; }; }
2589 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2590 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2591 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2592 { (exit 1); exit 1; }; }
2595 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2596 echo "${ECHO_T}$ac_cv_build" >&6; }
2597 case $ac_cv_build in
2599 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2600 echo "$as_me: error: invalid value of canonical build" >&2;}
2601 { (exit 1); exit 1; }; };;
2604 ac_save_IFS=$IFS; IFS='-'
2610 # Remember, the first character of IFS is used to create $*,
2611 # except with old shells:
2614 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2617 { echo "$as_me:$LINENO: checking host system type" >&5
2618 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2619 if test "${ac_cv_host+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 if test "x$host_alias" = x; then
2623 ac_cv_host=$ac_cv_build
2625 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2626 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2627 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2628 { (exit 1); exit 1; }; }
2632 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2633 echo "${ECHO_T}$ac_cv_host" >&6; }
2636 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2637 echo "$as_me: error: invalid value of canonical host" >&2;}
2638 { (exit 1); exit 1; }; };;
2641 ac_save_IFS=$IFS; IFS='-'
2647 # Remember, the first character of IFS is used to create $*,
2648 # except with old shells:
2651 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2655 GPG_KEY="0xFFD316AC53ACA43A!"
2658 # Checks for programs.
2660 ac_cpp='$CXXCPP $CPPFLAGS'
2661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2664 if test -z "$CXX"; then
2665 if test -n "$CCC"; then
2668 if test -n "$ac_tool_prefix"; then
2669 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2671 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2672 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2675 if test "${ac_cv_prog_CXX+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 if test -n "$CXX"; then
2679 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test -n "$CXX"; then
2700 { echo "$as_me:$LINENO: result: $CXX" >&5
2701 echo "${ECHO_T}$CXX" >&6; }
2703 { echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6; }
2708 test -n "$CXX" && break
2711 if test -z "$CXX"; then
2713 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2715 # Extract the first word of "$ac_prog", so it can be a program name with args.
2716 set dummy $ac_prog; ac_word=$2
2717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2719 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 if test -n "$ac_ct_CXX"; then
2723 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 ac_cv_prog_ac_ct_CXX="$ac_prog"
2733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2743 if test -n "$ac_ct_CXX"; then
2744 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2745 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2747 { echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6; }
2752 test -n "$ac_ct_CXX" && break
2755 if test "x$ac_ct_CXX" = x; then
2758 case $cross_compiling:$ac_tool_warned in
2760 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2761 whose name does not start with the host triplet. If you think this
2762 configuration is useful to you, please write to autoconf@gnu.org." >&5
2763 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2764 whose name does not start with the host triplet. If you think this
2765 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2766 ac_tool_warned=yes ;;
2774 # Provide some information about the compiler.
2775 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2776 ac_compiler=`set X $ac_compile; echo $2`
2777 { (ac_try="$ac_compiler --version >&5"
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compiler --version >&5") 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }
2787 { (ac_try="$ac_compiler -v >&5"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compiler -v >&5") 2>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }
2797 { (ac_try="$ac_compiler -V >&5"
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2803 (eval "$ac_compiler -V >&5") 2>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }
2808 cat >conftest.$ac_ext <<_ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 ac_clean_files_save=$ac_clean_files
2824 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2825 # Try to create an executable without -o first, disregard a.out.
2826 # It will help us diagnose broken compilers, and finding out an intuition
2828 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2829 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2830 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2832 # List of possible output files, starting from the most likely.
2833 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2834 # only as a last resort. b.out is created by i960 compilers.
2835 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2837 # The IRIX 6 linker writes into existing files which may not be
2838 # executable, retaining their permissions. Remove them first so a
2839 # subsequent execution test works.
2841 for ac_file in $ac_files
2844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2845 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2850 if { (ac_try="$ac_link_default"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_link_default") 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; then
2860 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2861 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2862 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2863 # so that the user can short-circuit this test for compilers unknown to
2865 for ac_file in $ac_files ''
2867 test -f "$ac_file" || continue
2869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2872 # We found the default executable, but exeext='' is most
2876 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2878 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2880 # We set ac_cv_exeext here because the later test for it is not
2881 # safe: cross compilers may not add the suffix if given an `-o'
2882 # argument, so we may need to know it at that point already.
2883 # Even if this section looks crufty: it has the advantage of
2890 test "$ac_cv_exeext" = no && ac_cv_exeext=
2896 { echo "$as_me:$LINENO: result: $ac_file" >&5
2897 echo "${ECHO_T}$ac_file" >&6; }
2898 if test -z "$ac_file"; then
2899 echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2903 See \`config.log' for more details." >&5
2904 echo "$as_me: error: C++ compiler cannot create executables
2905 See \`config.log' for more details." >&2;}
2906 { (exit 77); exit 77; }; }
2909 ac_exeext=$ac_cv_exeext
2911 # Check that the compiler produces executables we can run. If not, either
2912 # the compiler is broken, or we cross compile.
2913 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2914 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2915 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2916 # If not cross compiling, check that we can run a simple program.
2917 if test "$cross_compiling" != yes; then
2918 if { ac_try='./$ac_file'
2919 { (case "(($ac_try" in
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 (eval "$ac_try") 2>&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2930 if test "$cross_compiling" = maybe; then
2933 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2934 If you meant to cross compile, use \`--host'.
2935 See \`config.log' for more details." >&5
2936 echo "$as_me: error: cannot run C++ compiled programs.
2937 If you meant to cross compile, use \`--host'.
2938 See \`config.log' for more details." >&2;}
2939 { (exit 1); exit 1; }; }
2943 { echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6; }
2946 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2947 ac_clean_files=$ac_clean_files_save
2948 # Check that the compiler produces executables we can run. If not, either
2949 # the compiler is broken, or we cross compile.
2950 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2951 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2952 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2953 echo "${ECHO_T}$cross_compiling" >&6; }
2955 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2956 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2957 if { (ac_try="$ac_link"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_link") 2>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; then
2967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2969 # work properly (i.e., refer to `conftest.exe'), while it won't with
2971 for ac_file in conftest.exe conftest conftest.*; do
2972 test -f "$ac_file" || continue
2974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2984 See \`config.log' for more details." >&2;}
2985 { (exit 1); exit 1; }; }
2988 rm -f conftest$ac_cv_exeext
2989 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2990 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2992 rm -f conftest.$ac_ext
2993 EXEEXT=$ac_cv_exeext
2995 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2996 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2997 if test "${ac_cv_objext+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 cat >conftest.$ac_ext <<_ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3015 rm -f conftest.o conftest.obj
3016 if { (ac_try="$ac_compile"
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_compile") 2>&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; then
3026 for ac_file in conftest.o conftest.obj conftest.*; do
3027 test -f "$ac_file" || continue;
3029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3030 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3038 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3039 See \`config.log' for more details." >&5
3040 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3041 See \`config.log' for more details." >&2;}
3042 { (exit 1); exit 1; }; }
3045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3047 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3048 echo "${ECHO_T}$ac_cv_objext" >&6; }
3049 OBJEXT=$ac_cv_objext
3051 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3052 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3053 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 cat >conftest.$ac_ext <<_ACEOF
3059 cat confdefs.h >>conftest.$ac_ext
3060 cat >>conftest.$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3074 rm -f conftest.$ac_objext
3075 if { (ac_try="$ac_compile"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compile") 2>conftest.er1
3083 grep -v '^ *+' conftest.er1 >conftest.err
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } && {
3088 test -z "$ac_cxx_werror_flag" ||
3089 test ! -s conftest.err
3090 } && test -s conftest.$ac_objext; then
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3103 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3104 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3105 GXX=`test $ac_compiler_gnu = yes && echo yes`
3106 ac_test_CXXFLAGS=${CXXFLAGS+set}
3107 ac_save_CXXFLAGS=$CXXFLAGS
3108 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3109 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3110 if test "${ac_cv_prog_cxx_g+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3114 ac_cxx_werror_flag=yes
3117 cat >conftest.$ac_ext <<_ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_cxx_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3149 ac_cv_prog_cxx_g=yes
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3155 cat >conftest.$ac_ext <<_ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3170 rm -f conftest.$ac_objext
3171 if { (ac_try="$ac_compile"
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3177 (eval "$ac_compile") 2>conftest.er1
3179 grep -v '^ *+' conftest.er1 >conftest.err
3181 cat conftest.err >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } && {
3184 test -z "$ac_cxx_werror_flag" ||
3185 test ! -s conftest.err
3186 } && test -s conftest.$ac_objext; then
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^ *+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3243 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3245 if test "$ac_test_CXXFLAGS" = set; then
3246 CXXFLAGS=$ac_save_CXXFLAGS
3247 elif test $ac_cv_prog_cxx_g = yes; then
3248 if test "$GXX" = yes; then
3254 if test "$GXX" = yes; then
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 DEPDIR="${am__leading_dot}deps"
3267 ac_config_commands="$ac_config_commands depfiles"
3270 am_make=${MAKE-make}
3271 cat > confinc << 'END'
3276 # If we don't find an include directive, just comment out the code.
3277 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3278 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3282 # First try GNU make style include.
3283 echo "include confinc" > confmf
3284 # We grep out `Entering directory' and `Leaving directory'
3285 # messages which can occur if `w' ends up in MAKEFLAGS.
3286 # In particular we don't look at `^make:' because GNU make might
3287 # be invoked under some other name (usually "gmake"), in which
3288 # case it prints its new name instead of `make'.
3289 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3294 # Now try BSD make style include.
3295 if test "$am__include" = "#"; then
3296 echo '.include "confinc"' > confmf
3297 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3298 am__include=.include
3305 { echo "$as_me:$LINENO: result: $_am_result" >&5
3306 echo "${ECHO_T}$_am_result" >&6; }
3307 rm -f confinc confmf
3309 # Check whether --enable-dependency-tracking was given.
3310 if test "${enable_dependency_tracking+set}" = set; then
3311 enableval=$enable_dependency_tracking;
3314 if test "x$enable_dependency_tracking" != xno; then
3315 am_depcomp="$ac_aux_dir/depcomp"
3318 if test "x$enable_dependency_tracking" != xno; then
3328 depcc="$CXX" am_compiler_list=
3330 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3331 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3332 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3336 # We make a subdir and do the tests there. Otherwise we can end up
3337 # making bogus files that we don't know about and never remove. For
3338 # instance it was reported that on HP-UX the gcc test will end up
3339 # making a dummy file named `D' -- because `-MD' means `put the output
3342 # Copy depcomp to subdir because otherwise we won't find it if we're
3343 # using a relative directory.
3344 cp "$am_depcomp" conftest.dir
3346 # We will build objects and dependencies in a subdirectory because
3347 # it helps to detect inapplicable dependency modes. For instance
3348 # both Tru64's cc and ICC support -MD to output dependencies as a
3349 # side effect of compilation, but ICC will put the dependencies in
3350 # the current directory while Tru64 will put them in the object
3354 am_cv_CXX_dependencies_compiler_type=none
3355 if test "$am_compiler_list" = ""; then
3356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3358 for depmode in $am_compiler_list; do
3359 # Setup a source with many dependencies, because some compilers
3360 # like to wrap large dependency lists on column 80 (with \), and
3361 # we should not choose a depcomp mode which is confused by this.
3363 # We need to recreate these files for each test, as the compiler may
3364 # overwrite some of them when testing with obscure command lines.
3365 # This happens at least with the AIX C compiler.
3367 for i in 1 2 3 4 5 6; do
3368 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3369 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3370 # Solaris 8's {/usr,}/bin/sh.
3371 touch sub/conftst$i.h
3373 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3377 # after this tag, mechanisms are not by side-effect, so they'll
3378 # only be used when explicitly requested
3379 if test "x$enable_dependency_tracking" = xyes; then
3387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3388 # mode. It turns out that the SunPro C++ compiler does not properly
3389 # handle `-M -o', and we need to detect this.
3390 if depmode=$depmode \
3391 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3392 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3393 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3394 >/dev/null 2>conftest.err &&
3395 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3396 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3397 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3398 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3399 # icc doesn't choke on unknown options, it will just issue warnings
3400 # or remarks (even with -Werror). So we grep stderr for any message
3401 # that says an option was ignored or not supported.
3402 # When given -MP, icc 7.0 and 7.1 complain thusly:
3403 # icc: Command line warning: ignoring option '-M'; no argument required
3404 # The diagnosis changed in icc 8.0:
3405 # icc: Command line remark: option '-MP' not supported
3406 if (grep 'ignoring option' conftest.err ||
3407 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3408 am_cv_CXX_dependencies_compiler_type=$depmode
3417 am_cv_CXX_dependencies_compiler_type=none
3421 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3422 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3423 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3426 test "x$enable_dependency_tracking" != xno \
3427 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3428 am__fastdepCXX_TRUE=
3429 am__fastdepCXX_FALSE='#'
3431 am__fastdepCXX_TRUE='#'
3432 am__fastdepCXX_FALSE=
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3441 if test -n "$ac_tool_prefix"; then
3442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3446 if test "${ac_cv_prog_CC+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 if test -n "$CC"; then
3450 ac_cv_prog_CC="$CC" # Let the user override the test.
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3459 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 if test -n "$CC"; then
3471 { echo "$as_me:$LINENO: result: $CC" >&5
3472 echo "${ECHO_T}$CC" >&6; }
3474 { echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6; }
3480 if test -z "$ac_cv_prog_CC"; then
3482 # Extract the first word of "gcc", so it can be a program name with args.
3483 set dummy gcc; ac_word=$2
3484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3486 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 if test -n "$ac_ct_CC"; then
3490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 test -z "$as_dir" && as_dir=.
3497 for ac_exec_ext in '' $ac_executable_extensions; do
3498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3499 ac_cv_prog_ac_ct_CC="gcc"
3500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3510 if test -n "$ac_ct_CC"; then
3511 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3512 echo "${ECHO_T}$ac_ct_CC" >&6; }
3514 { echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6; }
3518 if test "x$ac_ct_CC" = x; then
3521 case $cross_compiling:$ac_tool_warned in
3523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3524 whose name does not start with the host triplet. If you think this
3525 configuration is useful to you, please write to autoconf@gnu.org." >&5
3526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3527 whose name does not start with the host triplet. If you think this
3528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3529 ac_tool_warned=yes ;;
3537 if test -z "$CC"; then
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}cc; ac_word=$2
3541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3543 if test "${ac_cv_prog_CC+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 if test -n "$CC"; then
3547 ac_cv_prog_CC="$CC" # Let the user override the test.
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_CC="${ac_tool_prefix}cc"
3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test -n "$CC"; then
3568 { echo "$as_me:$LINENO: result: $CC" >&5
3569 echo "${ECHO_T}$CC" >&6; }
3571 { echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6; }
3578 if test -z "$CC"; then
3579 # Extract the first word of "cc", so it can be a program name with args.
3580 set dummy cc; ac_word=$2
3581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3583 if test "${ac_cv_prog_CC+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 if test -n "$CC"; then
3587 ac_cv_prog_CC="$CC" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3598 ac_prog_rejected=yes
3602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 if test $ac_prog_rejected = yes; then
3610 # We found a bogon in the path, so make sure we never use it.
3611 set dummy $ac_cv_prog_CC
3613 if test $# != 0; then
3614 # We chose a different compiler from the bogus one.
3615 # However, it has the same basename, so the bogon will be chosen
3616 # first if we set CC to just the basename; use the full file name.
3618 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3624 if test -n "$CC"; then
3625 { echo "$as_me:$LINENO: result: $CC" >&5
3626 echo "${ECHO_T}$CC" >&6; }
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 for ac_prog in cl.exe
3638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test -n "$CC"; then
3667 { echo "$as_me:$LINENO: result: $CC" >&5
3668 echo "${ECHO_T}$CC" >&6; }
3670 { echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6; }
3675 test -n "$CC" && break
3678 if test -z "$CC"; then
3680 for ac_prog in cl.exe
3682 # Extract the first word of "$ac_prog", so it can be a program name with args.
3683 set dummy $ac_prog; ac_word=$2
3684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 if test -n "$ac_ct_CC"; then
3690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3699 ac_cv_prog_ac_ct_CC="$ac_prog"
3700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3710 if test -n "$ac_ct_CC"; then
3711 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3712 echo "${ECHO_T}$ac_ct_CC" >&6; }
3714 { echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6; }
3719 test -n "$ac_ct_CC" && break
3722 if test "x$ac_ct_CC" = x; then
3725 case $cross_compiling:$ac_tool_warned in
3727 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3728 whose name does not start with the host triplet. If you think this
3729 configuration is useful to you, please write to autoconf@gnu.org." >&5
3730 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3731 whose name does not start with the host triplet. If you think this
3732 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3733 ac_tool_warned=yes ;;
3742 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3743 See \`config.log' for more details." >&5
3744 echo "$as_me: error: no acceptable C compiler found in \$PATH
3745 See \`config.log' for more details." >&2;}
3746 { (exit 1); exit 1; }; }
3748 # Provide some information about the compiler.
3749 echo "$as_me:$LINENO: checking for C compiler version" >&5
3750 ac_compiler=`set X $ac_compile; echo $2`
3751 { (ac_try="$ac_compiler --version >&5"
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3757 (eval "$ac_compiler --version >&5") 2>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); }
3761 { (ac_try="$ac_compiler -v >&5"
3763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764 *) ac_try_echo=$ac_try;;
3766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3767 (eval "$ac_compiler -v >&5") 2>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }
3771 { (ac_try="$ac_compiler -V >&5"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_compiler -V >&5") 2>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }
3782 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3783 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3784 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 cat >conftest.$ac_ext <<_ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3805 rm -f conftest.$ac_objext
3806 if { (ac_try="$ac_compile"
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_compile") 2>conftest.er1
3814 grep -v '^ *+' conftest.er1 >conftest.err
3816 cat conftest.err >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } && {
3819 test -z "$ac_c_werror_flag" ||
3820 test ! -s conftest.err
3821 } && test -s conftest.$ac_objext; then
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3834 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3835 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3836 GCC=`test $ac_compiler_gnu = yes && echo yes`
3837 ac_test_CFLAGS=${CFLAGS+set}
3838 ac_save_CFLAGS=$CFLAGS
3839 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3840 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3841 if test "${ac_cv_prog_cc_g+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 ac_save_c_werror_flag=$ac_c_werror_flag
3845 ac_c_werror_flag=yes
3848 cat >conftest.$ac_ext <<_ACEOF
3851 cat confdefs.h >>conftest.$ac_ext
3852 cat >>conftest.$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3863 rm -f conftest.$ac_objext
3864 if { (ac_try="$ac_compile"
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3870 (eval "$ac_compile") 2>conftest.er1
3872 grep -v '^ *+' conftest.er1 >conftest.err
3874 cat conftest.err >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } && {
3877 test -z "$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3879 } && test -s conftest.$ac_objext; then
3882 echo "$as_me: failed program was:" >&5
3883 sed 's/^/| /' conftest.$ac_ext >&5
3886 cat >conftest.$ac_ext <<_ACEOF
3889 cat confdefs.h >>conftest.$ac_ext
3890 cat >>conftest.$ac_ext <<_ACEOF
3891 /* end confdefs.h. */
3901 rm -f conftest.$ac_objext
3902 if { (ac_try="$ac_compile"
3904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
3907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3908 (eval "$ac_compile") 2>conftest.er1
3910 grep -v '^ *+' conftest.er1 >conftest.err
3912 cat conftest.err >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } && {
3915 test -z "$ac_c_werror_flag" ||
3916 test ! -s conftest.err
3917 } && test -s conftest.$ac_objext; then
3920 echo "$as_me: failed program was:" >&5
3921 sed 's/^/| /' conftest.$ac_ext >&5
3923 ac_c_werror_flag=$ac_save_c_werror_flag
3925 cat >conftest.$ac_ext <<_ACEOF
3928 cat confdefs.h >>conftest.$ac_ext
3929 cat >>conftest.$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3940 rm -f conftest.$ac_objext
3941 if { (ac_try="$ac_compile"
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3947 (eval "$ac_compile") 2>conftest.er1
3949 grep -v '^ *+' conftest.er1 >conftest.err
3951 cat conftest.err >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); } && {
3954 test -z "$ac_c_werror_flag" ||
3955 test ! -s conftest.err
3956 } && test -s conftest.$ac_objext; then
3959 echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_c_werror_flag=$ac_save_c_werror_flag
3974 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3975 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977 CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979 if test "$GCC" = yes; then
3985 if test "$GCC" = yes; then
3991 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3992 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3993 if test "${ac_cv_prog_cc_c89+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 ac_cv_prog_cc_c89=no
3998 cat >conftest.$ac_ext <<_ACEOF
4001 cat confdefs.h >>conftest.$ac_ext
4002 cat >>conftest.$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4006 #include <sys/types.h>
4007 #include <sys/stat.h>
4008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4009 struct buf { int x; };
4010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4011 static char *e (p, i)
4017 static char *f (char * (*g) (char **, int), char **p, ...)
4022 s = g (p, va_arg (v,int));
4027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4028 function prototypes and stuff, but not '\xHH' hex character constants.
4029 These don't provoke an error unfortunately, instead are silently treated
4030 as 'x'. The following induces an error, until -std is added to get
4031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4032 array size at least. It's necessary to write '\x00'==0 to get something
4033 that's true only with -std. */
4034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4037 inside strings and character constants. */
4039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4041 int test (int i, double x);
4042 struct s1 {int (*f) (int a);};
4043 struct s2 {int (*f) (double a);};
4044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4058 CC="$ac_save_CC $ac_arg"
4059 rm -f conftest.$ac_objext
4060 if { (ac_try="$ac_compile"
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_compile") 2>conftest.er1
4068 grep -v '^ *+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } && {
4073 test -z "$ac_c_werror_flag" ||
4074 test ! -s conftest.err
4075 } && test -s conftest.$ac_objext; then
4076 ac_cv_prog_cc_c89=$ac_arg
4078 echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4084 rm -f core conftest.err conftest.$ac_objext
4085 test "x$ac_cv_prog_cc_c89" != "xno" && break
4087 rm -f conftest.$ac_ext
4092 case "x$ac_cv_prog_cc_c89" in
4094 { echo "$as_me:$LINENO: result: none needed" >&5
4095 echo "${ECHO_T}none needed" >&6; } ;;
4097 { echo "$as_me:$LINENO: result: unsupported" >&5
4098 echo "${ECHO_T}unsupported" >&6; } ;;
4100 CC="$CC $ac_cv_prog_cc_c89"
4101 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4102 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4107 ac_cpp='$CPP $CPPFLAGS'
4108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4112 depcc="$CC" am_compiler_list=
4114 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4115 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4116 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4120 # We make a subdir and do the tests there. Otherwise we can end up
4121 # making bogus files that we don't know about and never remove. For
4122 # instance it was reported that on HP-UX the gcc test will end up
4123 # making a dummy file named `D' -- because `-MD' means `put the output
4126 # Copy depcomp to subdir because otherwise we won't find it if we're
4127 # using a relative directory.
4128 cp "$am_depcomp" conftest.dir
4130 # We will build objects and dependencies in a subdirectory because
4131 # it helps to detect inapplicable dependency modes. For instance
4132 # both Tru64's cc and ICC support -MD to output dependencies as a
4133 # side effect of compilation, but ICC will put the dependencies in
4134 # the current directory while Tru64 will put them in the object
4138 am_cv_CC_dependencies_compiler_type=none
4139 if test "$am_compiler_list" = ""; then
4140 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4142 for depmode in $am_compiler_list; do
4143 # Setup a source with many dependencies, because some compilers
4144 # like to wrap large dependency lists on column 80 (with \), and
4145 # we should not choose a depcomp mode which is confused by this.
4147 # We need to recreate these files for each test, as the compiler may
4148 # overwrite some of them when testing with obscure command lines.
4149 # This happens at least with the AIX C compiler.
4151 for i in 1 2 3 4 5 6; do
4152 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4153 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4154 # Solaris 8's {/usr,}/bin/sh.
4155 touch sub/conftst$i.h
4157 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4161 # after this tag, mechanisms are not by side-effect, so they'll
4162 # only be used when explicitly requested
4163 if test "x$enable_dependency_tracking" = xyes; then
4171 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4172 # mode. It turns out that the SunPro C++ compiler does not properly
4173 # handle `-M -o', and we need to detect this.
4174 if depmode=$depmode \
4175 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4176 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4177 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4178 >/dev/null 2>conftest.err &&
4179 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4180 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4181 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4182 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4183 # icc doesn't choke on unknown options, it will just issue warnings
4184 # or remarks (even with -Werror). So we grep stderr for any message
4185 # that says an option was ignored or not supported.
4186 # When given -MP, icc 7.0 and 7.1 complain thusly:
4187 # icc: Command line warning: ignoring option '-M'; no argument required
4188 # The diagnosis changed in icc 8.0:
4189 # icc: Command line remark: option '-MP' not supported
4190 if (grep 'ignoring option' conftest.err ||
4191 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4192 am_cv_CC_dependencies_compiler_type=$depmode
4201 am_cv_CC_dependencies_compiler_type=none
4205 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4206 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4207 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4210 test "x$enable_dependency_tracking" != xno \
4211 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4213 am__fastdepCC_FALSE='#'
4215 am__fastdepCC_TRUE='#'
4216 am__fastdepCC_FALSE=
4220 # Find a good install program. We prefer a C program (faster),
4221 # so one script is as good as another. But avoid the broken or
4222 # incompatible versions:
4223 # SysV /etc/install, /usr/sbin/install
4224 # SunOS /usr/etc/install
4225 # IRIX /sbin/install
4227 # AmigaOS /C/install, which installs bootblocks on floppy discs
4228 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4231 # OS/2's system install, which has a completely different semantic
4232 # ./install, which can be erroneously created by make from ./install.sh.
4233 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4235 if test -z "$INSTALL"; then
4236 if test "${ac_cv_path_install+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir=.
4244 # Account for people who put trailing slashes in PATH elements.
4246 ./ | .// | /cC/* | \
4247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4248 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4251 # OSF1 and SCO ODT 3.0 have their own names for install.
4252 # Don't use installbsd from OSF since it installs stuff as root
4254 for ac_prog in ginstall scoinst install; do
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4257 if test $ac_prog = install &&
4258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4259 # AIX install. It has an incompatible calling convention.
4261 elif test $ac_prog = install &&
4262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4263 # program-specific install script used by HP pwplus--don't use.
4266 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4279 if test "${ac_cv_path_install+set}" = set; then
4280 INSTALL=$ac_cv_path_install
4282 # As a last resort, use the slow shell script. Don't cache a
4283 # value for INSTALL within a source directory, because that will
4284 # break other packages using the cache if that directory is
4285 # removed, or if the value is a relative name.
4286 INSTALL=$ac_install_sh
4289 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4290 echo "${ECHO_T}$INSTALL" >&6; }
4292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4293 # It thinks the first close brace ends the variable substitution.
4294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4296 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4298 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4300 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4301 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4303 if test "$LN_S" = "ln -s"; then
4304 { echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6; }
4307 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4308 echo "${ECHO_T}no, using $LN_S" >&6; }
4311 if test "x$CC" != xcc; then
4312 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4313 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4315 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4316 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4318 set dummy $CC; ac_cc=`echo $2 |
4319 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4320 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 cat >conftest.$ac_ext <<_ACEOF
4326 cat confdefs.h >>conftest.$ac_ext
4327 cat >>conftest.$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4338 # Make sure it works both with $CC and with simple cc.
4339 # We do the test twice because some compilers refuse to overwrite an
4340 # existing .o file with -o, though they will create one.
4341 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4343 if { (case "(($ac_try" in
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4345 *) ac_try_echo=$ac_try;;
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4348 (eval "$ac_try") 2>&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_try") 2>&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); };
4362 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4363 if test "x$CC" != xcc; then
4364 # Test first that cc exists at all.
4365 if { ac_try='cc -c conftest.$ac_ext >&5'
4366 { (case "(($ac_try" in
4367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368 *) ac_try_echo=$ac_try;;
4370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4371 (eval "$ac_try") 2>&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4377 if { (case "(($ac_try" in
4378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_try") 2>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } &&
4386 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4391 (eval "$ac_try") 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); };
4399 # cc exists but doesn't like -o.
4400 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4405 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4407 rm -f core conftest*
4410 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4411 { echo "$as_me:$LINENO: result: yes" >&5
4412 echo "${ECHO_T}yes" >&6; }
4414 { echo "$as_me:$LINENO: result: no" >&5
4415 echo "${ECHO_T}no" >&6; }
4417 cat >>confdefs.h <<\_ACEOF
4418 #define NO_MINUS_C_MINUS_O 1
4423 # FIXME: we rely on the cache variable name because
4424 # there is no other way.
4426 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4427 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4428 # Losing compiler, so override with the script.
4429 # FIXME: It is wrong to rewrite CC.
4430 # But if we don't then we get into trouble of one sort or another.
4431 # A longer-term fix would be to have automake use am__CC in this case,
4432 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4433 CC="$am_aux_dir/compile $CC"
4441 if test -n "$PYTHON"; then
4442 # If the user set $PYTHON, use it and don't search something else.
4443 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
4444 echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6; }
4445 prog="import sys, string
4446 # split strings by '.' and convert to numeric. Append some zeros
4447 # because we need at least 4 digits for the hex conversion.
4448 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
4450 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4451 sys.exit(sys.hexversion < minverhex)"
4452 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4453 ($PYTHON -c "$prog") >&5 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; then
4457 { echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6; }
4460 { { echo "$as_me:$LINENO: error: too old" >&5
4461 echo "$as_me: error: too old" >&2;}
4462 { (exit 1); exit 1; }; }
4465 am_display_PYTHON=$PYTHON
4467 # Otherwise, try each interpreter until we find one that satisfies
4469 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
4470 echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6; }
4471 if test "${am_cv_pathless_PYTHON+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
4476 test "$am_cv_pathless_PYTHON" = none && break
4477 prog="import sys, string
4478 # split strings by '.' and convert to numeric. Append some zeros
4479 # because we need at least 4 digits for the hex conversion.
4480 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
4482 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4483 sys.exit(sys.hexversion < minverhex)"
4484 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4485 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; then
4494 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4495 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4496 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4497 if test "$am_cv_pathless_PYTHON" = none; then
4500 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4501 set dummy $am_cv_pathless_PYTHON; ac_word=$2
4502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4504 if test "${ac_cv_path_PYTHON+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
4520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 PYTHON=$ac_cv_path_PYTHON
4531 if test -n "$PYTHON"; then
4532 { echo "$as_me:$LINENO: result: $PYTHON" >&5
4533 echo "${ECHO_T}$PYTHON" >&6; }
4535 { echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6; }
4541 am_display_PYTHON=$am_cv_pathless_PYTHON
4545 if test "$PYTHON" = :; then
4546 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4547 echo "$as_me: error: no suitable Python interpreter found" >&2;}
4548 { (exit 1); exit 1; }; }
4552 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
4553 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
4554 if test "${am_cv_python_version+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
4559 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
4560 echo "${ECHO_T}$am_cv_python_version" >&6; }
4561 PYTHON_VERSION=$am_cv_python_version
4565 PYTHON_PREFIX='${prefix}'
4567 PYTHON_EXEC_PREFIX='${exec_prefix}'
4571 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
4572 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
4573 if test "${am_cv_python_platform+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
4578 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
4579 echo "${ECHO_T}$am_cv_python_platform" >&6; }
4580 PYTHON_PLATFORM=$am_cv_python_platform
4585 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
4586 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
4587 if test "${am_cv_python_pythondir+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
4591 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
4593 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
4594 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
4595 pythondir=$am_cv_python_pythondir
4599 pkgpythondir=\${pythondir}/$PACKAGE
4602 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
4603 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
4604 if test "${am_cv_python_pyexecdir+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
4608 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
4610 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
4611 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
4612 pyexecdir=$am_cv_python_pyexecdir
4616 pkgpyexecdir=\${pyexecdir}/$PACKAGE
4627 { echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4628 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6; }
4629 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 ac_cpp='$CXXCPP $CPPFLAGS'
4635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4639 cat >conftest.$ac_ext <<_ACEOF
4644 rm -f conftest.$ac_objext
4645 if { (ac_try="$ac_compile"
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4651 (eval "$ac_compile") 2>conftest.er1
4653 grep -v '^ *+' conftest.er1 >conftest.err
4655 cat conftest.err >&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } && {
4658 test -z "$ac_cxx_werror_flag" ||
4659 test ! -s conftest.err
4660 } && test -s conftest.$ac_objext; then
4661 ensc_cv_cxx_cxxcompiler=yes
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ensc_cv_cxx_cxxcompiler=no
4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678 { echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4679 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6; }
4681 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4682 ENSC_HAVE_CXX_COMPILER_TRUE=
4683 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4685 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4686 ENSC_HAVE_CXX_COMPILER_FALSE=
4690 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4691 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4692 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4699 { echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4700 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6; }
4701 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 ac_cpp='$CPP $CPPFLAGS'
4707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4711 cat >conftest.$ac_ext <<_ACEOF
4713 int main(int argc, char *argv) {
4714 struct { int x; } a = { .x = argc };
4720 rm -f conftest.$ac_objext
4721 if { (ac_try="$ac_compile"
4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727 (eval "$ac_compile") 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } && {
4734 test -z "$ac_c_werror_flag" ||
4735 test ! -s conftest.err
4736 } && test -s conftest.$ac_objext; then
4737 ensc_cv_c99_c99compiler=yes
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 ensc_cv_c99_c99compiler=no
4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 ac_cpp='$CPP $CPPFLAGS'
4748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 { echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4755 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6; }
4757 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4758 ENSC_HAVE_C99_COMPILER_TRUE=
4759 ENSC_HAVE_C99_COMPILER_FALSE='#'
4761 ENSC_HAVE_C99_COMPILER_TRUE='#'
4762 ENSC_HAVE_C99_COMPILER_FALSE=
4766 if test x"$ensc_cv_c99_c99compiler" = xno; then
4767 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4768 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4773 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy $ac_prog; ac_word=$2
4800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4802 if test "${ac_cv_path_AWK+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4807 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $ensc_searchpath
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4817 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 if test -n "$AWK"; then
4830 { echo "$as_me:$LINENO: result: $AWK" >&5
4831 echo "${ECHO_T}$AWK" >&6; }
4833 { echo "$as_me:$LINENO: result: no" >&5
4834 echo "${ECHO_T}no" >&6; }
4838 test -n "$AWK" && break
4840 test -n "$AWK" || AWK="$ensc_dflt"
4843 if test -z "${AWK}" && $rq; then
4845 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4846 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4847 { (exit 1); exit 1; }; }
4849 { { echo "$as_me:$LINENO: error:
4850 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4852 echo "$as_me: error:
4853 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4855 { (exit 1); exit 1; }; }
4859 if test -e "${AWK}"; then
4860 AWK=`readlink -f "${AWK}"`
4863 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4888 if test "${ac_cv_path_CAT+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $ensc_searchpath
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4903 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 if test -n "$CAT"; then
4916 { echo "$as_me:$LINENO: result: $CAT" >&5
4917 echo "${ECHO_T}$CAT" >&6; }
4919 { echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6; }
4924 test -n "$CAT" && break
4926 test -n "$CAT" || CAT="$ensc_dflt"
4929 if test -z "${CAT}" && $rq; then
4931 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4932 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4933 { (exit 1); exit 1; }; }
4935 { { echo "$as_me:$LINENO: error:
4936 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4938 echo "$as_me: error:
4939 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4941 { (exit 1); exit 1; }; }
4945 if test -e "${CAT}"; then
4946 CAT=`readlink -f "${CAT}"`
4949 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4968 for ac_prog in chown
4970 # Extract the first word of "$ac_prog", so it can be a program name with args.
4971 set dummy $ac_prog; ac_word=$2
4972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4974 if test "${ac_cv_path_CHOWN+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $ensc_searchpath
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4989 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 CHOWN=$ac_cv_path_CHOWN
5001 if test -n "$CHOWN"; then
5002 { echo "$as_me:$LINENO: result: $CHOWN" >&5
5003 echo "${ECHO_T}$CHOWN" >&6; }
5005 { echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6; }
5010 test -n "$CHOWN" && break
5012 test -n "$CHOWN" || CHOWN="$ensc_dflt"
5015 if test -z "${CHOWN}" && $rq; then
5017 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
5018 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5019 { (exit 1); exit 1; }; }
5021 { { echo "$as_me:$LINENO: error:
5022 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
5024 echo "$as_me: error:
5025 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
5027 { (exit 1); exit 1; }; }
5031 if test -e "${CHOWN}"; then
5032 CHOWN=`readlink -f "${CHOWN}"`
5035 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
5056 # Extract the first word of "$ac_prog", so it can be a program name with args.
5057 set dummy $ac_prog; ac_word=$2
5058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5060 if test "${ac_cv_path_CMP+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $ensc_searchpath
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$CMP"; then
5088 { echo "$as_me:$LINENO: result: $CMP" >&5
5089 echo "${ECHO_T}$CMP" >&6; }
5091 { echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6; }
5096 test -n "$CMP" && break
5098 test -n "$CMP" || CMP="$ensc_dflt"
5101 if test -z "${CMP}" && $rq; then
5103 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
5104 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5105 { (exit 1); exit 1; }; }
5107 { { echo "$as_me:$LINENO: error:
5108 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
5110 echo "$as_me: error:
5111 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
5113 { (exit 1); exit 1; }; }
5117 if test -e "${CMP}"; then
5118 CMP=`readlink -f "${CMP}"`
5121 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_path_CP+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 ac_cv_path_CP="$CP" # Let the user override the test with a path.
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $ensc_searchpath
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 if test -n "$CP"; then
5174 { echo "$as_me:$LINENO: result: $CP" >&5
5175 echo "${ECHO_T}$CP" >&6; }
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5182 test -n "$CP" && break
5184 test -n "$CP" || CP="$ensc_dflt"
5187 if test -z "${CP}" && $rq; then
5189 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
5190 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5191 { (exit 1); exit 1; }; }
5193 { { echo "$as_me:$LINENO: error:
5194 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5196 echo "$as_me: error:
5197 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5199 { (exit 1); exit 1; }; }
5203 if test -e "${CP}"; then
5204 CP=`readlink -f "${CP}"`
5207 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
5226 for ac_prog in dirname
5228 # Extract the first word of "$ac_prog", so it can be a program name with args.
5229 set dummy $ac_prog; ac_word=$2
5230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5232 if test "${ac_cv_path_DIRNAME+set}" = set; then
5233 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $ensc_searchpath
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 DIRNAME=$ac_cv_path_DIRNAME
5259 if test -n "$DIRNAME"; then
5260 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
5261 echo "${ECHO_T}$DIRNAME" >&6; }
5263 { echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6; }
5268 test -n "$DIRNAME" && break
5270 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
5273 if test -z "${DIRNAME}" && $rq; then
5275 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
5276 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5277 { (exit 1); exit 1; }; }
5279 { { echo "$as_me:$LINENO: error:
5280 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5282 echo "$as_me: error:
5283 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5285 { (exit 1); exit 1; }; }
5289 if test -e "${DIRNAME}"; then
5290 DIRNAME=`readlink -f "${DIRNAME}"`
5293 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
5312 for ac_prog in egrep
5314 # Extract the first word of "$ac_prog", so it can be a program name with args.
5315 set dummy $ac_prog; ac_word=$2
5316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5318 if test "${ac_cv_path_EGREP+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $ensc_searchpath
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 EGREP=$ac_cv_path_EGREP
5345 if test -n "$EGREP"; then
5346 { echo "$as_me:$LINENO: result: $EGREP" >&5
5347 echo "${ECHO_T}$EGREP" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5354 test -n "$EGREP" && break
5356 test -n "$EGREP" || EGREP="$ensc_dflt"
5359 if test -z "${EGREP}" && $rq; then
5361 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
5362 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5363 { (exit 1); exit 1; }; }
5365 { { echo "$as_me:$LINENO: error:
5366 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5368 echo "$as_me: error:
5369 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5371 { (exit 1); exit 1; }; }
5375 if test -e "${EGREP}"; then
5376 EGREP=`readlink -f "${EGREP}"`
5379 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
5400 # Extract the first word of "$ac_prog", so it can be a program name with args.
5401 set dummy $ac_prog; ac_word=$2
5402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5404 if test "${ac_cv_path_ENV+set}" = set; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $ensc_searchpath
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5419 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
5420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 if test -n "$ENV"; then
5432 { echo "$as_me:$LINENO: result: $ENV" >&5
5433 echo "${ECHO_T}$ENV" >&6; }
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5440 test -n "$ENV" && break
5442 test -n "$ENV" || ENV="$ensc_dflt"
5445 if test -z "${ENV}" && $rq; then
5447 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
5448 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5449 { (exit 1); exit 1; }; }
5451 { { echo "$as_me:$LINENO: error:
5452 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5454 echo "$as_me: error:
5455 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5457 { (exit 1); exit 1; }; }
5461 if test -e "${ENV}"; then
5462 ENV=`readlink -f "${ENV}"`
5465 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
5486 # Extract the first word of "$ac_prog", so it can be a program name with args.
5487 set dummy $ac_prog; ac_word=$2
5488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5490 if test "${ac_cv_path_GREP+set}" = set; then
5491 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $ensc_searchpath
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 GREP=$ac_cv_path_GREP
5517 if test -n "$GREP"; then
5518 { echo "$as_me:$LINENO: result: $GREP" >&5
5519 echo "${ECHO_T}$GREP" >&6; }
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5526 test -n "$GREP" && break
5528 test -n "$GREP" || GREP="$ensc_dflt"
5531 if test -z "${GREP}" && $rq; then
5533 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
5534 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5535 { (exit 1); exit 1; }; }
5537 { { echo "$as_me:$LINENO: error:
5538 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5540 echo "$as_me: error:
5541 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5543 { (exit 1); exit 1; }; }
5547 if test -e "${GREP}"; then
5548 GREP=`readlink -f "${GREP}"`
5551 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
5572 # Extract the first word of "$ac_prog", so it can be a program name with args.
5573 set dummy $ac_prog; ac_word=$2
5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5576 if test "${ac_cv_path_LN+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5581 ac_cv_path_LN="$LN" # Let the user override the test with a path.
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585 for as_dir in $ensc_searchpath
5588 test -z "$as_dir" && as_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5591 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
5592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 if test -n "$LN"; then
5604 { echo "$as_me:$LINENO: result: $LN" >&5
5605 echo "${ECHO_T}$LN" >&6; }
5607 { echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6; }
5612 test -n "$LN" && break
5614 test -n "$LN" || LN="$ensc_dflt"
5617 if test -z "${LN}" && $rq; then
5619 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
5620 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5621 { (exit 1); exit 1; }; }
5623 { { echo "$as_me:$LINENO: error:
5624 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5626 echo "$as_me: error:
5627 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5629 { (exit 1); exit 1; }; }
5633 if test -e "${LN}"; then
5634 LN=`readlink -f "${LN}"`
5637 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
5656 for ac_prog in mkdir
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy $ac_prog; ac_word=$2
5660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5662 if test "${ac_cv_path_MKDIR+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $ensc_searchpath
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 MKDIR=$ac_cv_path_MKDIR
5689 if test -n "$MKDIR"; then
5690 { echo "$as_me:$LINENO: result: $MKDIR" >&5
5691 echo "${ECHO_T}$MKDIR" >&6; }
5693 { echo "$as_me:$LINENO: result: no" >&5
5694 echo "${ECHO_T}no" >&6; }
5698 test -n "$MKDIR" && break
5700 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5703 if test -z "${MKDIR}" && $rq; then
5705 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5706 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5707 { (exit 1); exit 1; }; }
5709 { { echo "$as_me:$LINENO: error:
5710 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5712 echo "$as_me: error:
5713 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5715 { (exit 1); exit 1; }; }
5719 if test -e "${MKDIR}"; then
5720 MKDIR=`readlink -f "${MKDIR}"`
5723 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5742 for ac_prog in mkfifo
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy $ac_prog; ac_word=$2
5746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5748 if test "${ac_cv_path_MKFIFO+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $ensc_searchpath
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 MKFIFO=$ac_cv_path_MKFIFO
5775 if test -n "$MKFIFO"; then
5776 { echo "$as_me:$LINENO: result: $MKFIFO" >&5
5777 echo "${ECHO_T}$MKFIFO" >&6; }
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5784 test -n "$MKFIFO" && break
5786 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5789 if test -z "${MKFIFO}" && $rq; then
5791 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5792 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5793 { (exit 1); exit 1; }; }
5795 { { echo "$as_me:$LINENO: error:
5796 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5798 echo "$as_me: error:
5799 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5801 { (exit 1); exit 1; }; }
5805 if test -e "${MKFIFO}"; then
5806 MKFIFO=`readlink -f "${MKFIFO}"`
5809 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5828 for ac_prog in mktemp
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831 set dummy $ac_prog; ac_word=$2
5832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5834 if test "${ac_cv_path_MKTEMP+set}" = set; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $ensc_searchpath
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5849 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 MKTEMP=$ac_cv_path_MKTEMP
5861 if test -n "$MKTEMP"; then
5862 { echo "$as_me:$LINENO: result: $MKTEMP" >&5
5863 echo "${ECHO_T}$MKTEMP" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5870 test -n "$MKTEMP" && break
5872 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5875 if test -z "${MKTEMP}" && $rq; then
5877 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5878 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5879 { (exit 1); exit 1; }; }
5881 { { echo "$as_me:$LINENO: error:
5882 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5884 echo "$as_me: error:
5885 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5887 { (exit 1); exit 1; }; }
5891 if test -e "${MKTEMP}"; then
5892 MKTEMP=`readlink -f "${MKTEMP}"`
5895 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5914 for ac_prog in mount
5916 # Extract the first word of "$ac_prog", so it can be a program name with args.
5917 set dummy $ac_prog; ac_word=$2
5918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5920 if test "${ac_cv_path_MOUNT+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $ensc_searchpath
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 MOUNT=$ac_cv_path_MOUNT
5947 if test -n "$MOUNT"; then
5948 { echo "$as_me:$LINENO: result: $MOUNT" >&5
5949 echo "${ECHO_T}$MOUNT" >&6; }
5951 { echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6; }
5956 test -n "$MOUNT" && break
5958 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5961 if test -z "${MOUNT}" && $rq; then
5963 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5964 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5965 { (exit 1); exit 1; }; }
5967 { { echo "$as_me:$LINENO: error:
5968 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5970 echo "$as_me: error:
5971 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5973 { (exit 1); exit 1; }; }
5977 if test -e "${MOUNT}"; then
5978 MOUNT=`readlink -f "${MOUNT}"`
5981 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
6002 # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 set dummy $ac_prog; ac_word=$2
6004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6006 if test "${ac_cv_path_MV+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6011 ac_cv_path_MV="$MV" # Let the user override the test with a path.
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $ensc_searchpath
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6021 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
6022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 if test -n "$MV"; then
6034 { echo "$as_me:$LINENO: result: $MV" >&5
6035 echo "${ECHO_T}$MV" >&6; }
6037 { echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6; }
6042 test -n "$MV" && break
6044 test -n "$MV" || MV="$ensc_dflt"
6047 if test -z "${MV}" && $rq; then
6049 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
6050 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6051 { (exit 1); exit 1; }; }
6053 { { echo "$as_me:$LINENO: error:
6054 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
6056 echo "$as_me: error:
6057 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
6059 { (exit 1); exit 1; }; }
6063 if test -e "${MV}"; then
6064 MV=`readlink -f "${MV}"`
6067 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_path_NICE+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $ensc_searchpath
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 NICE=$ac_cv_path_NICE
6119 if test -n "$NICE"; then
6120 { echo "$as_me:$LINENO: result: $NICE" >&5
6121 echo "${ECHO_T}$NICE" >&6; }
6123 { echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6; }
6128 test -n "$NICE" && break
6130 test -n "$NICE" || NICE="$ensc_dflt"
6133 if test -z "${NICE}" && $rq; then
6135 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
6136 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6137 { (exit 1); exit 1; }; }
6139 { { echo "$as_me:$LINENO: error:
6140 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
6142 echo "$as_me: error:
6143 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
6145 { (exit 1); exit 1; }; }
6149 if test -e "${NICE}"; then
6150 NICE=`readlink -f "${NICE}"`
6153 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
6174 # Extract the first word of "$ac_prog", so it can be a program name with args.
6175 set dummy $ac_prog; ac_word=$2
6176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6178 if test "${ac_cv_path_PS+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 ac_cv_path_PS="$PS" # Let the user override the test with a path.
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $ensc_searchpath
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
6194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 if test -n "$PS"; then
6206 { echo "$as_me:$LINENO: result: $PS" >&5
6207 echo "${ECHO_T}$PS" >&6; }
6209 { echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6; }
6214 test -n "$PS" && break
6216 test -n "$PS" || PS="$ensc_dflt"
6219 if test -z "${PS}" && $rq; then
6221 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
6222 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6223 { (exit 1); exit 1; }; }
6225 { { echo "$as_me:$LINENO: error:
6226 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6228 echo "$as_me: error:
6229 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6231 { (exit 1); exit 1; }; }
6235 if test -e "${PS}"; then
6236 PS=`readlink -f "${PS}"`
6239 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
6260 # Extract the first word of "$ac_prog", so it can be a program name with args.
6261 set dummy $ac_prog; ac_word=$2
6262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6264 if test "${ac_cv_path_RM+set}" = set; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 ac_cv_path_RM="$RM" # Let the user override the test with a path.
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in $ensc_searchpath
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6279 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 if test -n "$RM"; then
6292 { echo "$as_me:$LINENO: result: $RM" >&5
6293 echo "${ECHO_T}$RM" >&6; }
6295 { echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6; }
6300 test -n "$RM" && break
6302 test -n "$RM" || RM="$ensc_dflt"
6305 if test -z "${RM}" && $rq; then
6307 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
6308 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6309 { (exit 1); exit 1; }; }
6311 { { echo "$as_me:$LINENO: error:
6312 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6314 echo "$as_me: error:
6315 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6317 { (exit 1); exit 1; }; }
6321 if test -e "${RM}"; then
6322 RM=`readlink -f "${RM}"`
6325 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
6344 for ac_prog in rmdir
6346 # Extract the first word of "$ac_prog", so it can be a program name with args.
6347 set dummy $ac_prog; ac_word=$2
6348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6350 if test "${ac_cv_path_RMDIR+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 for as_dir in $ensc_searchpath
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
6366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 RMDIR=$ac_cv_path_RMDIR
6377 if test -n "$RMDIR"; then
6378 { echo "$as_me:$LINENO: result: $RMDIR" >&5
6379 echo "${ECHO_T}$RMDIR" >&6; }
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6386 test -n "$RMDIR" && break
6388 test -n "$RMDIR" || RMDIR="$ensc_dflt"
6391 if test -z "${RMDIR}" && $rq; then
6393 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
6394 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6395 { (exit 1); exit 1; }; }
6397 { { echo "$as_me:$LINENO: error:
6398 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6400 echo "$as_me: error:
6401 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6403 { (exit 1); exit 1; }; }
6407 if test -e "${RMDIR}"; then
6408 RMDIR=`readlink -f "${RMDIR}"`
6411 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
6432 # Extract the first word of "$ac_prog", so it can be a program name with args.
6433 set dummy $ac_prog; ac_word=$2
6434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6436 if test "${ac_cv_path_SED+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6441 ac_cv_path_SED="$SED" # Let the user override the test with a path.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in $ensc_searchpath
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
6452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 if test -n "$SED"; then
6464 { echo "$as_me:$LINENO: result: $SED" >&5
6465 echo "${ECHO_T}$SED" >&6; }
6467 { echo "$as_me:$LINENO: result: no" >&5
6468 echo "${ECHO_T}no" >&6; }
6472 test -n "$SED" && break
6474 test -n "$SED" || SED="$ensc_dflt"
6477 if test -z "${SED}" && $rq; then
6479 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
6480 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6481 { (exit 1); exit 1; }; }
6483 { { echo "$as_me:$LINENO: error:
6484 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6486 echo "$as_me: error:
6487 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6489 { (exit 1); exit 1; }; }
6493 if test -e "${SED}"; then
6494 SED=`readlink -f "${SED}"`
6497 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
6518 # Extract the first word of "$ac_prog", so it can be a program name with args.
6519 set dummy $ac_prog; ac_word=$2
6520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6522 if test "${ac_cv_path_SH+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 ac_cv_path_SH="$SH" # Let the user override the test with a path.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 for as_dir in $ensc_searchpath
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6537 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
6538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 if test -n "$SH"; then
6550 { echo "$as_me:$LINENO: result: $SH" >&5
6551 echo "${ECHO_T}$SH" >&6; }
6553 { echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6; }
6558 test -n "$SH" && break
6560 test -n "$SH" || SH="$ensc_dflt"
6563 if test -z "${SH}" && $rq; then
6565 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
6566 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6567 { (exit 1); exit 1; }; }
6569 { { echo "$as_me:$LINENO: error:
6570 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6572 echo "$as_me: error:
6573 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6575 { (exit 1); exit 1; }; }
6579 if test -e "${SH}"; then
6580 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 -e "${TAC}"; then
6666 TAC=`readlink -f "${TAC}"`
6669 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
6690 # Extract the first word of "$ac_prog", so it can be a program name with args.
6691 set dummy $ac_prog; ac_word=$2
6692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6694 if test "${ac_cv_path_TAR+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6699 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $ensc_searchpath
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6709 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 if test -n "$TAR"; then
6722 { echo "$as_me:$LINENO: result: $TAR" >&5
6723 echo "${ECHO_T}$TAR" >&6; }
6725 { echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6; }
6730 test -n "$TAR" && break
6732 test -n "$TAR" || TAR="$ensc_dflt"
6735 if test -z "${TAR}" && $rq; then
6737 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6738 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6739 { (exit 1); exit 1; }; }
6741 { { echo "$as_me:$LINENO: error:
6742 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6744 echo "$as_me: error:
6745 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6747 { (exit 1); exit 1; }; }
6751 if test -e "${TAR}"; then
6752 TAR=`readlink -f "${TAR}"`
6755 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6774 for ac_prog in touch
6776 # Extract the first word of "$ac_prog", so it can be a program name with args.
6777 set dummy $ac_prog; ac_word=$2
6778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6780 if test "${ac_cv_path_TOUCH+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $ensc_searchpath
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6795 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 TOUCH=$ac_cv_path_TOUCH
6807 if test -n "$TOUCH"; then
6808 { echo "$as_me:$LINENO: result: $TOUCH" >&5
6809 echo "${ECHO_T}$TOUCH" >&6; }
6811 { echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6; }
6816 test -n "$TOUCH" && break
6818 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6821 if test -z "${TOUCH}" && $rq; then
6823 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6824 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6825 { (exit 1); exit 1; }; }
6827 { { echo "$as_me:$LINENO: error:
6828 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6830 echo "$as_me: error:
6831 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6833 { (exit 1); exit 1; }; }
6837 if test -e "${TOUCH}"; then
6838 TOUCH=`readlink -f "${TOUCH}"`
6841 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6862 # Extract the first word of "$ac_prog", so it can be a program name with args.
6863 set dummy $ac_prog; ac_word=$2
6864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6866 if test "${ac_cv_path_TTY+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $ensc_searchpath
6878 test -z "$as_dir" && as_dir=.
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6881 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 if test -n "$TTY"; then
6894 { echo "$as_me:$LINENO: result: $TTY" >&5
6895 echo "${ECHO_T}$TTY" >&6; }
6897 { echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6; }
6902 test -n "$TTY" && break
6904 test -n "$TTY" || TTY="$ensc_dflt"
6907 if test -z "${TTY}" && $rq; then
6909 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6910 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6911 { (exit 1); exit 1; }; }
6913 { { echo "$as_me:$LINENO: error:
6914 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6916 echo "$as_me: error:
6917 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6919 { (exit 1); exit 1; }; }
6923 if test -e "${TTY}"; then
6924 TTY=`readlink -f "${TTY}"`
6927 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6946 for ac_prog in umount
6948 # Extract the first word of "$ac_prog", so it can be a program name with args.
6949 set dummy $ac_prog; ac_word=$2
6950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6952 if test "${ac_cv_path_UMOUNT+set}" = set; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6957 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961 for as_dir in $ensc_searchpath
6964 test -z "$as_dir" && as_dir=.
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6967 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 UMOUNT=$ac_cv_path_UMOUNT
6979 if test -n "$UMOUNT"; then
6980 { echo "$as_me:$LINENO: result: $UMOUNT" >&5
6981 echo "${ECHO_T}$UMOUNT" >&6; }
6983 { echo "$as_me:$LINENO: result: no" >&5
6984 echo "${ECHO_T}no" >&6; }
6988 test -n "$UMOUNT" && break
6990 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6993 if test -z "${UMOUNT}" && $rq; then
6995 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6996 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6997 { (exit 1); exit 1; }; }
6999 { { echo "$as_me:$LINENO: error:
7000 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
7002 echo "$as_me: error:
7003 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
7005 { (exit 1); exit 1; }; }
7009 if test -e "${UMOUNT}"; then
7010 UMOUNT=`readlink -f "${UMOUNT}"`
7013 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
7034 # Extract the first word of "$ac_prog", so it can be a program name with args.
7035 set dummy $ac_prog; ac_word=$2
7036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7038 if test "${ac_cv_path_WC+set}" = set; then
7039 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 ac_cv_path_WC="$WC" # Let the user override the test with a path.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $ensc_searchpath
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
7054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7065 if test -n "$WC"; then
7066 { echo "$as_me:$LINENO: result: $WC" >&5
7067 echo "${ECHO_T}$WC" >&6; }
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7074 test -n "$WC" && break
7076 test -n "$WC" || WC="$ensc_dflt"
7079 if test -z "${WC}" && $rq; then
7081 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
7082 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7083 { (exit 1); exit 1; }; }
7085 { { echo "$as_me:$LINENO: error:
7086 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
7088 echo "$as_me: error:
7089 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
7091 { (exit 1); exit 1; }; }
7095 if test -e "${WC}"; then
7096 WC=`readlink -f "${WC}"`
7099 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
7122 # Extract the first word of "$ac_prog", so it can be a program name with args.
7123 set dummy $ac_prog; ac_word=$2
7124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7126 if test "${ac_cv_path_IP+set}" = set; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7131 ac_cv_path_IP="$IP" # Let the user override the test with a path.
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $ensc_searchpath
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7141 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
7142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 if test -n "$IP"; then
7154 { echo "$as_me:$LINENO: result: $IP" >&5
7155 echo "${ECHO_T}$IP" >&6; }
7157 { echo "$as_me:$LINENO: result: no" >&5
7158 echo "${ECHO_T}no" >&6; }
7162 test -n "$IP" && break
7164 test -n "$IP" || IP="$ensc_dflt"
7167 if test -z "${IP}" && $rq; then
7168 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
7169 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
7170 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7171 { (exit 1); exit 1; }; }
7173 { { echo "$as_me:$LINENO: error:
7174 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
7175 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
7176 echo "$as_me: error:
7177 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
7178 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
7179 { (exit 1); exit 1; }; }
7183 if test -e "${IP}"; then
7184 IP=`readlink -f "${IP}"`
7187 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
7206 for ac_prog in iptables
7208 # Extract the first word of "$ac_prog", so it can be a program name with args.
7209 set dummy $ac_prog; ac_word=$2
7210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7212 if test "${ac_cv_path_IPTABLES+set}" = set; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $ensc_searchpath
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7227 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
7228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 IPTABLES=$ac_cv_path_IPTABLES
7239 if test -n "$IPTABLES"; then
7240 { echo "$as_me:$LINENO: result: $IPTABLES" >&5
7241 echo "${ECHO_T}$IPTABLES" >&6; }
7243 { echo "$as_me:$LINENO: result: no" >&5
7244 echo "${ECHO_T}no" >&6; }
7248 test -n "$IPTABLES" && break
7250 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
7253 if test -z "${IPTABLES}" && $rq; then
7255 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
7256 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7257 { (exit 1); exit 1; }; }
7259 { { echo "$as_me:$LINENO: error:
7260 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7262 echo "$as_me: error:
7263 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7265 { (exit 1); exit 1; }; }
7269 if test -e "${IPTABLES}"; then
7270 IPTABLES=`readlink -f "${IPTABLES}"`
7273 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
7292 for ac_prog in modprobe
7294 # Extract the first word of "$ac_prog", so it can be a program name with args.
7295 set dummy $ac_prog; ac_word=$2
7296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7298 if test "${ac_cv_path_MODPROBE+set}" = set; then
7299 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $ensc_searchpath
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
7314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 MODPROBE=$ac_cv_path_MODPROBE
7325 if test -n "$MODPROBE"; then
7326 { echo "$as_me:$LINENO: result: $MODPROBE" >&5
7327 echo "${ECHO_T}$MODPROBE" >&6; }
7329 { echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6; }
7334 test -n "$MODPROBE" && break
7336 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
7339 if test -z "${MODPROBE}" && $rq; then
7341 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
7342 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7343 { (exit 1); exit 1; }; }
7345 { { echo "$as_me:$LINENO: error:
7346 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7348 echo "$as_me: error:
7349 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7351 { (exit 1); exit 1; }; }
7355 if test -e "${MODPROBE}"; then
7356 MODPROBE=`readlink -f "${MODPROBE}"`
7359 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
7378 for ac_prog in nameif
7380 # Extract the first word of "$ac_prog", so it can be a program name with args.
7381 set dummy $ac_prog; ac_word=$2
7382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7384 if test "${ac_cv_path_NAMEIF+set}" = set; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $ensc_searchpath
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
7400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7410 NAMEIF=$ac_cv_path_NAMEIF
7411 if test -n "$NAMEIF"; then
7412 { echo "$as_me:$LINENO: result: $NAMEIF" >&5
7413 echo "${ECHO_T}$NAMEIF" >&6; }
7415 { echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6; }
7420 test -n "$NAMEIF" && break
7422 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
7425 if test -z "${NAMEIF}" && $rq; then
7427 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
7428 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7429 { (exit 1); exit 1; }; }
7431 { { echo "$as_me:$LINENO: error:
7432 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7434 echo "$as_me: error:
7435 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7437 { (exit 1); exit 1; }; }
7441 if test -e "${NAMEIF}"; then
7442 NAMEIF=`readlink -f "${NAMEIF}"`
7445 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
7464 for ac_prog in nohup
7466 # Extract the first word of "$ac_prog", so it can be a program name with args.
7467 set dummy $ac_prog; ac_word=$2
7468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7470 if test "${ac_cv_path_NOHUP+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $ensc_searchpath
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
7486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 NOHUP=$ac_cv_path_NOHUP
7497 if test -n "$NOHUP"; then
7498 { echo "$as_me:$LINENO: result: $NOHUP" >&5
7499 echo "${ECHO_T}$NOHUP" >&6; }
7501 { echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6; }
7506 test -n "$NOHUP" && break
7508 test -n "$NOHUP" || NOHUP="$ensc_dflt"
7511 if test -z "${NOHUP}" && $rq; then
7513 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
7514 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7515 { (exit 1); exit 1; }; }
7517 { { echo "$as_me:$LINENO: error:
7518 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7520 echo "$as_me: error:
7521 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7523 { (exit 1); exit 1; }; }
7527 if test -e "${NOHUP}"; then
7528 NOHUP=`readlink -f "${NOHUP}"`
7531 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
7550 for ac_prog in rmmod
7552 # Extract the first word of "$ac_prog", so it can be a program name with args.
7553 set dummy $ac_prog; ac_word=$2
7554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7556 if test "${ac_cv_path_RMMOD+set}" = set; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 for as_dir in $ensc_searchpath
7568 test -z "$as_dir" && as_dir=.
7569 for ac_exec_ext in '' $ac_executable_extensions; do
7570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
7572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 RMMOD=$ac_cv_path_RMMOD
7583 if test -n "$RMMOD"; then
7584 { echo "$as_me:$LINENO: result: $RMMOD" >&5
7585 echo "${ECHO_T}$RMMOD" >&6; }
7587 { echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6; }
7592 test -n "$RMMOD" && break
7594 test -n "$RMMOD" || RMMOD="$ensc_dflt"
7597 if test -z "${RMMOD}" && $rq; then
7599 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
7600 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7601 { (exit 1); exit 1; }; }
7603 { { echo "$as_me:$LINENO: error:
7604 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7606 echo "$as_me: error:
7607 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7609 { (exit 1); exit 1; }; }
7613 if test -e "${RMMOD}"; then
7614 RMMOD=`readlink -f "${RMMOD}"`
7617 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
7636 for ac_prog in vconfig
7638 # Extract the first word of "$ac_prog", so it can be a program name with args.
7639 set dummy $ac_prog; ac_word=$2
7640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7642 if test "${ac_cv_path_VCONFIG+set}" = set; then
7643 echo $ECHO_N "(cached) $ECHO_C" >&6
7647 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $ensc_searchpath
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
7658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7668 VCONFIG=$ac_cv_path_VCONFIG
7669 if test -n "$VCONFIG"; then
7670 { echo "$as_me:$LINENO: result: $VCONFIG" >&5
7671 echo "${ECHO_T}$VCONFIG" >&6; }
7673 { echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6; }
7678 test -n "$VCONFIG" && break
7680 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
7683 if test -z "${VCONFIG}" && $rq; then
7684 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
7685 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
7686 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7687 { (exit 1); exit 1; }; }
7689 { { echo "$as_me:$LINENO: error:
7690 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7691 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
7692 echo "$as_me: error:
7693 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7694 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
7695 { (exit 1); exit 1; }; }
7699 if test -e "${VCONFIG}"; then
7700 VCONFIG=`readlink -f "${VCONFIG}"`
7703 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
7724 # Extract the first word of "$ac_prog", so it can be a program name with args.
7725 set dummy $ac_prog; ac_word=$2
7726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7728 if test "${ac_cv_path_WGET+set}" = set; then
7729 echo $ECHO_N "(cached) $ECHO_C" >&6
7733 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 for as_dir in $ensc_searchpath
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7743 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
7744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7754 WGET=$ac_cv_path_WGET
7755 if test -n "$WGET"; then
7756 { echo "$as_me:$LINENO: result: $WGET" >&5
7757 echo "${ECHO_T}$WGET" >&6; }
7759 { echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6; }
7764 test -n "$WGET" && break
7766 test -n "$WGET" || WGET="$ensc_dflt"
7769 if test -z "${WGET}" && $rq; then
7771 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
7772 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7773 { (exit 1); exit 1; }; }
7775 { { echo "$as_me:$LINENO: error:
7776 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7778 echo "$as_me: error:
7779 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7781 { (exit 1); exit 1; }; }
7785 if test -e "${WGET}"; then
7786 WGET=`readlink -f "${WGET}"`
7789 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7796 if test -z "file"; then
7810 # Extract the first word of "$ac_prog", so it can be a program name with args.
7811 set dummy $ac_prog; ac_word=$2
7812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7814 if test "${ac_cv_path_FILE+set}" = set; then
7815 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $ensc_searchpath
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
7830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 FILE=$ac_cv_path_FILE
7841 if test -n "$FILE"; then
7842 { echo "$as_me:$LINENO: result: $FILE" >&5
7843 echo "${ECHO_T}$FILE" >&6; }
7845 { echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6; }
7850 test -n "$FILE" && break
7852 test -n "$FILE" || FILE="$ensc_dflt"
7855 if test -z "${FILE}" && $rq; then
7857 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
7858 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7859 { (exit 1); exit 1; }; }
7861 { { echo "$as_me:$LINENO: error:
7862 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7864 echo "$as_me: error:
7865 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7867 { (exit 1); exit 1; }; }
7871 if test -e "${FILE}"; then
7872 FILE=`readlink -f "${FILE}"`
7875 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
7882 if test -z "gzip"; then
7896 # Extract the first word of "$ac_prog", so it can be a program name with args.
7897 set dummy $ac_prog; ac_word=$2
7898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7900 if test "${ac_cv_path_GZIP+set}" = set; then
7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7905 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 for as_dir in $ensc_searchpath
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7915 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
7916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7926 GZIP=$ac_cv_path_GZIP
7927 if test -n "$GZIP"; then
7928 { echo "$as_me:$LINENO: result: $GZIP" >&5
7929 echo "${ECHO_T}$GZIP" >&6; }
7931 { echo "$as_me:$LINENO: result: no" >&5
7932 echo "${ECHO_T}no" >&6; }
7936 test -n "$GZIP" && break
7938 test -n "$GZIP" || GZIP="$ensc_dflt"
7941 if test -z "${GZIP}" && $rq; then
7943 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
7944 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7945 { (exit 1); exit 1; }; }
7947 { { echo "$as_me:$LINENO: error:
7948 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7950 echo "$as_me: error:
7951 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7953 { (exit 1); exit 1; }; }
7957 if test -e "${GZIP}"; then
7958 GZIP=`readlink -f "${GZIP}"`
7961 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
7968 if test -z "bzip2"; then
7980 for ac_prog in bzip2
7982 # Extract the first word of "$ac_prog", so it can be a program name with args.
7983 set dummy $ac_prog; ac_word=$2
7984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7986 if test "${ac_cv_path_BZIP2+set}" = set; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7991 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 for as_dir in $ensc_searchpath
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8012 BZIP2=$ac_cv_path_BZIP2
8013 if test -n "$BZIP2"; then
8014 { echo "$as_me:$LINENO: result: $BZIP2" >&5
8015 echo "${ECHO_T}$BZIP2" >&6; }
8017 { echo "$as_me:$LINENO: result: no" >&5
8018 echo "${ECHO_T}no" >&6; }
8022 test -n "$BZIP2" && break
8024 test -n "$BZIP2" || BZIP2="$ensc_dflt"
8027 if test -z "${BZIP2}" && $rq; then
8029 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
8030 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8031 { (exit 1); exit 1; }; }
8033 { { echo "$as_me:$LINENO: error:
8034 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
8036 echo "$as_me: error:
8037 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
8039 { (exit 1); exit 1; }; }
8043 if test -e "${BZIP2}"; then
8044 BZIP2=`readlink -f "${BZIP2}"`
8047 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
8054 if test -z "cpio"; then
8068 # Extract the first word of "$ac_prog", so it can be a program name with args.
8069 set dummy $ac_prog; ac_word=$2
8070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8072 if test "${ac_cv_path_CPIO+set}" = set; then
8073 echo $ECHO_N "(cached) $ECHO_C" >&6
8077 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 for as_dir in $ensc_searchpath
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8087 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
8088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8098 CPIO=$ac_cv_path_CPIO
8099 if test -n "$CPIO"; then
8100 { echo "$as_me:$LINENO: result: $CPIO" >&5
8101 echo "${ECHO_T}$CPIO" >&6; }
8103 { echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6; }
8108 test -n "$CPIO" && break
8110 test -n "$CPIO" || CPIO="$ensc_dflt"
8113 if test -z "${CPIO}" && $rq; then
8115 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
8116 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8117 { (exit 1); exit 1; }; }
8119 { { echo "$as_me:$LINENO: error:
8120 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
8122 echo "$as_me: error:
8123 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
8125 { (exit 1); exit 1; }; }
8129 if test -e "${CPIO}"; then
8130 CPIO=`readlink -f "${CPIO}"`
8133 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
8140 if test -z "restore"; then
8152 for ac_prog in restore
8154 # Extract the first word of "$ac_prog", so it can be a program name with args.
8155 set dummy $ac_prog; ac_word=$2
8156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8158 if test "${ac_cv_path_RESTORE+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8167 for as_dir in $ensc_searchpath
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8173 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
8174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8184 RESTORE=$ac_cv_path_RESTORE
8185 if test -n "$RESTORE"; then
8186 { echo "$as_me:$LINENO: result: $RESTORE" >&5
8187 echo "${ECHO_T}$RESTORE" >&6; }
8189 { echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6; }
8194 test -n "$RESTORE" && break
8196 test -n "$RESTORE" || RESTORE="$ensc_dflt"
8199 if test -z "${RESTORE}" && $rq; then
8201 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
8202 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8203 { (exit 1); exit 1; }; }
8205 { { echo "$as_me:$LINENO: error:
8206 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8208 echo "$as_me: error:
8209 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8211 { (exit 1); exit 1; }; }
8215 if test -e "${RESTORE}"; then
8216 RESTORE=`readlink -f "${RESTORE}"`
8219 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
8226 if test -z "rsync"; then
8238 for ac_prog in rsync
8240 # Extract the first word of "$ac_prog", so it can be a program name with args.
8241 set dummy $ac_prog; ac_word=$2
8242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8244 if test "${ac_cv_path_RSYNC+set}" = set; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $ensc_searchpath
8256 test -z "$as_dir" && as_dir=.
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8259 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
8260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 RSYNC=$ac_cv_path_RSYNC
8271 if test -n "$RSYNC"; then
8272 { echo "$as_me:$LINENO: result: $RSYNC" >&5
8273 echo "${ECHO_T}$RSYNC" >&6; }
8275 { echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6; }
8280 test -n "$RSYNC" && break
8282 test -n "$RSYNC" || RSYNC="$ensc_dflt"
8285 if test -z "${RSYNC}" && $rq; then
8287 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
8288 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8289 { (exit 1); exit 1; }; }
8291 { { echo "$as_me:$LINENO: error:
8292 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8294 echo "$as_me: error:
8295 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8297 { (exit 1); exit 1; }; }
8301 if test -e "${RSYNC}"; then
8302 RSYNC=`readlink -f "${RSYNC}"`
8305 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
8312 if test -z "strace"; then
8324 for ac_prog in strace
8326 # Extract the first word of "$ac_prog", so it can be a program name with args.
8327 set dummy $ac_prog; ac_word=$2
8328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8330 if test "${ac_cv_path_STRACE+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8335 ac_cv_path_STRACE="$STRACE" # Let the user override the test with a path.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in $ensc_searchpath
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_path_STRACE="$as_dir/$ac_word$ac_exec_ext"
8346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8356 STRACE=$ac_cv_path_STRACE
8357 if test -n "$STRACE"; then
8358 { echo "$as_me:$LINENO: result: $STRACE" >&5
8359 echo "${ECHO_T}$STRACE" >&6; }
8361 { echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6; }
8366 test -n "$STRACE" && break
8368 test -n "$STRACE" || STRACE="$ensc_dflt"
8371 if test -z "${STRACE}" && $rq; then
8373 { { echo "$as_me:$LINENO: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&5
8374 echo "$as_me: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8375 { (exit 1); exit 1; }; }
8377 { { echo "$as_me:$LINENO: error:
8378 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8380 echo "$as_me: error:
8381 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8383 { (exit 1); exit 1; }; }
8387 if test -e "${STRACE}"; then
8388 STRACE=`readlink -f "${STRACE}"`
8391 test "${STRACE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'STRACE'@!${STRACE}!g;"
8399 if test -z ":"; then
8411 for ac_prog in doxygen
8413 # Extract the first word of "$ac_prog", so it can be a program name with args.
8414 set dummy $ac_prog; ac_word=$2
8415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8417 if test "${ac_cv_path_DOXYGEN+set}" = set; then
8418 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 for as_dir in $ensc_searchpath
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8443 DOXYGEN=$ac_cv_path_DOXYGEN
8444 if test -n "$DOXYGEN"; then
8445 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8446 echo "${ECHO_T}$DOXYGEN" >&6; }
8448 { echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6; }
8453 test -n "$DOXYGEN" && break
8455 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
8458 if test -z "${DOXYGEN}" && $rq; then
8460 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
8461 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8462 { (exit 1); exit 1; }; }
8464 { { echo "$as_me:$LINENO: error:
8465 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8467 echo "$as_me: error:
8468 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8470 { (exit 1); exit 1; }; }
8474 if test -e "${DOXYGEN}"; then
8475 DOXYGEN=`readlink -f "${DOXYGEN}"`
8478 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
8485 if test -z ":"; then
8497 for ac_prog in xsltp
8499 # Extract the first word of "$ac_prog", so it can be a program name with args.
8500 set dummy $ac_prog; ac_word=$2
8501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8503 if test "${ac_cv_path_XSLTP+set}" = set; then
8504 echo $ECHO_N "(cached) $ECHO_C" >&6
8508 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
8511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 for as_dir in $ensc_searchpath
8515 test -z "$as_dir" && as_dir=.
8516 for ac_exec_ext in '' $ac_executable_extensions; do
8517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8518 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
8519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8529 XSLTP=$ac_cv_path_XSLTP
8530 if test -n "$XSLTP"; then
8531 { echo "$as_me:$LINENO: result: $XSLTP" >&5
8532 echo "${ECHO_T}$XSLTP" >&6; }
8534 { echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6; }
8539 test -n "$XSLTP" && break
8541 test -n "$XSLTP" || XSLTP="$ensc_dflt"
8544 if test -z "${XSLTP}" && $rq; then
8546 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
8547 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8548 { (exit 1); exit 1; }; }
8550 { { echo "$as_me:$LINENO: error:
8551 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8553 echo "$as_me: error:
8554 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8556 { (exit 1); exit 1; }; }
8560 if test -e "${XSLTP}"; then
8561 XSLTP=`readlink -f "${XSLTP}"`
8564 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
8571 if test -z ":"; then
8583 for ac_prog in xsltproc
8585 # Extract the first word of "$ac_prog", so it can be a program name with args.
8586 set dummy $ac_prog; ac_word=$2
8587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8589 if test "${ac_cv_path_XSLTPROC+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8594 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
8597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 for as_dir in $ensc_searchpath
8601 test -z "$as_dir" && as_dir=.
8602 for ac_exec_ext in '' $ac_executable_extensions; do
8603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8604 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
8605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8615 XSLTPROC=$ac_cv_path_XSLTPROC
8616 if test -n "$XSLTPROC"; then
8617 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
8618 echo "${ECHO_T}$XSLTPROC" >&6; }
8620 { echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6; }
8625 test -n "$XSLTPROC" && break
8627 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
8630 if test -z "${XSLTPROC}" && $rq; then
8632 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
8633 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8634 { (exit 1); exit 1; }; }
8636 { { echo "$as_me:$LINENO: error:
8637 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8639 echo "$as_me: error:
8640 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8642 { (exit 1); exit 1; }; }
8646 if test -e "${XSLTPROC}"; then
8647 XSLTPROC=`readlink -f "${XSLTPROC}"`
8650 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
8655 if test "$XSLTP" != ':'; then
8657 HAVE_XSLTP_FALSE='#'
8663 if test "$XSLTPROC" != ':'; then
8665 HAVE_XSLTPROC_FALSE='#'
8667 HAVE_XSLTPROC_TRUE='#'
8668 HAVE_XSLTPROC_FALSE=
8672 if test x"$prefix" = x/; then
8678 warn_flags="-Werror -W"
8679 { echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
8680 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8682 ac_cpp='$CPP $CPPFLAGS'
8683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8687 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
8688 CFLAGS="$warn_flags"
8689 cat >conftest.$ac_ext <<_ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8695 inline static void f(){}
8704 rm -f conftest.$ac_objext
8705 if { (ac_try="$ac_compile"
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_compile") 2>conftest.er1
8713 grep -v '^ *+' conftest.er1 >conftest.err
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest.$ac_objext; then
8721 ensc_sys_compilerwarnflags_C=${warn_flags}
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8726 ensc_sys_compilerwarnflags_C=
8729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8731 ac_cpp='$CPP $CPPFLAGS'
8732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8736 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8738 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
8739 { echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6; }
8742 { echo "$as_me:$LINENO: result: yes" >&5
8743 echo "${ECHO_T}yes" >&6; }
8750 echo 'void f(){}' > conftest.c
8751 for i in -std=c99 -Wall -pedantic -W
8753 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8754 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8755 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8757 CFLAGS="${CFLAGS} $i"
8758 { echo "$as_me:$LINENO: result: yes" >&5
8759 echo "${ECHO_T}yes" >&6; }
8761 { echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6; }
8765 rm -f conftest.c conftest.o
8769 warn_flags="-Werror -W"
8770 { echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
8771 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8773 ac_cpp='$CXXCPP $CPPFLAGS'
8774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8778 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
8779 CXXFLAGS="$warn_flags"
8780 cat >conftest.$ac_ext <<_ACEOF
8783 cat confdefs.h >>conftest.$ac_ext
8784 cat >>conftest.$ac_ext <<_ACEOF
8785 /* end confdefs.h. */
8786 inline static void f(){}
8795 rm -f conftest.$ac_objext
8796 if { (ac_try="$ac_compile"
8798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8799 *) ac_try_echo=$ac_try;;
8801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8802 (eval "$ac_compile") 2>conftest.er1
8804 grep -v '^ *+' conftest.er1 >conftest.err
8806 cat conftest.err >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); } && {
8809 test -z "$ac_cxx_werror_flag" ||
8810 test ! -s conftest.err
8811 } && test -s conftest.$ac_objext; then
8812 ensc_sys_compilerwarnflags_CXX=${warn_flags}
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8817 ensc_sys_compilerwarnflags_CXX=
8820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8822 ac_cpp='$CPP $CPPFLAGS'
8823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8827 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8829 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
8830 { echo "$as_me:$LINENO: result: no" >&5
8831 echo "${ECHO_T}no" >&6; }
8833 { echo "$as_me:$LINENO: result: yes" >&5
8834 echo "${ECHO_T}yes" >&6; }
8841 echo 'void f(){}' > conftest.cc
8842 for i in -ansi -Wall -pedantic -W -fmessage-length=0
8844 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8845 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
8846 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8848 CXXFLAGS="${CXXFLAGS} $i"
8849 { echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6; }
8852 { echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6; }
8856 rm -f conftest.cc conftest.o
8859 { echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
8860 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6; }
8861 # Check whether --enable-extra-optimizations was given.
8862 if test "${enable_extra_optimizations+set}" = set; then
8863 enableval=$enable_extra_optimizations; case "$enableval" in
8864 (yes) use_extra_optimizations=1;;
8865 (no) use_extra_optimizations=;;
8866 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
8867 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
8868 { (exit 1); exit 1; }; };;
8871 use_extra_optimizations=1
8875 if test x"$use_extra_optimizations" = x; then
8876 { echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6; }
8879 { echo "$as_me:$LINENO: result: yes" >&5
8880 echo "${ECHO_T}yes" >&6; }
8884 echo 'void f(){}' > conftest.c
8885 for i in -funit-at-a-time
8887 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8888 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8889 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8891 CFLAGS="${CFLAGS} $i"
8892 { echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6; }
8895 { echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6; }
8899 rm -f conftest.c conftest.o
8904 echo 'void f(){}' > conftest.cc
8905 for i in -funit-at-a-time
8907 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8908 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
8909 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8911 CXXFLAGS="${CXXFLAGS} $i"
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8919 rm -f conftest.cc conftest.o
8923 { echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
8924 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6; }
8925 # Check whether --enable-lib-debug was given.
8926 if test "${enable_lib_debug+set}" = set; then
8927 enableval=$enable_lib_debug; case "$enableval" in
8928 (yes) use_lib_debug=1;;
8929 (no) use_lib_debug=;;
8930 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
8931 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
8932 { (exit 1); exit 1; }; };;
8939 if test x"$use_lib_debug" = x; then
8940 LIB_DEBUG_CPPFLAGS=-DNDEBUG
8942 { echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6; }
8946 { echo "$as_me:$LINENO: result: yes" >&5
8947 echo "${ECHO_T}yes" >&6; }
8950 { echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
8951 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6; }
8952 # Check whether --enable-expensive-tests was given.
8953 if test "${enable_expensive_tests+set}" = set; then
8954 enableval=$enable_expensive_tests; case "$enableval" in
8955 (yes|no) use_expensive_tests=$enableval;;
8956 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
8957 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
8958 { (exit 1); exit 1; }; };;
8961 use_expensive_tests=no
8964 { echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
8965 echo "${ECHO_T}$use_expensive_tests" >&6; }
8967 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
8972 { echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
8973 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6; }
8974 { echo "$as_me:$LINENO: result: " >&5
8975 echo "${ECHO_T}" >&6; }
8978 ac_cpp='$CPP $CPPFLAGS'
8979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8983 { echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
8984 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6; }
8985 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 cat >conftest.$ac_ext <<_ACEOF
8991 cat confdefs.h >>conftest.$ac_ext
8992 cat >>conftest.$ac_ext <<_ACEOF
8993 /* end confdefs.h. */
8995 #include <linux/personality.h>
9001 #ifndef MMAP_PAGE_ZERO
9002 (void) MMAP_PAGE_ZERO;
9009 rm -f conftest.$ac_objext
9010 if { (ac_try="$ac_compile"
9012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9013 *) ac_try_echo=$ac_try;;
9015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9016 (eval "$ac_compile") 2>conftest.er1
9018 grep -v '^ *+' conftest.er1 >conftest.err
9020 cat conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); } && {
9023 test -z "$ac_c_werror_flag" ||
9024 test ! -s conftest.err
9025 } && test -s conftest.$ac_objext; then
9026 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9031 ac_cv_have_decl_MMAP_PAGE_ZERO=no
9034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9036 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
9037 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6; }
9038 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
9040 cat >>confdefs.h <<_ACEOF
9041 #define HAVE_DECL_MMAP_PAGE_ZERO 1
9046 cat >>confdefs.h <<_ACEOF
9047 #define HAVE_DECL_MMAP_PAGE_ZERO 0
9052 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
9053 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6; }
9054 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 cat >conftest.$ac_ext <<_ACEOF
9060 cat confdefs.h >>conftest.$ac_ext
9061 cat >>conftest.$ac_ext <<_ACEOF
9062 /* end confdefs.h. */
9064 #include <linux/personality.h>
9070 #ifndef ADDR_LIMIT_32BIT
9071 (void) ADDR_LIMIT_32BIT;
9078 rm -f conftest.$ac_objext
9079 if { (ac_try="$ac_compile"
9081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9082 *) ac_try_echo=$ac_try;;
9084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9085 (eval "$ac_compile") 2>conftest.er1
9087 grep -v '^ *+' conftest.er1 >conftest.err
9089 cat conftest.err >&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); } && {
9092 test -z "$ac_c_werror_flag" ||
9093 test ! -s conftest.err
9094 } && test -s conftest.$ac_objext; then
9095 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
9097 echo "$as_me: failed program was:" >&5
9098 sed 's/^/| /' conftest.$ac_ext >&5
9100 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
9103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9105 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
9106 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6; }
9107 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
9109 cat >>confdefs.h <<_ACEOF
9110 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
9115 cat >>confdefs.h <<_ACEOF
9116 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
9121 { echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
9122 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6; }
9123 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
9124 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 cat >conftest.$ac_ext <<_ACEOF
9129 cat confdefs.h >>conftest.$ac_ext
9130 cat >>conftest.$ac_ext <<_ACEOF
9131 /* end confdefs.h. */
9133 #include <linux/personality.h>
9147 rm -f conftest.$ac_objext
9148 if { (ac_try="$ac_compile"
9150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9151 *) ac_try_echo=$ac_try;;
9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9154 (eval "$ac_compile") 2>conftest.er1
9156 grep -v '^ *+' conftest.er1 >conftest.err
9158 cat conftest.err >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } && {
9161 test -z "$ac_c_werror_flag" ||
9162 test ! -s conftest.err
9163 } && test -s conftest.$ac_objext; then
9164 ac_cv_have_decl_SHORT_INODE=yes
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9169 ac_cv_have_decl_SHORT_INODE=no
9172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9174 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
9175 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6; }
9176 if test $ac_cv_have_decl_SHORT_INODE = yes; then
9178 cat >>confdefs.h <<_ACEOF
9179 #define HAVE_DECL_SHORT_INODE 1
9184 cat >>confdefs.h <<_ACEOF
9185 #define HAVE_DECL_SHORT_INODE 0
9190 { echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
9191 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6; }
9192 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
9193 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 cat >conftest.$ac_ext <<_ACEOF
9198 cat confdefs.h >>conftest.$ac_ext
9199 cat >>conftest.$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9202 #include <linux/personality.h>
9208 #ifndef WHOLE_SECONDS
9209 (void) WHOLE_SECONDS;
9216 rm -f conftest.$ac_objext
9217 if { (ac_try="$ac_compile"
9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9220 *) ac_try_echo=$ac_try;;
9222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9223 (eval "$ac_compile") 2>conftest.er1
9225 grep -v '^ *+' conftest.er1 >conftest.err
9227 cat conftest.err >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); } && {
9230 test -z "$ac_c_werror_flag" ||
9231 test ! -s conftest.err
9232 } && test -s conftest.$ac_objext; then
9233 ac_cv_have_decl_WHOLE_SECONDS=yes
9235 echo "$as_me: failed program was:" >&5
9236 sed 's/^/| /' conftest.$ac_ext >&5
9238 ac_cv_have_decl_WHOLE_SECONDS=no
9241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9243 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
9244 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6; }
9245 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
9247 cat >>confdefs.h <<_ACEOF
9248 #define HAVE_DECL_WHOLE_SECONDS 1
9253 cat >>confdefs.h <<_ACEOF
9254 #define HAVE_DECL_WHOLE_SECONDS 0
9259 { echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
9260 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6; }
9261 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
9262 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 cat >conftest.$ac_ext <<_ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9271 #include <linux/personality.h>
9277 #ifndef STICKY_TIMEOUTS
9278 (void) STICKY_TIMEOUTS;
9285 rm -f conftest.$ac_objext
9286 if { (ac_try="$ac_compile"
9288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9289 *) ac_try_echo=$ac_try;;
9291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9292 (eval "$ac_compile") 2>conftest.er1
9294 grep -v '^ *+' conftest.er1 >conftest.err
9296 cat conftest.err >&5
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); } && {
9299 test -z "$ac_c_werror_flag" ||
9300 test ! -s conftest.err
9301 } && test -s conftest.$ac_objext; then
9302 ac_cv_have_decl_STICKY_TIMEOUTS=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_cv_have_decl_STICKY_TIMEOUTS=no
9310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9312 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
9313 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6; }
9314 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
9316 cat >>confdefs.h <<_ACEOF
9317 #define HAVE_DECL_STICKY_TIMEOUTS 1
9322 cat >>confdefs.h <<_ACEOF
9323 #define HAVE_DECL_STICKY_TIMEOUTS 0
9328 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
9329 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6; }
9330 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 cat >conftest.$ac_ext <<_ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9340 #include <linux/personality.h>
9346 #ifndef ADDR_LIMIT_3GB
9347 (void) ADDR_LIMIT_3GB;
9354 rm -f conftest.$ac_objext
9355 if { (ac_try="$ac_compile"
9357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9358 *) ac_try_echo=$ac_try;;
9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9361 (eval "$ac_compile") 2>conftest.er1
9363 grep -v '^ *+' conftest.er1 >conftest.err
9365 cat conftest.err >&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } && {
9368 test -z "$ac_c_werror_flag" ||
9369 test ! -s conftest.err
9370 } && test -s conftest.$ac_objext; then
9371 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
9373 echo "$as_me: failed program was:" >&5
9374 sed 's/^/| /' conftest.$ac_ext >&5
9376 ac_cv_have_decl_ADDR_LIMIT_3GB=no
9379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9381 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
9382 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6; }
9383 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
9385 cat >>confdefs.h <<_ACEOF
9386 #define HAVE_DECL_ADDR_LIMIT_3GB 1
9391 cat >>confdefs.h <<_ACEOF
9392 #define HAVE_DECL_ADDR_LIMIT_3GB 0
9400 { echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
9401 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6; }
9402 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 cat >conftest.$ac_ext <<_ACEOF
9408 cat confdefs.h >>conftest.$ac_ext
9409 cat >>conftest.$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9412 #include <linux/personality.h>
9426 rm -f conftest.$ac_objext
9427 if { (ac_try="$ac_compile"
9429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9430 *) ac_try_echo=$ac_try;;
9432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9433 (eval "$ac_compile") 2>conftest.er1
9435 grep -v '^ *+' conftest.er1 >conftest.err
9437 cat conftest.err >&5
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); } && {
9440 test -z "$ac_c_werror_flag" ||
9441 test ! -s conftest.err
9442 } && test -s conftest.$ac_objext; then
9443 ac_cv_have_decl_PER_LINUX=yes
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.$ac_ext >&5
9448 ac_cv_have_decl_PER_LINUX=no
9451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9453 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
9454 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6; }
9455 if test $ac_cv_have_decl_PER_LINUX = yes; then
9457 cat >>confdefs.h <<_ACEOF
9458 #define HAVE_DECL_PER_LINUX 1
9463 cat >>confdefs.h <<_ACEOF
9464 #define HAVE_DECL_PER_LINUX 0
9469 { echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
9470 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6; }
9471 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 cat >conftest.$ac_ext <<_ACEOF
9477 cat confdefs.h >>conftest.$ac_ext
9478 cat >>conftest.$ac_ext <<_ACEOF
9479 /* end confdefs.h. */
9481 #include <linux/personality.h>
9487 #ifndef PER_LINUX_32BIT
9488 (void) PER_LINUX_32BIT;
9495 rm -f conftest.$ac_objext
9496 if { (ac_try="$ac_compile"
9498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9499 *) ac_try_echo=$ac_try;;
9501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9502 (eval "$ac_compile") 2>conftest.er1
9504 grep -v '^ *+' conftest.er1 >conftest.err
9506 cat conftest.err >&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } && {
9509 test -z "$ac_c_werror_flag" ||
9510 test ! -s conftest.err
9511 } && test -s conftest.$ac_objext; then
9512 ac_cv_have_decl_PER_LINUX_32BIT=yes
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9517 ac_cv_have_decl_PER_LINUX_32BIT=no
9520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9522 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
9523 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6; }
9524 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
9526 cat >>confdefs.h <<_ACEOF
9527 #define HAVE_DECL_PER_LINUX_32BIT 1
9532 cat >>confdefs.h <<_ACEOF
9533 #define HAVE_DECL_PER_LINUX_32BIT 0
9538 { echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
9539 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6; }
9540 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 cat >conftest.$ac_ext <<_ACEOF
9546 cat confdefs.h >>conftest.$ac_ext
9547 cat >>conftest.$ac_ext <<_ACEOF
9548 /* end confdefs.h. */
9550 #include <linux/personality.h>
9564 rm -f conftest.$ac_objext
9565 if { (ac_try="$ac_compile"
9567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9568 *) ac_try_echo=$ac_try;;
9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571 (eval "$ac_compile") 2>conftest.er1
9573 grep -v '^ *+' conftest.er1 >conftest.err
9575 cat conftest.err >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } && {
9578 test -z "$ac_c_werror_flag" ||
9579 test ! -s conftest.err
9580 } && test -s conftest.$ac_objext; then
9581 ac_cv_have_decl_PER_SVR4=yes
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.$ac_ext >&5
9586 ac_cv_have_decl_PER_SVR4=no
9589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9591 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
9592 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6; }
9593 if test $ac_cv_have_decl_PER_SVR4 = yes; then
9595 cat >>confdefs.h <<_ACEOF
9596 #define HAVE_DECL_PER_SVR4 1
9601 cat >>confdefs.h <<_ACEOF
9602 #define HAVE_DECL_PER_SVR4 0
9607 { echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
9608 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6; }
9609 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 cat >conftest.$ac_ext <<_ACEOF
9615 cat confdefs.h >>conftest.$ac_ext
9616 cat >>conftest.$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9619 #include <linux/personality.h>
9633 rm -f conftest.$ac_objext
9634 if { (ac_try="$ac_compile"
9636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9637 *) ac_try_echo=$ac_try;;
9639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9640 (eval "$ac_compile") 2>conftest.er1
9642 grep -v '^ *+' conftest.er1 >conftest.err
9644 cat conftest.err >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); } && {
9647 test -z "$ac_c_werror_flag" ||
9648 test ! -s conftest.err
9649 } && test -s conftest.$ac_objext; then
9650 ac_cv_have_decl_PER_SVR3=yes
9652 echo "$as_me: failed program was:" >&5
9653 sed 's/^/| /' conftest.$ac_ext >&5
9655 ac_cv_have_decl_PER_SVR3=no
9658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9660 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
9661 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6; }
9662 if test $ac_cv_have_decl_PER_SVR3 = yes; then
9664 cat >>confdefs.h <<_ACEOF
9665 #define HAVE_DECL_PER_SVR3 1
9670 cat >>confdefs.h <<_ACEOF
9671 #define HAVE_DECL_PER_SVR3 0
9676 { echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
9677 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6; }
9678 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
9679 echo $ECHO_N "(cached) $ECHO_C" >&6
9681 cat >conftest.$ac_ext <<_ACEOF
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9688 #include <linux/personality.h>
9702 rm -f conftest.$ac_objext
9703 if { (ac_try="$ac_compile"
9705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9706 *) ac_try_echo=$ac_try;;
9708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9709 (eval "$ac_compile") 2>conftest.er1
9711 grep -v '^ *+' conftest.er1 >conftest.err
9713 cat conftest.err >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } && {
9716 test -z "$ac_c_werror_flag" ||
9717 test ! -s conftest.err
9718 } && test -s conftest.$ac_objext; then
9719 ac_cv_have_decl_PER_SCOSVR3=yes
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5
9724 ac_cv_have_decl_PER_SCOSVR3=no
9727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9729 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
9730 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6; }
9731 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
9733 cat >>confdefs.h <<_ACEOF
9734 #define HAVE_DECL_PER_SCOSVR3 1
9739 cat >>confdefs.h <<_ACEOF
9740 #define HAVE_DECL_PER_SCOSVR3 0
9745 { echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
9746 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6; }
9747 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
9748 echo $ECHO_N "(cached) $ECHO_C" >&6
9750 cat >conftest.$ac_ext <<_ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 #include <linux/personality.h>
9771 rm -f conftest.$ac_objext
9772 if { (ac_try="$ac_compile"
9774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9775 *) ac_try_echo=$ac_try;;
9777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9778 (eval "$ac_compile") 2>conftest.er1
9780 grep -v '^ *+' conftest.er1 >conftest.err
9782 cat conftest.err >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && {
9785 test -z "$ac_c_werror_flag" ||
9786 test ! -s conftest.err
9787 } && test -s conftest.$ac_objext; then
9788 ac_cv_have_decl_PER_OSR5=yes
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9793 ac_cv_have_decl_PER_OSR5=no
9796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9798 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
9799 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6; }
9800 if test $ac_cv_have_decl_PER_OSR5 = yes; then
9802 cat >>confdefs.h <<_ACEOF
9803 #define HAVE_DECL_PER_OSR5 1
9808 cat >>confdefs.h <<_ACEOF
9809 #define HAVE_DECL_PER_OSR5 0
9814 { echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
9815 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6; }
9816 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 #include <linux/personality.h>
9832 #ifndef PER_WYSEV386
9833 (void) PER_WYSEV386;
9840 rm -f conftest.$ac_objext
9841 if { (ac_try="$ac_compile"
9843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9844 *) ac_try_echo=$ac_try;;
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847 (eval "$ac_compile") 2>conftest.er1
9849 grep -v '^ *+' conftest.er1 >conftest.err
9851 cat conftest.err >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } && {
9854 test -z "$ac_c_werror_flag" ||
9855 test ! -s conftest.err
9856 } && test -s conftest.$ac_objext; then
9857 ac_cv_have_decl_PER_WYSEV386=yes
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9862 ac_cv_have_decl_PER_WYSEV386=no
9865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9867 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
9868 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6; }
9869 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
9871 cat >>confdefs.h <<_ACEOF
9872 #define HAVE_DECL_PER_WYSEV386 1
9877 cat >>confdefs.h <<_ACEOF
9878 #define HAVE_DECL_PER_WYSEV386 0
9883 { echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
9884 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6; }
9885 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
9886 echo $ECHO_N "(cached) $ECHO_C" >&6
9888 cat >conftest.$ac_ext <<_ACEOF
9891 cat confdefs.h >>conftest.$ac_ext
9892 cat >>conftest.$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9895 #include <linux/personality.h>
9909 rm -f conftest.$ac_objext
9910 if { (ac_try="$ac_compile"
9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913 *) ac_try_echo=$ac_try;;
9915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9916 (eval "$ac_compile") 2>conftest.er1
9918 grep -v '^ *+' conftest.er1 >conftest.err
9920 cat conftest.err >&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); } && {
9923 test -z "$ac_c_werror_flag" ||
9924 test ! -s conftest.err
9925 } && test -s conftest.$ac_objext; then
9926 ac_cv_have_decl_PER_ISCR4=yes
9928 echo "$as_me: failed program was:" >&5
9929 sed 's/^/| /' conftest.$ac_ext >&5
9931 ac_cv_have_decl_PER_ISCR4=no
9934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9936 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
9937 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6; }
9938 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
9940 cat >>confdefs.h <<_ACEOF
9941 #define HAVE_DECL_PER_ISCR4 1
9946 cat >>confdefs.h <<_ACEOF
9947 #define HAVE_DECL_PER_ISCR4 0
9952 { echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
9953 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6; }
9954 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 cat >conftest.$ac_ext <<_ACEOF
9960 cat confdefs.h >>conftest.$ac_ext
9961 cat >>conftest.$ac_ext <<_ACEOF
9962 /* end confdefs.h. */
9964 #include <linux/personality.h>
9978 rm -f conftest.$ac_objext
9979 if { (ac_try="$ac_compile"
9981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9982 *) ac_try_echo=$ac_try;;
9984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9985 (eval "$ac_compile") 2>conftest.er1
9987 grep -v '^ *+' conftest.er1 >conftest.err
9989 cat conftest.err >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); } && {
9992 test -z "$ac_c_werror_flag" ||
9993 test ! -s conftest.err
9994 } && test -s conftest.$ac_objext; then
9995 ac_cv_have_decl_PER_BSD=yes
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.$ac_ext >&5
10000 ac_cv_have_decl_PER_BSD=no
10003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10005 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
10006 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6; }
10007 if test $ac_cv_have_decl_PER_BSD = yes; then
10009 cat >>confdefs.h <<_ACEOF
10010 #define HAVE_DECL_PER_BSD 1
10015 cat >>confdefs.h <<_ACEOF
10016 #define HAVE_DECL_PER_BSD 0
10021 { echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
10022 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6; }
10023 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 cat >conftest.$ac_ext <<_ACEOF
10029 cat confdefs.h >>conftest.$ac_ext
10030 cat >>conftest.$ac_ext <<_ACEOF
10031 /* end confdefs.h. */
10033 #include <linux/personality.h>
10047 rm -f conftest.$ac_objext
10048 if { (ac_try="$ac_compile"
10049 case "(($ac_try" in
10050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10051 *) ac_try_echo=$ac_try;;
10053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10054 (eval "$ac_compile") 2>conftest.er1
10056 grep -v '^ *+' conftest.er1 >conftest.err
10058 cat conftest.err >&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } && {
10061 test -z "$ac_c_werror_flag" ||
10062 test ! -s conftest.err
10063 } && test -s conftest.$ac_objext; then
10064 ac_cv_have_decl_PER_SUNOS=yes
10066 echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10069 ac_cv_have_decl_PER_SUNOS=no
10072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10074 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
10075 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6; }
10076 if test $ac_cv_have_decl_PER_SUNOS = yes; then
10078 cat >>confdefs.h <<_ACEOF
10079 #define HAVE_DECL_PER_SUNOS 1
10084 cat >>confdefs.h <<_ACEOF
10085 #define HAVE_DECL_PER_SUNOS 0
10090 { echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
10091 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6; }
10092 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 cat >conftest.$ac_ext <<_ACEOF
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10102 #include <linux/personality.h>
10116 rm -f conftest.$ac_objext
10117 if { (ac_try="$ac_compile"
10118 case "(($ac_try" in
10119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10120 *) ac_try_echo=$ac_try;;
10122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10123 (eval "$ac_compile") 2>conftest.er1
10125 grep -v '^ *+' conftest.er1 >conftest.err
10127 cat conftest.err >&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } && {
10130 test -z "$ac_c_werror_flag" ||
10131 test ! -s conftest.err
10132 } && test -s conftest.$ac_objext; then
10133 ac_cv_have_decl_PER_XENIX=yes
10135 echo "$as_me: failed program was:" >&5
10136 sed 's/^/| /' conftest.$ac_ext >&5
10138 ac_cv_have_decl_PER_XENIX=no
10141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10143 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
10144 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6; }
10145 if test $ac_cv_have_decl_PER_XENIX = yes; then
10147 cat >>confdefs.h <<_ACEOF
10148 #define HAVE_DECL_PER_XENIX 1
10153 cat >>confdefs.h <<_ACEOF
10154 #define HAVE_DECL_PER_XENIX 0
10159 { echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
10160 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6; }
10161 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 cat >conftest.$ac_ext <<_ACEOF
10167 cat confdefs.h >>conftest.$ac_ext
10168 cat >>conftest.$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10171 #include <linux/personality.h>
10177 #ifndef PER_LINUX32
10178 (void) PER_LINUX32;
10185 rm -f conftest.$ac_objext
10186 if { (ac_try="$ac_compile"
10187 case "(($ac_try" in
10188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_compile") 2>conftest.er1
10194 grep -v '^ *+' conftest.er1 >conftest.err
10196 cat conftest.err >&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } && {
10199 test -z "$ac_c_werror_flag" ||
10200 test ! -s conftest.err
10201 } && test -s conftest.$ac_objext; then
10202 ac_cv_have_decl_PER_LINUX32=yes
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10207 ac_cv_have_decl_PER_LINUX32=no
10210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10212 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
10213 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6; }
10214 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
10216 cat >>confdefs.h <<_ACEOF
10217 #define HAVE_DECL_PER_LINUX32 1
10222 cat >>confdefs.h <<_ACEOF
10223 #define HAVE_DECL_PER_LINUX32 0
10228 { echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
10229 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6; }
10230 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 cat >conftest.$ac_ext <<_ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10240 #include <linux/personality.h>
10246 #ifndef PER_LINUX32_3GB
10247 (void) PER_LINUX32_3GB;
10254 rm -f conftest.$ac_objext
10255 if { (ac_try="$ac_compile"
10256 case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_compile") 2>conftest.er1
10263 grep -v '^ *+' conftest.er1 >conftest.err
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest.$ac_objext; then
10271 ac_cv_have_decl_PER_LINUX32_3GB=yes
10273 echo "$as_me: failed program was:" >&5
10274 sed 's/^/| /' conftest.$ac_ext >&5
10276 ac_cv_have_decl_PER_LINUX32_3GB=no
10279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10281 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
10282 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6; }
10283 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
10285 cat >>confdefs.h <<_ACEOF
10286 #define HAVE_DECL_PER_LINUX32_3GB 1
10291 cat >>confdefs.h <<_ACEOF
10292 #define HAVE_DECL_PER_LINUX32_3GB 0
10297 { echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
10298 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6; }
10299 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 cat >conftest.$ac_ext <<_ACEOF
10305 cat confdefs.h >>conftest.$ac_ext
10306 cat >>conftest.$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10309 #include <linux/personality.h>
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10332 grep -v '^ *+' conftest.er1 >conftest.err
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest.$ac_objext; then
10340 ac_cv_have_decl_PER_IRIX32=yes
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.$ac_ext >&5
10345 ac_cv_have_decl_PER_IRIX32=no
10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10350 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
10351 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6; }
10352 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
10354 cat >>confdefs.h <<_ACEOF
10355 #define HAVE_DECL_PER_IRIX32 1
10360 cat >>confdefs.h <<_ACEOF
10361 #define HAVE_DECL_PER_IRIX32 0
10366 { echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
10367 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6; }
10368 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 cat >conftest.$ac_ext <<_ACEOF
10374 cat confdefs.h >>conftest.$ac_ext
10375 cat >>conftest.$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10378 #include <linux/personality.h>
10384 #ifndef PER_IRIXN32
10385 (void) PER_IRIXN32;
10392 rm -f conftest.$ac_objext
10393 if { (ac_try="$ac_compile"
10394 case "(($ac_try" in
10395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396 *) ac_try_echo=$ac_try;;
10398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10399 (eval "$ac_compile") 2>conftest.er1
10401 grep -v '^ *+' conftest.er1 >conftest.err
10403 cat conftest.err >&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } && {
10406 test -z "$ac_c_werror_flag" ||
10407 test ! -s conftest.err
10408 } && test -s conftest.$ac_objext; then
10409 ac_cv_have_decl_PER_IRIXN32=yes
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.$ac_ext >&5
10414 ac_cv_have_decl_PER_IRIXN32=no
10417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10419 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
10420 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6; }
10421 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
10423 cat >>confdefs.h <<_ACEOF
10424 #define HAVE_DECL_PER_IRIXN32 1
10429 cat >>confdefs.h <<_ACEOF
10430 #define HAVE_DECL_PER_IRIXN32 0
10435 { echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
10436 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6; }
10437 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 cat >conftest.$ac_ext <<_ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10447 #include <linux/personality.h>
10461 rm -f conftest.$ac_objext
10462 if { (ac_try="$ac_compile"
10463 case "(($ac_try" in
10464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10465 *) ac_try_echo=$ac_try;;
10467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10468 (eval "$ac_compile") 2>conftest.er1
10470 grep -v '^ *+' conftest.er1 >conftest.err
10472 cat conftest.err >&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } && {
10475 test -z "$ac_c_werror_flag" ||
10476 test ! -s conftest.err
10477 } && test -s conftest.$ac_objext; then
10478 ac_cv_have_decl_PER_IRIX64=yes
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.$ac_ext >&5
10483 ac_cv_have_decl_PER_IRIX64=no
10486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10488 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
10489 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6; }
10490 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
10492 cat >>confdefs.h <<_ACEOF
10493 #define HAVE_DECL_PER_IRIX64 1
10498 cat >>confdefs.h <<_ACEOF
10499 #define HAVE_DECL_PER_IRIX64 0
10504 { echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
10505 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6; }
10506 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
10507 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 cat >conftest.$ac_ext <<_ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 #include <linux/personality.h>
10530 rm -f conftest.$ac_objext
10531 if { (ac_try="$ac_compile"
10532 case "(($ac_try" in
10533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10534 *) ac_try_echo=$ac_try;;
10536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10537 (eval "$ac_compile") 2>conftest.er1
10539 grep -v '^ *+' conftest.er1 >conftest.err
10541 cat conftest.err >&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } && {
10544 test -z "$ac_c_werror_flag" ||
10545 test ! -s conftest.err
10546 } && test -s conftest.$ac_objext; then
10547 ac_cv_have_decl_PER_RISCOS=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.$ac_ext >&5
10552 ac_cv_have_decl_PER_RISCOS=no
10555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10557 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
10558 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6; }
10559 if test $ac_cv_have_decl_PER_RISCOS = yes; then
10561 cat >>confdefs.h <<_ACEOF
10562 #define HAVE_DECL_PER_RISCOS 1
10567 cat >>confdefs.h <<_ACEOF
10568 #define HAVE_DECL_PER_RISCOS 0
10573 { echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
10574 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6; }
10575 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 cat >conftest.$ac_ext <<_ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10585 #include <linux/personality.h>
10591 #ifndef PER_SOLARIS
10592 (void) PER_SOLARIS;
10599 rm -f conftest.$ac_objext
10600 if { (ac_try="$ac_compile"
10601 case "(($ac_try" in
10602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10603 *) ac_try_echo=$ac_try;;
10605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10606 (eval "$ac_compile") 2>conftest.er1
10608 grep -v '^ *+' conftest.er1 >conftest.err
10610 cat conftest.err >&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } && {
10613 test -z "$ac_c_werror_flag" ||
10614 test ! -s conftest.err
10615 } && test -s conftest.$ac_objext; then
10616 ac_cv_have_decl_PER_SOLARIS=yes
10618 echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5
10621 ac_cv_have_decl_PER_SOLARIS=no
10624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10626 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
10627 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6; }
10628 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
10630 cat >>confdefs.h <<_ACEOF
10631 #define HAVE_DECL_PER_SOLARIS 1
10636 cat >>confdefs.h <<_ACEOF
10637 #define HAVE_DECL_PER_SOLARIS 0
10642 { echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
10643 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6; }
10644 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
10645 echo $ECHO_N "(cached) $ECHO_C" >&6
10647 cat >conftest.$ac_ext <<_ACEOF
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10654 #include <linux/personality.h>
10668 rm -f conftest.$ac_objext
10669 if { (ac_try="$ac_compile"
10670 case "(($ac_try" in
10671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10672 *) ac_try_echo=$ac_try;;
10674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10675 (eval "$ac_compile") 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } && {
10682 test -z "$ac_c_werror_flag" ||
10683 test ! -s conftest.err
10684 } && test -s conftest.$ac_objext; then
10685 ac_cv_have_decl_PER_UW7=yes
10687 echo "$as_me: failed program was:" >&5
10688 sed 's/^/| /' conftest.$ac_ext >&5
10690 ac_cv_have_decl_PER_UW7=no
10693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10695 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
10696 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6; }
10697 if test $ac_cv_have_decl_PER_UW7 = yes; then
10699 cat >>confdefs.h <<_ACEOF
10700 #define HAVE_DECL_PER_UW7 1
10705 cat >>confdefs.h <<_ACEOF
10706 #define HAVE_DECL_PER_UW7 0
10711 { echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
10712 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6; }
10713 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 cat >conftest.$ac_ext <<_ACEOF
10719 cat confdefs.h >>conftest.$ac_ext
10720 cat >>conftest.$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10723 #include <linux/personality.h>
10737 rm -f conftest.$ac_objext
10738 if { (ac_try="$ac_compile"
10739 case "(($ac_try" in
10740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10741 *) ac_try_echo=$ac_try;;
10743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10744 (eval "$ac_compile") 2>conftest.er1
10746 grep -v '^ *+' conftest.er1 >conftest.err
10748 cat conftest.err >&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } && {
10751 test -z "$ac_c_werror_flag" ||
10752 test ! -s conftest.err
10753 } && test -s conftest.$ac_objext; then
10754 ac_cv_have_decl_PER_HPUX=yes
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.$ac_ext >&5
10759 ac_cv_have_decl_PER_HPUX=no
10762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10764 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
10765 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6; }
10766 if test $ac_cv_have_decl_PER_HPUX = yes; then
10768 cat >>confdefs.h <<_ACEOF
10769 #define HAVE_DECL_PER_HPUX 1
10774 cat >>confdefs.h <<_ACEOF
10775 #define HAVE_DECL_PER_HPUX 0
10780 { echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
10781 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6; }
10782 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 cat >conftest.$ac_ext <<_ACEOF
10788 cat confdefs.h >>conftest.$ac_ext
10789 cat >>conftest.$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10792 #include <linux/personality.h>
10806 rm -f conftest.$ac_objext
10807 if { (ac_try="$ac_compile"
10808 case "(($ac_try" in
10809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10813 (eval "$ac_compile") 2>conftest.er1
10815 grep -v '^ *+' conftest.er1 >conftest.err
10817 cat conftest.err >&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } && {
10820 test -z "$ac_c_werror_flag" ||
10821 test ! -s conftest.err
10822 } && test -s conftest.$ac_objext; then
10823 ac_cv_have_decl_PER_OSF4=yes
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10828 ac_cv_have_decl_PER_OSF4=no
10831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10833 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
10834 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6; }
10835 if test $ac_cv_have_decl_PER_OSF4 = yes; then
10837 cat >>confdefs.h <<_ACEOF
10838 #define HAVE_DECL_PER_OSF4 1
10843 cat >>confdefs.h <<_ACEOF
10844 #define HAVE_DECL_PER_OSF4 0
10852 ac_cpp='$CPP $CPPFLAGS'
10853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10862 { echo "$as_me:$LINENO: checking for initrddir" >&5
10863 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6; }
10865 # Check whether --with-initrddir was given.
10866 if test "${with_initrddir+set}" = set; then
10867 withval=$with_initrddir; case "$withval" in
10868 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
10869 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
10870 { (exit 1); exit 1; }; };;
10871 *) ensc_initrddir=$withval;;
10874 ensc_initrddir='$(sysconfdir)/init.d'
10878 if test "initrddir"; then
10879 initrddir=$ensc_initrddir
10883 { echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
10884 echo "${ECHO_T}$ensc_initrddir" >&6; }
10887 { echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
10888 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6; }
10889 # Check whether --enable-release was given.
10890 if test "${enable_release+set}" = set; then
10891 enableval=$enable_release; case "$enableval" in
10892 yes) ensc_release_mode=yes;;
10893 no) ensc_release_mode=no;;
10894 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
10895 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
10896 { (exit 1); exit 1; }; };;
10899 ensc_release_mode=no
10903 if test x"$ensc_release_mode" = xno; then
10906 RELEASE_CPPFLAGS='-DNDEBUG'
10910 { echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
10911 echo "${ECHO_T}$ensc_release_mode" >&6; }
10914 # HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative
10915 # syscalls will never be enabled for glibc.
10917 ac_cpp='$CPP $CPPFLAGS'
10918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10921 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10922 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10923 # On Suns, sometimes $CPP names a directory.
10924 if test -n "$CPP" && test -d "$CPP"; then
10927 if test -z "$CPP"; then
10928 if test "${ac_cv_prog_CPP+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 # Double quotes because CPP needs to be expanded
10932 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10934 ac_preproc_ok=false
10935 for ac_c_preproc_warn_flag in '' yes
10937 # Use a header file that comes with gcc, so configuring glibc
10938 # with a fresh cross-compiler works.
10939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10940 # <limits.h> exists even on freestanding compilers.
10941 # On the NeXT, cc -E runs the code through the compiler's parser,
10942 # not just through cpp. "Syntax error" is here to catch this case.
10943 cat >conftest.$ac_ext <<_ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10950 # include <limits.h>
10952 # include <assert.h>
10956 if { (ac_try="$ac_cpp conftest.$ac_ext"
10957 case "(($ac_try" in
10958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10959 *) ac_try_echo=$ac_try;;
10961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10964 grep -v '^ *+' conftest.er1 >conftest.err
10966 cat conftest.err >&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } >/dev/null && {
10969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10970 test ! -s conftest.err
10974 echo "$as_me: failed program was:" >&5
10975 sed 's/^/| /' conftest.$ac_ext >&5
10977 # Broken: fails on valid input.
10981 rm -f conftest.err conftest.$ac_ext
10983 # OK, works on sane cases. Now check whether nonexistent headers
10984 # can be detected and how.
10985 cat >conftest.$ac_ext <<_ACEOF
10988 cat confdefs.h >>conftest.$ac_ext
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
10991 #include <ac_nonexistent.h>
10993 if { (ac_try="$ac_cpp conftest.$ac_ext"
10994 case "(($ac_try" in
10995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10996 *) ac_try_echo=$ac_try;;
10998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11001 grep -v '^ *+' conftest.er1 >conftest.err
11003 cat conftest.err >&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); } >/dev/null && {
11006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11007 test ! -s conftest.err
11009 # Broken: success on invalid input.
11012 echo "$as_me: failed program was:" >&5
11013 sed 's/^/| /' conftest.$ac_ext >&5
11015 # Passes both tests.
11020 rm -f conftest.err conftest.$ac_ext
11023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11024 rm -f conftest.err conftest.$ac_ext
11025 if $ac_preproc_ok; then
11030 ac_cv_prog_CPP=$CPP
11033 CPP=$ac_cv_prog_CPP
11035 ac_cv_prog_CPP=$CPP
11037 { echo "$as_me:$LINENO: result: $CPP" >&5
11038 echo "${ECHO_T}$CPP" >&6; }
11039 ac_preproc_ok=false
11040 for ac_c_preproc_warn_flag in '' yes
11042 # Use a header file that comes with gcc, so configuring glibc
11043 # with a fresh cross-compiler works.
11044 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11045 # <limits.h> exists even on freestanding compilers.
11046 # On the NeXT, cc -E runs the code through the compiler's parser,
11047 # not just through cpp. "Syntax error" is here to catch this case.
11048 cat >conftest.$ac_ext <<_ACEOF
11051 cat confdefs.h >>conftest.$ac_ext
11052 cat >>conftest.$ac_ext <<_ACEOF
11053 /* end confdefs.h. */
11055 # include <limits.h>
11057 # include <assert.h>
11061 if { (ac_try="$ac_cpp conftest.$ac_ext"
11062 case "(($ac_try" in
11063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11064 *) ac_try_echo=$ac_try;;
11066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11069 grep -v '^ *+' conftest.er1 >conftest.err
11071 cat conftest.err >&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } >/dev/null && {
11074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11075 test ! -s conftest.err
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11082 # Broken: fails on valid input.
11086 rm -f conftest.err conftest.$ac_ext
11088 # OK, works on sane cases. Now check whether nonexistent headers
11089 # can be detected and how.
11090 cat >conftest.$ac_ext <<_ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11096 #include <ac_nonexistent.h>
11098 if { (ac_try="$ac_cpp conftest.$ac_ext"
11099 case "(($ac_try" in
11100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11106 grep -v '^ *+' conftest.er1 >conftest.err
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } >/dev/null && {
11111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11112 test ! -s conftest.err
11114 # Broken: success on invalid input.
11117 echo "$as_me: failed program was:" >&5
11118 sed 's/^/| /' conftest.$ac_ext >&5
11120 # Passes both tests.
11125 rm -f conftest.err conftest.$ac_ext
11128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11129 rm -f conftest.err conftest.$ac_ext
11130 if $ac_preproc_ok; then
11133 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11134 See \`config.log' for more details." >&5
11135 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11136 See \`config.log' for more details." >&2;}
11137 { (exit 1); exit 1; }; }
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
11146 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
11147 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
11148 if test "${ac_cv_path_GREP+set}" = set; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 # Extract the first word of "grep ggrep" to use in msg output
11152 if test -z "$GREP"; then
11153 set dummy grep ggrep; ac_prog_name=$2
11154 if test "${ac_cv_path_GREP+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 ac_path_GREP_found=false
11158 # Loop through the user's path and test for each of PROGNAME-LIST
11159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11163 test -z "$as_dir" && as_dir=.
11164 for ac_prog in grep ggrep; do
11165 for ac_exec_ext in '' $ac_executable_extensions; do
11166 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
11167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
11168 # Check for GNU ac_path_GREP and select it if it is found.
11169 # Check for GNU $ac_path_GREP
11170 case `"$ac_path_GREP" --version 2>&1` in
11172 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11175 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11178 cat "conftest.in" "conftest.in" >"conftest.tmp"
11179 mv "conftest.tmp" "conftest.in"
11180 cp "conftest.in" "conftest.nl"
11181 echo 'GREP' >> "conftest.nl"
11182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11184 ac_count=`expr $ac_count + 1`
11185 if test $ac_count -gt ${ac_path_GREP_max-0}; then
11186 # Best one so far, save it but keep looking for a better one
11187 ac_cv_path_GREP="$ac_path_GREP"
11188 ac_path_GREP_max=$ac_count
11190 # 10*(2^10) chars as input seems more than enough
11191 test $ac_count -gt 10 && break
11193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11197 $ac_path_GREP_found && break 3
11207 GREP="$ac_cv_path_GREP"
11208 if test -z "$GREP"; then
11209 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11210 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11211 { (exit 1); exit 1; }; }
11215 ac_cv_path_GREP=$GREP
11220 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
11221 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
11222 GREP="$ac_cv_path_GREP"
11225 { echo "$as_me:$LINENO: checking for egrep" >&5
11226 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11227 if test "${ac_cv_path_EGREP+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11230 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11231 then ac_cv_path_EGREP="$GREP -E"
11233 # Extract the first word of "egrep" to use in msg output
11234 if test -z "$EGREP"; then
11235 set dummy egrep; ac_prog_name=$2
11236 if test "${ac_cv_path_EGREP+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 ac_path_EGREP_found=false
11240 # Loop through the user's path and test for each of PROGNAME-LIST
11241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11242 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11245 test -z "$as_dir" && as_dir=.
11246 for ac_prog in egrep; do
11247 for ac_exec_ext in '' $ac_executable_extensions; do
11248 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11249 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11250 # Check for GNU ac_path_EGREP and select it if it is found.
11251 # Check for GNU $ac_path_EGREP
11252 case `"$ac_path_EGREP" --version 2>&1` in
11254 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11257 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11260 cat "conftest.in" "conftest.in" >"conftest.tmp"
11261 mv "conftest.tmp" "conftest.in"
11262 cp "conftest.in" "conftest.nl"
11263 echo 'EGREP' >> "conftest.nl"
11264 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11265 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11266 ac_count=`expr $ac_count + 1`
11267 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11268 # Best one so far, save it but keep looking for a better one
11269 ac_cv_path_EGREP="$ac_path_EGREP"
11270 ac_path_EGREP_max=$ac_count
11272 # 10*(2^10) chars as input seems more than enough
11273 test $ac_count -gt 10 && break
11275 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11279 $ac_path_EGREP_found && break 3
11289 EGREP="$ac_cv_path_EGREP"
11290 if test -z "$EGREP"; then
11291 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11292 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11293 { (exit 1); exit 1; }; }
11297 ac_cv_path_EGREP=$EGREP
11303 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11304 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11305 EGREP="$ac_cv_path_EGREP"
11312 { echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
11313 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6; }
11314 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11319 ac_cpp='$CPP $CPPFLAGS'
11320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11324 cat >conftest.$ac_ext <<_ACEOF
11326 #ifdef ENSC_SYSCALL_FALLBACK
11327 # include ENSC_SYSCALL_FALLBACK
11329 # include <asm/unistd.h>
11331 #ifdef __NR_vserver
11332 ensc_syscall_tmp_nr=__NR_vserver;
11333 ensc_syscall_tmp_src=ENSC_MARK
11337 ensc_syscall_tmp_nr=
11338 ensc_syscall_tmp_src=
11339 test x"$ensc_syscall_tmp_nr" != x || \
11340 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
11341 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
11342 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=.*)$')
11343 test "$ensc_syscall_tmp_nr" || {
11344 ensc_syscall_tmp_nr=273
11345 ensc_syscall_tmp_src=default
11348 if test x"$ensc_syscall_tmp_nr" = x; then
11349 { { 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
11350 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;}
11351 { (exit 1); exit 1; }; }
11354 ac_cpp='$CPP $CPPFLAGS'
11355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11360 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
11363 { echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
11364 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6; }
11366 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
11367 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
11369 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
11371 cat >>confdefs.h <<_ACEOF
11372 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
11378 { echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
11379 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6; }
11380 # Check whether --enable-alternative-syscalls was given.
11381 if test "${enable_alternative_syscalls+set}" = set; then
11382 enableval=$enable_alternative_syscalls; case $enableval in
11383 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
11384 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
11385 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
11386 { (exit 1); exit 1; }; };;
11389 ensc_use_alternative_syscall_macros=yes
11393 case $ensc_use_alternative_syscall_macros in
11395 cat >>confdefs.h <<\_ACEOF
11396 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
11401 { echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
11402 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6; }
11407 { echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
11408 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6; }
11410 # Check whether --with-syscall was given.
11411 if test "${with_syscall+set}" = set; then
11412 withval=$with_syscall;
11417 { echo "$as_me:$LINENO: result: $with_syscall" >&5
11418 echo "${ECHO_T}$with_syscall" >&6; }
11420 case x"$with_syscall" in
11422 { echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
11423 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6; }
11424 if test "${ensc_cv_test_syscall+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11434 cat >conftest.$ac_ext <<_ACEOF
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 #include "$srcdir/lib/syscall-wrap.h"
11444 #define __NR_foo0 300
11445 #define __NR_foo1 301
11446 #define __NR_foo2 302
11447 #define __NR_foo3 303
11448 #define __NR_foo4 304
11449 #define __NR_foo5 305
11450 inline static _syscall0(int, foo0)
11451 inline static _syscall1(int, foo1, int, a)
11452 inline static _syscall2(int, foo2, int, a, int, b)
11453 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11454 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11455 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11467 rm -f conftest.$ac_objext
11468 if { (ac_try="$ac_compile"
11469 case "(($ac_try" in
11470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11471 *) ac_try_echo=$ac_try;;
11473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11474 (eval "$ac_compile") 2>conftest.er1
11476 grep -v '^ *+' conftest.er1 >conftest.err
11478 cat conftest.err >&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); } && {
11481 test -z "$ac_c_werror_flag" ||
11482 test ! -s conftest.err
11483 } && test -s conftest.$ac_objext; then
11484 ensc_cv_test_syscall=fast
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.$ac_ext >&5
11489 ensc_cv_test_syscall=traditional
11492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11495 ac_cpp='$CPP $CPPFLAGS'
11496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11502 { echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
11503 echo "${ECHO_T}$ensc_cv_test_syscall" >&6; }
11504 with_syscall=$ensc_cv_test_syscall
11506 (xfast|xtraditional)
11509 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
11510 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
11511 { (exit 1); exit 1; }; }
11515 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
11516 with_syscall='alternative'
11519 if test x"$with_syscall" = xtraditional; then
11521 cat >>confdefs.h <<\_ACEOF
11522 #define ENSC_SYSCALL_TRADITIONAL 1
11533 (i*86|athlon) min_diet_ver=0.25;;
11534 (ia64|hppa*) min_diet_ver=0.29;;
11535 (sparc*) min_diet_ver=0.30;;
11536 (x86_64) min_diet_ver=0.27;;
11537 (*) min_diet_ver=0.28;;
11541 { echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
11542 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6; }
11550 # Check whether --enable-dietlibc was given.
11551 if test "${enable_dietlibc+set}" = set; then
11552 enableval=$enable_dietlibc; case "$enableval" in
11553 (yes) use_dietlibc=forced;;
11554 (no) use_dietlibc=forced_no;;
11555 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
11556 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
11557 { (exit 1); exit 1; }; };;
11560 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
11564 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
11565 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
11566 _dietlibc_ver=${_dietlibc_ver##*diet version }
11567 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
11568 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
11569 _dietlibc_ver_min=${_dietlibc_ver##*.}
11570 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
11571 _dietlibc_cmp="$min_diet_ver"
11572 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
11573 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
11575 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
11577 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
11578 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
11580 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
11582 ENSC_VERSION_DIETLIBC=
11586 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
11587 ensc_have_dietlibc=no
11589 case x"$use_dietlibc" in
11593 USE_DIETLIBC_FALSE='#'
11595 USE_DIETLIBC_TRUE='#'
11596 USE_DIETLIBC_FALSE=
11599 { echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
11600 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6; }
11601 ensc_have_dietlibc=yes
11606 USE_DIETLIBC_FALSE='#'
11608 USE_DIETLIBC_TRUE='#'
11609 USE_DIETLIBC_FALSE=
11612 { echo "$as_me:$LINENO: result: yes (forced)" >&5
11613 echo "${ECHO_T}yes (forced)" >&6; }
11614 ensc_have_dietlibc=yes
11619 USE_DIETLIBC_FALSE='#'
11621 USE_DIETLIBC_TRUE='#'
11622 USE_DIETLIBC_FALSE=
11625 { echo "$as_me:$LINENO: result: no (detected)" >&5
11626 echo "${ECHO_T}no (detected)" >&6; }
11631 USE_DIETLIBC_FALSE='#'
11633 USE_DIETLIBC_TRUE='#'
11634 USE_DIETLIBC_FALSE=
11637 { echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
11638 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6; }
11643 USE_DIETLIBC_FALSE='#'
11645 USE_DIETLIBC_TRUE='#'
11646 USE_DIETLIBC_FALSE=
11649 { echo "$as_me:$LINENO: result: no (forced)" >&5
11650 echo "${ECHO_T}no (forced)" >&6; }
11653 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
11654 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
11655 { (exit 1); exit 1; }; }
11659 if test x"$ensc_have_dietlibc" != xno; then
11664 { echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
11665 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6; }
11666 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
11671 _ensc_dietlibc_c99_old_CC=$CC
11674 CC="${DIET:-diet} $CC"
11677 ac_cpp='$CPP $CPPFLAGS'
11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11682 cat >conftest.$ac_ext <<_ACEOF
11685 rm -f conftest.$ac_objext
11686 if { (ac_try="$ac_compile"
11687 case "(($ac_try" in
11688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11689 *) ac_try_echo=$ac_try;;
11691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11692 (eval "$ac_compile") 2>conftest.er1
11694 grep -v '^ *+' conftest.er1 >conftest.err
11696 cat conftest.err >&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } && {
11699 test -z "$ac_c_werror_flag" ||
11700 test ! -s conftest.err
11701 } && test -s conftest.$ac_objext; then
11703 cat >conftest.$ac_ext <<_ACEOF
11705 #include <stdint.h>
11706 #include <sys/cdefs.h>
11707 #if defined(inline)
11708 # error 'inline' badly defined
11710 volatile uint64_t a;
11713 rm -f conftest.$ac_objext
11714 if { (ac_try="$ac_compile"
11715 case "(($ac_try" in
11716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11717 *) ac_try_echo=$ac_try;;
11719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 (eval "$ac_compile") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1 >conftest.err
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest.$ac_objext; then
11730 ensc_cv_c_dietlibc_c99=yes
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.$ac_ext >&5
11735 ensc_cv_c_dietlibc_c99=no
11738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11740 echo "$as_me: failed program was:" >&5
11741 sed 's/^/| /' conftest.$ac_ext >&5
11743 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
11746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11748 ac_cpp='$CPP $CPPFLAGS'
11749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11754 CC=$_ensc_dietlibc_c99_old_CC
11755 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
11758 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
11759 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6; }
11761 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
11762 cat >>confdefs.h <<\_ACEOF
11763 #define ENSC_DIETLIBC_C99 1
11772 { echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5
11773 echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6; }
11774 if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 _ensc_dietlibc_syscall_old_CC="$CC"
11779 CC="${DIET:-diet} $CC"
11782 ac_cpp='$CPP $CPPFLAGS'
11783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11787 cat >conftest.$ac_ext <<_ACEOF
11789 #include <sys/syscall.h>
11790 long int syscall(long int __sysno, ...);
11793 rm -f conftest.$ac_objext
11794 if { (ac_try="$ac_compile"
11795 case "(($ac_try" in
11796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11797 *) ac_try_echo=$ac_try;;
11799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11800 (eval "$ac_compile") 2>conftest.er1
11802 grep -v '^ *+' conftest.er1 >conftest.err
11804 cat conftest.err >&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } && {
11807 test -z "$ac_c_werror_flag" ||
11808 test ! -s conftest.err
11809 } && test -s conftest.$ac_objext; then
11810 ensc_cv_c_dietlibc_syscall=no
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.$ac_ext >&5
11815 ensc_cv_c_dietlibc_syscall=yes
11818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11820 ac_cpp='$CPP $CPPFLAGS'
11821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11826 CC="$_ensc_dietlibc_syscall_old_CC"
11829 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5
11830 echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6; }
11832 if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then
11833 cat >>confdefs.h <<\_ACEOF
11834 #define ENSC_DIETLIBC_HAS_SYSCALL 1
11842 if test x"$ensc_have_dietlibc" = xno; then
11843 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11844 echo "$as_me: WARNING: *** ***" >&2;}
11845 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
11846 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
11847 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
11848 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
11849 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
11850 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
11851 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
11852 echo "$as_me: WARNING: *** there. ***" >&2;}
11853 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11854 echo "$as_me: WARNING: *** ***" >&2;}
11856 USE_DIETLIBC_COMPAT_TRUE=
11857 USE_DIETLIBC_COMPAT_FALSE='#'
11859 USE_DIETLIBC_COMPAT_TRUE='#'
11860 USE_DIETLIBC_COMPAT_FALSE=
11864 # HACK: libtool does not have cmdline options to build only
11865 # dynamic libraries; this can be done with the
11866 # '--disable-static' ./configure option only. As our static
11867 # libraries will be build with dietlibc, we have to do set
11868 # this option which is evaluated by 'AC_PROG_LIBTOOL'
11869 # below. Therefore, this macro must not be called earlier.
11875 { echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
11876 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6; }
11877 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 ac_cpp='$CPP $CPPFLAGS'
11883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11887 ensc_dietlibc_need_compat_old_CC=$CC
11888 CC="${DIET:-diet} $CC"
11889 cat >conftest.$ac_ext <<_ACEOF
11893 cat confdefs.h >>conftest.$ac_ext
11894 cat >>conftest.$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11897 #include "$srcdir/lib/syscall-wrap.h"
11900 #define __NR_foo0 42
11901 #define __NR_foo1 42
11902 #define __NR_foo2 42
11903 #define __NR_foo3 42
11904 #define __NR_foo4 42
11905 #define __NR_foo5 42
11906 inline static _syscall0(int, foo0)
11907 inline static _syscall1(int, foo1, int, a)
11908 inline static _syscall2(int, foo2, int, a, int, b)
11909 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11910 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11911 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11916 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
11921 rm -f conftest.$ac_objext conftest$ac_exeext
11922 if { (ac_try="$ac_link"
11923 case "(($ac_try" in
11924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11925 *) ac_try_echo=$ac_try;;
11927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11928 (eval "$ac_link") 2>conftest.er1
11930 grep -v '^ *+' conftest.er1 >conftest.err
11932 cat conftest.err >&5
11933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11934 (exit $ac_status); } && {
11935 test -z "$ac_c_werror_flag" ||
11936 test ! -s conftest.err
11937 } && test -s conftest$ac_exeext &&
11938 $as_test_x conftest$ac_exeext; then
11939 ensc_cv_c_dietlibc_compat=no
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11944 ensc_cv_c_dietlibc_compat=yes
11947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11948 conftest$ac_exeext conftest.$ac_ext
11949 CC=$ensc_dietlibc_need_compat_old_CC
11951 ac_cpp='$CPP $CPPFLAGS'
11952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
11959 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6; }
11961 if test x"USE_DIETLIBC_COMPAT" != x; then
11962 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
11963 USE_DIETLIBC_COMPAT_TRUE=
11964 USE_DIETLIBC_COMPAT_FALSE='#'
11966 USE_DIETLIBC_COMPAT_TRUE='#'
11967 USE_DIETLIBC_COMPAT_FALSE=
11974 if test x"$ensc_have_dietlibc" = xyes; then
11975 ENSC_USE_DIETLIBC_TRUE=
11976 ENSC_USE_DIETLIBC_FALSE='#'
11978 ENSC_USE_DIETLIBC_TRUE='#'
11979 ENSC_USE_DIETLIBC_FALSE=
11983 ENSC_USE_GLIBC_TRUE=
11984 ENSC_USE_GLIBC_FALSE='#'
11986 ENSC_USE_GLIBC_TRUE='#'
11987 ENSC_USE_GLIBC_FALSE=
11991 # HACK: see comments at 'enable_static' above
11992 # Check whether --enable-shared was given.
11993 if test "${enable_shared+set}" = set; then
11994 enableval=$enable_shared; p=${PACKAGE-default}
11996 yes) enable_shared=yes ;;
11997 no) enable_shared=no ;;
12000 # Look at the argument we got. We use all the common list separators.
12001 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12002 for pkg in $enableval; do
12004 if test "X$pkg" = "X$p"; then
12016 # Check whether --enable-static was given.
12017 if test "${enable_static+set}" = set; then
12018 enableval=$enable_static; p=${PACKAGE-default}
12020 yes) enable_static=yes ;;
12021 no) enable_static=no ;;
12024 # Look at the argument we got. We use all the common list separators.
12025 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12026 for pkg in $enableval; do
12028 if test "X$pkg" = "X$p"; then
12040 # Check whether --enable-fast-install was given.
12041 if test "${enable_fast_install+set}" = set; then
12042 enableval=$enable_fast_install; p=${PACKAGE-default}
12044 yes) enable_fast_install=yes ;;
12045 no) enable_fast_install=no ;;
12047 enable_fast_install=no
12048 # Look at the argument we got. We use all the common list separators.
12049 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12050 for pkg in $enableval; do
12052 if test "X$pkg" = "X$p"; then
12053 enable_fast_install=yes
12060 enable_fast_install=yes
12064 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12065 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
12066 if test "${lt_cv_path_SED+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 # Loop through the user's path and test for sed and gsed.
12070 # Then use that list of sed's as ones to test for truncation.
12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12072 for as_dir in $PATH
12075 test -z "$as_dir" && as_dir=.
12076 for lt_ac_prog in sed gsed; do
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12079 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12087 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12088 # along with /bin/sed that truncates output.
12089 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12090 test ! -f $lt_ac_sed && continue
12091 cat /dev/null > conftest.in
12093 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12094 # Check for GNU sed and select it if it is found.
12095 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12096 lt_cv_path_SED=$lt_ac_sed
12100 cat conftest.in conftest.in >conftest.tmp
12101 mv conftest.tmp conftest.in
12102 cp conftest.in conftest.nl
12104 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12105 cmp -s conftest.out conftest.nl || break
12106 # 10000 chars as input seems more than enough
12107 test $lt_ac_count -gt 10 && break
12108 lt_ac_count=`expr $lt_ac_count + 1`
12109 if test $lt_ac_count -gt $lt_ac_max; then
12110 lt_ac_max=$lt_ac_count
12111 lt_cv_path_SED=$lt_ac_sed
12118 SED=$lt_cv_path_SED
12120 { echo "$as_me:$LINENO: result: $SED" >&5
12121 echo "${ECHO_T}$SED" >&6; }
12124 # Check whether --with-gnu-ld was given.
12125 if test "${with_gnu_ld+set}" = set; then
12126 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12132 if test "$GCC" = yes; then
12133 # Check if gcc -print-prog-name=ld gives a path.
12134 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12135 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12138 # gcc leaves a trailing carriage return which upsets mingw
12139 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12141 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12144 # Accept absolute paths.
12146 re_direlt='/[^/][^/]*/\.\./'
12147 # Canonicalize the pathname of ld
12148 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12149 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12150 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12152 test -z "$LD" && LD="$ac_prog"
12155 # If it fails, then pretend we aren't using GCC.
12159 # If it is relative, then search for the first ld in PATH.
12160 with_gnu_ld=unknown
12163 elif test "$with_gnu_ld" = yes; then
12164 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12165 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12167 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12168 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12170 if test "${lt_cv_path_LD+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 if test -z "$LD"; then
12174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12175 for ac_dir in $PATH; do
12177 test -z "$ac_dir" && ac_dir=.
12178 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12179 lt_cv_path_LD="$ac_dir/$ac_prog"
12180 # Check to see if the program is GNU ld. I'd rather use --version,
12181 # but apparently some variants of GNU ld only accept -v.
12182 # Break only if it was the GNU/non-GNU ld that we prefer.
12183 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12184 *GNU* | *'with BFD'*)
12185 test "$with_gnu_ld" != no && break
12188 test "$with_gnu_ld" != yes && break
12195 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12199 LD="$lt_cv_path_LD"
12200 if test -n "$LD"; then
12201 { echo "$as_me:$LINENO: result: $LD" >&5
12202 echo "${ECHO_T}$LD" >&6; }
12204 { echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6; }
12207 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12208 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12209 { (exit 1); exit 1; }; }
12210 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12211 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12212 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12216 case `$LD -v 2>&1 </dev/null` in
12217 *GNU* | *'with BFD'*)
12218 lt_cv_prog_gnu_ld=yes
12221 lt_cv_prog_gnu_ld=no
12225 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12226 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12227 with_gnu_ld=$lt_cv_prog_gnu_ld
12230 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12231 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12232 if test "${lt_cv_ld_reload_flag+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 lt_cv_ld_reload_flag='-r'
12237 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12238 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12239 reload_flag=$lt_cv_ld_reload_flag
12240 case $reload_flag in
12242 *) reload_flag=" $reload_flag" ;;
12244 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12247 if test "$GCC" = yes; then
12248 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12250 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12255 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12256 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12257 if test "${lt_cv_path_NM+set}" = set; then
12258 echo $ECHO_N "(cached) $ECHO_C" >&6
12260 if test -n "$NM"; then
12261 # Let the user override the test.
12262 lt_cv_path_NM="$NM"
12264 lt_nm_to_check="${ac_tool_prefix}nm"
12265 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12266 lt_nm_to_check="$lt_nm_to_check nm"
12268 for lt_tmp_nm in $lt_nm_to_check; do
12269 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12270 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12272 test -z "$ac_dir" && ac_dir=.
12273 tmp_nm="$ac_dir/$lt_tmp_nm"
12274 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12275 # Check to see if the nm accepts a BSD-compat flag.
12276 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12277 # nm: unknown option "B" ignored
12278 # Tru64's nm complains that /dev/null is an invalid object file
12279 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12280 */dev/null* | *'Invalid file or object type'*)
12281 lt_cv_path_NM="$tmp_nm -B"
12285 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12287 lt_cv_path_NM="$tmp_nm -p"
12291 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12292 continue # so that we can try to find one that supports BSD flags
12301 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12304 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12305 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12306 NM="$lt_cv_path_NM"
12308 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
12309 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
12310 if test "${lt_cv_deplibs_check_method+set}" = set; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 lt_cv_file_magic_cmd='$MAGIC_CMD'
12314 lt_cv_file_magic_test_file=
12315 lt_cv_deplibs_check_method='unknown'
12316 # Need to set the preceding variable on all platforms that support
12317 # interlibrary dependencies.
12318 # 'none' -- dependencies not supported.
12319 # `unknown' -- same as none, but documents that we really don't know.
12320 # 'pass_all' -- all dependencies passed with no checks.
12321 # 'test_compile' -- check by making test program.
12322 # 'file_magic [[regex]]' -- check by looking for files in library path
12323 # which responds to the $file_magic_cmd with a given extended regex.
12324 # If you have `file' or equivalent on your system and you're not sure
12325 # whether `pass_all' will *always* work, you probably want this one.
12329 lt_cv_deplibs_check_method=pass_all
12333 lt_cv_deplibs_check_method=pass_all
12337 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12338 lt_cv_file_magic_cmd='/usr/bin/file -L'
12339 lt_cv_file_magic_test_file=/shlib/libc.so
12343 # func_win32_libid is a shell function defined in ltmain.sh
12344 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12345 lt_cv_file_magic_cmd='func_win32_libid'
12349 # Base MSYS/MinGW do not provide the 'file' command needed by
12350 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12351 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12352 lt_cv_file_magic_cmd='$OBJDUMP -f'
12355 darwin* | rhapsody*)
12356 lt_cv_deplibs_check_method=pass_all
12359 freebsd* | kfreebsd*-gnu | dragonfly*)
12360 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12363 # Not sure whether the presence of OpenBSD here was a mistake.
12364 # Let's accept both of them until this is cleared up.
12365 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12366 lt_cv_file_magic_cmd=/usr/bin/file
12367 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12371 lt_cv_deplibs_check_method=pass_all
12376 lt_cv_deplibs_check_method=pass_all
12379 hpux10.20* | hpux11*)
12380 lt_cv_file_magic_cmd=/usr/bin/file
12383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12384 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12387 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]'
12388 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12391 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12392 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12398 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12399 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12402 irix5* | irix6* | nonstopux*)
12404 *-32|*"-32 ") libmagic=32-bit;;
12405 *-n32|*"-n32 ") libmagic=N32;;
12406 *-64|*"-64 ") libmagic=64-bit;;
12407 *) libmagic=never-match;;
12409 lt_cv_deplibs_check_method=pass_all
12412 # This must be Linux ELF.
12414 lt_cv_deplibs_check_method=pass_all
12418 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12419 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12426 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12427 lt_cv_file_magic_cmd=/usr/bin/file
12428 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12432 lt_cv_deplibs_check_method=unknown
12436 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12437 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12439 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12443 osf3* | osf4* | osf5*)
12444 lt_cv_deplibs_check_method=pass_all
12448 lt_cv_deplibs_check_method=pass_all
12452 case $host_vendor in
12454 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]'
12455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12458 lt_cv_deplibs_check_method=pass_all
12461 lt_cv_file_magic_cmd='/bin/file'
12462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12465 lt_cv_file_magic_cmd='/bin/file'
12466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12467 lt_cv_file_magic_test_file=/lib/libc.so
12470 lt_cv_deplibs_check_method=pass_all
12473 lt_cv_deplibs_check_method=pass_all
12478 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12479 lt_cv_deplibs_check_method=pass_all
12484 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12485 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12486 file_magic_cmd=$lt_cv_file_magic_cmd
12487 deplibs_check_method=$lt_cv_deplibs_check_method
12488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12493 # If no C compiler was specified, use CC.
12496 # If no C compiler flags were specified, use CFLAGS.
12497 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12499 # Allow CC to be a program name with arguments.
12502 # Check whether --enable-libtool-lock was given.
12503 if test "${enable_libtool_lock+set}" = set; then
12504 enableval=$enable_libtool_lock;
12507 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12509 # Some flags need to be propagated to the compiler or linker for good
12513 # Find out which ABI we are using.
12514 echo 'int i;' > conftest.$ac_ext
12515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12516 (eval $ac_compile) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; then
12520 case `/usr/bin/file conftest.$ac_objext` in
12522 HPUX_IA64_MODE="32"
12525 HPUX_IA64_MODE="64"
12532 # Find out which ABI we are using.
12533 echo '#line 12533 "configure"' > conftest.$ac_ext
12534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12535 (eval $ac_compile) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; then
12539 if test "$lt_cv_prog_gnu_ld" = yes; then
12540 case `/usr/bin/file conftest.$ac_objext` in
12542 LD="${LD-ld} -melf32bsmip"
12545 LD="${LD-ld} -melf32bmipn32"
12548 LD="${LD-ld} -melf64bmip"
12552 case `/usr/bin/file conftest.$ac_objext` in
12568 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12569 # Find out which ABI we are using.
12570 echo 'int i;' > conftest.$ac_ext
12571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12572 (eval $ac_compile) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; then
12576 case `/usr/bin/file conftest.o` in
12580 LD="${LD-ld} -m elf_i386"
12582 ppc64-*linux*|powerpc64-*linux*)
12583 LD="${LD-ld} -m elf32ppclinux"
12586 LD="${LD-ld} -m elf_s390"
12589 LD="${LD-ld} -m elf32_sparc"
12596 LD="${LD-ld} -m elf_x86_64"
12598 ppc*-*linux*|powerpc*-*linux*)
12599 LD="${LD-ld} -m elf64ppc"
12602 LD="${LD-ld} -m elf64_s390"
12605 LD="${LD-ld} -m elf64_sparc"
12615 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12616 SAVE_CFLAGS="$CFLAGS"
12617 CFLAGS="$CFLAGS -belf"
12618 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12619 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
12620 if test "${lt_cv_cc_needs_belf+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 ac_cpp='$CPP $CPPFLAGS'
12625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12629 cat >conftest.$ac_ext <<_ACEOF
12632 cat confdefs.h >>conftest.$ac_ext
12633 cat >>conftest.$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12644 rm -f conftest.$ac_objext conftest$ac_exeext
12645 if { (ac_try="$ac_link"
12646 case "(($ac_try" in
12647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12648 *) ac_try_echo=$ac_try;;
12650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12651 (eval "$ac_link") 2>conftest.er1
12653 grep -v '^ *+' conftest.er1 >conftest.err
12655 cat conftest.err >&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } && {
12658 test -z "$ac_c_werror_flag" ||
12659 test ! -s conftest.err
12660 } && test -s conftest$ac_exeext &&
12661 $as_test_x conftest$ac_exeext; then
12662 lt_cv_cc_needs_belf=yes
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12667 lt_cv_cc_needs_belf=no
12670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12671 conftest$ac_exeext conftest.$ac_ext
12673 ac_cpp='$CPP $CPPFLAGS'
12674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12679 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12680 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12681 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12682 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12683 CFLAGS="$SAVE_CFLAGS"
12687 # Find out which ABI we are using.
12688 echo 'int i;' > conftest.$ac_ext
12689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12690 (eval $ac_compile) 2>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; then
12694 case `/usr/bin/file conftest.o` in
12696 case $lt_cv_prog_gnu_ld in
12697 yes*) LD="${LD-ld} -m elf64_sparc" ;;
12698 *) LD="${LD-ld} -64" ;;
12709 need_locks="$enable_libtool_lock"
12713 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12714 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12715 if test "${ac_cv_header_stdc+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 cat >conftest.$ac_ext <<_ACEOF
12721 cat confdefs.h >>conftest.$ac_ext
12722 cat >>conftest.$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724 #include <stdlib.h>
12725 #include <stdarg.h>
12726 #include <string.h>
12737 rm -f conftest.$ac_objext
12738 if { (ac_try="$ac_compile"
12739 case "(($ac_try" in
12740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12741 *) ac_try_echo=$ac_try;;
12743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12744 (eval "$ac_compile") 2>conftest.er1
12746 grep -v '^ *+' conftest.er1 >conftest.err
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && {
12751 test -z "$ac_c_werror_flag" ||
12752 test ! -s conftest.err
12753 } && test -s conftest.$ac_objext; then
12754 ac_cv_header_stdc=yes
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.$ac_ext >&5
12759 ac_cv_header_stdc=no
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12764 if test $ac_cv_header_stdc = yes; then
12765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12766 cat >conftest.$ac_ext <<_ACEOF
12769 cat confdefs.h >>conftest.$ac_ext
12770 cat >>conftest.$ac_ext <<_ACEOF
12771 /* end confdefs.h. */
12772 #include <string.h>
12775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12776 $EGREP "memchr" >/dev/null 2>&1; then
12779 ac_cv_header_stdc=no
12785 if test $ac_cv_header_stdc = yes; then
12786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12787 cat >conftest.$ac_ext <<_ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12793 #include <stdlib.h>
12796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12797 $EGREP "free" >/dev/null 2>&1; then
12800 ac_cv_header_stdc=no
12806 if test $ac_cv_header_stdc = yes; then
12807 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12808 if test "$cross_compiling" = yes; then
12811 cat >conftest.$ac_ext <<_ACEOF
12814 cat confdefs.h >>conftest.$ac_ext
12815 cat >>conftest.$ac_ext <<_ACEOF
12816 /* end confdefs.h. */
12818 #include <stdlib.h>
12819 #if ((' ' & 0x0FF) == 0x020)
12820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12823 # define ISLOWER(c) \
12824 (('a' <= (c) && (c) <= 'i') \
12825 || ('j' <= (c) && (c) <= 'r') \
12826 || ('s' <= (c) && (c) <= 'z'))
12827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12835 for (i = 0; i < 256; i++)
12836 if (XOR (islower (i), ISLOWER (i))
12837 || toupper (i) != TOUPPER (i))
12842 rm -f conftest$ac_exeext
12843 if { (ac_try="$ac_link"
12844 case "(($ac_try" in
12845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12846 *) ac_try_echo=$ac_try;;
12848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12849 (eval "$ac_link") 2>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12853 { (case "(($ac_try" in
12854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12855 *) ac_try_echo=$ac_try;;
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_try") 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12864 echo "$as_me: program exited with status $ac_status" >&5
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12868 ( exit $ac_status )
12869 ac_cv_header_stdc=no
12871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12877 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12878 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
12879 if test $ac_cv_header_stdc = yes; then
12881 cat >>confdefs.h <<\_ACEOF
12882 #define STDC_HEADERS 1
12887 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12897 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12898 inttypes.h stdint.h unistd.h
12900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 cat >conftest.$ac_ext <<_ACEOF
12909 cat confdefs.h >>conftest.$ac_ext
12910 cat >>conftest.$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912 $ac_includes_default
12914 #include <$ac_header>
12916 rm -f conftest.$ac_objext
12917 if { (ac_try="$ac_compile"
12918 case "(($ac_try" in
12919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12920 *) ac_try_echo=$ac_try;;
12922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12923 (eval "$ac_compile") 2>conftest.er1
12925 grep -v '^ *+' conftest.er1 >conftest.err
12927 cat conftest.err >&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } && {
12930 test -z "$ac_c_werror_flag" ||
12931 test ! -s conftest.err
12932 } && test -s conftest.$ac_objext; then
12933 eval "$as_ac_Header=yes"
12935 echo "$as_me: failed program was:" >&5
12936 sed 's/^/| /' conftest.$ac_ext >&5
12938 eval "$as_ac_Header=no"
12941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12943 ac_res=`eval echo '${'$as_ac_Header'}'`
12944 { echo "$as_me:$LINENO: result: $ac_res" >&5
12945 echo "${ECHO_T}$ac_res" >&6; }
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h <<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12957 for ac_header in dlfcn.h
12959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 ac_res=`eval echo '${'$as_ac_Header'}'`
12967 { echo "$as_me:$LINENO: result: $ac_res" >&5
12968 echo "${ECHO_T}$ac_res" >&6; }
12970 # Is the header compilable?
12971 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12973 cat >conftest.$ac_ext <<_ACEOF
12976 cat confdefs.h >>conftest.$ac_ext
12977 cat >>conftest.$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12979 $ac_includes_default
12980 #include <$ac_header>
12982 rm -f conftest.$ac_objext
12983 if { (ac_try="$ac_compile"
12984 case "(($ac_try" in
12985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_compile") 2>conftest.er1
12991 grep -v '^ *+' conftest.er1 >conftest.err
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && {
12996 test -z "$ac_c_werror_flag" ||
12997 test ! -s conftest.err
12998 } && test -s conftest.$ac_objext; then
12999 ac_header_compiler=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13004 ac_header_compiler=no
13007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13008 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13009 echo "${ECHO_T}$ac_header_compiler" >&6; }
13011 # Is the header present?
13012 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13014 cat >conftest.$ac_ext <<_ACEOF
13017 cat confdefs.h >>conftest.$ac_ext
13018 cat >>conftest.$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13020 #include <$ac_header>
13022 if { (ac_try="$ac_cpp conftest.$ac_ext"
13023 case "(($ac_try" in
13024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13025 *) ac_try_echo=$ac_try;;
13027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13030 grep -v '^ *+' conftest.er1 >conftest.err
13032 cat conftest.err >&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } >/dev/null && {
13035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13036 test ! -s conftest.err
13038 ac_header_preproc=yes
13040 echo "$as_me: failed program was:" >&5
13041 sed 's/^/| /' conftest.$ac_ext >&5
13043 ac_header_preproc=no
13046 rm -f conftest.err conftest.$ac_ext
13047 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13048 echo "${ECHO_T}$ac_header_preproc" >&6; }
13050 # So? What about this header?
13051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13057 ac_header_preproc=yes
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13073 ## --------------------------------------------- ##
13074 ## Report this to vserver@list.linux-vserver.org ##
13075 ## --------------------------------------------- ##
13077 ) | sed "s/^/$as_me: WARNING: /" >&2
13080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13085 eval "$as_ac_Header=\$ac_header_preproc"
13087 ac_res=`eval echo '${'$as_ac_Header'}'`
13088 { echo "$as_me:$LINENO: result: $ac_res" >&5
13089 echo "${ECHO_T}$ac_res" >&6; }
13092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13093 cat >>confdefs.h <<_ACEOF
13094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13103 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13104 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13105 (test "X$CXX" != "Xg++"))) ; then
13107 ac_cpp='$CXXCPP $CPPFLAGS'
13108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13111 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13112 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
13113 if test -z "$CXXCPP"; then
13114 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 # Double quotes because CXXCPP needs to be expanded
13118 for CXXCPP in "$CXX -E" "/lib/cpp"
13120 ac_preproc_ok=false
13121 for ac_cxx_preproc_warn_flag in '' yes
13123 # Use a header file that comes with gcc, so configuring glibc
13124 # with a fresh cross-compiler works.
13125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13126 # <limits.h> exists even on freestanding compilers.
13127 # On the NeXT, cc -E runs the code through the compiler's parser,
13128 # not just through cpp. "Syntax error" is here to catch this case.
13129 cat >conftest.$ac_ext <<_ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13136 # include <limits.h>
13138 # include <assert.h>
13142 if { (ac_try="$ac_cpp conftest.$ac_ext"
13143 case "(($ac_try" in
13144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13145 *) ac_try_echo=$ac_try;;
13147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13150 grep -v '^ *+' conftest.er1 >conftest.err
13152 cat conftest.err >&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } >/dev/null && {
13155 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13156 test ! -s conftest.err
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13163 # Broken: fails on valid input.
13167 rm -f conftest.err conftest.$ac_ext
13169 # OK, works on sane cases. Now check whether nonexistent headers
13170 # can be detected and how.
13171 cat >conftest.$ac_ext <<_ACEOF
13174 cat confdefs.h >>conftest.$ac_ext
13175 cat >>conftest.$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 #include <ac_nonexistent.h>
13179 if { (ac_try="$ac_cpp conftest.$ac_ext"
13180 case "(($ac_try" in
13181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13182 *) ac_try_echo=$ac_try;;
13184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13187 grep -v '^ *+' conftest.er1 >conftest.err
13189 cat conftest.err >&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } >/dev/null && {
13192 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13193 test ! -s conftest.err
13195 # Broken: success on invalid input.
13198 echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 # Passes both tests.
13206 rm -f conftest.err conftest.$ac_ext
13209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13210 rm -f conftest.err conftest.$ac_ext
13211 if $ac_preproc_ok; then
13216 ac_cv_prog_CXXCPP=$CXXCPP
13219 CXXCPP=$ac_cv_prog_CXXCPP
13221 ac_cv_prog_CXXCPP=$CXXCPP
13223 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
13224 echo "${ECHO_T}$CXXCPP" >&6; }
13225 ac_preproc_ok=false
13226 for ac_cxx_preproc_warn_flag in '' yes
13228 # Use a header file that comes with gcc, so configuring glibc
13229 # with a fresh cross-compiler works.
13230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13231 # <limits.h> exists even on freestanding compilers.
13232 # On the NeXT, cc -E runs the code through the compiler's parser,
13233 # not just through cpp. "Syntax error" is here to catch this case.
13234 cat >conftest.$ac_ext <<_ACEOF
13237 cat confdefs.h >>conftest.$ac_ext
13238 cat >>conftest.$ac_ext <<_ACEOF
13239 /* end confdefs.h. */
13241 # include <limits.h>
13243 # include <assert.h>
13247 if { (ac_try="$ac_cpp conftest.$ac_ext"
13248 case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13255 grep -v '^ *+' conftest.er1 >conftest.err
13257 cat conftest.err >&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } >/dev/null && {
13260 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13261 test ! -s conftest.err
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.$ac_ext >&5
13268 # Broken: fails on valid input.
13272 rm -f conftest.err conftest.$ac_ext
13274 # OK, works on sane cases. Now check whether nonexistent headers
13275 # can be detected and how.
13276 cat >conftest.$ac_ext <<_ACEOF
13279 cat confdefs.h >>conftest.$ac_ext
13280 cat >>conftest.$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 #include <ac_nonexistent.h>
13284 if { (ac_try="$ac_cpp conftest.$ac_ext"
13285 case "(($ac_try" in
13286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13287 *) ac_try_echo=$ac_try;;
13289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13290 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13292 grep -v '^ *+' conftest.er1 >conftest.err
13294 cat conftest.err >&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); } >/dev/null && {
13297 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13298 test ! -s conftest.err
13300 # Broken: success on invalid input.
13303 echo "$as_me: failed program was:" >&5
13304 sed 's/^/| /' conftest.$ac_ext >&5
13306 # Passes both tests.
13311 rm -f conftest.err conftest.$ac_ext
13314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13315 rm -f conftest.err conftest.$ac_ext
13316 if $ac_preproc_ok; then
13319 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13320 See \`config.log' for more details." >&5
13321 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13322 See \`config.log' for more details." >&2;}
13323 { (exit 1); exit 1; }; }
13327 ac_cpp='$CXXCPP $CPPFLAGS'
13328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13335 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13336 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13338 if test -n "$ac_tool_prefix"; then
13339 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
13341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13345 if test "${ac_cv_prog_F77+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 if test -n "$F77"; then
13349 ac_cv_prog_F77="$F77" # Let the user override the test.
13351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13352 for as_dir in $PATH
13355 test -z "$as_dir" && as_dir=.
13356 for ac_exec_ext in '' $ac_executable_extensions; do
13357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13358 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13368 F77=$ac_cv_prog_F77
13369 if test -n "$F77"; then
13370 { echo "$as_me:$LINENO: result: $F77" >&5
13371 echo "${ECHO_T}$F77" >&6; }
13373 { echo "$as_me:$LINENO: result: no" >&5
13374 echo "${ECHO_T}no" >&6; }
13378 test -n "$F77" && break
13381 if test -z "$F77"; then
13383 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
13385 # Extract the first word of "$ac_prog", so it can be a program name with args.
13386 set dummy $ac_prog; ac_word=$2
13387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13389 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 if test -n "$ac_ct_F77"; then
13393 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13402 ac_cv_prog_ac_ct_F77="$ac_prog"
13403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13412 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13413 if test -n "$ac_ct_F77"; then
13414 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13415 echo "${ECHO_T}$ac_ct_F77" >&6; }
13417 { echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6; }
13422 test -n "$ac_ct_F77" && break
13425 if test "x$ac_ct_F77" = x; then
13428 case $cross_compiling:$ac_tool_warned in
13430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13431 whose name does not start with the host triplet. If you think this
13432 configuration is useful to you, please write to autoconf@gnu.org." >&5
13433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13434 whose name does not start with the host triplet. If you think this
13435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13436 ac_tool_warned=yes ;;
13443 # Provide some information about the compiler.
13444 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13445 ac_compiler=`set X $ac_compile; echo $2`
13446 { (ac_try="$ac_compiler --version >&5"
13447 case "(($ac_try" in
13448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13449 *) ac_try_echo=$ac_try;;
13451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13452 (eval "$ac_compiler --version >&5") 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }
13456 { (ac_try="$ac_compiler -v >&5"
13457 case "(($ac_try" in
13458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13459 *) ac_try_echo=$ac_try;;
13461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13462 (eval "$ac_compiler -v >&5") 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }
13466 { (ac_try="$ac_compiler -V >&5"
13467 case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_compiler -V >&5") 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }
13478 # If we don't use `.F' as extension, the preprocessor is not run on the
13479 # input file. (Note that this only needs to work for GNU compilers.)
13480 ac_save_ext=$ac_ext
13482 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13483 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13484 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 cat >conftest.$ac_ext <<_ACEOF
13495 rm -f conftest.$ac_objext
13496 if { (ac_try="$ac_compile"
13497 case "(($ac_try" in
13498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13499 *) ac_try_echo=$ac_try;;
13501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13502 (eval "$ac_compile") 2>conftest.er1
13504 grep -v '^ *+' conftest.er1 >conftest.err
13506 cat conftest.err >&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } && {
13509 test -z "$ac_f77_werror_flag" ||
13510 test ! -s conftest.err
13511 } && test -s conftest.$ac_objext; then
13512 ac_compiler_gnu=yes
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13521 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13524 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13525 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13526 ac_ext=$ac_save_ext
13527 ac_test_FFLAGS=${FFLAGS+set}
13528 ac_save_FFLAGS=$FFLAGS
13530 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13531 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13532 if test "${ac_cv_prog_f77_g+set}" = set; then
13533 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 cat >conftest.$ac_ext <<_ACEOF
13541 rm -f conftest.$ac_objext
13542 if { (ac_try="$ac_compile"
13543 case "(($ac_try" in
13544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13545 *) ac_try_echo=$ac_try;;
13547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13548 (eval "$ac_compile") 2>conftest.er1
13550 grep -v '^ *+' conftest.er1 >conftest.err
13552 cat conftest.err >&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } && {
13555 test -z "$ac_f77_werror_flag" ||
13556 test ! -s conftest.err
13557 } && test -s conftest.$ac_objext; then
13558 ac_cv_prog_f77_g=yes
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13563 ac_cv_prog_f77_g=no
13566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13569 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13570 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13571 if test "$ac_test_FFLAGS" = set; then
13572 FFLAGS=$ac_save_FFLAGS
13573 elif test $ac_cv_prog_f77_g = yes; then
13574 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13580 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13587 G77=`test $ac_compiler_gnu = yes && echo yes`
13589 ac_cpp='$CPP $CPPFLAGS'
13590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13596 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13598 # find the maximum length of command line arguments
13599 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13600 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13601 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13602 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 # On DJGPP, this test can blow up pretty badly due to problems in libc
13610 # (any single argument exceeding 2000 bytes causes a buffer overrun
13611 # during glob expansion). Even if it were fixed, the result of this
13612 # check would be larger than it should be.
13613 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13617 # Under GNU Hurd, this test is not required because there is
13618 # no limit to the length of command line arguments.
13619 # Libtool will interpret -1 as no limit whatsoever
13620 lt_cv_sys_max_cmd_len=-1;
13624 # On Win9x/ME, this test blows up -- it succeeds, but takes
13625 # about 5 minutes as the teststring grows exponentially.
13626 # Worse, since 9x/ME are not pre-emptively multitasking,
13627 # you end up with a "frozen" computer, even though with patience
13628 # the test eventually succeeds (with a max line length of 256k).
13629 # Instead, let's just punt: use the minimum linelength reported by
13630 # all of the supported platforms: 8192 (on NT/2K/XP).
13631 lt_cv_sys_max_cmd_len=8192;
13635 # On AmigaOS with pdksh, this test takes hours, literally.
13636 # So we just punt and use a minimum line length of 8192.
13637 lt_cv_sys_max_cmd_len=8192;
13640 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13641 # This has been around since 386BSD, at least. Likely further.
13642 if test -x /sbin/sysctl; then
13643 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13644 elif test -x /usr/sbin/sysctl; then
13645 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13647 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13649 # And add a safety zone
13650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13651 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13655 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13656 lt_cv_sys_max_cmd_len=196608
13660 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13661 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13662 # nice to cause kernel panics so lets avoid the loop below.
13663 # First set a reasonable default.
13664 lt_cv_sys_max_cmd_len=16384
13666 if test -x /sbin/sysconfig; then
13667 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13668 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13673 lt_cv_sys_max_cmd_len=102400
13675 sysv5* | sco5v6* | sysv4.2uw2*)
13676 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13677 if test -n "$kargmax"; then
13678 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13680 lt_cv_sys_max_cmd_len=32768
13684 # If test is not a shell built-in, we'll probably end up computing a
13685 # maximum length that is only half of the actual maximum length, but
13687 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13688 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13689 = "XX$teststring") >/dev/null 2>&1 &&
13690 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13691 lt_cv_sys_max_cmd_len=$new_result &&
13692 test $i != 17 # 1/2 MB should be enough
13695 teststring=$teststring$teststring
13698 # Add a significant safety factor because C++ compilers can tack on massive
13699 # amounts of additional arguments before passing them to the linker.
13700 # It appears as though 1/2 is a usable value.
13701 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13707 if test -n $lt_cv_sys_max_cmd_len ; then
13708 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13709 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13711 { echo "$as_me:$LINENO: result: none" >&5
13712 echo "${ECHO_T}none" >&6; }
13718 # Check for command to grab the raw symbol name followed by C symbol from nm.
13719 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13720 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13721 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 # These are sane defaults that work on at least a few old systems.
13726 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13728 # Character class describing NM global symbol codes.
13729 symcode='[BCDEGRST]'
13731 # Regexp to match symbols that can be accessed directly from C.
13732 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13734 # Transform an extracted symbol line into a proper C declaration
13735 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13737 # Transform an extracted symbol line into symbol name and symbol address
13738 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'"
13740 # Define system-specific variables.
13745 cygwin* | mingw* | pw32*)
13746 symcode='[ABCDGISTW]'
13748 hpux*) # Its linker distinguishes data from code symbols
13749 if test "$host_cpu" = ia64; then
13750 symcode='[ABCDEGRST]'
13752 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13753 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'"
13756 if test "$host_cpu" = ia64; then
13757 symcode='[ABCDGIRSTW]'
13758 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13759 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'"
13762 irix* | nonstopux*)
13763 symcode='[BCDEGRST]'
13766 symcode='[BCDEGQRST]'
13777 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13785 # Handle CRLF in mingw tool chain
13789 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13793 # If we're using GNU nm, then use its standard symbol codes.
13794 case `$NM -V 2>&1` in
13795 *GNU* | *'with BFD'*)
13796 symcode='[ABCDGIRSTW]' ;;
13799 # Try without a prefix undercore, then with it.
13800 for ac_symprfx in "" "_"; do
13802 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13803 symxfrm="\\1 $ac_symprfx\\2 \\2"
13805 # Write the raw and C identifiers.
13806 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13808 # Check to see that the pipe works correctly.
13812 cat > conftest.$ac_ext <<EOF
13817 void nm_test_func(){}
13821 int main(){nm_test_var='a';nm_test_func();return(0);}
13824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13825 (eval $ac_compile) 2>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); }; then
13829 # Now try to grab the symbols.
13831 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13832 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } && test -s "$nlist"; then
13836 # Try sorting and uniquifying the output.
13837 if sort "$nlist" | uniq > "$nlist"T; then
13838 mv -f "$nlist"T "$nlist"
13843 # Make sure that we snagged all the symbols we need.
13844 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13845 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13846 cat <<EOF > conftest.$ac_ext
13852 # Now generate the symbol file.
13853 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13855 cat <<EOF >> conftest.$ac_ext
13856 #if defined (__STDC__) && __STDC__
13857 # define lt_ptr_t void *
13859 # define lt_ptr_t char *
13863 /* The mapping between symbol names and symbols. */
13868 lt_preloaded_symbols[] =
13871 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13872 cat <<\EOF >> conftest.$ac_ext
13880 # Now try linking the two files.
13881 mv conftest.$ac_objext conftstm.$ac_objext
13882 lt_save_LIBS="$LIBS"
13883 lt_save_CFLAGS="$CFLAGS"
13884 LIBS="conftstm.$ac_objext"
13885 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13887 (eval $ac_link) 2>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13893 LIBS="$lt_save_LIBS"
13894 CFLAGS="$lt_save_CFLAGS"
13896 echo "cannot find nm_test_func in $nlist" >&5
13899 echo "cannot find nm_test_var in $nlist" >&5
13902 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13905 echo "$progname: failed program was:" >&5
13906 cat conftest.$ac_ext >&5
13908 rm -f conftest* conftst*
13910 # Do not use the global_symbol_pipe unless it works.
13911 if test "$pipe_works" = yes; then
13914 lt_cv_sys_global_symbol_pipe=
13920 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13921 lt_cv_sys_global_symbol_to_cdecl=
13923 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13924 { echo "$as_me:$LINENO: result: failed" >&5
13925 echo "${ECHO_T}failed" >&6; }
13927 { echo "$as_me:$LINENO: result: ok" >&5
13928 echo "${ECHO_T}ok" >&6; }
13931 { echo "$as_me:$LINENO: checking for objdir" >&5
13932 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13933 if test "${lt_cv_objdir+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 rm -f .libs 2>/dev/null
13937 mkdir .libs 2>/dev/null
13938 if test -d .libs; then
13941 # MS-DOS does not allow filenames that begin with a dot.
13944 rmdir .libs 2>/dev/null
13946 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13947 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13948 objdir=$lt_cv_objdir
13956 # AIX sometimes has problems with the GCC collect2 program. For some
13957 # reason, if we set the COLLECT_NAMES environment variable, the problems
13958 # vanish in a puff of smoke.
13959 if test "X${COLLECT_NAMES+set}" != Xset; then
13961 export COLLECT_NAMES
13966 # Sed substitution that helps us do robust quoting. It backslashifies
13967 # metacharacters that are still active within double-quoted strings.
13968 Xsed='sed -e 1s/^X//'
13969 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13971 # Same as above, but do not quote variable references.
13972 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
13974 # Sed substitution to delay expansion of an escaped shell variable in a
13975 # double_quote_subst'ed string.
13976 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13978 # Sed substitution to avoid accidental globbing in evaled expressions
13979 no_glob_subst='s/\*/\\\*/g'
13984 # Global variables:
13985 default_ofile=libtool
13986 can_build_shared=yes
13988 # All known linkers require a `.a' archive for static linking (except MSVC,
13989 # which needs '.lib').
13991 ltmain="$ac_aux_dir/ltmain.sh"
13992 ofile="$default_ofile"
13993 with_gnu_ld="$lt_cv_prog_gnu_ld"
13995 if test -n "$ac_tool_prefix"; then
13996 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13997 set dummy ${ac_tool_prefix}ar; ac_word=$2
13998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14000 if test "${ac_cv_prog_AR+set}" = set; then
14001 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 if test -n "$AR"; then
14004 ac_cv_prog_AR="$AR" # Let the user override the test.
14006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14007 for as_dir in $PATH
14010 test -z "$as_dir" && as_dir=.
14011 for ac_exec_ext in '' $ac_executable_extensions; do
14012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14013 ac_cv_prog_AR="${ac_tool_prefix}ar"
14014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14024 if test -n "$AR"; then
14025 { echo "$as_me:$LINENO: result: $AR" >&5
14026 echo "${ECHO_T}$AR" >&6; }
14028 { echo "$as_me:$LINENO: result: no" >&5
14029 echo "${ECHO_T}no" >&6; }
14034 if test -z "$ac_cv_prog_AR"; then
14036 # Extract the first word of "ar", so it can be a program name with args.
14037 set dummy ar; ac_word=$2
14038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14040 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 if test -n "$ac_ct_AR"; then
14044 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14047 for as_dir in $PATH
14050 test -z "$as_dir" && as_dir=.
14051 for ac_exec_ext in '' $ac_executable_extensions; do
14052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14053 ac_cv_prog_ac_ct_AR="ar"
14054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14063 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14064 if test -n "$ac_ct_AR"; then
14065 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14066 echo "${ECHO_T}$ac_ct_AR" >&6; }
14068 { echo "$as_me:$LINENO: result: no" >&5
14069 echo "${ECHO_T}no" >&6; }
14072 if test "x$ac_ct_AR" = x; then
14075 case $cross_compiling:$ac_tool_warned in
14077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14078 whose name does not start with the host triplet. If you think this
14079 configuration is useful to you, please write to autoconf@gnu.org." >&5
14080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14081 whose name does not start with the host triplet. If you think this
14082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14083 ac_tool_warned=yes ;;
14088 AR="$ac_cv_prog_AR"
14091 if test -n "$ac_tool_prefix"; then
14092 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14093 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14096 if test "${ac_cv_prog_RANLIB+set}" = set; then
14097 echo $ECHO_N "(cached) $ECHO_C" >&6
14099 if test -n "$RANLIB"; then
14100 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14103 for as_dir in $PATH
14106 test -z "$as_dir" && as_dir=.
14107 for ac_exec_ext in '' $ac_executable_extensions; do
14108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14109 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14119 RANLIB=$ac_cv_prog_RANLIB
14120 if test -n "$RANLIB"; then
14121 { echo "$as_me:$LINENO: result: $RANLIB" >&5
14122 echo "${ECHO_T}$RANLIB" >&6; }
14124 { echo "$as_me:$LINENO: result: no" >&5
14125 echo "${ECHO_T}no" >&6; }
14130 if test -z "$ac_cv_prog_RANLIB"; then
14131 ac_ct_RANLIB=$RANLIB
14132 # Extract the first word of "ranlib", so it can be a program name with args.
14133 set dummy ranlib; ac_word=$2
14134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14136 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 if test -n "$ac_ct_RANLIB"; then
14140 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 for as_dir in $PATH
14146 test -z "$as_dir" && as_dir=.
14147 for ac_exec_ext in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_prog_ac_ct_RANLIB="ranlib"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14160 if test -n "$ac_ct_RANLIB"; then
14161 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14162 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14164 { echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6; }
14168 if test "x$ac_ct_RANLIB" = x; then
14171 case $cross_compiling:$ac_tool_warned in
14173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14174 whose name does not start with the host triplet. If you think this
14175 configuration is useful to you, please write to autoconf@gnu.org." >&5
14176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14177 whose name does not start with the host triplet. If you think this
14178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14179 ac_tool_warned=yes ;;
14181 RANLIB=$ac_ct_RANLIB
14184 RANLIB="$ac_cv_prog_RANLIB"
14187 if test -n "$ac_tool_prefix"; then
14188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14189 set dummy ${ac_tool_prefix}strip; ac_word=$2
14190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14192 if test "${ac_cv_prog_STRIP+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 if test -n "$STRIP"; then
14196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14199 for as_dir in $PATH
14202 test -z "$as_dir" && as_dir=.
14203 for ac_exec_ext in '' $ac_executable_extensions; do
14204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14205 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14215 STRIP=$ac_cv_prog_STRIP
14216 if test -n "$STRIP"; then
14217 { echo "$as_me:$LINENO: result: $STRIP" >&5
14218 echo "${ECHO_T}$STRIP" >&6; }
14220 { echo "$as_me:$LINENO: result: no" >&5
14221 echo "${ECHO_T}no" >&6; }
14226 if test -z "$ac_cv_prog_STRIP"; then
14228 # Extract the first word of "strip", so it can be a program name with args.
14229 set dummy strip; ac_word=$2
14230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 if test -n "$ac_ct_STRIP"; then
14236 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14239 for as_dir in $PATH
14242 test -z "$as_dir" && as_dir=.
14243 for ac_exec_ext in '' $ac_executable_extensions; do
14244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14245 ac_cv_prog_ac_ct_STRIP="strip"
14246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14255 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14256 if test -n "$ac_ct_STRIP"; then
14257 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14258 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14260 { echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6; }
14264 if test "x$ac_ct_STRIP" = x; then
14267 case $cross_compiling:$ac_tool_warned in
14269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14270 whose name does not start with the host triplet. If you think this
14271 configuration is useful to you, please write to autoconf@gnu.org." >&5
14272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14273 whose name does not start with the host triplet. If you think this
14274 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14275 ac_tool_warned=yes ;;
14280 STRIP="$ac_cv_prog_STRIP"
14285 old_CFLAGS="$CFLAGS"
14287 # Set sane defaults for various variables
14288 test -z "$AR" && AR=ar
14289 test -z "$AR_FLAGS" && AR_FLAGS=cru
14290 test -z "$AS" && AS=as
14291 test -z "$CC" && CC=cc
14292 test -z "$LTCC" && LTCC=$CC
14293 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14294 test -z "$DLLTOOL" && DLLTOOL=dlltool
14295 test -z "$LD" && LD=ld
14296 test -z "$LN_S" && LN_S="ln -s"
14297 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14298 test -z "$NM" && NM=nm
14299 test -z "$SED" && SED=sed
14300 test -z "$OBJDUMP" && OBJDUMP=objdump
14301 test -z "$RANLIB" && RANLIB=:
14302 test -z "$STRIP" && STRIP=:
14303 test -z "$ac_objext" && ac_objext=o
14305 # Determine commands to create old-style static archives.
14306 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14307 old_postinstall_cmds='chmod 644 $oldlib'
14308 old_postuninstall_cmds=
14310 if test -n "$RANLIB"; then
14313 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14316 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14319 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14322 for cc_temp in $compiler""; do
14324 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14325 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14330 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14333 # Only perform the check for file, if the check method requires it
14334 case $deplibs_check_method in
14336 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14337 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14338 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14339 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14340 echo $ECHO_N "(cached) $ECHO_C" >&6
14344 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14347 lt_save_MAGIC_CMD="$MAGIC_CMD"
14348 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14349 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14350 for ac_dir in $ac_dummy; do
14352 test -z "$ac_dir" && ac_dir=.
14353 if test -f $ac_dir/${ac_tool_prefix}file; then
14354 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14355 if test -n "$file_magic_test_file"; then
14356 case $deplibs_check_method in
14358 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14359 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14360 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14361 $EGREP "$file_magic_regex" > /dev/null; then
14366 *** Warning: the command libtool uses to detect shared libraries,
14367 *** $file_magic_cmd, produces output that libtool cannot recognize.
14368 *** The result is that libtool may fail to recognize shared libraries
14369 *** as such. This will affect the creation of libtool libraries that
14370 *** depend on shared libraries, but programs linked with such libtool
14371 *** libraries will work regardless of this problem. Nevertheless, you
14372 *** may want to report the problem to your system manager and/or to
14373 *** bug-libtool@gnu.org
14383 MAGIC_CMD="$lt_save_MAGIC_CMD"
14388 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14389 if test -n "$MAGIC_CMD"; then
14390 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14391 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14393 { echo "$as_me:$LINENO: result: no" >&5
14394 echo "${ECHO_T}no" >&6; }
14397 if test -z "$lt_cv_path_MAGIC_CMD"; then
14398 if test -n "$ac_tool_prefix"; then
14399 { echo "$as_me:$LINENO: checking for file" >&5
14400 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14401 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14409 lt_save_MAGIC_CMD="$MAGIC_CMD"
14410 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14411 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14412 for ac_dir in $ac_dummy; do
14414 test -z "$ac_dir" && ac_dir=.
14415 if test -f $ac_dir/file; then
14416 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14417 if test -n "$file_magic_test_file"; then
14418 case $deplibs_check_method in
14420 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14421 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14422 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14423 $EGREP "$file_magic_regex" > /dev/null; then
14428 *** Warning: the command libtool uses to detect shared libraries,
14429 *** $file_magic_cmd, produces output that libtool cannot recognize.
14430 *** The result is that libtool may fail to recognize shared libraries
14431 *** as such. This will affect the creation of libtool libraries that
14432 *** depend on shared libraries, but programs linked with such libtool
14433 *** libraries will work regardless of this problem. Nevertheless, you
14434 *** may want to report the problem to your system manager and/or to
14435 *** bug-libtool@gnu.org
14445 MAGIC_CMD="$lt_save_MAGIC_CMD"
14450 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14451 if test -n "$MAGIC_CMD"; then
14452 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14453 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14455 { echo "$as_me:$LINENO: result: no" >&5
14456 echo "${ECHO_T}no" >&6; }
14469 enable_win32_dll=no
14471 # Check whether --enable-libtool-lock was given.
14472 if test "${enable_libtool_lock+set}" = set; then
14473 enableval=$enable_libtool_lock;
14476 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14479 # Check whether --with-pic was given.
14480 if test "${with_pic+set}" = set; then
14481 withval=$with_pic; pic_mode="$withval"
14486 test -z "$pic_mode" && pic_mode=default
14488 # Use C for the default configuration in the libtool script
14492 ac_cpp='$CPP $CPPFLAGS'
14493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14498 # Source file extension for C test sources.
14501 # Object file extension for compiled C test sources.
14505 # Code to be used in simple compile tests
14506 lt_simple_compile_test_code="int some_variable = 0;\n"
14508 # Code to be used in simple link tests
14509 lt_simple_link_test_code='int main(){return(0);}\n'
14512 # If no C compiler was specified, use CC.
14515 # If no C compiler flags were specified, use CFLAGS.
14516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14518 # Allow CC to be a program name with arguments.
14522 # save warnings/boilerplate of simple test code
14523 ac_outfile=conftest.$ac_objext
14524 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14525 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14526 _lt_compiler_boilerplate=`cat conftest.err`
14529 ac_outfile=conftest.$ac_objext
14530 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14531 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14532 _lt_linker_boilerplate=`cat conftest.err`
14537 lt_prog_compiler_no_builtin_flag=
14539 if test "$GCC" = yes; then
14540 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14543 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14544 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14545 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14546 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 lt_cv_prog_compiler_rtti_exceptions=no
14549 ac_outfile=conftest.$ac_objext
14550 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14551 lt_compiler_flag="-fno-rtti -fno-exceptions"
14552 # Insert the option either (1) after the last *FLAGS variable, or
14553 # (2) before a word containing "conftest.", or (3) at the end.
14554 # Note that $ac_compile itself does not contain backslashes and begins
14555 # with a dollar sign (not a hyphen), so the echo should work correctly.
14556 # The option is referenced via a variable to avoid confusing sed.
14557 lt_compile=`echo "$ac_compile" | $SED \
14558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14560 -e 's:$: $lt_compiler_flag:'`
14561 (eval echo "\"\$as_me:14561: $lt_compile\"" >&5)
14562 (eval "$lt_compile" 2>conftest.err)
14564 cat conftest.err >&5
14565 echo "$as_me:14565: \$? = $ac_status" >&5
14566 if (exit $ac_status) && test -s "$ac_outfile"; then
14567 # The compiler can only warn and ignore the option if not recognized
14568 # So say no if there are warnings other than the usual output.
14569 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14570 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14571 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14572 lt_cv_prog_compiler_rtti_exceptions=yes
14578 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14579 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14581 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14582 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14589 lt_prog_compiler_wl=
14590 lt_prog_compiler_pic=
14591 lt_prog_compiler_static=
14593 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14594 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14596 if test "$GCC" = yes; then
14597 lt_prog_compiler_wl='-Wl,'
14598 lt_prog_compiler_static='-static'
14602 # All AIX code is PIC.
14603 if test "$host_cpu" = ia64; then
14604 # AIX 5 now supports IA64 processor
14605 lt_prog_compiler_static='-Bstatic'
14610 # FIXME: we need at least 68020 code to build shared libraries, but
14611 # adding the `-m68020' flag to GCC prevents building anything better,
14613 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14616 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14617 # PIC is the default for these OSes.
14620 mingw* | pw32* | os2*)
14621 # This hack is so that the source file can tell whether it is being
14622 # built for inclusion in a dll (and should export symbols for example).
14623 lt_prog_compiler_pic='-DDLL_EXPORT'
14626 darwin* | rhapsody*)
14627 # PIC is the default on this platform
14628 # Common symbols not allowed in MH_DYLIB files
14629 lt_prog_compiler_pic='-fno-common'
14633 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14634 # Instead, we relocate shared libraries at runtime.
14638 # Just because we use GCC doesn't mean we suddenly get shared libraries
14639 # on systems that don't support them.
14640 lt_prog_compiler_can_build_shared=no
14645 if test -d /usr/nec; then
14646 lt_prog_compiler_pic=-Kconform_pic
14651 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14652 # not for PA HP-UX.
14658 lt_prog_compiler_pic='-fPIC'
14664 lt_prog_compiler_pic='-fPIC'
14668 # PORTME Check for flag to pass linker flags through the system compiler.
14671 lt_prog_compiler_wl='-Wl,'
14672 if test "$host_cpu" = ia64; then
14673 # AIX 5 now supports IA64 processor
14674 lt_prog_compiler_static='-Bstatic'
14676 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14680 # PIC is the default on this platform
14681 # Common symbols not allowed in MH_DYLIB files
14682 case $cc_basename in
14684 lt_prog_compiler_pic='-qnocommon'
14685 lt_prog_compiler_wl='-Wl,'
14690 mingw* | pw32* | os2*)
14691 # This hack is so that the source file can tell whether it is being
14692 # built for inclusion in a dll (and should export symbols for example).
14693 lt_prog_compiler_pic='-DDLL_EXPORT'
14696 hpux9* | hpux10* | hpux11*)
14697 lt_prog_compiler_wl='-Wl,'
14698 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14699 # not for PA HP-UX.
14705 lt_prog_compiler_pic='+Z'
14708 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14709 lt_prog_compiler_static='${wl}-a ${wl}archive'
14712 irix5* | irix6* | nonstopux*)
14713 lt_prog_compiler_wl='-Wl,'
14714 # PIC (with -KPIC) is the default.
14715 lt_prog_compiler_static='-non_shared'
14719 lt_prog_compiler_pic='-KPIC'
14720 lt_prog_compiler_static='-Bstatic'
14724 case $cc_basename in
14726 lt_prog_compiler_wl='-Wl,'
14727 lt_prog_compiler_pic='-KPIC'
14728 lt_prog_compiler_static='-static'
14730 pgcc* | pgf77* | pgf90* | pgf95*)
14731 # Portland Group compilers (*not* the Pentium gcc compiler,
14732 # which looks to be a dead project)
14733 lt_prog_compiler_wl='-Wl,'
14734 lt_prog_compiler_pic='-fpic'
14735 lt_prog_compiler_static='-Bstatic'
14738 lt_prog_compiler_wl='-Wl,'
14739 # All Alpha code is PIC.
14740 lt_prog_compiler_static='-non_shared'
14745 osf3* | osf4* | osf5*)
14746 lt_prog_compiler_wl='-Wl,'
14747 # All OSF/1 code is PIC.
14748 lt_prog_compiler_static='-non_shared'
14752 lt_prog_compiler_pic='-KPIC'
14753 lt_prog_compiler_static='-Bstatic'
14754 case $cc_basename in
14755 f77* | f90* | f95*)
14756 lt_prog_compiler_wl='-Qoption ld ';;
14758 lt_prog_compiler_wl='-Wl,';;
14763 lt_prog_compiler_wl='-Qoption ld '
14764 lt_prog_compiler_pic='-PIC'
14765 lt_prog_compiler_static='-Bstatic'
14768 sysv4 | sysv4.2uw2* | sysv4.3*)
14769 lt_prog_compiler_wl='-Wl,'
14770 lt_prog_compiler_pic='-KPIC'
14771 lt_prog_compiler_static='-Bstatic'
14775 if test -d /usr/nec ;then
14776 lt_prog_compiler_pic='-Kconform_pic'
14777 lt_prog_compiler_static='-Bstatic'
14781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14782 lt_prog_compiler_wl='-Wl,'
14783 lt_prog_compiler_pic='-KPIC'
14784 lt_prog_compiler_static='-Bstatic'
14788 lt_prog_compiler_wl='-Wl,'
14789 lt_prog_compiler_can_build_shared=no
14793 lt_prog_compiler_pic='-pic'
14794 lt_prog_compiler_static='-Bstatic'
14798 lt_prog_compiler_can_build_shared=no
14803 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
14804 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14807 # Check to make sure the PIC flag actually works.
14809 if test -n "$lt_prog_compiler_pic"; then
14811 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14812 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
14813 if test "${lt_prog_compiler_pic_works+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 lt_prog_compiler_pic_works=no
14817 ac_outfile=conftest.$ac_objext
14818 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14819 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14820 # Insert the option either (1) after the last *FLAGS variable, or
14821 # (2) before a word containing "conftest.", or (3) at the end.
14822 # Note that $ac_compile itself does not contain backslashes and begins
14823 # with a dollar sign (not a hyphen), so the echo should work correctly.
14824 # The option is referenced via a variable to avoid confusing sed.
14825 lt_compile=`echo "$ac_compile" | $SED \
14826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14828 -e 's:$: $lt_compiler_flag:'`
14829 (eval echo "\"\$as_me:14829: $lt_compile\"" >&5)
14830 (eval "$lt_compile" 2>conftest.err)
14832 cat conftest.err >&5
14833 echo "$as_me:14833: \$? = $ac_status" >&5
14834 if (exit $ac_status) && test -s "$ac_outfile"; then
14835 # The compiler can only warn and ignore the option if not recognized
14836 # So say no if there are warnings other than the usual output.
14837 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14839 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14840 lt_prog_compiler_pic_works=yes
14846 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
14847 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14849 if test x"$lt_prog_compiler_pic_works" = xyes; then
14850 case $lt_prog_compiler_pic in
14852 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14855 lt_prog_compiler_pic=
14856 lt_prog_compiler_can_build_shared=no
14861 # For platforms which do not support PIC, -DPIC is meaningless:
14863 lt_prog_compiler_pic=
14866 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14871 # Check to make sure the static flag actually works.
14873 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14874 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14875 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14876 if test "${lt_prog_compiler_static_works+set}" = set; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 lt_prog_compiler_static_works=no
14880 save_LDFLAGS="$LDFLAGS"
14881 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14882 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14883 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14884 # The linker can only warn and ignore the option if not recognized
14885 # So say no if there are warnings
14886 if test -s conftest.err; then
14887 # Append any errors to the config.log.
14888 cat conftest.err 1>&5
14889 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14890 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14891 if diff conftest.exp conftest.er2 >/dev/null; then
14892 lt_prog_compiler_static_works=yes
14895 lt_prog_compiler_static_works=yes
14899 LDFLAGS="$save_LDFLAGS"
14902 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
14903 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14905 if test x"$lt_prog_compiler_static_works" = xyes; then
14908 lt_prog_compiler_static=
14912 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14913 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14914 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 lt_cv_prog_compiler_c_o=no
14918 $rm -r conftest 2>/dev/null
14922 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14924 lt_compiler_flag="-o out/conftest2.$ac_objext"
14925 # Insert the option either (1) after the last *FLAGS variable, or
14926 # (2) before a word containing "conftest.", or (3) at the end.
14927 # Note that $ac_compile itself does not contain backslashes and begins
14928 # with a dollar sign (not a hyphen), so the echo should work correctly.
14929 lt_compile=`echo "$ac_compile" | $SED \
14930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14931 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14932 -e 's:$: $lt_compiler_flag:'`
14933 (eval echo "\"\$as_me:14933: $lt_compile\"" >&5)
14934 (eval "$lt_compile" 2>out/conftest.err)
14936 cat out/conftest.err >&5
14937 echo "$as_me:14937: \$? = $ac_status" >&5
14938 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14940 # The compiler can only warn and ignore the option if not recognized
14941 # So say no if there are warnings
14942 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14943 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14944 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14945 lt_cv_prog_compiler_c_o=yes
14950 # SGI C++ compiler will create directory out/ii_files/ for
14951 # template instantiation
14952 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14953 $rm out/* && rmdir out
14959 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
14960 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14963 hard_links="nottested"
14964 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14965 # do not overwrite the value of need_locks provided by the user
14966 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14967 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14970 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14972 ln conftest.a conftest.b 2>&5 || hard_links=no
14973 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14974 { echo "$as_me:$LINENO: result: $hard_links" >&5
14975 echo "${ECHO_T}$hard_links" >&6; }
14976 if test "$hard_links" = no; then
14977 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14978 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14985 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14986 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14989 allow_undefined_flag=
14990 enable_shared_with_static_runtimes=no
14992 archive_expsym_cmds=
14993 old_archive_From_new_cmds=
14994 old_archive_from_expsyms_cmds=
14995 export_dynamic_flag_spec=
14996 whole_archive_flag_spec=
14997 thread_safe_flag_spec=
14998 hardcode_libdir_flag_spec=
14999 hardcode_libdir_flag_spec_ld=
15000 hardcode_libdir_separator=
15002 hardcode_minus_L=no
15003 hardcode_shlibpath_var=unsupported
15004 link_all_deplibs=unknown
15005 hardcode_automatic=no
15007 module_expsym_cmds=
15008 always_export_symbols=no
15009 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15010 # include_expsyms should be a list of space-separated symbols to be *always*
15011 # included in the symbol list
15013 # exclude_expsyms can be an extended regexp of symbols to exclude
15014 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15015 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15016 # as well as any symbol that contains `d'.
15017 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15018 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15019 # platforms (ab)use it in PIC code, but their linkers get confused if
15020 # the symbol is explicitly referenced. Since portable code cannot
15021 # rely on this symbol name, it's probably fine to never include it in
15022 # preloaded symbol tables.
15023 extract_expsyms_cmds=
15024 # Just being paranoid about ensuring that cc_basename is set.
15025 for cc_temp in $compiler""; do
15027 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15028 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15033 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15036 cygwin* | mingw* | pw32*)
15037 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15038 # When not using gcc, we currently assume that we are using
15039 # Microsoft Visual C++.
15040 if test "$GCC" != yes; then
15045 # we just hope/assume this is gcc and not c89 (= MSVC++)
15054 if test "$with_gnu_ld" = yes; then
15055 # If archive_cmds runs LD, not CC, wlarc should be empty
15058 # Set some defaults for GNU ld with shared library support. These
15059 # are reset later if shared libraries are not supported. Putting them
15060 # here allows them to be overridden if necessary.
15061 runpath_var=LD_RUN_PATH
15062 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15063 export_dynamic_flag_spec='${wl}--export-dynamic'
15064 # ancient GNU ld didn't support --whole-archive et. al.
15065 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15066 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15068 whole_archive_flag_spec=
15070 supports_anon_versioning=no
15071 case `$LD -v 2>/dev/null` in
15072 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15073 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15074 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15075 *\ 2.11.*) ;; # other 2.11 versions
15076 *) supports_anon_versioning=yes ;;
15079 # See if GNU ld supports shared libraries.
15081 aix3* | aix4* | aix5*)
15082 # On AIX/PPC, the GNU linker is very broken
15083 if test "$host_cpu" != ia64; then
15087 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15088 *** to be unable to reliably create shared libraries on AIX.
15089 *** Therefore, libtool is disabling shared libraries support. If you
15090 *** really care for shared libraries, you may want to modify your PATH
15091 *** so that a non-GNU linker is found, and then restart.
15098 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)'
15099 hardcode_libdir_flag_spec='-L$libdir'
15100 hardcode_minus_L=yes
15102 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15103 # that the semantics of dynamic libraries on AmigaOS, at least up
15104 # to version 4, is to share data among multiple programs linked
15105 # with the same dynamic library. Since this doesn't match the
15106 # behavior of shared libraries on other platforms, we can't use
15112 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15113 allow_undefined_flag=unsupported
15114 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15115 # support --undefined. This deserves some investigation. FIXME
15116 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15122 cygwin* | mingw* | pw32*)
15123 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15124 # as there is no search path for DLLs.
15125 hardcode_libdir_flag_spec='-L$libdir'
15126 allow_undefined_flag=unsupported
15127 always_export_symbols=no
15128 enable_shared_with_static_runtimes=yes
15129 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15131 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15133 # If the export-symbols file already is a .def file (1st line
15134 # is EXPORTS), use it as is; otherwise, prepend...
15135 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15136 cp $export_symbols $output_objdir/$soname.def;
15138 echo EXPORTS > $output_objdir/$soname.def;
15139 cat $export_symbols >> $output_objdir/$soname.def;
15141 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15149 hardcode_shlibpath_var=no
15150 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15151 export_dynamic_flag_spec='${wl}-E'
15152 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15153 # Instead, shared libraries are loaded at an image base (0x10000000 by
15154 # default) and relocated if they conflict, which is a slow very memory
15155 # consuming and fragmenting process. To avoid this, we pick a random,
15156 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15157 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15158 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15159 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'
15163 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15165 case $cc_basename,$host_cpu in
15166 pgcc*) # Portland Group C compiler
15167 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'
15168 tmp_addflag=' $pic_flag'
15170 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15171 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'
15172 tmp_addflag=' $pic_flag -Mnomain' ;;
15173 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15174 tmp_addflag=' -i_dynamic' ;;
15175 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15176 tmp_addflag=' -i_dynamic -nofor_main' ;;
15177 ifc* | ifort*) # Intel Fortran compiler
15178 tmp_addflag=' -nofor_main' ;;
15180 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15182 if test $supports_anon_versioning = yes; then
15183 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15184 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15185 $echo "local: *; };" >> $output_objdir/$libname.ver~
15186 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15194 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15195 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15199 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15204 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15208 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15209 *** create shared libraries on Solaris systems. Therefore, libtool
15210 *** is disabling shared libraries support. We urge you to upgrade GNU
15211 *** binutils to release 2.9.1 or newer. Another option is to modify
15212 *** your PATH or compiler configuration so that the native linker is
15213 *** used, and then restart.
15216 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15217 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15218 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15224 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15225 case `$LD -v 2>&1` in
15226 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15230 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15231 *** reliably create shared libraries on SCO systems. Therefore, libtool
15232 *** is disabling shared libraries support. We urge you to upgrade GNU
15233 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15234 *** your PATH or compiler configuration so that the native linker is
15235 *** used, and then restart.
15240 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15241 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15242 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15243 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15252 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15254 hardcode_direct=yes
15255 hardcode_shlibpath_var=no
15259 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15261 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15268 if test "$ld_shlibs" = no; then
15270 hardcode_libdir_flag_spec=
15271 export_dynamic_flag_spec=
15272 whole_archive_flag_spec=
15275 # PORTME fill in a description of your system's linker (not GNU ld)
15278 allow_undefined_flag=unsupported
15279 always_export_symbols=yes
15280 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'
15281 # Note: this linker hardcodes the directories in LIBPATH if there
15282 # are no directories specified by -L.
15283 hardcode_minus_L=yes
15284 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15285 # Neither direct hardcoding nor static linking is supported with a
15287 hardcode_direct=unsupported
15292 if test "$host_cpu" = ia64; then
15293 # On IA64, the linker does run time linking by default, so we don't
15294 # have to do anything special.
15295 aix_use_runtimelinking=no
15296 exp_sym_flag='-Bexport'
15299 # If we're using GNU nm, then we don't want the "-C" option.
15300 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15301 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15302 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'
15304 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'
15306 aix_use_runtimelinking=no
15308 # Test if we are trying to use run time linking or normal
15309 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15310 # need to do runtime linking.
15311 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15312 for ld_flag in $LDFLAGS; do
15313 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15314 aix_use_runtimelinking=yes
15321 exp_sym_flag='-bexport'
15322 no_entry_flag='-bnoentry'
15325 # When large executables or shared objects are built, AIX ld can
15326 # have problems creating the table of contents. If linking a library
15327 # or program results in "error TOC overflow" add -mminimal-toc to
15328 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15329 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15332 hardcode_direct=yes
15333 hardcode_libdir_separator=':'
15334 link_all_deplibs=yes
15336 if test "$GCC" = yes; then
15337 case $host_os in aix4.[012]|aix4.[012].*)
15338 # We only want to do this on AIX 4.2 and lower, the check
15339 # below for broken collect2 doesn't work under 4.3+
15340 collect2name=`${CC} -print-prog-name=collect2`
15341 if test -f "$collect2name" && \
15342 strings "$collect2name" | grep resolve_lib_name >/dev/null
15344 # We have reworked collect2
15345 hardcode_direct=yes
15347 # We have old collect2
15348 hardcode_direct=unsupported
15349 # It fails to find uninstalled libraries when the uninstalled
15350 # path is not listed in the libpath. Setting hardcode_minus_L
15351 # to unsupported forces relinking
15352 hardcode_minus_L=yes
15353 hardcode_libdir_flag_spec='-L$libdir'
15354 hardcode_libdir_separator=
15358 shared_flag='-shared'
15359 if test "$aix_use_runtimelinking" = yes; then
15360 shared_flag="$shared_flag "'${wl}-G'
15364 if test "$host_cpu" = ia64; then
15365 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15366 # chokes on -Wl,-G. The following line is correct:
15369 if test "$aix_use_runtimelinking" = yes; then
15370 shared_flag='${wl}-G'
15372 shared_flag='${wl}-bM:SRE'
15377 # It seems that -bexpall does not export symbols beginning with
15378 # underscore (_), so it is better to generate a list of symbols to export.
15379 always_export_symbols=yes
15380 if test "$aix_use_runtimelinking" = yes; then
15381 # Warning - without using the other runtime loading flags (-brtl),
15382 # -berok will link without error, but may produce a broken library.
15383 allow_undefined_flag='-berok'
15384 # Determine the default libpath from the value encoded in an empty executable.
15385 cat >conftest.$ac_ext <<_ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15400 rm -f conftest.$ac_objext conftest$ac_exeext
15401 if { (ac_try="$ac_link"
15402 case "(($ac_try" in
15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15407 (eval "$ac_link") 2>conftest.er1
15409 grep -v '^ *+' conftest.er1 >conftest.err
15411 cat conftest.err >&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } && {
15414 test -z "$ac_c_werror_flag" ||
15415 test ! -s conftest.err
15416 } && test -s conftest$ac_exeext &&
15417 $as_test_x conftest$ac_exeext; then
15419 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15421 # Check for a 64-bit object if we didn't find anything.
15422 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15425 echo "$as_me: failed program was:" >&5
15426 sed 's/^/| /' conftest.$ac_ext >&5
15431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15432 conftest$ac_exeext conftest.$ac_ext
15433 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15435 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15436 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"
15438 if test "$host_cpu" = ia64; then
15439 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15440 allow_undefined_flag="-z nodefs"
15441 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"
15443 # Determine the default libpath from the value encoded in an empty executable.
15444 cat >conftest.$ac_ext <<_ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (ac_try="$ac_link"
15461 case "(($ac_try" in
15462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;;
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15468 grep -v '^ *+' conftest.er1 >conftest.err
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext &&
15476 $as_test_x conftest$ac_exeext; then
15478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15480 # Check for a 64-bit object if we didn't find anything.
15481 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15484 echo "$as_me: failed program was:" >&5
15485 sed 's/^/| /' conftest.$ac_ext >&5
15490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15491 conftest$ac_exeext conftest.$ac_ext
15492 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15494 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15495 # Warning - without using the other run time loading flags,
15496 # -berok will link without error, but may produce a broken library.
15497 no_undefined_flag=' ${wl}-bernotok'
15498 allow_undefined_flag=' ${wl}-berok'
15499 # Exported symbols can be pulled into shared objects from archives
15500 whole_archive_flag_spec='$convenience'
15501 archive_cmds_need_lc=yes
15502 # This is similar to how AIX traditionally builds its shared libraries.
15503 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'
15509 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)'
15510 hardcode_libdir_flag_spec='-L$libdir'
15511 hardcode_minus_L=yes
15512 # see comment about different semantics on the GNU ld section
15517 export_dynamic_flag_spec=-rdynamic
15520 cygwin* | mingw* | pw32*)
15521 # When not using gcc, we currently assume that we are using
15522 # Microsoft Visual C++.
15523 # hardcode_libdir_flag_spec is actually meaningless, as there is
15524 # no search path for DLLs.
15525 hardcode_libdir_flag_spec=' '
15526 allow_undefined_flag=unsupported
15527 # Tell ltmain to make .lib files, not .a files.
15529 # Tell ltmain to make .dll files, not .so files.
15531 # FIXME: Setting linknames here is a bad hack.
15532 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15533 # The linker will automatically build a .lib file if we build a DLL.
15534 old_archive_From_new_cmds='true'
15535 # FIXME: Should let the user specify the lib program.
15536 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15537 fix_srcfile_path='`cygpath -w "$srcfile"`'
15538 enable_shared_with_static_runtimes=yes
15541 darwin* | rhapsody*)
15543 rhapsody* | darwin1.[012])
15544 allow_undefined_flag='${wl}-undefined ${wl}suppress'
15547 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15548 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15550 case ${MACOSX_DEPLOYMENT_TARGET} in
15552 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15555 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15561 archive_cmds_need_lc=no
15563 hardcode_automatic=yes
15564 hardcode_shlibpath_var=unsupported
15565 whole_archive_flag_spec=''
15566 link_all_deplibs=yes
15567 if test "$GCC" = yes ; then
15568 output_verbose_link_cmd='echo'
15569 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15570 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15571 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15572 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}'
15573 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}'
15575 case $cc_basename in
15577 output_verbose_link_cmd='echo'
15578 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15579 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15580 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15581 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15582 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}'
15592 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15593 hardcode_libdir_flag_spec='-L$libdir'
15594 hardcode_shlibpath_var=no
15601 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15602 # support. Future versions do this automatically, but an explicit c++rt0.o
15603 # does not break anything, and helps significantly (at the cost of a little
15606 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15607 hardcode_libdir_flag_spec='-R$libdir'
15608 hardcode_direct=yes
15609 hardcode_shlibpath_var=no
15612 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15614 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15615 hardcode_direct=yes
15616 hardcode_minus_L=yes
15617 hardcode_shlibpath_var=no
15620 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15621 freebsd* | kfreebsd*-gnu | dragonfly*)
15622 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15623 hardcode_libdir_flag_spec='-R$libdir'
15624 hardcode_direct=yes
15625 hardcode_shlibpath_var=no
15629 if test "$GCC" = yes; then
15630 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'
15632 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'
15634 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15635 hardcode_libdir_separator=:
15636 hardcode_direct=yes
15638 # hardcode_minus_L: Not really in the search PATH,
15639 # but as the default location of the library.
15640 hardcode_minus_L=yes
15641 export_dynamic_flag_spec='${wl}-E'
15645 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15646 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15648 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15650 if test "$with_gnu_ld" = no; then
15651 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15652 hardcode_libdir_separator=:
15654 hardcode_direct=yes
15655 export_dynamic_flag_spec='${wl}-E'
15657 # hardcode_minus_L: Not really in the search PATH,
15658 # but as the default location of the library.
15659 hardcode_minus_L=yes
15664 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15667 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15670 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15673 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15679 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15682 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15685 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15689 if test "$with_gnu_ld" = no; then
15690 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15691 hardcode_libdir_separator=:
15695 hardcode_libdir_flag_spec_ld='+b $libdir'
15697 hardcode_shlibpath_var=no
15700 hardcode_direct=yes
15701 export_dynamic_flag_spec='${wl}-E'
15703 # hardcode_minus_L: Not really in the search PATH,
15704 # but as the default location of the library.
15705 hardcode_minus_L=yes
15711 irix5* | irix6* | nonstopux*)
15712 if test "$GCC" = yes; then
15713 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'
15715 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'
15716 hardcode_libdir_flag_spec_ld='-rpath $libdir'
15718 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15719 hardcode_libdir_separator=:
15720 link_all_deplibs=yes
15724 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15725 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15727 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15729 hardcode_libdir_flag_spec='-R$libdir'
15730 hardcode_direct=yes
15731 hardcode_shlibpath_var=no
15735 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15736 hardcode_direct=yes
15737 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15738 hardcode_libdir_separator=:
15739 hardcode_shlibpath_var=no
15743 hardcode_direct=yes
15744 hardcode_shlibpath_var=no
15745 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15746 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15747 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15748 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15749 export_dynamic_flag_spec='${wl}-E'
15752 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15754 hardcode_libdir_flag_spec='-R$libdir'
15757 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15758 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15765 hardcode_libdir_flag_spec='-L$libdir'
15766 hardcode_minus_L=yes
15767 allow_undefined_flag=unsupported
15768 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'
15769 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15773 if test "$GCC" = yes; then
15774 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15775 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'
15777 allow_undefined_flag=' -expect_unresolved \*'
15778 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'
15780 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15781 hardcode_libdir_separator=:
15784 osf4* | osf5*) # as osf3* with the addition of -msym flag
15785 if test "$GCC" = yes; then
15786 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15787 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'
15788 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15790 allow_undefined_flag=' -expect_unresolved \*'
15791 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'
15792 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15793 $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'
15795 # Both c and cxx compiler support -rpath directly
15796 hardcode_libdir_flag_spec='-rpath $libdir'
15798 hardcode_libdir_separator=:
15802 no_undefined_flag=' -z text'
15803 if test "$GCC" = yes; then
15805 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15806 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15807 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15810 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15811 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15812 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15814 hardcode_libdir_flag_spec='-R$libdir'
15815 hardcode_shlibpath_var=no
15817 solaris2.[0-5] | solaris2.[0-5].*) ;;
15819 # The compiler driver will combine linker options so we
15820 # cannot just pass the convience library names through
15821 # without $wl, iff we do not link with $LD.
15822 # Luckily, gcc supports the same syntax we need for Sun Studio.
15823 # Supported since Solaris 2.6 (maybe 2.5.1?)
15826 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
15828 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15831 link_all_deplibs=yes
15835 if test "x$host_vendor" = xsequent; then
15836 # Use $CC to link under sequent, because it throws in some extra .o
15837 # files that make .init and .fini sections work.
15838 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15840 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15842 hardcode_libdir_flag_spec='-L$libdir'
15843 hardcode_direct=yes
15844 hardcode_minus_L=yes
15845 hardcode_shlibpath_var=no
15849 case $host_vendor in
15851 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15852 hardcode_direct=yes # is this really true???
15855 ## LD is ld it makes a PLAMLIB
15856 ## CC just makes a GrossModule.
15857 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15858 reload_cmds='$CC -r -o $output$reload_objs'
15862 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15863 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15866 runpath_var='LD_RUN_PATH'
15867 hardcode_shlibpath_var=no
15871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15872 hardcode_shlibpath_var=no
15873 export_dynamic_flag_spec='-Bexport'
15877 if test -d /usr/nec; then
15878 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15879 hardcode_shlibpath_var=no
15880 runpath_var=LD_RUN_PATH
15881 hardcode_runpath_var=yes
15886 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15887 no_undefined_flag='${wl}-z,text'
15888 archive_cmds_need_lc=no
15889 hardcode_shlibpath_var=no
15890 runpath_var='LD_RUN_PATH'
15892 if test "$GCC" = yes; then
15893 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15894 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15896 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15897 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15901 sysv5* | sco3.2v5* | sco5v6*)
15902 # Note: We can NOT use -z defs as we might desire, because we do not
15903 # link with -lc, and that would cause any symbols used from libc to
15904 # always be unresolved, which means just about no library would
15905 # ever link correctly. If we're not using GNU ld we use -z text
15906 # though, which does catch some bad symbols but isn't as heavy-handed
15908 no_undefined_flag='${wl}-z,text'
15909 allow_undefined_flag='${wl}-z,nodefs'
15910 archive_cmds_need_lc=no
15911 hardcode_shlibpath_var=no
15912 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15913 hardcode_libdir_separator=':'
15914 link_all_deplibs=yes
15915 export_dynamic_flag_spec='${wl}-Bexport'
15916 runpath_var='LD_RUN_PATH'
15918 if test "$GCC" = yes; then
15919 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15920 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15922 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15923 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15929 hardcode_libdir_flag_spec='-L$libdir'
15930 hardcode_shlibpath_var=no
15939 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15940 echo "${ECHO_T}$ld_shlibs" >&6; }
15941 test "$ld_shlibs" = no && can_build_shared=no
15944 # Do we need to explicitly link libc?
15946 case "x$archive_cmds_need_lc" in
15948 # Assume -lc should be added
15949 archive_cmds_need_lc=yes
15951 if test "$enable_shared" = yes && test "$GCC" = yes; then
15952 case $archive_cmds in
15954 # FIXME: we may have to deal with multi-command sequences.
15957 # Test whether the compiler implicitly links with -lc since on some
15958 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15959 # to ld, don't add -lc before -lgcc.
15960 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15961 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15963 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15966 (eval $ac_compile) 2>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } 2>conftest.err; then
15972 libobjs=conftest.$ac_objext
15974 wl=$lt_prog_compiler_wl
15975 pic_flag=$lt_prog_compiler_pic
15981 lt_save_allow_undefined_flag=$allow_undefined_flag
15982 allow_undefined_flag=
15983 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15984 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }
15989 archive_cmds_need_lc=no
15991 archive_cmds_need_lc=yes
15993 allow_undefined_flag=$lt_save_allow_undefined_flag
15995 cat conftest.err 1>&5
15998 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15999 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16006 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16007 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16008 library_names_spec=
16009 libname_spec='lib$name'
16013 postuninstall_cmds=
16017 shlibpath_overrides_runpath=unknown
16019 dynamic_linker="$host_os ld.so"
16020 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16021 if test "$GCC" = yes; then
16022 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16023 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16024 # if the path contains ";" then we assume it to be the separator
16025 # otherwise default to the standard path separator (i.e. ":") - it is
16026 # assumed that no part of a normal pathname contains ";" but that should
16027 # okay in the real world where ";" in dirpaths is itself problematic.
16028 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16030 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16033 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16035 need_lib_prefix=unknown
16036 hardcode_into_libs=no
16038 # when you set need_version to no, make sure it does not cause -set_version
16039 # flags to be left without arguments
16040 need_version=unknown
16045 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16046 shlibpath_var=LIBPATH
16048 # AIX 3 has no versioning support, so we append a major version to the name.
16049 soname_spec='${libname}${release}${shared_ext}$major'
16056 hardcode_into_libs=yes
16057 if test "$host_cpu" = ia64; then
16058 # AIX 5 supports IA64
16059 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16060 shlibpath_var=LD_LIBRARY_PATH
16062 # With GCC up to 2.95.x, collect2 would create an import file
16063 # for dependence libraries. The import file would start with
16064 # the line `#! .'. This would cause the generated library to
16065 # depend on `.', always an invalid library. This was fixed in
16066 # development snapshots of GCC prior to 3.0.
16068 aix4 | aix4.[01] | aix4.[01].*)
16069 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16071 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16074 can_build_shared=no
16078 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16079 # soname into executable. Probably we can add versioning support to
16080 # collect2, so additional links can be useful in future.
16081 if test "$aix_use_runtimelinking" = yes; then
16082 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16083 # instead of lib<name>.a to let people know that these are not
16084 # typical AIX shared libraries.
16085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16087 # We preserve .a as extension for shared libraries through AIX4.2
16088 # and later when we are not doing run time linking.
16089 library_names_spec='${libname}${release}.a $libname.a'
16090 soname_spec='${libname}${release}${shared_ext}$major'
16092 shlibpath_var=LIBPATH
16097 library_names_spec='$libname.ixlibrary $libname.a'
16098 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16099 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'
16103 library_names_spec='${libname}${shared_ext}'
16104 dynamic_linker="$host_os ld.so"
16105 shlibpath_var=LIBRARY_PATH
16111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16112 soname_spec='${libname}${release}${shared_ext}$major'
16113 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16114 shlibpath_var=LD_LIBRARY_PATH
16115 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16116 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16117 # the default ld.so.conf also contains /usr/contrib/lib and
16118 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16119 # libtool to hard-code these into programs
16122 cygwin* | mingw* | pw32*)
16123 version_type=windows
16128 case $GCC,$host_os in
16129 yes,cygwin* | yes,mingw* | yes,pw32*)
16130 library_names_spec='$libname.dll.a'
16131 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16132 postinstall_cmds='base_file=`basename \${file}`~
16133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16134 dldir=$destdir/`dirname \$dlpath`~
16135 test -d \$dldir || mkdir -p \$dldir~
16136 $install_prog $dir/$dlname \$dldir/$dlname~
16137 chmod a+x \$dldir/$dlname'
16138 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16139 dlpath=$dir/\$dldll~
16141 shlibpath_overrides_runpath=yes
16145 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16146 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16147 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16150 # MinGW DLLs use traditional 'lib' prefix
16151 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16152 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16153 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16154 # It is most probably a Windows format PATH printed by
16155 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16156 # path with ; separators, and with drive letters. We can handle the
16157 # drive letters (cygwin fileutils understands them), so leave them,
16158 # especially as we might pass files found there to a mingw objdump,
16159 # which wouldn't understand a cygwinified path. Ahh.
16160 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16162 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16166 # pw32 DLLs use 'pw' prefix rather than 'lib'
16167 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16173 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16176 dynamic_linker='Win32 ld.exe'
16177 # FIXME: first we should search . and the directory the executable is in
16181 darwin* | rhapsody*)
16182 dynamic_linker="$host_os dyld"
16183 version_type=darwin
16186 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16187 soname_spec='${libname}${release}${major}$shared_ext'
16188 shlibpath_overrides_runpath=yes
16189 shlibpath_var=DYLD_LIBRARY_PATH
16190 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16191 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16192 if test "$GCC" = yes; then
16193 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16195 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16197 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16205 soname_spec='${libname}${release}${shared_ext}$major'
16206 shlibpath_var=LD_LIBRARY_PATH
16217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16218 soname_spec='${libname}${release}${shared_ext}$major'
16219 shlibpath_var=LD_LIBRARY_PATH
16220 shlibpath_overrides_runpath=no
16221 hardcode_into_libs=yes
16222 dynamic_linker='GNU ld.so'
16225 freebsd* | dragonfly*)
16226 # DragonFly does not have aout. When/if they implement a new
16227 # versioning mechanism, adjust this.
16228 if test -x /usr/bin/objformat; then
16229 objformat=`/usr/bin/objformat`
16232 freebsd[123]*) objformat=aout ;;
16233 *) objformat=elf ;;
16236 version_type=freebsd-$objformat
16237 case $version_type in
16239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16244 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16248 shlibpath_var=LD_LIBRARY_PATH
16251 shlibpath_overrides_runpath=yes
16253 freebsd3.[01]* | freebsdelf3.[01]*)
16254 shlibpath_overrides_runpath=yes
16255 hardcode_into_libs=yes
16257 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16258 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16259 shlibpath_overrides_runpath=no
16260 hardcode_into_libs=yes
16262 freebsd*) # from 4.6 on
16263 shlibpath_overrides_runpath=yes
16264 hardcode_into_libs=yes
16273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16274 soname_spec='${libname}${release}${shared_ext}$major'
16275 shlibpath_var=LD_LIBRARY_PATH
16276 hardcode_into_libs=yes
16279 hpux9* | hpux10* | hpux11*)
16280 # Give a soname corresponding to the major version so that dld.sl refuses to
16281 # link against other versions.
16288 hardcode_into_libs=yes
16289 dynamic_linker="$host_os dld.so"
16290 shlibpath_var=LD_LIBRARY_PATH
16291 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16293 soname_spec='${libname}${release}${shared_ext}$major'
16294 if test "X$HPUX_IA64_MODE" = X32; then
16295 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16297 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16299 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16303 hardcode_into_libs=yes
16304 dynamic_linker="$host_os dld.sl"
16305 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16306 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16308 soname_spec='${libname}${release}${shared_ext}$major'
16309 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16310 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16314 dynamic_linker="$host_os dld.sl"
16315 shlibpath_var=SHLIB_PATH
16316 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16318 soname_spec='${libname}${release}${shared_ext}$major'
16321 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16322 postinstall_cmds='chmod 555 $lib'
16329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16330 soname_spec='${libname}${release}${shared_ext}$major'
16331 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16332 shlibpath_var=LD_LIBRARY_PATH
16333 shlibpath_overrides_runpath=no
16334 hardcode_into_libs=yes
16337 irix5* | irix6* | nonstopux*)
16339 nonstopux*) version_type=nonstopux ;;
16341 if test "$lt_cv_prog_gnu_ld" = yes; then
16349 soname_spec='${libname}${release}${shared_ext}$major'
16350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16352 irix5* | nonstopux*)
16353 libsuff= shlibsuff=
16356 case $LD in # libtool.m4 will add one of these switches to LD
16357 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16358 libsuff= shlibsuff= libmagic=32-bit;;
16359 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16360 libsuff=32 shlibsuff=N32 libmagic=N32;;
16361 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16362 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16363 *) libsuff= shlibsuff= libmagic=never-match;;
16367 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16368 shlibpath_overrides_runpath=no
16369 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16370 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16371 hardcode_into_libs=yes
16374 # No shared lib support for Linux oldld, aout, or coff.
16375 linux*oldld* | linux*aout* | linux*coff*)
16379 # This must be Linux ELF.
16384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16385 soname_spec='${libname}${release}${shared_ext}$major'
16386 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16387 shlibpath_var=LD_LIBRARY_PATH
16388 shlibpath_overrides_runpath=no
16389 # This implies no fast_install, which is unacceptable.
16390 # Some rework will be needed to allow for fast_install
16391 # before this can be enabled.
16392 hardcode_into_libs=yes
16394 # find out which ABI we are using
16396 case "$host_cpu" in
16397 x86_64*|s390x*|powerpc64*)
16398 echo '#line 16398 "configure"' > conftest.$ac_ext
16399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16400 (eval $ac_compile) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; then
16404 case `/usr/bin/file conftest.$ac_objext` in
16407 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16415 # Append ld.so.conf contents to the search path
16416 if test -f /etc/ld.so.conf; then
16417 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16418 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16421 # We used to test for /lib/ld.so.1 and disable shared libraries on
16422 # powerpc, because MkLinux only supported shared libraries with the
16423 # GNU dynamic linker. Since this was broken with cross compilers,
16424 # most powerpc-linux boxes support dynamic linking these days and
16425 # people can always --disable-shared, the test was removed, and we
16426 # assume the GNU/Linux dynamic linker is in use.
16427 dynamic_linker='GNU/Linux ld.so'
16434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16435 soname_spec='${libname}${release}${shared_ext}$major'
16436 shlibpath_var=LD_LIBRARY_PATH
16437 shlibpath_overrides_runpath=no
16438 hardcode_into_libs=yes
16439 dynamic_linker='GNU ld.so'
16446 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16448 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16449 dynamic_linker='NetBSD (a.out) ld.so'
16451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16452 soname_spec='${libname}${release}${shared_ext}$major'
16453 dynamic_linker='NetBSD ld.elf_so'
16455 shlibpath_var=LD_LIBRARY_PATH
16456 shlibpath_overrides_runpath=yes
16457 hardcode_into_libs=yes
16462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16463 shlibpath_var=LD_LIBRARY_PATH
16464 shlibpath_overrides_runpath=yes
16471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16472 soname_spec='${libname}${release}${shared_ext}$major'
16473 shlibpath_var=LD_LIBRARY_PATH
16474 shlibpath_overrides_runpath=yes
16479 sys_lib_dlsearch_path_spec="/usr/lib"
16481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16484 *) need_version=no ;;
16486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16488 shlibpath_var=LD_LIBRARY_PATH
16489 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16491 openbsd2.[89] | openbsd2.[89].*)
16492 shlibpath_overrides_runpath=no
16495 shlibpath_overrides_runpath=yes
16499 shlibpath_overrides_runpath=yes
16504 libname_spec='$name'
16507 library_names_spec='$libname${shared_ext} $libname.a'
16508 dynamic_linker='OS/2 ld.exe'
16509 shlibpath_var=LIBPATH
16512 osf3* | osf4* | osf5*)
16516 soname_spec='${libname}${release}${shared_ext}$major'
16517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16518 shlibpath_var=LD_LIBRARY_PATH
16519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16528 soname_spec='${libname}${release}${shared_ext}$major'
16529 shlibpath_var=LD_LIBRARY_PATH
16530 shlibpath_overrides_runpath=yes
16531 hardcode_into_libs=yes
16532 # ldd complains unless libraries are executable
16533 postinstall_cmds='chmod +x $lib'
16538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16539 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16540 shlibpath_var=LD_LIBRARY_PATH
16541 shlibpath_overrides_runpath=yes
16542 if test "$with_gnu_ld" = yes; then
16550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16551 soname_spec='${libname}${release}${shared_ext}$major'
16552 shlibpath_var=LD_LIBRARY_PATH
16553 case $host_vendor in
16555 shlibpath_overrides_runpath=no
16557 export_dynamic_flag_spec='${wl}-Blargedynsym'
16558 runpath_var=LD_RUN_PATH
16566 shlibpath_overrides_runpath=no
16567 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16573 if test -d /usr/nec ;then
16575 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16576 soname_spec='$libname${shared_ext}.$major'
16577 shlibpath_var=LD_LIBRARY_PATH
16581 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16582 version_type=freebsd-elf
16585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16586 soname_spec='${libname}${release}${shared_ext}$major'
16587 shlibpath_var=LD_LIBRARY_PATH
16588 hardcode_into_libs=yes
16589 if test "$with_gnu_ld" = yes; then
16590 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16591 shlibpath_overrides_runpath=no
16593 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16594 shlibpath_overrides_runpath=yes
16597 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16601 sys_lib_dlsearch_path_spec='/usr/lib'
16606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16607 soname_spec='${libname}${release}${shared_ext}$major'
16608 shlibpath_var=LD_LIBRARY_PATH
16615 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16616 echo "${ECHO_T}$dynamic_linker" >&6; }
16617 test "$dynamic_linker" = no && can_build_shared=no
16619 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16620 if test "$GCC" = yes; then
16621 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16624 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16625 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16627 if test -n "$hardcode_libdir_flag_spec" || \
16628 test -n "$runpath_var" || \
16629 test "X$hardcode_automatic" = "Xyes" ; then
16631 # We can hardcode non-existant directories.
16632 if test "$hardcode_direct" != no &&
16633 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16634 # have to relink, otherwise we might link with an installed library
16635 # when we should be linking with a yet-to-be-installed one
16636 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16637 test "$hardcode_minus_L" != no; then
16638 # Linking always hardcodes the temporary library directory.
16639 hardcode_action=relink
16641 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16642 hardcode_action=immediate
16645 # We cannot hardcode anything, or else we can only hardcode existing
16647 hardcode_action=unsupported
16649 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16650 echo "${ECHO_T}$hardcode_action" >&6; }
16652 if test "$hardcode_action" = relink; then
16653 # Fast installation is not supported
16654 enable_fast_install=no
16655 elif test "$shlibpath_overrides_runpath" = yes ||
16656 test "$enable_shared" = no; then
16657 # Fast installation is not necessary
16658 enable_fast_install=needless
16663 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16664 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16665 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16666 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16667 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16668 { echo "$as_me:$LINENO: result: yes" >&5
16669 echo "${ECHO_T}yes" >&6; }
16671 # FIXME - insert some real tests, host_os isn't really good enough
16674 if test -n "$STRIP" ; then
16675 striplib="$STRIP -x"
16676 { echo "$as_me:$LINENO: result: yes" >&5
16677 echo "${ECHO_T}yes" >&6; }
16679 { echo "$as_me:$LINENO: result: no" >&5
16680 echo "${ECHO_T}no" >&6; }
16684 { echo "$as_me:$LINENO: result: no" >&5
16685 echo "${ECHO_T}no" >&6; }
16690 if test "x$enable_dlopen" != xyes; then
16691 enable_dlopen=unknown
16692 enable_dlopen_self=unknown
16693 enable_dlopen_self_static=unknown
16700 lt_cv_dlopen="load_add_on"
16702 lt_cv_dlopen_self=yes
16706 lt_cv_dlopen="LoadLibrary"
16711 lt_cv_dlopen="dlopen"
16716 # if libdl is installed we need to link against it
16717 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16718 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16719 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16720 echo $ECHO_N "(cached) $ECHO_C" >&6
16722 ac_check_lib_save_LIBS=$LIBS
16724 cat >conftest.$ac_ext <<_ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16731 /* Override any GCC internal prototype to avoid an error.
16732 Use char because int might match the return type of a GCC
16733 builtin and then its argument prototype would still apply. */
16746 rm -f conftest.$ac_objext conftest$ac_exeext
16747 if { (ac_try="$ac_link"
16748 case "(($ac_try" in
16749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16750 *) ac_try_echo=$ac_try;;
16752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16753 (eval "$ac_link") 2>conftest.er1
16755 grep -v '^ *+' conftest.er1 >conftest.err
16757 cat conftest.err >&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } && {
16760 test -z "$ac_c_werror_flag" ||
16761 test ! -s conftest.err
16762 } && test -s conftest$ac_exeext &&
16763 $as_test_x conftest$ac_exeext; then
16764 ac_cv_lib_dl_dlopen=yes
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16769 ac_cv_lib_dl_dlopen=no
16772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS=$ac_check_lib_save_LIBS
16776 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16777 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16778 if test $ac_cv_lib_dl_dlopen = yes; then
16779 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16782 lt_cv_dlopen="dyld"
16784 lt_cv_dlopen_self=yes
16791 { echo "$as_me:$LINENO: checking for shl_load" >&5
16792 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16793 if test "${ac_cv_func_shl_load+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16804 #define shl_load innocuous_shl_load
16806 /* System header to define __stub macros and hopefully few prototypes,
16807 which can conflict with char shl_load (); below.
16808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16809 <limits.h> exists even on freestanding compilers. */
16812 # include <limits.h>
16814 # include <assert.h>
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16826 /* The GNU C library defines this for functions which it implements
16827 to always fail with ENOSYS. Some functions are actually named
16828 something starting with __ and the normal name is an alias. */
16829 #if defined __stub_shl_load || defined __stub___shl_load
16836 return shl_load ();
16841 rm -f conftest.$ac_objext conftest$ac_exeext
16842 if { (ac_try="$ac_link"
16843 case "(($ac_try" in
16844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16845 *) ac_try_echo=$ac_try;;
16847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16848 (eval "$ac_link") 2>conftest.er1
16850 grep -v '^ *+' conftest.er1 >conftest.err
16852 cat conftest.err >&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } && {
16855 test -z "$ac_c_werror_flag" ||
16856 test ! -s conftest.err
16857 } && test -s conftest$ac_exeext &&
16858 $as_test_x conftest$ac_exeext; then
16859 ac_cv_func_shl_load=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16864 ac_cv_func_shl_load=no
16867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16868 conftest$ac_exeext conftest.$ac_ext
16870 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16871 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16872 if test $ac_cv_func_shl_load = yes; then
16873 lt_cv_dlopen="shl_load"
16875 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16876 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16877 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 ac_check_lib_save_LIBS=$LIBS
16882 cat >conftest.$ac_ext <<_ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16899 return shl_load ();
16904 rm -f conftest.$ac_objext conftest$ac_exeext
16905 if { (ac_try="$ac_link"
16906 case "(($ac_try" in
16907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16908 *) ac_try_echo=$ac_try;;
16910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16911 (eval "$ac_link") 2>conftest.er1
16913 grep -v '^ *+' conftest.er1 >conftest.err
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } && {
16918 test -z "$ac_c_werror_flag" ||
16919 test ! -s conftest.err
16920 } && test -s conftest$ac_exeext &&
16921 $as_test_x conftest$ac_exeext; then
16922 ac_cv_lib_dld_shl_load=yes
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16927 ac_cv_lib_dld_shl_load=no
16930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16931 conftest$ac_exeext conftest.$ac_ext
16932 LIBS=$ac_check_lib_save_LIBS
16934 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16935 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16936 if test $ac_cv_lib_dld_shl_load = yes; then
16937 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16939 { echo "$as_me:$LINENO: checking for dlopen" >&5
16940 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16941 if test "${ac_cv_func_dlopen+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 cat >conftest.$ac_ext <<_ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16952 #define dlopen innocuous_dlopen
16954 /* System header to define __stub macros and hopefully few prototypes,
16955 which can conflict with char dlopen (); below.
16956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16957 <limits.h> exists even on freestanding compilers. */
16960 # include <limits.h>
16962 # include <assert.h>
16967 /* Override any GCC internal prototype to avoid an error.
16968 Use char because int might match the return type of a GCC
16969 builtin and then its argument prototype would still apply. */
16974 /* The GNU C library defines this for functions which it implements
16975 to always fail with ENOSYS. Some functions are actually named
16976 something starting with __ and the normal name is an alias. */
16977 #if defined __stub_dlopen || defined __stub___dlopen
16989 rm -f conftest.$ac_objext conftest$ac_exeext
16990 if { (ac_try="$ac_link"
16991 case "(($ac_try" in
16992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16993 *) ac_try_echo=$ac_try;;
16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16996 (eval "$ac_link") 2>conftest.er1
16998 grep -v '^ *+' conftest.er1 >conftest.err
17000 cat conftest.err >&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } && {
17003 test -z "$ac_c_werror_flag" ||
17004 test ! -s conftest.err
17005 } && test -s conftest$ac_exeext &&
17006 $as_test_x conftest$ac_exeext; then
17007 ac_cv_func_dlopen=yes
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 ac_cv_func_dlopen=no
17015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17016 conftest$ac_exeext conftest.$ac_ext
17018 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17019 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17020 if test $ac_cv_func_dlopen = yes; then
17021 lt_cv_dlopen="dlopen"
17023 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17024 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17025 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 ac_check_lib_save_LIBS=$LIBS
17030 cat >conftest.$ac_ext <<_ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17037 /* Override any GCC internal prototype to avoid an error.
17038 Use char because int might match the return type of a GCC
17039 builtin and then its argument prototype would still apply. */
17052 rm -f conftest.$ac_objext conftest$ac_exeext
17053 if { (ac_try="$ac_link"
17054 case "(($ac_try" in
17055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17056 *) ac_try_echo=$ac_try;;
17058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17059 (eval "$ac_link") 2>conftest.er1
17061 grep -v '^ *+' conftest.er1 >conftest.err
17063 cat conftest.err >&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } && {
17066 test -z "$ac_c_werror_flag" ||
17067 test ! -s conftest.err
17068 } && test -s conftest$ac_exeext &&
17069 $as_test_x conftest$ac_exeext; then
17070 ac_cv_lib_dl_dlopen=yes
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17075 ac_cv_lib_dl_dlopen=no
17078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17079 conftest$ac_exeext conftest.$ac_ext
17080 LIBS=$ac_check_lib_save_LIBS
17082 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17083 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17084 if test $ac_cv_lib_dl_dlopen = yes; then
17085 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17087 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17088 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17089 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17092 ac_check_lib_save_LIBS=$LIBS
17093 LIBS="-lsvld $LIBS"
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17101 /* Override any GCC internal prototype to avoid an error.
17102 Use char because int might match the return type of a GCC
17103 builtin and then its argument prototype would still apply. */
17116 rm -f conftest.$ac_objext conftest$ac_exeext
17117 if { (ac_try="$ac_link"
17118 case "(($ac_try" in
17119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17120 *) ac_try_echo=$ac_try;;
17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17123 (eval "$ac_link") 2>conftest.er1
17125 grep -v '^ *+' conftest.er1 >conftest.err
17127 cat conftest.err >&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } && {
17130 test -z "$ac_c_werror_flag" ||
17131 test ! -s conftest.err
17132 } && test -s conftest$ac_exeext &&
17133 $as_test_x conftest$ac_exeext; then
17134 ac_cv_lib_svld_dlopen=yes
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17139 ac_cv_lib_svld_dlopen=no
17142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17143 conftest$ac_exeext conftest.$ac_ext
17144 LIBS=$ac_check_lib_save_LIBS
17146 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17147 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17148 if test $ac_cv_lib_svld_dlopen = yes; then
17149 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17151 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17152 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17153 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 ac_check_lib_save_LIBS=$LIBS
17158 cat >conftest.$ac_ext <<_ACEOF
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17165 /* Override any GCC internal prototype to avoid an error.
17166 Use char because int might match the return type of a GCC
17167 builtin and then its argument prototype would still apply. */
17175 return dld_link ();
17180 rm -f conftest.$ac_objext conftest$ac_exeext
17181 if { (ac_try="$ac_link"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_link") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest$ac_exeext &&
17197 $as_test_x conftest$ac_exeext; then
17198 ac_cv_lib_dld_dld_link=yes
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17203 ac_cv_lib_dld_dld_link=no
17206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17207 conftest$ac_exeext conftest.$ac_ext
17208 LIBS=$ac_check_lib_save_LIBS
17210 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17211 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17212 if test $ac_cv_lib_dld_dld_link = yes; then
17213 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17234 if test "x$lt_cv_dlopen" != xno; then
17240 case $lt_cv_dlopen in
17242 save_CPPFLAGS="$CPPFLAGS"
17243 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17245 save_LDFLAGS="$LDFLAGS"
17246 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17249 LIBS="$lt_cv_dlopen_libs $LIBS"
17251 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17252 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17253 if test "${lt_cv_dlopen_self+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 if test "$cross_compiling" = yes; then :
17257 lt_cv_dlopen_self=cross
17259 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17260 lt_status=$lt_dlunknown
17261 cat > conftest.$ac_ext <<EOF
17262 #line 17262 "configure"
17263 #include "confdefs.h"
17272 # define LT_DLGLOBAL RTLD_GLOBAL
17275 # define LT_DLGLOBAL DL_GLOBAL
17277 # define LT_DLGLOBAL 0
17281 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17282 find out it does not work in some platform. */
17283 #ifndef LT_DLLAZY_OR_NOW
17285 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17288 # define LT_DLLAZY_OR_NOW DL_LAZY
17291 # define LT_DLLAZY_OR_NOW RTLD_NOW
17294 # define LT_DLLAZY_OR_NOW DL_NOW
17296 # define LT_DLLAZY_OR_NOW 0
17304 extern "C" void exit (int);
17307 void fnord() { int i=42;}
17310 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17311 int status = $lt_dlunknown;
17315 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17316 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17317 /* dlclose (self); */
17325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17326 (eval $ac_link) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17330 (./conftest; exit; ) >&5 2>/dev/null
17332 case x$lt_status in
17333 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17334 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17335 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17338 # compilation failed
17339 lt_cv_dlopen_self=no
17346 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17347 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17349 if test "x$lt_cv_dlopen_self" = xyes; then
17350 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17351 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17352 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17353 if test "${lt_cv_dlopen_self_static+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17356 if test "$cross_compiling" = yes; then :
17357 lt_cv_dlopen_self_static=cross
17359 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17360 lt_status=$lt_dlunknown
17361 cat > conftest.$ac_ext <<EOF
17362 #line 17362 "configure"
17363 #include "confdefs.h"
17372 # define LT_DLGLOBAL RTLD_GLOBAL
17375 # define LT_DLGLOBAL DL_GLOBAL
17377 # define LT_DLGLOBAL 0
17381 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17382 find out it does not work in some platform. */
17383 #ifndef LT_DLLAZY_OR_NOW
17385 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17388 # define LT_DLLAZY_OR_NOW DL_LAZY
17391 # define LT_DLLAZY_OR_NOW RTLD_NOW
17394 # define LT_DLLAZY_OR_NOW DL_NOW
17396 # define LT_DLLAZY_OR_NOW 0
17404 extern "C" void exit (int);
17407 void fnord() { int i=42;}
17410 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17411 int status = $lt_dlunknown;
17415 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17416 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17417 /* dlclose (self); */
17425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17426 (eval $ac_link) 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17430 (./conftest; exit; ) >&5 2>/dev/null
17432 case x$lt_status in
17433 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17434 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17435 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17438 # compilation failed
17439 lt_cv_dlopen_self_static=no
17446 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17447 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17450 CPPFLAGS="$save_CPPFLAGS"
17451 LDFLAGS="$save_LDFLAGS"
17456 case $lt_cv_dlopen_self in
17457 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17458 *) enable_dlopen_self=unknown ;;
17461 case $lt_cv_dlopen_self_static in
17462 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17463 *) enable_dlopen_self_static=unknown ;;
17468 # Report which library types will actually be built
17469 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17470 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17471 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17472 echo "${ECHO_T}$can_build_shared" >&6; }
17474 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17475 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17476 test "$can_build_shared" = "no" && enable_shared=no
17478 # On AIX, shared libraries and static libraries use the same namespace, and
17479 # are all built from PIC.
17482 test "$enable_shared" = yes && enable_static=no
17483 if test -n "$RANLIB"; then
17484 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17485 postinstall_cmds='$RANLIB $lib'
17490 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17491 test "$enable_shared" = yes && enable_static=no
17495 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17496 echo "${ECHO_T}$enable_shared" >&6; }
17498 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17499 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17500 # Make sure either enable_shared or enable_static is yes.
17501 test "$enable_shared" = yes || enable_static=yes
17502 { echo "$as_me:$LINENO: result: $enable_static" >&5
17503 echo "${ECHO_T}$enable_static" >&6; }
17505 # The else clause should only fire when bootstrapping the
17506 # libtool distribution, otherwise you forgot to ship ltmain.sh
17507 # with your package, and you will get complaints that there are
17508 # no rules to generate ltmain.sh.
17509 if test -f "$ltmain"; then
17510 # See if we are running on zsh, and set the options which allow our commands through
17511 # without removal of \ escapes.
17512 if test -n "${ZSH_VERSION+set}" ; then
17513 setopt NO_GLOB_SUBST
17515 # Now quote all the things that may contain metacharacters while being
17516 # careful not to overquote the AC_SUBSTed values. We take copies of the
17517 # variables and quote the copies for generation of the libtool script.
17518 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17520 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17521 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17522 deplibs_check_method reload_flag reload_cmds need_locks \
17523 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17524 lt_cv_sys_global_symbol_to_c_name_address \
17525 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17526 old_postinstall_cmds old_postuninstall_cmds \
17530 lt_prog_compiler_wl \
17531 lt_prog_compiler_pic \
17532 lt_prog_compiler_static \
17533 lt_prog_compiler_no_builtin_flag \
17534 export_dynamic_flag_spec \
17535 thread_safe_flag_spec \
17536 whole_archive_flag_spec \
17537 enable_shared_with_static_runtimes \
17539 old_archive_from_new_cmds \
17544 compiler_lib_search_path \
17546 archive_expsym_cmds \
17548 postuninstall_cmds \
17549 old_archive_from_expsyms_cmds \
17550 allow_undefined_flag \
17551 no_undefined_flag \
17552 export_symbols_cmds \
17553 hardcode_libdir_flag_spec \
17554 hardcode_libdir_flag_spec_ld \
17555 hardcode_libdir_separator \
17556 hardcode_automatic \
17558 module_expsym_cmds \
17559 lt_cv_prog_compiler_c_o \
17561 include_expsyms; do
17564 old_archive_cmds | \
17565 old_archive_from_new_cmds | \
17567 archive_expsym_cmds | \
17569 module_expsym_cmds | \
17570 old_archive_from_expsyms_cmds | \
17571 export_symbols_cmds | \
17572 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17573 postinstall_cmds | postuninstall_cmds | \
17574 old_postinstall_cmds | old_postuninstall_cmds | \
17575 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17576 # Double-quote double-evaled strings.
17577 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17580 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17586 *'\$0 --fallback-echo"')
17587 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17591 cfgfile="${ofile}T"
17592 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17594 { echo "$as_me:$LINENO: creating $ofile" >&5
17595 echo "$as_me: creating $ofile" >&6;}
17597 cat <<__EOF__ >> "$cfgfile"
17600 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17601 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17602 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17604 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17605 # Free Software Foundation, Inc.
17607 # This file is part of GNU Libtool:
17608 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17610 # This program is free software; you can redistribute it and/or modify
17611 # it under the terms of the GNU General Public License as published by
17612 # the Free Software Foundation; either version 2 of the License, or
17613 # (at your option) any later version.
17615 # This program is distributed in the hope that it will be useful, but
17616 # WITHOUT ANY WARRANTY; without even the implied warranty of
17617 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17618 # General Public License for more details.
17620 # You should have received a copy of the GNU General Public License
17621 # along with this program; if not, write to the Free Software
17622 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17624 # As a special exception to the GNU General Public License, if you
17625 # distribute this file as part of a program that contains a
17626 # configuration script generated by Autoconf, you may include it under
17627 # the same distribution terms that you use for the rest of that program.
17629 # A sed program that does not truncate output.
17632 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17633 Xsed="$SED -e 1s/^X//"
17635 # The HP-UX ksh and POSIX shell print the target directory to stdout
17636 # if CDPATH is set.
17637 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17639 # The names of the tagged configurations supported by this script.
17642 # ### BEGIN LIBTOOL CONFIG
17644 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17646 # Shell to use when invoking shell scripts.
17649 # Whether or not to build shared libraries.
17650 build_libtool_libs=$enable_shared
17652 # Whether or not to build static libraries.
17653 build_old_libs=$enable_static
17655 # Whether or not to add -lc for building shared libraries.
17656 build_libtool_need_lc=$archive_cmds_need_lc
17658 # Whether or not to disallow shared libs when runtime libs are static
17659 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17661 # Whether or not to optimize for fast installation.
17662 fast_install=$enable_fast_install
17665 host_alias=$host_alias
17669 # The build system.
17670 build_alias=$build_alias
17674 # An echo program that does not interpret backslashes.
17679 AR_FLAGS=$lt_AR_FLAGS
17684 # LTCC compiler flags.
17685 LTCFLAGS=$lt_LTCFLAGS
17687 # A language-specific compiler.
17690 # Is the compiler the GNU C compiler?
17696 # The linker used to build libraries.
17699 # Whether we need hard or soft links.
17702 # A BSD-compatible nm program.
17705 # A symbol stripping program
17708 # Used to examine libraries when file_magic_cmd begins "file"
17709 MAGIC_CMD=$MAGIC_CMD
17711 # Used on cygwin: DLL creation program.
17714 # Used on cygwin: object dumper.
17717 # Used on cygwin: assembler.
17720 # The name of the directory that contains temporary libtool files.
17723 # How to create reloadable object files.
17724 reload_flag=$lt_reload_flag
17725 reload_cmds=$lt_reload_cmds
17727 # How to pass a linker flag through the compiler.
17728 wl=$lt_lt_prog_compiler_wl
17730 # Object file suffix (normally "o").
17731 objext="$ac_objext"
17733 # Old archive suffix (normally "a").
17736 # Shared library suffix (normally ".so").
17737 shrext_cmds='$shrext_cmds'
17739 # Executable file suffix (normally "").
17742 # Additional compiler flags for building library objects.
17743 pic_flag=$lt_lt_prog_compiler_pic
17746 # What is the maximum length of a command?
17747 max_cmd_len=$lt_cv_sys_max_cmd_len
17749 # Does compiler simultaneously support -c and -o options?
17750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17752 # Must we lock files when doing compilation?
17753 need_locks=$lt_need_locks
17755 # Do we need the lib prefix for modules?
17756 need_lib_prefix=$need_lib_prefix
17758 # Do we need a version for libraries?
17759 need_version=$need_version
17761 # Whether dlopen is supported.
17762 dlopen_support=$enable_dlopen
17764 # Whether dlopen of programs is supported.
17765 dlopen_self=$enable_dlopen_self
17767 # Whether dlopen of statically linked programs is supported.
17768 dlopen_self_static=$enable_dlopen_self_static
17770 # Compiler flag to prevent dynamic linking.
17771 link_static_flag=$lt_lt_prog_compiler_static
17773 # Compiler flag to turn off builtin functions.
17774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17776 # Compiler flag to allow reflexive dlopens.
17777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17779 # Compiler flag to generate shared objects directly from archives.
17780 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17782 # Compiler flag to generate thread-safe objects.
17783 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17785 # Library versioning type.
17786 version_type=$version_type
17788 # Format of library name prefix.
17789 libname_spec=$lt_libname_spec
17791 # List of archive names. First name is the real one, the rest are links.
17792 # The last name is the one that the linker finds with -lNAME.
17793 library_names_spec=$lt_library_names_spec
17795 # The coded name of the library, if different from the real name.
17796 soname_spec=$lt_soname_spec
17798 # Commands used to build and install an old-style archive.
17800 old_archive_cmds=$lt_old_archive_cmds
17801 old_postinstall_cmds=$lt_old_postinstall_cmds
17802 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17804 # Create an old-style archive from a shared archive.
17805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17807 # Create a temporary old-style archive to link instead of a shared archive.
17808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17810 # Commands used to build and install a shared archive.
17811 archive_cmds=$lt_archive_cmds
17812 archive_expsym_cmds=$lt_archive_expsym_cmds
17813 postinstall_cmds=$lt_postinstall_cmds
17814 postuninstall_cmds=$lt_postuninstall_cmds
17816 # Commands used to build a loadable module (assumed same as above if empty)
17817 module_cmds=$lt_module_cmds
17818 module_expsym_cmds=$lt_module_expsym_cmds
17820 # Commands to strip libraries.
17821 old_striplib=$lt_old_striplib
17822 striplib=$lt_striplib
17824 # Dependencies to place before the objects being linked to create a
17826 predep_objects=$lt_predep_objects
17828 # Dependencies to place after the objects being linked to create a
17830 postdep_objects=$lt_postdep_objects
17832 # Dependencies to place before the objects being linked to create a
17834 predeps=$lt_predeps
17836 # Dependencies to place after the objects being linked to create a
17838 postdeps=$lt_postdeps
17840 # The library search path used internally by the compiler when linking
17841 # a shared library.
17842 compiler_lib_search_path=$lt_compiler_lib_search_path
17844 # Method to check whether dependent libraries are shared objects.
17845 deplibs_check_method=$lt_deplibs_check_method
17847 # Command to use when deplibs_check_method == file_magic.
17848 file_magic_cmd=$lt_file_magic_cmd
17850 # Flag that allows shared libraries with undefined symbols to be built.
17851 allow_undefined_flag=$lt_allow_undefined_flag
17853 # Flag that forces no undefined symbols.
17854 no_undefined_flag=$lt_no_undefined_flag
17856 # Commands used to finish a libtool library installation in a directory.
17857 finish_cmds=$lt_finish_cmds
17859 # Same as above, but a single script fragment to be evaled but not shown.
17860 finish_eval=$lt_finish_eval
17862 # Take the output of nm and produce a listing of raw symbols and C names.
17863 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17865 # Transform the output of nm in a proper C declaration
17866 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17868 # Transform the output of nm in a C name address pair
17869 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17871 # This is the shared library runtime path variable.
17872 runpath_var=$runpath_var
17874 # This is the shared library path variable.
17875 shlibpath_var=$shlibpath_var
17877 # Is shlibpath searched before the hard-coded library search path?
17878 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17880 # How to hardcode a shared library path into an executable.
17881 hardcode_action=$hardcode_action
17883 # Whether we should hardcode library paths into libraries.
17884 hardcode_into_libs=$hardcode_into_libs
17886 # Flag to hardcode \$libdir into a binary during linking.
17887 # This must work even if \$libdir does not exist.
17888 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17890 # If ld is used when linking, flag to hardcode \$libdir into
17891 # a binary during linking. This must work even if \$libdir does
17893 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17895 # Whether we need a single -rpath flag with a separated argument.
17896 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17898 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17899 # resulting binary.
17900 hardcode_direct=$hardcode_direct
17902 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17903 # resulting binary.
17904 hardcode_minus_L=$hardcode_minus_L
17906 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17907 # the resulting binary.
17908 hardcode_shlibpath_var=$hardcode_shlibpath_var
17910 # Set to yes if building a shared library automatically hardcodes DIR into the library
17911 # and all subsequent libraries and executables linked against it.
17912 hardcode_automatic=$hardcode_automatic
17914 # Variables whose values should be saved in libtool wrapper scripts and
17915 # restored at relink time.
17916 variables_saved_for_relink="$variables_saved_for_relink"
17918 # Whether libtool must link a program against all its dependency libraries.
17919 link_all_deplibs=$link_all_deplibs
17921 # Compile-time system search path for libraries
17922 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17924 # Run-time system search path for libraries
17925 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17927 # Fix the shell variable \$srcfile for the compiler.
17928 fix_srcfile_path="$fix_srcfile_path"
17930 # Set to yes if exported symbols are required.
17931 always_export_symbols=$always_export_symbols
17933 # The commands to list exported symbols.
17934 export_symbols_cmds=$lt_export_symbols_cmds
17936 # The commands to extract the exported symbol list from a shared archive.
17937 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17939 # Symbols that should not be listed in the preloaded symbols.
17940 exclude_expsyms=$lt_exclude_expsyms
17942 # Symbols that must always be exported.
17943 include_expsyms=$lt_include_expsyms
17945 # ### END LIBTOOL CONFIG
17952 cat <<\EOF >> "$cfgfile"
17954 # AIX sometimes has problems with the GCC collect2 program. For some
17955 # reason, if we set the COLLECT_NAMES environment variable, the problems
17956 # vanish in a puff of smoke.
17957 if test "X${COLLECT_NAMES+set}" != Xset; then
17959 export COLLECT_NAMES
17965 # We use sed instead of cat because bash on DJGPP gets confused if
17966 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17967 # text mode, it properly converts lines to CR/LF. This bash problem
17968 # is reportedly fixed, but why not run on old versions too?
17969 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17971 mv -f "$cfgfile" "$ofile" || \
17972 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17976 # If there is no Makefile yet, we rely on a make rule to execute
17977 # `config.status --recheck' to rerun these tests and create the
17978 # libtool script then.
17979 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17980 if test -f "$ltmain_in"; then
17981 test -f Makefile && make "$ltmain"
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995 # Check whether --with-tags was given.
17996 if test "${with_tags+set}" = set; then
17997 withval=$with_tags; tagnames="$withval"
18001 if test -f "$ltmain" && test -n "$tagnames"; then
18002 if test ! -f "${ofile}"; then
18003 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18004 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18007 if test -z "$LTCC"; then
18008 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18009 if test -z "$LTCC"; then
18010 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18011 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18013 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18014 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18017 if test -z "$LTCFLAGS"; then
18018 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18021 # Extract list of available tagged configurations in $ofile.
18022 # Note that this assumes the entire list is on one line.
18023 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18025 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18026 for tagname in $tagnames; do
18028 # Check whether tagname contains only valid characters
18029 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18031 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18032 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18033 { (exit 1); exit 1; }; }
18037 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18039 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18040 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18041 { (exit 1); exit 1; }; }
18044 # Update the list of available tags.
18045 if test -n "$tagname"; then
18046 echo appending configuration tag \"$tagname\" to $ofile
18050 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18051 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18052 (test "X$CXX" != "Xg++"))) ; then
18054 ac_cpp='$CXXCPP $CPPFLAGS'
18055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18062 archive_cmds_need_lc_CXX=no
18063 allow_undefined_flag_CXX=
18064 always_export_symbols_CXX=no
18065 archive_expsym_cmds_CXX=
18066 export_dynamic_flag_spec_CXX=
18067 hardcode_direct_CXX=no
18068 hardcode_libdir_flag_spec_CXX=
18069 hardcode_libdir_flag_spec_ld_CXX=
18070 hardcode_libdir_separator_CXX=
18071 hardcode_minus_L_CXX=no
18072 hardcode_shlibpath_var_CXX=unsupported
18073 hardcode_automatic_CXX=no
18075 module_expsym_cmds_CXX=
18076 link_all_deplibs_CXX=unknown
18077 old_archive_cmds_CXX=$old_archive_cmds
18078 no_undefined_flag_CXX=
18079 whole_archive_flag_spec_CXX=
18080 enable_shared_with_static_runtimes_CXX=no
18082 # Dependencies to place before and after the object being linked:
18083 predep_objects_CXX=
18084 postdep_objects_CXX=
18087 compiler_lib_search_path_CXX=
18089 # Source file extension for C++ test sources.
18092 # Object file extension for compiled C++ test sources.
18096 # Code to be used in simple compile tests
18097 lt_simple_compile_test_code="int some_variable = 0;\n"
18099 # Code to be used in simple link tests
18100 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18102 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18104 # If no C compiler was specified, use CC.
18107 # If no C compiler flags were specified, use CFLAGS.
18108 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18110 # Allow CC to be a program name with arguments.
18114 # save warnings/boilerplate of simple test code
18115 ac_outfile=conftest.$ac_objext
18116 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18117 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18118 _lt_compiler_boilerplate=`cat conftest.err`
18121 ac_outfile=conftest.$ac_objext
18122 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18123 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18124 _lt_linker_boilerplate=`cat conftest.err`
18128 # Allow CC to be a program name with arguments.
18133 lt_save_with_gnu_ld=$with_gnu_ld
18134 lt_save_path_LD=$lt_cv_path_LD
18135 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18136 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18138 $as_unset lt_cv_prog_gnu_ld
18140 if test -n "${lt_cv_path_LDCXX+set}"; then
18141 lt_cv_path_LD=$lt_cv_path_LDCXX
18143 $as_unset lt_cv_path_LD
18145 test -z "${LDCXX+set}" || LD=$LDCXX
18149 for cc_temp in $compiler""; do
18151 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18152 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18157 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18160 # We don't want -fno-exception wen compiling C++ code, so set the
18161 # no_builtin_flag separately
18162 if test "$GXX" = yes; then
18163 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18165 lt_prog_compiler_no_builtin_flag_CXX=
18168 if test "$GXX" = yes; then
18169 # Set up default GNU C++ configuration
18172 # Check whether --with-gnu-ld was given.
18173 if test "${with_gnu_ld+set}" = set; then
18174 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18180 if test "$GCC" = yes; then
18181 # Check if gcc -print-prog-name=ld gives a path.
18182 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18183 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18186 # gcc leaves a trailing carriage return which upsets mingw
18187 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18189 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18192 # Accept absolute paths.
18194 re_direlt='/[^/][^/]*/\.\./'
18195 # Canonicalize the pathname of ld
18196 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18197 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18198 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18200 test -z "$LD" && LD="$ac_prog"
18203 # If it fails, then pretend we aren't using GCC.
18207 # If it is relative, then search for the first ld in PATH.
18208 with_gnu_ld=unknown
18211 elif test "$with_gnu_ld" = yes; then
18212 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18213 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18215 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18216 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18218 if test "${lt_cv_path_LD+set}" = set; then
18219 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 if test -z "$LD"; then
18222 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18223 for ac_dir in $PATH; do
18225 test -z "$ac_dir" && ac_dir=.
18226 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18227 lt_cv_path_LD="$ac_dir/$ac_prog"
18228 # Check to see if the program is GNU ld. I'd rather use --version,
18229 # but apparently some variants of GNU ld only accept -v.
18230 # Break only if it was the GNU/non-GNU ld that we prefer.
18231 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18232 *GNU* | *'with BFD'*)
18233 test "$with_gnu_ld" != no && break
18236 test "$with_gnu_ld" != yes && break
18243 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18247 LD="$lt_cv_path_LD"
18248 if test -n "$LD"; then
18249 { echo "$as_me:$LINENO: result: $LD" >&5
18250 echo "${ECHO_T}$LD" >&6; }
18252 { echo "$as_me:$LINENO: result: no" >&5
18253 echo "${ECHO_T}no" >&6; }
18255 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18256 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18257 { (exit 1); exit 1; }; }
18258 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18259 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18260 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18261 echo $ECHO_N "(cached) $ECHO_C" >&6
18263 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18264 case `$LD -v 2>&1 </dev/null` in
18265 *GNU* | *'with BFD'*)
18266 lt_cv_prog_gnu_ld=yes
18269 lt_cv_prog_gnu_ld=no
18273 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18274 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18275 with_gnu_ld=$lt_cv_prog_gnu_ld
18279 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18280 # archiving commands below assume that GNU ld is being used.
18281 if test "$with_gnu_ld" = yes; then
18282 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18283 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'
18285 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18286 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18288 # If archive_cmds runs LD, not CC, wlarc should be empty
18289 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18290 # investigate it a little bit more. (MM)
18293 # ancient GNU ld didn't support --whole-archive et. al.
18294 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18295 grep 'no-whole-archive' > /dev/null; then
18296 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18298 whole_archive_flag_spec_CXX=
18304 # A generic and very simple default shared library creation
18305 # command for GNU C++ for the case where it uses the native
18306 # linker, instead of GNU ld. If possible, this setting should
18307 # overridden to take advantage of the native linker features on
18308 # the platform it is being used on.
18309 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18312 # Commands to make compiler produce verbose output that lists
18313 # what "hidden" libraries, object files and flags are used when
18314 # linking a shared library.
18315 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18323 # PORTME: fill in a description of your system's C++ link characteristics
18324 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18325 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18329 # FIXME: insert proper C++ library support
18333 if test "$host_cpu" = ia64; then
18334 # On IA64, the linker does run time linking by default, so we don't
18335 # have to do anything special.
18336 aix_use_runtimelinking=no
18337 exp_sym_flag='-Bexport'
18340 aix_use_runtimelinking=no
18342 # Test if we are trying to use run time linking or normal
18343 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18344 # need to do runtime linking.
18345 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18346 for ld_flag in $LDFLAGS; do
18349 aix_use_runtimelinking=yes
18357 exp_sym_flag='-bexport'
18358 no_entry_flag='-bnoentry'
18361 # When large executables or shared objects are built, AIX ld can
18362 # have problems creating the table of contents. If linking a library
18363 # or program results in "error TOC overflow" add -mminimal-toc to
18364 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18365 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18367 archive_cmds_CXX=''
18368 hardcode_direct_CXX=yes
18369 hardcode_libdir_separator_CXX=':'
18370 link_all_deplibs_CXX=yes
18372 if test "$GXX" = yes; then
18373 case $host_os in aix4.[012]|aix4.[012].*)
18374 # We only want to do this on AIX 4.2 and lower, the check
18375 # below for broken collect2 doesn't work under 4.3+
18376 collect2name=`${CC} -print-prog-name=collect2`
18377 if test -f "$collect2name" && \
18378 strings "$collect2name" | grep resolve_lib_name >/dev/null
18380 # We have reworked collect2
18381 hardcode_direct_CXX=yes
18383 # We have old collect2
18384 hardcode_direct_CXX=unsupported
18385 # It fails to find uninstalled libraries when the uninstalled
18386 # path is not listed in the libpath. Setting hardcode_minus_L
18387 # to unsupported forces relinking
18388 hardcode_minus_L_CXX=yes
18389 hardcode_libdir_flag_spec_CXX='-L$libdir'
18390 hardcode_libdir_separator_CXX=
18394 shared_flag='-shared'
18395 if test "$aix_use_runtimelinking" = yes; then
18396 shared_flag="$shared_flag "'${wl}-G'
18400 if test "$host_cpu" = ia64; then
18401 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18402 # chokes on -Wl,-G. The following line is correct:
18405 if test "$aix_use_runtimelinking" = yes; then
18406 shared_flag='${wl}-G'
18408 shared_flag='${wl}-bM:SRE'
18413 # It seems that -bexpall does not export symbols beginning with
18414 # underscore (_), so it is better to generate a list of symbols to export.
18415 always_export_symbols_CXX=yes
18416 if test "$aix_use_runtimelinking" = yes; then
18417 # Warning - without using the other runtime loading flags (-brtl),
18418 # -berok will link without error, but may produce a broken library.
18419 allow_undefined_flag_CXX='-berok'
18420 # Determine the default libpath from the value encoded in an empty executable.
18421 cat >conftest.$ac_ext <<_ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18436 rm -f conftest.$ac_objext conftest$ac_exeext
18437 if { (ac_try="$ac_link"
18438 case "(($ac_try" in
18439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18440 *) ac_try_echo=$ac_try;;
18442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18443 (eval "$ac_link") 2>conftest.er1
18445 grep -v '^ *+' conftest.er1 >conftest.err
18447 cat conftest.err >&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } && {
18450 test -z "$ac_cxx_werror_flag" ||
18451 test ! -s conftest.err
18452 } && test -s conftest$ac_exeext &&
18453 $as_test_x conftest$ac_exeext; then
18455 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18457 # Check for a 64-bit object if we didn't find anything.
18458 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18468 conftest$ac_exeext conftest.$ac_ext
18469 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18471 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18473 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"
18475 if test "$host_cpu" = ia64; then
18476 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18477 allow_undefined_flag_CXX="-z nodefs"
18478 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"
18480 # Determine the default libpath from the value encoded in an empty executable.
18481 cat >conftest.$ac_ext <<_ACEOF
18484 cat confdefs.h >>conftest.$ac_ext
18485 cat >>conftest.$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18496 rm -f conftest.$ac_objext conftest$ac_exeext
18497 if { (ac_try="$ac_link"
18498 case "(($ac_try" in
18499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18500 *) ac_try_echo=$ac_try;;
18502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_link") 2>conftest.er1
18505 grep -v '^ *+' conftest.er1 >conftest.err
18507 cat conftest.err >&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); } && {
18510 test -z "$ac_cxx_werror_flag" ||
18511 test ! -s conftest.err
18512 } && test -s conftest$ac_exeext &&
18513 $as_test_x conftest$ac_exeext; then
18515 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18517 # Check for a 64-bit object if we didn't find anything.
18518 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.$ac_ext >&5
18527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18528 conftest$ac_exeext conftest.$ac_ext
18529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18532 # Warning - without using the other run time loading flags,
18533 # -berok will link without error, but may produce a broken library.
18534 no_undefined_flag_CXX=' ${wl}-bernotok'
18535 allow_undefined_flag_CXX=' ${wl}-berok'
18536 # Exported symbols can be pulled into shared objects from archives
18537 whole_archive_flag_spec_CXX='$convenience'
18538 archive_cmds_need_lc_CXX=yes
18539 # This is similar to how AIX traditionally builds its shared libraries.
18540 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'
18546 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18547 allow_undefined_flag_CXX=unsupported
18548 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18549 # support --undefined. This deserves some investigation. FIXME
18550 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18557 case $cc_basename in
18559 # FIXME: insert proper C++ library support
18565 cygwin* | mingw* | pw32*)
18566 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18567 # as there is no search path for DLLs.
18568 hardcode_libdir_flag_spec_CXX='-L$libdir'
18569 allow_undefined_flag_CXX=unsupported
18570 always_export_symbols_CXX=no
18571 enable_shared_with_static_runtimes_CXX=yes
18573 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18574 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'
18575 # If the export-symbols file already is a .def file (1st line
18576 # is EXPORTS), use it as is; otherwise, prepend...
18577 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18578 cp $export_symbols $output_objdir/$soname.def;
18580 echo EXPORTS > $output_objdir/$soname.def;
18581 cat $export_symbols >> $output_objdir/$soname.def;
18583 $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'
18588 darwin* | rhapsody*)
18590 rhapsody* | darwin1.[012])
18591 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18594 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18595 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18597 case ${MACOSX_DEPLOYMENT_TARGET} in
18599 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18602 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18608 archive_cmds_need_lc_CXX=no
18609 hardcode_direct_CXX=no
18610 hardcode_automatic_CXX=yes
18611 hardcode_shlibpath_var_CXX=unsupported
18612 whole_archive_flag_spec_CXX=''
18613 link_all_deplibs_CXX=yes
18615 if test "$GXX" = yes ; then
18616 lt_int_apple_cc_single_mod=no
18617 output_verbose_link_cmd='echo'
18618 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18619 lt_int_apple_cc_single_mod=yes
18621 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18622 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18624 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'
18626 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18627 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18628 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18629 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}'
18631 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}'
18633 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}'
18635 case $cc_basename in
18637 output_verbose_link_cmd='echo'
18638 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18639 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18640 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18641 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18642 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}'
18652 case $cc_basename in
18654 # FIXME: insert proper C++ library support
18658 # Green Hills C++ Compiler
18659 # FIXME: insert proper C++ library support
18663 # FIXME: insert proper C++ library support
18669 # C++ shared libraries reported to be fairly broken before switch to ELF
18673 archive_cmds_need_lc_CXX=no
18675 freebsd* | kfreebsd*-gnu | dragonfly*)
18676 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18683 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18684 hardcode_libdir_separator_CXX=:
18685 export_dynamic_flag_spec_CXX='${wl}-E'
18686 hardcode_direct_CXX=yes
18687 hardcode_minus_L_CXX=yes # Not in the search PATH,
18688 # but as the default
18689 # location of the library.
18691 case $cc_basename in
18693 # FIXME: insert proper C++ library support
18697 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'
18698 # Commands to make compiler produce verbose output that lists
18699 # what "hidden" libraries, object files and flags are used when
18700 # linking a shared library.
18702 # There doesn't appear to be a way to prevent this compiler from
18703 # explicitly linking system object files so we need to strip them
18704 # from the output so that they don't get included in the library
18706 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'
18709 if test "$GXX" = yes; then
18710 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'
18712 # FIXME: insert proper C++ library support
18719 if test $with_gnu_ld = no; then
18720 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18721 hardcode_libdir_separator_CXX=:
18725 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18728 export_dynamic_flag_spec_CXX='${wl}-E'
18734 hardcode_direct_CXX=no
18735 hardcode_shlibpath_var_CXX=no
18738 hardcode_direct_CXX=yes
18739 hardcode_minus_L_CXX=yes # Not in the search PATH,
18740 # but as the default
18741 # location of the library.
18745 case $cc_basename in
18747 # FIXME: insert proper C++ library support
18753 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18756 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18759 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18762 # Commands to make compiler produce verbose output that lists
18763 # what "hidden" libraries, object files and flags are used when
18764 # linking a shared library.
18766 # There doesn't appear to be a way to prevent this compiler from
18767 # explicitly linking system object files so we need to strip them
18768 # from the output so that they don't get included in the library
18770 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'
18773 if test "$GXX" = yes; then
18774 if test $with_gnu_ld = no; then
18777 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18780 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18783 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'
18788 # FIXME: insert proper C++ library support
18795 hardcode_direct_CXX=no
18796 hardcode_shlibpath_var_CXX=no
18797 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18798 export_dynamic_flag_spec_CXX='${wl}-E'
18799 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18800 # Instead, shared libraries are loaded at an image base (0x10000000 by
18801 # default) and relocated if they conflict, which is a slow very memory
18802 # consuming and fragmenting process. To avoid this, we pick a random,
18803 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18804 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18805 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'
18806 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'
18809 case $cc_basename in
18812 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'
18814 # Archives containing C++ object files must be created using
18815 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18816 # necessary to make sure instantiated templates are included
18818 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18821 if test "$GXX" = yes; then
18822 if test "$with_gnu_ld" = no; then
18823 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'
18825 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'
18828 link_all_deplibs_CXX=yes
18831 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18832 hardcode_libdir_separator_CXX=:
18835 case $cc_basename in
18837 # Kuck and Associates, Inc. (KAI) C++ Compiler
18839 # KCC will only create a shared library if the output file
18840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18841 # to its proper name (with version) after linking.
18842 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'
18843 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'
18844 # Commands to make compiler produce verbose output that lists
18845 # what "hidden" libraries, object files and flags are used when
18846 # linking a shared library.
18848 # There doesn't appear to be a way to prevent this compiler from
18849 # explicitly linking system object files so we need to strip them
18850 # from the output so that they don't get included in the library
18852 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'
18854 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
18855 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18857 # Archives containing C++ object files must be created using
18858 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18859 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18864 # version 8.0 and above of icpc choke on multiply defined symbols
18865 # if we add $predep_objects and $postdep_objects, however 7.1 and
18866 # earlier do not add the objects themselves.
18867 case `$CC -V 2>&1` in
18869 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18870 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'
18872 *) # Version 8.0 or newer
18875 ia64*) tmp_idyn=' -i_dynamic';;
18877 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18878 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'
18881 archive_cmds_need_lc_CXX=no
18882 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18883 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18884 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18887 # Portland Group C++ compiler
18888 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18889 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'
18891 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18892 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18893 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'
18897 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18898 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'
18900 runpath_var=LD_RUN_PATH
18901 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18902 hardcode_libdir_separator_CXX=:
18904 # Commands to make compiler produce verbose output that lists
18905 # what "hidden" libraries, object files and flags are used when
18906 # linking a shared library.
18908 # There doesn't appear to be a way to prevent this compiler from
18909 # explicitly linking system object files so we need to strip them
18910 # from the output so that they don't get included in the library
18912 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'
18917 # FIXME: insert proper C++ library support
18921 # FIXME: insert proper C++ library support
18925 case $cc_basename in
18927 # FIXME: insert proper C++ library support
18931 # FIXME: insert proper C++ library support
18937 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18938 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18940 hardcode_libdir_flag_spec_CXX='-R$libdir'
18941 hardcode_direct_CXX=yes
18942 hardcode_shlibpath_var_CXX=no
18944 # Workaround some broken pre-1.5 toolchains
18945 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18948 # C++ shared libraries are fairly broken
18952 hardcode_direct_CXX=yes
18953 hardcode_shlibpath_var_CXX=no
18954 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18955 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18956 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18957 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18958 export_dynamic_flag_spec_CXX='${wl}-E'
18959 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18961 output_verbose_link_cmd='echo'
18964 case $cc_basename in
18966 # Kuck and Associates, Inc. (KAI) C++ Compiler
18968 # KCC will only create a shared library if the output file
18969 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18970 # to its proper name (with version) after linking.
18971 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'
18973 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18974 hardcode_libdir_separator_CXX=:
18976 # Archives containing C++ object files must be created using
18977 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18978 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18982 # Rational C++ 2.4.1
18983 # FIXME: insert proper C++ library support
18987 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18988 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'
18990 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18991 hardcode_libdir_separator_CXX=:
18993 # Commands to make compiler produce verbose output that lists
18994 # what "hidden" libraries, object files and flags are used when
18995 # linking a shared library.
18997 # There doesn't appear to be a way to prevent this compiler from
18998 # explicitly linking system object files so we need to strip them
18999 # from the output so that they don't get included in the library
19001 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'
19004 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19005 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19006 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'
19008 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19009 hardcode_libdir_separator_CXX=:
19011 # Commands to make compiler produce verbose output that lists
19012 # what "hidden" libraries, object files and flags are used when
19013 # linking a shared library.
19014 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19017 # FIXME: insert proper C++ library support
19024 case $cc_basename in
19026 # Kuck and Associates, Inc. (KAI) C++ Compiler
19028 # KCC will only create a shared library if the output file
19029 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19030 # to its proper name (with version) after linking.
19031 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'
19033 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19034 hardcode_libdir_separator_CXX=:
19036 # Archives containing C++ object files must be created using
19037 # the KAI C++ compiler.
19038 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19041 # Rational C++ 2.4.1
19042 # FIXME: insert proper C++ library support
19046 allow_undefined_flag_CXX=' -expect_unresolved \*'
19047 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'
19048 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19049 echo "-hidden">> $lib.exp~
19050 $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~
19053 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19054 hardcode_libdir_separator_CXX=:
19056 # Commands to make compiler produce verbose output that lists
19057 # what "hidden" libraries, object files and flags are used when
19058 # linking a shared library.
19060 # There doesn't appear to be a way to prevent this compiler from
19061 # explicitly linking system object files so we need to strip them
19062 # from the output so that they don't get included in the library
19064 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'
19067 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19068 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19069 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'
19071 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19072 hardcode_libdir_separator_CXX=:
19074 # Commands to make compiler produce verbose output that lists
19075 # what "hidden" libraries, object files and flags are used when
19076 # linking a shared library.
19077 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19080 # FIXME: insert proper C++ library support
19087 # FIXME: insert proper C++ library support
19091 case $cc_basename in
19094 # FIXME: insert proper C++ library support
19099 # FIXME: insert proper C++ library support
19103 # FIXME: insert proper C++ library support
19109 case $cc_basename in
19111 # Sun C++ 4.2, 5.x and Centerline C++
19112 archive_cmds_need_lc_CXX=yes
19113 no_undefined_flag_CXX=' -zdefs'
19114 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19115 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19116 $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'
19118 hardcode_libdir_flag_spec_CXX='-R$libdir'
19119 hardcode_shlibpath_var_CXX=no
19121 solaris2.[0-5] | solaris2.[0-5].*) ;;
19123 # The C++ compiler is used as linker so we must use $wl
19124 # flag to pass the commands to the underlying system
19125 # linker. We must also pass each convience library through
19126 # to the system linker between allextract/defaultextract.
19127 # The C++ compiler will combine linker options so we
19128 # cannot just pass the convience library names through
19130 # Supported since Solaris 2.6 (maybe 2.5.1?)
19131 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
19134 link_all_deplibs_CXX=yes
19136 output_verbose_link_cmd='echo'
19138 # Archives containing C++ object files must be created using
19139 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19140 # necessary to make sure instantiated templates are included
19142 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19145 # Green Hills C++ Compiler
19146 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19148 # The C++ compiler must be used to create the archive.
19149 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19152 # GNU C++ compiler with Solaris linker
19153 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19154 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19155 if $CC --version | grep -v '^2\.7' > /dev/null; then
19156 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19157 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19158 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19160 # Commands to make compiler produce verbose output that lists
19161 # what "hidden" libraries, object files and flags are used when
19162 # linking a shared library.
19163 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19165 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19167 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19168 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19169 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19171 # Commands to make compiler produce verbose output that lists
19172 # what "hidden" libraries, object files and flags are used when
19173 # linking a shared library.
19174 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19177 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19182 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19183 no_undefined_flag_CXX='${wl}-z,text'
19184 archive_cmds_need_lc_CXX=no
19185 hardcode_shlibpath_var_CXX=no
19186 runpath_var='LD_RUN_PATH'
19188 case $cc_basename in
19190 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19191 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19194 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19195 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19199 sysv5* | sco3.2v5* | sco5v6*)
19200 # Note: We can NOT use -z defs as we might desire, because we do not
19201 # link with -lc, and that would cause any symbols used from libc to
19202 # always be unresolved, which means just about no library would
19203 # ever link correctly. If we're not using GNU ld we use -z text
19204 # though, which does catch some bad symbols but isn't as heavy-handed
19206 # For security reasons, it is highly recommended that you always
19207 # use absolute paths for naming shared libraries, and exclude the
19208 # DT_RUNPATH tag from executables and libraries. But doing so
19209 # requires that you compile everything twice, which is a pain.
19210 # So that behaviour is only enabled if SCOABSPATH is set to a
19211 # non-empty value in the environment. Most likely only useful for
19212 # creating official distributions of packages.
19213 # This is a hack until libtool officially supports absolute path
19214 # names for shared libraries.
19215 no_undefined_flag_CXX='${wl}-z,text'
19216 allow_undefined_flag_CXX='${wl}-z,nodefs'
19217 archive_cmds_need_lc_CXX=no
19218 hardcode_shlibpath_var_CXX=no
19219 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19220 hardcode_libdir_separator_CXX=':'
19221 link_all_deplibs_CXX=yes
19222 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19223 runpath_var='LD_RUN_PATH'
19225 case $cc_basename in
19227 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19228 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19231 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19232 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19237 case $cc_basename in
19239 # NonStop-UX NCC 3.20
19240 # FIXME: insert proper C++ library support
19244 # FIXME: insert proper C++ library support
19250 # FIXME: insert proper C++ library support
19254 # FIXME: insert proper C++ library support
19258 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19259 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19260 test "$ld_shlibs_CXX" = no && can_build_shared=no
19266 cat > conftest.$ac_ext <<EOF
19270 Foo (void) { a = 0; }
19276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19277 (eval $ac_compile) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; then
19281 # Parse the compiler output and extract the necessary
19282 # objects, libraries and library flags.
19284 # Sentinel used to keep track of whether or not we are before
19285 # the conftest object file.
19286 pre_test_object_deps_done=no
19288 # The `*' in the case matches for architectures that use `case' in
19289 # $output_verbose_cmd can trigger glob expansion during the loop
19290 # eval without this substitution.
19291 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19293 for p in `eval $output_verbose_link_cmd`; do
19297 # Some compilers place space between "-{L,R}" and the path.
19298 # Remove the space.
19299 if test $p = "-L" \
19300 || test $p = "-R"; then
19307 if test "$pre_test_object_deps_done" = no; then
19310 # Internal compiler library paths should come after those
19311 # provided the user. The postdeps already come after the
19312 # user supplied libs so there is no need to process them.
19313 if test -z "$compiler_lib_search_path_CXX"; then
19314 compiler_lib_search_path_CXX="${prev}${p}"
19316 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19319 # The "-l" case would never come before the object being
19320 # linked, so don't bother handling this case.
19323 if test -z "$postdeps_CXX"; then
19324 postdeps_CXX="${prev}${p}"
19326 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19332 # This assumes that the test object file only shows up
19333 # once in the compiler output.
19334 if test "$p" = "conftest.$objext"; then
19335 pre_test_object_deps_done=yes
19339 if test "$pre_test_object_deps_done" = no; then
19340 if test -z "$predep_objects_CXX"; then
19341 predep_objects_CXX="$p"
19343 predep_objects_CXX="$predep_objects_CXX $p"
19346 if test -z "$postdep_objects_CXX"; then
19347 postdep_objects_CXX="$p"
19349 postdep_objects_CXX="$postdep_objects_CXX $p"
19354 *) ;; # Ignore the rest.
19362 echo "libtool.m4: error: problem compiling CXX test program"
19365 $rm -f confest.$objext
19367 # PORTME: override above test on systems where it is broken
19370 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19371 # hack all around it, let's just trust "g++" to DTRT.
19372 predep_objects_CXX=
19373 postdep_objects_CXX=
19378 case $cc_basename in
19380 # Adding this requires a known-good setup of shared libraries for
19381 # Sun compiler versions before 5.6, else PIC objects from an old
19382 # archive will be linked into the output, leading to subtle bugs.
19383 postdeps_CXX='-lCstd -lCrun'
19390 case " $postdeps_CXX " in
19391 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19394 lt_prog_compiler_wl_CXX=
19395 lt_prog_compiler_pic_CXX=
19396 lt_prog_compiler_static_CXX=
19398 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19399 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19401 # C++ specific cases for pic, static, wl, etc.
19402 if test "$GXX" = yes; then
19403 lt_prog_compiler_wl_CXX='-Wl,'
19404 lt_prog_compiler_static_CXX='-static'
19408 # All AIX code is PIC.
19409 if test "$host_cpu" = ia64; then
19410 # AIX 5 now supports IA64 processor
19411 lt_prog_compiler_static_CXX='-Bstatic'
19415 # FIXME: we need at least 68020 code to build shared libraries, but
19416 # adding the `-m68020' flag to GCC prevents building anything better,
19418 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19420 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19421 # PIC is the default for these OSes.
19423 mingw* | os2* | pw32*)
19424 # This hack is so that the source file can tell whether it is being
19425 # built for inclusion in a dll (and should export symbols for example).
19426 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19428 darwin* | rhapsody*)
19429 # PIC is the default on this platform
19430 # Common symbols not allowed in MH_DYLIB files
19431 lt_prog_compiler_pic_CXX='-fno-common'
19434 # DJGPP does not support shared libraries at all
19435 lt_prog_compiler_pic_CXX=
19438 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19439 # Instead, we relocate shared libraries at runtime.
19442 if test -d /usr/nec; then
19443 lt_prog_compiler_pic_CXX=-Kconform_pic
19447 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19448 # not for PA HP-UX.
19453 lt_prog_compiler_pic_CXX='-fPIC'
19458 lt_prog_compiler_pic_CXX='-fPIC'
19464 # All AIX code is PIC.
19465 if test "$host_cpu" = ia64; then
19466 # AIX 5 now supports IA64 processor
19467 lt_prog_compiler_static_CXX='-Bstatic'
19469 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19473 case $cc_basename in
19475 # Green Hills C++ Compiler
19476 # _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"
19481 # PIC is the default on this platform
19482 # Common symbols not allowed in MH_DYLIB files
19483 case $cc_basename in
19485 lt_prog_compiler_pic_CXX='-qnocommon'
19486 lt_prog_compiler_wl_CXX='-Wl,'
19491 case $cc_basename in
19493 lt_prog_compiler_pic_CXX='-KPIC'
19496 # Green Hills C++ Compiler
19497 lt_prog_compiler_pic_CXX='-pic'
19503 freebsd* | kfreebsd*-gnu | dragonfly*)
19504 # FreeBSD uses GNU C++
19506 hpux9* | hpux10* | hpux11*)
19507 case $cc_basename in
19509 lt_prog_compiler_wl_CXX='-Wl,'
19510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19511 if test "$host_cpu" != ia64; then
19512 lt_prog_compiler_pic_CXX='+Z'
19516 lt_prog_compiler_wl_CXX='-Wl,'
19517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19523 lt_prog_compiler_pic_CXX='+Z'
19532 # This is c89, which is MS Visual C++ (no shared libs)
19533 # Anyone wants to do a port?
19535 irix5* | irix6* | nonstopux*)
19536 case $cc_basename in
19538 lt_prog_compiler_wl_CXX='-Wl,'
19539 lt_prog_compiler_static_CXX='-non_shared'
19540 # CC pic flag -KPIC is the default.
19547 case $cc_basename in
19550 lt_prog_compiler_wl_CXX='--backend -Wl,'
19551 lt_prog_compiler_pic_CXX='-fPIC'
19555 lt_prog_compiler_wl_CXX='-Wl,'
19556 lt_prog_compiler_pic_CXX='-KPIC'
19557 lt_prog_compiler_static_CXX='-static'
19560 # Portland Group C++ compiler.
19561 lt_prog_compiler_wl_CXX='-Wl,'
19562 lt_prog_compiler_pic_CXX='-fpic'
19563 lt_prog_compiler_static_CXX='-Bstatic'
19567 # Make sure the PIC flag is empty. It appears that all Alpha
19568 # Linux and Compaq Tru64 Unix objects are PIC.
19569 lt_prog_compiler_pic_CXX=
19570 lt_prog_compiler_static_CXX='-non_shared'
19581 case $cc_basename in
19583 lt_prog_compiler_pic_CXX='-W c,exportall'
19591 osf3* | osf4* | osf5*)
19592 case $cc_basename in
19594 lt_prog_compiler_wl_CXX='--backend -Wl,'
19597 # Rational C++ 2.4.1
19598 lt_prog_compiler_pic_CXX='-pic'
19601 # Digital/Compaq C++
19602 lt_prog_compiler_wl_CXX='-Wl,'
19603 # Make sure the PIC flag is empty. It appears that all Alpha
19604 # Linux and Compaq Tru64 Unix objects are PIC.
19605 lt_prog_compiler_pic_CXX=
19606 lt_prog_compiler_static_CXX='-non_shared'
19615 case $cc_basename in
19617 # Sun C++ 4.2, 5.x and Centerline C++
19618 lt_prog_compiler_pic_CXX='-KPIC'
19619 lt_prog_compiler_static_CXX='-Bstatic'
19620 lt_prog_compiler_wl_CXX='-Qoption ld '
19623 # Green Hills C++ Compiler
19624 lt_prog_compiler_pic_CXX='-PIC'
19631 case $cc_basename in
19634 lt_prog_compiler_pic_CXX='-pic'
19635 lt_prog_compiler_static_CXX='-Bstatic'
19639 lt_prog_compiler_pic_CXX='-pic'
19646 case $cc_basename in
19648 # NonStop-UX NCC 3.20
19649 lt_prog_compiler_pic_CXX='-KPIC'
19655 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19656 case $cc_basename in
19658 lt_prog_compiler_wl_CXX='-Wl,'
19659 lt_prog_compiler_pic_CXX='-KPIC'
19660 lt_prog_compiler_static_CXX='-Bstatic'
19667 lt_prog_compiler_can_build_shared_CXX=no
19672 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19673 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19676 # Check to make sure the PIC flag actually works.
19678 if test -n "$lt_prog_compiler_pic_CXX"; then
19680 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19681 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19682 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 lt_prog_compiler_pic_works_CXX=no
19686 ac_outfile=conftest.$ac_objext
19687 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19688 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19689 # Insert the option either (1) after the last *FLAGS variable, or
19690 # (2) before a word containing "conftest.", or (3) at the end.
19691 # Note that $ac_compile itself does not contain backslashes and begins
19692 # with a dollar sign (not a hyphen), so the echo should work correctly.
19693 # The option is referenced via a variable to avoid confusing sed.
19694 lt_compile=`echo "$ac_compile" | $SED \
19695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19697 -e 's:$: $lt_compiler_flag:'`
19698 (eval echo "\"\$as_me:19698: $lt_compile\"" >&5)
19699 (eval "$lt_compile" 2>conftest.err)
19701 cat conftest.err >&5
19702 echo "$as_me:19702: \$? = $ac_status" >&5
19703 if (exit $ac_status) && test -s "$ac_outfile"; then
19704 # The compiler can only warn and ignore the option if not recognized
19705 # So say no if there are warnings other than the usual output.
19706 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19707 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19708 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19709 lt_prog_compiler_pic_works_CXX=yes
19715 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19716 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19718 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
19719 case $lt_prog_compiler_pic_CXX in
19721 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19724 lt_prog_compiler_pic_CXX=
19725 lt_prog_compiler_can_build_shared_CXX=no
19730 # For platforms which do not support PIC, -DPIC is meaningless:
19732 lt_prog_compiler_pic_CXX=
19735 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19740 # Check to make sure the static flag actually works.
19742 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19743 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19744 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19745 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 lt_prog_compiler_static_works_CXX=no
19749 save_LDFLAGS="$LDFLAGS"
19750 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19751 printf "$lt_simple_link_test_code" > conftest.$ac_ext
19752 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19753 # The linker can only warn and ignore the option if not recognized
19754 # So say no if there are warnings
19755 if test -s conftest.err; then
19756 # Append any errors to the config.log.
19757 cat conftest.err 1>&5
19758 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19760 if diff conftest.exp conftest.er2 >/dev/null; then
19761 lt_prog_compiler_static_works_CXX=yes
19764 lt_prog_compiler_static_works_CXX=yes
19768 LDFLAGS="$save_LDFLAGS"
19771 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19772 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19774 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
19777 lt_prog_compiler_static_CXX=
19781 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19782 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19783 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 lt_cv_prog_compiler_c_o_CXX=no
19787 $rm -r conftest 2>/dev/null
19791 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19793 lt_compiler_flag="-o out/conftest2.$ac_objext"
19794 # Insert the option either (1) after the last *FLAGS variable, or
19795 # (2) before a word containing "conftest.", or (3) at the end.
19796 # Note that $ac_compile itself does not contain backslashes and begins
19797 # with a dollar sign (not a hyphen), so the echo should work correctly.
19798 lt_compile=`echo "$ac_compile" | $SED \
19799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19801 -e 's:$: $lt_compiler_flag:'`
19802 (eval echo "\"\$as_me:19802: $lt_compile\"" >&5)
19803 (eval "$lt_compile" 2>out/conftest.err)
19805 cat out/conftest.err >&5
19806 echo "$as_me:19806: \$? = $ac_status" >&5
19807 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19809 # The compiler can only warn and ignore the option if not recognized
19810 # So say no if there are warnings
19811 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19812 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19813 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19814 lt_cv_prog_compiler_c_o_CXX=yes
19819 # SGI C++ compiler will create directory out/ii_files/ for
19820 # template instantiation
19821 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19822 $rm out/* && rmdir out
19828 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19829 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19832 hard_links="nottested"
19833 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19834 # do not overwrite the value of need_locks provided by the user
19835 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19836 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19839 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19841 ln conftest.a conftest.b 2>&5 || hard_links=no
19842 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19843 { echo "$as_me:$LINENO: result: $hard_links" >&5
19844 echo "${ECHO_T}$hard_links" >&6; }
19845 if test "$hard_links" = no; then
19846 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19847 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19854 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19855 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19857 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19860 # If we're using GNU nm, then we don't want the "-C" option.
19861 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19862 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19863 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'
19865 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'
19869 export_symbols_cmds_CXX="$ltdll_cmds"
19872 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'
19875 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19879 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19880 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19881 test "$ld_shlibs_CXX" = no && can_build_shared=no
19884 # Do we need to explicitly link libc?
19886 case "x$archive_cmds_need_lc_CXX" in
19888 # Assume -lc should be added
19889 archive_cmds_need_lc_CXX=yes
19891 if test "$enable_shared" = yes && test "$GCC" = yes; then
19892 case $archive_cmds_CXX in
19894 # FIXME: we may have to deal with multi-command sequences.
19897 # Test whether the compiler implicitly links with -lc since on some
19898 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19899 # to ld, don't add -lc before -lgcc.
19900 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19901 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19903 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19906 (eval $ac_compile) 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } 2>conftest.err; then
19912 libobjs=conftest.$ac_objext
19914 wl=$lt_prog_compiler_wl_CXX
19915 pic_flag=$lt_prog_compiler_pic_CXX
19921 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19922 allow_undefined_flag_CXX=
19923 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19924 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }
19929 archive_cmds_need_lc_CXX=no
19931 archive_cmds_need_lc_CXX=yes
19933 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19935 cat conftest.err 1>&5
19938 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19939 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19946 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19947 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19948 library_names_spec=
19949 libname_spec='lib$name'
19953 postuninstall_cmds=
19957 shlibpath_overrides_runpath=unknown
19959 dynamic_linker="$host_os ld.so"
19960 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19961 if test "$GCC" = yes; then
19962 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19963 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19964 # if the path contains ";" then we assume it to be the separator
19965 # otherwise default to the standard path separator (i.e. ":") - it is
19966 # assumed that no part of a normal pathname contains ";" but that should
19967 # okay in the real world where ";" in dirpaths is itself problematic.
19968 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19970 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19973 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19975 need_lib_prefix=unknown
19976 hardcode_into_libs=no
19978 # when you set need_version to no, make sure it does not cause -set_version
19979 # flags to be left without arguments
19980 need_version=unknown
19985 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19986 shlibpath_var=LIBPATH
19988 # AIX 3 has no versioning support, so we append a major version to the name.
19989 soname_spec='${libname}${release}${shared_ext}$major'
19996 hardcode_into_libs=yes
19997 if test "$host_cpu" = ia64; then
19998 # AIX 5 supports IA64
19999 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20000 shlibpath_var=LD_LIBRARY_PATH
20002 # With GCC up to 2.95.x, collect2 would create an import file
20003 # for dependence libraries. The import file would start with
20004 # the line `#! .'. This would cause the generated library to
20005 # depend on `.', always an invalid library. This was fixed in
20006 # development snapshots of GCC prior to 3.0.
20008 aix4 | aix4.[01] | aix4.[01].*)
20009 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20011 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20014 can_build_shared=no
20018 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20019 # soname into executable. Probably we can add versioning support to
20020 # collect2, so additional links can be useful in future.
20021 if test "$aix_use_runtimelinking" = yes; then
20022 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20023 # instead of lib<name>.a to let people know that these are not
20024 # typical AIX shared libraries.
20025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20027 # We preserve .a as extension for shared libraries through AIX4.2
20028 # and later when we are not doing run time linking.
20029 library_names_spec='${libname}${release}.a $libname.a'
20030 soname_spec='${libname}${release}${shared_ext}$major'
20032 shlibpath_var=LIBPATH
20037 library_names_spec='$libname.ixlibrary $libname.a'
20038 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20039 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'
20043 library_names_spec='${libname}${shared_ext}'
20044 dynamic_linker="$host_os ld.so"
20045 shlibpath_var=LIBRARY_PATH
20051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20052 soname_spec='${libname}${release}${shared_ext}$major'
20053 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20054 shlibpath_var=LD_LIBRARY_PATH
20055 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20056 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20057 # the default ld.so.conf also contains /usr/contrib/lib and
20058 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20059 # libtool to hard-code these into programs
20062 cygwin* | mingw* | pw32*)
20063 version_type=windows
20068 case $GCC,$host_os in
20069 yes,cygwin* | yes,mingw* | yes,pw32*)
20070 library_names_spec='$libname.dll.a'
20071 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20072 postinstall_cmds='base_file=`basename \${file}`~
20073 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20074 dldir=$destdir/`dirname \$dlpath`~
20075 test -d \$dldir || mkdir -p \$dldir~
20076 $install_prog $dir/$dlname \$dldir/$dlname~
20077 chmod a+x \$dldir/$dlname'
20078 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20079 dlpath=$dir/\$dldll~
20081 shlibpath_overrides_runpath=yes
20085 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20086 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20087 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20090 # MinGW DLLs use traditional 'lib' prefix
20091 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20092 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20093 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20094 # It is most probably a Windows format PATH printed by
20095 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20096 # path with ; separators, and with drive letters. We can handle the
20097 # drive letters (cygwin fileutils understands them), so leave them,
20098 # especially as we might pass files found there to a mingw objdump,
20099 # which wouldn't understand a cygwinified path. Ahh.
20100 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20102 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20106 # pw32 DLLs use 'pw' prefix rather than 'lib'
20107 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20113 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20116 dynamic_linker='Win32 ld.exe'
20117 # FIXME: first we should search . and the directory the executable is in
20121 darwin* | rhapsody*)
20122 dynamic_linker="$host_os dyld"
20123 version_type=darwin
20126 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20127 soname_spec='${libname}${release}${major}$shared_ext'
20128 shlibpath_overrides_runpath=yes
20129 shlibpath_var=DYLD_LIBRARY_PATH
20130 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20131 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20132 if test "$GCC" = yes; then
20133 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20135 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20137 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20145 soname_spec='${libname}${release}${shared_ext}$major'
20146 shlibpath_var=LD_LIBRARY_PATH
20157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20158 soname_spec='${libname}${release}${shared_ext}$major'
20159 shlibpath_var=LD_LIBRARY_PATH
20160 shlibpath_overrides_runpath=no
20161 hardcode_into_libs=yes
20162 dynamic_linker='GNU ld.so'
20165 freebsd* | dragonfly*)
20166 # DragonFly does not have aout. When/if they implement a new
20167 # versioning mechanism, adjust this.
20168 if test -x /usr/bin/objformat; then
20169 objformat=`/usr/bin/objformat`
20172 freebsd[123]*) objformat=aout ;;
20173 *) objformat=elf ;;
20176 version_type=freebsd-$objformat
20177 case $version_type in
20179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20184 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20188 shlibpath_var=LD_LIBRARY_PATH
20191 shlibpath_overrides_runpath=yes
20193 freebsd3.[01]* | freebsdelf3.[01]*)
20194 shlibpath_overrides_runpath=yes
20195 hardcode_into_libs=yes
20197 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20198 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20199 shlibpath_overrides_runpath=no
20200 hardcode_into_libs=yes
20202 freebsd*) # from 4.6 on
20203 shlibpath_overrides_runpath=yes
20204 hardcode_into_libs=yes
20213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20214 soname_spec='${libname}${release}${shared_ext}$major'
20215 shlibpath_var=LD_LIBRARY_PATH
20216 hardcode_into_libs=yes
20219 hpux9* | hpux10* | hpux11*)
20220 # Give a soname corresponding to the major version so that dld.sl refuses to
20221 # link against other versions.
20228 hardcode_into_libs=yes
20229 dynamic_linker="$host_os dld.so"
20230 shlibpath_var=LD_LIBRARY_PATH
20231 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20233 soname_spec='${libname}${release}${shared_ext}$major'
20234 if test "X$HPUX_IA64_MODE" = X32; then
20235 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20237 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20239 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20243 hardcode_into_libs=yes
20244 dynamic_linker="$host_os dld.sl"
20245 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20246 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20248 soname_spec='${libname}${release}${shared_ext}$major'
20249 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20250 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20254 dynamic_linker="$host_os dld.sl"
20255 shlibpath_var=SHLIB_PATH
20256 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20258 soname_spec='${libname}${release}${shared_ext}$major'
20261 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20262 postinstall_cmds='chmod 555 $lib'
20269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20270 soname_spec='${libname}${release}${shared_ext}$major'
20271 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20272 shlibpath_var=LD_LIBRARY_PATH
20273 shlibpath_overrides_runpath=no
20274 hardcode_into_libs=yes
20277 irix5* | irix6* | nonstopux*)
20279 nonstopux*) version_type=nonstopux ;;
20281 if test "$lt_cv_prog_gnu_ld" = yes; then
20289 soname_spec='${libname}${release}${shared_ext}$major'
20290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20292 irix5* | nonstopux*)
20293 libsuff= shlibsuff=
20296 case $LD in # libtool.m4 will add one of these switches to LD
20297 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20298 libsuff= shlibsuff= libmagic=32-bit;;
20299 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20300 libsuff=32 shlibsuff=N32 libmagic=N32;;
20301 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20302 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20303 *) libsuff= shlibsuff= libmagic=never-match;;
20307 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20308 shlibpath_overrides_runpath=no
20309 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20310 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20311 hardcode_into_libs=yes
20314 # No shared lib support for Linux oldld, aout, or coff.
20315 linux*oldld* | linux*aout* | linux*coff*)
20319 # This must be Linux ELF.
20324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20325 soname_spec='${libname}${release}${shared_ext}$major'
20326 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20327 shlibpath_var=LD_LIBRARY_PATH
20328 shlibpath_overrides_runpath=no
20329 # This implies no fast_install, which is unacceptable.
20330 # Some rework will be needed to allow for fast_install
20331 # before this can be enabled.
20332 hardcode_into_libs=yes
20334 # find out which ABI we are using
20336 case "$host_cpu" in
20337 x86_64*|s390x*|powerpc64*)
20338 echo '#line 20338 "configure"' > conftest.$ac_ext
20339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20340 (eval $ac_compile) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; then
20344 case `/usr/bin/file conftest.$ac_objext` in
20347 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20355 # Append ld.so.conf contents to the search path
20356 if test -f /etc/ld.so.conf; then
20357 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20358 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
20361 # We used to test for /lib/ld.so.1 and disable shared libraries on
20362 # powerpc, because MkLinux only supported shared libraries with the
20363 # GNU dynamic linker. Since this was broken with cross compilers,
20364 # most powerpc-linux boxes support dynamic linking these days and
20365 # people can always --disable-shared, the test was removed, and we
20366 # assume the GNU/Linux dynamic linker is in use.
20367 dynamic_linker='GNU/Linux ld.so'
20374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20375 soname_spec='${libname}${release}${shared_ext}$major'
20376 shlibpath_var=LD_LIBRARY_PATH
20377 shlibpath_overrides_runpath=no
20378 hardcode_into_libs=yes
20379 dynamic_linker='GNU ld.so'
20386 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20388 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20389 dynamic_linker='NetBSD (a.out) ld.so'
20391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20392 soname_spec='${libname}${release}${shared_ext}$major'
20393 dynamic_linker='NetBSD ld.elf_so'
20395 shlibpath_var=LD_LIBRARY_PATH
20396 shlibpath_overrides_runpath=yes
20397 hardcode_into_libs=yes
20402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20403 shlibpath_var=LD_LIBRARY_PATH
20404 shlibpath_overrides_runpath=yes
20411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20412 soname_spec='${libname}${release}${shared_ext}$major'
20413 shlibpath_var=LD_LIBRARY_PATH
20414 shlibpath_overrides_runpath=yes
20419 sys_lib_dlsearch_path_spec="/usr/lib"
20421 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20423 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20424 *) need_version=no ;;
20426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20427 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20428 shlibpath_var=LD_LIBRARY_PATH
20429 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20431 openbsd2.[89] | openbsd2.[89].*)
20432 shlibpath_overrides_runpath=no
20435 shlibpath_overrides_runpath=yes
20439 shlibpath_overrides_runpath=yes
20444 libname_spec='$name'
20447 library_names_spec='$libname${shared_ext} $libname.a'
20448 dynamic_linker='OS/2 ld.exe'
20449 shlibpath_var=LIBPATH
20452 osf3* | osf4* | osf5*)
20456 soname_spec='${libname}${release}${shared_ext}$major'
20457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20458 shlibpath_var=LD_LIBRARY_PATH
20459 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20460 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20468 soname_spec='${libname}${release}${shared_ext}$major'
20469 shlibpath_var=LD_LIBRARY_PATH
20470 shlibpath_overrides_runpath=yes
20471 hardcode_into_libs=yes
20472 # ldd complains unless libraries are executable
20473 postinstall_cmds='chmod +x $lib'
20478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20479 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20480 shlibpath_var=LD_LIBRARY_PATH
20481 shlibpath_overrides_runpath=yes
20482 if test "$with_gnu_ld" = yes; then
20490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20491 soname_spec='${libname}${release}${shared_ext}$major'
20492 shlibpath_var=LD_LIBRARY_PATH
20493 case $host_vendor in
20495 shlibpath_overrides_runpath=no
20497 export_dynamic_flag_spec='${wl}-Blargedynsym'
20498 runpath_var=LD_RUN_PATH
20506 shlibpath_overrides_runpath=no
20507 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20513 if test -d /usr/nec ;then
20515 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20516 soname_spec='$libname${shared_ext}.$major'
20517 shlibpath_var=LD_LIBRARY_PATH
20521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20522 version_type=freebsd-elf
20525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20526 soname_spec='${libname}${release}${shared_ext}$major'
20527 shlibpath_var=LD_LIBRARY_PATH
20528 hardcode_into_libs=yes
20529 if test "$with_gnu_ld" = yes; then
20530 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20531 shlibpath_overrides_runpath=no
20533 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20534 shlibpath_overrides_runpath=yes
20537 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20541 sys_lib_dlsearch_path_spec='/usr/lib'
20546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20547 soname_spec='${libname}${release}${shared_ext}$major'
20548 shlibpath_var=LD_LIBRARY_PATH
20555 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20556 echo "${ECHO_T}$dynamic_linker" >&6; }
20557 test "$dynamic_linker" = no && can_build_shared=no
20559 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20560 if test "$GCC" = yes; then
20561 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20564 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20565 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20566 hardcode_action_CXX=
20567 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20568 test -n "$runpath_var_CXX" || \
20569 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20571 # We can hardcode non-existant directories.
20572 if test "$hardcode_direct_CXX" != no &&
20573 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20574 # have to relink, otherwise we might link with an installed library
20575 # when we should be linking with a yet-to-be-installed one
20576 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20577 test "$hardcode_minus_L_CXX" != no; then
20578 # Linking always hardcodes the temporary library directory.
20579 hardcode_action_CXX=relink
20581 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20582 hardcode_action_CXX=immediate
20585 # We cannot hardcode anything, or else we can only hardcode existing
20587 hardcode_action_CXX=unsupported
20589 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20590 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20592 if test "$hardcode_action_CXX" = relink; then
20593 # Fast installation is not supported
20594 enable_fast_install=no
20595 elif test "$shlibpath_overrides_runpath" = yes ||
20596 test "$enable_shared" = no; then
20597 # Fast installation is not necessary
20598 enable_fast_install=needless
20602 # The else clause should only fire when bootstrapping the
20603 # libtool distribution, otherwise you forgot to ship ltmain.sh
20604 # with your package, and you will get complaints that there are
20605 # no rules to generate ltmain.sh.
20606 if test -f "$ltmain"; then
20607 # See if we are running on zsh, and set the options which allow our commands through
20608 # without removal of \ escapes.
20609 if test -n "${ZSH_VERSION+set}" ; then
20610 setopt NO_GLOB_SUBST
20612 # Now quote all the things that may contain metacharacters while being
20613 # careful not to overquote the AC_SUBSTed values. We take copies of the
20614 # variables and quote the copies for generation of the libtool script.
20615 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20617 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20618 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20619 deplibs_check_method reload_flag reload_cmds need_locks \
20620 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20621 lt_cv_sys_global_symbol_to_c_name_address \
20622 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20623 old_postinstall_cmds old_postuninstall_cmds \
20627 lt_prog_compiler_wl_CXX \
20628 lt_prog_compiler_pic_CXX \
20629 lt_prog_compiler_static_CXX \
20630 lt_prog_compiler_no_builtin_flag_CXX \
20631 export_dynamic_flag_spec_CXX \
20632 thread_safe_flag_spec_CXX \
20633 whole_archive_flag_spec_CXX \
20634 enable_shared_with_static_runtimes_CXX \
20635 old_archive_cmds_CXX \
20636 old_archive_from_new_cmds_CXX \
20637 predep_objects_CXX \
20638 postdep_objects_CXX \
20641 compiler_lib_search_path_CXX \
20643 archive_expsym_cmds_CXX \
20644 postinstall_cmds_CXX \
20645 postuninstall_cmds_CXX \
20646 old_archive_from_expsyms_cmds_CXX \
20647 allow_undefined_flag_CXX \
20648 no_undefined_flag_CXX \
20649 export_symbols_cmds_CXX \
20650 hardcode_libdir_flag_spec_CXX \
20651 hardcode_libdir_flag_spec_ld_CXX \
20652 hardcode_libdir_separator_CXX \
20653 hardcode_automatic_CXX \
20655 module_expsym_cmds_CXX \
20656 lt_cv_prog_compiler_c_o_CXX \
20657 exclude_expsyms_CXX \
20658 include_expsyms_CXX; do
20661 old_archive_cmds_CXX | \
20662 old_archive_from_new_cmds_CXX | \
20663 archive_cmds_CXX | \
20664 archive_expsym_cmds_CXX | \
20665 module_cmds_CXX | \
20666 module_expsym_cmds_CXX | \
20667 old_archive_from_expsyms_cmds_CXX | \
20668 export_symbols_cmds_CXX | \
20669 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20670 postinstall_cmds | postuninstall_cmds | \
20671 old_postinstall_cmds | old_postuninstall_cmds | \
20672 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20673 # Double-quote double-evaled strings.
20674 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20677 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20683 *'\$0 --fallback-echo"')
20684 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20690 cat <<__EOF__ >> "$cfgfile"
20691 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20693 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20695 # Shell to use when invoking shell scripts.
20698 # Whether or not to build shared libraries.
20699 build_libtool_libs=$enable_shared
20701 # Whether or not to build static libraries.
20702 build_old_libs=$enable_static
20704 # Whether or not to add -lc for building shared libraries.
20705 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20707 # Whether or not to disallow shared libs when runtime libs are static
20708 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20710 # Whether or not to optimize for fast installation.
20711 fast_install=$enable_fast_install
20714 host_alias=$host_alias
20718 # The build system.
20719 build_alias=$build_alias
20723 # An echo program that does not interpret backslashes.
20728 AR_FLAGS=$lt_AR_FLAGS
20733 # LTCC compiler flags.
20734 LTCFLAGS=$lt_LTCFLAGS
20736 # A language-specific compiler.
20737 CC=$lt_compiler_CXX
20739 # Is the compiler the GNU C compiler?
20745 # The linker used to build libraries.
20748 # Whether we need hard or soft links.
20751 # A BSD-compatible nm program.
20754 # A symbol stripping program
20757 # Used to examine libraries when file_magic_cmd begins "file"
20758 MAGIC_CMD=$MAGIC_CMD
20760 # Used on cygwin: DLL creation program.
20763 # Used on cygwin: object dumper.
20766 # Used on cygwin: assembler.
20769 # The name of the directory that contains temporary libtool files.
20772 # How to create reloadable object files.
20773 reload_flag=$lt_reload_flag
20774 reload_cmds=$lt_reload_cmds
20776 # How to pass a linker flag through the compiler.
20777 wl=$lt_lt_prog_compiler_wl_CXX
20779 # Object file suffix (normally "o").
20780 objext="$ac_objext"
20782 # Old archive suffix (normally "a").
20785 # Shared library suffix (normally ".so").
20786 shrext_cmds='$shrext_cmds'
20788 # Executable file suffix (normally "").
20791 # Additional compiler flags for building library objects.
20792 pic_flag=$lt_lt_prog_compiler_pic_CXX
20795 # What is the maximum length of a command?
20796 max_cmd_len=$lt_cv_sys_max_cmd_len
20798 # Does compiler simultaneously support -c and -o options?
20799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20801 # Must we lock files when doing compilation?
20802 need_locks=$lt_need_locks
20804 # Do we need the lib prefix for modules?
20805 need_lib_prefix=$need_lib_prefix
20807 # Do we need a version for libraries?
20808 need_version=$need_version
20810 # Whether dlopen is supported.
20811 dlopen_support=$enable_dlopen
20813 # Whether dlopen of programs is supported.
20814 dlopen_self=$enable_dlopen_self
20816 # Whether dlopen of statically linked programs is supported.
20817 dlopen_self_static=$enable_dlopen_self_static
20819 # Compiler flag to prevent dynamic linking.
20820 link_static_flag=$lt_lt_prog_compiler_static_CXX
20822 # Compiler flag to turn off builtin functions.
20823 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20825 # Compiler flag to allow reflexive dlopens.
20826 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20828 # Compiler flag to generate shared objects directly from archives.
20829 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20831 # Compiler flag to generate thread-safe objects.
20832 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20834 # Library versioning type.
20835 version_type=$version_type
20837 # Format of library name prefix.
20838 libname_spec=$lt_libname_spec
20840 # List of archive names. First name is the real one, the rest are links.
20841 # The last name is the one that the linker finds with -lNAME.
20842 library_names_spec=$lt_library_names_spec
20844 # The coded name of the library, if different from the real name.
20845 soname_spec=$lt_soname_spec
20847 # Commands used to build and install an old-style archive.
20849 old_archive_cmds=$lt_old_archive_cmds_CXX
20850 old_postinstall_cmds=$lt_old_postinstall_cmds
20851 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20853 # Create an old-style archive from a shared archive.
20854 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20856 # Create a temporary old-style archive to link instead of a shared archive.
20857 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20859 # Commands used to build and install a shared archive.
20860 archive_cmds=$lt_archive_cmds_CXX
20861 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20862 postinstall_cmds=$lt_postinstall_cmds
20863 postuninstall_cmds=$lt_postuninstall_cmds
20865 # Commands used to build a loadable module (assumed same as above if empty)
20866 module_cmds=$lt_module_cmds_CXX
20867 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20869 # Commands to strip libraries.
20870 old_striplib=$lt_old_striplib
20871 striplib=$lt_striplib
20873 # Dependencies to place before the objects being linked to create a
20875 predep_objects=$lt_predep_objects_CXX
20877 # Dependencies to place after the objects being linked to create a
20879 postdep_objects=$lt_postdep_objects_CXX
20881 # Dependencies to place before the objects being linked to create a
20883 predeps=$lt_predeps_CXX
20885 # Dependencies to place after the objects being linked to create a
20887 postdeps=$lt_postdeps_CXX
20889 # The library search path used internally by the compiler when linking
20890 # a shared library.
20891 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20893 # Method to check whether dependent libraries are shared objects.
20894 deplibs_check_method=$lt_deplibs_check_method
20896 # Command to use when deplibs_check_method == file_magic.
20897 file_magic_cmd=$lt_file_magic_cmd
20899 # Flag that allows shared libraries with undefined symbols to be built.
20900 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20902 # Flag that forces no undefined symbols.
20903 no_undefined_flag=$lt_no_undefined_flag_CXX
20905 # Commands used to finish a libtool library installation in a directory.
20906 finish_cmds=$lt_finish_cmds
20908 # Same as above, but a single script fragment to be evaled but not shown.
20909 finish_eval=$lt_finish_eval
20911 # Take the output of nm and produce a listing of raw symbols and C names.
20912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20914 # Transform the output of nm in a proper C declaration
20915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20917 # Transform the output of nm in a C name address pair
20918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20920 # This is the shared library runtime path variable.
20921 runpath_var=$runpath_var
20923 # This is the shared library path variable.
20924 shlibpath_var=$shlibpath_var
20926 # Is shlibpath searched before the hard-coded library search path?
20927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20929 # How to hardcode a shared library path into an executable.
20930 hardcode_action=$hardcode_action_CXX
20932 # Whether we should hardcode library paths into libraries.
20933 hardcode_into_libs=$hardcode_into_libs
20935 # Flag to hardcode \$libdir into a binary during linking.
20936 # This must work even if \$libdir does not exist.
20937 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20939 # If ld is used when linking, flag to hardcode \$libdir into
20940 # a binary during linking. This must work even if \$libdir does
20942 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20944 # Whether we need a single -rpath flag with a separated argument.
20945 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20947 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20948 # resulting binary.
20949 hardcode_direct=$hardcode_direct_CXX
20951 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20952 # resulting binary.
20953 hardcode_minus_L=$hardcode_minus_L_CXX
20955 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20956 # the resulting binary.
20957 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20959 # Set to yes if building a shared library automatically hardcodes DIR into the library
20960 # and all subsequent libraries and executables linked against it.
20961 hardcode_automatic=$hardcode_automatic_CXX
20963 # Variables whose values should be saved in libtool wrapper scripts and
20964 # restored at relink time.
20965 variables_saved_for_relink="$variables_saved_for_relink"
20967 # Whether libtool must link a program against all its dependency libraries.
20968 link_all_deplibs=$link_all_deplibs_CXX
20970 # Compile-time system search path for libraries
20971 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20973 # Run-time system search path for libraries
20974 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20976 # Fix the shell variable \$srcfile for the compiler.
20977 fix_srcfile_path="$fix_srcfile_path_CXX"
20979 # Set to yes if exported symbols are required.
20980 always_export_symbols=$always_export_symbols_CXX
20982 # The commands to list exported symbols.
20983 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20985 # The commands to extract the exported symbol list from a shared archive.
20986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20988 # Symbols that should not be listed in the preloaded symbols.
20989 exclude_expsyms=$lt_exclude_expsyms_CXX
20991 # Symbols that must always be exported.
20992 include_expsyms=$lt_include_expsyms_CXX
20994 # ### END LIBTOOL TAG CONFIG: $tagname
21000 # If there is no Makefile yet, we rely on a make rule to execute
21001 # `config.status --recheck' to rerun these tests and create the
21002 # libtool script then.
21003 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21004 if test -f "$ltmain_in"; then
21005 test -f Makefile && make "$ltmain"
21011 ac_cpp='$CPP $CPPFLAGS'
21012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21020 with_gnu_ldcxx=$with_gnu_ld
21021 with_gnu_ld=$lt_save_with_gnu_ld
21022 lt_cv_path_LDCXX=$lt_cv_path_LD
21023 lt_cv_path_LD=$lt_save_path_LD
21024 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21025 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21033 if test -n "$F77" && test "X$F77" != "Xno"; then
21036 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21037 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21038 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21041 archive_cmds_need_lc_F77=no
21042 allow_undefined_flag_F77=
21043 always_export_symbols_F77=no
21044 archive_expsym_cmds_F77=
21045 export_dynamic_flag_spec_F77=
21046 hardcode_direct_F77=no
21047 hardcode_libdir_flag_spec_F77=
21048 hardcode_libdir_flag_spec_ld_F77=
21049 hardcode_libdir_separator_F77=
21050 hardcode_minus_L_F77=no
21051 hardcode_automatic_F77=no
21053 module_expsym_cmds_F77=
21054 link_all_deplibs_F77=unknown
21055 old_archive_cmds_F77=$old_archive_cmds
21056 no_undefined_flag_F77=
21057 whole_archive_flag_spec_F77=
21058 enable_shared_with_static_runtimes_F77=no
21060 # Source file extension for f77 test sources.
21063 # Object file extension for compiled f77 test sources.
21067 # Code to be used in simple compile tests
21068 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
21070 # Code to be used in simple link tests
21071 lt_simple_link_test_code=" program t\n end\n"
21073 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21075 # If no C compiler was specified, use CC.
21078 # If no C compiler flags were specified, use CFLAGS.
21079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21081 # Allow CC to be a program name with arguments.
21085 # save warnings/boilerplate of simple test code
21086 ac_outfile=conftest.$ac_objext
21087 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21088 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21089 _lt_compiler_boilerplate=`cat conftest.err`
21092 ac_outfile=conftest.$ac_objext
21093 printf "$lt_simple_link_test_code" >conftest.$ac_ext
21094 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21095 _lt_linker_boilerplate=`cat conftest.err`
21099 # Allow CC to be a program name with arguments.
21104 for cc_temp in $compiler""; do
21106 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21107 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21112 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21115 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21116 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21117 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21118 echo "${ECHO_T}$can_build_shared" >&6; }
21120 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21121 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21122 test "$can_build_shared" = "no" && enable_shared=no
21124 # On AIX, shared libraries and static libraries use the same namespace, and
21125 # are all built from PIC.
21128 test "$enable_shared" = yes && enable_static=no
21129 if test -n "$RANLIB"; then
21130 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21131 postinstall_cmds='$RANLIB $lib'
21135 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21136 test "$enable_shared" = yes && enable_static=no
21140 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21141 echo "${ECHO_T}$enable_shared" >&6; }
21143 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21144 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21145 # Make sure either enable_shared or enable_static is yes.
21146 test "$enable_shared" = yes || enable_static=yes
21147 { echo "$as_me:$LINENO: result: $enable_static" >&5
21148 echo "${ECHO_T}$enable_static" >&6; }
21153 lt_prog_compiler_wl_F77=
21154 lt_prog_compiler_pic_F77=
21155 lt_prog_compiler_static_F77=
21157 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21158 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21160 if test "$GCC" = yes; then
21161 lt_prog_compiler_wl_F77='-Wl,'
21162 lt_prog_compiler_static_F77='-static'
21166 # All AIX code is PIC.
21167 if test "$host_cpu" = ia64; then
21168 # AIX 5 now supports IA64 processor
21169 lt_prog_compiler_static_F77='-Bstatic'
21174 # FIXME: we need at least 68020 code to build shared libraries, but
21175 # adding the `-m68020' flag to GCC prevents building anything better,
21177 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21180 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21181 # PIC is the default for these OSes.
21184 mingw* | pw32* | os2*)
21185 # This hack is so that the source file can tell whether it is being
21186 # built for inclusion in a dll (and should export symbols for example).
21187 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21190 darwin* | rhapsody*)
21191 # PIC is the default on this platform
21192 # Common symbols not allowed in MH_DYLIB files
21193 lt_prog_compiler_pic_F77='-fno-common'
21197 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21198 # Instead, we relocate shared libraries at runtime.
21202 # Just because we use GCC doesn't mean we suddenly get shared libraries
21203 # on systems that don't support them.
21204 lt_prog_compiler_can_build_shared_F77=no
21209 if test -d /usr/nec; then
21210 lt_prog_compiler_pic_F77=-Kconform_pic
21215 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21216 # not for PA HP-UX.
21222 lt_prog_compiler_pic_F77='-fPIC'
21228 lt_prog_compiler_pic_F77='-fPIC'
21232 # PORTME Check for flag to pass linker flags through the system compiler.
21235 lt_prog_compiler_wl_F77='-Wl,'
21236 if test "$host_cpu" = ia64; then
21237 # AIX 5 now supports IA64 processor
21238 lt_prog_compiler_static_F77='-Bstatic'
21240 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21244 # PIC is the default on this platform
21245 # Common symbols not allowed in MH_DYLIB files
21246 case $cc_basename in
21248 lt_prog_compiler_pic_F77='-qnocommon'
21249 lt_prog_compiler_wl_F77='-Wl,'
21254 mingw* | pw32* | os2*)
21255 # This hack is so that the source file can tell whether it is being
21256 # built for inclusion in a dll (and should export symbols for example).
21257 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21260 hpux9* | hpux10* | hpux11*)
21261 lt_prog_compiler_wl_F77='-Wl,'
21262 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21263 # not for PA HP-UX.
21269 lt_prog_compiler_pic_F77='+Z'
21272 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21273 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21276 irix5* | irix6* | nonstopux*)
21277 lt_prog_compiler_wl_F77='-Wl,'
21278 # PIC (with -KPIC) is the default.
21279 lt_prog_compiler_static_F77='-non_shared'
21283 lt_prog_compiler_pic_F77='-KPIC'
21284 lt_prog_compiler_static_F77='-Bstatic'
21288 case $cc_basename in
21290 lt_prog_compiler_wl_F77='-Wl,'
21291 lt_prog_compiler_pic_F77='-KPIC'
21292 lt_prog_compiler_static_F77='-static'
21294 pgcc* | pgf77* | pgf90* | pgf95*)
21295 # Portland Group compilers (*not* the Pentium gcc compiler,
21296 # which looks to be a dead project)
21297 lt_prog_compiler_wl_F77='-Wl,'
21298 lt_prog_compiler_pic_F77='-fpic'
21299 lt_prog_compiler_static_F77='-Bstatic'
21302 lt_prog_compiler_wl_F77='-Wl,'
21303 # All Alpha code is PIC.
21304 lt_prog_compiler_static_F77='-non_shared'
21309 osf3* | osf4* | osf5*)
21310 lt_prog_compiler_wl_F77='-Wl,'
21311 # All OSF/1 code is PIC.
21312 lt_prog_compiler_static_F77='-non_shared'
21316 lt_prog_compiler_pic_F77='-KPIC'
21317 lt_prog_compiler_static_F77='-Bstatic'
21318 case $cc_basename in
21319 f77* | f90* | f95*)
21320 lt_prog_compiler_wl_F77='-Qoption ld ';;
21322 lt_prog_compiler_wl_F77='-Wl,';;
21327 lt_prog_compiler_wl_F77='-Qoption ld '
21328 lt_prog_compiler_pic_F77='-PIC'
21329 lt_prog_compiler_static_F77='-Bstatic'
21332 sysv4 | sysv4.2uw2* | sysv4.3*)
21333 lt_prog_compiler_wl_F77='-Wl,'
21334 lt_prog_compiler_pic_F77='-KPIC'
21335 lt_prog_compiler_static_F77='-Bstatic'
21339 if test -d /usr/nec ;then
21340 lt_prog_compiler_pic_F77='-Kconform_pic'
21341 lt_prog_compiler_static_F77='-Bstatic'
21345 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21346 lt_prog_compiler_wl_F77='-Wl,'
21347 lt_prog_compiler_pic_F77='-KPIC'
21348 lt_prog_compiler_static_F77='-Bstatic'
21352 lt_prog_compiler_wl_F77='-Wl,'
21353 lt_prog_compiler_can_build_shared_F77=no
21357 lt_prog_compiler_pic_F77='-pic'
21358 lt_prog_compiler_static_F77='-Bstatic'
21362 lt_prog_compiler_can_build_shared_F77=no
21367 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21368 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21371 # Check to make sure the PIC flag actually works.
21373 if test -n "$lt_prog_compiler_pic_F77"; then
21375 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21376 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21377 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21378 echo $ECHO_N "(cached) $ECHO_C" >&6
21380 lt_prog_compiler_pic_works_F77=no
21381 ac_outfile=conftest.$ac_objext
21382 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21383 lt_compiler_flag="$lt_prog_compiler_pic_F77"
21384 # Insert the option either (1) after the last *FLAGS variable, or
21385 # (2) before a word containing "conftest.", or (3) at the end.
21386 # Note that $ac_compile itself does not contain backslashes and begins
21387 # with a dollar sign (not a hyphen), so the echo should work correctly.
21388 # The option is referenced via a variable to avoid confusing sed.
21389 lt_compile=`echo "$ac_compile" | $SED \
21390 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21391 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21392 -e 's:$: $lt_compiler_flag:'`
21393 (eval echo "\"\$as_me:21393: $lt_compile\"" >&5)
21394 (eval "$lt_compile" 2>conftest.err)
21396 cat conftest.err >&5
21397 echo "$as_me:21397: \$? = $ac_status" >&5
21398 if (exit $ac_status) && test -s "$ac_outfile"; then
21399 # The compiler can only warn and ignore the option if not recognized
21400 # So say no if there are warnings other than the usual output.
21401 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21402 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21403 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21404 lt_prog_compiler_pic_works_F77=yes
21410 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21411 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21413 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21414 case $lt_prog_compiler_pic_F77 in
21416 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21419 lt_prog_compiler_pic_F77=
21420 lt_prog_compiler_can_build_shared_F77=no
21425 # For platforms which do not support PIC, -DPIC is meaningless:
21427 lt_prog_compiler_pic_F77=
21430 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21435 # Check to make sure the static flag actually works.
21437 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21438 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21439 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21440 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21441 echo $ECHO_N "(cached) $ECHO_C" >&6
21443 lt_prog_compiler_static_works_F77=no
21444 save_LDFLAGS="$LDFLAGS"
21445 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21446 printf "$lt_simple_link_test_code" > conftest.$ac_ext
21447 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21448 # The linker can only warn and ignore the option if not recognized
21449 # So say no if there are warnings
21450 if test -s conftest.err; then
21451 # Append any errors to the config.log.
21452 cat conftest.err 1>&5
21453 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21454 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21455 if diff conftest.exp conftest.er2 >/dev/null; then
21456 lt_prog_compiler_static_works_F77=yes
21459 lt_prog_compiler_static_works_F77=yes
21463 LDFLAGS="$save_LDFLAGS"
21466 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21467 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21469 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21472 lt_prog_compiler_static_F77=
21476 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21477 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21478 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21481 lt_cv_prog_compiler_c_o_F77=no
21482 $rm -r conftest 2>/dev/null
21486 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21488 lt_compiler_flag="-o out/conftest2.$ac_objext"
21489 # Insert the option either (1) after the last *FLAGS variable, or
21490 # (2) before a word containing "conftest.", or (3) at the end.
21491 # Note that $ac_compile itself does not contain backslashes and begins
21492 # with a dollar sign (not a hyphen), so the echo should work correctly.
21493 lt_compile=`echo "$ac_compile" | $SED \
21494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21496 -e 's:$: $lt_compiler_flag:'`
21497 (eval echo "\"\$as_me:21497: $lt_compile\"" >&5)
21498 (eval "$lt_compile" 2>out/conftest.err)
21500 cat out/conftest.err >&5
21501 echo "$as_me:21501: \$? = $ac_status" >&5
21502 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21504 # The compiler can only warn and ignore the option if not recognized
21505 # So say no if there are warnings
21506 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21507 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21508 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21509 lt_cv_prog_compiler_c_o_F77=yes
21514 # SGI C++ compiler will create directory out/ii_files/ for
21515 # template instantiation
21516 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21517 $rm out/* && rmdir out
21523 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21524 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21527 hard_links="nottested"
21528 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21529 # do not overwrite the value of need_locks provided by the user
21530 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21531 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21534 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21536 ln conftest.a conftest.b 2>&5 || hard_links=no
21537 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21538 { echo "$as_me:$LINENO: result: $hard_links" >&5
21539 echo "${ECHO_T}$hard_links" >&6; }
21540 if test "$hard_links" = no; then
21541 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21542 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21549 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21550 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21553 allow_undefined_flag_F77=
21554 enable_shared_with_static_runtimes_F77=no
21556 archive_expsym_cmds_F77=
21557 old_archive_From_new_cmds_F77=
21558 old_archive_from_expsyms_cmds_F77=
21559 export_dynamic_flag_spec_F77=
21560 whole_archive_flag_spec_F77=
21561 thread_safe_flag_spec_F77=
21562 hardcode_libdir_flag_spec_F77=
21563 hardcode_libdir_flag_spec_ld_F77=
21564 hardcode_libdir_separator_F77=
21565 hardcode_direct_F77=no
21566 hardcode_minus_L_F77=no
21567 hardcode_shlibpath_var_F77=unsupported
21568 link_all_deplibs_F77=unknown
21569 hardcode_automatic_F77=no
21571 module_expsym_cmds_F77=
21572 always_export_symbols_F77=no
21573 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21574 # include_expsyms should be a list of space-separated symbols to be *always*
21575 # included in the symbol list
21576 include_expsyms_F77=
21577 # exclude_expsyms can be an extended regexp of symbols to exclude
21578 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21579 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21580 # as well as any symbol that contains `d'.
21581 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21582 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21583 # platforms (ab)use it in PIC code, but their linkers get confused if
21584 # the symbol is explicitly referenced. Since portable code cannot
21585 # rely on this symbol name, it's probably fine to never include it in
21586 # preloaded symbol tables.
21587 extract_expsyms_cmds=
21588 # Just being paranoid about ensuring that cc_basename is set.
21589 for cc_temp in $compiler""; do
21591 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21592 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21597 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21600 cygwin* | mingw* | pw32*)
21601 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21602 # When not using gcc, we currently assume that we are using
21603 # Microsoft Visual C++.
21604 if test "$GCC" != yes; then
21609 # we just hope/assume this is gcc and not c89 (= MSVC++)
21618 if test "$with_gnu_ld" = yes; then
21619 # If archive_cmds runs LD, not CC, wlarc should be empty
21622 # Set some defaults for GNU ld with shared library support. These
21623 # are reset later if shared libraries are not supported. Putting them
21624 # here allows them to be overridden if necessary.
21625 runpath_var=LD_RUN_PATH
21626 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21627 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21628 # ancient GNU ld didn't support --whole-archive et. al.
21629 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21630 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21632 whole_archive_flag_spec_F77=
21634 supports_anon_versioning=no
21635 case `$LD -v 2>/dev/null` in
21636 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21637 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21638 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21639 *\ 2.11.*) ;; # other 2.11 versions
21640 *) supports_anon_versioning=yes ;;
21643 # See if GNU ld supports shared libraries.
21645 aix3* | aix4* | aix5*)
21646 # On AIX/PPC, the GNU linker is very broken
21647 if test "$host_cpu" != ia64; then
21651 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21652 *** to be unable to reliably create shared libraries on AIX.
21653 *** Therefore, libtool is disabling shared libraries support. If you
21654 *** really care for shared libraries, you may want to modify your PATH
21655 *** so that a non-GNU linker is found, and then restart.
21662 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)'
21663 hardcode_libdir_flag_spec_F77='-L$libdir'
21664 hardcode_minus_L_F77=yes
21666 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21667 # that the semantics of dynamic libraries on AmigaOS, at least up
21668 # to version 4, is to share data among multiple programs linked
21669 # with the same dynamic library. Since this doesn't match the
21670 # behavior of shared libraries on other platforms, we can't use
21676 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21677 allow_undefined_flag_F77=unsupported
21678 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21679 # support --undefined. This deserves some investigation. FIXME
21680 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21686 cygwin* | mingw* | pw32*)
21687 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21688 # as there is no search path for DLLs.
21689 hardcode_libdir_flag_spec_F77='-L$libdir'
21690 allow_undefined_flag_F77=unsupported
21691 always_export_symbols_F77=no
21692 enable_shared_with_static_runtimes_F77=yes
21693 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21695 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21696 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21697 # If the export-symbols file already is a .def file (1st line
21698 # is EXPORTS), use it as is; otherwise, prepend...
21699 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21700 cp $export_symbols $output_objdir/$soname.def;
21702 echo EXPORTS > $output_objdir/$soname.def;
21703 cat $export_symbols >> $output_objdir/$soname.def;
21705 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21712 hardcode_direct_F77=no
21713 hardcode_shlibpath_var_F77=no
21714 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21715 export_dynamic_flag_spec_F77='${wl}-E'
21716 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21717 # Instead, shared libraries are loaded at an image base (0x10000000 by
21718 # default) and relocated if they conflict, which is a slow very memory
21719 # consuming and fragmenting process. To avoid this, we pick a random,
21720 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21721 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21722 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'
21723 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'
21727 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21729 case $cc_basename,$host_cpu in
21730 pgcc*) # Portland Group C compiler
21731 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'
21732 tmp_addflag=' $pic_flag'
21734 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21735 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'
21736 tmp_addflag=' $pic_flag -Mnomain' ;;
21737 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21738 tmp_addflag=' -i_dynamic' ;;
21739 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21740 tmp_addflag=' -i_dynamic -nofor_main' ;;
21741 ifc* | ifort*) # Intel Fortran compiler
21742 tmp_addflag=' -nofor_main' ;;
21744 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21746 if test $supports_anon_versioning = yes; then
21747 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
21748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21749 $echo "local: *; };" >> $output_objdir/$libname.ver~
21750 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21758 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21759 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21762 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21763 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21768 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21772 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21773 *** create shared libraries on Solaris systems. Therefore, libtool
21774 *** is disabling shared libraries support. We urge you to upgrade GNU
21775 *** binutils to release 2.9.1 or newer. Another option is to modify
21776 *** your PATH or compiler configuration so that the native linker is
21777 *** used, and then restart.
21780 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21781 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21782 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21788 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21789 case `$LD -v 2>&1` in
21790 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21794 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21795 *** reliably create shared libraries on SCO systems. Therefore, libtool
21796 *** is disabling shared libraries support. We urge you to upgrade GNU
21797 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21798 *** your PATH or compiler configuration so that the native linker is
21799 *** used, and then restart.
21804 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21805 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21806 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21807 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21816 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21818 hardcode_direct_F77=yes
21819 hardcode_shlibpath_var_F77=no
21823 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21824 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21825 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21832 if test "$ld_shlibs_F77" = no; then
21834 hardcode_libdir_flag_spec_F77=
21835 export_dynamic_flag_spec_F77=
21836 whole_archive_flag_spec_F77=
21839 # PORTME fill in a description of your system's linker (not GNU ld)
21842 allow_undefined_flag_F77=unsupported
21843 always_export_symbols_F77=yes
21844 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'
21845 # Note: this linker hardcodes the directories in LIBPATH if there
21846 # are no directories specified by -L.
21847 hardcode_minus_L_F77=yes
21848 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21849 # Neither direct hardcoding nor static linking is supported with a
21851 hardcode_direct_F77=unsupported
21856 if test "$host_cpu" = ia64; then
21857 # On IA64, the linker does run time linking by default, so we don't
21858 # have to do anything special.
21859 aix_use_runtimelinking=no
21860 exp_sym_flag='-Bexport'
21863 # If we're using GNU nm, then we don't want the "-C" option.
21864 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21865 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21866 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'
21868 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'
21870 aix_use_runtimelinking=no
21872 # Test if we are trying to use run time linking or normal
21873 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21874 # need to do runtime linking.
21875 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
21876 for ld_flag in $LDFLAGS; do
21877 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21878 aix_use_runtimelinking=yes
21885 exp_sym_flag='-bexport'
21886 no_entry_flag='-bnoentry'
21889 # When large executables or shared objects are built, AIX ld can
21890 # have problems creating the table of contents. If linking a library
21891 # or program results in "error TOC overflow" add -mminimal-toc to
21892 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21893 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21895 archive_cmds_F77=''
21896 hardcode_direct_F77=yes
21897 hardcode_libdir_separator_F77=':'
21898 link_all_deplibs_F77=yes
21900 if test "$GCC" = yes; then
21901 case $host_os in aix4.[012]|aix4.[012].*)
21902 # We only want to do this on AIX 4.2 and lower, the check
21903 # below for broken collect2 doesn't work under 4.3+
21904 collect2name=`${CC} -print-prog-name=collect2`
21905 if test -f "$collect2name" && \
21906 strings "$collect2name" | grep resolve_lib_name >/dev/null
21908 # We have reworked collect2
21909 hardcode_direct_F77=yes
21911 # We have old collect2
21912 hardcode_direct_F77=unsupported
21913 # It fails to find uninstalled libraries when the uninstalled
21914 # path is not listed in the libpath. Setting hardcode_minus_L
21915 # to unsupported forces relinking
21916 hardcode_minus_L_F77=yes
21917 hardcode_libdir_flag_spec_F77='-L$libdir'
21918 hardcode_libdir_separator_F77=
21922 shared_flag='-shared'
21923 if test "$aix_use_runtimelinking" = yes; then
21924 shared_flag="$shared_flag "'${wl}-G'
21928 if test "$host_cpu" = ia64; then
21929 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21930 # chokes on -Wl,-G. The following line is correct:
21933 if test "$aix_use_runtimelinking" = yes; then
21934 shared_flag='${wl}-G'
21936 shared_flag='${wl}-bM:SRE'
21941 # It seems that -bexpall does not export symbols beginning with
21942 # underscore (_), so it is better to generate a list of symbols to export.
21943 always_export_symbols_F77=yes
21944 if test "$aix_use_runtimelinking" = yes; then
21945 # Warning - without using the other runtime loading flags (-brtl),
21946 # -berok will link without error, but may produce a broken library.
21947 allow_undefined_flag_F77='-berok'
21948 # Determine the default libpath from the value encoded in an empty executable.
21949 cat >conftest.$ac_ext <<_ACEOF
21954 rm -f conftest.$ac_objext conftest$ac_exeext
21955 if { (ac_try="$ac_link"
21956 case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_link") 2>conftest.er1
21963 grep -v '^ *+' conftest.er1 >conftest.err
21965 cat conftest.err >&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } && {
21968 test -z "$ac_f77_werror_flag" ||
21969 test ! -s conftest.err
21970 } && test -s conftest$ac_exeext &&
21971 $as_test_x conftest$ac_exeext; then
21973 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21975 # Check for a 64-bit object if we didn't find anything.
21976 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.$ac_ext >&5
21985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21986 conftest$ac_exeext conftest.$ac_ext
21987 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21989 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21990 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"
21992 if test "$host_cpu" = ia64; then
21993 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21994 allow_undefined_flag_F77="-z nodefs"
21995 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"
21997 # Determine the default libpath from the value encoded in an empty executable.
21998 cat >conftest.$ac_ext <<_ACEOF
22003 rm -f conftest.$ac_objext conftest$ac_exeext
22004 if { (ac_try="$ac_link"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_link") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_f77_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest$ac_exeext &&
22020 $as_test_x conftest$ac_exeext; then
22022 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22024 # Check for a 64-bit object if we didn't find anything.
22025 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.$ac_ext >&5
22034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22035 conftest$ac_exeext conftest.$ac_ext
22036 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22038 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22039 # Warning - without using the other run time loading flags,
22040 # -berok will link without error, but may produce a broken library.
22041 no_undefined_flag_F77=' ${wl}-bernotok'
22042 allow_undefined_flag_F77=' ${wl}-berok'
22043 # Exported symbols can be pulled into shared objects from archives
22044 whole_archive_flag_spec_F77='$convenience'
22045 archive_cmds_need_lc_F77=yes
22046 # This is similar to how AIX traditionally builds its shared libraries.
22047 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'
22053 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)'
22054 hardcode_libdir_flag_spec_F77='-L$libdir'
22055 hardcode_minus_L_F77=yes
22056 # see comment about different semantics on the GNU ld section
22061 export_dynamic_flag_spec_F77=-rdynamic
22064 cygwin* | mingw* | pw32*)
22065 # When not using gcc, we currently assume that we are using
22066 # Microsoft Visual C++.
22067 # hardcode_libdir_flag_spec is actually meaningless, as there is
22068 # no search path for DLLs.
22069 hardcode_libdir_flag_spec_F77=' '
22070 allow_undefined_flag_F77=unsupported
22071 # Tell ltmain to make .lib files, not .a files.
22073 # Tell ltmain to make .dll files, not .so files.
22075 # FIXME: Setting linknames here is a bad hack.
22076 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22077 # The linker will automatically build a .lib file if we build a DLL.
22078 old_archive_From_new_cmds_F77='true'
22079 # FIXME: Should let the user specify the lib program.
22080 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
22081 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22082 enable_shared_with_static_runtimes_F77=yes
22085 darwin* | rhapsody*)
22087 rhapsody* | darwin1.[012])
22088 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22091 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22092 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22094 case ${MACOSX_DEPLOYMENT_TARGET} in
22096 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22099 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22105 archive_cmds_need_lc_F77=no
22106 hardcode_direct_F77=no
22107 hardcode_automatic_F77=yes
22108 hardcode_shlibpath_var_F77=unsupported
22109 whole_archive_flag_spec_F77=''
22110 link_all_deplibs_F77=yes
22111 if test "$GCC" = yes ; then
22112 output_verbose_link_cmd='echo'
22113 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22114 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22115 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22116 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}'
22117 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}'
22119 case $cc_basename in
22121 output_verbose_link_cmd='echo'
22122 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22123 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22124 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22125 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22126 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}'
22136 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22137 hardcode_libdir_flag_spec_F77='-L$libdir'
22138 hardcode_shlibpath_var_F77=no
22145 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22146 # support. Future versions do this automatically, but an explicit c++rt0.o
22147 # does not break anything, and helps significantly (at the cost of a little
22150 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22151 hardcode_libdir_flag_spec_F77='-R$libdir'
22152 hardcode_direct_F77=yes
22153 hardcode_shlibpath_var_F77=no
22156 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22158 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22159 hardcode_direct_F77=yes
22160 hardcode_minus_L_F77=yes
22161 hardcode_shlibpath_var_F77=no
22164 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22165 freebsd* | kfreebsd*-gnu | dragonfly*)
22166 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22167 hardcode_libdir_flag_spec_F77='-R$libdir'
22168 hardcode_direct_F77=yes
22169 hardcode_shlibpath_var_F77=no
22173 if test "$GCC" = yes; then
22174 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'
22176 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'
22178 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22179 hardcode_libdir_separator_F77=:
22180 hardcode_direct_F77=yes
22182 # hardcode_minus_L: Not really in the search PATH,
22183 # but as the default location of the library.
22184 hardcode_minus_L_F77=yes
22185 export_dynamic_flag_spec_F77='${wl}-E'
22189 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22190 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22192 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22194 if test "$with_gnu_ld" = no; then
22195 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22196 hardcode_libdir_separator_F77=:
22198 hardcode_direct_F77=yes
22199 export_dynamic_flag_spec_F77='${wl}-E'
22201 # hardcode_minus_L: Not really in the search PATH,
22202 # but as the default location of the library.
22203 hardcode_minus_L_F77=yes
22208 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22211 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22214 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22217 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22223 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22226 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22229 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22233 if test "$with_gnu_ld" = no; then
22234 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22235 hardcode_libdir_separator_F77=:
22239 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22240 hardcode_direct_F77=no
22241 hardcode_shlibpath_var_F77=no
22244 hardcode_direct_F77=yes
22245 export_dynamic_flag_spec_F77='${wl}-E'
22247 # hardcode_minus_L: Not really in the search PATH,
22248 # but as the default location of the library.
22249 hardcode_minus_L_F77=yes
22255 irix5* | irix6* | nonstopux*)
22256 if test "$GCC" = yes; then
22257 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'
22259 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'
22260 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22262 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22263 hardcode_libdir_separator_F77=:
22264 link_all_deplibs_F77=yes
22268 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22269 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22271 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22273 hardcode_libdir_flag_spec_F77='-R$libdir'
22274 hardcode_direct_F77=yes
22275 hardcode_shlibpath_var_F77=no
22279 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22280 hardcode_direct_F77=yes
22281 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22282 hardcode_libdir_separator_F77=:
22283 hardcode_shlibpath_var_F77=no
22287 hardcode_direct_F77=yes
22288 hardcode_shlibpath_var_F77=no
22289 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22290 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22291 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22292 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22293 export_dynamic_flag_spec_F77='${wl}-E'
22296 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22297 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22298 hardcode_libdir_flag_spec_F77='-R$libdir'
22301 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22302 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22309 hardcode_libdir_flag_spec_F77='-L$libdir'
22310 hardcode_minus_L_F77=yes
22311 allow_undefined_flag_F77=unsupported
22312 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'
22313 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22317 if test "$GCC" = yes; then
22318 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22319 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'
22321 allow_undefined_flag_F77=' -expect_unresolved \*'
22322 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'
22324 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22325 hardcode_libdir_separator_F77=:
22328 osf4* | osf5*) # as osf3* with the addition of -msym flag
22329 if test "$GCC" = yes; then
22330 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22331 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'
22332 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22334 allow_undefined_flag_F77=' -expect_unresolved \*'
22335 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'
22336 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~
22337 $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'
22339 # Both c and cxx compiler support -rpath directly
22340 hardcode_libdir_flag_spec_F77='-rpath $libdir'
22342 hardcode_libdir_separator_F77=:
22346 no_undefined_flag_F77=' -z text'
22347 if test "$GCC" = yes; then
22349 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22350 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22351 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22354 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22355 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22356 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22358 hardcode_libdir_flag_spec_F77='-R$libdir'
22359 hardcode_shlibpath_var_F77=no
22361 solaris2.[0-5] | solaris2.[0-5].*) ;;
22363 # The compiler driver will combine linker options so we
22364 # cannot just pass the convience library names through
22365 # without $wl, iff we do not link with $LD.
22366 # Luckily, gcc supports the same syntax we need for Sun Studio.
22367 # Supported since Solaris 2.6 (maybe 2.5.1?)
22370 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
22372 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
22375 link_all_deplibs_F77=yes
22379 if test "x$host_vendor" = xsequent; then
22380 # Use $CC to link under sequent, because it throws in some extra .o
22381 # files that make .init and .fini sections work.
22382 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22384 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22386 hardcode_libdir_flag_spec_F77='-L$libdir'
22387 hardcode_direct_F77=yes
22388 hardcode_minus_L_F77=yes
22389 hardcode_shlibpath_var_F77=no
22393 case $host_vendor in
22395 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22396 hardcode_direct_F77=yes # is this really true???
22399 ## LD is ld it makes a PLAMLIB
22400 ## CC just makes a GrossModule.
22401 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22402 reload_cmds_F77='$CC -r -o $output$reload_objs'
22403 hardcode_direct_F77=no
22406 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22407 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22410 runpath_var='LD_RUN_PATH'
22411 hardcode_shlibpath_var_F77=no
22415 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22416 hardcode_shlibpath_var_F77=no
22417 export_dynamic_flag_spec_F77='-Bexport'
22421 if test -d /usr/nec; then
22422 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22423 hardcode_shlibpath_var_F77=no
22424 runpath_var=LD_RUN_PATH
22425 hardcode_runpath_var=yes
22430 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
22431 no_undefined_flag_F77='${wl}-z,text'
22432 archive_cmds_need_lc_F77=no
22433 hardcode_shlibpath_var_F77=no
22434 runpath_var='LD_RUN_PATH'
22436 if test "$GCC" = yes; then
22437 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22438 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22440 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22441 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22445 sysv5* | sco3.2v5* | sco5v6*)
22446 # Note: We can NOT use -z defs as we might desire, because we do not
22447 # link with -lc, and that would cause any symbols used from libc to
22448 # always be unresolved, which means just about no library would
22449 # ever link correctly. If we're not using GNU ld we use -z text
22450 # though, which does catch some bad symbols but isn't as heavy-handed
22452 no_undefined_flag_F77='${wl}-z,text'
22453 allow_undefined_flag_F77='${wl}-z,nodefs'
22454 archive_cmds_need_lc_F77=no
22455 hardcode_shlibpath_var_F77=no
22456 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22457 hardcode_libdir_separator_F77=':'
22458 link_all_deplibs_F77=yes
22459 export_dynamic_flag_spec_F77='${wl}-Bexport'
22460 runpath_var='LD_RUN_PATH'
22462 if test "$GCC" = yes; then
22463 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22464 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22466 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22467 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22472 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22473 hardcode_libdir_flag_spec_F77='-L$libdir'
22474 hardcode_shlibpath_var_F77=no
22483 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22484 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22485 test "$ld_shlibs_F77" = no && can_build_shared=no
22488 # Do we need to explicitly link libc?
22490 case "x$archive_cmds_need_lc_F77" in
22492 # Assume -lc should be added
22493 archive_cmds_need_lc_F77=yes
22495 if test "$enable_shared" = yes && test "$GCC" = yes; then
22496 case $archive_cmds_F77 in
22498 # FIXME: we may have to deal with multi-command sequences.
22501 # Test whether the compiler implicitly links with -lc since on some
22502 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22503 # to ld, don't add -lc before -lgcc.
22504 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22505 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22507 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } 2>conftest.err; then
22516 libobjs=conftest.$ac_objext
22518 wl=$lt_prog_compiler_wl_F77
22519 pic_flag=$lt_prog_compiler_pic_F77
22525 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22526 allow_undefined_flag_F77=
22527 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22528 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }
22533 archive_cmds_need_lc_F77=no
22535 archive_cmds_need_lc_F77=yes
22537 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22539 cat conftest.err 1>&5
22542 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22543 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22550 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22551 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22552 library_names_spec=
22553 libname_spec='lib$name'
22557 postuninstall_cmds=
22561 shlibpath_overrides_runpath=unknown
22563 dynamic_linker="$host_os ld.so"
22564 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22565 if test "$GCC" = yes; then
22566 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22567 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22568 # if the path contains ";" then we assume it to be the separator
22569 # otherwise default to the standard path separator (i.e. ":") - it is
22570 # assumed that no part of a normal pathname contains ";" but that should
22571 # okay in the real world where ";" in dirpaths is itself problematic.
22572 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22574 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22577 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22579 need_lib_prefix=unknown
22580 hardcode_into_libs=no
22582 # when you set need_version to no, make sure it does not cause -set_version
22583 # flags to be left without arguments
22584 need_version=unknown
22589 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22590 shlibpath_var=LIBPATH
22592 # AIX 3 has no versioning support, so we append a major version to the name.
22593 soname_spec='${libname}${release}${shared_ext}$major'
22600 hardcode_into_libs=yes
22601 if test "$host_cpu" = ia64; then
22602 # AIX 5 supports IA64
22603 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22604 shlibpath_var=LD_LIBRARY_PATH
22606 # With GCC up to 2.95.x, collect2 would create an import file
22607 # for dependence libraries. The import file would start with
22608 # the line `#! .'. This would cause the generated library to
22609 # depend on `.', always an invalid library. This was fixed in
22610 # development snapshots of GCC prior to 3.0.
22612 aix4 | aix4.[01] | aix4.[01].*)
22613 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22615 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22618 can_build_shared=no
22622 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22623 # soname into executable. Probably we can add versioning support to
22624 # collect2, so additional links can be useful in future.
22625 if test "$aix_use_runtimelinking" = yes; then
22626 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22627 # instead of lib<name>.a to let people know that these are not
22628 # typical AIX shared libraries.
22629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22631 # We preserve .a as extension for shared libraries through AIX4.2
22632 # and later when we are not doing run time linking.
22633 library_names_spec='${libname}${release}.a $libname.a'
22634 soname_spec='${libname}${release}${shared_ext}$major'
22636 shlibpath_var=LIBPATH
22641 library_names_spec='$libname.ixlibrary $libname.a'
22642 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22643 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'
22647 library_names_spec='${libname}${shared_ext}'
22648 dynamic_linker="$host_os ld.so"
22649 shlibpath_var=LIBRARY_PATH
22655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22656 soname_spec='${libname}${release}${shared_ext}$major'
22657 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22658 shlibpath_var=LD_LIBRARY_PATH
22659 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22660 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22661 # the default ld.so.conf also contains /usr/contrib/lib and
22662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22663 # libtool to hard-code these into programs
22666 cygwin* | mingw* | pw32*)
22667 version_type=windows
22672 case $GCC,$host_os in
22673 yes,cygwin* | yes,mingw* | yes,pw32*)
22674 library_names_spec='$libname.dll.a'
22675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22676 postinstall_cmds='base_file=`basename \${file}`~
22677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22678 dldir=$destdir/`dirname \$dlpath`~
22679 test -d \$dldir || mkdir -p \$dldir~
22680 $install_prog $dir/$dlname \$dldir/$dlname~
22681 chmod a+x \$dldir/$dlname'
22682 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22683 dlpath=$dir/\$dldll~
22685 shlibpath_overrides_runpath=yes
22689 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22690 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22691 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22694 # MinGW DLLs use traditional 'lib' prefix
22695 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22696 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22697 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22698 # It is most probably a Windows format PATH printed by
22699 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22700 # path with ; separators, and with drive letters. We can handle the
22701 # drive letters (cygwin fileutils understands them), so leave them,
22702 # especially as we might pass files found there to a mingw objdump,
22703 # which wouldn't understand a cygwinified path. Ahh.
22704 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22706 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22710 # pw32 DLLs use 'pw' prefix rather than 'lib'
22711 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22717 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22720 dynamic_linker='Win32 ld.exe'
22721 # FIXME: first we should search . and the directory the executable is in
22725 darwin* | rhapsody*)
22726 dynamic_linker="$host_os dyld"
22727 version_type=darwin
22730 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22731 soname_spec='${libname}${release}${major}$shared_ext'
22732 shlibpath_overrides_runpath=yes
22733 shlibpath_var=DYLD_LIBRARY_PATH
22734 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22735 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22736 if test "$GCC" = yes; then
22737 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
22739 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22741 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22749 soname_spec='${libname}${release}${shared_ext}$major'
22750 shlibpath_var=LD_LIBRARY_PATH
22761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22762 soname_spec='${libname}${release}${shared_ext}$major'
22763 shlibpath_var=LD_LIBRARY_PATH
22764 shlibpath_overrides_runpath=no
22765 hardcode_into_libs=yes
22766 dynamic_linker='GNU ld.so'
22769 freebsd* | dragonfly*)
22770 # DragonFly does not have aout. When/if they implement a new
22771 # versioning mechanism, adjust this.
22772 if test -x /usr/bin/objformat; then
22773 objformat=`/usr/bin/objformat`
22776 freebsd[123]*) objformat=aout ;;
22777 *) objformat=elf ;;
22780 version_type=freebsd-$objformat
22781 case $version_type in
22783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22788 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22792 shlibpath_var=LD_LIBRARY_PATH
22795 shlibpath_overrides_runpath=yes
22797 freebsd3.[01]* | freebsdelf3.[01]*)
22798 shlibpath_overrides_runpath=yes
22799 hardcode_into_libs=yes
22801 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22802 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22803 shlibpath_overrides_runpath=no
22804 hardcode_into_libs=yes
22806 freebsd*) # from 4.6 on
22807 shlibpath_overrides_runpath=yes
22808 hardcode_into_libs=yes
22817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22818 soname_spec='${libname}${release}${shared_ext}$major'
22819 shlibpath_var=LD_LIBRARY_PATH
22820 hardcode_into_libs=yes
22823 hpux9* | hpux10* | hpux11*)
22824 # Give a soname corresponding to the major version so that dld.sl refuses to
22825 # link against other versions.
22832 hardcode_into_libs=yes
22833 dynamic_linker="$host_os dld.so"
22834 shlibpath_var=LD_LIBRARY_PATH
22835 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22837 soname_spec='${libname}${release}${shared_ext}$major'
22838 if test "X$HPUX_IA64_MODE" = X32; then
22839 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22841 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22843 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22847 hardcode_into_libs=yes
22848 dynamic_linker="$host_os dld.sl"
22849 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22850 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22852 soname_spec='${libname}${release}${shared_ext}$major'
22853 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22854 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22858 dynamic_linker="$host_os dld.sl"
22859 shlibpath_var=SHLIB_PATH
22860 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22862 soname_spec='${libname}${release}${shared_ext}$major'
22865 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22866 postinstall_cmds='chmod 555 $lib'
22873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22874 soname_spec='${libname}${release}${shared_ext}$major'
22875 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22876 shlibpath_var=LD_LIBRARY_PATH
22877 shlibpath_overrides_runpath=no
22878 hardcode_into_libs=yes
22881 irix5* | irix6* | nonstopux*)
22883 nonstopux*) version_type=nonstopux ;;
22885 if test "$lt_cv_prog_gnu_ld" = yes; then
22893 soname_spec='${libname}${release}${shared_ext}$major'
22894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22896 irix5* | nonstopux*)
22897 libsuff= shlibsuff=
22900 case $LD in # libtool.m4 will add one of these switches to LD
22901 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22902 libsuff= shlibsuff= libmagic=32-bit;;
22903 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22904 libsuff=32 shlibsuff=N32 libmagic=N32;;
22905 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22906 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22907 *) libsuff= shlibsuff= libmagic=never-match;;
22911 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22912 shlibpath_overrides_runpath=no
22913 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22914 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22915 hardcode_into_libs=yes
22918 # No shared lib support for Linux oldld, aout, or coff.
22919 linux*oldld* | linux*aout* | linux*coff*)
22923 # This must be Linux ELF.
22928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22929 soname_spec='${libname}${release}${shared_ext}$major'
22930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22931 shlibpath_var=LD_LIBRARY_PATH
22932 shlibpath_overrides_runpath=no
22933 # This implies no fast_install, which is unacceptable.
22934 # Some rework will be needed to allow for fast_install
22935 # before this can be enabled.
22936 hardcode_into_libs=yes
22938 # find out which ABI we are using
22940 case "$host_cpu" in
22941 x86_64*|s390x*|powerpc64*)
22942 echo '#line 22942 "configure"' > conftest.$ac_ext
22943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22944 (eval $ac_compile) 2>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); }; then
22948 case `/usr/bin/file conftest.$ac_objext` in
22951 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22959 # Append ld.so.conf contents to the search path
22960 if test -f /etc/ld.so.conf; then
22961 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
22962 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22965 # We used to test for /lib/ld.so.1 and disable shared libraries on
22966 # powerpc, because MkLinux only supported shared libraries with the
22967 # GNU dynamic linker. Since this was broken with cross compilers,
22968 # most powerpc-linux boxes support dynamic linking these days and
22969 # people can always --disable-shared, the test was removed, and we
22970 # assume the GNU/Linux dynamic linker is in use.
22971 dynamic_linker='GNU/Linux ld.so'
22978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22979 soname_spec='${libname}${release}${shared_ext}$major'
22980 shlibpath_var=LD_LIBRARY_PATH
22981 shlibpath_overrides_runpath=no
22982 hardcode_into_libs=yes
22983 dynamic_linker='GNU ld.so'
22990 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22992 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22993 dynamic_linker='NetBSD (a.out) ld.so'
22995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22996 soname_spec='${libname}${release}${shared_ext}$major'
22997 dynamic_linker='NetBSD ld.elf_so'
22999 shlibpath_var=LD_LIBRARY_PATH
23000 shlibpath_overrides_runpath=yes
23001 hardcode_into_libs=yes
23006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23007 shlibpath_var=LD_LIBRARY_PATH
23008 shlibpath_overrides_runpath=yes
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 shlibpath_var=LD_LIBRARY_PATH
23018 shlibpath_overrides_runpath=yes
23023 sys_lib_dlsearch_path_spec="/usr/lib"
23025 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23027 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23028 *) need_version=no ;;
23030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23031 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23032 shlibpath_var=LD_LIBRARY_PATH
23033 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23035 openbsd2.[89] | openbsd2.[89].*)
23036 shlibpath_overrides_runpath=no
23039 shlibpath_overrides_runpath=yes
23043 shlibpath_overrides_runpath=yes
23048 libname_spec='$name'
23051 library_names_spec='$libname${shared_ext} $libname.a'
23052 dynamic_linker='OS/2 ld.exe'
23053 shlibpath_var=LIBPATH
23056 osf3* | osf4* | osf5*)
23060 soname_spec='${libname}${release}${shared_ext}$major'
23061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23062 shlibpath_var=LD_LIBRARY_PATH
23063 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23064 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23072 soname_spec='${libname}${release}${shared_ext}$major'
23073 shlibpath_var=LD_LIBRARY_PATH
23074 shlibpath_overrides_runpath=yes
23075 hardcode_into_libs=yes
23076 # ldd complains unless libraries are executable
23077 postinstall_cmds='chmod +x $lib'
23082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23083 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23084 shlibpath_var=LD_LIBRARY_PATH
23085 shlibpath_overrides_runpath=yes
23086 if test "$with_gnu_ld" = yes; then
23094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23095 soname_spec='${libname}${release}${shared_ext}$major'
23096 shlibpath_var=LD_LIBRARY_PATH
23097 case $host_vendor in
23099 shlibpath_overrides_runpath=no
23101 export_dynamic_flag_spec='${wl}-Blargedynsym'
23102 runpath_var=LD_RUN_PATH
23110 shlibpath_overrides_runpath=no
23111 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23117 if test -d /usr/nec ;then
23119 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23120 soname_spec='$libname${shared_ext}.$major'
23121 shlibpath_var=LD_LIBRARY_PATH
23125 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23126 version_type=freebsd-elf
23129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23130 soname_spec='${libname}${release}${shared_ext}$major'
23131 shlibpath_var=LD_LIBRARY_PATH
23132 hardcode_into_libs=yes
23133 if test "$with_gnu_ld" = yes; then
23134 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23135 shlibpath_overrides_runpath=no
23137 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23138 shlibpath_overrides_runpath=yes
23141 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23145 sys_lib_dlsearch_path_spec='/usr/lib'
23150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23151 soname_spec='${libname}${release}${shared_ext}$major'
23152 shlibpath_var=LD_LIBRARY_PATH
23159 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23160 echo "${ECHO_T}$dynamic_linker" >&6; }
23161 test "$dynamic_linker" = no && can_build_shared=no
23163 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23164 if test "$GCC" = yes; then
23165 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23168 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23170 hardcode_action_F77=
23171 if test -n "$hardcode_libdir_flag_spec_F77" || \
23172 test -n "$runpath_var_F77" || \
23173 test "X$hardcode_automatic_F77" = "Xyes" ; then
23175 # We can hardcode non-existant directories.
23176 if test "$hardcode_direct_F77" != no &&
23177 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23178 # have to relink, otherwise we might link with an installed library
23179 # when we should be linking with a yet-to-be-installed one
23180 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23181 test "$hardcode_minus_L_F77" != no; then
23182 # Linking always hardcodes the temporary library directory.
23183 hardcode_action_F77=relink
23185 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23186 hardcode_action_F77=immediate
23189 # We cannot hardcode anything, or else we can only hardcode existing
23191 hardcode_action_F77=unsupported
23193 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23194 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23196 if test "$hardcode_action_F77" = relink; then
23197 # Fast installation is not supported
23198 enable_fast_install=no
23199 elif test "$shlibpath_overrides_runpath" = yes ||
23200 test "$enable_shared" = no; then
23201 # Fast installation is not necessary
23202 enable_fast_install=needless
23206 # The else clause should only fire when bootstrapping the
23207 # libtool distribution, otherwise you forgot to ship ltmain.sh
23208 # with your package, and you will get complaints that there are
23209 # no rules to generate ltmain.sh.
23210 if test -f "$ltmain"; then
23211 # See if we are running on zsh, and set the options which allow our commands through
23212 # without removal of \ escapes.
23213 if test -n "${ZSH_VERSION+set}" ; then
23214 setopt NO_GLOB_SUBST
23216 # Now quote all the things that may contain metacharacters while being
23217 # careful not to overquote the AC_SUBSTed values. We take copies of the
23218 # variables and quote the copies for generation of the libtool script.
23219 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23221 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23222 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23223 deplibs_check_method reload_flag reload_cmds need_locks \
23224 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23225 lt_cv_sys_global_symbol_to_c_name_address \
23226 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23227 old_postinstall_cmds old_postuninstall_cmds \
23231 lt_prog_compiler_wl_F77 \
23232 lt_prog_compiler_pic_F77 \
23233 lt_prog_compiler_static_F77 \
23234 lt_prog_compiler_no_builtin_flag_F77 \
23235 export_dynamic_flag_spec_F77 \
23236 thread_safe_flag_spec_F77 \
23237 whole_archive_flag_spec_F77 \
23238 enable_shared_with_static_runtimes_F77 \
23239 old_archive_cmds_F77 \
23240 old_archive_from_new_cmds_F77 \
23241 predep_objects_F77 \
23242 postdep_objects_F77 \
23245 compiler_lib_search_path_F77 \
23247 archive_expsym_cmds_F77 \
23248 postinstall_cmds_F77 \
23249 postuninstall_cmds_F77 \
23250 old_archive_from_expsyms_cmds_F77 \
23251 allow_undefined_flag_F77 \
23252 no_undefined_flag_F77 \
23253 export_symbols_cmds_F77 \
23254 hardcode_libdir_flag_spec_F77 \
23255 hardcode_libdir_flag_spec_ld_F77 \
23256 hardcode_libdir_separator_F77 \
23257 hardcode_automatic_F77 \
23259 module_expsym_cmds_F77 \
23260 lt_cv_prog_compiler_c_o_F77 \
23261 exclude_expsyms_F77 \
23262 include_expsyms_F77; do
23265 old_archive_cmds_F77 | \
23266 old_archive_from_new_cmds_F77 | \
23267 archive_cmds_F77 | \
23268 archive_expsym_cmds_F77 | \
23269 module_cmds_F77 | \
23270 module_expsym_cmds_F77 | \
23271 old_archive_from_expsyms_cmds_F77 | \
23272 export_symbols_cmds_F77 | \
23273 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23274 postinstall_cmds | postuninstall_cmds | \
23275 old_postinstall_cmds | old_postuninstall_cmds | \
23276 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23277 # Double-quote double-evaled strings.
23278 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23281 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23287 *'\$0 --fallback-echo"')
23288 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23294 cat <<__EOF__ >> "$cfgfile"
23295 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23297 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23299 # Shell to use when invoking shell scripts.
23302 # Whether or not to build shared libraries.
23303 build_libtool_libs=$enable_shared
23305 # Whether or not to build static libraries.
23306 build_old_libs=$enable_static
23308 # Whether or not to add -lc for building shared libraries.
23309 build_libtool_need_lc=$archive_cmds_need_lc_F77
23311 # Whether or not to disallow shared libs when runtime libs are static
23312 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23314 # Whether or not to optimize for fast installation.
23315 fast_install=$enable_fast_install
23318 host_alias=$host_alias
23322 # The build system.
23323 build_alias=$build_alias
23327 # An echo program that does not interpret backslashes.
23332 AR_FLAGS=$lt_AR_FLAGS
23337 # LTCC compiler flags.
23338 LTCFLAGS=$lt_LTCFLAGS
23340 # A language-specific compiler.
23341 CC=$lt_compiler_F77
23343 # Is the compiler the GNU C compiler?
23349 # The linker used to build libraries.
23352 # Whether we need hard or soft links.
23355 # A BSD-compatible nm program.
23358 # A symbol stripping program
23361 # Used to examine libraries when file_magic_cmd begins "file"
23362 MAGIC_CMD=$MAGIC_CMD
23364 # Used on cygwin: DLL creation program.
23367 # Used on cygwin: object dumper.
23370 # Used on cygwin: assembler.
23373 # The name of the directory that contains temporary libtool files.
23376 # How to create reloadable object files.
23377 reload_flag=$lt_reload_flag
23378 reload_cmds=$lt_reload_cmds
23380 # How to pass a linker flag through the compiler.
23381 wl=$lt_lt_prog_compiler_wl_F77
23383 # Object file suffix (normally "o").
23384 objext="$ac_objext"
23386 # Old archive suffix (normally "a").
23389 # Shared library suffix (normally ".so").
23390 shrext_cmds='$shrext_cmds'
23392 # Executable file suffix (normally "").
23395 # Additional compiler flags for building library objects.
23396 pic_flag=$lt_lt_prog_compiler_pic_F77
23399 # What is the maximum length of a command?
23400 max_cmd_len=$lt_cv_sys_max_cmd_len
23402 # Does compiler simultaneously support -c and -o options?
23403 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23405 # Must we lock files when doing compilation?
23406 need_locks=$lt_need_locks
23408 # Do we need the lib prefix for modules?
23409 need_lib_prefix=$need_lib_prefix
23411 # Do we need a version for libraries?
23412 need_version=$need_version
23414 # Whether dlopen is supported.
23415 dlopen_support=$enable_dlopen
23417 # Whether dlopen of programs is supported.
23418 dlopen_self=$enable_dlopen_self
23420 # Whether dlopen of statically linked programs is supported.
23421 dlopen_self_static=$enable_dlopen_self_static
23423 # Compiler flag to prevent dynamic linking.
23424 link_static_flag=$lt_lt_prog_compiler_static_F77
23426 # Compiler flag to turn off builtin functions.
23427 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23429 # Compiler flag to allow reflexive dlopens.
23430 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23432 # Compiler flag to generate shared objects directly from archives.
23433 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23435 # Compiler flag to generate thread-safe objects.
23436 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23438 # Library versioning type.
23439 version_type=$version_type
23441 # Format of library name prefix.
23442 libname_spec=$lt_libname_spec
23444 # List of archive names. First name is the real one, the rest are links.
23445 # The last name is the one that the linker finds with -lNAME.
23446 library_names_spec=$lt_library_names_spec
23448 # The coded name of the library, if different from the real name.
23449 soname_spec=$lt_soname_spec
23451 # Commands used to build and install an old-style archive.
23453 old_archive_cmds=$lt_old_archive_cmds_F77
23454 old_postinstall_cmds=$lt_old_postinstall_cmds
23455 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23457 # Create an old-style archive from a shared archive.
23458 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23460 # Create a temporary old-style archive to link instead of a shared archive.
23461 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23463 # Commands used to build and install a shared archive.
23464 archive_cmds=$lt_archive_cmds_F77
23465 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23466 postinstall_cmds=$lt_postinstall_cmds
23467 postuninstall_cmds=$lt_postuninstall_cmds
23469 # Commands used to build a loadable module (assumed same as above if empty)
23470 module_cmds=$lt_module_cmds_F77
23471 module_expsym_cmds=$lt_module_expsym_cmds_F77
23473 # Commands to strip libraries.
23474 old_striplib=$lt_old_striplib
23475 striplib=$lt_striplib
23477 # Dependencies to place before the objects being linked to create a
23479 predep_objects=$lt_predep_objects_F77
23481 # Dependencies to place after the objects being linked to create a
23483 postdep_objects=$lt_postdep_objects_F77
23485 # Dependencies to place before the objects being linked to create a
23487 predeps=$lt_predeps_F77
23489 # Dependencies to place after the objects being linked to create a
23491 postdeps=$lt_postdeps_F77
23493 # The library search path used internally by the compiler when linking
23494 # a shared library.
23495 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23497 # Method to check whether dependent libraries are shared objects.
23498 deplibs_check_method=$lt_deplibs_check_method
23500 # Command to use when deplibs_check_method == file_magic.
23501 file_magic_cmd=$lt_file_magic_cmd
23503 # Flag that allows shared libraries with undefined symbols to be built.
23504 allow_undefined_flag=$lt_allow_undefined_flag_F77
23506 # Flag that forces no undefined symbols.
23507 no_undefined_flag=$lt_no_undefined_flag_F77
23509 # Commands used to finish a libtool library installation in a directory.
23510 finish_cmds=$lt_finish_cmds
23512 # Same as above, but a single script fragment to be evaled but not shown.
23513 finish_eval=$lt_finish_eval
23515 # Take the output of nm and produce a listing of raw symbols and C names.
23516 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23518 # Transform the output of nm in a proper C declaration
23519 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23521 # Transform the output of nm in a C name address pair
23522 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23524 # This is the shared library runtime path variable.
23525 runpath_var=$runpath_var
23527 # This is the shared library path variable.
23528 shlibpath_var=$shlibpath_var
23530 # Is shlibpath searched before the hard-coded library search path?
23531 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23533 # How to hardcode a shared library path into an executable.
23534 hardcode_action=$hardcode_action_F77
23536 # Whether we should hardcode library paths into libraries.
23537 hardcode_into_libs=$hardcode_into_libs
23539 # Flag to hardcode \$libdir into a binary during linking.
23540 # This must work even if \$libdir does not exist.
23541 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23543 # If ld is used when linking, flag to hardcode \$libdir into
23544 # a binary during linking. This must work even if \$libdir does
23546 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23548 # Whether we need a single -rpath flag with a separated argument.
23549 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23551 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23552 # resulting binary.
23553 hardcode_direct=$hardcode_direct_F77
23555 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23556 # resulting binary.
23557 hardcode_minus_L=$hardcode_minus_L_F77
23559 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23560 # the resulting binary.
23561 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23563 # Set to yes if building a shared library automatically hardcodes DIR into the library
23564 # and all subsequent libraries and executables linked against it.
23565 hardcode_automatic=$hardcode_automatic_F77
23567 # Variables whose values should be saved in libtool wrapper scripts and
23568 # restored at relink time.
23569 variables_saved_for_relink="$variables_saved_for_relink"
23571 # Whether libtool must link a program against all its dependency libraries.
23572 link_all_deplibs=$link_all_deplibs_F77
23574 # Compile-time system search path for libraries
23575 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23577 # Run-time system search path for libraries
23578 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23580 # Fix the shell variable \$srcfile for the compiler.
23581 fix_srcfile_path="$fix_srcfile_path_F77"
23583 # Set to yes if exported symbols are required.
23584 always_export_symbols=$always_export_symbols_F77
23586 # The commands to list exported symbols.
23587 export_symbols_cmds=$lt_export_symbols_cmds_F77
23589 # The commands to extract the exported symbol list from a shared archive.
23590 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23592 # Symbols that should not be listed in the preloaded symbols.
23593 exclude_expsyms=$lt_exclude_expsyms_F77
23595 # Symbols that must always be exported.
23596 include_expsyms=$lt_include_expsyms_F77
23598 # ### END LIBTOOL TAG CONFIG: $tagname
23604 # If there is no Makefile yet, we rely on a make rule to execute
23605 # `config.status --recheck' to rerun these tests and create the
23606 # libtool script then.
23607 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23608 if test -f "$ltmain_in"; then
23609 test -f Makefile && make "$ltmain"
23615 ac_cpp='$CPP $CPPFLAGS'
23616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23631 # Source file extension for Java test sources.
23634 # Object file extension for compiled Java test sources.
23638 # Code to be used in simple compile tests
23639 lt_simple_compile_test_code="class foo {}\n"
23641 # Code to be used in simple link tests
23642 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
23644 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23646 # If no C compiler was specified, use CC.
23649 # If no C compiler flags were specified, use CFLAGS.
23650 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23652 # Allow CC to be a program name with arguments.
23656 # save warnings/boilerplate of simple test code
23657 ac_outfile=conftest.$ac_objext
23658 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
23659 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23660 _lt_compiler_boilerplate=`cat conftest.err`
23663 ac_outfile=conftest.$ac_objext
23664 printf "$lt_simple_link_test_code" >conftest.$ac_ext
23665 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23666 _lt_linker_boilerplate=`cat conftest.err`
23670 # Allow CC to be a program name with arguments.
23675 for cc_temp in $compiler""; do
23677 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23678 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23683 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23686 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23687 archive_cmds_need_lc_GCJ=no
23689 old_archive_cmds_GCJ=$old_archive_cmds
23692 lt_prog_compiler_no_builtin_flag_GCJ=
23694 if test "$GCC" = yes; then
23695 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
23698 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23699 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23700 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 lt_cv_prog_compiler_rtti_exceptions=no
23704 ac_outfile=conftest.$ac_objext
23705 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23706 lt_compiler_flag="-fno-rtti -fno-exceptions"
23707 # Insert the option either (1) after the last *FLAGS variable, or
23708 # (2) before a word containing "conftest.", or (3) at the end.
23709 # Note that $ac_compile itself does not contain backslashes and begins
23710 # with a dollar sign (not a hyphen), so the echo should work correctly.
23711 # The option is referenced via a variable to avoid confusing sed.
23712 lt_compile=`echo "$ac_compile" | $SED \
23713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23715 -e 's:$: $lt_compiler_flag:'`
23716 (eval echo "\"\$as_me:23716: $lt_compile\"" >&5)
23717 (eval "$lt_compile" 2>conftest.err)
23719 cat conftest.err >&5
23720 echo "$as_me:23720: \$? = $ac_status" >&5
23721 if (exit $ac_status) && test -s "$ac_outfile"; then
23722 # The compiler can only warn and ignore the option if not recognized
23723 # So say no if there are warnings other than the usual output.
23724 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23725 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23726 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23727 lt_cv_prog_compiler_rtti_exceptions=yes
23733 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23734 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23736 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23737 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23744 lt_prog_compiler_wl_GCJ=
23745 lt_prog_compiler_pic_GCJ=
23746 lt_prog_compiler_static_GCJ=
23748 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23749 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23751 if test "$GCC" = yes; then
23752 lt_prog_compiler_wl_GCJ='-Wl,'
23753 lt_prog_compiler_static_GCJ='-static'
23757 # All AIX code is PIC.
23758 if test "$host_cpu" = ia64; then
23759 # AIX 5 now supports IA64 processor
23760 lt_prog_compiler_static_GCJ='-Bstatic'
23765 # FIXME: we need at least 68020 code to build shared libraries, but
23766 # adding the `-m68020' flag to GCC prevents building anything better,
23768 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23771 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23772 # PIC is the default for these OSes.
23775 mingw* | pw32* | os2*)
23776 # This hack is so that the source file can tell whether it is being
23777 # built for inclusion in a dll (and should export symbols for example).
23778 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23781 darwin* | rhapsody*)
23782 # PIC is the default on this platform
23783 # Common symbols not allowed in MH_DYLIB files
23784 lt_prog_compiler_pic_GCJ='-fno-common'
23788 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23789 # Instead, we relocate shared libraries at runtime.
23793 # Just because we use GCC doesn't mean we suddenly get shared libraries
23794 # on systems that don't support them.
23795 lt_prog_compiler_can_build_shared_GCJ=no
23800 if test -d /usr/nec; then
23801 lt_prog_compiler_pic_GCJ=-Kconform_pic
23806 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23807 # not for PA HP-UX.
23813 lt_prog_compiler_pic_GCJ='-fPIC'
23819 lt_prog_compiler_pic_GCJ='-fPIC'
23823 # PORTME Check for flag to pass linker flags through the system compiler.
23826 lt_prog_compiler_wl_GCJ='-Wl,'
23827 if test "$host_cpu" = ia64; then
23828 # AIX 5 now supports IA64 processor
23829 lt_prog_compiler_static_GCJ='-Bstatic'
23831 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
23835 # PIC is the default on this platform
23836 # Common symbols not allowed in MH_DYLIB files
23837 case $cc_basename in
23839 lt_prog_compiler_pic_GCJ='-qnocommon'
23840 lt_prog_compiler_wl_GCJ='-Wl,'
23845 mingw* | pw32* | os2*)
23846 # This hack is so that the source file can tell whether it is being
23847 # built for inclusion in a dll (and should export symbols for example).
23848 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23851 hpux9* | hpux10* | hpux11*)
23852 lt_prog_compiler_wl_GCJ='-Wl,'
23853 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23854 # not for PA HP-UX.
23860 lt_prog_compiler_pic_GCJ='+Z'
23863 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23864 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
23867 irix5* | irix6* | nonstopux*)
23868 lt_prog_compiler_wl_GCJ='-Wl,'
23869 # PIC (with -KPIC) is the default.
23870 lt_prog_compiler_static_GCJ='-non_shared'
23874 lt_prog_compiler_pic_GCJ='-KPIC'
23875 lt_prog_compiler_static_GCJ='-Bstatic'
23879 case $cc_basename in
23881 lt_prog_compiler_wl_GCJ='-Wl,'
23882 lt_prog_compiler_pic_GCJ='-KPIC'
23883 lt_prog_compiler_static_GCJ='-static'
23885 pgcc* | pgf77* | pgf90* | pgf95*)
23886 # Portland Group compilers (*not* the Pentium gcc compiler,
23887 # which looks to be a dead project)
23888 lt_prog_compiler_wl_GCJ='-Wl,'
23889 lt_prog_compiler_pic_GCJ='-fpic'
23890 lt_prog_compiler_static_GCJ='-Bstatic'
23893 lt_prog_compiler_wl_GCJ='-Wl,'
23894 # All Alpha code is PIC.
23895 lt_prog_compiler_static_GCJ='-non_shared'
23900 osf3* | osf4* | osf5*)
23901 lt_prog_compiler_wl_GCJ='-Wl,'
23902 # All OSF/1 code is PIC.
23903 lt_prog_compiler_static_GCJ='-non_shared'
23907 lt_prog_compiler_pic_GCJ='-KPIC'
23908 lt_prog_compiler_static_GCJ='-Bstatic'
23909 case $cc_basename in
23910 f77* | f90* | f95*)
23911 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
23913 lt_prog_compiler_wl_GCJ='-Wl,';;
23918 lt_prog_compiler_wl_GCJ='-Qoption ld '
23919 lt_prog_compiler_pic_GCJ='-PIC'
23920 lt_prog_compiler_static_GCJ='-Bstatic'
23923 sysv4 | sysv4.2uw2* | sysv4.3*)
23924 lt_prog_compiler_wl_GCJ='-Wl,'
23925 lt_prog_compiler_pic_GCJ='-KPIC'
23926 lt_prog_compiler_static_GCJ='-Bstatic'
23930 if test -d /usr/nec ;then
23931 lt_prog_compiler_pic_GCJ='-Kconform_pic'
23932 lt_prog_compiler_static_GCJ='-Bstatic'
23936 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23937 lt_prog_compiler_wl_GCJ='-Wl,'
23938 lt_prog_compiler_pic_GCJ='-KPIC'
23939 lt_prog_compiler_static_GCJ='-Bstatic'
23943 lt_prog_compiler_wl_GCJ='-Wl,'
23944 lt_prog_compiler_can_build_shared_GCJ=no
23948 lt_prog_compiler_pic_GCJ='-pic'
23949 lt_prog_compiler_static_GCJ='-Bstatic'
23953 lt_prog_compiler_can_build_shared_GCJ=no
23958 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23959 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23962 # Check to make sure the PIC flag actually works.
23964 if test -n "$lt_prog_compiler_pic_GCJ"; then
23966 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23967 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23968 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 lt_prog_compiler_pic_works_GCJ=no
23972 ac_outfile=conftest.$ac_objext
23973 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23974 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
23975 # Insert the option either (1) after the last *FLAGS variable, or
23976 # (2) before a word containing "conftest.", or (3) at the end.
23977 # Note that $ac_compile itself does not contain backslashes and begins
23978 # with a dollar sign (not a hyphen), so the echo should work correctly.
23979 # The option is referenced via a variable to avoid confusing sed.
23980 lt_compile=`echo "$ac_compile" | $SED \
23981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23983 -e 's:$: $lt_compiler_flag:'`
23984 (eval echo "\"\$as_me:23984: $lt_compile\"" >&5)
23985 (eval "$lt_compile" 2>conftest.err)
23987 cat conftest.err >&5
23988 echo "$as_me:23988: \$? = $ac_status" >&5
23989 if (exit $ac_status) && test -s "$ac_outfile"; then
23990 # The compiler can only warn and ignore the option if not recognized
23991 # So say no if there are warnings other than the usual output.
23992 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23993 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23994 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23995 lt_prog_compiler_pic_works_GCJ=yes
24001 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24002 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24004 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24005 case $lt_prog_compiler_pic_GCJ in
24007 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24010 lt_prog_compiler_pic_GCJ=
24011 lt_prog_compiler_can_build_shared_GCJ=no
24016 # For platforms which do not support PIC, -DPIC is meaningless:
24018 lt_prog_compiler_pic_GCJ=
24021 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24026 # Check to make sure the static flag actually works.
24028 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24029 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24030 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24031 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24032 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 lt_prog_compiler_static_works_GCJ=no
24035 save_LDFLAGS="$LDFLAGS"
24036 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24037 printf "$lt_simple_link_test_code" > conftest.$ac_ext
24038 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24039 # The linker can only warn and ignore the option if not recognized
24040 # So say no if there are warnings
24041 if test -s conftest.err; then
24042 # Append any errors to the config.log.
24043 cat conftest.err 1>&5
24044 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24045 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24046 if diff conftest.exp conftest.er2 >/dev/null; then
24047 lt_prog_compiler_static_works_GCJ=yes
24050 lt_prog_compiler_static_works_GCJ=yes
24054 LDFLAGS="$save_LDFLAGS"
24057 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24058 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24060 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
24063 lt_prog_compiler_static_GCJ=
24067 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24068 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24069 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24070 echo $ECHO_N "(cached) $ECHO_C" >&6
24072 lt_cv_prog_compiler_c_o_GCJ=no
24073 $rm -r conftest 2>/dev/null
24077 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24079 lt_compiler_flag="-o out/conftest2.$ac_objext"
24080 # Insert the option either (1) after the last *FLAGS variable, or
24081 # (2) before a word containing "conftest.", or (3) at the end.
24082 # Note that $ac_compile itself does not contain backslashes and begins
24083 # with a dollar sign (not a hyphen), so the echo should work correctly.
24084 lt_compile=`echo "$ac_compile" | $SED \
24085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24087 -e 's:$: $lt_compiler_flag:'`
24088 (eval echo "\"\$as_me:24088: $lt_compile\"" >&5)
24089 (eval "$lt_compile" 2>out/conftest.err)
24091 cat out/conftest.err >&5
24092 echo "$as_me:24092: \$? = $ac_status" >&5
24093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
24095 # The compiler can only warn and ignore the option if not recognized
24096 # So say no if there are warnings
24097 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24100 lt_cv_prog_compiler_c_o_GCJ=yes
24105 # SGI C++ compiler will create directory out/ii_files/ for
24106 # template instantiation
24107 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24108 $rm out/* && rmdir out
24114 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24115 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24118 hard_links="nottested"
24119 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24120 # do not overwrite the value of need_locks provided by the user
24121 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24122 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24127 ln conftest.a conftest.b 2>&5 || hard_links=no
24128 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24129 { echo "$as_me:$LINENO: result: $hard_links" >&5
24130 echo "${ECHO_T}$hard_links" >&6; }
24131 if test "$hard_links" = no; then
24132 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24133 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24140 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24141 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24144 allow_undefined_flag_GCJ=
24145 enable_shared_with_static_runtimes_GCJ=no
24147 archive_expsym_cmds_GCJ=
24148 old_archive_From_new_cmds_GCJ=
24149 old_archive_from_expsyms_cmds_GCJ=
24150 export_dynamic_flag_spec_GCJ=
24151 whole_archive_flag_spec_GCJ=
24152 thread_safe_flag_spec_GCJ=
24153 hardcode_libdir_flag_spec_GCJ=
24154 hardcode_libdir_flag_spec_ld_GCJ=
24155 hardcode_libdir_separator_GCJ=
24156 hardcode_direct_GCJ=no
24157 hardcode_minus_L_GCJ=no
24158 hardcode_shlibpath_var_GCJ=unsupported
24159 link_all_deplibs_GCJ=unknown
24160 hardcode_automatic_GCJ=no
24162 module_expsym_cmds_GCJ=
24163 always_export_symbols_GCJ=no
24164 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24165 # include_expsyms should be a list of space-separated symbols to be *always*
24166 # included in the symbol list
24167 include_expsyms_GCJ=
24168 # exclude_expsyms can be an extended regexp of symbols to exclude
24169 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24170 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24171 # as well as any symbol that contains `d'.
24172 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
24173 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24174 # platforms (ab)use it in PIC code, but their linkers get confused if
24175 # the symbol is explicitly referenced. Since portable code cannot
24176 # rely on this symbol name, it's probably fine to never include it in
24177 # preloaded symbol tables.
24178 extract_expsyms_cmds=
24179 # Just being paranoid about ensuring that cc_basename is set.
24180 for cc_temp in $compiler""; do
24182 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24183 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24188 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24191 cygwin* | mingw* | pw32*)
24192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24193 # When not using gcc, we currently assume that we are using
24194 # Microsoft Visual C++.
24195 if test "$GCC" != yes; then
24200 # we just hope/assume this is gcc and not c89 (= MSVC++)
24209 if test "$with_gnu_ld" = yes; then
24210 # If archive_cmds runs LD, not CC, wlarc should be empty
24213 # Set some defaults for GNU ld with shared library support. These
24214 # are reset later if shared libraries are not supported. Putting them
24215 # here allows them to be overridden if necessary.
24216 runpath_var=LD_RUN_PATH
24217 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24218 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24219 # ancient GNU ld didn't support --whole-archive et. al.
24220 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24221 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24223 whole_archive_flag_spec_GCJ=
24225 supports_anon_versioning=no
24226 case `$LD -v 2>/dev/null` in
24227 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24228 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24229 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24230 *\ 2.11.*) ;; # other 2.11 versions
24231 *) supports_anon_versioning=yes ;;
24234 # See if GNU ld supports shared libraries.
24236 aix3* | aix4* | aix5*)
24237 # On AIX/PPC, the GNU linker is very broken
24238 if test "$host_cpu" != ia64; then
24242 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24243 *** to be unable to reliably create shared libraries on AIX.
24244 *** Therefore, libtool is disabling shared libraries support. If you
24245 *** really care for shared libraries, you may want to modify your PATH
24246 *** so that a non-GNU linker is found, and then restart.
24253 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)'
24254 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24255 hardcode_minus_L_GCJ=yes
24257 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24258 # that the semantics of dynamic libraries on AmigaOS, at least up
24259 # to version 4, is to share data among multiple programs linked
24260 # with the same dynamic library. Since this doesn't match the
24261 # behavior of shared libraries on other platforms, we can't use
24267 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24268 allow_undefined_flag_GCJ=unsupported
24269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24270 # support --undefined. This deserves some investigation. FIXME
24271 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24277 cygwin* | mingw* | pw32*)
24278 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24279 # as there is no search path for DLLs.
24280 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24281 allow_undefined_flag_GCJ=unsupported
24282 always_export_symbols_GCJ=no
24283 enable_shared_with_static_runtimes_GCJ=yes
24284 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24286 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24287 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24288 # If the export-symbols file already is a .def file (1st line
24289 # is EXPORTS), use it as is; otherwise, prepend...
24290 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24291 cp $export_symbols $output_objdir/$soname.def;
24293 echo EXPORTS > $output_objdir/$soname.def;
24294 cat $export_symbols >> $output_objdir/$soname.def;
24296 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24303 hardcode_direct_GCJ=no
24304 hardcode_shlibpath_var_GCJ=no
24305 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24306 export_dynamic_flag_spec_GCJ='${wl}-E'
24307 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24308 # Instead, shared libraries are loaded at an image base (0x10000000 by
24309 # default) and relocated if they conflict, which is a slow very memory
24310 # consuming and fragmenting process. To avoid this, we pick a random,
24311 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24312 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24313 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'
24314 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'
24318 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24320 case $cc_basename,$host_cpu in
24321 pgcc*) # Portland Group C compiler
24322 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'
24323 tmp_addflag=' $pic_flag'
24325 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24326 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'
24327 tmp_addflag=' $pic_flag -Mnomain' ;;
24328 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24329 tmp_addflag=' -i_dynamic' ;;
24330 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24331 tmp_addflag=' -i_dynamic -nofor_main' ;;
24332 ifc* | ifort*) # Intel Fortran compiler
24333 tmp_addflag=' -nofor_main' ;;
24335 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24337 if test $supports_anon_versioning = yes; then
24338 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24339 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24340 $echo "local: *; };" >> $output_objdir/$libname.ver~
24341 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24349 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24350 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24353 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24354 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24359 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24363 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24364 *** create shared libraries on Solaris systems. Therefore, libtool
24365 *** is disabling shared libraries support. We urge you to upgrade GNU
24366 *** binutils to release 2.9.1 or newer. Another option is to modify
24367 *** your PATH or compiler configuration so that the native linker is
24368 *** used, and then restart.
24371 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24372 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24373 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24379 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24380 case `$LD -v 2>&1` in
24381 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24385 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24386 *** reliably create shared libraries on SCO systems. Therefore, libtool
24387 *** is disabling shared libraries support. We urge you to upgrade GNU
24388 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24389 *** your PATH or compiler configuration so that the native linker is
24390 *** used, and then restart.
24395 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24396 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24397 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24398 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24407 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24409 hardcode_direct_GCJ=yes
24410 hardcode_shlibpath_var_GCJ=no
24414 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24415 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24416 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24423 if test "$ld_shlibs_GCJ" = no; then
24425 hardcode_libdir_flag_spec_GCJ=
24426 export_dynamic_flag_spec_GCJ=
24427 whole_archive_flag_spec_GCJ=
24430 # PORTME fill in a description of your system's linker (not GNU ld)
24433 allow_undefined_flag_GCJ=unsupported
24434 always_export_symbols_GCJ=yes
24435 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'
24436 # Note: this linker hardcodes the directories in LIBPATH if there
24437 # are no directories specified by -L.
24438 hardcode_minus_L_GCJ=yes
24439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24440 # Neither direct hardcoding nor static linking is supported with a
24442 hardcode_direct_GCJ=unsupported
24447 if test "$host_cpu" = ia64; then
24448 # On IA64, the linker does run time linking by default, so we don't
24449 # have to do anything special.
24450 aix_use_runtimelinking=no
24451 exp_sym_flag='-Bexport'
24454 # If we're using GNU nm, then we don't want the "-C" option.
24455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24456 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24457 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'
24459 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'
24461 aix_use_runtimelinking=no
24463 # Test if we are trying to use run time linking or normal
24464 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24465 # need to do runtime linking.
24466 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24467 for ld_flag in $LDFLAGS; do
24468 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24469 aix_use_runtimelinking=yes
24476 exp_sym_flag='-bexport'
24477 no_entry_flag='-bnoentry'
24480 # When large executables or shared objects are built, AIX ld can
24481 # have problems creating the table of contents. If linking a library
24482 # or program results in "error TOC overflow" add -mminimal-toc to
24483 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24484 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24486 archive_cmds_GCJ=''
24487 hardcode_direct_GCJ=yes
24488 hardcode_libdir_separator_GCJ=':'
24489 link_all_deplibs_GCJ=yes
24491 if test "$GCC" = yes; then
24492 case $host_os in aix4.[012]|aix4.[012].*)
24493 # We only want to do this on AIX 4.2 and lower, the check
24494 # below for broken collect2 doesn't work under 4.3+
24495 collect2name=`${CC} -print-prog-name=collect2`
24496 if test -f "$collect2name" && \
24497 strings "$collect2name" | grep resolve_lib_name >/dev/null
24499 # We have reworked collect2
24500 hardcode_direct_GCJ=yes
24502 # We have old collect2
24503 hardcode_direct_GCJ=unsupported
24504 # It fails to find uninstalled libraries when the uninstalled
24505 # path is not listed in the libpath. Setting hardcode_minus_L
24506 # to unsupported forces relinking
24507 hardcode_minus_L_GCJ=yes
24508 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24509 hardcode_libdir_separator_GCJ=
24513 shared_flag='-shared'
24514 if test "$aix_use_runtimelinking" = yes; then
24515 shared_flag="$shared_flag "'${wl}-G'
24519 if test "$host_cpu" = ia64; then
24520 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24521 # chokes on -Wl,-G. The following line is correct:
24524 if test "$aix_use_runtimelinking" = yes; then
24525 shared_flag='${wl}-G'
24527 shared_flag='${wl}-bM:SRE'
24532 # It seems that -bexpall does not export symbols beginning with
24533 # underscore (_), so it is better to generate a list of symbols to export.
24534 always_export_symbols_GCJ=yes
24535 if test "$aix_use_runtimelinking" = yes; then
24536 # Warning - without using the other runtime loading flags (-brtl),
24537 # -berok will link without error, but may produce a broken library.
24538 allow_undefined_flag_GCJ='-berok'
24539 # Determine the default libpath from the value encoded in an empty executable.
24540 cat >conftest.$ac_ext <<_ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24555 rm -f conftest.$ac_objext conftest$ac_exeext
24556 if { (ac_try="$ac_link"
24557 case "(($ac_try" in
24558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24559 *) ac_try_echo=$ac_try;;
24561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24562 (eval "$ac_link") 2>conftest.er1
24564 grep -v '^ *+' conftest.er1 >conftest.err
24566 cat conftest.err >&5
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); } && {
24569 test -z "$ac_c_werror_flag" ||
24570 test ! -s conftest.err
24571 } && test -s conftest$ac_exeext &&
24572 $as_test_x conftest$ac_exeext; then
24574 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24576 # Check for a 64-bit object if we didn't find anything.
24577 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24587 conftest$ac_exeext conftest.$ac_ext
24588 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24590 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24591 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"
24593 if test "$host_cpu" = ia64; then
24594 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24595 allow_undefined_flag_GCJ="-z nodefs"
24596 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"
24598 # Determine the default libpath from the value encoded in an empty executable.
24599 cat >conftest.$ac_ext <<_ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24614 rm -f conftest.$ac_objext conftest$ac_exeext
24615 if { (ac_try="$ac_link"
24616 case "(($ac_try" in
24617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24618 *) ac_try_echo=$ac_try;;
24620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24621 (eval "$ac_link") 2>conftest.er1
24623 grep -v '^ *+' conftest.er1 >conftest.err
24625 cat conftest.err >&5
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); } && {
24628 test -z "$ac_c_werror_flag" ||
24629 test ! -s conftest.err
24630 } && test -s conftest$ac_exeext &&
24631 $as_test_x conftest$ac_exeext; then
24633 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24635 # Check for a 64-bit object if we didn't find anything.
24636 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24639 echo "$as_me: failed program was:" >&5
24640 sed 's/^/| /' conftest.$ac_ext >&5
24645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24646 conftest$ac_exeext conftest.$ac_ext
24647 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24649 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24650 # Warning - without using the other run time loading flags,
24651 # -berok will link without error, but may produce a broken library.
24652 no_undefined_flag_GCJ=' ${wl}-bernotok'
24653 allow_undefined_flag_GCJ=' ${wl}-berok'
24654 # Exported symbols can be pulled into shared objects from archives
24655 whole_archive_flag_spec_GCJ='$convenience'
24656 archive_cmds_need_lc_GCJ=yes
24657 # This is similar to how AIX traditionally builds its shared libraries.
24658 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'
24664 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)'
24665 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24666 hardcode_minus_L_GCJ=yes
24667 # see comment about different semantics on the GNU ld section
24672 export_dynamic_flag_spec_GCJ=-rdynamic
24675 cygwin* | mingw* | pw32*)
24676 # When not using gcc, we currently assume that we are using
24677 # Microsoft Visual C++.
24678 # hardcode_libdir_flag_spec is actually meaningless, as there is
24679 # no search path for DLLs.
24680 hardcode_libdir_flag_spec_GCJ=' '
24681 allow_undefined_flag_GCJ=unsupported
24682 # Tell ltmain to make .lib files, not .a files.
24684 # Tell ltmain to make .dll files, not .so files.
24686 # FIXME: Setting linknames here is a bad hack.
24687 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24688 # The linker will automatically build a .lib file if we build a DLL.
24689 old_archive_From_new_cmds_GCJ='true'
24690 # FIXME: Should let the user specify the lib program.
24691 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
24692 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
24693 enable_shared_with_static_runtimes_GCJ=yes
24696 darwin* | rhapsody*)
24698 rhapsody* | darwin1.[012])
24699 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
24702 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24703 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24705 case ${MACOSX_DEPLOYMENT_TARGET} in
24707 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24710 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24716 archive_cmds_need_lc_GCJ=no
24717 hardcode_direct_GCJ=no
24718 hardcode_automatic_GCJ=yes
24719 hardcode_shlibpath_var_GCJ=unsupported
24720 whole_archive_flag_spec_GCJ=''
24721 link_all_deplibs_GCJ=yes
24722 if test "$GCC" = yes ; then
24723 output_verbose_link_cmd='echo'
24724 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24725 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24726 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24727 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}'
24728 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}'
24730 case $cc_basename in
24732 output_verbose_link_cmd='echo'
24733 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24734 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24735 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24736 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24737 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}'
24747 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24748 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24749 hardcode_shlibpath_var_GCJ=no
24756 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24757 # support. Future versions do this automatically, but an explicit c++rt0.o
24758 # does not break anything, and helps significantly (at the cost of a little
24761 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24762 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24763 hardcode_direct_GCJ=yes
24764 hardcode_shlibpath_var_GCJ=no
24767 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24769 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24770 hardcode_direct_GCJ=yes
24771 hardcode_minus_L_GCJ=yes
24772 hardcode_shlibpath_var_GCJ=no
24775 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24776 freebsd* | kfreebsd*-gnu | dragonfly*)
24777 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24778 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24779 hardcode_direct_GCJ=yes
24780 hardcode_shlibpath_var_GCJ=no
24784 if test "$GCC" = yes; then
24785 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'
24787 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'
24789 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24790 hardcode_libdir_separator_GCJ=:
24791 hardcode_direct_GCJ=yes
24793 # hardcode_minus_L: Not really in the search PATH,
24794 # but as the default location of the library.
24795 hardcode_minus_L_GCJ=yes
24796 export_dynamic_flag_spec_GCJ='${wl}-E'
24800 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24801 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24803 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24805 if test "$with_gnu_ld" = no; then
24806 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24807 hardcode_libdir_separator_GCJ=:
24809 hardcode_direct_GCJ=yes
24810 export_dynamic_flag_spec_GCJ='${wl}-E'
24812 # hardcode_minus_L: Not really in the search PATH,
24813 # but as the default location of the library.
24814 hardcode_minus_L_GCJ=yes
24819 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24822 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24825 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24828 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24834 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24837 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24840 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24844 if test "$with_gnu_ld" = no; then
24845 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24846 hardcode_libdir_separator_GCJ=:
24850 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
24851 hardcode_direct_GCJ=no
24852 hardcode_shlibpath_var_GCJ=no
24855 hardcode_direct_GCJ=yes
24856 export_dynamic_flag_spec_GCJ='${wl}-E'
24858 # hardcode_minus_L: Not really in the search PATH,
24859 # but as the default location of the library.
24860 hardcode_minus_L_GCJ=yes
24866 irix5* | irix6* | nonstopux*)
24867 if test "$GCC" = yes; then
24868 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'
24870 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'
24871 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
24873 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24874 hardcode_libdir_separator_GCJ=:
24875 link_all_deplibs_GCJ=yes
24879 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24880 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24882 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24884 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24885 hardcode_direct_GCJ=yes
24886 hardcode_shlibpath_var_GCJ=no
24890 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24891 hardcode_direct_GCJ=yes
24892 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24893 hardcode_libdir_separator_GCJ=:
24894 hardcode_shlibpath_var_GCJ=no
24898 hardcode_direct_GCJ=yes
24899 hardcode_shlibpath_var_GCJ=no
24900 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24901 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24902 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24903 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24904 export_dynamic_flag_spec_GCJ='${wl}-E'
24907 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24908 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24909 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24912 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24913 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24920 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24921 hardcode_minus_L_GCJ=yes
24922 allow_undefined_flag_GCJ=unsupported
24923 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'
24924 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24928 if test "$GCC" = yes; then
24929 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24930 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'
24932 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24933 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'
24935 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24936 hardcode_libdir_separator_GCJ=:
24939 osf4* | osf5*) # as osf3* with the addition of -msym flag
24940 if test "$GCC" = yes; then
24941 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24942 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'
24943 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24945 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24946 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'
24947 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~
24948 $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'
24950 # Both c and cxx compiler support -rpath directly
24951 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
24953 hardcode_libdir_separator_GCJ=:
24957 no_undefined_flag_GCJ=' -z text'
24958 if test "$GCC" = yes; then
24960 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24961 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24962 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24965 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24966 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24967 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24969 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24970 hardcode_shlibpath_var_GCJ=no
24972 solaris2.[0-5] | solaris2.[0-5].*) ;;
24974 # The compiler driver will combine linker options so we
24975 # cannot just pass the convience library names through
24976 # without $wl, iff we do not link with $LD.
24977 # Luckily, gcc supports the same syntax we need for Sun Studio.
24978 # Supported since Solaris 2.6 (maybe 2.5.1?)
24981 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
24983 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
24986 link_all_deplibs_GCJ=yes
24990 if test "x$host_vendor" = xsequent; then
24991 # Use $CC to link under sequent, because it throws in some extra .o
24992 # files that make .init and .fini sections work.
24993 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24995 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24997 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24998 hardcode_direct_GCJ=yes
24999 hardcode_minus_L_GCJ=yes
25000 hardcode_shlibpath_var_GCJ=no
25004 case $host_vendor in
25006 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25007 hardcode_direct_GCJ=yes # is this really true???
25010 ## LD is ld it makes a PLAMLIB
25011 ## CC just makes a GrossModule.
25012 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25013 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25014 hardcode_direct_GCJ=no
25017 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25018 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25021 runpath_var='LD_RUN_PATH'
25022 hardcode_shlibpath_var_GCJ=no
25026 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25027 hardcode_shlibpath_var_GCJ=no
25028 export_dynamic_flag_spec_GCJ='-Bexport'
25032 if test -d /usr/nec; then
25033 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25034 hardcode_shlibpath_var_GCJ=no
25035 runpath_var=LD_RUN_PATH
25036 hardcode_runpath_var=yes
25041 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
25042 no_undefined_flag_GCJ='${wl}-z,text'
25043 archive_cmds_need_lc_GCJ=no
25044 hardcode_shlibpath_var_GCJ=no
25045 runpath_var='LD_RUN_PATH'
25047 if test "$GCC" = yes; then
25048 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25049 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25051 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25052 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25056 sysv5* | sco3.2v5* | sco5v6*)
25057 # Note: We can NOT use -z defs as we might desire, because we do not
25058 # link with -lc, and that would cause any symbols used from libc to
25059 # always be unresolved, which means just about no library would
25060 # ever link correctly. If we're not using GNU ld we use -z text
25061 # though, which does catch some bad symbols but isn't as heavy-handed
25063 no_undefined_flag_GCJ='${wl}-z,text'
25064 allow_undefined_flag_GCJ='${wl}-z,nodefs'
25065 archive_cmds_need_lc_GCJ=no
25066 hardcode_shlibpath_var_GCJ=no
25067 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25068 hardcode_libdir_separator_GCJ=':'
25069 link_all_deplibs_GCJ=yes
25070 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25071 runpath_var='LD_RUN_PATH'
25073 if test "$GCC" = yes; then
25074 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25075 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25077 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25078 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25083 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25084 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25085 hardcode_shlibpath_var_GCJ=no
25094 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25095 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25096 test "$ld_shlibs_GCJ" = no && can_build_shared=no
25099 # Do we need to explicitly link libc?
25101 case "x$archive_cmds_need_lc_GCJ" in
25103 # Assume -lc should be added
25104 archive_cmds_need_lc_GCJ=yes
25106 if test "$enable_shared" = yes && test "$GCC" = yes; then
25107 case $archive_cmds_GCJ in
25109 # FIXME: we may have to deal with multi-command sequences.
25112 # Test whether the compiler implicitly links with -lc since on some
25113 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25114 # to ld, don't add -lc before -lgcc.
25115 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25116 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25118 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } 2>conftest.err; then
25127 libobjs=conftest.$ac_objext
25129 wl=$lt_prog_compiler_wl_GCJ
25130 pic_flag=$lt_prog_compiler_pic_GCJ
25136 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25137 allow_undefined_flag_GCJ=
25138 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25139 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }
25144 archive_cmds_need_lc_GCJ=no
25146 archive_cmds_need_lc_GCJ=yes
25148 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25150 cat conftest.err 1>&5
25153 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25154 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25161 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25162 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25163 library_names_spec=
25164 libname_spec='lib$name'
25168 postuninstall_cmds=
25172 shlibpath_overrides_runpath=unknown
25174 dynamic_linker="$host_os ld.so"
25175 sys_lib_dlsearch_path_spec="/lib /usr/lib"
25176 if test "$GCC" = yes; then
25177 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25178 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
25179 # if the path contains ";" then we assume it to be the separator
25180 # otherwise default to the standard path separator (i.e. ":") - it is
25181 # assumed that no part of a normal pathname contains ";" but that should
25182 # okay in the real world where ";" in dirpaths is itself problematic.
25183 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25185 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25188 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25190 need_lib_prefix=unknown
25191 hardcode_into_libs=no
25193 # when you set need_version to no, make sure it does not cause -set_version
25194 # flags to be left without arguments
25195 need_version=unknown
25200 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25201 shlibpath_var=LIBPATH
25203 # AIX 3 has no versioning support, so we append a major version to the name.
25204 soname_spec='${libname}${release}${shared_ext}$major'
25211 hardcode_into_libs=yes
25212 if test "$host_cpu" = ia64; then
25213 # AIX 5 supports IA64
25214 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25215 shlibpath_var=LD_LIBRARY_PATH
25217 # With GCC up to 2.95.x, collect2 would create an import file
25218 # for dependence libraries. The import file would start with
25219 # the line `#! .'. This would cause the generated library to
25220 # depend on `.', always an invalid library. This was fixed in
25221 # development snapshots of GCC prior to 3.0.
25223 aix4 | aix4.[01] | aix4.[01].*)
25224 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25226 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25229 can_build_shared=no
25233 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25234 # soname into executable. Probably we can add versioning support to
25235 # collect2, so additional links can be useful in future.
25236 if test "$aix_use_runtimelinking" = yes; then
25237 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25238 # instead of lib<name>.a to let people know that these are not
25239 # typical AIX shared libraries.
25240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25242 # We preserve .a as extension for shared libraries through AIX4.2
25243 # and later when we are not doing run time linking.
25244 library_names_spec='${libname}${release}.a $libname.a'
25245 soname_spec='${libname}${release}${shared_ext}$major'
25247 shlibpath_var=LIBPATH
25252 library_names_spec='$libname.ixlibrary $libname.a'
25253 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25254 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'
25258 library_names_spec='${libname}${shared_ext}'
25259 dynamic_linker="$host_os ld.so"
25260 shlibpath_var=LIBRARY_PATH
25266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25267 soname_spec='${libname}${release}${shared_ext}$major'
25268 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25269 shlibpath_var=LD_LIBRARY_PATH
25270 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25271 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25272 # the default ld.so.conf also contains /usr/contrib/lib and
25273 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25274 # libtool to hard-code these into programs
25277 cygwin* | mingw* | pw32*)
25278 version_type=windows
25283 case $GCC,$host_os in
25284 yes,cygwin* | yes,mingw* | yes,pw32*)
25285 library_names_spec='$libname.dll.a'
25286 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25287 postinstall_cmds='base_file=`basename \${file}`~
25288 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25289 dldir=$destdir/`dirname \$dlpath`~
25290 test -d \$dldir || mkdir -p \$dldir~
25291 $install_prog $dir/$dlname \$dldir/$dlname~
25292 chmod a+x \$dldir/$dlname'
25293 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25294 dlpath=$dir/\$dldll~
25296 shlibpath_overrides_runpath=yes
25300 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25301 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25302 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25305 # MinGW DLLs use traditional 'lib' prefix
25306 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25307 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25308 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25309 # It is most probably a Windows format PATH printed by
25310 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25311 # path with ; separators, and with drive letters. We can handle the
25312 # drive letters (cygwin fileutils understands them), so leave them,
25313 # especially as we might pass files found there to a mingw objdump,
25314 # which wouldn't understand a cygwinified path. Ahh.
25315 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25317 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25321 # pw32 DLLs use 'pw' prefix rather than 'lib'
25322 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25328 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25331 dynamic_linker='Win32 ld.exe'
25332 # FIXME: first we should search . and the directory the executable is in
25336 darwin* | rhapsody*)
25337 dynamic_linker="$host_os dyld"
25338 version_type=darwin
25341 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25342 soname_spec='${libname}${release}${major}$shared_ext'
25343 shlibpath_overrides_runpath=yes
25344 shlibpath_var=DYLD_LIBRARY_PATH
25345 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25346 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25347 if test "$GCC" = yes; then
25348 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
25350 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25352 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25360 soname_spec='${libname}${release}${shared_ext}$major'
25361 shlibpath_var=LD_LIBRARY_PATH
25372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25373 soname_spec='${libname}${release}${shared_ext}$major'
25374 shlibpath_var=LD_LIBRARY_PATH
25375 shlibpath_overrides_runpath=no
25376 hardcode_into_libs=yes
25377 dynamic_linker='GNU ld.so'
25380 freebsd* | dragonfly*)
25381 # DragonFly does not have aout. When/if they implement a new
25382 # versioning mechanism, adjust this.
25383 if test -x /usr/bin/objformat; then
25384 objformat=`/usr/bin/objformat`
25387 freebsd[123]*) objformat=aout ;;
25388 *) objformat=elf ;;
25391 version_type=freebsd-$objformat
25392 case $version_type in
25394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25399 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25403 shlibpath_var=LD_LIBRARY_PATH
25406 shlibpath_overrides_runpath=yes
25408 freebsd3.[01]* | freebsdelf3.[01]*)
25409 shlibpath_overrides_runpath=yes
25410 hardcode_into_libs=yes
25412 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25413 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25414 shlibpath_overrides_runpath=no
25415 hardcode_into_libs=yes
25417 freebsd*) # from 4.6 on
25418 shlibpath_overrides_runpath=yes
25419 hardcode_into_libs=yes
25428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25429 soname_spec='${libname}${release}${shared_ext}$major'
25430 shlibpath_var=LD_LIBRARY_PATH
25431 hardcode_into_libs=yes
25434 hpux9* | hpux10* | hpux11*)
25435 # Give a soname corresponding to the major version so that dld.sl refuses to
25436 # link against other versions.
25443 hardcode_into_libs=yes
25444 dynamic_linker="$host_os dld.so"
25445 shlibpath_var=LD_LIBRARY_PATH
25446 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25448 soname_spec='${libname}${release}${shared_ext}$major'
25449 if test "X$HPUX_IA64_MODE" = X32; then
25450 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25452 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25454 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25458 hardcode_into_libs=yes
25459 dynamic_linker="$host_os dld.sl"
25460 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25461 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25463 soname_spec='${libname}${release}${shared_ext}$major'
25464 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25465 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25469 dynamic_linker="$host_os dld.sl"
25470 shlibpath_var=SHLIB_PATH
25471 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25473 soname_spec='${libname}${release}${shared_ext}$major'
25476 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25477 postinstall_cmds='chmod 555 $lib'
25484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25485 soname_spec='${libname}${release}${shared_ext}$major'
25486 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25487 shlibpath_var=LD_LIBRARY_PATH
25488 shlibpath_overrides_runpath=no
25489 hardcode_into_libs=yes
25492 irix5* | irix6* | nonstopux*)
25494 nonstopux*) version_type=nonstopux ;;
25496 if test "$lt_cv_prog_gnu_ld" = yes; then
25504 soname_spec='${libname}${release}${shared_ext}$major'
25505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25507 irix5* | nonstopux*)
25508 libsuff= shlibsuff=
25511 case $LD in # libtool.m4 will add one of these switches to LD
25512 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25513 libsuff= shlibsuff= libmagic=32-bit;;
25514 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25515 libsuff=32 shlibsuff=N32 libmagic=N32;;
25516 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25517 libsuff=64 shlibsuff=64 libmagic=64-bit;;
25518 *) libsuff= shlibsuff= libmagic=never-match;;
25522 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25523 shlibpath_overrides_runpath=no
25524 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25525 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25526 hardcode_into_libs=yes
25529 # No shared lib support for Linux oldld, aout, or coff.
25530 linux*oldld* | linux*aout* | linux*coff*)
25534 # This must be Linux ELF.
25539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25540 soname_spec='${libname}${release}${shared_ext}$major'
25541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25542 shlibpath_var=LD_LIBRARY_PATH
25543 shlibpath_overrides_runpath=no
25544 # This implies no fast_install, which is unacceptable.
25545 # Some rework will be needed to allow for fast_install
25546 # before this can be enabled.
25547 hardcode_into_libs=yes
25549 # find out which ABI we are using
25551 case "$host_cpu" in
25552 x86_64*|s390x*|powerpc64*)
25553 echo '#line 25553 "configure"' > conftest.$ac_ext
25554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25555 (eval $ac_compile) 2>&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); }; then
25559 case `/usr/bin/file conftest.$ac_objext` in
25562 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
25570 # Append ld.so.conf contents to the search path
25571 if test -f /etc/ld.so.conf; then
25572 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
25573 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
25576 # We used to test for /lib/ld.so.1 and disable shared libraries on
25577 # powerpc, because MkLinux only supported shared libraries with the
25578 # GNU dynamic linker. Since this was broken with cross compilers,
25579 # most powerpc-linux boxes support dynamic linking these days and
25580 # people can always --disable-shared, the test was removed, and we
25581 # assume the GNU/Linux dynamic linker is in use.
25582 dynamic_linker='GNU/Linux ld.so'
25589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25590 soname_spec='${libname}${release}${shared_ext}$major'
25591 shlibpath_var=LD_LIBRARY_PATH
25592 shlibpath_overrides_runpath=no
25593 hardcode_into_libs=yes
25594 dynamic_linker='GNU ld.so'
25601 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25603 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25604 dynamic_linker='NetBSD (a.out) ld.so'
25606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25607 soname_spec='${libname}${release}${shared_ext}$major'
25608 dynamic_linker='NetBSD ld.elf_so'
25610 shlibpath_var=LD_LIBRARY_PATH
25611 shlibpath_overrides_runpath=yes
25612 hardcode_into_libs=yes
25617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25618 shlibpath_var=LD_LIBRARY_PATH
25619 shlibpath_overrides_runpath=yes
25626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25627 soname_spec='${libname}${release}${shared_ext}$major'
25628 shlibpath_var=LD_LIBRARY_PATH
25629 shlibpath_overrides_runpath=yes
25634 sys_lib_dlsearch_path_spec="/usr/lib"
25636 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25638 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25639 *) need_version=no ;;
25641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25642 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25643 shlibpath_var=LD_LIBRARY_PATH
25644 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25646 openbsd2.[89] | openbsd2.[89].*)
25647 shlibpath_overrides_runpath=no
25650 shlibpath_overrides_runpath=yes
25654 shlibpath_overrides_runpath=yes
25659 libname_spec='$name'
25662 library_names_spec='$libname${shared_ext} $libname.a'
25663 dynamic_linker='OS/2 ld.exe'
25664 shlibpath_var=LIBPATH
25667 osf3* | osf4* | osf5*)
25671 soname_spec='${libname}${release}${shared_ext}$major'
25672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25673 shlibpath_var=LD_LIBRARY_PATH
25674 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25675 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25683 soname_spec='${libname}${release}${shared_ext}$major'
25684 shlibpath_var=LD_LIBRARY_PATH
25685 shlibpath_overrides_runpath=yes
25686 hardcode_into_libs=yes
25687 # ldd complains unless libraries are executable
25688 postinstall_cmds='chmod +x $lib'
25693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25694 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25695 shlibpath_var=LD_LIBRARY_PATH
25696 shlibpath_overrides_runpath=yes
25697 if test "$with_gnu_ld" = yes; then
25705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25706 soname_spec='${libname}${release}${shared_ext}$major'
25707 shlibpath_var=LD_LIBRARY_PATH
25708 case $host_vendor in
25710 shlibpath_overrides_runpath=no
25712 export_dynamic_flag_spec='${wl}-Blargedynsym'
25713 runpath_var=LD_RUN_PATH
25721 shlibpath_overrides_runpath=no
25722 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
25728 if test -d /usr/nec ;then
25730 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25731 soname_spec='$libname${shared_ext}.$major'
25732 shlibpath_var=LD_LIBRARY_PATH
25736 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25737 version_type=freebsd-elf
25740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25741 soname_spec='${libname}${release}${shared_ext}$major'
25742 shlibpath_var=LD_LIBRARY_PATH
25743 hardcode_into_libs=yes
25744 if test "$with_gnu_ld" = yes; then
25745 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25746 shlibpath_overrides_runpath=no
25748 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
25749 shlibpath_overrides_runpath=yes
25752 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
25756 sys_lib_dlsearch_path_spec='/usr/lib'
25761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25762 soname_spec='${libname}${release}${shared_ext}$major'
25763 shlibpath_var=LD_LIBRARY_PATH
25770 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25771 echo "${ECHO_T}$dynamic_linker" >&6; }
25772 test "$dynamic_linker" = no && can_build_shared=no
25774 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25775 if test "$GCC" = yes; then
25776 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25779 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25780 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25781 hardcode_action_GCJ=
25782 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25783 test -n "$runpath_var_GCJ" || \
25784 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25786 # We can hardcode non-existant directories.
25787 if test "$hardcode_direct_GCJ" != no &&
25788 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25789 # have to relink, otherwise we might link with an installed library
25790 # when we should be linking with a yet-to-be-installed one
25791 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25792 test "$hardcode_minus_L_GCJ" != no; then
25793 # Linking always hardcodes the temporary library directory.
25794 hardcode_action_GCJ=relink
25796 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25797 hardcode_action_GCJ=immediate
25800 # We cannot hardcode anything, or else we can only hardcode existing
25802 hardcode_action_GCJ=unsupported
25804 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25805 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25807 if test "$hardcode_action_GCJ" = relink; then
25808 # Fast installation is not supported
25809 enable_fast_install=no
25810 elif test "$shlibpath_overrides_runpath" = yes ||
25811 test "$enable_shared" = no; then
25812 # Fast installation is not necessary
25813 enable_fast_install=needless
25817 # The else clause should only fire when bootstrapping the
25818 # libtool distribution, otherwise you forgot to ship ltmain.sh
25819 # with your package, and you will get complaints that there are
25820 # no rules to generate ltmain.sh.
25821 if test -f "$ltmain"; then
25822 # See if we are running on zsh, and set the options which allow our commands through
25823 # without removal of \ escapes.
25824 if test -n "${ZSH_VERSION+set}" ; then
25825 setopt NO_GLOB_SUBST
25827 # Now quote all the things that may contain metacharacters while being
25828 # careful not to overquote the AC_SUBSTed values. We take copies of the
25829 # variables and quote the copies for generation of the libtool script.
25830 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25832 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25833 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25834 deplibs_check_method reload_flag reload_cmds need_locks \
25835 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25836 lt_cv_sys_global_symbol_to_c_name_address \
25837 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25838 old_postinstall_cmds old_postuninstall_cmds \
25842 lt_prog_compiler_wl_GCJ \
25843 lt_prog_compiler_pic_GCJ \
25844 lt_prog_compiler_static_GCJ \
25845 lt_prog_compiler_no_builtin_flag_GCJ \
25846 export_dynamic_flag_spec_GCJ \
25847 thread_safe_flag_spec_GCJ \
25848 whole_archive_flag_spec_GCJ \
25849 enable_shared_with_static_runtimes_GCJ \
25850 old_archive_cmds_GCJ \
25851 old_archive_from_new_cmds_GCJ \
25852 predep_objects_GCJ \
25853 postdep_objects_GCJ \
25856 compiler_lib_search_path_GCJ \
25858 archive_expsym_cmds_GCJ \
25859 postinstall_cmds_GCJ \
25860 postuninstall_cmds_GCJ \
25861 old_archive_from_expsyms_cmds_GCJ \
25862 allow_undefined_flag_GCJ \
25863 no_undefined_flag_GCJ \
25864 export_symbols_cmds_GCJ \
25865 hardcode_libdir_flag_spec_GCJ \
25866 hardcode_libdir_flag_spec_ld_GCJ \
25867 hardcode_libdir_separator_GCJ \
25868 hardcode_automatic_GCJ \
25870 module_expsym_cmds_GCJ \
25871 lt_cv_prog_compiler_c_o_GCJ \
25872 exclude_expsyms_GCJ \
25873 include_expsyms_GCJ; do
25876 old_archive_cmds_GCJ | \
25877 old_archive_from_new_cmds_GCJ | \
25878 archive_cmds_GCJ | \
25879 archive_expsym_cmds_GCJ | \
25880 module_cmds_GCJ | \
25881 module_expsym_cmds_GCJ | \
25882 old_archive_from_expsyms_cmds_GCJ | \
25883 export_symbols_cmds_GCJ | \
25884 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25885 postinstall_cmds | postuninstall_cmds | \
25886 old_postinstall_cmds | old_postuninstall_cmds | \
25887 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25888 # Double-quote double-evaled strings.
25889 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25892 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25898 *'\$0 --fallback-echo"')
25899 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25905 cat <<__EOF__ >> "$cfgfile"
25906 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25908 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25910 # Shell to use when invoking shell scripts.
25913 # Whether or not to build shared libraries.
25914 build_libtool_libs=$enable_shared
25916 # Whether or not to build static libraries.
25917 build_old_libs=$enable_static
25919 # Whether or not to add -lc for building shared libraries.
25920 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25922 # Whether or not to disallow shared libs when runtime libs are static
25923 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25925 # Whether or not to optimize for fast installation.
25926 fast_install=$enable_fast_install
25929 host_alias=$host_alias
25933 # The build system.
25934 build_alias=$build_alias
25938 # An echo program that does not interpret backslashes.
25943 AR_FLAGS=$lt_AR_FLAGS
25948 # LTCC compiler flags.
25949 LTCFLAGS=$lt_LTCFLAGS
25951 # A language-specific compiler.
25952 CC=$lt_compiler_GCJ
25954 # Is the compiler the GNU C compiler?
25960 # The linker used to build libraries.
25963 # Whether we need hard or soft links.
25966 # A BSD-compatible nm program.
25969 # A symbol stripping program
25972 # Used to examine libraries when file_magic_cmd begins "file"
25973 MAGIC_CMD=$MAGIC_CMD
25975 # Used on cygwin: DLL creation program.
25978 # Used on cygwin: object dumper.
25981 # Used on cygwin: assembler.
25984 # The name of the directory that contains temporary libtool files.
25987 # How to create reloadable object files.
25988 reload_flag=$lt_reload_flag
25989 reload_cmds=$lt_reload_cmds
25991 # How to pass a linker flag through the compiler.
25992 wl=$lt_lt_prog_compiler_wl_GCJ
25994 # Object file suffix (normally "o").
25995 objext="$ac_objext"
25997 # Old archive suffix (normally "a").
26000 # Shared library suffix (normally ".so").
26001 shrext_cmds='$shrext_cmds'
26003 # Executable file suffix (normally "").
26006 # Additional compiler flags for building library objects.
26007 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26010 # What is the maximum length of a command?
26011 max_cmd_len=$lt_cv_sys_max_cmd_len
26013 # Does compiler simultaneously support -c and -o options?
26014 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26016 # Must we lock files when doing compilation?
26017 need_locks=$lt_need_locks
26019 # Do we need the lib prefix for modules?
26020 need_lib_prefix=$need_lib_prefix
26022 # Do we need a version for libraries?
26023 need_version=$need_version
26025 # Whether dlopen is supported.
26026 dlopen_support=$enable_dlopen
26028 # Whether dlopen of programs is supported.
26029 dlopen_self=$enable_dlopen_self
26031 # Whether dlopen of statically linked programs is supported.
26032 dlopen_self_static=$enable_dlopen_self_static
26034 # Compiler flag to prevent dynamic linking.
26035 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26037 # Compiler flag to turn off builtin functions.
26038 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26040 # Compiler flag to allow reflexive dlopens.
26041 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26043 # Compiler flag to generate shared objects directly from archives.
26044 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26046 # Compiler flag to generate thread-safe objects.
26047 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26049 # Library versioning type.
26050 version_type=$version_type
26052 # Format of library name prefix.
26053 libname_spec=$lt_libname_spec
26055 # List of archive names. First name is the real one, the rest are links.
26056 # The last name is the one that the linker finds with -lNAME.
26057 library_names_spec=$lt_library_names_spec
26059 # The coded name of the library, if different from the real name.
26060 soname_spec=$lt_soname_spec
26062 # Commands used to build and install an old-style archive.
26064 old_archive_cmds=$lt_old_archive_cmds_GCJ
26065 old_postinstall_cmds=$lt_old_postinstall_cmds
26066 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26068 # Create an old-style archive from a shared archive.
26069 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26071 # Create a temporary old-style archive to link instead of a shared archive.
26072 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26074 # Commands used to build and install a shared archive.
26075 archive_cmds=$lt_archive_cmds_GCJ
26076 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26077 postinstall_cmds=$lt_postinstall_cmds
26078 postuninstall_cmds=$lt_postuninstall_cmds
26080 # Commands used to build a loadable module (assumed same as above if empty)
26081 module_cmds=$lt_module_cmds_GCJ
26082 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26084 # Commands to strip libraries.
26085 old_striplib=$lt_old_striplib
26086 striplib=$lt_striplib
26088 # Dependencies to place before the objects being linked to create a
26090 predep_objects=$lt_predep_objects_GCJ
26092 # Dependencies to place after the objects being linked to create a
26094 postdep_objects=$lt_postdep_objects_GCJ
26096 # Dependencies to place before the objects being linked to create a
26098 predeps=$lt_predeps_GCJ
26100 # Dependencies to place after the objects being linked to create a
26102 postdeps=$lt_postdeps_GCJ
26104 # The library search path used internally by the compiler when linking
26105 # a shared library.
26106 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26108 # Method to check whether dependent libraries are shared objects.
26109 deplibs_check_method=$lt_deplibs_check_method
26111 # Command to use when deplibs_check_method == file_magic.
26112 file_magic_cmd=$lt_file_magic_cmd
26114 # Flag that allows shared libraries with undefined symbols to be built.
26115 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26117 # Flag that forces no undefined symbols.
26118 no_undefined_flag=$lt_no_undefined_flag_GCJ
26120 # Commands used to finish a libtool library installation in a directory.
26121 finish_cmds=$lt_finish_cmds
26123 # Same as above, but a single script fragment to be evaled but not shown.
26124 finish_eval=$lt_finish_eval
26126 # Take the output of nm and produce a listing of raw symbols and C names.
26127 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26129 # Transform the output of nm in a proper C declaration
26130 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26132 # Transform the output of nm in a C name address pair
26133 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26135 # This is the shared library runtime path variable.
26136 runpath_var=$runpath_var
26138 # This is the shared library path variable.
26139 shlibpath_var=$shlibpath_var
26141 # Is shlibpath searched before the hard-coded library search path?
26142 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26144 # How to hardcode a shared library path into an executable.
26145 hardcode_action=$hardcode_action_GCJ
26147 # Whether we should hardcode library paths into libraries.
26148 hardcode_into_libs=$hardcode_into_libs
26150 # Flag to hardcode \$libdir into a binary during linking.
26151 # This must work even if \$libdir does not exist.
26152 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26154 # If ld is used when linking, flag to hardcode \$libdir into
26155 # a binary during linking. This must work even if \$libdir does
26157 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26159 # Whether we need a single -rpath flag with a separated argument.
26160 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26162 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26163 # resulting binary.
26164 hardcode_direct=$hardcode_direct_GCJ
26166 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26167 # resulting binary.
26168 hardcode_minus_L=$hardcode_minus_L_GCJ
26170 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26171 # the resulting binary.
26172 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26174 # Set to yes if building a shared library automatically hardcodes DIR into the library
26175 # and all subsequent libraries and executables linked against it.
26176 hardcode_automatic=$hardcode_automatic_GCJ
26178 # Variables whose values should be saved in libtool wrapper scripts and
26179 # restored at relink time.
26180 variables_saved_for_relink="$variables_saved_for_relink"
26182 # Whether libtool must link a program against all its dependency libraries.
26183 link_all_deplibs=$link_all_deplibs_GCJ
26185 # Compile-time system search path for libraries
26186 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26188 # Run-time system search path for libraries
26189 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26191 # Fix the shell variable \$srcfile for the compiler.
26192 fix_srcfile_path="$fix_srcfile_path_GCJ"
26194 # Set to yes if exported symbols are required.
26195 always_export_symbols=$always_export_symbols_GCJ
26197 # The commands to list exported symbols.
26198 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26200 # The commands to extract the exported symbol list from a shared archive.
26201 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26203 # Symbols that should not be listed in the preloaded symbols.
26204 exclude_expsyms=$lt_exclude_expsyms_GCJ
26206 # Symbols that must always be exported.
26207 include_expsyms=$lt_include_expsyms_GCJ
26209 # ### END LIBTOOL TAG CONFIG: $tagname
26215 # If there is no Makefile yet, we rely on a make rule to execute
26216 # `config.status --recheck' to rerun these tests and create the
26217 # libtool script then.
26218 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26219 if test -f "$ltmain_in"; then
26220 test -f Makefile && make "$ltmain"
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26241 # Source file extension for RC test sources.
26244 # Object file extension for compiled RC test sources.
26248 # Code to be used in simple compile tests
26249 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26251 # Code to be used in simple link tests
26252 lt_simple_link_test_code="$lt_simple_compile_test_code"
26254 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26256 # If no C compiler was specified, use CC.
26259 # If no C compiler flags were specified, use CFLAGS.
26260 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26262 # Allow CC to be a program name with arguments.
26266 # save warnings/boilerplate of simple test code
26267 ac_outfile=conftest.$ac_objext
26268 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
26269 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26270 _lt_compiler_boilerplate=`cat conftest.err`
26273 ac_outfile=conftest.$ac_objext
26274 printf "$lt_simple_link_test_code" >conftest.$ac_ext
26275 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26276 _lt_linker_boilerplate=`cat conftest.err`
26280 # Allow CC to be a program name with arguments.
26285 for cc_temp in $compiler""; do
26287 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26288 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26293 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26295 lt_cv_prog_compiler_c_o_RC=yes
26297 # The else clause should only fire when bootstrapping the
26298 # libtool distribution, otherwise you forgot to ship ltmain.sh
26299 # with your package, and you will get complaints that there are
26300 # no rules to generate ltmain.sh.
26301 if test -f "$ltmain"; then
26302 # See if we are running on zsh, and set the options which allow our commands through
26303 # without removal of \ escapes.
26304 if test -n "${ZSH_VERSION+set}" ; then
26305 setopt NO_GLOB_SUBST
26307 # Now quote all the things that may contain metacharacters while being
26308 # careful not to overquote the AC_SUBSTed values. We take copies of the
26309 # variables and quote the copies for generation of the libtool script.
26310 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26312 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26313 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26314 deplibs_check_method reload_flag reload_cmds need_locks \
26315 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26316 lt_cv_sys_global_symbol_to_c_name_address \
26317 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26318 old_postinstall_cmds old_postuninstall_cmds \
26322 lt_prog_compiler_wl_RC \
26323 lt_prog_compiler_pic_RC \
26324 lt_prog_compiler_static_RC \
26325 lt_prog_compiler_no_builtin_flag_RC \
26326 export_dynamic_flag_spec_RC \
26327 thread_safe_flag_spec_RC \
26328 whole_archive_flag_spec_RC \
26329 enable_shared_with_static_runtimes_RC \
26330 old_archive_cmds_RC \
26331 old_archive_from_new_cmds_RC \
26332 predep_objects_RC \
26333 postdep_objects_RC \
26336 compiler_lib_search_path_RC \
26338 archive_expsym_cmds_RC \
26339 postinstall_cmds_RC \
26340 postuninstall_cmds_RC \
26341 old_archive_from_expsyms_cmds_RC \
26342 allow_undefined_flag_RC \
26343 no_undefined_flag_RC \
26344 export_symbols_cmds_RC \
26345 hardcode_libdir_flag_spec_RC \
26346 hardcode_libdir_flag_spec_ld_RC \
26347 hardcode_libdir_separator_RC \
26348 hardcode_automatic_RC \
26350 module_expsym_cmds_RC \
26351 lt_cv_prog_compiler_c_o_RC \
26352 exclude_expsyms_RC \
26353 include_expsyms_RC; do
26356 old_archive_cmds_RC | \
26357 old_archive_from_new_cmds_RC | \
26358 archive_cmds_RC | \
26359 archive_expsym_cmds_RC | \
26361 module_expsym_cmds_RC | \
26362 old_archive_from_expsyms_cmds_RC | \
26363 export_symbols_cmds_RC | \
26364 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26365 postinstall_cmds | postuninstall_cmds | \
26366 old_postinstall_cmds | old_postuninstall_cmds | \
26367 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26368 # Double-quote double-evaled strings.
26369 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26372 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26378 *'\$0 --fallback-echo"')
26379 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26385 cat <<__EOF__ >> "$cfgfile"
26386 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26388 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26390 # Shell to use when invoking shell scripts.
26393 # Whether or not to build shared libraries.
26394 build_libtool_libs=$enable_shared
26396 # Whether or not to build static libraries.
26397 build_old_libs=$enable_static
26399 # Whether or not to add -lc for building shared libraries.
26400 build_libtool_need_lc=$archive_cmds_need_lc_RC
26402 # Whether or not to disallow shared libs when runtime libs are static
26403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26405 # Whether or not to optimize for fast installation.
26406 fast_install=$enable_fast_install
26409 host_alias=$host_alias
26413 # The build system.
26414 build_alias=$build_alias
26418 # An echo program that does not interpret backslashes.
26423 AR_FLAGS=$lt_AR_FLAGS
26428 # LTCC compiler flags.
26429 LTCFLAGS=$lt_LTCFLAGS
26431 # A language-specific compiler.
26434 # Is the compiler the GNU C compiler?
26440 # The linker used to build libraries.
26443 # Whether we need hard or soft links.
26446 # A BSD-compatible nm program.
26449 # A symbol stripping program
26452 # Used to examine libraries when file_magic_cmd begins "file"
26453 MAGIC_CMD=$MAGIC_CMD
26455 # Used on cygwin: DLL creation program.
26458 # Used on cygwin: object dumper.
26461 # Used on cygwin: assembler.
26464 # The name of the directory that contains temporary libtool files.
26467 # How to create reloadable object files.
26468 reload_flag=$lt_reload_flag
26469 reload_cmds=$lt_reload_cmds
26471 # How to pass a linker flag through the compiler.
26472 wl=$lt_lt_prog_compiler_wl_RC
26474 # Object file suffix (normally "o").
26475 objext="$ac_objext"
26477 # Old archive suffix (normally "a").
26480 # Shared library suffix (normally ".so").
26481 shrext_cmds='$shrext_cmds'
26483 # Executable file suffix (normally "").
26486 # Additional compiler flags for building library objects.
26487 pic_flag=$lt_lt_prog_compiler_pic_RC
26490 # What is the maximum length of a command?
26491 max_cmd_len=$lt_cv_sys_max_cmd_len
26493 # Does compiler simultaneously support -c and -o options?
26494 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26496 # Must we lock files when doing compilation?
26497 need_locks=$lt_need_locks
26499 # Do we need the lib prefix for modules?
26500 need_lib_prefix=$need_lib_prefix
26502 # Do we need a version for libraries?
26503 need_version=$need_version
26505 # Whether dlopen is supported.
26506 dlopen_support=$enable_dlopen
26508 # Whether dlopen of programs is supported.
26509 dlopen_self=$enable_dlopen_self
26511 # Whether dlopen of statically linked programs is supported.
26512 dlopen_self_static=$enable_dlopen_self_static
26514 # Compiler flag to prevent dynamic linking.
26515 link_static_flag=$lt_lt_prog_compiler_static_RC
26517 # Compiler flag to turn off builtin functions.
26518 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26520 # Compiler flag to allow reflexive dlopens.
26521 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26523 # Compiler flag to generate shared objects directly from archives.
26524 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26526 # Compiler flag to generate thread-safe objects.
26527 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26529 # Library versioning type.
26530 version_type=$version_type
26532 # Format of library name prefix.
26533 libname_spec=$lt_libname_spec
26535 # List of archive names. First name is the real one, the rest are links.
26536 # The last name is the one that the linker finds with -lNAME.
26537 library_names_spec=$lt_library_names_spec
26539 # The coded name of the library, if different from the real name.
26540 soname_spec=$lt_soname_spec
26542 # Commands used to build and install an old-style archive.
26544 old_archive_cmds=$lt_old_archive_cmds_RC
26545 old_postinstall_cmds=$lt_old_postinstall_cmds
26546 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26548 # Create an old-style archive from a shared archive.
26549 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26551 # Create a temporary old-style archive to link instead of a shared archive.
26552 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26554 # Commands used to build and install a shared archive.
26555 archive_cmds=$lt_archive_cmds_RC
26556 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26557 postinstall_cmds=$lt_postinstall_cmds
26558 postuninstall_cmds=$lt_postuninstall_cmds
26560 # Commands used to build a loadable module (assumed same as above if empty)
26561 module_cmds=$lt_module_cmds_RC
26562 module_expsym_cmds=$lt_module_expsym_cmds_RC
26564 # Commands to strip libraries.
26565 old_striplib=$lt_old_striplib
26566 striplib=$lt_striplib
26568 # Dependencies to place before the objects being linked to create a
26570 predep_objects=$lt_predep_objects_RC
26572 # Dependencies to place after the objects being linked to create a
26574 postdep_objects=$lt_postdep_objects_RC
26576 # Dependencies to place before the objects being linked to create a
26578 predeps=$lt_predeps_RC
26580 # Dependencies to place after the objects being linked to create a
26582 postdeps=$lt_postdeps_RC
26584 # The library search path used internally by the compiler when linking
26585 # a shared library.
26586 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26588 # Method to check whether dependent libraries are shared objects.
26589 deplibs_check_method=$lt_deplibs_check_method
26591 # Command to use when deplibs_check_method == file_magic.
26592 file_magic_cmd=$lt_file_magic_cmd
26594 # Flag that allows shared libraries with undefined symbols to be built.
26595 allow_undefined_flag=$lt_allow_undefined_flag_RC
26597 # Flag that forces no undefined symbols.
26598 no_undefined_flag=$lt_no_undefined_flag_RC
26600 # Commands used to finish a libtool library installation in a directory.
26601 finish_cmds=$lt_finish_cmds
26603 # Same as above, but a single script fragment to be evaled but not shown.
26604 finish_eval=$lt_finish_eval
26606 # Take the output of nm and produce a listing of raw symbols and C names.
26607 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26609 # Transform the output of nm in a proper C declaration
26610 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26612 # Transform the output of nm in a C name address pair
26613 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26615 # This is the shared library runtime path variable.
26616 runpath_var=$runpath_var
26618 # This is the shared library path variable.
26619 shlibpath_var=$shlibpath_var
26621 # Is shlibpath searched before the hard-coded library search path?
26622 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26624 # How to hardcode a shared library path into an executable.
26625 hardcode_action=$hardcode_action_RC
26627 # Whether we should hardcode library paths into libraries.
26628 hardcode_into_libs=$hardcode_into_libs
26630 # Flag to hardcode \$libdir into a binary during linking.
26631 # This must work even if \$libdir does not exist.
26632 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26634 # If ld is used when linking, flag to hardcode \$libdir into
26635 # a binary during linking. This must work even if \$libdir does
26637 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26639 # Whether we need a single -rpath flag with a separated argument.
26640 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26642 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26643 # resulting binary.
26644 hardcode_direct=$hardcode_direct_RC
26646 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26647 # resulting binary.
26648 hardcode_minus_L=$hardcode_minus_L_RC
26650 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26651 # the resulting binary.
26652 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26654 # Set to yes if building a shared library automatically hardcodes DIR into the library
26655 # and all subsequent libraries and executables linked against it.
26656 hardcode_automatic=$hardcode_automatic_RC
26658 # Variables whose values should be saved in libtool wrapper scripts and
26659 # restored at relink time.
26660 variables_saved_for_relink="$variables_saved_for_relink"
26662 # Whether libtool must link a program against all its dependency libraries.
26663 link_all_deplibs=$link_all_deplibs_RC
26665 # Compile-time system search path for libraries
26666 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26668 # Run-time system search path for libraries
26669 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26671 # Fix the shell variable \$srcfile for the compiler.
26672 fix_srcfile_path="$fix_srcfile_path_RC"
26674 # Set to yes if exported symbols are required.
26675 always_export_symbols=$always_export_symbols_RC
26677 # The commands to list exported symbols.
26678 export_symbols_cmds=$lt_export_symbols_cmds_RC
26680 # The commands to extract the exported symbol list from a shared archive.
26681 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26683 # Symbols that should not be listed in the preloaded symbols.
26684 exclude_expsyms=$lt_exclude_expsyms_RC
26686 # Symbols that must always be exported.
26687 include_expsyms=$lt_include_expsyms_RC
26689 # ### END LIBTOOL TAG CONFIG: $tagname
26695 # If there is no Makefile yet, we rely on a make rule to execute
26696 # `config.status --recheck' to rerun these tests and create the
26697 # libtool script then.
26698 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26699 if test -f "$ltmain_in"; then
26700 test -f Makefile && make "$ltmain"
26706 ac_cpp='$CPP $CPPFLAGS'
26707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26717 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26718 { (exit 1); exit 1; }; }
26722 # Append the new tag name to the list of available tags.
26723 if test -n "$tagname" ; then
26724 available_tags="$available_tags $tagname"
26730 # Now substitute the updated list of available tags.
26731 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26732 mv "${ofile}T" "$ofile"
26736 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26737 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26738 { (exit 1); exit 1; }; }
26744 # This can be used to rebuild libtool when needed
26745 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
26747 # Always use our own libtool.
26748 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
26750 # Prevent multiple expansion
26774 { echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26775 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6; }
26777 # Check whether --with-vrootdir was given.
26778 if test "${with_vrootdir+set}" = set; then
26779 withval=$with_vrootdir; case "$withval" in
26780 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26781 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26782 { (exit 1); exit 1; }; };;
26783 *) ensc_uv_path_vrootdir=$withval;;
26786 ensc_uv_path_vrootdir=/vservers
26789 { echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26790 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6; }
26792 if test x"vserverdir" != x; then
26793 vserverdir=$ensc_uv_path_vrootdir
26798 for ac_prog in svn2cl
26800 # Extract the first word of "$ac_prog", so it can be a program name with args.
26801 set dummy $ac_prog; ac_word=$2
26802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26804 if test "${ac_cv_prog_SVN2CL+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 if test -n "$SVN2CL"; then
26808 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
26810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26811 for as_dir in $PATH
26814 test -z "$as_dir" && as_dir=.
26815 for ac_exec_ext in '' $ac_executable_extensions; do
26816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26817 ac_cv_prog_SVN2CL="$ac_prog"
26818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26827 SVN2CL=$ac_cv_prog_SVN2CL
26828 if test -n "$SVN2CL"; then
26829 { echo "$as_me:$LINENO: result: $SVN2CL" >&5
26830 echo "${ECHO_T}$SVN2CL" >&6; }
26832 { echo "$as_me:$LINENO: result: no" >&5
26833 echo "${ECHO_T}no" >&6; }
26837 test -n "$SVN2CL" && break
26840 if test x"$SVN2CL" != x; then
26842 HAVE_SVN2CL_FALSE='#'
26844 HAVE_SVN2CL_TRUE='#'
26851 { echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26852 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6; }
26853 # Check whether --enable-internal-headers was given.
26854 if test "${enable_internal_headers+set}" = set; then
26855 enableval=$enable_internal_headers; case "$enableval" in
26857 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26858 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26859 { (exit 1); exit 1; }; };;
26862 enable_internal_headers=yes
26866 if test x"$enable_internal_headers" = xyes; then
26867 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26868 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26870 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26871 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26874 { echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26875 echo "${ECHO_T}$enable_internal_headers" >&6; }
26904 { echo "$as_me:$LINENO: checking for supported APIs" >&5
26905 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6; }
26906 # Check whether --enable-apis was given.
26907 if test "${enable_apis+set}" = set; then
26908 enableval=$enable_apis;
26910 enable_apis=v13,net,v21,v22,v23,netv2
26914 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2'
26915 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2'
26916 enable_api_oldproc=
26921 for i in $enable_apis; do
26923 (compat) cat >>confdefs.h <<\_ACEOF
26924 #define VC_ENABLE_API_COMPAT 1
26927 enable_api_oldproc=${enable_api_oldproc:-1}
26928 enable_api_olduts=${enable_api_olduts:-1}
26930 (legacy) cat >>confdefs.h <<\_ACEOF
26931 #define VC_ENABLE_API_LEGACY 1
26934 enable_api_oldproc=${enable_api_oldproc:-1}
26935 enable_api_olduts=${enable_api_olduts:-1}
26937 (v11) cat >>confdefs.h <<\_ACEOF
26938 #define VC_ENABLE_API_V11 1
26941 enable_api_oldproc=${enable_api_oldproc:-1}
26942 enable_api_olduts=${enable_api_olduts:-1}
26944 (fscompat) cat >>confdefs.h <<\_ACEOF
26945 #define VC_ENABLE_API_FSCOMPAT 1
26948 (v13obs) cat >>confdefs.h <<\_ACEOF
26949 #define VC_ENABLE_API_V13OBS 1
26952 cat >>confdefs.h <<\_ACEOF
26953 #define VC_ENABLE_API_V13 1
26956 (v13) cat >>confdefs.h <<\_ACEOF
26957 #define VC_ENABLE_API_V13 1
26960 (net) cat >>confdefs.h <<\_ACEOF
26961 #define VC_ENABLE_API_NET 1
26964 (v21) cat >>confdefs.h <<\_ACEOF
26965 #define VC_ENABLE_API_V21 1
26968 (v22) cat >>confdefs.h <<\_ACEOF
26969 #define VC_ENABLE_API_V22 1
26972 (v23) cat >>confdefs.h <<\_ACEOF
26973 #define VC_ENABLE_API_V23 1
26976 (netv2) cat >>confdefs.h <<\_ACEOF
26977 #define VC_ENABLE_API_NETV2 1
26980 (oldproc) enable_api_oldproc=2;;
26981 (olduts) enable_api_olduts=2;;
26982 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
26983 echo "$as_me: error: '$i' is not a supported API" >&2;}
26984 { (exit 1); exit 1; }; };;
26988 if test x"$enable_api_oldproc" != x; then
26989 cat >>confdefs.h <<\_ACEOF
26990 #define VC_ENABLE_API_OLDPROC 1
26993 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
26995 if test x"$enable_api_olduts" != x; then
26996 cat >>confdefs.h <<\_ACEOF
26997 #define VC_ENABLE_API_OLDUTS 1
27000 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
27002 { echo "$as_me:$LINENO: result: $enable_apis" >&5
27003 echo "${ECHO_T}$enable_apis" >&6; }
27009 ac_cpp='$CXXCPP $CPPFLAGS'
27010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27014 { echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
27015 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6; }
27016 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 cat >conftest.$ac_ext <<_ACEOF
27023 cat confdefs.h >>conftest.$ac_ext
27024 cat >>conftest.$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 #include <ext2fs/ext2_fs.h>
27027 int main() { return 0; }
27029 rm -f conftest.$ac_objext
27030 if { (ac_try="$ac_compile"
27031 case "(($ac_try" in
27032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27033 *) ac_try_echo=$ac_try;;
27035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27036 (eval "$ac_compile") 2>conftest.er1
27038 grep -v '^ *+' conftest.er1 >conftest.err
27040 cat conftest.err >&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); } && {
27043 test -z "$ac_cxx_werror_flag" ||
27044 test ! -s conftest.err
27045 } && test -s conftest.$ac_objext; then
27046 ensc_cv_test_ext2fs_header=e2fsprogs
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.$ac_ext >&5
27052 cat >conftest.$ac_ext <<_ACEOF
27055 cat confdefs.h >>conftest.$ac_ext
27056 cat >>conftest.$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27058 #include <linux/ext2_fs.h>
27059 int main() { return 0; }
27061 rm -f conftest.$ac_objext
27062 if { (ac_try="$ac_compile"
27063 case "(($ac_try" in
27064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27065 *) ac_try_echo=$ac_try;;
27067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27068 (eval "$ac_compile") 2>conftest.er1
27070 grep -v '^ *+' conftest.er1 >conftest.err
27072 cat conftest.err >&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } && {
27075 test -z "$ac_cxx_werror_flag" ||
27076 test ! -s conftest.err
27077 } && test -s conftest.$ac_objext; then
27078 ensc_cv_test_ext2fs_header=kernel
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27084 ensc_cv_test_ext2fs_header=none
27087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 { echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
27093 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6; }
27095 case x"$ensc_cv_test_ext2fs_header" in
27097 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27098 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27099 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27100 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27101 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27104 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27106 # Is the header compilable?
27107 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
27108 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6; }
27109 cat >conftest.$ac_ext <<_ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27115 $ac_includes_default
27116 #include <ext2fs/ext2_fs.h>
27118 rm -f conftest.$ac_objext
27119 if { (ac_try="$ac_compile"
27120 case "(($ac_try" in
27121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_compile") 2>conftest.er1
27127 grep -v '^ *+' conftest.er1 >conftest.err
27129 cat conftest.err >&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); } && {
27132 test -z "$ac_cxx_werror_flag" ||
27133 test ! -s conftest.err
27134 } && test -s conftest.$ac_objext; then
27135 ac_header_compiler=yes
27137 echo "$as_me: failed program was:" >&5
27138 sed 's/^/| /' conftest.$ac_ext >&5
27140 ac_header_compiler=no
27143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27144 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27145 echo "${ECHO_T}$ac_header_compiler" >&6; }
27147 # Is the header present?
27148 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
27149 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6; }
27150 cat >conftest.$ac_ext <<_ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <ext2fs/ext2_fs.h>
27158 if { (ac_try="$ac_cpp conftest.$ac_ext"
27159 case "(($ac_try" in
27160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27161 *) ac_try_echo=$ac_try;;
27163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27166 grep -v '^ *+' conftest.er1 >conftest.err
27168 cat conftest.err >&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); } >/dev/null && {
27171 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27172 test ! -s conftest.err
27174 ac_header_preproc=yes
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27179 ac_header_preproc=no
27182 rm -f conftest.err conftest.$ac_ext
27183 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27184 echo "${ECHO_T}$ac_header_preproc" >&6; }
27186 # So? What about this header?
27187 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27189 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27190 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27191 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
27192 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
27193 ac_header_preproc=yes
27196 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
27197 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
27198 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
27199 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27200 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
27201 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
27202 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27203 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
27205 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27206 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
27207 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27209 ## --------------------------------------------- ##
27210 ## Report this to vserver@list.linux-vserver.org ##
27211 ## --------------------------------------------- ##
27213 ) | sed "s/^/$as_me: WARNING: /" >&2
27216 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27217 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27218 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
27223 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27224 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27227 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
27229 cat >>confdefs.h <<\_ACEOF
27230 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
27234 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27235 See \`config.log' for more details." >&5
27236 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27237 See \`config.log' for more details." >&2;}
27238 { (exit 1); exit 1; }; }
27244 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27245 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27246 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27247 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27248 echo $ECHO_N "(cached) $ECHO_C" >&6
27250 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27251 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27253 # Is the header compilable?
27254 { echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
27255 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6; }
27256 cat >conftest.$ac_ext <<_ACEOF
27259 cat confdefs.h >>conftest.$ac_ext
27260 cat >>conftest.$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262 $ac_includes_default
27263 #include <linux/ext2_fs.h>
27265 rm -f conftest.$ac_objext
27266 if { (ac_try="$ac_compile"
27267 case "(($ac_try" in
27268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27269 *) ac_try_echo=$ac_try;;
27271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27272 (eval "$ac_compile") 2>conftest.er1
27274 grep -v '^ *+' conftest.er1 >conftest.err
27276 cat conftest.err >&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); } && {
27279 test -z "$ac_cxx_werror_flag" ||
27280 test ! -s conftest.err
27281 } && test -s conftest.$ac_objext; then
27282 ac_header_compiler=yes
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.$ac_ext >&5
27287 ac_header_compiler=no
27290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27291 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27292 echo "${ECHO_T}$ac_header_compiler" >&6; }
27294 # Is the header present?
27295 { echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
27296 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6; }
27297 cat >conftest.$ac_ext <<_ACEOF
27300 cat confdefs.h >>conftest.$ac_ext
27301 cat >>conftest.$ac_ext <<_ACEOF
27302 /* end confdefs.h. */
27303 #include <linux/ext2_fs.h>
27305 if { (ac_try="$ac_cpp conftest.$ac_ext"
27306 case "(($ac_try" in
27307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27308 *) ac_try_echo=$ac_try;;
27310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27313 grep -v '^ *+' conftest.er1 >conftest.err
27315 cat conftest.err >&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } >/dev/null && {
27318 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27319 test ! -s conftest.err
27321 ac_header_preproc=yes
27323 echo "$as_me: failed program was:" >&5
27324 sed 's/^/| /' conftest.$ac_ext >&5
27326 ac_header_preproc=no
27329 rm -f conftest.err conftest.$ac_ext
27330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27331 echo "${ECHO_T}$ac_header_preproc" >&6; }
27333 # So? What about this header?
27334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27336 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27337 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27338 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
27339 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
27340 ac_header_preproc=yes
27343 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
27344 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
27345 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
27346 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27347 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
27348 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
27349 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27350 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27351 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
27352 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27353 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
27354 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27356 ## --------------------------------------------- ##
27357 ## Report this to vserver@list.linux-vserver.org ##
27358 ## --------------------------------------------- ##
27360 ) | sed "s/^/$as_me: WARNING: /" >&2
27363 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27364 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27365 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27366 echo $ECHO_N "(cached) $ECHO_C" >&6
27368 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
27370 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27371 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27374 if test $ac_cv_header_linux_ext2_fs_h = yes; then
27376 cat >>confdefs.h <<\_ACEOF
27377 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
27381 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
27382 See \`config.log' for more details." >&5
27383 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
27384 See \`config.log' for more details." >&2;}
27385 { (exit 1); exit 1; }; }
27391 { { echo "$as_me:$LINENO: error:
27392 ext2fs headers were not found, or they are not usable. This can have
27393 the following reasons:
27395 * you have neither the e2fsprogs nor the kernel headers installed
27397 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27398 and you do not have e2fsprogs headers installed; please try to install
27399 - e2fsprogs-devel (for Red Hat), or
27400 - lib*ext2fs2-devel (for Mandriva), or
27401 - e2fslibs-dev (for Debian)
27404 * kernel headers are broken and your e2fsprogs headers are too old;
27405 until version 1.27 (inclusive), they are using reserved C++ keywords
27407 * kernel headers are broken and your e2fsprogs headers are too new;
27408 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27409 C++, for details and a solution see
27410 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27413 In the latter two cases you have the following options:
27414 * fix the headers manually, or
27415 * install a stable version of e2fsprogs (e.g. 1.34), or
27416 * use good kernel headers (from linux 2.4.x)
27418 See \`config.log' for more details." >&5
27419 echo "$as_me: error:
27420 ext2fs headers were not found, or they are not usable. This can have
27421 the following reasons:
27423 * you have neither the e2fsprogs nor the kernel headers installed
27425 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27426 and you do not have e2fsprogs headers installed; please try to install
27427 - e2fsprogs-devel (for Red Hat), or
27428 - lib*ext2fs2-devel (for Mandriva), or
27429 - e2fslibs-dev (for Debian)
27432 * kernel headers are broken and your e2fsprogs headers are too old;
27433 until version 1.27 (inclusive), they are using reserved C++ keywords
27435 * kernel headers are broken and your e2fsprogs headers are too new;
27436 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27437 C++, for details and a solution see
27438 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27441 In the latter two cases you have the following options:
27442 * fix the headers manually, or
27443 * install a stable version of e2fsprogs (e.g. 1.34), or
27444 * use good kernel headers (from linux 2.4.x)
27446 See \`config.log' for more details." >&2;}
27447 { (exit 1); exit 1; }; }
27451 ac_cpp='$CPP $CPPFLAGS'
27452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27458 for ac_func in vserver
27460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27464 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 cat >conftest.$ac_ext <<_ACEOF
27469 cat confdefs.h >>conftest.$ac_ext
27470 cat >>conftest.$ac_ext <<_ACEOF
27471 /* end confdefs.h. */
27472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27474 #define $ac_func innocuous_$ac_func
27476 /* System header to define __stub macros and hopefully few prototypes,
27477 which can conflict with char $ac_func (); below.
27478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27479 <limits.h> exists even on freestanding compilers. */
27482 # include <limits.h>
27484 # include <assert.h>
27489 /* Override any GCC internal prototype to avoid an error.
27490 Use char because int might match the return type of a GCC
27491 builtin and then its argument prototype would still apply. */
27496 /* The GNU C library defines this for functions which it implements
27497 to always fail with ENOSYS. Some functions are actually named
27498 something starting with __ and the normal name is an alias. */
27499 #if defined __stub_$ac_func || defined __stub___$ac_func
27506 return $ac_func ();
27511 rm -f conftest.$ac_objext conftest$ac_exeext
27512 if { (ac_try="$ac_link"
27513 case "(($ac_try" in
27514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27515 *) ac_try_echo=$ac_try;;
27517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27518 (eval "$ac_link") 2>conftest.er1
27520 grep -v '^ *+' conftest.er1 >conftest.err
27522 cat conftest.err >&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } && {
27525 test -z "$ac_c_werror_flag" ||
27526 test ! -s conftest.err
27527 } && test -s conftest$ac_exeext &&
27528 $as_test_x conftest$ac_exeext; then
27529 eval "$as_ac_var=yes"
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.$ac_ext >&5
27534 eval "$as_ac_var=no"
27537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27538 conftest$ac_exeext conftest.$ac_ext
27540 ac_res=`eval echo '${'$as_ac_var'}'`
27541 { echo "$as_me:$LINENO: result: $ac_res" >&5
27542 echo "${ECHO_T}$ac_res" >&6; }
27543 if test `eval echo '${'$as_ac_var'}'` = yes; then
27544 cat >>confdefs.h <<_ACEOF
27545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27551 { echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27552 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6; }
27553 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 cat >conftest.$ac_ext <<_ACEOF
27559 cat confdefs.h >>conftest.$ac_ext
27560 cat >>conftest.$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27562 #include <linux/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_c_werror_flag" ||
27590 test ! -s conftest.err
27591 } && test -s conftest.$ac_objext; then
27592 ac_cv_have_decl_MS_MOVE=yes
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27597 ac_cv_have_decl_MS_MOVE=no
27600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27602 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27603 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6; }
27604 if test $ac_cv_have_decl_MS_MOVE = yes; then
27606 cat >>confdefs.h <<_ACEOF
27607 #define HAVE_DECL_MS_MOVE 1
27612 cat >>confdefs.h <<_ACEOF
27613 #define HAVE_DECL_MS_MOVE 0
27620 { echo "$as_me:$LINENO: checking for xid_t" >&5
27621 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6; }
27622 if test "${ac_cv_type_xid_t+set}" = set; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27625 cat >conftest.$ac_ext <<_ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 #include <sys/types.h>
27633 typedef xid_t ac__type_new_;
27637 if ((ac__type_new_ *) 0)
27639 if (sizeof (ac__type_new_))
27645 rm -f conftest.$ac_objext
27646 if { (ac_try="$ac_compile"
27647 case "(($ac_try" in
27648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27649 *) ac_try_echo=$ac_try;;
27651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27652 (eval "$ac_compile") 2>conftest.er1
27654 grep -v '^ *+' conftest.er1 >conftest.err
27656 cat conftest.err >&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } && {
27659 test -z "$ac_c_werror_flag" ||
27660 test ! -s conftest.err
27661 } && test -s conftest.$ac_objext; then
27662 ac_cv_type_xid_t=yes
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.$ac_ext >&5
27667 ac_cv_type_xid_t=no
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27672 { echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27673 echo "${ECHO_T}$ac_cv_type_xid_t" >&6; }
27674 if test $ac_cv_type_xid_t = yes; then
27676 cat >>confdefs.h <<_ACEOF
27677 #define HAVE_XID_T 1
27683 { echo "$as_me:$LINENO: checking for nid_t" >&5
27684 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6; }
27685 if test "${ac_cv_type_nid_t+set}" = set; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 cat >conftest.$ac_ext <<_ACEOF
27691 cat confdefs.h >>conftest.$ac_ext
27692 cat >>conftest.$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27694 #include <sys/types.h>
27696 typedef nid_t ac__type_new_;
27700 if ((ac__type_new_ *) 0)
27702 if (sizeof (ac__type_new_))
27708 rm -f conftest.$ac_objext
27709 if { (ac_try="$ac_compile"
27710 case "(($ac_try" in
27711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27712 *) ac_try_echo=$ac_try;;
27714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27715 (eval "$ac_compile") 2>conftest.er1
27717 grep -v '^ *+' conftest.er1 >conftest.err
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } && {
27722 test -z "$ac_c_werror_flag" ||
27723 test ! -s conftest.err
27724 } && test -s conftest.$ac_objext; then
27725 ac_cv_type_nid_t=yes
27727 echo "$as_me: failed program was:" >&5
27728 sed 's/^/| /' conftest.$ac_ext >&5
27730 ac_cv_type_nid_t=no
27733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27735 { echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27736 echo "${ECHO_T}$ac_cv_type_nid_t" >&6; }
27737 if test $ac_cv_type_nid_t = yes; then
27739 cat >>confdefs.h <<_ACEOF
27740 #define HAVE_NID_T 1
27746 { echo "$as_me:$LINENO: checking for tag_t" >&5
27747 echo $ECHO_N "checking for tag_t... $ECHO_C" >&6; }
27748 if test "${ac_cv_type_tag_t+set}" = set; then
27749 echo $ECHO_N "(cached) $ECHO_C" >&6
27751 cat >conftest.$ac_ext <<_ACEOF
27754 cat confdefs.h >>conftest.$ac_ext
27755 cat >>conftest.$ac_ext <<_ACEOF
27756 /* end confdefs.h. */
27757 #include <sys/types.h>
27759 typedef tag_t ac__type_new_;
27763 if ((ac__type_new_ *) 0)
27765 if (sizeof (ac__type_new_))
27771 rm -f conftest.$ac_objext
27772 if { (ac_try="$ac_compile"
27773 case "(($ac_try" in
27774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27775 *) ac_try_echo=$ac_try;;
27777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27778 (eval "$ac_compile") 2>conftest.er1
27780 grep -v '^ *+' conftest.er1 >conftest.err
27782 cat conftest.err >&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); } && {
27785 test -z "$ac_c_werror_flag" ||
27786 test ! -s conftest.err
27787 } && test -s conftest.$ac_objext; then
27788 ac_cv_type_tag_t=yes
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27793 ac_cv_type_tag_t=no
27796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 { echo "$as_me:$LINENO: result: $ac_cv_type_tag_t" >&5
27799 echo "${ECHO_T}$ac_cv_type_tag_t" >&6; }
27800 if test $ac_cv_type_tag_t = yes; then
27802 cat >>confdefs.h <<_ACEOF
27803 #define HAVE_TAG_T 1
27811 for ac_header in sys/capability.h
27813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27814 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 ac_res=`eval echo '${'$as_ac_Header'}'`
27821 { echo "$as_me:$LINENO: result: $ac_res" >&5
27822 echo "${ECHO_T}$ac_res" >&6; }
27824 # Is the header compilable?
27825 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
27826 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27827 cat >conftest.$ac_ext <<_ACEOF
27830 cat confdefs.h >>conftest.$ac_ext
27831 cat >>conftest.$ac_ext <<_ACEOF
27832 /* end confdefs.h. */
27833 $ac_includes_default
27834 #include <$ac_header>
27836 rm -f conftest.$ac_objext
27837 if { (ac_try="$ac_compile"
27838 case "(($ac_try" in
27839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27840 *) ac_try_echo=$ac_try;;
27842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27843 (eval "$ac_compile") 2>conftest.er1
27845 grep -v '^ *+' conftest.er1 >conftest.err
27847 cat conftest.err >&5
27848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27849 (exit $ac_status); } && {
27850 test -z "$ac_c_werror_flag" ||
27851 test ! -s conftest.err
27852 } && test -s conftest.$ac_objext; then
27853 ac_header_compiler=yes
27855 echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 ac_header_compiler=no
27861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27862 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27863 echo "${ECHO_T}$ac_header_compiler" >&6; }
27865 # Is the header present?
27866 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
27867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27868 cat >conftest.$ac_ext <<_ACEOF
27871 cat confdefs.h >>conftest.$ac_ext
27872 cat >>conftest.$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27874 #include <$ac_header>
27876 if { (ac_try="$ac_cpp conftest.$ac_ext"
27877 case "(($ac_try" in
27878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27879 *) ac_try_echo=$ac_try;;
27881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27884 grep -v '^ *+' conftest.er1 >conftest.err
27886 cat conftest.err >&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); } >/dev/null && {
27889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27890 test ! -s conftest.err
27892 ac_header_preproc=yes
27894 echo "$as_me: failed program was:" >&5
27895 sed 's/^/| /' conftest.$ac_ext >&5
27897 ac_header_preproc=no
27900 rm -f conftest.err conftest.$ac_ext
27901 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27902 echo "${ECHO_T}$ac_header_preproc" >&6; }
27904 # So? What about this header?
27905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27911 ac_header_preproc=yes
27914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27927 ## --------------------------------------------- ##
27928 ## Report this to vserver@list.linux-vserver.org ##
27929 ## --------------------------------------------- ##
27931 ) | sed "s/^/$as_me: WARNING: /" >&2
27934 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 eval "$as_ac_Header=\$ac_header_preproc"
27941 ac_res=`eval echo '${'$as_ac_Header'}'`
27942 { echo "$as_me:$LINENO: result: $ac_res" >&5
27943 echo "${ECHO_T}$ac_res" >&6; }
27946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27947 cat >>confdefs.h <<_ACEOF
27948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27956 if test x"$ensc_have_dietlibc" = xno; then
27957 { echo "$as_me:$LINENO: checking for openpty" >&5
27958 echo $ECHO_N "checking for openpty... $ECHO_C" >&6; }
27959 if test "${ac_cv_func_openpty+set}" = set; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27962 cat >conftest.$ac_ext <<_ACEOF
27965 cat confdefs.h >>conftest.$ac_ext
27966 cat >>conftest.$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
27969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27970 #define openpty innocuous_openpty
27972 /* System header to define __stub macros and hopefully few prototypes,
27973 which can conflict with char openpty (); below.
27974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27975 <limits.h> exists even on freestanding compilers. */
27978 # include <limits.h>
27980 # include <assert.h>
27985 /* Override any GCC internal prototype to avoid an error.
27986 Use char because int might match the return type of a GCC
27987 builtin and then its argument prototype would still apply. */
27992 /* The GNU C library defines this for functions which it implements
27993 to always fail with ENOSYS. Some functions are actually named
27994 something starting with __ and the normal name is an alias. */
27995 #if defined __stub_openpty || defined __stub___openpty
28007 rm -f conftest.$ac_objext conftest$ac_exeext
28008 if { (ac_try="$ac_link"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_link") 2>conftest.er1
28016 grep -v '^ *+' conftest.er1 >conftest.err
28018 cat conftest.err >&5
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); } && {
28021 test -z "$ac_c_werror_flag" ||
28022 test ! -s conftest.err
28023 } && test -s conftest$ac_exeext &&
28024 $as_test_x conftest$ac_exeext; then
28025 ac_cv_func_openpty=yes
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28030 ac_cv_func_openpty=no
28033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28034 conftest$ac_exeext conftest.$ac_ext
28036 { echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
28037 echo "${ECHO_T}$ac_cv_func_openpty" >&6; }
28038 if test $ac_cv_func_openpty = yes; then
28042 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
28043 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
28044 if test "${ac_cv_lib_util_openpty+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28047 ac_check_lib_save_LIBS=$LIBS
28048 LIBS="-lutil $LIBS"
28049 cat >conftest.$ac_ext <<_ACEOF
28052 cat confdefs.h >>conftest.$ac_ext
28053 cat >>conftest.$ac_ext <<_ACEOF
28054 /* end confdefs.h. */
28056 /* Override any GCC internal prototype to avoid an error.
28057 Use char because int might match the return type of a GCC
28058 builtin and then its argument prototype would still apply. */
28071 rm -f conftest.$ac_objext conftest$ac_exeext
28072 if { (ac_try="$ac_link"
28073 case "(($ac_try" in
28074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28075 *) ac_try_echo=$ac_try;;
28077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28078 (eval "$ac_link") 2>conftest.er1
28080 grep -v '^ *+' conftest.er1 >conftest.err
28082 cat conftest.err >&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } && {
28085 test -z "$ac_c_werror_flag" ||
28086 test ! -s conftest.err
28087 } && test -s conftest$ac_exeext &&
28088 $as_test_x conftest$ac_exeext; then
28089 ac_cv_lib_util_openpty=yes
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28094 ac_cv_lib_util_openpty=no
28097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28098 conftest$ac_exeext conftest.$ac_ext
28099 LIBS=$ac_check_lib_save_LIBS
28101 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
28102 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
28103 if test $ac_cv_lib_util_openpty = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105 #define HAVE_LIBUTIL 1
28108 LIBS="-lutil $LIBS"
28111 { { echo "$as_me:$LINENO: error:
28113 **** openpty could not be found
28115 echo "$as_me: error:
28117 **** openpty could not be found
28119 { (exit 1); exit 1; }; }
28127 if test x"$ensc_cv_c99_c99compiler" = xyes; then
28128 ensc_have_beecrypt=yes
28130 if test x"$ensc_have_beecrypt" = xyes; then
28131 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28132 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28133 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28134 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28135 echo $ECHO_N "(cached) $ECHO_C" >&6
28137 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28138 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28140 # Is the header compilable?
28141 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
28142 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6; }
28143 cat >conftest.$ac_ext <<_ACEOF
28146 cat confdefs.h >>conftest.$ac_ext
28147 cat >>conftest.$ac_ext <<_ACEOF
28148 /* end confdefs.h. */
28149 $ac_includes_default
28150 #include <beecrypt/beecrypt.h>
28152 rm -f conftest.$ac_objext
28153 if { (ac_try="$ac_compile"
28154 case "(($ac_try" in
28155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28156 *) ac_try_echo=$ac_try;;
28158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28159 (eval "$ac_compile") 2>conftest.er1
28161 grep -v '^ *+' conftest.er1 >conftest.err
28163 cat conftest.err >&5
28164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 (exit $ac_status); } && {
28166 test -z "$ac_c_werror_flag" ||
28167 test ! -s conftest.err
28168 } && test -s conftest.$ac_objext; then
28169 ac_header_compiler=yes
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28174 ac_header_compiler=no
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28179 echo "${ECHO_T}$ac_header_compiler" >&6; }
28181 # Is the header present?
28182 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
28183 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6; }
28184 cat >conftest.$ac_ext <<_ACEOF
28187 cat confdefs.h >>conftest.$ac_ext
28188 cat >>conftest.$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28190 #include <beecrypt/beecrypt.h>
28192 if { (ac_try="$ac_cpp conftest.$ac_ext"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28200 grep -v '^ *+' conftest.er1 >conftest.err
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } >/dev/null && {
28205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28208 ac_header_preproc=yes
28210 echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28213 ac_header_preproc=no
28216 rm -f conftest.err conftest.$ac_ext
28217 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28218 echo "${ECHO_T}$ac_header_preproc" >&6; }
28220 # So? What about this header?
28221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28223 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
28224 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28225 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
28226 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
28227 ac_header_preproc=yes
28230 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
28231 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
28232 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
28233 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
28234 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
28235 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
28236 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
28237 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
28238 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
28239 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
28240 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
28241 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
28243 ## --------------------------------------------- ##
28244 ## Report this to vserver@list.linux-vserver.org ##
28245 ## --------------------------------------------- ##
28247 ) | sed "s/^/$as_me: WARNING: /" >&2
28250 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28251 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28252 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28253 echo $ECHO_N "(cached) $ECHO_C" >&6
28255 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
28257 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28258 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28261 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
28264 ensc_have_beecrypt=no
28270 if test x"$ensc_have_beecrypt" = xyes; then
28271 { echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
28272 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6; }
28273 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28276 ac_check_lib_save_LIBS=$LIBS
28277 LIBS="-lbeecrypt $LIBS"
28278 cat >conftest.$ac_ext <<_ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28285 /* Override any GCC internal prototype to avoid an error.
28286 Use char because int might match the return type of a GCC
28287 builtin and then its argument prototype would still apply. */
28291 char hashFunctionContextInit ();
28295 return hashFunctionContextInit ();
28300 rm -f conftest.$ac_objext conftest$ac_exeext
28301 if { (ac_try="$ac_link"
28302 case "(($ac_try" in
28303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28304 *) ac_try_echo=$ac_try;;
28306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28307 (eval "$ac_link") 2>conftest.er1
28309 grep -v '^ *+' conftest.er1 >conftest.err
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } && {
28314 test -z "$ac_c_werror_flag" ||
28315 test ! -s conftest.err
28316 } && test -s conftest$ac_exeext &&
28317 $as_test_x conftest$ac_exeext; then
28318 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28323 ac_cv_lib_beecrypt_hashFunctionContextInit=no
28326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28327 conftest$ac_exeext conftest.$ac_ext
28328 LIBS=$ac_check_lib_save_LIBS
28330 { echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
28331 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6; }
28332 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
28335 ensc_have_beecrypt=no
28340 if test x"$ensc_have_beecrypt" != xyes; then
28341 { echo "$as_me:$LINENO: WARNING:
28343 **** 'beecrypt' could not be found;
28344 **** this will disable the build of 'vhashify'
28346 echo "$as_me: WARNING:
28348 **** 'beecrypt' could not be found;
28349 **** this will disable the build of 'vhashify'
28353 ensc_have_beecrypt=no
28356 if test x"$ensc_have_beecrypt" = xyes; then
28357 ENSC_HAVE_BEECRYPT_TRUE=
28358 ENSC_HAVE_BEECRYPT_FALSE='#'
28360 ENSC_HAVE_BEECRYPT_TRUE='#'
28361 ENSC_HAVE_BEECRYPT_FALSE=
28365 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
28366 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
28368 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
28369 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
28374 ensc_have_libnl=yes
28375 LIBNL_ROOT=`readlink -f ../libnl*/`
28376 if test -d "$LIBNL_ROOT"; then
28377 CFLAGS="$CFLAGS -I ${LIBNL_ROOT}/include"
28378 LDFLAGS="$LDFLAGS -L${LIBNL_ROOT}/lib"
28381 if test x"$ensc_have_libnl" = xyes; then
28384 for ac_header in asm/types.h stdint.h
28386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28391 echo $ECHO_N "(cached) $ECHO_C" >&6
28393 ac_res=`eval echo '${'$as_ac_Header'}'`
28394 { echo "$as_me:$LINENO: result: $ac_res" >&5
28395 echo "${ECHO_T}$ac_res" >&6; }
28397 # Is the header compilable?
28398 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28400 cat >conftest.$ac_ext <<_ACEOF
28403 cat confdefs.h >>conftest.$ac_ext
28404 cat >>conftest.$ac_ext <<_ACEOF
28405 /* end confdefs.h. */
28406 $ac_includes_default
28407 #include <$ac_header>
28409 rm -f conftest.$ac_objext
28410 if { (ac_try="$ac_compile"
28411 case "(($ac_try" in
28412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28413 *) ac_try_echo=$ac_try;;
28415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 (eval "$ac_compile") 2>conftest.er1
28418 grep -v '^ *+' conftest.er1 >conftest.err
28420 cat conftest.err >&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); } && {
28423 test -z "$ac_c_werror_flag" ||
28424 test ! -s conftest.err
28425 } && test -s conftest.$ac_objext; then
28426 ac_header_compiler=yes
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.$ac_ext >&5
28431 ac_header_compiler=no
28434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28435 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28436 echo "${ECHO_T}$ac_header_compiler" >&6; }
28438 # Is the header present?
28439 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28441 cat >conftest.$ac_ext <<_ACEOF
28444 cat confdefs.h >>conftest.$ac_ext
28445 cat >>conftest.$ac_ext <<_ACEOF
28446 /* end confdefs.h. */
28447 #include <$ac_header>
28449 if { (ac_try="$ac_cpp conftest.$ac_ext"
28450 case "(($ac_try" in
28451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28452 *) ac_try_echo=$ac_try;;
28454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28457 grep -v '^ *+' conftest.er1 >conftest.err
28459 cat conftest.err >&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } >/dev/null && {
28462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28463 test ! -s conftest.err
28465 ac_header_preproc=yes
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28470 ac_header_preproc=no
28473 rm -f conftest.err conftest.$ac_ext
28474 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28475 echo "${ECHO_T}$ac_header_preproc" >&6; }
28477 # So? What about this header?
28478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28484 ac_header_preproc=yes
28487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28500 ## --------------------------------------------- ##
28501 ## Report this to vserver@list.linux-vserver.org ##
28502 ## --------------------------------------------- ##
28504 ) | sed "s/^/$as_me: WARNING: /" >&2
28507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28512 eval "$as_ac_Header=\$ac_header_preproc"
28514 ac_res=`eval echo '${'$as_ac_Header'}'`
28515 { echo "$as_me:$LINENO: result: $ac_res" >&5
28516 echo "${ECHO_T}$ac_res" >&6; }
28519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28520 cat >>confdefs.h <<_ACEOF
28521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28530 { echo "$as_me:$LINENO: checking for __s64" >&5
28531 echo $ECHO_N "checking for __s64... $ECHO_C" >&6; }
28532 if test "${ac_cv_type___s64+set}" = set; then
28533 echo $ECHO_N "(cached) $ECHO_C" >&6
28535 cat >conftest.$ac_ext <<_ACEOF
28538 cat confdefs.h >>conftest.$ac_ext
28539 cat >>conftest.$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28541 $ac_includes_default
28542 #ifdef HAVE_ASM_TYPES_H
28543 # include <asm/types.h>
28546 typedef __s64 ac__type_new_;
28550 if ((ac__type_new_ *) 0)
28552 if (sizeof (ac__type_new_))
28558 rm -f conftest.$ac_objext
28559 if { (ac_try="$ac_compile"
28560 case "(($ac_try" in
28561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28562 *) ac_try_echo=$ac_try;;
28564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28565 (eval "$ac_compile") 2>conftest.er1
28567 grep -v '^ *+' conftest.er1 >conftest.err
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } && {
28572 test -z "$ac_c_werror_flag" ||
28573 test ! -s conftest.err
28574 } && test -s conftest.$ac_objext; then
28575 ac_cv_type___s64=yes
28577 echo "$as_me: failed program was:" >&5
28578 sed 's/^/| /' conftest.$ac_ext >&5
28580 ac_cv_type___s64=no
28583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28585 { echo "$as_me:$LINENO: result: $ac_cv_type___s64" >&5
28586 echo "${ECHO_T}$ac_cv_type___s64" >&6; }
28587 if test $ac_cv_type___s64 = yes; then
28589 cat >>confdefs.h <<_ACEOF
28590 #define HAVE___S64 1
28596 cat >>confdefs.h <<_ACEOF
28597 #define __s64 int64_t
28602 { echo "$as_me:$LINENO: checking for __u64" >&5
28603 echo $ECHO_N "checking for __u64... $ECHO_C" >&6; }
28604 if test "${ac_cv_type___u64+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28607 cat >conftest.$ac_ext <<_ACEOF
28610 cat confdefs.h >>conftest.$ac_ext
28611 cat >>conftest.$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28613 $ac_includes_default
28614 #ifdef HAVE_ASM_TYPES_H
28615 # include <asm/types.h>
28618 typedef __u64 ac__type_new_;
28622 if ((ac__type_new_ *) 0)
28624 if (sizeof (ac__type_new_))
28630 rm -f conftest.$ac_objext
28631 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
28647 ac_cv_type___u64=yes
28649 echo "$as_me: failed program was:" >&5
28650 sed 's/^/| /' conftest.$ac_ext >&5
28652 ac_cv_type___u64=no
28655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28657 { echo "$as_me:$LINENO: result: $ac_cv_type___u64" >&5
28658 echo "${ECHO_T}$ac_cv_type___u64" >&6; }
28659 if test $ac_cv_type___u64 = yes; then
28661 cat >>confdefs.h <<_ACEOF
28662 #define HAVE___U64 1
28668 cat >>confdefs.h <<_ACEOF
28669 #define __u64 uint64_t
28676 if test x"$ensc_have_libnl" = xyes; then
28679 for ac_header in netlink/netlink.h netlink/route/addr.h
28681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28685 echo $ECHO_N "(cached) $ECHO_C" >&6
28687 cat >conftest.$ac_ext <<_ACEOF
28690 cat confdefs.h >>conftest.$ac_ext
28691 cat >>conftest.$ac_ext <<_ACEOF
28692 /* end confdefs.h. */
28693 $ac_includes_default
28694 #ifdef HAVE_ASM_TYPES_H
28695 # include <asm/types.h>
28699 #include <$ac_header>
28701 rm -f conftest.$ac_objext
28702 if { (ac_try="$ac_compile"
28703 case "(($ac_try" in
28704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28705 *) ac_try_echo=$ac_try;;
28707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28708 (eval "$ac_compile") 2>conftest.er1
28710 grep -v '^ *+' conftest.er1 >conftest.err
28712 cat conftest.err >&5
28713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 (exit $ac_status); } && {
28715 test -z "$ac_c_werror_flag" ||
28716 test ! -s conftest.err
28717 } && test -s conftest.$ac_objext; then
28718 eval "$as_ac_Header=yes"
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28723 eval "$as_ac_Header=no"
28726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 ac_res=`eval echo '${'$as_ac_Header'}'`
28729 { echo "$as_me:$LINENO: result: $ac_res" >&5
28730 echo "${ECHO_T}$ac_res" >&6; }
28731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28732 cat >>confdefs.h <<_ACEOF
28733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28744 if test x"$ensc_have_libnl" = xyes; then
28745 { echo "$as_me:$LINENO: checking for nlmsg_get_src in -lnl" >&5
28746 echo $ECHO_N "checking for nlmsg_get_src in -lnl... $ECHO_C" >&6; }
28747 if test "${ac_cv_lib_nl_nlmsg_get_src+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 ac_check_lib_save_LIBS=$LIBS
28752 cat >conftest.$ac_ext <<_ACEOF
28755 cat confdefs.h >>conftest.$ac_ext
28756 cat >>conftest.$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28759 /* Override any GCC internal prototype to avoid an error.
28760 Use char because int might match the return type of a GCC
28761 builtin and then its argument prototype would still apply. */
28765 char nlmsg_get_src ();
28769 return nlmsg_get_src ();
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (ac_try="$ac_link"
28776 case "(($ac_try" in
28777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_link") 2>conftest.er1
28783 grep -v '^ *+' conftest.er1 >conftest.err
28785 cat conftest.err >&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); } && {
28788 test -z "$ac_c_werror_flag" ||
28789 test ! -s conftest.err
28790 } && test -s conftest$ac_exeext &&
28791 $as_test_x conftest$ac_exeext; then
28792 ac_cv_lib_nl_nlmsg_get_src=yes
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28797 ac_cv_lib_nl_nlmsg_get_src=no
28800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28801 conftest$ac_exeext conftest.$ac_ext
28802 LIBS=$ac_check_lib_save_LIBS
28804 { echo "$as_me:$LINENO: result: $ac_cv_lib_nl_nlmsg_get_src" >&5
28805 echo "${ECHO_T}$ac_cv_lib_nl_nlmsg_get_src" >&6; }
28806 if test $ac_cv_lib_nl_nlmsg_get_src = yes; then
28814 if test x"$ensc_have_libnl" != xyes; then
28815 { echo "$as_me:$LINENO: WARNING:
28817 **** 'libnl' could not be found;
28818 **** this will disable the build of 'vip6-autod'
28820 echo "$as_me: WARNING:
28822 **** 'libnl' could not be found;
28823 **** this will disable the build of 'vip6-autod'
28827 if test x"$ensc_have_libnl" = xyes; then
28828 ENSC_HAVE_LIBNL_TRUE=
28829 ENSC_HAVE_LIBNL_FALSE='#'
28831 ENSC_HAVE_LIBNL_TRUE='#'
28832 ENSC_HAVE_LIBNL_FALSE=
28838 { echo "$as_me:$LINENO: checking for python includes" >&5
28839 echo $ECHO_N "checking for python includes... $ECHO_C" >&6; }
28840 PYTHON_INCLUDES=`python-config --includes 2>/dev/null`
28841 if test x"$PYTHON_INCLUDES" = x; then
28842 python_inc_plat=`$PYTHON -c "from distutils.sysconfig import get_python_inc; print get_python_inc(1)"`
28843 python_inc=`$PYTHON -c "from distutils.sysconfig import get_python_inc; print get_python_inc()"`
28844 if test x"$python_inc_plat" != x; then
28845 PYTHON_INCLUDES="$PYTHON_INCLUDES -I$python_inc_plat"
28847 if test x"$python_inc" != x; then
28848 PYTHON_INCLUDES="$PYTHON_INCLUDES -I$python_inc"
28851 { echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
28852 echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
28856 { echo "$as_me:$LINENO: checking for host initscripts" >&5
28857 echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6; }
28859 # Check whether --with-initscripts was given.
28860 if test "${with_initscripts+set}" = set; then
28861 withval=$with_initscripts;
28863 gentoo) ensc_with_init=gentoo;;
28864 sysv) ensc_with_init=sysv;;
28865 *) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
28866 echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
28867 { (exit 1); exit 1; }; };;
28872 if test -e /etc/gentoo-release; then
28873 ensc_with_init=gentoo
28875 ensc_with_init=sysv
28880 { echo "$as_me:$LINENO: result: $ensc_with_init" >&5
28881 echo "${ECHO_T}$ensc_with_init" >&6; }
28882 if test x"$ensc_with_init" = xgentoo; then
28883 HAVE_GENTOO_INIT_TRUE=
28884 HAVE_GENTOO_INIT_FALSE='#'
28886 HAVE_GENTOO_INIT_TRUE='#'
28887 HAVE_GENTOO_INIT_FALSE=
28890 if test x"$ensc_with_init" = xsysv; then
28891 HAVE_SYSV_INIT_TRUE=
28892 HAVE_SYSV_INIT_FALSE='#'
28894 HAVE_SYSV_INIT_TRUE='#'
28895 HAVE_SYSV_INIT_FALSE=
28901 cat >>confdefs.h <<\_ACEOF
28902 #define UTMP_GID 22
28908 cat >>confdefs.h <<\_ACEOF
28909 #define HAVE_GROWING_STACK 1
28915 cat >>confdefs.h <<\_ACEOF
28916 #define _FILE_OFFSET_BITS 64
28920 ensc_cxx_affected=" (affected: vbuild, vcheck)"
28921 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
28922 ensc_diet_msg=" (you have been warned)"
28923 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
28924 ensc_diet_compat_msg=" (using -lcompat)"
28925 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
28926 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
28927 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
28928 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
28929 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
28935 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile python/Makefile"
28937 cat >confcache <<\_ACEOF
28938 # This file is a shell script that caches the results of configure
28939 # tests run on this system so they can be shared between configure
28940 # scripts and configure runs, see configure's option --config-cache.
28941 # It is not useful on other systems. If it contains results you don't
28942 # want to keep, you may remove or edit it.
28944 # config.status only pays attention to the cache file if you give it
28945 # the --recheck option to rerun configure.
28947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28949 # following values.
28953 # The following way of writing the cache mishandles newlines in values,
28954 # but we know of no workaround that is simple, portable, and efficient.
28955 # So, we kill variables containing newlines.
28956 # Ultrix sh set writes to stderr and can't be redirected directly,
28957 # and sets the high bit in the cache file unless we assign to the vars.
28959 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28960 eval ac_val=\$$ac_var
28964 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28965 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28968 _ | IFS | as_nl) ;; #(
28969 *) $as_unset $ac_var ;;
28975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28976 *${as_nl}ac_space=\ *)
28977 # `set' does not quote correctly, so add quotes (double-quote
28978 # substitution turns \\\\ into \\, and sed turns \\ into \).
28981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28984 # `set' quotes correctly as required by POSIX, so do not add quotes.
28985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28999 if test -w "$cache_file"; then
29000 test "x$cache_file" != "x/dev/null" &&
29001 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
29002 echo "$as_me: updating cache $cache_file" >&6;}
29003 cat confcache >$cache_file
29005 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29006 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29011 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29012 # Let make expand exec_prefix.
29013 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29015 DEFS=-DHAVE_CONFIG_H
29019 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29020 # 1. Remove the extension, and $U if already installed.
29021 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29022 ac_i=`echo "$ac_i" | sed "$ac_script"`
29023 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29024 # will be set to the directory where LIBOBJS objects are built.
29025 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29026 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29028 LIBOBJS=$ac_libobjs
29030 LTLIBOBJS=$ac_ltlibobjs
29033 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29034 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29035 Usually this means the macro was only invoked conditionally." >&5
29036 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29037 Usually this means the macro was only invoked conditionally." >&2;}
29038 { (exit 1); exit 1; }; }
29040 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29041 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29042 Usually this means the macro was only invoked conditionally." >&5
29043 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29044 Usually this means the macro was only invoked conditionally." >&2;}
29045 { (exit 1); exit 1; }; }
29047 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29048 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29049 Usually this means the macro was only invoked conditionally." >&5
29050 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29051 Usually this means the macro was only invoked conditionally." >&2;}
29052 { (exit 1); exit 1; }; }
29054 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29055 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29056 Usually this means the macro was only invoked conditionally." >&5
29057 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29058 Usually this means the macro was only invoked conditionally." >&2;}
29059 { (exit 1); exit 1; }; }
29061 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
29062 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
29063 Usually this means the macro was only invoked conditionally." >&5
29064 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
29065 Usually this means the macro was only invoked conditionally." >&2;}
29066 { (exit 1); exit 1; }; }
29068 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
29069 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
29070 Usually this means the macro was only invoked conditionally." >&5
29071 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
29072 Usually this means the macro was only invoked conditionally." >&2;}
29073 { (exit 1); exit 1; }; }
29075 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
29076 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
29077 Usually this means the macro was only invoked conditionally." >&5
29078 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
29079 Usually this means the macro was only invoked conditionally." >&2;}
29080 { (exit 1); exit 1; }; }
29082 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
29083 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
29084 Usually this means the macro was only invoked conditionally." >&5
29085 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
29086 Usually this means the macro was only invoked conditionally." >&2;}
29087 { (exit 1); exit 1; }; }
29089 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29090 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29091 Usually this means the macro was only invoked conditionally." >&5
29092 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29093 Usually this means the macro was only invoked conditionally." >&2;}
29094 { (exit 1); exit 1; }; }
29096 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29097 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29098 Usually this means the macro was only invoked conditionally." >&5
29099 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29100 Usually this means the macro was only invoked conditionally." >&2;}
29101 { (exit 1); exit 1; }; }
29103 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29104 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29105 Usually this means the macro was only invoked conditionally." >&5
29106 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29107 Usually this means the macro was only invoked conditionally." >&2;}
29108 { (exit 1); exit 1; }; }
29110 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29111 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29112 Usually this means the macro was only invoked conditionally." >&5
29113 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29114 Usually this means the macro was only invoked conditionally." >&2;}
29115 { (exit 1); exit 1; }; }
29117 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
29118 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
29119 Usually this means the macro was only invoked conditionally." >&5
29120 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
29121 Usually this means the macro was only invoked conditionally." >&2;}
29122 { (exit 1); exit 1; }; }
29124 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
29125 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29126 Usually this means the macro was only invoked conditionally." >&5
29127 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29128 Usually this means the macro was only invoked conditionally." >&2;}
29129 { (exit 1); exit 1; }; }
29131 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
29132 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29133 Usually this means the macro was only invoked conditionally." >&5
29134 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
29135 Usually this means the macro was only invoked conditionally." >&2;}
29136 { (exit 1); exit 1; }; }
29138 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
29139 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
29140 Usually this means the macro was only invoked conditionally." >&5
29141 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
29142 Usually this means the macro was only invoked conditionally." >&2;}
29143 { (exit 1); exit 1; }; }
29145 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
29146 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
29147 Usually this means the macro was only invoked conditionally." >&5
29148 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
29149 Usually this means the macro was only invoked conditionally." >&2;}
29150 { (exit 1); exit 1; }; }
29152 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
29153 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
29154 Usually this means the macro was only invoked conditionally." >&5
29155 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
29156 Usually this means the macro was only invoked conditionally." >&2;}
29157 { (exit 1); exit 1; }; }
29159 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
29160 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
29161 Usually this means the macro was only invoked conditionally." >&5
29162 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
29163 Usually this means the macro was only invoked conditionally." >&2;}
29164 { (exit 1); exit 1; }; }
29166 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
29167 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
29168 Usually this means the macro was only invoked conditionally." >&5
29169 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
29170 Usually this means the macro was only invoked conditionally." >&2;}
29171 { (exit 1); exit 1; }; }
29173 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
29174 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
29175 Usually this means the macro was only invoked conditionally." >&5
29176 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
29177 Usually this means the macro was only invoked conditionally." >&2;}
29178 { (exit 1); exit 1; }; }
29180 if test -z "${ENSC_HAVE_LIBNL_TRUE}" && test -z "${ENSC_HAVE_LIBNL_FALSE}"; then
29181 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_LIBNL\" was never defined.
29182 Usually this means the macro was only invoked conditionally." >&5
29183 echo "$as_me: error: conditional \"ENSC_HAVE_LIBNL\" was never defined.
29184 Usually this means the macro was only invoked conditionally." >&2;}
29185 { (exit 1); exit 1; }; }
29187 if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then
29188 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
29189 Usually this means the macro was only invoked conditionally." >&5
29190 echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
29191 Usually this means the macro was only invoked conditionally." >&2;}
29192 { (exit 1); exit 1; }; }
29194 if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then
29195 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined.
29196 Usually this means the macro was only invoked conditionally." >&5
29197 echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined.
29198 Usually this means the macro was only invoked conditionally." >&2;}
29199 { (exit 1); exit 1; }; }
29204 CC: $CC, $($CC --version | sed -e '1p;d')
29205 CXX: $CXX, $($CXX --version | sed -e '1p;d')
29206 CPPFLAGS: '$CPPFLAGS'
29208 CXXFLAGS: '$CXXFLAGS'
29209 build/host: $build/$host
29210 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
29211 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
29212 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
29213 Available APIs: $enable_apis
29214 ext2fs Source: $ensc_cv_test_ext2fs_header
29215 syscall(2) invocation: $with_syscall
29216 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
29220 sysconf-Directory: $sysconfdir
29221 cfg-Directory: $sysconfdir/vservers
29222 initrd-Directory: $initrddir
29223 pkgstate-Directory: $localstatedir/run/vservers
29224 vserver-Rootdir: $vserverdir
29226 echo "$FEATURES_TXT" >FEATURES.txt
29229 : ${CONFIG_STATUS=./config.status}
29230 ac_clean_files_save=$ac_clean_files
29231 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29232 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29233 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29234 cat >$CONFIG_STATUS <<_ACEOF
29236 # Generated by $as_me.
29237 # Run this file to recreate the current configuration.
29238 # Compiler output produced by configure, useful for debugging
29239 # configure, is in config.log if it exists.
29242 ac_cs_recheck=false
29244 SHELL=\${CONFIG_SHELL-$SHELL}
29247 cat >>$CONFIG_STATUS <<\_ACEOF
29248 ## --------------------- ##
29249 ## M4sh Initialization. ##
29250 ## --------------------- ##
29252 # Be more Bourne compatible
29253 DUALCASE=1; export DUALCASE # for MKS sh
29254 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29257 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29258 # is contrary to our usage. Disable this feature.
29259 alias -g '${1+"$@"}'='"$@"'
29260 setopt NO_GLOB_SUBST
29262 case `(set -o) 2>/dev/null` in
29263 *posix*) set -o posix ;;
29272 # Avoid depending upon Character Ranges.
29273 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29274 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29275 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29276 as_cr_digits='0123456789'
29277 as_cr_alnum=$as_cr_Letters$as_cr_digits
29279 # The user is always right.
29280 if test "${PATH_SEPARATOR+set}" != set; then
29281 echo "#! /bin/sh" >conf$$.sh
29282 echo "exit 0" >>conf$$.sh
29284 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29292 # Support unset when possible.
29293 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29301 # We need space, tab and new line, in precisely that order. Quoting is
29302 # there to prevent editors from complaining about space-tab.
29303 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29304 # splitting by setting IFS to empty value.)
29309 # Find who we are. Look in the path if we contain no directory separator.
29311 *[\\/]* ) as_myself=$0 ;;
29312 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29313 for as_dir in $PATH
29316 test -z "$as_dir" && as_dir=.
29317 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29323 # We did not find ourselves, most probably we were run as `sh COMMAND'
29324 # in which case we are not to be found in the path.
29325 if test "x$as_myself" = x; then
29328 if test ! -f "$as_myself"; then
29329 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29330 { (exit 1); exit 1; }
29333 # Work around bugs in pre-3.0 UWIN ksh.
29334 for as_var in ENV MAIL MAILPATH
29335 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29343 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29344 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29345 LC_TELEPHONE LC_TIME
29347 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29348 eval $as_var=C; export $as_var
29350 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29354 # Required to use basename.
29355 if expr a : '\(a\)' >/dev/null 2>&1 &&
29356 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29362 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29363 as_basename=basename
29369 # Name of the executable.
29370 as_me=`$as_basename -- "$0" ||
29371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29372 X"$0" : 'X\(//\)$' \| \
29373 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29375 sed '/^.*\/\([^/][^/]*\)\/*$/{
29394 as_lineno_1=$LINENO
29395 as_lineno_2=$LINENO
29396 test "x$as_lineno_1" != "x$as_lineno_2" &&
29397 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29399 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29400 # uniformly replaced by the line number. The first 'sed' inserts a
29401 # line-number line after each line using $LINENO; the second 'sed'
29402 # does the real work. The second script uses 'N' to pair each
29403 # line-number line with the line containing $LINENO, and appends
29404 # trailing '-' during substitution so that $LINENO is not a special
29405 # case at line end.
29406 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29407 # scripts with optimization help from Paolo Bonzini. Blame Lee
29408 # E. McMahon (1931-1989) for sed's syntax. :-)
29420 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29423 ' >$as_me.lineno &&
29424 chmod +x "$as_me.lineno" ||
29425 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29426 { (exit 1); exit 1; }; }
29428 # Don't try to exec as it changes $[0], causing all sort of problems
29429 # (the dirname of $[0] is not the place where we might find the
29430 # original and so on. Autoconf is especially sensitive to this).
29431 . "./$as_me.lineno"
29432 # Exit status is that of the last command.
29437 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29443 ECHO_C= ECHO_N= ECHO_T=
29444 case `echo -n x` in
29446 case `echo 'x\c'` in
29447 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29454 if expr a : '\(a\)' >/dev/null 2>&1 &&
29455 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29461 rm -f conf$$ conf$$.exe conf$$.file
29462 if test -d conf$$.dir; then
29463 rm -f conf$$.dir/conf$$.file
29469 if ln -s conf$$.file conf$$ 2>/dev/null; then
29471 # ... but there are two gotchas:
29472 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29473 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29474 # In both cases, we have to default to `cp -p'.
29475 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29477 elif ln conf$$.file conf$$ 2>/dev/null; then
29482 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29483 rmdir conf$$.dir 2>/dev/null
29485 if mkdir -p . 2>/dev/null; then
29488 test -d ./-p && rmdir ./-p
29492 if test -x / >/dev/null 2>&1; then
29493 as_test_x='test -x'
29495 if ls -dL / >/dev/null 2>&1; then
29502 if test -d "$1"; then
29508 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29509 ???[sx]*):;;*)false;;esac;fi
29513 as_executable_p=$as_test_x
29515 # Sed expression to map a string onto a valid CPP name.
29516 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29518 # Sed expression to map a string onto a valid variable name.
29519 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29524 # Save the log message, to keep $[0] and so on meaningful, and to
29525 # report actual input values of CONFIG_FILES etc. instead of their
29526 # values after options handling.
29528 This file was extended by util-vserver $as_me 0.30.214, which was
29529 generated by GNU Autoconf 2.61. Invocation command line was
29531 CONFIG_FILES = $CONFIG_FILES
29532 CONFIG_HEADERS = $CONFIG_HEADERS
29533 CONFIG_LINKS = $CONFIG_LINKS
29534 CONFIG_COMMANDS = $CONFIG_COMMANDS
29537 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29542 cat >>$CONFIG_STATUS <<_ACEOF
29543 # Files that config.status was made for.
29544 config_files="$ac_config_files"
29545 config_headers="$ac_config_headers"
29546 config_commands="$ac_config_commands"
29550 cat >>$CONFIG_STATUS <<\_ACEOF
29552 \`$as_me' instantiates files from templates according to the
29553 current configuration.
29555 Usage: $0 [OPTIONS] [FILE]...
29557 -h, --help print this help, then exit
29558 -V, --version print version number and configuration settings, then exit
29559 -q, --quiet do not print progress messages
29560 -d, --debug don't remove temporary files
29561 --recheck update $as_me by reconfiguring in the same conditions
29562 --file=FILE[:TEMPLATE]
29563 instantiate the configuration file FILE
29564 --header=FILE[:TEMPLATE]
29565 instantiate the configuration header FILE
29567 Configuration files:
29570 Configuration headers:
29573 Configuration commands:
29576 Report bugs to <bug-autoconf@gnu.org>."
29579 cat >>$CONFIG_STATUS <<_ACEOF
29581 util-vserver config.status 0.30.214
29582 configured by $0, generated by GNU Autoconf 2.61,
29583 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29585 Copyright (C) 2006 Free Software Foundation, Inc.
29586 This config.status script is free software; the Free Software Foundation
29587 gives unlimited permission to copy, distribute and modify it."
29595 cat >>$CONFIG_STATUS <<\_ACEOF
29596 # If no file are specified by the user, then we need to provide default
29597 # value. By we need to know if files were specified by the user.
29603 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29604 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29615 # Handling of the options.
29616 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29618 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29619 echo "$ac_cs_version"; exit ;;
29620 --debug | --debu | --deb | --de | --d | -d )
29622 --file | --fil | --fi | --f )
29624 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
29625 ac_need_defaults=false;;
29626 --header | --heade | --head | --hea )
29628 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29629 ac_need_defaults=false;;
29631 # Conflict between --help and --header
29632 { echo "$as_me: error: ambiguous option: $1
29633 Try \`$0 --help' for more information." >&2
29634 { (exit 1); exit 1; }; };;
29635 --help | --hel | -h )
29636 echo "$ac_cs_usage"; exit ;;
29637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29638 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29641 # This is an error.
29642 -*) { echo "$as_me: error: unrecognized option: $1
29643 Try \`$0 --help' for more information." >&2
29644 { (exit 1); exit 1; }; } ;;
29646 *) ac_config_targets="$ac_config_targets $1"
29647 ac_need_defaults=false ;;
29653 ac_configure_extra_args=
29655 if $ac_cs_silent; then
29657 ac_configure_extra_args="$ac_configure_extra_args --silent"
29661 cat >>$CONFIG_STATUS <<_ACEOF
29662 if \$ac_cs_recheck; then
29663 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29664 CONFIG_SHELL=$SHELL
29665 export CONFIG_SHELL
29666 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29670 cat >>$CONFIG_STATUS <<\_ACEOF
29674 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29675 ## Running $as_me. ##
29681 cat >>$CONFIG_STATUS <<_ACEOF
29685 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29689 cat >>$CONFIG_STATUS <<\_ACEOF
29691 # Handling of arguments.
29692 for ac_config_target in $ac_config_targets
29694 case $ac_config_target in
29695 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29696 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29697 "util-vserver.spec") CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
29698 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29699 "distrib/Makefile") CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
29700 "lib/apidoc/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
29701 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
29703 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29704 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29705 { (exit 1); exit 1; }; };;
29710 # If the user did not use the arguments to specify the items to instantiate,
29711 # then the envvar interface is used. Set only those that are not.
29712 # We use the long form for the default assignment because of an extremely
29713 # bizarre bug on SunOS 4.1.3.
29714 if $ac_need_defaults; then
29715 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
29716 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
29717 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
29720 # Have a temporary directory for convenience. Make it in the build tree
29721 # simply because there is no reason against having it here, and in addition,
29722 # creating and moving files from /tmp can sometimes cause problems.
29723 # Hook for its removal unless debugging.
29724 # Note that there is a small window in which the directory will not be cleaned:
29725 # after its creation but before its name has been assigned to `$tmp'.
29729 trap 'exit_status=$?
29730 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29732 trap '{ (exit 1); exit 1; }' 1 2 13 15
29734 # Create a (secure) tmp directory for tmp files.
29737 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29738 test -n "$tmp" && test -d "$tmp"
29741 tmp=./conf$$-$RANDOM
29742 (umask 077 && mkdir "$tmp")
29745 echo "$me: cannot create a temporary directory in ." >&2
29746 { (exit 1); exit 1; }
29750 # Set up the sed scripts for CONFIG_FILES section.
29753 # No need to generate the scripts if there are no CONFIG_FILES.
29754 # This happens for instance when ./config.status config.h
29755 if test -n "$CONFIG_FILES"; then
29762 for ac_last_try in false false false false false :; do
29763 cat >conf$$subs.sed <<_ACEOF
29764 SHELL!$SHELL$ac_delim
29765 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29766 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29767 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29768 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29769 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29770 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29771 exec_prefix!$exec_prefix$ac_delim
29772 prefix!$prefix$ac_delim
29773 program_transform_name!$program_transform_name$ac_delim
29774 bindir!$bindir$ac_delim
29775 sbindir!$sbindir$ac_delim
29776 libexecdir!$libexecdir$ac_delim
29777 datarootdir!$datarootdir$ac_delim
29778 datadir!$datadir$ac_delim
29779 sysconfdir!$sysconfdir$ac_delim
29780 sharedstatedir!$sharedstatedir$ac_delim
29781 localstatedir!$localstatedir$ac_delim
29782 includedir!$includedir$ac_delim
29783 oldincludedir!$oldincludedir$ac_delim
29784 docdir!$docdir$ac_delim
29785 infodir!$infodir$ac_delim
29786 htmldir!$htmldir$ac_delim
29787 dvidir!$dvidir$ac_delim
29788 pdfdir!$pdfdir$ac_delim
29789 psdir!$psdir$ac_delim
29790 libdir!$libdir$ac_delim
29791 localedir!$localedir$ac_delim
29792 mandir!$mandir$ac_delim
29793 DEFS!$DEFS$ac_delim
29794 ECHO_C!$ECHO_C$ac_delim
29795 ECHO_N!$ECHO_N$ac_delim
29796 ECHO_T!$ECHO_T$ac_delim
29797 LIBS!$LIBS$ac_delim
29798 build_alias!$build_alias$ac_delim
29799 host_alias!$host_alias$ac_delim
29800 target_alias!$target_alias$ac_delim
29801 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29802 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29803 INSTALL_DATA!$INSTALL_DATA$ac_delim
29804 am__isrc!$am__isrc$ac_delim
29805 CYGPATH_W!$CYGPATH_W$ac_delim
29806 PACKAGE!$PACKAGE$ac_delim
29807 VERSION!$VERSION$ac_delim
29808 ACLOCAL!$ACLOCAL$ac_delim
29809 AUTOCONF!$AUTOCONF$ac_delim
29810 AUTOMAKE!$AUTOMAKE$ac_delim
29811 AUTOHEADER!$AUTOHEADER$ac_delim
29812 MAKEINFO!$MAKEINFO$ac_delim
29813 install_sh!$install_sh$ac_delim
29814 STRIP!$STRIP$ac_delim
29815 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29816 mkdir_p!$mkdir_p$ac_delim
29818 SET_MAKE!$SET_MAKE$ac_delim
29819 am__leading_dot!$am__leading_dot$ac_delim
29820 AMTAR!$AMTAR$ac_delim
29821 am__tar!$am__tar$ac_delim
29822 am__untar!$am__untar$ac_delim
29823 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
29824 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
29825 MAINT!$MAINT$ac_delim
29826 build!$build$ac_delim
29827 build_cpu!$build_cpu$ac_delim
29828 build_vendor!$build_vendor$ac_delim
29829 build_os!$build_os$ac_delim
29830 host!$host$ac_delim
29831 host_cpu!$host_cpu$ac_delim
29832 host_vendor!$host_vendor$ac_delim
29833 host_os!$host_os$ac_delim
29834 GPG_KEY!$GPG_KEY$ac_delim
29836 CXXFLAGS!$CXXFLAGS$ac_delim
29837 LDFLAGS!$LDFLAGS$ac_delim
29838 CPPFLAGS!$CPPFLAGS$ac_delim
29839 ac_ct_CXX!$ac_ct_CXX$ac_delim
29840 EXEEXT!$EXEEXT$ac_delim
29841 OBJEXT!$OBJEXT$ac_delim
29842 DEPDIR!$DEPDIR$ac_delim
29843 am__include!$am__include$ac_delim
29844 am__quote!$am__quote$ac_delim
29845 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29846 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29847 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29848 CXXDEPMODE!$CXXDEPMODE$ac_delim
29849 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29850 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29852 CFLAGS!$CFLAGS$ac_delim
29853 ac_ct_CC!$ac_ct_CC$ac_delim
29854 CCDEPMODE!$CCDEPMODE$ac_delim
29855 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29856 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29857 LN_S!$LN_S$ac_delim
29858 PYTHON!$PYTHON$ac_delim
29859 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
29860 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
29863 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29865 elif $ac_last_try; then
29866 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29867 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29868 { (exit 1); exit 1; }; }
29870 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29874 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29875 if test -n "$ac_eof"; then
29876 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29877 ac_eof=`expr $ac_eof + 1`
29880 cat >>$CONFIG_STATUS <<_ACEOF
29881 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29885 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29886 s/^/s,@/; s/!/@,|#_!!_#|/
29889 s/'"$ac_delim"'$/,g/; t
29891 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29892 ' >>$CONFIG_STATUS <conf$$subs.sed
29893 rm -f conf$$subs.sed
29894 cat >>$CONFIG_STATUS <<_ACEOF
29900 for ac_last_try in false false false false false :; do
29901 cat >conf$$subs.sed <<_ACEOF
29902 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
29903 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
29904 pythondir!$pythondir$ac_delim
29905 pkgpythondir!$pkgpythondir$ac_delim
29906 pyexecdir!$pyexecdir$ac_delim
29907 pkgpyexecdir!$pkgpyexecdir$ac_delim
29908 ENSC_HAVE_CXX_COMPILER_TRUE!$ENSC_HAVE_CXX_COMPILER_TRUE$ac_delim
29909 ENSC_HAVE_CXX_COMPILER_FALSE!$ENSC_HAVE_CXX_COMPILER_FALSE$ac_delim
29910 ENSC_HAVE_C99_COMPILER_TRUE!$ENSC_HAVE_C99_COMPILER_TRUE$ac_delim
29911 ENSC_HAVE_C99_COMPILER_FALSE!$ENSC_HAVE_C99_COMPILER_FALSE$ac_delim
29912 ENSC_PATHPROG_SED!$ENSC_PATHPROG_SED$ac_delim
29914 CHOWN!$CHOWN$ac_delim
29917 DIRNAME!$DIRNAME$ac_delim
29918 EGREP!$EGREP$ac_delim
29920 GREP!$GREP$ac_delim
29922 MKDIR!$MKDIR$ac_delim
29923 MKFIFO!$MKFIFO$ac_delim
29924 MKTEMP!$MKTEMP$ac_delim
29925 MOUNT!$MOUNT$ac_delim
29927 NICE!$NICE$ac_delim
29930 RMDIR!$RMDIR$ac_delim
29935 TOUCH!$TOUCH$ac_delim
29937 UMOUNT!$UMOUNT$ac_delim
29940 IPTABLES!$IPTABLES$ac_delim
29941 MODPROBE!$MODPROBE$ac_delim
29942 NAMEIF!$NAMEIF$ac_delim
29943 NOHUP!$NOHUP$ac_delim
29944 RMMOD!$RMMOD$ac_delim
29945 VCONFIG!$VCONFIG$ac_delim
29946 WGET!$WGET$ac_delim
29947 FILE!$FILE$ac_delim
29948 GZIP!$GZIP$ac_delim
29949 BZIP2!$BZIP2$ac_delim
29950 CPIO!$CPIO$ac_delim
29951 RESTORE!$RESTORE$ac_delim
29952 RSYNC!$RSYNC$ac_delim
29953 STRACE!$STRACE$ac_delim
29954 DOXYGEN!$DOXYGEN$ac_delim
29955 XSLTP!$XSLTP$ac_delim
29956 XSLTPROC!$XSLTPROC$ac_delim
29957 HAVE_XSLTP_TRUE!$HAVE_XSLTP_TRUE$ac_delim
29958 HAVE_XSLTP_FALSE!$HAVE_XSLTP_FALSE$ac_delim
29959 HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim
29960 HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim
29961 LIB_DEBUG_CPPFLAGS!$LIB_DEBUG_CPPFLAGS$ac_delim
29962 ENSC_USE_EXPENSIVE_TESTS!$ENSC_USE_EXPENSIVE_TESTS$ac_delim
29963 initrddir!$initrddir$ac_delim
29964 RELEASE_CPPFLAGS!$RELEASE_CPPFLAGS$ac_delim
29966 DIET!$DIET$ac_delim
29967 DIETFLAGS!$DIETFLAGS$ac_delim
29968 USE_DIETLIBC_TRUE!$USE_DIETLIBC_TRUE$ac_delim
29969 USE_DIETLIBC_FALSE!$USE_DIETLIBC_FALSE$ac_delim
29970 USE_DIETLIBC_COMPAT_TRUE!$USE_DIETLIBC_COMPAT_TRUE$ac_delim
29971 USE_DIETLIBC_COMPAT_FALSE!$USE_DIETLIBC_COMPAT_FALSE$ac_delim
29972 ENSC_USE_DIETLIBC_TRUE!$ENSC_USE_DIETLIBC_TRUE$ac_delim
29973 ENSC_USE_DIETLIBC_FALSE!$ENSC_USE_DIETLIBC_FALSE$ac_delim
29974 ENSC_USE_GLIBC_TRUE!$ENSC_USE_GLIBC_TRUE$ac_delim
29975 ENSC_USE_GLIBC_FALSE!$ENSC_USE_GLIBC_FALSE$ac_delim
29976 ECHO!$ECHO$ac_delim
29978 RANLIB!$RANLIB$ac_delim
29979 CXXCPP!$CXXCPP$ac_delim
29981 FFLAGS!$FFLAGS$ac_delim
29982 ac_ct_F77!$ac_ct_F77$ac_delim
29983 LIBTOOL!$LIBTOOL$ac_delim
29984 vserverdir!$vserverdir$ac_delim
29985 SVN2CL!$SVN2CL$ac_delim
29986 HAVE_SVN2CL_TRUE!$HAVE_SVN2CL_TRUE$ac_delim
29987 HAVE_SVN2CL_FALSE!$HAVE_SVN2CL_FALSE$ac_delim
29988 ENSC_ENABLE_INTERNAL_HEADERS_TRUE!$ENSC_ENABLE_INTERNAL_HEADERS_TRUE$ac_delim
29989 ENSC_ENABLE_INTERNAL_HEADERS_FALSE!$ENSC_ENABLE_INTERNAL_HEADERS_FALSE$ac_delim
29990 ENSC_HAVE_BEECRYPT_TRUE!$ENSC_HAVE_BEECRYPT_TRUE$ac_delim
29991 ENSC_HAVE_BEECRYPT_FALSE!$ENSC_HAVE_BEECRYPT_FALSE$ac_delim
29992 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE$ac_delim
29993 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE$ac_delim
29994 ENSC_HAVE_LIBNL_TRUE!$ENSC_HAVE_LIBNL_TRUE$ac_delim
29995 ENSC_HAVE_LIBNL_FALSE!$ENSC_HAVE_LIBNL_FALSE$ac_delim
29996 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
29997 HAVE_GENTOO_INIT_TRUE!$HAVE_GENTOO_INIT_TRUE$ac_delim
29998 HAVE_GENTOO_INIT_FALSE!$HAVE_GENTOO_INIT_FALSE$ac_delim
30001 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30003 elif $ac_last_try; then
30004 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30005 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30006 { (exit 1); exit 1; }; }
30008 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30012 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30013 if test -n "$ac_eof"; then
30014 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30015 ac_eof=`expr $ac_eof + 1`
30018 cat >>$CONFIG_STATUS <<_ACEOF
30019 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30020 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30023 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30024 s/^/s,@/; s/!/@,|#_!!_#|/
30027 s/'"$ac_delim"'$/,g/; t
30029 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30030 ' >>$CONFIG_STATUS <conf$$subs.sed
30031 rm -f conf$$subs.sed
30032 cat >>$CONFIG_STATUS <<_ACEOF
30038 for ac_last_try in false false false false false :; do
30039 cat >conf$$subs.sed <<_ACEOF
30040 HAVE_SYSV_INIT_TRUE!$HAVE_SYSV_INIT_TRUE$ac_delim
30041 HAVE_SYSV_INIT_FALSE!$HAVE_SYSV_INIT_FALSE$ac_delim
30042 LIBOBJS!$LIBOBJS$ac_delim
30043 LTLIBOBJS!$LTLIBOBJS$ac_delim
30046 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
30048 elif $ac_last_try; then
30049 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30050 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30051 { (exit 1); exit 1; }; }
30053 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30057 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30058 if test -n "$ac_eof"; then
30059 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30060 ac_eof=`expr $ac_eof + 1`
30063 cat >>$CONFIG_STATUS <<_ACEOF
30064 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
30065 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
30068 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30069 s/^/s,@/; s/!/@,|#_!!_#|/
30072 s/'"$ac_delim"'$/,g/; t
30074 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30075 ' >>$CONFIG_STATUS <conf$$subs.sed
30076 rm -f conf$$subs.sed
30077 cat >>$CONFIG_STATUS <<_ACEOF
30084 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30085 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30086 # trailing colons and then remove the whole line if VPATH becomes empty
30087 # (actually we leave an empty line to preserve line numbers).
30088 if test "x$srcdir" = x.; then
30089 ac_vpsub='/^[ ]*VPATH[ ]*=/{
30090 s/:*\$(srcdir):*/:/
30091 s/:*\${srcdir}:*/:/
30093 s/^\([^=]*=[ ]*\):*/\1/
30099 cat >>$CONFIG_STATUS <<\_ACEOF
30100 fi # test -n "$CONFIG_FILES"
30103 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
30106 :[FHLC]) ac_mode=$ac_tag; continue;;
30108 case $ac_mode$ac_tag in
30110 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30111 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30112 { (exit 1); exit 1; }; };;
30113 :[FH]-) ac_tag=-:-;;
30114 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
30131 -) ac_f="$tmp/stdin";;
30132 *) # Look for the file first in the build tree, then in the source tree
30133 # (if the path is not absolute). The absolute path cannot be DOS-style,
30134 # because $ac_f cannot contain `:'.
30138 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30140 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
30141 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
30142 { (exit 1); exit 1; }; };;
30144 ac_file_inputs="$ac_file_inputs $ac_f"
30147 # Let's still pretend it is `configure' which instantiates (i.e., don't
30148 # use $as_me), people would be surprised to read:
30149 # /* config.h. Generated by config.status. */
30150 configure_input="Generated from "`IFS=:
30151 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
30152 if test x"$ac_file" != x-; then
30153 configure_input="$ac_file. $configure_input"
30154 { echo "$as_me:$LINENO: creating $ac_file" >&5
30155 echo "$as_me: creating $ac_file" >&6;}
30159 *:-:* | *:-) cat >"$tmp/stdin";;
30164 ac_dir=`$as_dirname -- "$ac_file" ||
30165 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30166 X"$ac_file" : 'X\(//\)[^/]' \| \
30167 X"$ac_file" : 'X\(//\)$' \| \
30168 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30174 /^X\(\/\/\)[^/].*/{
30189 -*) as_dir=./$as_dir;;
30191 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30195 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30196 *) as_qdir=$as_dir;;
30198 as_dirs="'$as_qdir' $as_dirs"
30199 as_dir=`$as_dirname -- "$as_dir" ||
30200 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30201 X"$as_dir" : 'X\(//\)[^/]' \| \
30202 X"$as_dir" : 'X\(//\)$' \| \
30203 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30209 /^X\(\/\/\)[^/].*/{
30222 test -d "$as_dir" && break
30224 test -z "$as_dirs" || eval "mkdir $as_dirs"
30225 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30226 echo "$as_me: error: cannot create directory $as_dir" >&2;}
30227 { (exit 1); exit 1; }; }; }
30231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30233 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30234 # A ".." for each directory in $ac_dir_suffix.
30235 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30236 case $ac_top_builddir_sub in
30237 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30238 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30241 ac_abs_top_builddir=$ac_pwd
30242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
30243 # for backward compatibility:
30244 ac_top_builddir=$ac_top_build_prefix
30247 .) # We are building in place.
30249 ac_top_srcdir=$ac_top_builddir_sub
30250 ac_abs_top_srcdir=$ac_pwd ;;
30251 [\\/]* | ?:[\\/]* ) # Absolute name.
30252 ac_srcdir=$srcdir$ac_dir_suffix;
30253 ac_top_srcdir=$srcdir
30254 ac_abs_top_srcdir=$srcdir ;;
30255 *) # Relative name.
30256 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30257 ac_top_srcdir=$ac_top_build_prefix$srcdir
30258 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30270 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30271 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30273 ac_MKDIR_P=$MKDIR_P
30275 [\\/$]* | ?:[\\/]* ) ;;
30276 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
30280 cat >>$CONFIG_STATUS <<\_ACEOF
30281 # If the template does not know about datarootdir, expand it.
30282 # FIXME: This hack should be removed a few years after 2.60.
30283 ac_datarootdir_hack=; ac_datarootdir_seen=
30285 case `sed -n '/datarootdir/ {
30294 ' $ac_file_inputs` in
30295 *datarootdir*) ac_datarootdir_seen=yes;;
30296 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30297 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30298 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30300 cat >>$CONFIG_STATUS <<_ACEOF
30301 ac_datarootdir_hack='
30302 s&@datadir@&$datadir&g
30303 s&@docdir@&$docdir&g
30304 s&@infodir@&$infodir&g
30305 s&@localedir@&$localedir&g
30306 s&@mandir@&$mandir&g
30307 s&\\\${datarootdir}&$datarootdir&g' ;;
30311 # Neutralize VPATH when `$srcdir' = `.'.
30312 # Shell code in configure.ac might set extrasub.
30313 # FIXME: do we really want to maintain this feature?
30314 cat >>$CONFIG_STATUS <<_ACEOF
30318 cat >>$CONFIG_STATUS <<\_ACEOF
30320 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30321 s&@configure_input@&$configure_input&;t t
30322 s&@top_builddir@&$ac_top_builddir_sub&;t t
30323 s&@srcdir@&$ac_srcdir&;t t
30324 s&@abs_srcdir@&$ac_abs_srcdir&;t t
30325 s&@top_srcdir@&$ac_top_srcdir&;t t
30326 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30327 s&@builddir@&$ac_builddir&;t t
30328 s&@abs_builddir@&$ac_abs_builddir&;t t
30329 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30330 s&@INSTALL@&$ac_INSTALL&;t t
30331 s&@MKDIR_P@&$ac_MKDIR_P&;t t
30332 $ac_datarootdir_hack
30333 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
30335 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30336 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30337 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30338 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30339 which seems to be undefined. Please make sure it is defined." >&5
30340 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30341 which seems to be undefined. Please make sure it is defined." >&2;}
30345 -) cat "$tmp/out"; rm -f "$tmp/out";;
30346 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30355 # Transform confdefs.h into a sed script `conftest.defines', that
30356 # substitutes the proper values into config.h.in to produce config.h.
30357 rm -f conftest.defines conftest.tail
30358 # First, append a space to every undef/define line, to ease matching.
30359 echo 's/$/ /' >conftest.defines
30360 # Then, protect against being on the right side of a sed subst, or in
30361 # an unquoted here document, in config.status. If some macros were
30362 # called several times there might be several #defines for the same
30363 # symbol, which is useless. But do not sort them, since the last
30364 # AC_DEFINE must be honored.
30365 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30366 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30367 # NAME is the cpp macro being defined, VALUE is the value it is being given.
30368 # PARAMS is the parameter list in the macro definition--in most cases, it's
30369 # just an empty string.
30370 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30371 ac_dB='\\)[ (].*,\\1define\\2'
30379 s/^[ ]*#[ ]*define[ ][ ]*//
30384 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30385 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30386 ' >>conftest.defines
30388 # Remove the space that was appended to ease matching.
30389 # Then replace #undef with comments. This is necessary, for
30390 # example, in the case of _POSIX_SOURCE, which is predefined and required
30391 # on some systems where configure will not decide to define it.
30392 # (The regexp can be short, since the line contains either #define or #undef.)
30394 s,^[ #]*u.*,/* & */,' >>conftest.defines
30396 # Break up conftest.defines:
30397 ac_max_sed_lines=50
30399 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30400 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30401 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30403 ac_in='$ac_file_inputs'
30404 ac_out='"$tmp/out1"'
30405 ac_nxt='"$tmp/out2"'
30409 # Write a here document:
30410 cat >>$CONFIG_STATUS <<_ACEOF
30411 # First, check the format of the line:
30412 cat >"\$tmp/defines.sed" <<\\CEOF
30413 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30414 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30418 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30420 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30421 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30422 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30423 grep . conftest.tail >/dev/null || break
30424 rm -f conftest.defines
30425 mv conftest.tail conftest.defines
30427 rm -f conftest.defines conftest.tail
30429 echo "ac_result=$ac_in" >>$CONFIG_STATUS
30430 cat >>$CONFIG_STATUS <<\_ACEOF
30431 if test x"$ac_file" != x-; then
30432 echo "/* $configure_input */" >"$tmp/config.h"
30433 cat "$ac_result" >>"$tmp/config.h"
30434 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30435 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30436 echo "$as_me: $ac_file is unchanged" >&6;}
30439 mv "$tmp/config.h" $ac_file
30442 echo "/* $configure_input */"
30446 # Compute $ac_file's index in $config_headers.
30448 for _am_header in $config_headers :; do
30449 case $_am_header in
30450 $ac_file | $ac_file:* )
30453 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30456 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30457 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30458 X$ac_file : 'X\(//\)[^/]' \| \
30459 X$ac_file : 'X\(//\)$' \| \
30460 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30466 /^X\(\/\/\)[^/].*/{
30478 s/.*/./; q'`/stamp-h$_am_stamp_count
30481 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
30482 echo "$as_me: executing $ac_file commands" >&6;}
30487 case $ac_file$ac_mode in
30488 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30489 # Strip MF so we end up with the name of the file.
30490 mf=`echo "$mf" | sed -e 's/:.*$//'`
30491 # Check whether this is an Automake generated Makefile or not.
30492 # We used to match only the files named `Makefile.in', but
30493 # some people rename them; so instead we look at the file content.
30494 # Grep'ing the first line is not enough: some people post-process
30495 # each Makefile.in and add a new line on top of each file to say so.
30496 # Grep'ing the whole file is not good either: AIX grep has a line
30497 # limit of 2048, but all sed's we know have understand at least 4000.
30498 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
30499 dirpart=`$as_dirname -- "$mf" ||
30500 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30501 X"$mf" : 'X\(//\)[^/]' \| \
30502 X"$mf" : 'X\(//\)$' \| \
30503 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30509 /^X\(\/\/\)[^/].*/{
30525 # Extract the definition of DEPDIR, am__include, and am__quote
30526 # from the Makefile without running `make'.
30527 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30528 test -z "$DEPDIR" && continue
30529 am__include=`sed -n 's/^am__include = //p' < "$mf"`
30530 test -z "am__include" && continue
30531 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30532 # When using ansi2knr, U may be empty or an underscore; expand it
30533 U=`sed -n 's/^U = //p' < "$mf"`
30534 # Find all dependency output files, they are included files with
30535 # $(DEPDIR) in their names. We invoke sed twice because it is the
30536 # simplest approach to changing $(DEPDIR) to its actual value in the
30538 for file in `sed -n "
30539 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30540 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30541 # Make sure the directory exists.
30542 test -f "$dirpart/$file" && continue
30543 fdir=`$as_dirname -- "$file" ||
30544 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30545 X"$file" : 'X\(//\)[^/]' \| \
30546 X"$file" : 'X\(//\)$' \| \
30547 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30553 /^X\(\/\/\)[^/].*/{
30566 { as_dir=$dirpart/$fdir
30568 -*) as_dir=./$as_dir;;
30570 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30574 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30575 *) as_qdir=$as_dir;;
30577 as_dirs="'$as_qdir' $as_dirs"
30578 as_dir=`$as_dirname -- "$as_dir" ||
30579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30580 X"$as_dir" : 'X\(//\)[^/]' \| \
30581 X"$as_dir" : 'X\(//\)$' \| \
30582 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30588 /^X\(\/\/\)[^/].*/{
30601 test -d "$as_dir" && break
30603 test -z "$as_dirs" || eval "mkdir $as_dirs"
30604 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30605 echo "$as_me: error: cannot create directory $as_dir" >&2;}
30606 { (exit 1); exit 1; }; }; }
30607 # echo "creating $dirpart/$file"
30608 echo '# dummy' > "$dirpart/$file"
30617 { (exit 0); exit 0; }
30619 chmod +x $CONFIG_STATUS
30620 ac_clean_files=$ac_clean_files_save
30623 # configure is writing to config.log, and then calls config.status.
30624 # config.status does its own redirection, appending to config.log.
30625 # Unfortunately, on DOS this fails, as config.log is still kept open
30626 # by configure, so config.status won't be able to write to it; its
30627 # output is simply discarded. So we exec the FD to /dev/null,
30628 # effectively closing config.log, so it can be properly (re)opened and
30629 # appended to by config.status. When coming back to configure, we
30630 # need to make the FD available again.
30631 if test "$no_create" != yes; then
30633 ac_config_status_args=
30634 test "$silent" = yes &&
30635 ac_config_status_args="$ac_config_status_args --quiet"
30637 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30639 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30640 # would make configure fail if this is the last instruction.
30641 $ac_cs_success || { (exit 1); exit 1; }
30645 { echo "$as_me:$LINENO:
30654 $FEATURES_TXT" >&6;}