2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for util-vserver 0.30.215.
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.215'
732 PACKAGE_STRING='util-vserver 0.30.215'
733 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
735 ac_unique_file="src/capchroot.c"
736 # Factoring default headers for most tests.
737 ac_includes_default="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
832 MAINTAINER_MODE_FALSE
867 ENSC_HAVE_CXX_COMPILER_TRUE
868 ENSC_HAVE_CXX_COMPILER_FALSE
869 ENSC_HAVE_C99_COMPILER_TRUE
870 ENSC_HAVE_C99_COMPILER_FALSE
922 ENSC_USE_EXPENSIVE_TESTS
930 USE_DIETLIBC_COMPAT_TRUE
931 USE_DIETLIBC_COMPAT_FALSE
932 ENSC_USE_DIETLIBC_TRUE
933 ENSC_USE_DIETLIBC_FALSE
948 ENSC_ENABLE_INTERNAL_HEADERS_TRUE
949 ENSC_ENABLE_INTERNAL_HEADERS_FALSE
950 ENSC_HAVE_BEECRYPT_TRUE
951 ENSC_HAVE_BEECRYPT_FALSE
952 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE
953 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE
956 ENSC_HAVE_CRYPTO_TRUE
957 ENSC_HAVE_CRYPTO_FALSE
958 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE
959 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE
962 HAVE_GENTOO_INIT_TRUE
963 HAVE_GENTOO_INIT_FALSE
969 ac_precious_vars='build_alias
991 # Initialize some variables set by options.
993 ac_init_version=false
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
1003 program_transform_name=s,x,x,
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1049 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1053 # Accept the important Cygnus configure options, so we can diagnose typos.
1055 case $ac_dashdash$ac_option in
1059 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1062 bindir=$ac_optarg ;;
1064 -build | --build | --buil | --bui | --bu)
1065 ac_prev=build_alias ;;
1066 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1067 build_alias=$ac_optarg ;;
1069 -cache-file | --cache-file | --cache-fil | --cache-fi \
1070 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1071 ac_prev=cache_file ;;
1072 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1073 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1074 cache_file=$ac_optarg ;;
1076 --config-cache | -C)
1077 cache_file=config.cache ;;
1079 -datadir | --datadir | --datadi | --datad)
1081 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1082 datadir=$ac_optarg ;;
1084 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1085 | --dataroo | --dataro | --datar)
1086 ac_prev=datarootdir ;;
1087 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1088 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1089 datarootdir=$ac_optarg ;;
1091 -disable-* | --disable-*)
1092 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1096 { (exit 1); exit 1; }; }
1097 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1098 eval enable_$ac_feature=no ;;
1100 -docdir | --docdir | --docdi | --doc | --do)
1102 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1103 docdir=$ac_optarg ;;
1105 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1108 dvidir=$ac_optarg ;;
1110 -enable-* | --enable-*)
1111 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1117 eval enable_$ac_feature=\$ac_optarg ;;
1119 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1120 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1121 | --exec | --exe | --ex)
1122 ac_prev=exec_prefix ;;
1123 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1124 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1125 | --exec=* | --exe=* | --ex=*)
1126 exec_prefix=$ac_optarg ;;
1128 -gas | --gas | --ga | --g)
1129 # Obsolete; use --with-gas.
1132 -help | --help | --hel | --he | -h)
1133 ac_init_help=long ;;
1134 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1135 ac_init_help=recursive ;;
1136 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1137 ac_init_help=short ;;
1139 -host | --host | --hos | --ho)
1140 ac_prev=host_alias ;;
1141 -host=* | --host=* | --hos=* | --ho=*)
1142 host_alias=$ac_optarg ;;
1144 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1146 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1148 htmldir=$ac_optarg ;;
1150 -includedir | --includedir | --includedi | --included | --include \
1151 | --includ | --inclu | --incl | --inc)
1152 ac_prev=includedir ;;
1153 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1154 | --includ=* | --inclu=* | --incl=* | --inc=*)
1155 includedir=$ac_optarg ;;
1157 -infodir | --infodir | --infodi | --infod | --info | --inf)
1159 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1160 infodir=$ac_optarg ;;
1162 -libdir | --libdir | --libdi | --libd)
1164 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1165 libdir=$ac_optarg ;;
1167 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1168 | --libexe | --libex | --libe)
1169 ac_prev=libexecdir ;;
1170 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1171 | --libexe=* | --libex=* | --libe=*)
1172 libexecdir=$ac_optarg ;;
1174 -localedir | --localedir | --localedi | --localed | --locale)
1175 ac_prev=localedir ;;
1176 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1177 localedir=$ac_optarg ;;
1179 -localstatedir | --localstatedir | --localstatedi | --localstated \
1180 | --localstate | --localstat | --localsta | --localst | --locals)
1181 ac_prev=localstatedir ;;
1182 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1183 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1184 localstatedir=$ac_optarg ;;
1186 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1188 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1189 mandir=$ac_optarg ;;
1191 -nfp | --nfp | --nf)
1192 # Obsolete; use --without-fp.
1195 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1196 | --no-cr | --no-c | -n)
1199 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1200 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1203 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1204 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1205 | --oldin | --oldi | --old | --ol | --o)
1206 ac_prev=oldincludedir ;;
1207 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1208 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1209 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1210 oldincludedir=$ac_optarg ;;
1212 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1214 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1215 prefix=$ac_optarg ;;
1217 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1218 | --program-pre | --program-pr | --program-p)
1219 ac_prev=program_prefix ;;
1220 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1221 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1222 program_prefix=$ac_optarg ;;
1224 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1225 | --program-suf | --program-su | --program-s)
1226 ac_prev=program_suffix ;;
1227 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1228 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1229 program_suffix=$ac_optarg ;;
1231 -program-transform-name | --program-transform-name \
1232 | --program-transform-nam | --program-transform-na \
1233 | --program-transform-n | --program-transform- \
1234 | --program-transform | --program-transfor \
1235 | --program-transfo | --program-transf \
1236 | --program-trans | --program-tran \
1237 | --progr-tra | --program-tr | --program-t)
1238 ac_prev=program_transform_name ;;
1239 -program-transform-name=* | --program-transform-name=* \
1240 | --program-transform-nam=* | --program-transform-na=* \
1241 | --program-transform-n=* | --program-transform-=* \
1242 | --program-transform=* | --program-transfor=* \
1243 | --program-transfo=* | --program-transf=* \
1244 | --program-trans=* | --program-tran=* \
1245 | --progr-tra=* | --program-tr=* | --program-t=*)
1246 program_transform_name=$ac_optarg ;;
1248 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1250 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1251 pdfdir=$ac_optarg ;;
1253 -psdir | --psdir | --psdi | --psd | --ps)
1255 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1259 | -silent | --silent | --silen | --sile | --sil)
1262 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1264 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1266 sbindir=$ac_optarg ;;
1268 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1269 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1270 | --sharedst | --shareds | --shared | --share | --shar \
1272 ac_prev=sharedstatedir ;;
1273 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1274 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1275 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1277 sharedstatedir=$ac_optarg ;;
1279 -site | --site | --sit)
1281 -site=* | --site=* | --sit=*)
1284 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1286 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1287 srcdir=$ac_optarg ;;
1289 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1290 | --syscon | --sysco | --sysc | --sys | --sy)
1291 ac_prev=sysconfdir ;;
1292 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1293 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1294 sysconfdir=$ac_optarg ;;
1296 -target | --target | --targe | --targ | --tar | --ta | --t)
1297 ac_prev=target_alias ;;
1298 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1299 target_alias=$ac_optarg ;;
1301 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1304 -version | --version | --versio | --versi | --vers | -V)
1305 ac_init_version=: ;;
1308 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311 { echo "$as_me: error: invalid package name: $ac_package" >&2
1312 { (exit 1); exit 1; }; }
1313 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1314 eval with_$ac_package=\$ac_optarg ;;
1316 -without-* | --without-*)
1317 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320 { echo "$as_me: error: invalid package name: $ac_package" >&2
1321 { (exit 1); exit 1; }; }
1322 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1323 eval with_$ac_package=no ;;
1326 # Obsolete; use --with-x.
1329 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1330 | --x-incl | --x-inc | --x-in | --x-i)
1331 ac_prev=x_includes ;;
1332 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1333 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1334 x_includes=$ac_optarg ;;
1336 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1337 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1338 ac_prev=x_libraries ;;
1339 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1340 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1341 x_libraries=$ac_optarg ;;
1343 -*) { echo "$as_me: error: unrecognized option: $ac_option
1344 Try \`$0 --help' for more information." >&2
1345 { (exit 1); exit 1; }; }
1349 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1350 # Reject names that are not valid shell variable names.
1351 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1352 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1353 { (exit 1); exit 1; }; }
1354 eval $ac_envvar=\$ac_optarg
1355 export $ac_envvar ;;
1358 # FIXME: should be removed in autoconf 3.0.
1359 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1360 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1362 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1368 if test -n "$ac_prev"; then
1369 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1370 { echo "$as_me: error: missing argument to $ac_option" >&2
1371 { (exit 1); exit 1; }; }
1374 # Be sure to have absolute directory names.
1375 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1376 datadir sysconfdir sharedstatedir localstatedir includedir \
1377 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1378 libdir localedir mandir
1380 eval ac_val=\$$ac_var
1382 [\\/$]* | ?:[\\/]* ) continue;;
1383 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1385 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1386 { (exit 1); exit 1; }; }
1389 # There might be people who depend on the old broken behavior: `$host'
1390 # used to hold the argument of --host etc.
1391 # FIXME: To remove some day.
1394 target=$target_alias
1396 # FIXME: To remove some day.
1397 if test "x$host_alias" != x; then
1398 if test "x$build_alias" = x; then
1399 cross_compiling=maybe
1400 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1401 If a cross compiler is detected then cross compile mode will be used." >&2
1402 elif test "x$build_alias" != "x$host_alias"; then
1408 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1410 test "$silent" = yes && exec 6>/dev/null
1413 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1414 ac_ls_di=`ls -di .` &&
1415 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1416 { echo "$as_me: error: Working directory cannot be determined" >&2
1417 { (exit 1); exit 1; }; }
1418 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1419 { echo "$as_me: error: pwd does not report name of working directory" >&2
1420 { (exit 1); exit 1; }; }
1423 # Find the source files, if location was not specified.
1424 if test -z "$srcdir"; then
1425 ac_srcdir_defaulted=yes
1426 # Try the directory containing this script, then the parent directory.
1427 ac_confdir=`$as_dirname -- "$0" ||
1428 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1429 X"$0" : 'X\(//\)[^/]' \| \
1430 X"$0" : 'X\(//\)$' \| \
1431 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1455 ac_srcdir_defaulted=no
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1458 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1459 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1460 { (exit 1); exit 1; }; }
1462 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1464 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1465 { (exit 1); exit 1; }; }
1467 # When building in place, set srcdir=.
1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
1471 # Remove unnecessary trailing slashes from srcdir.
1472 # Double slashes in file names in object file debugging info
1473 # mess up M-x gdb in Emacs.
1475 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1477 for ac_var in $ac_precious_vars; do
1478 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1479 eval ac_env_${ac_var}_value=\$${ac_var}
1480 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1481 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1485 # Report the --help message.
1487 if test "$ac_init_help" = "long"; then
1488 # Omit some internal or obsolete options to make the list less imposing.
1489 # This message is too long to be a string in the A/UX 3.1 sh.
1491 \`configure' configures util-vserver 0.30.215 to adapt to many kinds of systems.
1493 Usage: $0 [OPTION]... [VAR=VALUE]...
1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1496 VAR=VALUE. See below for descriptions of some of the useful variables.
1498 Defaults for the options are specified in brackets.
1501 -h, --help display this help and exit
1502 --help=short display options specific to this package
1503 --help=recursive display the short help of all the included packages
1504 -V, --version display version information and exit
1505 -q, --quiet, --silent do not print \`checking...' messages
1506 --cache-file=FILE cache test results in FILE [disabled]
1507 -C, --config-cache alias for \`--cache-file=config.cache'
1508 -n, --no-create do not create output files
1509 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1511 Installation directories:
1512 --prefix=PREFIX install architecture-independent files in PREFIX
1513 [$ac_default_prefix]
1514 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1517 By default, \`make install' will install all the files in
1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1520 for instance \`--prefix=\$HOME'.
1522 For better control, use the options below.
1524 Fine tuning of the installation directories:
1525 --bindir=DIR user executables [EPREFIX/bin]
1526 --sbindir=DIR system admin executables [EPREFIX/sbin]
1527 --libexecdir=DIR program executables [EPREFIX/libexec]
1528 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1529 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1530 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1531 --libdir=DIR object code libraries [EPREFIX/lib]
1532 --includedir=DIR C header files [PREFIX/include]
1533 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1534 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1535 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1536 --infodir=DIR info documentation [DATAROOTDIR/info]
1537 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1538 --mandir=DIR man documentation [DATAROOTDIR/man]
1539 --docdir=DIR documentation root [DATAROOTDIR/doc/util-vserver]
1540 --htmldir=DIR html documentation [DOCDIR]
1541 --dvidir=DIR dvi documentation [DOCDIR]
1542 --pdfdir=DIR pdf documentation [DOCDIR]
1543 --psdir=DIR ps documentation [DOCDIR]
1549 --program-prefix=PREFIX prepend PREFIX to installed program names
1550 --program-suffix=SUFFIX append SUFFIX to installed program names
1551 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1554 --build=BUILD configure for building on BUILD [guessed]
1555 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1559 if test -n "$ac_init_help"; then
1560 case $ac_init_help in
1561 short | recursive ) echo "Configuration of util-vserver 0.30.215:";;
1566 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1567 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1568 --enable-maintainer-mode enable make rules and dependencies not useful
1569 (and sometimes confusing) to the casual installer
1570 --disable-dependency-tracking speeds up one-time build
1571 --enable-dependency-tracking do not reject slow dependency extractors
1572 --disable-extra-optimizations
1573 disable certain extra optimizations (default: no)
1574 --enable-lib-debug enable additional debug code in library (default:
1576 --enable-expensive-tests
1577 disable tests which might be expensive on some
1578 systems (default: no)
1579 --enable-release enable release mode (default: no)
1580 --disable-alternative-syscalls
1581 do not use the alternative _syscallX macros provided
1582 by Herbert Poetzl (default: use them)
1583 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1584 --enable-dietlibc) (default: autodetect dietlibc)
1585 --enable-shared[=PKGS] build shared libraries [default=yes]
1586 --enable-static[=PKGS] build static libraries [default=yes]
1587 --enable-fast-install[=PKGS]
1588 optimize for fast installation [default=yes]
1589 --disable-libtool-lock avoid locking (might break parallel builds)
1590 --disable-internal-headers
1591 use vserver specific headers from the kernel instead
1592 of the shipped versions (default: no)
1593 --enable-apis=APIS enable support for the given apis; possible values
1595 legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2
1596 ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2)
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1603 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1604 values are 'fast', 'traditional' and 'auto'
1606 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1607 --with-pic try to use only PIC/non-PIC objects [default=use
1609 --with-tags[=TAGS] include additional configurations [automatic]
1610 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1611 --with-crypto-api=API select crypto api to be used; possible values are
1612 `none', `nss', `beecrypt', `auto' (default:auto)
1613 --with-initscripts=TYPE force host initscripts; valid values are 'gentoo'
1614 and 'sysv' (default: guess)
1616 Some influential environment variables:
1617 CXX C++ compiler command
1618 CXXFLAGS C++ compiler flags
1619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1620 nonstandard directory <lib dir>
1621 LIBS libraries to pass to the linker, e.g. -l<library>
1622 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 you have headers in a nonstandard directory <include dir>
1624 CC C compiler command
1625 CFLAGS C compiler flags
1626 PKG_CONFIG path to pkg-config utility
1628 DIET The 'diet' wrapper (default: diet)
1629 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1630 CXXCPP C++ preprocessor
1631 F77 Fortran 77 compiler command
1632 FFLAGS Fortran 77 compiler flags
1633 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
1634 NSS_LIBS linker flags for NSS, overriding pkg-config
1636 Use these variables to override the choices made by `configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1639 Report bugs to <vserver@list.linux-vserver.org>.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647 test -d "$ac_dir" || continue
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1667 .) # We are building in place.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1691 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1700 util-vserver configure 0.30.215
1701 generated by GNU Autoconf 2.61
1703 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1704 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1710 cat >config.log <<_ACEOF
1711 This file contains any messages produced by compilers while
1712 running configure, to aid debugging if configure makes a mistake.
1714 It was created by util-vserver $as_me 0.30.215, which was
1715 generated by GNU Autoconf 2.61. Invocation command line was
1727 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1728 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1729 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1730 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1731 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1733 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1734 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1736 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1737 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1738 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1739 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1740 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1741 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1742 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 test -z "$as_dir" && as_dir=.
1751 echo "PATH: $as_dir"
1767 # Keep a trace of the command line.
1768 # Strip out --no-create and --no-recursion so they do not pile up.
1769 # Strip out --silent because we don't want to record it for future runs.
1770 # Also quote any args containing shell meta-characters.
1771 # Make two passes to allow for proper duplicate-argument suppression.
1775 ac_must_keep_next=false
1781 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1783 | -silent | --silent | --silen | --sile | --sil)
1786 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1789 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1791 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1792 if test $ac_must_keep_next = true; then
1793 ac_must_keep_next=false # Got value, back to normal.
1796 *=* | --config-cache | -C | -disable-* | --disable-* \
1797 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1798 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1799 | -with-* | --with-* | -without-* | --without-* | --x)
1800 case "$ac_configure_args0 " in
1801 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1804 -* ) ac_must_keep_next=true ;;
1807 ac_configure_args="$ac_configure_args '$ac_arg'"
1812 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1813 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1815 # When interrupted or exit'd, cleanup temporary files, and complete
1816 # config.log. We remove comments because anyway the quotes in there
1817 # would cause problems or look ugly.
1818 # WARNING: Use '\'' to represent an apostrophe within the trap.
1819 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1820 trap 'exit_status=$?
1821 # Save into config.log some information that might help in debugging.
1826 ## ---------------- ##
1827 ## Cache variables. ##
1828 ## ---------------- ##
1831 # The following way of writing the cache mishandles newlines in values,
1833 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1834 eval ac_val=\$$ac_var
1838 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1839 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1842 _ | IFS | as_nl) ;; #(
1843 *) $as_unset $ac_var ;;
1848 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1849 *${as_nl}ac_space=\ *)
1851 "s/'\''/'\''\\\\'\'''\''/g;
1852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1855 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1863 ## ----------------- ##
1864 ## Output variables. ##
1865 ## ----------------- ##
1868 for ac_var in $ac_subst_vars
1870 eval ac_val=\$$ac_var
1872 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1874 echo "$ac_var='\''$ac_val'\''"
1878 if test -n "$ac_subst_files"; then
1880 ## ------------------- ##
1881 ## File substitutions. ##
1882 ## ------------------- ##
1885 for ac_var in $ac_subst_files
1887 eval ac_val=\$$ac_var
1889 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1891 echo "$ac_var='\''$ac_val'\''"
1896 if test -s confdefs.h; then
1906 test "$ac_signal" != 0 &&
1907 echo "$as_me: caught signal $ac_signal"
1908 echo "$as_me: exit $exit_status"
1910 rm -f core *.core core.conftest.* &&
1911 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1914 for ac_signal in 1 2 13 15; do
1915 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1919 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1920 rm -f -r conftest* confdefs.h
1922 # Predefined preprocessor variables.
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_NAME "$PACKAGE_NAME"
1929 cat >>confdefs.h <<_ACEOF
1930 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1939 cat >>confdefs.h <<_ACEOF
1940 #define PACKAGE_STRING "$PACKAGE_STRING"
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1949 # Let the site file select an alternate cache file if it wants to.
1950 # Prefer explicitly selected file to automatically selected ones.
1951 if test -n "$CONFIG_SITE"; then
1952 set x "$CONFIG_SITE"
1953 elif test "x$prefix" != xNONE; then
1954 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1956 set x "$ac_default_prefix/share/config.site" \
1957 "$ac_default_prefix/etc/config.site"
1962 if test -r "$ac_site_file"; then
1963 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1964 echo "$as_me: loading site script $ac_site_file" >&6;}
1965 sed 's/^/| /' "$ac_site_file" >&5
1970 if test -r "$cache_file"; then
1971 # Some versions of bash will fail to source /dev/null (special
1972 # files actually), so we avoid doing that.
1973 if test -f "$cache_file"; then
1974 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1975 echo "$as_me: loading cache $cache_file" >&6;}
1977 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1978 *) . "./$cache_file";;
1982 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1983 echo "$as_me: creating cache $cache_file" >&6;}
1987 # Check that the precious variables saved in the cache have kept the same
1989 ac_cache_corrupted=false
1990 for ac_var in $ac_precious_vars; do
1991 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1992 eval ac_new_set=\$ac_env_${ac_var}_set
1993 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1994 eval ac_new_val=\$ac_env_${ac_var}_value
1995 case $ac_old_set,$ac_new_set in
1997 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1998 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1999 ac_cache_corrupted=: ;;
2001 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2002 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2003 ac_cache_corrupted=: ;;
2006 if test "x$ac_old_val" != "x$ac_new_val"; then
2007 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2008 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2009 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2010 echo "$as_me: former value: $ac_old_val" >&2;}
2011 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2012 echo "$as_me: current value: $ac_new_val" >&2;}
2013 ac_cache_corrupted=:
2016 # Pass precious variables to config.status.
2017 if test "$ac_new_set" = set; then
2019 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2020 *) ac_arg=$ac_var=$ac_new_val ;;
2022 case " $ac_configure_args " in
2023 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2024 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2028 if $ac_cache_corrupted; then
2029 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2030 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2031 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2032 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2033 { (exit 1); exit 1; }; }
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2068 ac_config_headers="$ac_config_headers config.h"
2071 am__api_version='1.10'
2074 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2075 if test -f "$ac_dir/install-sh"; then
2077 ac_install_sh="$ac_aux_dir/install-sh -c"
2079 elif test -f "$ac_dir/install.sh"; then
2081 ac_install_sh="$ac_aux_dir/install.sh -c"
2083 elif test -f "$ac_dir/shtool"; then
2085 ac_install_sh="$ac_aux_dir/shtool install -c"
2089 if test -z "$ac_aux_dir"; then
2090 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2091 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2092 { (exit 1); exit 1; }; }
2095 # These three variables are undocumented and unsupported,
2096 # and are intended to be withdrawn in a future Autoconf release.
2097 # They can cause serious problems if a builder's source tree is in a directory
2098 # whose full name contains unusual characters.
2099 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2100 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2104 # Find a good install program. We prefer a C program (faster),
2105 # so one script is as good as another. But avoid the broken or
2106 # incompatible versions:
2107 # SysV /etc/install, /usr/sbin/install
2108 # SunOS /usr/etc/install
2109 # IRIX /sbin/install
2111 # AmigaOS /C/install, which installs bootblocks on floppy discs
2112 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2113 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2114 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2115 # OS/2's system install, which has a completely different semantic
2116 # ./install, which can be erroneously created by make from ./install.sh.
2117 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2118 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2119 if test -z "$INSTALL"; then
2120 if test "${ac_cv_path_install+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 test -z "$as_dir" && as_dir=.
2128 # Account for people who put trailing slashes in PATH elements.
2130 ./ | .// | /cC/* | \
2131 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2132 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2135 # OSF1 and SCO ODT 3.0 have their own names for install.
2136 # Don't use installbsd from OSF since it installs stuff as root
2138 for ac_prog in ginstall scoinst install; do
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2141 if test $ac_prog = install &&
2142 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2143 # AIX install. It has an incompatible calling convention.
2145 elif test $ac_prog = install &&
2146 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147 # program-specific install script used by HP pwplus--don't use.
2150 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2163 if test "${ac_cv_path_install+set}" = set; then
2164 INSTALL=$ac_cv_path_install
2166 # As a last resort, use the slow shell script. Don't cache a
2167 # value for INSTALL within a source directory, because that will
2168 # break other packages using the cache if that directory is
2169 # removed, or if the value is a relative name.
2170 INSTALL=$ac_install_sh
2173 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2174 echo "${ECHO_T}$INSTALL" >&6; }
2176 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2177 # It thinks the first close brace ends the variable substitution.
2178 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2180 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2182 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2184 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2185 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2188 echo timestamp > conftest.file
2189 # Do `set' in a subshell so we don't clobber the current shell's
2190 # arguments. Must try -L first in case configure is actually a
2191 # symlink; some systems play weird games with the mod time of symlinks
2192 # (eg FreeBSD returns the mod time of the symlink's containing
2195 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2196 if test "$*" = "X"; then
2198 set X `ls -t $srcdir/configure conftest.file`
2201 if test "$*" != "X $srcdir/configure conftest.file" \
2202 && test "$*" != "X conftest.file $srcdir/configure"; then
2204 # If neither matched, then we have a broken ls. This can happen
2205 # if, for instance, CONFIG_SHELL is bash and it inherits a
2206 # broken ls alias from the environment. This has actually
2207 # happened. Such a system could not be considered "sane".
2208 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&5
2210 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2211 alias in your environment" >&2;}
2212 { (exit 1); exit 1; }; }
2215 test "$2" = conftest.file
2221 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2222 Check your system clock" >&5
2223 echo "$as_me: error: newly created file is older than distributed files!
2224 Check your system clock" >&2;}
2225 { (exit 1); exit 1; }; }
2227 { echo "$as_me:$LINENO: result: yes" >&5
2228 echo "${ECHO_T}yes" >&6; }
2229 test "$program_prefix" != NONE &&
2230 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2231 # Use a double $ so make ignores it.
2232 test "$program_suffix" != NONE &&
2233 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2234 # Double any \ or $. echo might interpret backslashes.
2235 # By default was `s,x,x', remove it if useless.
2236 cat <<\_ACEOF >conftest.sed
2237 s/[\\$]/&&/g;s/;s,x,x,$//
2239 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2242 # expand $ac_aux_dir to an absolute path
2243 am_aux_dir=`cd $ac_aux_dir && pwd`
2245 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2246 # Use eval to expand $SHELL
2247 if eval "$MISSING --run true"; then
2248 am_missing_run="$MISSING --run "
2251 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2252 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2255 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2256 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2257 if test -z "$MKDIR_P"; then
2258 if test "${ac_cv_path_mkdir+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2265 test -z "$as_dir" && as_dir=.
2266 for ac_prog in mkdir gmkdir; do
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2269 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2270 'mkdir (GNU coreutils) '* | \
2271 'mkdir (coreutils) '* | \
2272 'mkdir (fileutils) '4.1*)
2273 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2283 if test "${ac_cv_path_mkdir+set}" = set; then
2284 MKDIR_P="$ac_cv_path_mkdir -p"
2286 # As a last resort, use the slow shell script. Don't cache a
2287 # value for MKDIR_P within a source directory, because that will
2288 # break other packages using the cache if that directory is
2289 # removed, or if the value is a relative name.
2290 test -d ./--version && rmdir ./--version
2291 MKDIR_P="$ac_install_sh -d"
2294 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2295 echo "${ECHO_T}$MKDIR_P" >&6; }
2299 [\\/$]* | ?:[\\/]*) ;;
2300 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2303 for ac_prog in gawk mawk nawk awk
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy $ac_prog; ac_word=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_AWK+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$AWK"; then
2313 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_AWK="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 if test -n "$AWK"; then
2334 { echo "$as_me:$LINENO: result: $AWK" >&5
2335 echo "${ECHO_T}$AWK" >&6; }
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$AWK" && break
2345 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2346 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2347 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2348 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 cat >conftest.make <<\_ACEOF
2354 @echo '@@@%%%=$(MAKE)=@@@%%%'
2356 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2357 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2359 eval ac_cv_prog_make_${ac_make}_set=yes;;
2361 eval ac_cv_prog_make_${ac_make}_set=no;;
2365 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2366 { echo "$as_me:$LINENO: result: yes" >&5
2367 echo "${ECHO_T}yes" >&6; }
2370 { echo "$as_me:$LINENO: result: no" >&5
2371 echo "${ECHO_T}no" >&6; }
2372 SET_MAKE="MAKE=${MAKE-make}"
2375 rm -rf .tst 2>/dev/null
2376 mkdir .tst 2>/dev/null
2377 if test -d .tst; then
2382 rmdir .tst 2>/dev/null
2384 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2385 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2386 # is not polluted with repeated "-I."
2387 am__isrc=' -I$(srcdir)'
2388 # test to see if srcdir already configured
2389 if test -f $srcdir/config.status; then
2390 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2391 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2392 { (exit 1); exit 1; }; }
2396 # test whether we have cygpath
2397 if test -z "$CYGPATH_W"; then
2398 if (cygpath --version) >/dev/null 2>/dev/null; then
2399 CYGPATH_W='cygpath -w'
2406 # Define the identity of the package.
2407 PACKAGE='util-vserver'
2411 cat >>confdefs.h <<_ACEOF
2412 #define PACKAGE "$PACKAGE"
2416 cat >>confdefs.h <<_ACEOF
2417 #define VERSION "$VERSION"
2420 # Some tools Automake needs.
2422 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2425 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2428 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2431 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2434 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2436 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2438 # Installed binaries are usually stripped using `strip' when the user
2439 # run `make install-strip'. However `strip' might not be the right
2440 # tool to use in cross-compilation environments, therefore Automake
2441 # will honor the `STRIP' environment variable to overrule this program.
2442 if test "$cross_compiling" != no; then
2443 if test -n "$ac_tool_prefix"; then
2444 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2445 set dummy ${ac_tool_prefix}strip; ac_word=$2
2446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2448 if test "${ac_cv_prog_STRIP+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 if test -n "$STRIP"; then
2452 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2461 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 STRIP=$ac_cv_prog_STRIP
2472 if test -n "$STRIP"; then
2473 { echo "$as_me:$LINENO: result: $STRIP" >&5
2474 echo "${ECHO_T}$STRIP" >&6; }
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2482 if test -z "$ac_cv_prog_STRIP"; then
2484 # Extract the first word of "strip", so it can be a program name with args.
2485 set dummy strip; ac_word=$2
2486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2488 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_STRIP"; then
2492 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2501 ac_cv_prog_ac_ct_STRIP="strip"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2512 if test -n "$ac_ct_STRIP"; then
2513 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2514 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2516 { echo "$as_me:$LINENO: result: no" >&5
2517 echo "${ECHO_T}no" >&6; }
2520 if test "x$ac_ct_STRIP" = x; then
2523 case $cross_compiling:$ac_tool_warned in
2525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2526 whose name does not start with the host triplet. If you think this
2527 configuration is useful to you, please write to autoconf@gnu.org." >&5
2528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2529 whose name does not start with the host triplet. If you think this
2530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2531 ac_tool_warned=yes ;;
2536 STRIP="$ac_cv_prog_STRIP"
2540 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2542 # We need awk for the "check" target. The system "awk" is bad on
2544 # Always define AMTAR for backward compatibility.
2546 AMTAR=${AMTAR-"${am_missing_run}tar"}
2548 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2554 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2555 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2556 # Check whether --enable-maintainer-mode was given.
2557 if test "${enable_maintainer_mode+set}" = set; then
2558 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2560 USE_MAINTAINER_MODE=no
2563 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2564 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2565 if test $USE_MAINTAINER_MODE = yes; then
2566 MAINTAINER_MODE_TRUE=
2567 MAINTAINER_MODE_FALSE='#'
2569 MAINTAINER_MODE_TRUE='#'
2570 MAINTAINER_MODE_FALSE=
2573 MAINT=$MAINTAINER_MODE_TRUE
2577 # Make sure we can run config.sub.
2578 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2579 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2580 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2581 { (exit 1); exit 1; }; }
2583 { echo "$as_me:$LINENO: checking build system type" >&5
2584 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2585 if test "${ac_cv_build+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 ac_build_alias=$build_alias
2589 test "x$ac_build_alias" = x &&
2590 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2591 test "x$ac_build_alias" = x &&
2592 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2593 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2594 { (exit 1); exit 1; }; }
2595 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2596 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2597 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2598 { (exit 1); exit 1; }; }
2601 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2602 echo "${ECHO_T}$ac_cv_build" >&6; }
2603 case $ac_cv_build in
2605 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2606 echo "$as_me: error: invalid value of canonical build" >&2;}
2607 { (exit 1); exit 1; }; };;
2610 ac_save_IFS=$IFS; IFS='-'
2616 # Remember, the first character of IFS is used to create $*,
2617 # except with old shells:
2620 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2623 { echo "$as_me:$LINENO: checking host system type" >&5
2624 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2625 if test "${ac_cv_host+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 if test "x$host_alias" = x; then
2629 ac_cv_host=$ac_cv_build
2631 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2632 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2633 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2634 { (exit 1); exit 1; }; }
2638 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2639 echo "${ECHO_T}$ac_cv_host" >&6; }
2642 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2643 echo "$as_me: error: invalid value of canonical host" >&2;}
2644 { (exit 1); exit 1; }; };;
2647 ac_save_IFS=$IFS; IFS='-'
2653 # Remember, the first character of IFS is used to create $*,
2654 # except with old shells:
2657 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2661 GPG_KEY="0xFFD316AC53ACA43A!"
2664 # Checks for programs.
2666 ac_cpp='$CXXCPP $CPPFLAGS'
2667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2670 if test -z "$CXX"; then
2671 if test -n "$CCC"; then
2674 if test -n "$ac_tool_prefix"; then
2675 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2681 if test "${ac_cv_prog_CXX+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 if test -n "$CXX"; then
2685 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir=.
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 if test -n "$CXX"; then
2706 { echo "$as_me:$LINENO: result: $CXX" >&5
2707 echo "${ECHO_T}$CXX" >&6; }
2709 { echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6; }
2714 test -n "$CXX" && break
2717 if test -z "$CXX"; then
2719 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy $ac_prog; ac_word=$2
2723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2725 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 if test -n "$ac_ct_CXX"; then
2729 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_ac_ct_CXX="$ac_prog"
2739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2749 if test -n "$ac_ct_CXX"; then
2750 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2751 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2753 { echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6; }
2758 test -n "$ac_ct_CXX" && break
2761 if test "x$ac_ct_CXX" = x; then
2764 case $cross_compiling:$ac_tool_warned in
2766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2767 whose name does not start with the host triplet. If you think this
2768 configuration is useful to you, please write to autoconf@gnu.org." >&5
2769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2770 whose name does not start with the host triplet. If you think this
2771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2772 ac_tool_warned=yes ;;
2780 # Provide some information about the compiler.
2781 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2782 ac_compiler=`set X $ac_compile; echo $2`
2783 { (ac_try="$ac_compiler --version >&5"
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2789 (eval "$ac_compiler --version >&5") 2>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }
2793 { (ac_try="$ac_compiler -v >&5"
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2799 (eval "$ac_compiler -v >&5") 2>&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }
2803 { (ac_try="$ac_compiler -V >&5"
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2809 (eval "$ac_compiler -V >&5") 2>&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }
2814 cat >conftest.$ac_ext <<_ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2829 ac_clean_files_save=$ac_clean_files
2830 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2831 # Try to create an executable without -o first, disregard a.out.
2832 # It will help us diagnose broken compilers, and finding out an intuition
2834 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2835 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2836 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2838 # List of possible output files, starting from the most likely.
2839 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2840 # only as a last resort. b.out is created by i960 compilers.
2841 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2843 # The IRIX 6 linker writes into existing files which may not be
2844 # executable, retaining their permissions. Remove them first so a
2845 # subsequent execution test works.
2847 for ac_file in $ac_files
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2851 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2856 if { (ac_try="$ac_link_default"
2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859 *) ac_try_echo=$ac_try;;
2861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2862 (eval "$ac_link_default") 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; then
2866 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2867 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2868 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2869 # so that the user can short-circuit this test for compilers unknown to
2871 for ac_file in $ac_files ''
2873 test -f "$ac_file" || continue
2875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2878 # We found the default executable, but exeext='' is most
2882 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2884 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2886 # We set ac_cv_exeext here because the later test for it is not
2887 # safe: cross compilers may not add the suffix if given an `-o'
2888 # argument, so we may need to know it at that point already.
2889 # Even if this section looks crufty: it has the advantage of
2896 test "$ac_cv_exeext" = no && ac_cv_exeext=
2902 { echo "$as_me:$LINENO: result: $ac_file" >&5
2903 echo "${ECHO_T}$ac_file" >&6; }
2904 if test -z "$ac_file"; then
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2909 See \`config.log' for more details." >&5
2910 echo "$as_me: error: C++ compiler cannot create executables
2911 See \`config.log' for more details." >&2;}
2912 { (exit 77); exit 77; }; }
2915 ac_exeext=$ac_cv_exeext
2917 # Check that the compiler produces executables we can run. If not, either
2918 # the compiler is broken, or we cross compile.
2919 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2920 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2921 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2922 # If not cross compiling, check that we can run a simple program.
2923 if test "$cross_compiling" != yes; then
2924 if { ac_try='./$ac_file'
2925 { (case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_try") 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2936 if test "$cross_compiling" = maybe; then
2939 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2940 If you meant to cross compile, use \`--host'.
2941 See \`config.log' for more details." >&5
2942 echo "$as_me: error: cannot run C++ compiled programs.
2943 If you meant to cross compile, use \`--host'.
2944 See \`config.log' for more details." >&2;}
2945 { (exit 1); exit 1; }; }
2949 { echo "$as_me:$LINENO: result: yes" >&5
2950 echo "${ECHO_T}yes" >&6; }
2952 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2953 ac_clean_files=$ac_clean_files_save
2954 # Check that the compiler produces executables we can run. If not, either
2955 # the compiler is broken, or we cross compile.
2956 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2957 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2958 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2959 echo "${ECHO_T}$cross_compiling" >&6; }
2961 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2962 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2963 if { (ac_try="$ac_link"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_link") 2>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; then
2973 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2974 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2975 # work properly (i.e., refer to `conftest.exe'), while it won't with
2977 for ac_file in conftest.exe conftest conftest.*; do
2978 test -f "$ac_file" || continue
2980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2981 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2988 See \`config.log' for more details." >&5
2989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2994 rm -f conftest$ac_cv_exeext
2995 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2996 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3001 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3002 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3003 if test "${ac_cv_objext+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 cat >conftest.$ac_ext <<_ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3021 rm -f conftest.o conftest.obj
3022 if { (ac_try="$ac_compile"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compile") 2>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; then
3032 for ac_file in conftest.o conftest.obj conftest.*; do
3033 test -f "$ac_file" || continue;
3035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3036 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3041 echo "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3044 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3045 See \`config.log' for more details." >&5
3046 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3047 See \`config.log' for more details." >&2;}
3048 { (exit 1); exit 1; }; }
3051 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3053 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3054 echo "${ECHO_T}$ac_cv_objext" >&6; }
3055 OBJEXT=$ac_cv_objext
3057 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3058 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3059 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3080 rm -f conftest.$ac_objext
3081 if { (ac_try="$ac_compile"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compile") 2>conftest.er1
3089 grep -v '^ *+' conftest.er1 >conftest.err
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } && {
3094 test -z "$ac_cxx_werror_flag" ||
3095 test ! -s conftest.err
3096 } && test -s conftest.$ac_objext; then
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3109 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3110 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3111 GXX=`test $ac_compiler_gnu = yes && echo yes`
3112 ac_test_CXXFLAGS=${CXXFLAGS+set}
3113 ac_save_CXXFLAGS=$CXXFLAGS
3114 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3115 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3116 if test "${ac_cv_prog_cxx_g+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3120 ac_cxx_werror_flag=yes
3123 cat >conftest.$ac_ext <<_ACEOF
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_cxx_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cxx_g=yes
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3161 cat >conftest.$ac_ext <<_ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (ac_try="$ac_compile"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } && {
3190 test -z "$ac_cxx_werror_flag" ||
3191 test ! -s conftest.err
3192 } && test -s conftest.$ac_objext; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3198 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3200 cat >conftest.$ac_ext <<_ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3215 rm -f conftest.$ac_objext
3216 if { (ac_try="$ac_compile"
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3222 (eval "$ac_compile") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } && {
3229 test -z "$ac_cxx_werror_flag" ||
3230 test ! -s conftest.err
3231 } && test -s conftest.$ac_objext; then
3232 ac_cv_prog_cxx_g=yes
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3250 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3251 if test "$ac_test_CXXFLAGS" = set; then
3252 CXXFLAGS=$ac_save_CXXFLAGS
3253 elif test $ac_cv_prog_cxx_g = yes; then
3254 if test "$GXX" = yes; then
3260 if test "$GXX" = yes; then
3267 ac_cpp='$CPP $CPPFLAGS'
3268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 DEPDIR="${am__leading_dot}deps"
3273 ac_config_commands="$ac_config_commands depfiles"
3276 am_make=${MAKE-make}
3277 cat > confinc << 'END'
3282 # If we don't find an include directive, just comment out the code.
3283 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3284 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3288 # First try GNU make style include.
3289 echo "include confinc" > confmf
3290 # We grep out `Entering directory' and `Leaving directory'
3291 # messages which can occur if `w' ends up in MAKEFLAGS.
3292 # In particular we don't look at `^make:' because GNU make might
3293 # be invoked under some other name (usually "gmake"), in which
3294 # case it prints its new name instead of `make'.
3295 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3300 # Now try BSD make style include.
3301 if test "$am__include" = "#"; then
3302 echo '.include "confinc"' > confmf
3303 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3304 am__include=.include
3311 { echo "$as_me:$LINENO: result: $_am_result" >&5
3312 echo "${ECHO_T}$_am_result" >&6; }
3313 rm -f confinc confmf
3315 # Check whether --enable-dependency-tracking was given.
3316 if test "${enable_dependency_tracking+set}" = set; then
3317 enableval=$enable_dependency_tracking;
3320 if test "x$enable_dependency_tracking" != xno; then
3321 am_depcomp="$ac_aux_dir/depcomp"
3324 if test "x$enable_dependency_tracking" != xno; then
3334 depcc="$CXX" am_compiler_list=
3336 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3337 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3338 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3342 # We make a subdir and do the tests there. Otherwise we can end up
3343 # making bogus files that we don't know about and never remove. For
3344 # instance it was reported that on HP-UX the gcc test will end up
3345 # making a dummy file named `D' -- because `-MD' means `put the output
3348 # Copy depcomp to subdir because otherwise we won't find it if we're
3349 # using a relative directory.
3350 cp "$am_depcomp" conftest.dir
3352 # We will build objects and dependencies in a subdirectory because
3353 # it helps to detect inapplicable dependency modes. For instance
3354 # both Tru64's cc and ICC support -MD to output dependencies as a
3355 # side effect of compilation, but ICC will put the dependencies in
3356 # the current directory while Tru64 will put them in the object
3360 am_cv_CXX_dependencies_compiler_type=none
3361 if test "$am_compiler_list" = ""; then
3362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3364 for depmode in $am_compiler_list; do
3365 # Setup a source with many dependencies, because some compilers
3366 # like to wrap large dependency lists on column 80 (with \), and
3367 # we should not choose a depcomp mode which is confused by this.
3369 # We need to recreate these files for each test, as the compiler may
3370 # overwrite some of them when testing with obscure command lines.
3371 # This happens at least with the AIX C compiler.
3373 for i in 1 2 3 4 5 6; do
3374 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3375 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3376 # Solaris 8's {/usr,}/bin/sh.
3377 touch sub/conftst$i.h
3379 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3383 # after this tag, mechanisms are not by side-effect, so they'll
3384 # only be used when explicitly requested
3385 if test "x$enable_dependency_tracking" = xyes; then
3393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3394 # mode. It turns out that the SunPro C++ compiler does not properly
3395 # handle `-M -o', and we need to detect this.
3396 if depmode=$depmode \
3397 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3398 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3399 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3400 >/dev/null 2>conftest.err &&
3401 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3402 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3403 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3404 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3405 # icc doesn't choke on unknown options, it will just issue warnings
3406 # or remarks (even with -Werror). So we grep stderr for any message
3407 # that says an option was ignored or not supported.
3408 # When given -MP, icc 7.0 and 7.1 complain thusly:
3409 # icc: Command line warning: ignoring option '-M'; no argument required
3410 # The diagnosis changed in icc 8.0:
3411 # icc: Command line remark: option '-MP' not supported
3412 if (grep 'ignoring option' conftest.err ||
3413 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3414 am_cv_CXX_dependencies_compiler_type=$depmode
3423 am_cv_CXX_dependencies_compiler_type=none
3427 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3428 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3429 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3432 test "x$enable_dependency_tracking" != xno \
3433 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3434 am__fastdepCXX_TRUE=
3435 am__fastdepCXX_FALSE='#'
3437 am__fastdepCXX_TRUE='#'
3438 am__fastdepCXX_FALSE=
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447 if test -n "$ac_tool_prefix"; then
3448 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3449 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3452 if test "${ac_cv_prog_CC+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 if test -n "$CC"; then
3456 ac_cv_prog_CC="$CC" # Let the user override the test.
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 test -z "$as_dir" && as_dir=.
3463 for ac_exec_ext in '' $ac_executable_extensions; do
3464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3465 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 if test -n "$CC"; then
3477 { echo "$as_me:$LINENO: result: $CC" >&5
3478 echo "${ECHO_T}$CC" >&6; }
3480 { echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6; }
3486 if test -z "$ac_cv_prog_CC"; then
3488 # Extract the first word of "gcc", so it can be a program name with args.
3489 set dummy gcc; ac_word=$2
3490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3492 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 if test -n "$ac_ct_CC"; then
3496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_ac_ct_CC="gcc"
3506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3516 if test -n "$ac_ct_CC"; then
3517 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3518 echo "${ECHO_T}$ac_ct_CC" >&6; }
3520 { echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6; }
3524 if test "x$ac_ct_CC" = x; then
3527 case $cross_compiling:$ac_tool_warned in
3529 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3530 whose name does not start with the host triplet. If you think this
3531 configuration is useful to you, please write to autoconf@gnu.org." >&5
3532 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3533 whose name does not start with the host triplet. If you think this
3534 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3535 ac_tool_warned=yes ;;
3543 if test -z "$CC"; then
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}cc; ac_word=$2
3547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_CC="${ac_tool_prefix}cc"
3563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test -n "$CC"; then
3574 { echo "$as_me:$LINENO: result: $CC" >&5
3575 echo "${ECHO_T}$CC" >&6; }
3577 { echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6; }
3584 if test -z "$CC"; then
3585 # Extract the first word of "cc", so it can be a program name with args.
3586 set dummy cc; ac_word=$2
3587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3589 if test "${ac_cv_prog_CC+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 if test -n "$CC"; then
3593 ac_cv_prog_CC="$CC" # Let the user override the test.
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3604 ac_prog_rejected=yes
3608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 if test $ac_prog_rejected = yes; then
3616 # We found a bogon in the path, so make sure we never use it.
3617 set dummy $ac_cv_prog_CC
3619 if test $# != 0; then
3620 # We chose a different compiler from the bogus one.
3621 # However, it has the same basename, so the bogon will be chosen
3622 # first if we set CC to just the basename; use the full file name.
3624 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3630 if test -n "$CC"; then
3631 { echo "$as_me:$LINENO: result: $CC" >&5
3632 echo "${ECHO_T}$CC" >&6; }
3634 { echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6; }
3640 if test -z "$CC"; then
3641 if test -n "$ac_tool_prefix"; then
3642 for ac_prog in cl.exe
3644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CC"; then
3673 { echo "$as_me:$LINENO: result: $CC" >&5
3674 echo "${ECHO_T}$CC" >&6; }
3676 { echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6; }
3681 test -n "$CC" && break
3684 if test -z "$CC"; then
3686 for ac_prog in cl.exe
3688 # Extract the first word of "$ac_prog", so it can be a program name with args.
3689 set dummy $ac_prog; ac_word=$2
3690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 if test -n "$ac_ct_CC"; then
3696 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705 ac_cv_prog_ac_ct_CC="$ac_prog"
3706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3716 if test -n "$ac_ct_CC"; then
3717 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3718 echo "${ECHO_T}$ac_ct_CC" >&6; }
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3725 test -n "$ac_ct_CC" && break
3728 if test "x$ac_ct_CC" = x; then
3731 case $cross_compiling:$ac_tool_warned in
3733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3734 whose name does not start with the host triplet. If you think this
3735 configuration is useful to you, please write to autoconf@gnu.org." >&5
3736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3737 whose name does not start with the host triplet. If you think this
3738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3739 ac_tool_warned=yes ;;
3748 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3749 See \`config.log' for more details." >&5
3750 echo "$as_me: error: no acceptable C compiler found in \$PATH
3751 See \`config.log' for more details." >&2;}
3752 { (exit 1); exit 1; }; }
3754 # Provide some information about the compiler.
3755 echo "$as_me:$LINENO: checking for C compiler version" >&5
3756 ac_compiler=`set X $ac_compile; echo $2`
3757 { (ac_try="$ac_compiler --version >&5"
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763 (eval "$ac_compiler --version >&5") 2>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }
3767 { (ac_try="$ac_compiler -v >&5"
3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770 *) ac_try_echo=$ac_try;;
3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773 (eval "$ac_compiler -v >&5") 2>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }
3777 { (ac_try="$ac_compiler -V >&5"
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3783 (eval "$ac_compiler -V >&5") 2>&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); }
3788 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3789 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3790 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 cat >conftest.$ac_ext <<_ACEOF
3796 cat confdefs.h >>conftest.$ac_ext
3797 cat >>conftest.$ac_ext <<_ACEOF
3798 /* end confdefs.h. */
3811 rm -f conftest.$ac_objext
3812 if { (ac_try="$ac_compile"
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3818 (eval "$ac_compile") 2>conftest.er1
3820 grep -v '^ *+' conftest.er1 >conftest.err
3822 cat conftest.err >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } && {
3825 test -z "$ac_c_werror_flag" ||
3826 test ! -s conftest.err
3827 } && test -s conftest.$ac_objext; then
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3840 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3841 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3842 GCC=`test $ac_compiler_gnu = yes && echo yes`
3843 ac_test_CFLAGS=${CFLAGS+set}
3844 ac_save_CFLAGS=$CFLAGS
3845 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3846 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3847 if test "${ac_cv_prog_cc_g+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 ac_save_c_werror_flag=$ac_c_werror_flag
3851 ac_c_werror_flag=yes
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3869 rm -f conftest.$ac_objext
3870 if { (ac_try="$ac_compile"
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876 (eval "$ac_compile") 2>conftest.er1
3878 grep -v '^ *+' conftest.er1 >conftest.err
3880 cat conftest.err >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } && {
3883 test -z "$ac_c_werror_flag" ||
3884 test ! -s conftest.err
3885 } && test -s conftest.$ac_objext; then
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.$ac_ext >&5
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3907 rm -f conftest.$ac_objext
3908 if { (ac_try="$ac_compile"
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_compile") 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } && {
3921 test -z "$ac_c_werror_flag" ||
3922 test ! -s conftest.err
3923 } && test -s conftest.$ac_objext; then
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 ac_c_werror_flag=$ac_save_c_werror_flag
3931 cat >conftest.$ac_ext <<_ACEOF
3934 cat confdefs.h >>conftest.$ac_ext
3935 cat >>conftest.$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3946 rm -f conftest.$ac_objext
3947 if { (ac_try="$ac_compile"
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3953 (eval "$ac_compile") 2>conftest.er1
3955 grep -v '^ *+' conftest.er1 >conftest.err
3957 cat conftest.err >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } && {
3960 test -z "$ac_c_werror_flag" ||
3961 test ! -s conftest.err
3962 } && test -s conftest.$ac_objext; then
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3981 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3982 if test "$ac_test_CFLAGS" = set; then
3983 CFLAGS=$ac_save_CFLAGS
3984 elif test $ac_cv_prog_cc_g = yes; then
3985 if test "$GCC" = yes; then
3991 if test "$GCC" = yes; then
3997 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3998 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3999 if test "${ac_cv_prog_cc_c89+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 ac_cv_prog_cc_c89=no
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4012 #include <sys/types.h>
4013 #include <sys/stat.h>
4014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4015 struct buf { int x; };
4016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4017 static char *e (p, i)
4023 static char *f (char * (*g) (char **, int), char **p, ...)
4028 s = g (p, va_arg (v,int));
4033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4034 function prototypes and stuff, but not '\xHH' hex character constants.
4035 These don't provoke an error unfortunately, instead are silently treated
4036 as 'x'. The following induces an error, until -std is added to get
4037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4038 array size at least. It's necessary to write '\x00'==0 to get something
4039 that's true only with -std. */
4040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4043 inside strings and character constants. */
4045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4047 int test (int i, double x);
4048 struct s1 {int (*f) (int a);};
4049 struct s2 {int (*f) (double a);};
4050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4056 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4064 CC="$ac_save_CC $ac_arg"
4065 rm -f conftest.$ac_objext
4066 if { (ac_try="$ac_compile"
4068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4072 (eval "$ac_compile") 2>conftest.er1
4074 grep -v '^ *+' conftest.er1 >conftest.err
4076 cat conftest.err >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } && {
4079 test -z "$ac_c_werror_flag" ||
4080 test ! -s conftest.err
4081 } && test -s conftest.$ac_objext; then
4082 ac_cv_prog_cc_c89=$ac_arg
4084 echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.$ac_ext >&5
4090 rm -f core conftest.err conftest.$ac_objext
4091 test "x$ac_cv_prog_cc_c89" != "xno" && break
4093 rm -f conftest.$ac_ext
4098 case "x$ac_cv_prog_cc_c89" in
4100 { echo "$as_me:$LINENO: result: none needed" >&5
4101 echo "${ECHO_T}none needed" >&6; } ;;
4103 { echo "$as_me:$LINENO: result: unsupported" >&5
4104 echo "${ECHO_T}unsupported" >&6; } ;;
4106 CC="$CC $ac_cv_prog_cc_c89"
4107 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4108 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4118 depcc="$CC" am_compiler_list=
4120 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4121 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4122 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4126 # We make a subdir and do the tests there. Otherwise we can end up
4127 # making bogus files that we don't know about and never remove. For
4128 # instance it was reported that on HP-UX the gcc test will end up
4129 # making a dummy file named `D' -- because `-MD' means `put the output
4132 # Copy depcomp to subdir because otherwise we won't find it if we're
4133 # using a relative directory.
4134 cp "$am_depcomp" conftest.dir
4136 # We will build objects and dependencies in a subdirectory because
4137 # it helps to detect inapplicable dependency modes. For instance
4138 # both Tru64's cc and ICC support -MD to output dependencies as a
4139 # side effect of compilation, but ICC will put the dependencies in
4140 # the current directory while Tru64 will put them in the object
4144 am_cv_CC_dependencies_compiler_type=none
4145 if test "$am_compiler_list" = ""; then
4146 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4148 for depmode in $am_compiler_list; do
4149 # Setup a source with many dependencies, because some compilers
4150 # like to wrap large dependency lists on column 80 (with \), and
4151 # we should not choose a depcomp mode which is confused by this.
4153 # We need to recreate these files for each test, as the compiler may
4154 # overwrite some of them when testing with obscure command lines.
4155 # This happens at least with the AIX C compiler.
4157 for i in 1 2 3 4 5 6; do
4158 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4159 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4160 # Solaris 8's {/usr,}/bin/sh.
4161 touch sub/conftst$i.h
4163 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4167 # after this tag, mechanisms are not by side-effect, so they'll
4168 # only be used when explicitly requested
4169 if test "x$enable_dependency_tracking" = xyes; then
4177 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4178 # mode. It turns out that the SunPro C++ compiler does not properly
4179 # handle `-M -o', and we need to detect this.
4180 if depmode=$depmode \
4181 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4182 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4183 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4184 >/dev/null 2>conftest.err &&
4185 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4186 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4187 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4188 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4189 # icc doesn't choke on unknown options, it will just issue warnings
4190 # or remarks (even with -Werror). So we grep stderr for any message
4191 # that says an option was ignored or not supported.
4192 # When given -MP, icc 7.0 and 7.1 complain thusly:
4193 # icc: Command line warning: ignoring option '-M'; no argument required
4194 # The diagnosis changed in icc 8.0:
4195 # icc: Command line remark: option '-MP' not supported
4196 if (grep 'ignoring option' conftest.err ||
4197 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4198 am_cv_CC_dependencies_compiler_type=$depmode
4207 am_cv_CC_dependencies_compiler_type=none
4211 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4212 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4213 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4216 test "x$enable_dependency_tracking" != xno \
4217 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4219 am__fastdepCC_FALSE='#'
4221 am__fastdepCC_TRUE='#'
4222 am__fastdepCC_FALSE=
4226 # Find a good install program. We prefer a C program (faster),
4227 # so one script is as good as another. But avoid the broken or
4228 # incompatible versions:
4229 # SysV /etc/install, /usr/sbin/install
4230 # SunOS /usr/etc/install
4231 # IRIX /sbin/install
4233 # AmigaOS /C/install, which installs bootblocks on floppy discs
4234 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4235 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4236 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4237 # OS/2's system install, which has a completely different semantic
4238 # ./install, which can be erroneously created by make from ./install.sh.
4239 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4240 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4241 if test -z "$INSTALL"; then
4242 if test "${ac_cv_path_install+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir=.
4250 # Account for people who put trailing slashes in PATH elements.
4252 ./ | .// | /cC/* | \
4253 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4254 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4257 # OSF1 and SCO ODT 3.0 have their own names for install.
4258 # Don't use installbsd from OSF since it installs stuff as root
4260 for ac_prog in ginstall scoinst install; do
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4263 if test $ac_prog = install &&
4264 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4265 # AIX install. It has an incompatible calling convention.
4267 elif test $ac_prog = install &&
4268 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4269 # program-specific install script used by HP pwplus--don't use.
4272 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4285 if test "${ac_cv_path_install+set}" = set; then
4286 INSTALL=$ac_cv_path_install
4288 # As a last resort, use the slow shell script. Don't cache a
4289 # value for INSTALL within a source directory, because that will
4290 # break other packages using the cache if that directory is
4291 # removed, or if the value is a relative name.
4292 INSTALL=$ac_install_sh
4295 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4296 echo "${ECHO_T}$INSTALL" >&6; }
4298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4299 # It thinks the first close brace ends the variable substitution.
4300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4306 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4307 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4309 if test "$LN_S" = "ln -s"; then
4310 { echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6; }
4313 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4314 echo "${ECHO_T}no, using $LN_S" >&6; }
4317 if test "x$CC" != xcc; then
4318 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4319 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4321 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4322 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4324 set dummy $CC; ac_cc=`echo $2 |
4325 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4326 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4344 # Make sure it works both with $CC and with simple cc.
4345 # We do the test twice because some compilers refuse to overwrite an
4346 # existing .o file with -o, though they will create one.
4347 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4349 if { (case "(($ac_try" in
4350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4354 (eval "$ac_try") 2>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4363 (eval "$ac_try") 2>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); };
4368 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4369 if test "x$CC" != xcc; then
4370 # Test first that cc exists at all.
4371 if { ac_try='cc -c conftest.$ac_ext >&5'
4372 { (case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 (eval "$ac_try") 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; }; then
4381 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4383 if { (case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_try") 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } &&
4392 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397 (eval "$ac_try") 2>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); };
4405 # cc exists but doesn't like -o.
4406 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4411 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4413 rm -f core conftest*
4416 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4417 { echo "$as_me:$LINENO: result: yes" >&5
4418 echo "${ECHO_T}yes" >&6; }
4420 { echo "$as_me:$LINENO: result: no" >&5
4421 echo "${ECHO_T}no" >&6; }
4423 cat >>confdefs.h <<\_ACEOF
4424 #define NO_MINUS_C_MINUS_O 1
4429 # FIXME: we rely on the cache variable name because
4430 # there is no other way.
4432 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4433 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4434 # Losing compiler, so override with the script.
4435 # FIXME: It is wrong to rewrite CC.
4436 # But if we don't then we get into trouble of one sort or another.
4437 # A longer-term fix would be to have automake use am__CC in this case,
4438 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4439 CC="$am_aux_dir/compile $CC"
4445 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4446 if test -n "$ac_tool_prefix"; then
4447 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4448 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4452 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4478 if test -n "$PKG_CONFIG"; then
4479 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4480 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4482 { echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6; }
4488 if test -z "$ac_cv_path_PKG_CONFIG"; then
4489 ac_pt_PKG_CONFIG=$PKG_CONFIG
4490 # Extract the first word of "pkg-config", so it can be a program name with args.
4491 set dummy pkg-config; ac_word=$2
4492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4494 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 case $ac_pt_PKG_CONFIG in
4499 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4509 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4521 if test -n "$ac_pt_PKG_CONFIG"; then
4522 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4523 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4529 if test "x$ac_pt_PKG_CONFIG" = x; then
4532 case $cross_compiling:$ac_tool_warned in
4534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4535 whose name does not start with the host triplet. If you think this
4536 configuration is useful to you, please write to autoconf@gnu.org." >&5
4537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4538 whose name does not start with the host triplet. If you think this
4539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4540 ac_tool_warned=yes ;;
4542 PKG_CONFIG=$ac_pt_PKG_CONFIG
4545 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4549 if test -n "$PKG_CONFIG"; then
4550 _pkg_min_version=0.9.0
4551 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4552 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4553 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4554 { echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6; }
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4567 { echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4568 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6; }
4569 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 ac_cpp='$CXXCPP $CPPFLAGS'
4575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4579 cat >conftest.$ac_ext <<_ACEOF
4584 rm -f conftest.$ac_objext
4585 if { (ac_try="$ac_compile"
4587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588 *) ac_try_echo=$ac_try;;
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_compile") 2>conftest.er1
4593 grep -v '^ *+' conftest.er1 >conftest.err
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_cxx_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest.$ac_objext; then
4601 ensc_cv_cxx_cxxcompiler=yes
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 ensc_cv_cxx_cxxcompiler=no
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4611 ac_cpp='$CPP $CPPFLAGS'
4612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 { echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4619 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6; }
4621 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4622 ENSC_HAVE_CXX_COMPILER_TRUE=
4623 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4625 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4626 ENSC_HAVE_CXX_COMPILER_FALSE=
4630 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4631 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4632 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4639 { echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4640 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6; }
4641 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 ac_cpp='$CPP $CPPFLAGS'
4647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4651 cat >conftest.$ac_ext <<_ACEOF
4653 int main(int argc, char *argv) {
4654 struct { int x; } a = { .x = argc };
4660 rm -f conftest.$ac_objext
4661 if { (ac_try="$ac_compile"
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4667 (eval "$ac_compile") 2>conftest.er1
4669 grep -v '^ *+' conftest.er1 >conftest.err
4671 cat conftest.err >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } && {
4674 test -z "$ac_c_werror_flag" ||
4675 test ! -s conftest.err
4676 } && test -s conftest.$ac_objext; then
4677 ensc_cv_c99_c99compiler=yes
4679 echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.$ac_ext >&5
4682 ensc_cv_c99_c99compiler=no
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 ac_cpp='$CPP $CPPFLAGS'
4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4694 { echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4695 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6; }
4697 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4698 ENSC_HAVE_C99_COMPILER_TRUE=
4699 ENSC_HAVE_C99_COMPILER_FALSE='#'
4701 ENSC_HAVE_C99_COMPILER_TRUE='#'
4702 ENSC_HAVE_C99_COMPILER_FALSE=
4706 if test x"$ensc_cv_c99_c99compiler" = xno; then
4707 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4708 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4713 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4738 # Extract the first word of "$ac_prog", so it can be a program name with args.
4739 set dummy $ac_prog; ac_word=$2
4740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4742 if test "${ac_cv_path_AWK+set}" = set; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4751 for as_dir in $ensc_searchpath
4754 test -z "$as_dir" && as_dir=.
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 if test -n "$AWK"; then
4770 { echo "$as_me:$LINENO: result: $AWK" >&5
4771 echo "${ECHO_T}$AWK" >&6; }
4773 { echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6; }
4778 test -n "$AWK" && break
4780 test -n "$AWK" || AWK="$ensc_dflt"
4783 if test -z "${AWK}" && $rq; then
4785 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4786 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4787 { (exit 1); exit 1; }; }
4789 { { echo "$as_me:$LINENO: error:
4790 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4792 echo "$as_me: error:
4793 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4795 { (exit 1); exit 1; }; }
4799 if test -e "${AWK}"; then
4800 AWK=`readlink -f "${AWK}"`
4803 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy $ac_prog; ac_word=$2
4826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4828 if test "${ac_cv_path_CAT+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $ensc_searchpath
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 if test -n "$CAT"; then
4856 { echo "$as_me:$LINENO: result: $CAT" >&5
4857 echo "${ECHO_T}$CAT" >&6; }
4859 { echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6; }
4864 test -n "$CAT" && break
4866 test -n "$CAT" || CAT="$ensc_dflt"
4869 if test -z "${CAT}" && $rq; then
4871 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4872 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4873 { (exit 1); exit 1; }; }
4875 { { echo "$as_me:$LINENO: error:
4876 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4878 echo "$as_me: error:
4879 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4881 { (exit 1); exit 1; }; }
4885 if test -e "${CAT}"; then
4886 CAT=`readlink -f "${CAT}"`
4889 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4908 for ac_prog in chown
4910 # Extract the first word of "$ac_prog", so it can be a program name with args.
4911 set dummy $ac_prog; ac_word=$2
4912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4914 if test "${ac_cv_path_CHOWN+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $ensc_searchpath
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 CHOWN=$ac_cv_path_CHOWN
4941 if test -n "$CHOWN"; then
4942 { echo "$as_me:$LINENO: result: $CHOWN" >&5
4943 echo "${ECHO_T}$CHOWN" >&6; }
4945 { echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6; }
4950 test -n "$CHOWN" && break
4952 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4955 if test -z "${CHOWN}" && $rq; then
4957 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4958 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4959 { (exit 1); exit 1; }; }
4961 { { echo "$as_me:$LINENO: error:
4962 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4964 echo "$as_me: error:
4965 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4967 { (exit 1); exit 1; }; }
4971 if test -e "${CHOWN}"; then
4972 CHOWN=`readlink -f "${CHOWN}"`
4975 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_path_CMP+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $ensc_searchpath
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 if test -n "$CMP"; then
5028 { echo "$as_me:$LINENO: result: $CMP" >&5
5029 echo "${ECHO_T}$CMP" >&6; }
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5036 test -n "$CMP" && break
5038 test -n "$CMP" || CMP="$ensc_dflt"
5041 if test -z "${CMP}" && $rq; then
5043 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
5044 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5045 { (exit 1); exit 1; }; }
5047 { { echo "$as_me:$LINENO: error:
5048 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
5050 echo "$as_me: error:
5051 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
5053 { (exit 1); exit 1; }; }
5057 if test -e "${CMP}"; then
5058 CMP=`readlink -f "${CMP}"`
5061 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
5082 # Extract the first word of "$ac_prog", so it can be a program name with args.
5083 set dummy $ac_prog; ac_word=$2
5084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5086 if test "${ac_cv_path_CP+set}" = set; then
5087 echo $ECHO_N "(cached) $ECHO_C" >&6
5091 ac_cv_path_CP="$CP" # Let the user override the test with a path.
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $ensc_searchpath
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
5102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 if test -n "$CP"; then
5114 { echo "$as_me:$LINENO: result: $CP" >&5
5115 echo "${ECHO_T}$CP" >&6; }
5117 { echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6; }
5122 test -n "$CP" && break
5124 test -n "$CP" || CP="$ensc_dflt"
5127 if test -z "${CP}" && $rq; then
5129 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
5130 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5131 { (exit 1); exit 1; }; }
5133 { { echo "$as_me:$LINENO: error:
5134 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5136 echo "$as_me: error:
5137 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5139 { (exit 1); exit 1; }; }
5143 if test -e "${CP}"; then
5144 CP=`readlink -f "${CP}"`
5147 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
5166 for ac_prog in dirname
5168 # Extract the first word of "$ac_prog", so it can be a program name with args.
5169 set dummy $ac_prog; ac_word=$2
5170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5172 if test "${ac_cv_path_DIRNAME+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $ensc_searchpath
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
5188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 DIRNAME=$ac_cv_path_DIRNAME
5199 if test -n "$DIRNAME"; then
5200 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
5201 echo "${ECHO_T}$DIRNAME" >&6; }
5203 { echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6; }
5208 test -n "$DIRNAME" && break
5210 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
5213 if test -z "${DIRNAME}" && $rq; then
5215 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
5216 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5217 { (exit 1); exit 1; }; }
5219 { { echo "$as_me:$LINENO: error:
5220 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5222 echo "$as_me: error:
5223 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5225 { (exit 1); exit 1; }; }
5229 if test -e "${DIRNAME}"; then
5230 DIRNAME=`readlink -f "${DIRNAME}"`
5233 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
5252 for ac_prog in egrep
5254 # Extract the first word of "$ac_prog", so it can be a program name with args.
5255 set dummy $ac_prog; ac_word=$2
5256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5258 if test "${ac_cv_path_EGREP+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $ensc_searchpath
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
5274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 EGREP=$ac_cv_path_EGREP
5285 if test -n "$EGREP"; then
5286 { echo "$as_me:$LINENO: result: $EGREP" >&5
5287 echo "${ECHO_T}$EGREP" >&6; }
5289 { echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6; }
5294 test -n "$EGREP" && break
5296 test -n "$EGREP" || EGREP="$ensc_dflt"
5299 if test -z "${EGREP}" && $rq; then
5301 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
5302 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5303 { (exit 1); exit 1; }; }
5305 { { echo "$as_me:$LINENO: error:
5306 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5308 echo "$as_me: error:
5309 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5311 { (exit 1); exit 1; }; }
5315 if test -e "${EGREP}"; then
5316 EGREP=`readlink -f "${EGREP}"`
5319 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5344 if test "${ac_cv_path_ENV+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $ensc_searchpath
5356 test -z "$as_dir" && as_dir=.
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
5360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 if test -n "$ENV"; then
5372 { echo "$as_me:$LINENO: result: $ENV" >&5
5373 echo "${ECHO_T}$ENV" >&6; }
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5380 test -n "$ENV" && break
5382 test -n "$ENV" || ENV="$ensc_dflt"
5385 if test -z "${ENV}" && $rq; then
5387 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
5388 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5389 { (exit 1); exit 1; }; }
5391 { { echo "$as_me:$LINENO: error:
5392 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5394 echo "$as_me: error:
5395 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5397 { (exit 1); exit 1; }; }
5401 if test -e "${ENV}"; then
5402 ENV=`readlink -f "${ENV}"`
5405 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy $ac_prog; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_path_GREP+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $ensc_searchpath
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
5446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 GREP=$ac_cv_path_GREP
5457 if test -n "$GREP"; then
5458 { echo "$as_me:$LINENO: result: $GREP" >&5
5459 echo "${ECHO_T}$GREP" >&6; }
5461 { echo "$as_me:$LINENO: result: no" >&5
5462 echo "${ECHO_T}no" >&6; }
5466 test -n "$GREP" && break
5468 test -n "$GREP" || GREP="$ensc_dflt"
5471 if test -z "${GREP}" && $rq; then
5473 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
5474 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5475 { (exit 1); exit 1; }; }
5477 { { echo "$as_me:$LINENO: error:
5478 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5480 echo "$as_me: error:
5481 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5483 { (exit 1); exit 1; }; }
5487 if test -e "${GREP}"; then
5488 GREP=`readlink -f "${GREP}"`
5491 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy $ac_prog; ac_word=$2
5514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5516 if test "${ac_cv_path_LN+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 ac_cv_path_LN="$LN" # Let the user override the test with a path.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $ensc_searchpath
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
5532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 if test -n "$LN"; then
5544 { echo "$as_me:$LINENO: result: $LN" >&5
5545 echo "${ECHO_T}$LN" >&6; }
5547 { echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6; }
5552 test -n "$LN" && break
5554 test -n "$LN" || LN="$ensc_dflt"
5557 if test -z "${LN}" && $rq; then
5559 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
5560 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5561 { (exit 1); exit 1; }; }
5563 { { echo "$as_me:$LINENO: error:
5564 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5566 echo "$as_me: error:
5567 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5569 { (exit 1); exit 1; }; }
5573 if test -e "${LN}"; then
5574 LN=`readlink -f "${LN}"`
5577 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
5596 for ac_prog in mkdir
5598 # Extract the first word of "$ac_prog", so it can be a program name with args.
5599 set dummy $ac_prog; ac_word=$2
5600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5602 if test "${ac_cv_path_MKDIR+set}" = set; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5607 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $ensc_searchpath
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 MKDIR=$ac_cv_path_MKDIR
5629 if test -n "$MKDIR"; then
5630 { echo "$as_me:$LINENO: result: $MKDIR" >&5
5631 echo "${ECHO_T}$MKDIR" >&6; }
5633 { echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6; }
5638 test -n "$MKDIR" && break
5640 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5643 if test -z "${MKDIR}" && $rq; then
5645 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5646 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5647 { (exit 1); exit 1; }; }
5649 { { echo "$as_me:$LINENO: error:
5650 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5652 echo "$as_me: error:
5653 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5655 { (exit 1); exit 1; }; }
5659 if test -e "${MKDIR}"; then
5660 MKDIR=`readlink -f "${MKDIR}"`
5663 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5682 for ac_prog in mkfifo
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy $ac_prog; ac_word=$2
5686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5688 if test "${ac_cv_path_MKFIFO+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $ensc_searchpath
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5703 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 MKFIFO=$ac_cv_path_MKFIFO
5715 if test -n "$MKFIFO"; then
5716 { echo "$as_me:$LINENO: result: $MKFIFO" >&5
5717 echo "${ECHO_T}$MKFIFO" >&6; }
5719 { echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6; }
5724 test -n "$MKFIFO" && break
5726 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5729 if test -z "${MKFIFO}" && $rq; then
5731 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5732 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5733 { (exit 1); exit 1; }; }
5735 { { echo "$as_me:$LINENO: error:
5736 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5738 echo "$as_me: error:
5739 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5741 { (exit 1); exit 1; }; }
5745 if test -e "${MKFIFO}"; then
5746 MKFIFO=`readlink -f "${MKFIFO}"`
5749 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5768 for ac_prog in mktemp
5770 # Extract the first word of "$ac_prog", so it can be a program name with args.
5771 set dummy $ac_prog; ac_word=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_path_MKTEMP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5779 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $ensc_searchpath
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5789 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 MKTEMP=$ac_cv_path_MKTEMP
5801 if test -n "$MKTEMP"; then
5802 { echo "$as_me:$LINENO: result: $MKTEMP" >&5
5803 echo "${ECHO_T}$MKTEMP" >&6; }
5805 { echo "$as_me:$LINENO: result: no" >&5
5806 echo "${ECHO_T}no" >&6; }
5810 test -n "$MKTEMP" && break
5812 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5815 if test -z "${MKTEMP}" && $rq; then
5817 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5818 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5819 { (exit 1); exit 1; }; }
5821 { { echo "$as_me:$LINENO: error:
5822 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5824 echo "$as_me: error:
5825 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5827 { (exit 1); exit 1; }; }
5831 if test -e "${MKTEMP}"; then
5832 MKTEMP=`readlink -f "${MKTEMP}"`
5835 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5854 for ac_prog in mount
5856 # Extract the first word of "$ac_prog", so it can be a program name with args.
5857 set dummy $ac_prog; ac_word=$2
5858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5860 if test "${ac_cv_path_MOUNT+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $ensc_searchpath
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 MOUNT=$ac_cv_path_MOUNT
5887 if test -n "$MOUNT"; then
5888 { echo "$as_me:$LINENO: result: $MOUNT" >&5
5889 echo "${ECHO_T}$MOUNT" >&6; }
5891 { echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6; }
5896 test -n "$MOUNT" && break
5898 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5901 if test -z "${MOUNT}" && $rq; then
5903 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5904 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5905 { (exit 1); exit 1; }; }
5907 { { echo "$as_me:$LINENO: error:
5908 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5910 echo "$as_me: error:
5911 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5913 { (exit 1); exit 1; }; }
5917 if test -e "${MOUNT}"; then
5918 MOUNT=`readlink -f "${MOUNT}"`
5921 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5942 # Extract the first word of "$ac_prog", so it can be a program name with args.
5943 set dummy $ac_prog; ac_word=$2
5944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5946 if test "${ac_cv_path_MV+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $ensc_searchpath
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 if test -n "$MV"; then
5974 { echo "$as_me:$LINENO: result: $MV" >&5
5975 echo "${ECHO_T}$MV" >&6; }
5977 { echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6; }
5982 test -n "$MV" && break
5984 test -n "$MV" || MV="$ensc_dflt"
5987 if test -z "${MV}" && $rq; then
5989 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5990 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5991 { (exit 1); exit 1; }; }
5993 { { echo "$as_me:$LINENO: error:
5994 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5996 echo "$as_me: error:
5997 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5999 { (exit 1); exit 1; }; }
6003 if test -e "${MV}"; then
6004 MV=`readlink -f "${MV}"`
6007 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
6028 # Extract the first word of "$ac_prog", so it can be a program name with args.
6029 set dummy $ac_prog; ac_word=$2
6030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6032 if test "${ac_cv_path_NICE+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
6040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 for as_dir in $ensc_searchpath
6044 test -z "$as_dir" && as_dir=.
6045 for ac_exec_ext in '' $ac_executable_extensions; do
6046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6047 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
6048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 NICE=$ac_cv_path_NICE
6059 if test -n "$NICE"; then
6060 { echo "$as_me:$LINENO: result: $NICE" >&5
6061 echo "${ECHO_T}$NICE" >&6; }
6063 { echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6; }
6068 test -n "$NICE" && break
6070 test -n "$NICE" || NICE="$ensc_dflt"
6073 if test -z "${NICE}" && $rq; then
6075 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
6076 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6077 { (exit 1); exit 1; }; }
6079 { { echo "$as_me:$LINENO: error:
6080 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
6082 echo "$as_me: error:
6083 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
6085 { (exit 1); exit 1; }; }
6089 if test -e "${NICE}"; then
6090 NICE=`readlink -f "${NICE}"`
6093 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
6114 # Extract the first word of "$ac_prog", so it can be a program name with args.
6115 set dummy $ac_prog; ac_word=$2
6116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6118 if test "${ac_cv_path_PS+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 ac_cv_path_PS="$PS" # Let the user override the test with a path.
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 for as_dir in $ensc_searchpath
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
6134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6145 if test -n "$PS"; then
6146 { echo "$as_me:$LINENO: result: $PS" >&5
6147 echo "${ECHO_T}$PS" >&6; }
6149 { echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6; }
6154 test -n "$PS" && break
6156 test -n "$PS" || PS="$ensc_dflt"
6159 if test -z "${PS}" && $rq; then
6161 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
6162 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6163 { (exit 1); exit 1; }; }
6165 { { echo "$as_me:$LINENO: error:
6166 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6168 echo "$as_me: error:
6169 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6171 { (exit 1); exit 1; }; }
6175 if test -e "${PS}"; then
6176 PS=`readlink -f "${PS}"`
6179 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
6200 # Extract the first word of "$ac_prog", so it can be a program name with args.
6201 set dummy $ac_prog; ac_word=$2
6202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6204 if test "${ac_cv_path_RM+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6209 ac_cv_path_RM="$RM" # Let the user override the test with a path.
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 for as_dir in $ensc_searchpath
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 if test -n "$RM"; then
6232 { echo "$as_me:$LINENO: result: $RM" >&5
6233 echo "${ECHO_T}$RM" >&6; }
6235 { echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6; }
6240 test -n "$RM" && break
6242 test -n "$RM" || RM="$ensc_dflt"
6245 if test -z "${RM}" && $rq; then
6247 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
6248 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6249 { (exit 1); exit 1; }; }
6251 { { echo "$as_me:$LINENO: error:
6252 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6254 echo "$as_me: error:
6255 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6257 { (exit 1); exit 1; }; }
6261 if test -e "${RM}"; then
6262 RM=`readlink -f "${RM}"`
6265 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
6284 for ac_prog in rmdir
6286 # Extract the first word of "$ac_prog", so it can be a program name with args.
6287 set dummy $ac_prog; ac_word=$2
6288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6290 if test "${ac_cv_path_RMDIR+set}" = set; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $ensc_searchpath
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
6306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 RMDIR=$ac_cv_path_RMDIR
6317 if test -n "$RMDIR"; then
6318 { echo "$as_me:$LINENO: result: $RMDIR" >&5
6319 echo "${ECHO_T}$RMDIR" >&6; }
6321 { echo "$as_me:$LINENO: result: no" >&5
6322 echo "${ECHO_T}no" >&6; }
6326 test -n "$RMDIR" && break
6328 test -n "$RMDIR" || RMDIR="$ensc_dflt"
6331 if test -z "${RMDIR}" && $rq; then
6333 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
6334 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6335 { (exit 1); exit 1; }; }
6337 { { echo "$as_me:$LINENO: error:
6338 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6340 echo "$as_me: error:
6341 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6343 { (exit 1); exit 1; }; }
6347 if test -e "${RMDIR}"; then
6348 RMDIR=`readlink -f "${RMDIR}"`
6351 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
6372 # Extract the first word of "$ac_prog", so it can be a program name with args.
6373 set dummy $ac_prog; ac_word=$2
6374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6376 if test "${ac_cv_path_SED+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 ac_cv_path_SED="$SED" # Let the user override the test with a path.
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $ensc_searchpath
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 if test -n "$SED"; then
6404 { echo "$as_me:$LINENO: result: $SED" >&5
6405 echo "${ECHO_T}$SED" >&6; }
6407 { echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6; }
6412 test -n "$SED" && break
6414 test -n "$SED" || SED="$ensc_dflt"
6417 if test -z "${SED}" && $rq; then
6419 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
6420 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6421 { (exit 1); exit 1; }; }
6423 { { echo "$as_me:$LINENO: error:
6424 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6426 echo "$as_me: error:
6427 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6429 { (exit 1); exit 1; }; }
6433 if test -e "${SED}"; then
6434 SED=`readlink -f "${SED}"`
6437 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
6458 # Extract the first word of "$ac_prog", so it can be a program name with args.
6459 set dummy $ac_prog; ac_word=$2
6460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6462 if test "${ac_cv_path_SH+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 ac_cv_path_SH="$SH" # Let the user override the test with a path.
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $ensc_searchpath
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
6478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 if test -n "$SH"; then
6490 { echo "$as_me:$LINENO: result: $SH" >&5
6491 echo "${ECHO_T}$SH" >&6; }
6493 { echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6; }
6498 test -n "$SH" && break
6500 test -n "$SH" || SH="$ensc_dflt"
6503 if test -z "${SH}" && $rq; then
6505 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
6506 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6507 { (exit 1); exit 1; }; }
6509 { { echo "$as_me:$LINENO: error:
6510 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6512 echo "$as_me: error:
6513 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6515 { (exit 1); exit 1; }; }
6519 if test -e "${SH}"; then
6520 SH=`readlink -f "${SH}"`
6523 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
6544 # Extract the first word of "$ac_prog", so it can be a program name with args.
6545 set dummy $ac_prog; ac_word=$2
6546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6548 if test "${ac_cv_path_TAC+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $ensc_searchpath
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
6564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 if test -n "$TAC"; then
6576 { echo "$as_me:$LINENO: result: $TAC" >&5
6577 echo "${ECHO_T}$TAC" >&6; }
6579 { echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6; }
6584 test -n "$TAC" && break
6586 test -n "$TAC" || TAC="$ensc_dflt"
6589 if test -z "${TAC}" && $rq; then
6591 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
6592 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6593 { (exit 1); exit 1; }; }
6595 { { echo "$as_me:$LINENO: error:
6596 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6598 echo "$as_me: error:
6599 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6601 { (exit 1); exit 1; }; }
6605 if test -e "${TAC}"; then
6606 TAC=`readlink -f "${TAC}"`
6609 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
6630 # Extract the first word of "$ac_prog", so it can be a program name with args.
6631 set dummy $ac_prog; ac_word=$2
6632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6634 if test "${ac_cv_path_TAR+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6639 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 for as_dir in $ensc_searchpath
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 if test -n "$TAR"; then
6662 { echo "$as_me:$LINENO: result: $TAR" >&5
6663 echo "${ECHO_T}$TAR" >&6; }
6665 { echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6; }
6670 test -n "$TAR" && break
6672 test -n "$TAR" || TAR="$ensc_dflt"
6675 if test -z "${TAR}" && $rq; then
6677 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6678 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6679 { (exit 1); exit 1; }; }
6681 { { echo "$as_me:$LINENO: error:
6682 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6684 echo "$as_me: error:
6685 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6687 { (exit 1); exit 1; }; }
6691 if test -e "${TAR}"; then
6692 TAR=`readlink -f "${TAR}"`
6695 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6714 for ac_prog in touch
6716 # Extract the first word of "$ac_prog", so it can be a program name with args.
6717 set dummy $ac_prog; ac_word=$2
6718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6720 if test "${ac_cv_path_TOUCH+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 for as_dir in $ensc_searchpath
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 TOUCH=$ac_cv_path_TOUCH
6747 if test -n "$TOUCH"; then
6748 { echo "$as_me:$LINENO: result: $TOUCH" >&5
6749 echo "${ECHO_T}$TOUCH" >&6; }
6751 { echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6; }
6756 test -n "$TOUCH" && break
6758 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6761 if test -z "${TOUCH}" && $rq; then
6763 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6764 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6765 { (exit 1); exit 1; }; }
6767 { { echo "$as_me:$LINENO: error:
6768 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6770 echo "$as_me: error:
6771 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6773 { (exit 1); exit 1; }; }
6777 if test -e "${TOUCH}"; then
6778 TOUCH=`readlink -f "${TOUCH}"`
6781 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6802 # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6806 if test "${ac_cv_path_TTY+set}" = set; then
6807 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 for as_dir in $ensc_searchpath
6818 test -z "$as_dir" && as_dir=.
6819 for ac_exec_ext in '' $ac_executable_extensions; do
6820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 if test -n "$TTY"; then
6834 { echo "$as_me:$LINENO: result: $TTY" >&5
6835 echo "${ECHO_T}$TTY" >&6; }
6837 { echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6; }
6842 test -n "$TTY" && break
6844 test -n "$TTY" || TTY="$ensc_dflt"
6847 if test -z "${TTY}" && $rq; then
6849 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6850 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6851 { (exit 1); exit 1; }; }
6853 { { echo "$as_me:$LINENO: error:
6854 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6856 echo "$as_me: error:
6857 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6859 { (exit 1); exit 1; }; }
6863 if test -e "${TTY}"; then
6864 TTY=`readlink -f "${TTY}"`
6867 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6886 for ac_prog in umount
6888 # Extract the first word of "$ac_prog", so it can be a program name with args.
6889 set dummy $ac_prog; ac_word=$2
6890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6892 if test "${ac_cv_path_UMOUNT+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6897 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 for as_dir in $ensc_searchpath
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6907 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 UMOUNT=$ac_cv_path_UMOUNT
6919 if test -n "$UMOUNT"; then
6920 { echo "$as_me:$LINENO: result: $UMOUNT" >&5
6921 echo "${ECHO_T}$UMOUNT" >&6; }
6923 { echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6; }
6928 test -n "$UMOUNT" && break
6930 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6933 if test -z "${UMOUNT}" && $rq; then
6935 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6936 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6937 { (exit 1); exit 1; }; }
6939 { { echo "$as_me:$LINENO: error:
6940 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6942 echo "$as_me: error:
6943 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6945 { (exit 1); exit 1; }; }
6949 if test -e "${UMOUNT}"; then
6950 UMOUNT=`readlink -f "${UMOUNT}"`
6953 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6974 # Extract the first word of "$ac_prog", so it can be a program name with args.
6975 set dummy $ac_prog; ac_word=$2
6976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6978 if test "${ac_cv_path_WC+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $ensc_searchpath
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 if test -n "$WC"; then
7006 { echo "$as_me:$LINENO: result: $WC" >&5
7007 echo "${ECHO_T}$WC" >&6; }
7009 { echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6; }
7014 test -n "$WC" && break
7016 test -n "$WC" || WC="$ensc_dflt"
7019 if test -z "${WC}" && $rq; then
7021 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
7022 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7023 { (exit 1); exit 1; }; }
7025 { { echo "$as_me:$LINENO: error:
7026 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
7028 echo "$as_me: error:
7029 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
7031 { (exit 1); exit 1; }; }
7035 if test -e "${WC}"; then
7036 WC=`readlink -f "${WC}"`
7039 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
7062 # Extract the first word of "$ac_prog", so it can be a program name with args.
7063 set dummy $ac_prog; ac_word=$2
7064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7066 if test "${ac_cv_path_IP+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7071 ac_cv_path_IP="$IP" # Let the user override the test with a path.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 for as_dir in $ensc_searchpath
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
7082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 if test -n "$IP"; then
7094 { echo "$as_me:$LINENO: result: $IP" >&5
7095 echo "${ECHO_T}$IP" >&6; }
7097 { echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6; }
7102 test -n "$IP" && break
7104 test -n "$IP" || IP="$ensc_dflt"
7107 if test -z "${IP}" && $rq; then
7108 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
7109 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
7110 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7111 { (exit 1); exit 1; }; }
7113 { { echo "$as_me:$LINENO: error:
7114 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
7115 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
7116 echo "$as_me: error:
7117 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
7118 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
7119 { (exit 1); exit 1; }; }
7123 if test -e "${IP}"; then
7124 IP=`readlink -f "${IP}"`
7127 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
7146 for ac_prog in iptables
7148 # Extract the first word of "$ac_prog", so it can be a program name with args.
7149 set dummy $ac_prog; ac_word=$2
7150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7152 if test "${ac_cv_path_IPTABLES+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7157 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 for as_dir in $ensc_searchpath
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7167 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
7168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 IPTABLES=$ac_cv_path_IPTABLES
7179 if test -n "$IPTABLES"; then
7180 { echo "$as_me:$LINENO: result: $IPTABLES" >&5
7181 echo "${ECHO_T}$IPTABLES" >&6; }
7183 { echo "$as_me:$LINENO: result: no" >&5
7184 echo "${ECHO_T}no" >&6; }
7188 test -n "$IPTABLES" && break
7190 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
7193 if test -z "${IPTABLES}" && $rq; then
7195 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
7196 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7197 { (exit 1); exit 1; }; }
7199 { { echo "$as_me:$LINENO: error:
7200 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7202 echo "$as_me: error:
7203 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7205 { (exit 1); exit 1; }; }
7209 if test -e "${IPTABLES}"; then
7210 IPTABLES=`readlink -f "${IPTABLES}"`
7213 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
7232 for ac_prog in modprobe
7234 # Extract the first word of "$ac_prog", so it can be a program name with args.
7235 set dummy $ac_prog; ac_word=$2
7236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7238 if test "${ac_cv_path_MODPROBE+set}" = set; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $ensc_searchpath
7250 test -z "$as_dir" && as_dir=.
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7253 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
7254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 MODPROBE=$ac_cv_path_MODPROBE
7265 if test -n "$MODPROBE"; then
7266 { echo "$as_me:$LINENO: result: $MODPROBE" >&5
7267 echo "${ECHO_T}$MODPROBE" >&6; }
7269 { echo "$as_me:$LINENO: result: no" >&5
7270 echo "${ECHO_T}no" >&6; }
7274 test -n "$MODPROBE" && break
7276 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
7279 if test -z "${MODPROBE}" && $rq; then
7281 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
7282 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7283 { (exit 1); exit 1; }; }
7285 { { echo "$as_me:$LINENO: error:
7286 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7288 echo "$as_me: error:
7289 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7291 { (exit 1); exit 1; }; }
7295 if test -e "${MODPROBE}"; then
7296 MODPROBE=`readlink -f "${MODPROBE}"`
7299 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
7318 for ac_prog in nameif
7320 # Extract the first word of "$ac_prog", so it can be a program name with args.
7321 set dummy $ac_prog; ac_word=$2
7322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7324 if test "${ac_cv_path_NAMEIF+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7329 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $ensc_searchpath
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
7340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7350 NAMEIF=$ac_cv_path_NAMEIF
7351 if test -n "$NAMEIF"; then
7352 { echo "$as_me:$LINENO: result: $NAMEIF" >&5
7353 echo "${ECHO_T}$NAMEIF" >&6; }
7355 { echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6; }
7360 test -n "$NAMEIF" && break
7362 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
7365 if test -z "${NAMEIF}" && $rq; then
7367 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
7368 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7369 { (exit 1); exit 1; }; }
7371 { { echo "$as_me:$LINENO: error:
7372 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7374 echo "$as_me: error:
7375 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7377 { (exit 1); exit 1; }; }
7381 if test -e "${NAMEIF}"; then
7382 NAMEIF=`readlink -f "${NAMEIF}"`
7385 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
7404 for ac_prog in nohup
7406 # Extract the first word of "$ac_prog", so it can be a program name with args.
7407 set dummy $ac_prog; ac_word=$2
7408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7410 if test "${ac_cv_path_NOHUP+set}" = set; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7415 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $ensc_searchpath
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
7426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 NOHUP=$ac_cv_path_NOHUP
7437 if test -n "$NOHUP"; then
7438 { echo "$as_me:$LINENO: result: $NOHUP" >&5
7439 echo "${ECHO_T}$NOHUP" >&6; }
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7446 test -n "$NOHUP" && break
7448 test -n "$NOHUP" || NOHUP="$ensc_dflt"
7451 if test -z "${NOHUP}" && $rq; then
7453 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
7454 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7455 { (exit 1); exit 1; }; }
7457 { { echo "$as_me:$LINENO: error:
7458 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7460 echo "$as_me: error:
7461 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7463 { (exit 1); exit 1; }; }
7467 if test -e "${NOHUP}"; then
7468 NOHUP=`readlink -f "${NOHUP}"`
7471 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
7490 for ac_prog in rmmod
7492 # Extract the first word of "$ac_prog", so it can be a program name with args.
7493 set dummy $ac_prog; ac_word=$2
7494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7496 if test "${ac_cv_path_RMMOD+set}" = set; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
7504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505 for as_dir in $ensc_searchpath
7508 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7511 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
7512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 RMMOD=$ac_cv_path_RMMOD
7523 if test -n "$RMMOD"; then
7524 { echo "$as_me:$LINENO: result: $RMMOD" >&5
7525 echo "${ECHO_T}$RMMOD" >&6; }
7527 { echo "$as_me:$LINENO: result: no" >&5
7528 echo "${ECHO_T}no" >&6; }
7532 test -n "$RMMOD" && break
7534 test -n "$RMMOD" || RMMOD="$ensc_dflt"
7537 if test -z "${RMMOD}" && $rq; then
7539 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
7540 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7541 { (exit 1); exit 1; }; }
7543 { { echo "$as_me:$LINENO: error:
7544 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7546 echo "$as_me: error:
7547 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7549 { (exit 1); exit 1; }; }
7553 if test -e "${RMMOD}"; then
7554 RMMOD=`readlink -f "${RMMOD}"`
7557 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
7576 for ac_prog in vconfig
7578 # Extract the first word of "$ac_prog", so it can be a program name with args.
7579 set dummy $ac_prog; ac_word=$2
7580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7582 if test "${ac_cv_path_VCONFIG+set}" = set; then
7583 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 for as_dir in $ensc_searchpath
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7597 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
7598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 VCONFIG=$ac_cv_path_VCONFIG
7609 if test -n "$VCONFIG"; then
7610 { echo "$as_me:$LINENO: result: $VCONFIG" >&5
7611 echo "${ECHO_T}$VCONFIG" >&6; }
7613 { echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6; }
7618 test -n "$VCONFIG" && break
7620 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
7623 if test -z "${VCONFIG}" && $rq; then
7624 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
7625 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
7626 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7627 { (exit 1); exit 1; }; }
7629 { { echo "$as_me:$LINENO: error:
7630 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7631 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
7632 echo "$as_me: error:
7633 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7634 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
7635 { (exit 1); exit 1; }; }
7639 if test -e "${VCONFIG}"; then
7640 VCONFIG=`readlink -f "${VCONFIG}"`
7643 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
7664 # Extract the first word of "$ac_prog", so it can be a program name with args.
7665 set dummy $ac_prog; ac_word=$2
7666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7668 if test "${ac_cv_path_WGET+set}" = set; then
7669 echo $ECHO_N "(cached) $ECHO_C" >&6
7673 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $ensc_searchpath
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
7684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 WGET=$ac_cv_path_WGET
7695 if test -n "$WGET"; then
7696 { echo "$as_me:$LINENO: result: $WGET" >&5
7697 echo "${ECHO_T}$WGET" >&6; }
7699 { echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6; }
7704 test -n "$WGET" && break
7706 test -n "$WGET" || WGET="$ensc_dflt"
7709 if test -z "${WGET}" && $rq; then
7711 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
7712 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7713 { (exit 1); exit 1; }; }
7715 { { echo "$as_me:$LINENO: error:
7716 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7718 echo "$as_me: error:
7719 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7721 { (exit 1); exit 1; }; }
7725 if test -e "${WGET}"; then
7726 WGET=`readlink -f "${WGET}"`
7729 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7736 if test -z "file"; then
7750 # Extract the first word of "$ac_prog", so it can be a program name with args.
7751 set dummy $ac_prog; ac_word=$2
7752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7754 if test "${ac_cv_path_FILE+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763 for as_dir in $ensc_searchpath
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
7770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 FILE=$ac_cv_path_FILE
7781 if test -n "$FILE"; then
7782 { echo "$as_me:$LINENO: result: $FILE" >&5
7783 echo "${ECHO_T}$FILE" >&6; }
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7790 test -n "$FILE" && break
7792 test -n "$FILE" || FILE="$ensc_dflt"
7795 if test -z "${FILE}" && $rq; then
7797 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
7798 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7799 { (exit 1); exit 1; }; }
7801 { { echo "$as_me:$LINENO: error:
7802 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7804 echo "$as_me: error:
7805 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7807 { (exit 1); exit 1; }; }
7811 if test -e "${FILE}"; then
7812 FILE=`readlink -f "${FILE}"`
7815 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
7822 if test -z "gzip"; then
7836 # Extract the first word of "$ac_prog", so it can be a program name with args.
7837 set dummy $ac_prog; ac_word=$2
7838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7840 if test "${ac_cv_path_GZIP+set}" = set; then
7841 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 for as_dir in $ensc_searchpath
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
7856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 GZIP=$ac_cv_path_GZIP
7867 if test -n "$GZIP"; then
7868 { echo "$as_me:$LINENO: result: $GZIP" >&5
7869 echo "${ECHO_T}$GZIP" >&6; }
7871 { echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6; }
7876 test -n "$GZIP" && break
7878 test -n "$GZIP" || GZIP="$ensc_dflt"
7881 if test -z "${GZIP}" && $rq; then
7883 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
7884 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7885 { (exit 1); exit 1; }; }
7887 { { echo "$as_me:$LINENO: error:
7888 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7890 echo "$as_me: error:
7891 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7893 { (exit 1); exit 1; }; }
7897 if test -e "${GZIP}"; then
7898 GZIP=`readlink -f "${GZIP}"`
7901 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
7908 if test -z "bzip2"; then
7920 for ac_prog in bzip2
7922 # Extract the first word of "$ac_prog", so it can be a program name with args.
7923 set dummy $ac_prog; ac_word=$2
7924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7926 if test "${ac_cv_path_BZIP2+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $ensc_searchpath
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
7942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 BZIP2=$ac_cv_path_BZIP2
7953 if test -n "$BZIP2"; then
7954 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7955 echo "${ECHO_T}$BZIP2" >&6; }
7957 { echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6; }
7962 test -n "$BZIP2" && break
7964 test -n "$BZIP2" || BZIP2="$ensc_dflt"
7967 if test -z "${BZIP2}" && $rq; then
7969 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
7970 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7971 { (exit 1); exit 1; }; }
7973 { { echo "$as_me:$LINENO: error:
7974 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7976 echo "$as_me: error:
7977 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7979 { (exit 1); exit 1; }; }
7983 if test -e "${BZIP2}"; then
7984 BZIP2=`readlink -f "${BZIP2}"`
7987 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
7994 if test -z "cpio"; then
8008 # Extract the first word of "$ac_prog", so it can be a program name with args.
8009 set dummy $ac_prog; ac_word=$2
8010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8012 if test "${ac_cv_path_CPIO+set}" = set; then
8013 echo $ECHO_N "(cached) $ECHO_C" >&6
8017 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $ensc_searchpath
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8027 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
8028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 CPIO=$ac_cv_path_CPIO
8039 if test -n "$CPIO"; then
8040 { echo "$as_me:$LINENO: result: $CPIO" >&5
8041 echo "${ECHO_T}$CPIO" >&6; }
8043 { echo "$as_me:$LINENO: result: no" >&5
8044 echo "${ECHO_T}no" >&6; }
8048 test -n "$CPIO" && break
8050 test -n "$CPIO" || CPIO="$ensc_dflt"
8053 if test -z "${CPIO}" && $rq; then
8055 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
8056 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8057 { (exit 1); exit 1; }; }
8059 { { echo "$as_me:$LINENO: error:
8060 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
8062 echo "$as_me: error:
8063 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
8065 { (exit 1); exit 1; }; }
8069 if test -e "${CPIO}"; then
8070 CPIO=`readlink -f "${CPIO}"`
8073 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
8080 if test -z "restore"; then
8092 for ac_prog in restore
8094 # Extract the first word of "$ac_prog", so it can be a program name with args.
8095 set dummy $ac_prog; ac_word=$2
8096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8098 if test "${ac_cv_path_RESTORE+set}" = set; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 for as_dir in $ensc_searchpath
8110 test -z "$as_dir" && as_dir=.
8111 for ac_exec_ext in '' $ac_executable_extensions; do
8112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8113 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
8114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8124 RESTORE=$ac_cv_path_RESTORE
8125 if test -n "$RESTORE"; then
8126 { echo "$as_me:$LINENO: result: $RESTORE" >&5
8127 echo "${ECHO_T}$RESTORE" >&6; }
8129 { echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6; }
8134 test -n "$RESTORE" && break
8136 test -n "$RESTORE" || RESTORE="$ensc_dflt"
8139 if test -z "${RESTORE}" && $rq; then
8141 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
8142 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8143 { (exit 1); exit 1; }; }
8145 { { echo "$as_me:$LINENO: error:
8146 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8148 echo "$as_me: error:
8149 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8151 { (exit 1); exit 1; }; }
8155 if test -e "${RESTORE}"; then
8156 RESTORE=`readlink -f "${RESTORE}"`
8159 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
8166 if test -z "rsync"; then
8178 for ac_prog in rsync
8180 # Extract the first word of "$ac_prog", so it can be a program name with args.
8181 set dummy $ac_prog; ac_word=$2
8182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8184 if test "${ac_cv_path_RSYNC+set}" = set; then
8185 echo $ECHO_N "(cached) $ECHO_C" >&6
8189 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 for as_dir in $ensc_searchpath
8196 test -z "$as_dir" && as_dir=.
8197 for ac_exec_ext in '' $ac_executable_extensions; do
8198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8199 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
8200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8210 RSYNC=$ac_cv_path_RSYNC
8211 if test -n "$RSYNC"; then
8212 { echo "$as_me:$LINENO: result: $RSYNC" >&5
8213 echo "${ECHO_T}$RSYNC" >&6; }
8215 { echo "$as_me:$LINENO: result: no" >&5
8216 echo "${ECHO_T}no" >&6; }
8220 test -n "$RSYNC" && break
8222 test -n "$RSYNC" || RSYNC="$ensc_dflt"
8225 if test -z "${RSYNC}" && $rq; then
8227 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
8228 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8229 { (exit 1); exit 1; }; }
8231 { { echo "$as_me:$LINENO: error:
8232 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8234 echo "$as_me: error:
8235 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8237 { (exit 1); exit 1; }; }
8241 if test -e "${RSYNC}"; then
8242 RSYNC=`readlink -f "${RSYNC}"`
8245 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
8252 if test -z "strace"; then
8264 for ac_prog in strace
8266 # Extract the first word of "$ac_prog", so it can be a program name with args.
8267 set dummy $ac_prog; ac_word=$2
8268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8270 if test "${ac_cv_path_STRACE+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 ac_cv_path_STRACE="$STRACE" # Let the user override the test with a path.
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 for as_dir in $ensc_searchpath
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_path_STRACE="$as_dir/$ac_word$ac_exec_ext"
8286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8296 STRACE=$ac_cv_path_STRACE
8297 if test -n "$STRACE"; then
8298 { echo "$as_me:$LINENO: result: $STRACE" >&5
8299 echo "${ECHO_T}$STRACE" >&6; }
8301 { echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6; }
8306 test -n "$STRACE" && break
8308 test -n "$STRACE" || STRACE="$ensc_dflt"
8311 if test -z "${STRACE}" && $rq; then
8313 { { echo "$as_me:$LINENO: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&5
8314 echo "$as_me: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8315 { (exit 1); exit 1; }; }
8317 { { echo "$as_me:$LINENO: error:
8318 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8320 echo "$as_me: error:
8321 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8323 { (exit 1); exit 1; }; }
8327 if test -e "${STRACE}"; then
8328 STRACE=`readlink -f "${STRACE}"`
8331 test "${STRACE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'STRACE'@!${STRACE}!g;"
8352 # Extract the first word of "$ac_prog", so it can be a program name with args.
8353 set dummy $ac_prog; ac_word=$2
8354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8356 if test "${ac_cv_path_FSCK+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 ac_cv_path_FSCK="$FSCK" # Let the user override the test with a path.
8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 for as_dir in $ensc_searchpath
8368 test -z "$as_dir" && as_dir=.
8369 for ac_exec_ext in '' $ac_executable_extensions; do
8370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371 ac_cv_path_FSCK="$as_dir/$ac_word$ac_exec_ext"
8372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 FSCK=$ac_cv_path_FSCK
8383 if test -n "$FSCK"; then
8384 { echo "$as_me:$LINENO: result: $FSCK" >&5
8385 echo "${ECHO_T}$FSCK" >&6; }
8387 { echo "$as_me:$LINENO: result: no" >&5
8388 echo "${ECHO_T}no" >&6; }
8392 test -n "$FSCK" && break
8394 test -n "$FSCK" || FSCK="$ensc_dflt"
8397 if test -z "${FSCK}" && $rq; then
8399 { { echo "$as_me:$LINENO: error: Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." >&5
8400 echo "$as_me: error: Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8401 { (exit 1); exit 1; }; }
8403 { { echo "$as_me:$LINENO: error:
8404 Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'.
8406 echo "$as_me: error:
8407 Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'.
8409 { (exit 1); exit 1; }; }
8413 if test -e "${FSCK}"; then
8414 FSCK=`readlink -f "${FSCK}"`
8417 test "${FSCK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FSCK'@!${FSCK}!g;"
8425 if test -z ":"; then
8437 for ac_prog in doxygen
8439 # Extract the first word of "$ac_prog", so it can be a program name with args.
8440 set dummy $ac_prog; ac_word=$2
8441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8443 if test "${ac_cv_path_DOXYGEN+set}" = set; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8452 for as_dir in $ensc_searchpath
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8458 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8469 DOXYGEN=$ac_cv_path_DOXYGEN
8470 if test -n "$DOXYGEN"; then
8471 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8472 echo "${ECHO_T}$DOXYGEN" >&6; }
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8479 test -n "$DOXYGEN" && break
8481 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
8484 if test -z "${DOXYGEN}" && $rq; then
8486 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
8487 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8488 { (exit 1); exit 1; }; }
8490 { { echo "$as_me:$LINENO: error:
8491 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8493 echo "$as_me: error:
8494 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8496 { (exit 1); exit 1; }; }
8500 if test -e "${DOXYGEN}"; then
8501 DOXYGEN=`readlink -f "${DOXYGEN}"`
8504 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
8511 if test -z ":"; then
8523 for ac_prog in xsltp
8525 # Extract the first word of "$ac_prog", so it can be a program name with args.
8526 set dummy $ac_prog; ac_word=$2
8527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8529 if test "${ac_cv_path_XSLTP+set}" = set; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8538 for as_dir in $ensc_searchpath
8541 test -z "$as_dir" && as_dir=.
8542 for ac_exec_ext in '' $ac_executable_extensions; do
8543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8544 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
8545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8555 XSLTP=$ac_cv_path_XSLTP
8556 if test -n "$XSLTP"; then
8557 { echo "$as_me:$LINENO: result: $XSLTP" >&5
8558 echo "${ECHO_T}$XSLTP" >&6; }
8560 { echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6; }
8565 test -n "$XSLTP" && break
8567 test -n "$XSLTP" || XSLTP="$ensc_dflt"
8570 if test -z "${XSLTP}" && $rq; then
8572 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
8573 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8574 { (exit 1); exit 1; }; }
8576 { { echo "$as_me:$LINENO: error:
8577 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8579 echo "$as_me: error:
8580 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8582 { (exit 1); exit 1; }; }
8586 if test -e "${XSLTP}"; then
8587 XSLTP=`readlink -f "${XSLTP}"`
8590 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
8597 if test -z ":"; then
8609 for ac_prog in xsltproc
8611 # Extract the first word of "$ac_prog", so it can be a program name with args.
8612 set dummy $ac_prog; ac_word=$2
8613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8615 if test "${ac_cv_path_XSLTPROC+set}" = set; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624 for as_dir in $ensc_searchpath
8627 test -z "$as_dir" && as_dir=.
8628 for ac_exec_ext in '' $ac_executable_extensions; do
8629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8630 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
8631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8641 XSLTPROC=$ac_cv_path_XSLTPROC
8642 if test -n "$XSLTPROC"; then
8643 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
8644 echo "${ECHO_T}$XSLTPROC" >&6; }
8646 { echo "$as_me:$LINENO: result: no" >&5
8647 echo "${ECHO_T}no" >&6; }
8651 test -n "$XSLTPROC" && break
8653 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
8656 if test -z "${XSLTPROC}" && $rq; then
8658 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
8659 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8660 { (exit 1); exit 1; }; }
8662 { { echo "$as_me:$LINENO: error:
8663 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8665 echo "$as_me: error:
8666 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8668 { (exit 1); exit 1; }; }
8672 if test -e "${XSLTPROC}"; then
8673 XSLTPROC=`readlink -f "${XSLTPROC}"`
8676 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
8681 if test "$XSLTP" != ':'; then
8683 HAVE_XSLTP_FALSE='#'
8689 if test "$XSLTPROC" != ':'; then
8691 HAVE_XSLTPROC_FALSE='#'
8693 HAVE_XSLTPROC_TRUE='#'
8694 HAVE_XSLTPROC_FALSE=
8698 if test x"$prefix" = x/; then
8704 warn_flags="-Werror -W"
8705 { echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
8706 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8708 ac_cpp='$CPP $CPPFLAGS'
8709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8713 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
8714 CFLAGS="$warn_flags"
8715 cat >conftest.$ac_ext <<_ACEOF
8718 cat confdefs.h >>conftest.$ac_ext
8719 cat >>conftest.$ac_ext <<_ACEOF
8720 /* end confdefs.h. */
8721 inline static void f(){}
8730 rm -f conftest.$ac_objext
8731 if { (ac_try="$ac_compile"
8733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_compile") 2>conftest.er1
8739 grep -v '^ *+' conftest.er1 >conftest.err
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } && {
8744 test -z "$ac_c_werror_flag" ||
8745 test ! -s conftest.err
8746 } && test -s conftest.$ac_objext; then
8747 ensc_sys_compilerwarnflags_C=${warn_flags}
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8752 ensc_sys_compilerwarnflags_C=
8755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8757 ac_cpp='$CPP $CPPFLAGS'
8758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8762 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8764 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8768 { echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6; }
8776 echo 'void f(){}' > conftest.c
8777 for i in -std=c99 -Wall -pedantic -W
8779 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8780 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8781 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8783 CFLAGS="${CFLAGS} $i"
8784 { echo "$as_me:$LINENO: result: yes" >&5
8785 echo "${ECHO_T}yes" >&6; }
8787 { echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6; }
8791 rm -f conftest.c conftest.o
8795 warn_flags="-Werror -W"
8796 { echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
8797 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8799 ac_cpp='$CXXCPP $CPPFLAGS'
8800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8804 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
8805 CXXFLAGS="$warn_flags"
8806 cat >conftest.$ac_ext <<_ACEOF
8809 cat confdefs.h >>conftest.$ac_ext
8810 cat >>conftest.$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8812 inline static void f(){}
8821 rm -f conftest.$ac_objext
8822 if { (ac_try="$ac_compile"
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8828 (eval "$ac_compile") 2>conftest.er1
8830 grep -v '^ *+' conftest.er1 >conftest.err
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } && {
8835 test -z "$ac_cxx_werror_flag" ||
8836 test ! -s conftest.err
8837 } && test -s conftest.$ac_objext; then
8838 ensc_sys_compilerwarnflags_CXX=${warn_flags}
8840 echo "$as_me: failed program was:" >&5
8841 sed 's/^/| /' conftest.$ac_ext >&5
8843 ensc_sys_compilerwarnflags_CXX=
8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8848 ac_cpp='$CPP $CPPFLAGS'
8849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8853 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8855 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
8856 { echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6; }
8859 { echo "$as_me:$LINENO: result: yes" >&5
8860 echo "${ECHO_T}yes" >&6; }
8867 echo 'void f(){}' > conftest.cc
8868 for i in -ansi -Wall -pedantic -W -fmessage-length=0
8870 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8871 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
8872 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8874 CXXFLAGS="${CXXFLAGS} $i"
8875 { echo "$as_me:$LINENO: result: yes" >&5
8876 echo "${ECHO_T}yes" >&6; }
8878 { echo "$as_me:$LINENO: result: no" >&5
8879 echo "${ECHO_T}no" >&6; }
8882 rm -f conftest.cc conftest.o
8885 { echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
8886 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6; }
8887 # Check whether --enable-extra-optimizations was given.
8888 if test "${enable_extra_optimizations+set}" = set; then
8889 enableval=$enable_extra_optimizations; case "$enableval" in
8890 (yes) use_extra_optimizations=1;;
8891 (no) use_extra_optimizations=;;
8892 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
8893 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
8894 { (exit 1); exit 1; }; };;
8897 use_extra_optimizations=1
8901 if test x"$use_extra_optimizations" = x; then
8902 { echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6; }
8905 { echo "$as_me:$LINENO: result: yes" >&5
8906 echo "${ECHO_T}yes" >&6; }
8910 echo 'void f(){}' > conftest.c
8911 for i in -funit-at-a-time
8913 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8914 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8915 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8917 CFLAGS="${CFLAGS} $i"
8918 { echo "$as_me:$LINENO: result: yes" >&5
8919 echo "${ECHO_T}yes" >&6; }
8921 { echo "$as_me:$LINENO: result: no" >&5
8922 echo "${ECHO_T}no" >&6; }
8925 rm -f conftest.c conftest.o
8930 echo 'void f(){}' > conftest.cc
8931 for i in -funit-at-a-time
8933 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8934 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
8935 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8937 CXXFLAGS="${CXXFLAGS} $i"
8938 { echo "$as_me:$LINENO: result: yes" >&5
8939 echo "${ECHO_T}yes" >&6; }
8941 { echo "$as_me:$LINENO: result: no" >&5
8942 echo "${ECHO_T}no" >&6; }
8945 rm -f conftest.cc conftest.o
8949 { echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
8950 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6; }
8951 # Check whether --enable-lib-debug was given.
8952 if test "${enable_lib_debug+set}" = set; then
8953 enableval=$enable_lib_debug; case "$enableval" in
8954 (yes) use_lib_debug=1;;
8955 (no) use_lib_debug=;;
8956 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
8957 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
8958 { (exit 1); exit 1; }; };;
8965 if test x"$use_lib_debug" = x; then
8966 LIB_DEBUG_CPPFLAGS=-DNDEBUG
8968 { echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6; }
8972 { echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6; }
8976 { echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
8977 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6; }
8978 # Check whether --enable-expensive-tests was given.
8979 if test "${enable_expensive_tests+set}" = set; then
8980 enableval=$enable_expensive_tests; case "$enableval" in
8981 (yes|no) use_expensive_tests=$enableval;;
8982 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
8983 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
8984 { (exit 1); exit 1; }; };;
8987 use_expensive_tests=no
8990 { echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
8991 echo "${ECHO_T}$use_expensive_tests" >&6; }
8993 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
8998 { echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
8999 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6; }
9000 { echo "$as_me:$LINENO: result: " >&5
9001 echo "${ECHO_T}" >&6; }
9004 ac_cpp='$CPP $CPPFLAGS'
9005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9009 { echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
9010 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6; }
9011 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 cat >conftest.$ac_ext <<_ACEOF
9017 cat confdefs.h >>conftest.$ac_ext
9018 cat >>conftest.$ac_ext <<_ACEOF
9019 /* end confdefs.h. */
9021 #include <linux/personality.h>
9027 #ifndef MMAP_PAGE_ZERO
9028 (void) MMAP_PAGE_ZERO;
9035 rm -f conftest.$ac_objext
9036 if { (ac_try="$ac_compile"
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_compile") 2>conftest.er1
9044 grep -v '^ *+' conftest.er1 >conftest.err
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_c_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest.$ac_objext; then
9052 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
9054 echo "$as_me: failed program was:" >&5
9055 sed 's/^/| /' conftest.$ac_ext >&5
9057 ac_cv_have_decl_MMAP_PAGE_ZERO=no
9060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9062 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
9063 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6; }
9064 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
9066 cat >>confdefs.h <<_ACEOF
9067 #define HAVE_DECL_MMAP_PAGE_ZERO 1
9072 cat >>confdefs.h <<_ACEOF
9073 #define HAVE_DECL_MMAP_PAGE_ZERO 0
9078 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
9079 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6; }
9080 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 cat >conftest.$ac_ext <<_ACEOF
9086 cat confdefs.h >>conftest.$ac_ext
9087 cat >>conftest.$ac_ext <<_ACEOF
9088 /* end confdefs.h. */
9090 #include <linux/personality.h>
9096 #ifndef ADDR_LIMIT_32BIT
9097 (void) ADDR_LIMIT_32BIT;
9104 rm -f conftest.$ac_objext
9105 if { (ac_try="$ac_compile"
9107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9108 *) ac_try_echo=$ac_try;;
9110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9111 (eval "$ac_compile") 2>conftest.er1
9113 grep -v '^ *+' conftest.er1 >conftest.err
9115 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } && {
9118 test -z "$ac_c_werror_flag" ||
9119 test ! -s conftest.err
9120 } && test -s conftest.$ac_objext; then
9121 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
9123 echo "$as_me: failed program was:" >&5
9124 sed 's/^/| /' conftest.$ac_ext >&5
9126 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
9129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9131 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
9132 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6; }
9133 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
9135 cat >>confdefs.h <<_ACEOF
9136 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
9141 cat >>confdefs.h <<_ACEOF
9142 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
9147 { echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
9148 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6; }
9149 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 cat >conftest.$ac_ext <<_ACEOF
9155 cat confdefs.h >>conftest.$ac_ext
9156 cat >>conftest.$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9159 #include <linux/personality.h>
9173 rm -f conftest.$ac_objext
9174 if { (ac_try="$ac_compile"
9176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9177 *) ac_try_echo=$ac_try;;
9179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9180 (eval "$ac_compile") 2>conftest.er1
9182 grep -v '^ *+' conftest.er1 >conftest.err
9184 cat conftest.err >&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); } && {
9187 test -z "$ac_c_werror_flag" ||
9188 test ! -s conftest.err
9189 } && test -s conftest.$ac_objext; then
9190 ac_cv_have_decl_SHORT_INODE=yes
9192 echo "$as_me: failed program was:" >&5
9193 sed 's/^/| /' conftest.$ac_ext >&5
9195 ac_cv_have_decl_SHORT_INODE=no
9198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9200 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
9201 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6; }
9202 if test $ac_cv_have_decl_SHORT_INODE = yes; then
9204 cat >>confdefs.h <<_ACEOF
9205 #define HAVE_DECL_SHORT_INODE 1
9210 cat >>confdefs.h <<_ACEOF
9211 #define HAVE_DECL_SHORT_INODE 0
9216 { echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
9217 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6; }
9218 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9221 cat >conftest.$ac_ext <<_ACEOF
9224 cat confdefs.h >>conftest.$ac_ext
9225 cat >>conftest.$ac_ext <<_ACEOF
9226 /* end confdefs.h. */
9228 #include <linux/personality.h>
9234 #ifndef WHOLE_SECONDS
9235 (void) WHOLE_SECONDS;
9242 rm -f conftest.$ac_objext
9243 if { (ac_try="$ac_compile"
9245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9246 *) ac_try_echo=$ac_try;;
9248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9249 (eval "$ac_compile") 2>conftest.er1
9251 grep -v '^ *+' conftest.er1 >conftest.err
9253 cat conftest.err >&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); } && {
9256 test -z "$ac_c_werror_flag" ||
9257 test ! -s conftest.err
9258 } && test -s conftest.$ac_objext; then
9259 ac_cv_have_decl_WHOLE_SECONDS=yes
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.$ac_ext >&5
9264 ac_cv_have_decl_WHOLE_SECONDS=no
9267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9269 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
9270 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6; }
9271 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
9273 cat >>confdefs.h <<_ACEOF
9274 #define HAVE_DECL_WHOLE_SECONDS 1
9279 cat >>confdefs.h <<_ACEOF
9280 #define HAVE_DECL_WHOLE_SECONDS 0
9285 { echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
9286 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6; }
9287 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 cat >conftest.$ac_ext <<_ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9297 #include <linux/personality.h>
9303 #ifndef STICKY_TIMEOUTS
9304 (void) STICKY_TIMEOUTS;
9311 rm -f conftest.$ac_objext
9312 if { (ac_try="$ac_compile"
9314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9315 *) ac_try_echo=$ac_try;;
9317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9318 (eval "$ac_compile") 2>conftest.er1
9320 grep -v '^ *+' conftest.er1 >conftest.err
9322 cat conftest.err >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); } && {
9325 test -z "$ac_c_werror_flag" ||
9326 test ! -s conftest.err
9327 } && test -s conftest.$ac_objext; then
9328 ac_cv_have_decl_STICKY_TIMEOUTS=yes
9330 echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9333 ac_cv_have_decl_STICKY_TIMEOUTS=no
9336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9338 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
9339 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6; }
9340 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
9342 cat >>confdefs.h <<_ACEOF
9343 #define HAVE_DECL_STICKY_TIMEOUTS 1
9348 cat >>confdefs.h <<_ACEOF
9349 #define HAVE_DECL_STICKY_TIMEOUTS 0
9354 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
9355 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6; }
9356 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 cat >conftest.$ac_ext <<_ACEOF
9362 cat confdefs.h >>conftest.$ac_ext
9363 cat >>conftest.$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9366 #include <linux/personality.h>
9372 #ifndef ADDR_LIMIT_3GB
9373 (void) ADDR_LIMIT_3GB;
9380 rm -f conftest.$ac_objext
9381 if { (ac_try="$ac_compile"
9383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9384 *) ac_try_echo=$ac_try;;
9386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9387 (eval "$ac_compile") 2>conftest.er1
9389 grep -v '^ *+' conftest.er1 >conftest.err
9391 cat conftest.err >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); } && {
9394 test -z "$ac_c_werror_flag" ||
9395 test ! -s conftest.err
9396 } && test -s conftest.$ac_objext; then
9397 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
9399 echo "$as_me: failed program was:" >&5
9400 sed 's/^/| /' conftest.$ac_ext >&5
9402 ac_cv_have_decl_ADDR_LIMIT_3GB=no
9405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9407 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
9408 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6; }
9409 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
9411 cat >>confdefs.h <<_ACEOF
9412 #define HAVE_DECL_ADDR_LIMIT_3GB 1
9417 cat >>confdefs.h <<_ACEOF
9418 #define HAVE_DECL_ADDR_LIMIT_3GB 0
9426 { echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
9427 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6; }
9428 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
9429 echo $ECHO_N "(cached) $ECHO_C" >&6
9431 cat >conftest.$ac_ext <<_ACEOF
9434 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9438 #include <linux/personality.h>
9452 rm -f conftest.$ac_objext
9453 if { (ac_try="$ac_compile"
9455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9456 *) ac_try_echo=$ac_try;;
9458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9459 (eval "$ac_compile") 2>conftest.er1
9461 grep -v '^ *+' conftest.er1 >conftest.err
9463 cat conftest.err >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } && {
9466 test -z "$ac_c_werror_flag" ||
9467 test ! -s conftest.err
9468 } && test -s conftest.$ac_objext; then
9469 ac_cv_have_decl_PER_LINUX=yes
9471 echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.$ac_ext >&5
9474 ac_cv_have_decl_PER_LINUX=no
9477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9479 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
9480 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6; }
9481 if test $ac_cv_have_decl_PER_LINUX = yes; then
9483 cat >>confdefs.h <<_ACEOF
9484 #define HAVE_DECL_PER_LINUX 1
9489 cat >>confdefs.h <<_ACEOF
9490 #define HAVE_DECL_PER_LINUX 0
9495 { echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
9496 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6; }
9497 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 cat >conftest.$ac_ext <<_ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 #include <linux/personality.h>
9513 #ifndef PER_LINUX_32BIT
9514 (void) PER_LINUX_32BIT;
9521 rm -f conftest.$ac_objext
9522 if { (ac_try="$ac_compile"
9524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9525 *) ac_try_echo=$ac_try;;
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9528 (eval "$ac_compile") 2>conftest.er1
9530 grep -v '^ *+' conftest.er1 >conftest.err
9532 cat conftest.err >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } && {
9535 test -z "$ac_c_werror_flag" ||
9536 test ! -s conftest.err
9537 } && test -s conftest.$ac_objext; then
9538 ac_cv_have_decl_PER_LINUX_32BIT=yes
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9543 ac_cv_have_decl_PER_LINUX_32BIT=no
9546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9548 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
9549 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6; }
9550 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
9552 cat >>confdefs.h <<_ACEOF
9553 #define HAVE_DECL_PER_LINUX_32BIT 1
9558 cat >>confdefs.h <<_ACEOF
9559 #define HAVE_DECL_PER_LINUX_32BIT 0
9564 { echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
9565 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6; }
9566 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
9567 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 cat >conftest.$ac_ext <<_ACEOF
9572 cat confdefs.h >>conftest.$ac_ext
9573 cat >>conftest.$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9576 #include <linux/personality.h>
9590 rm -f conftest.$ac_objext
9591 if { (ac_try="$ac_compile"
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_compile") 2>conftest.er1
9599 grep -v '^ *+' conftest.er1 >conftest.err
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_c_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest.$ac_objext; then
9607 ac_cv_have_decl_PER_SVR4=yes
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.$ac_ext >&5
9612 ac_cv_have_decl_PER_SVR4=no
9615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9617 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
9618 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6; }
9619 if test $ac_cv_have_decl_PER_SVR4 = yes; then
9621 cat >>confdefs.h <<_ACEOF
9622 #define HAVE_DECL_PER_SVR4 1
9627 cat >>confdefs.h <<_ACEOF
9628 #define HAVE_DECL_PER_SVR4 0
9633 { echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
9634 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6; }
9635 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 cat >conftest.$ac_ext <<_ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9645 #include <linux/personality.h>
9659 rm -f conftest.$ac_objext
9660 if { (ac_try="$ac_compile"
9662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9663 *) ac_try_echo=$ac_try;;
9665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666 (eval "$ac_compile") 2>conftest.er1
9668 grep -v '^ *+' conftest.er1 >conftest.err
9670 cat conftest.err >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); } && {
9673 test -z "$ac_c_werror_flag" ||
9674 test ! -s conftest.err
9675 } && test -s conftest.$ac_objext; then
9676 ac_cv_have_decl_PER_SVR3=yes
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 ac_cv_have_decl_PER_SVR3=no
9684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9686 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
9687 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6; }
9688 if test $ac_cv_have_decl_PER_SVR3 = yes; then
9690 cat >>confdefs.h <<_ACEOF
9691 #define HAVE_DECL_PER_SVR3 1
9696 cat >>confdefs.h <<_ACEOF
9697 #define HAVE_DECL_PER_SVR3 0
9702 { echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
9703 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6; }
9704 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
9705 echo $ECHO_N "(cached) $ECHO_C" >&6
9707 cat >conftest.$ac_ext <<_ACEOF
9710 cat confdefs.h >>conftest.$ac_ext
9711 cat >>conftest.$ac_ext <<_ACEOF
9712 /* end confdefs.h. */
9714 #include <linux/personality.h>
9728 rm -f conftest.$ac_objext
9729 if { (ac_try="$ac_compile"
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9732 *) ac_try_echo=$ac_try;;
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9735 (eval "$ac_compile") 2>conftest.er1
9737 grep -v '^ *+' conftest.er1 >conftest.err
9739 cat conftest.err >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } && {
9742 test -z "$ac_c_werror_flag" ||
9743 test ! -s conftest.err
9744 } && test -s conftest.$ac_objext; then
9745 ac_cv_have_decl_PER_SCOSVR3=yes
9747 echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.$ac_ext >&5
9750 ac_cv_have_decl_PER_SCOSVR3=no
9753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9755 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
9756 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6; }
9757 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
9759 cat >>confdefs.h <<_ACEOF
9760 #define HAVE_DECL_PER_SCOSVR3 1
9765 cat >>confdefs.h <<_ACEOF
9766 #define HAVE_DECL_PER_SCOSVR3 0
9771 { echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
9772 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6; }
9773 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 cat >conftest.$ac_ext <<_ACEOF
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9783 #include <linux/personality.h>
9797 rm -f conftest.$ac_objext
9798 if { (ac_try="$ac_compile"
9800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9801 *) ac_try_echo=$ac_try;;
9803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9804 (eval "$ac_compile") 2>conftest.er1
9806 grep -v '^ *+' conftest.er1 >conftest.err
9808 cat conftest.err >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); } && {
9811 test -z "$ac_c_werror_flag" ||
9812 test ! -s conftest.err
9813 } && test -s conftest.$ac_objext; then
9814 ac_cv_have_decl_PER_OSR5=yes
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.$ac_ext >&5
9819 ac_cv_have_decl_PER_OSR5=no
9822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9824 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
9825 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6; }
9826 if test $ac_cv_have_decl_PER_OSR5 = yes; then
9828 cat >>confdefs.h <<_ACEOF
9829 #define HAVE_DECL_PER_OSR5 1
9834 cat >>confdefs.h <<_ACEOF
9835 #define HAVE_DECL_PER_OSR5 0
9840 { echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
9841 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6; }
9842 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 cat >conftest.$ac_ext <<_ACEOF
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9852 #include <linux/personality.h>
9858 #ifndef PER_WYSEV386
9859 (void) PER_WYSEV386;
9866 rm -f conftest.$ac_objext
9867 if { (ac_try="$ac_compile"
9869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9870 *) ac_try_echo=$ac_try;;
9872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9873 (eval "$ac_compile") 2>conftest.er1
9875 grep -v '^ *+' conftest.er1 >conftest.err
9877 cat conftest.err >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } && {
9880 test -z "$ac_c_werror_flag" ||
9881 test ! -s conftest.err
9882 } && test -s conftest.$ac_objext; then
9883 ac_cv_have_decl_PER_WYSEV386=yes
9885 echo "$as_me: failed program was:" >&5
9886 sed 's/^/| /' conftest.$ac_ext >&5
9888 ac_cv_have_decl_PER_WYSEV386=no
9891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9893 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
9894 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6; }
9895 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
9897 cat >>confdefs.h <<_ACEOF
9898 #define HAVE_DECL_PER_WYSEV386 1
9903 cat >>confdefs.h <<_ACEOF
9904 #define HAVE_DECL_PER_WYSEV386 0
9909 { echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
9910 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6; }
9911 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
9912 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 cat >conftest.$ac_ext <<_ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9921 #include <linux/personality.h>
9935 rm -f conftest.$ac_objext
9936 if { (ac_try="$ac_compile"
9938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 *) ac_try_echo=$ac_try;;
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_compile") 2>conftest.er1
9944 grep -v '^ *+' conftest.er1 >conftest.err
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } && {
9949 test -z "$ac_c_werror_flag" ||
9950 test ! -s conftest.err
9951 } && test -s conftest.$ac_objext; then
9952 ac_cv_have_decl_PER_ISCR4=yes
9954 echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.$ac_ext >&5
9957 ac_cv_have_decl_PER_ISCR4=no
9960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9962 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
9963 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6; }
9964 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
9966 cat >>confdefs.h <<_ACEOF
9967 #define HAVE_DECL_PER_ISCR4 1
9972 cat >>confdefs.h <<_ACEOF
9973 #define HAVE_DECL_PER_ISCR4 0
9978 { echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
9979 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6; }
9980 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
9981 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 cat >conftest.$ac_ext <<_ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h. */
9990 #include <linux/personality.h>
10004 rm -f conftest.$ac_objext
10005 if { (ac_try="$ac_compile"
10006 case "(($ac_try" in
10007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10008 *) ac_try_echo=$ac_try;;
10010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10011 (eval "$ac_compile") 2>conftest.er1
10013 grep -v '^ *+' conftest.er1 >conftest.err
10015 cat conftest.err >&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } && {
10018 test -z "$ac_c_werror_flag" ||
10019 test ! -s conftest.err
10020 } && test -s conftest.$ac_objext; then
10021 ac_cv_have_decl_PER_BSD=yes
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10026 ac_cv_have_decl_PER_BSD=no
10029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10031 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
10032 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6; }
10033 if test $ac_cv_have_decl_PER_BSD = yes; then
10035 cat >>confdefs.h <<_ACEOF
10036 #define HAVE_DECL_PER_BSD 1
10041 cat >>confdefs.h <<_ACEOF
10042 #define HAVE_DECL_PER_BSD 0
10047 { echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
10048 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6; }
10049 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
10050 echo $ECHO_N "(cached) $ECHO_C" >&6
10052 cat >conftest.$ac_ext <<_ACEOF
10055 cat confdefs.h >>conftest.$ac_ext
10056 cat >>conftest.$ac_ext <<_ACEOF
10057 /* end confdefs.h. */
10059 #include <linux/personality.h>
10073 rm -f conftest.$ac_objext
10074 if { (ac_try="$ac_compile"
10075 case "(($ac_try" in
10076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10077 *) ac_try_echo=$ac_try;;
10079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10080 (eval "$ac_compile") 2>conftest.er1
10082 grep -v '^ *+' conftest.er1 >conftest.err
10084 cat conftest.err >&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } && {
10087 test -z "$ac_c_werror_flag" ||
10088 test ! -s conftest.err
10089 } && test -s conftest.$ac_objext; then
10090 ac_cv_have_decl_PER_SUNOS=yes
10092 echo "$as_me: failed program was:" >&5
10093 sed 's/^/| /' conftest.$ac_ext >&5
10095 ac_cv_have_decl_PER_SUNOS=no
10098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10100 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
10101 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6; }
10102 if test $ac_cv_have_decl_PER_SUNOS = yes; then
10104 cat >>confdefs.h <<_ACEOF
10105 #define HAVE_DECL_PER_SUNOS 1
10110 cat >>confdefs.h <<_ACEOF
10111 #define HAVE_DECL_PER_SUNOS 0
10116 { echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
10117 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6; }
10118 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 cat >conftest.$ac_ext <<_ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10128 #include <linux/personality.h>
10142 rm -f conftest.$ac_objext
10143 if { (ac_try="$ac_compile"
10144 case "(($ac_try" in
10145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10146 *) ac_try_echo=$ac_try;;
10148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10149 (eval "$ac_compile") 2>conftest.er1
10151 grep -v '^ *+' conftest.er1 >conftest.err
10153 cat conftest.err >&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } && {
10156 test -z "$ac_c_werror_flag" ||
10157 test ! -s conftest.err
10158 } && test -s conftest.$ac_objext; then
10159 ac_cv_have_decl_PER_XENIX=yes
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10164 ac_cv_have_decl_PER_XENIX=no
10167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10169 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
10170 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6; }
10171 if test $ac_cv_have_decl_PER_XENIX = yes; then
10173 cat >>confdefs.h <<_ACEOF
10174 #define HAVE_DECL_PER_XENIX 1
10179 cat >>confdefs.h <<_ACEOF
10180 #define HAVE_DECL_PER_XENIX 0
10185 { echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
10186 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6; }
10187 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 cat >conftest.$ac_ext <<_ACEOF
10193 cat confdefs.h >>conftest.$ac_ext
10194 cat >>conftest.$ac_ext <<_ACEOF
10195 /* end confdefs.h. */
10197 #include <linux/personality.h>
10203 #ifndef PER_LINUX32
10204 (void) PER_LINUX32;
10211 rm -f conftest.$ac_objext
10212 if { (ac_try="$ac_compile"
10213 case "(($ac_try" in
10214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10215 *) ac_try_echo=$ac_try;;
10217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218 (eval "$ac_compile") 2>conftest.er1
10220 grep -v '^ *+' conftest.er1 >conftest.err
10222 cat conftest.err >&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } && {
10225 test -z "$ac_c_werror_flag" ||
10226 test ! -s conftest.err
10227 } && test -s conftest.$ac_objext; then
10228 ac_cv_have_decl_PER_LINUX32=yes
10230 echo "$as_me: failed program was:" >&5
10231 sed 's/^/| /' conftest.$ac_ext >&5
10233 ac_cv_have_decl_PER_LINUX32=no
10236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10238 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
10239 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6; }
10240 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
10242 cat >>confdefs.h <<_ACEOF
10243 #define HAVE_DECL_PER_LINUX32 1
10248 cat >>confdefs.h <<_ACEOF
10249 #define HAVE_DECL_PER_LINUX32 0
10254 { echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
10255 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6; }
10256 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 cat >conftest.$ac_ext <<_ACEOF
10262 cat confdefs.h >>conftest.$ac_ext
10263 cat >>conftest.$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10266 #include <linux/personality.h>
10272 #ifndef PER_LINUX32_3GB
10273 (void) PER_LINUX32_3GB;
10280 rm -f conftest.$ac_objext
10281 if { (ac_try="$ac_compile"
10282 case "(($ac_try" in
10283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10284 *) ac_try_echo=$ac_try;;
10286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10287 (eval "$ac_compile") 2>conftest.er1
10289 grep -v '^ *+' conftest.er1 >conftest.err
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } && {
10294 test -z "$ac_c_werror_flag" ||
10295 test ! -s conftest.err
10296 } && test -s conftest.$ac_objext; then
10297 ac_cv_have_decl_PER_LINUX32_3GB=yes
10299 echo "$as_me: failed program was:" >&5
10300 sed 's/^/| /' conftest.$ac_ext >&5
10302 ac_cv_have_decl_PER_LINUX32_3GB=no
10305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10307 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
10308 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6; }
10309 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
10311 cat >>confdefs.h <<_ACEOF
10312 #define HAVE_DECL_PER_LINUX32_3GB 1
10317 cat >>confdefs.h <<_ACEOF
10318 #define HAVE_DECL_PER_LINUX32_3GB 0
10323 { echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
10324 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6; }
10325 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
10326 echo $ECHO_N "(cached) $ECHO_C" >&6
10328 cat >conftest.$ac_ext <<_ACEOF
10331 cat confdefs.h >>conftest.$ac_ext
10332 cat >>conftest.$ac_ext <<_ACEOF
10333 /* end confdefs.h. */
10335 #include <linux/personality.h>
10349 rm -f conftest.$ac_objext
10350 if { (ac_try="$ac_compile"
10351 case "(($ac_try" in
10352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_compile") 2>conftest.er1
10358 grep -v '^ *+' conftest.er1 >conftest.err
10360 cat conftest.err >&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } && {
10363 test -z "$ac_c_werror_flag" ||
10364 test ! -s conftest.err
10365 } && test -s conftest.$ac_objext; then
10366 ac_cv_have_decl_PER_IRIX32=yes
10368 echo "$as_me: failed program was:" >&5
10369 sed 's/^/| /' conftest.$ac_ext >&5
10371 ac_cv_have_decl_PER_IRIX32=no
10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10376 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
10377 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6; }
10378 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
10380 cat >>confdefs.h <<_ACEOF
10381 #define HAVE_DECL_PER_IRIX32 1
10386 cat >>confdefs.h <<_ACEOF
10387 #define HAVE_DECL_PER_IRIX32 0
10392 { echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
10393 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6; }
10394 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10397 cat >conftest.$ac_ext <<_ACEOF
10400 cat confdefs.h >>conftest.$ac_ext
10401 cat >>conftest.$ac_ext <<_ACEOF
10402 /* end confdefs.h. */
10404 #include <linux/personality.h>
10410 #ifndef PER_IRIXN32
10411 (void) PER_IRIXN32;
10418 rm -f conftest.$ac_objext
10419 if { (ac_try="$ac_compile"
10420 case "(($ac_try" in
10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_compile") 2>conftest.er1
10427 grep -v '^ *+' conftest.er1 >conftest.err
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } && {
10432 test -z "$ac_c_werror_flag" ||
10433 test ! -s conftest.err
10434 } && test -s conftest.$ac_objext; then
10435 ac_cv_have_decl_PER_IRIXN32=yes
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.$ac_ext >&5
10440 ac_cv_have_decl_PER_IRIXN32=no
10443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10445 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
10446 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6; }
10447 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
10449 cat >>confdefs.h <<_ACEOF
10450 #define HAVE_DECL_PER_IRIXN32 1
10455 cat >>confdefs.h <<_ACEOF
10456 #define HAVE_DECL_PER_IRIXN32 0
10461 { echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
10462 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6; }
10463 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 cat >conftest.$ac_ext <<_ACEOF
10469 cat confdefs.h >>conftest.$ac_ext
10470 cat >>conftest.$ac_ext <<_ACEOF
10471 /* end confdefs.h. */
10473 #include <linux/personality.h>
10487 rm -f conftest.$ac_objext
10488 if { (ac_try="$ac_compile"
10489 case "(($ac_try" in
10490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10491 *) ac_try_echo=$ac_try;;
10493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10494 (eval "$ac_compile") 2>conftest.er1
10496 grep -v '^ *+' conftest.er1 >conftest.err
10498 cat conftest.err >&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } && {
10501 test -z "$ac_c_werror_flag" ||
10502 test ! -s conftest.err
10503 } && test -s conftest.$ac_objext; then
10504 ac_cv_have_decl_PER_IRIX64=yes
10506 echo "$as_me: failed program was:" >&5
10507 sed 's/^/| /' conftest.$ac_ext >&5
10509 ac_cv_have_decl_PER_IRIX64=no
10512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10514 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
10515 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6; }
10516 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
10518 cat >>confdefs.h <<_ACEOF
10519 #define HAVE_DECL_PER_IRIX64 1
10524 cat >>confdefs.h <<_ACEOF
10525 #define HAVE_DECL_PER_IRIX64 0
10530 { echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
10531 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6; }
10532 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 cat >conftest.$ac_ext <<_ACEOF
10538 cat confdefs.h >>conftest.$ac_ext
10539 cat >>conftest.$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10542 #include <linux/personality.h>
10556 rm -f conftest.$ac_objext
10557 if { (ac_try="$ac_compile"
10558 case "(($ac_try" in
10559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10560 *) ac_try_echo=$ac_try;;
10562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10563 (eval "$ac_compile") 2>conftest.er1
10565 grep -v '^ *+' conftest.er1 >conftest.err
10567 cat conftest.err >&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); } && {
10570 test -z "$ac_c_werror_flag" ||
10571 test ! -s conftest.err
10572 } && test -s conftest.$ac_objext; then
10573 ac_cv_have_decl_PER_RISCOS=yes
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.$ac_ext >&5
10578 ac_cv_have_decl_PER_RISCOS=no
10581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10583 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
10584 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6; }
10585 if test $ac_cv_have_decl_PER_RISCOS = yes; then
10587 cat >>confdefs.h <<_ACEOF
10588 #define HAVE_DECL_PER_RISCOS 1
10593 cat >>confdefs.h <<_ACEOF
10594 #define HAVE_DECL_PER_RISCOS 0
10599 { echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
10600 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6; }
10601 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
10602 echo $ECHO_N "(cached) $ECHO_C" >&6
10604 cat >conftest.$ac_ext <<_ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10611 #include <linux/personality.h>
10617 #ifndef PER_SOLARIS
10618 (void) PER_SOLARIS;
10625 rm -f conftest.$ac_objext
10626 if { (ac_try="$ac_compile"
10627 case "(($ac_try" in
10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10629 *) ac_try_echo=$ac_try;;
10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10632 (eval "$ac_compile") 2>conftest.er1
10634 grep -v '^ *+' conftest.er1 >conftest.err
10636 cat conftest.err >&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } && {
10639 test -z "$ac_c_werror_flag" ||
10640 test ! -s conftest.err
10641 } && test -s conftest.$ac_objext; then
10642 ac_cv_have_decl_PER_SOLARIS=yes
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10647 ac_cv_have_decl_PER_SOLARIS=no
10650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10652 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
10653 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6; }
10654 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
10656 cat >>confdefs.h <<_ACEOF
10657 #define HAVE_DECL_PER_SOLARIS 1
10662 cat >>confdefs.h <<_ACEOF
10663 #define HAVE_DECL_PER_SOLARIS 0
10668 { echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
10669 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6; }
10670 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 cat >conftest.$ac_ext <<_ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10680 #include <linux/personality.h>
10694 rm -f conftest.$ac_objext
10695 if { (ac_try="$ac_compile"
10696 case "(($ac_try" in
10697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10698 *) ac_try_echo=$ac_try;;
10700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10701 (eval "$ac_compile") 2>conftest.er1
10703 grep -v '^ *+' conftest.er1 >conftest.err
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } && {
10708 test -z "$ac_c_werror_flag" ||
10709 test ! -s conftest.err
10710 } && test -s conftest.$ac_objext; then
10711 ac_cv_have_decl_PER_UW7=yes
10713 echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.$ac_ext >&5
10716 ac_cv_have_decl_PER_UW7=no
10719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10721 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
10722 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6; }
10723 if test $ac_cv_have_decl_PER_UW7 = yes; then
10725 cat >>confdefs.h <<_ACEOF
10726 #define HAVE_DECL_PER_UW7 1
10731 cat >>confdefs.h <<_ACEOF
10732 #define HAVE_DECL_PER_UW7 0
10737 { echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
10738 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6; }
10739 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 cat >conftest.$ac_ext <<_ACEOF
10745 cat confdefs.h >>conftest.$ac_ext
10746 cat >>conftest.$ac_ext <<_ACEOF
10747 /* end confdefs.h. */
10749 #include <linux/personality.h>
10763 rm -f conftest.$ac_objext
10764 if { (ac_try="$ac_compile"
10765 case "(($ac_try" in
10766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10767 *) ac_try_echo=$ac_try;;
10769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10770 (eval "$ac_compile") 2>conftest.er1
10772 grep -v '^ *+' conftest.er1 >conftest.err
10774 cat conftest.err >&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_c_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest.$ac_objext; then
10780 ac_cv_have_decl_PER_HPUX=yes
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10785 ac_cv_have_decl_PER_HPUX=no
10788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10790 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
10791 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6; }
10792 if test $ac_cv_have_decl_PER_HPUX = yes; then
10794 cat >>confdefs.h <<_ACEOF
10795 #define HAVE_DECL_PER_HPUX 1
10800 cat >>confdefs.h <<_ACEOF
10801 #define HAVE_DECL_PER_HPUX 0
10806 { echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
10807 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6; }
10808 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 cat >conftest.$ac_ext <<_ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10818 #include <linux/personality.h>
10832 rm -f conftest.$ac_objext
10833 if { (ac_try="$ac_compile"
10834 case "(($ac_try" in
10835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_compile") 2>conftest.er1
10841 grep -v '^ *+' conftest.er1 >conftest.err
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest.$ac_objext; then
10849 ac_cv_have_decl_PER_OSF4=yes
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10854 ac_cv_have_decl_PER_OSF4=no
10857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10859 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
10860 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6; }
10861 if test $ac_cv_have_decl_PER_OSF4 = yes; then
10863 cat >>confdefs.h <<_ACEOF
10864 #define HAVE_DECL_PER_OSF4 1
10869 cat >>confdefs.h <<_ACEOF
10870 #define HAVE_DECL_PER_OSF4 0
10878 ac_cpp='$CPP $CPPFLAGS'
10879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10888 { echo "$as_me:$LINENO: checking for initrddir" >&5
10889 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6; }
10891 # Check whether --with-initrddir was given.
10892 if test "${with_initrddir+set}" = set; then
10893 withval=$with_initrddir; case "$withval" in
10894 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
10895 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
10896 { (exit 1); exit 1; }; };;
10897 *) ensc_initrddir=$withval;;
10900 ensc_initrddir='$(sysconfdir)/init.d'
10904 if test "initrddir"; then
10905 initrddir=$ensc_initrddir
10909 { echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
10910 echo "${ECHO_T}$ensc_initrddir" >&6; }
10913 { echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
10914 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6; }
10915 # Check whether --enable-release was given.
10916 if test "${enable_release+set}" = set; then
10917 enableval=$enable_release; case "$enableval" in
10918 yes) ensc_release_mode=yes;;
10919 no) ensc_release_mode=no;;
10920 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
10921 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
10922 { (exit 1); exit 1; }; };;
10925 ensc_release_mode=no
10929 if test x"$ensc_release_mode" = xno; then
10932 RELEASE_CPPFLAGS='-DNDEBUG'
10936 { echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
10937 echo "${ECHO_T}$ensc_release_mode" >&6; }
10940 # HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative
10941 # syscalls will never be enabled for glibc.
10943 ac_cpp='$CPP $CPPFLAGS'
10944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10947 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10948 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10949 # On Suns, sometimes $CPP names a directory.
10950 if test -n "$CPP" && test -d "$CPP"; then
10953 if test -z "$CPP"; then
10954 if test "${ac_cv_prog_CPP+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 # Double quotes because CPP needs to be expanded
10958 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10960 ac_preproc_ok=false
10961 for ac_c_preproc_warn_flag in '' yes
10963 # Use a header file that comes with gcc, so configuring glibc
10964 # with a fresh cross-compiler works.
10965 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10966 # <limits.h> exists even on freestanding compilers.
10967 # On the NeXT, cc -E runs the code through the compiler's parser,
10968 # not just through cpp. "Syntax error" is here to catch this case.
10969 cat >conftest.$ac_ext <<_ACEOF
10972 cat confdefs.h >>conftest.$ac_ext
10973 cat >>conftest.$ac_ext <<_ACEOF
10974 /* end confdefs.h. */
10976 # include <limits.h>
10978 # include <assert.h>
10982 if { (ac_try="$ac_cpp conftest.$ac_ext"
10983 case "(($ac_try" in
10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10985 *) ac_try_echo=$ac_try;;
10987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10990 grep -v '^ *+' conftest.er1 >conftest.err
10992 cat conftest.err >&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } >/dev/null && {
10995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10996 test ! -s conftest.err
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11003 # Broken: fails on valid input.
11007 rm -f conftest.err conftest.$ac_ext
11009 # OK, works on sane cases. Now check whether nonexistent headers
11010 # can be detected and how.
11011 cat >conftest.$ac_ext <<_ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11017 #include <ac_nonexistent.h>
11019 if { (ac_try="$ac_cpp conftest.$ac_ext"
11020 case "(($ac_try" in
11021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11022 *) ac_try_echo=$ac_try;;
11024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11027 grep -v '^ *+' conftest.er1 >conftest.err
11029 cat conftest.err >&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); } >/dev/null && {
11032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11033 test ! -s conftest.err
11035 # Broken: success on invalid input.
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11041 # Passes both tests.
11046 rm -f conftest.err conftest.$ac_ext
11049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11050 rm -f conftest.err conftest.$ac_ext
11051 if $ac_preproc_ok; then
11056 ac_cv_prog_CPP=$CPP
11059 CPP=$ac_cv_prog_CPP
11061 ac_cv_prog_CPP=$CPP
11063 { echo "$as_me:$LINENO: result: $CPP" >&5
11064 echo "${ECHO_T}$CPP" >&6; }
11065 ac_preproc_ok=false
11066 for ac_c_preproc_warn_flag in '' yes
11068 # Use a header file that comes with gcc, so configuring glibc
11069 # with a fresh cross-compiler works.
11070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11071 # <limits.h> exists even on freestanding compilers.
11072 # On the NeXT, cc -E runs the code through the compiler's parser,
11073 # not just through cpp. "Syntax error" is here to catch this case.
11074 cat >conftest.$ac_ext <<_ACEOF
11077 cat confdefs.h >>conftest.$ac_ext
11078 cat >>conftest.$ac_ext <<_ACEOF
11079 /* end confdefs.h. */
11081 # include <limits.h>
11083 # include <assert.h>
11087 if { (ac_try="$ac_cpp conftest.$ac_ext"
11088 case "(($ac_try" in
11089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11090 *) ac_try_echo=$ac_try;;
11092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11095 grep -v '^ *+' conftest.er1 >conftest.err
11097 cat conftest.err >&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } >/dev/null && {
11100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11101 test ! -s conftest.err
11105 echo "$as_me: failed program was:" >&5
11106 sed 's/^/| /' conftest.$ac_ext >&5
11108 # Broken: fails on valid input.
11112 rm -f conftest.err conftest.$ac_ext
11114 # OK, works on sane cases. Now check whether nonexistent headers
11115 # can be detected and how.
11116 cat >conftest.$ac_ext <<_ACEOF
11119 cat confdefs.h >>conftest.$ac_ext
11120 cat >>conftest.$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11122 #include <ac_nonexistent.h>
11124 if { (ac_try="$ac_cpp conftest.$ac_ext"
11125 case "(($ac_try" in
11126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11127 *) ac_try_echo=$ac_try;;
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11132 grep -v '^ *+' conftest.er1 >conftest.err
11134 cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } >/dev/null && {
11137 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11138 test ! -s conftest.err
11140 # Broken: success on invalid input.
11143 echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.$ac_ext >&5
11146 # Passes both tests.
11151 rm -f conftest.err conftest.$ac_ext
11154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11155 rm -f conftest.err conftest.$ac_ext
11156 if $ac_preproc_ok; then
11159 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11160 See \`config.log' for more details." >&5
11161 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11162 See \`config.log' for more details." >&2;}
11163 { (exit 1); exit 1; }; }
11167 ac_cpp='$CPP $CPPFLAGS'
11168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11172 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
11173 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
11174 if test "${ac_cv_path_GREP+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6
11177 # Extract the first word of "grep ggrep" to use in msg output
11178 if test -z "$GREP"; then
11179 set dummy grep ggrep; ac_prog_name=$2
11180 if test "${ac_cv_path_GREP+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 ac_path_GREP_found=false
11184 # Loop through the user's path and test for each of PROGNAME-LIST
11185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11189 test -z "$as_dir" && as_dir=.
11190 for ac_prog in grep ggrep; do
11191 for ac_exec_ext in '' $ac_executable_extensions; do
11192 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
11193 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
11194 # Check for GNU ac_path_GREP and select it if it is found.
11195 # Check for GNU $ac_path_GREP
11196 case `"$ac_path_GREP" --version 2>&1` in
11198 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11201 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11204 cat "conftest.in" "conftest.in" >"conftest.tmp"
11205 mv "conftest.tmp" "conftest.in"
11206 cp "conftest.in" "conftest.nl"
11207 echo 'GREP' >> "conftest.nl"
11208 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11210 ac_count=`expr $ac_count + 1`
11211 if test $ac_count -gt ${ac_path_GREP_max-0}; then
11212 # Best one so far, save it but keep looking for a better one
11213 ac_cv_path_GREP="$ac_path_GREP"
11214 ac_path_GREP_max=$ac_count
11216 # 10*(2^10) chars as input seems more than enough
11217 test $ac_count -gt 10 && break
11219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11223 $ac_path_GREP_found && break 3
11233 GREP="$ac_cv_path_GREP"
11234 if test -z "$GREP"; then
11235 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11236 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11237 { (exit 1); exit 1; }; }
11241 ac_cv_path_GREP=$GREP
11246 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
11247 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
11248 GREP="$ac_cv_path_GREP"
11251 { echo "$as_me:$LINENO: checking for egrep" >&5
11252 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11253 if test "${ac_cv_path_EGREP+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11257 then ac_cv_path_EGREP="$GREP -E"
11259 # Extract the first word of "egrep" to use in msg output
11260 if test -z "$EGREP"; then
11261 set dummy egrep; ac_prog_name=$2
11262 if test "${ac_cv_path_EGREP+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 ac_path_EGREP_found=false
11266 # Loop through the user's path and test for each of PROGNAME-LIST
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11271 test -z "$as_dir" && as_dir=.
11272 for ac_prog in egrep; do
11273 for ac_exec_ext in '' $ac_executable_extensions; do
11274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11275 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11276 # Check for GNU ac_path_EGREP and select it if it is found.
11277 # Check for GNU $ac_path_EGREP
11278 case `"$ac_path_EGREP" --version 2>&1` in
11280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11283 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11286 cat "conftest.in" "conftest.in" >"conftest.tmp"
11287 mv "conftest.tmp" "conftest.in"
11288 cp "conftest.in" "conftest.nl"
11289 echo 'EGREP' >> "conftest.nl"
11290 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11291 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11292 ac_count=`expr $ac_count + 1`
11293 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11294 # Best one so far, save it but keep looking for a better one
11295 ac_cv_path_EGREP="$ac_path_EGREP"
11296 ac_path_EGREP_max=$ac_count
11298 # 10*(2^10) chars as input seems more than enough
11299 test $ac_count -gt 10 && break
11301 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11305 $ac_path_EGREP_found && break 3
11315 EGREP="$ac_cv_path_EGREP"
11316 if test -z "$EGREP"; then
11317 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11318 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11319 { (exit 1); exit 1; }; }
11323 ac_cv_path_EGREP=$EGREP
11329 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11330 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11331 EGREP="$ac_cv_path_EGREP"
11338 { echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
11339 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6; }
11340 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 ac_cpp='$CPP $CPPFLAGS'
11346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11350 cat >conftest.$ac_ext <<_ACEOF
11352 #ifdef ENSC_SYSCALL_FALLBACK
11353 # include ENSC_SYSCALL_FALLBACK
11355 # include <asm/unistd.h>
11357 #ifdef __NR_vserver
11358 ensc_syscall_tmp_nr=__NR_vserver;
11359 ensc_syscall_tmp_src=ENSC_MARK
11363 ensc_syscall_tmp_nr=
11364 ensc_syscall_tmp_src=
11365 test x"$ensc_syscall_tmp_nr" != x || \
11366 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
11367 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
11368 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=.*)$')
11369 test "$ensc_syscall_tmp_nr" || {
11370 ensc_syscall_tmp_nr=273
11371 ensc_syscall_tmp_src=default
11374 if test x"$ensc_syscall_tmp_nr" = x; then
11375 { { 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
11376 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;}
11377 { (exit 1); exit 1; }; }
11380 ac_cpp='$CPP $CPPFLAGS'
11381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11386 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
11389 { echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
11390 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6; }
11392 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
11393 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
11395 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
11397 cat >>confdefs.h <<_ACEOF
11398 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
11404 { echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
11405 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6; }
11406 # Check whether --enable-alternative-syscalls was given.
11407 if test "${enable_alternative_syscalls+set}" = set; then
11408 enableval=$enable_alternative_syscalls; case $enableval in
11409 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
11410 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
11411 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
11412 { (exit 1); exit 1; }; };;
11415 ensc_use_alternative_syscall_macros=yes
11419 case $ensc_use_alternative_syscall_macros in
11421 cat >>confdefs.h <<\_ACEOF
11422 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
11427 { echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
11428 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6; }
11433 { echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
11434 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6; }
11436 # Check whether --with-syscall was given.
11437 if test "${with_syscall+set}" = set; then
11438 withval=$with_syscall;
11443 { echo "$as_me:$LINENO: result: $with_syscall" >&5
11444 echo "${ECHO_T}$with_syscall" >&6; }
11446 case x"$with_syscall" in
11448 { echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
11449 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6; }
11450 if test "${ensc_cv_test_syscall+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 ac_cpp='$CPP $CPPFLAGS'
11456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11460 cat >conftest.$ac_ext <<_ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11467 #include "$srcdir/lib/syscall-wrap.h"
11470 #define __NR_foo0 300
11471 #define __NR_foo1 301
11472 #define __NR_foo2 302
11473 #define __NR_foo3 303
11474 #define __NR_foo4 304
11475 #define __NR_foo5 305
11476 inline static _syscall0(int, foo0)
11477 inline static _syscall1(int, foo1, int, a)
11478 inline static _syscall2(int, foo2, int, a, int, b)
11479 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11480 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11481 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11493 rm -f conftest.$ac_objext
11494 if { (ac_try="$ac_compile"
11495 case "(($ac_try" in
11496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11497 *) ac_try_echo=$ac_try;;
11499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11500 (eval "$ac_compile") 2>conftest.er1
11502 grep -v '^ *+' conftest.er1 >conftest.err
11504 cat conftest.err >&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); } && {
11507 test -z "$ac_c_werror_flag" ||
11508 test ! -s conftest.err
11509 } && test -s conftest.$ac_objext; then
11510 ensc_cv_test_syscall=fast
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11515 ensc_cv_test_syscall=traditional
11518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11528 { echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
11529 echo "${ECHO_T}$ensc_cv_test_syscall" >&6; }
11530 with_syscall=$ensc_cv_test_syscall
11532 (xfast|xtraditional)
11535 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
11536 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
11537 { (exit 1); exit 1; }; }
11541 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
11542 with_syscall='alternative'
11545 if test x"$with_syscall" = xtraditional; then
11547 cat >>confdefs.h <<\_ACEOF
11548 #define ENSC_SYSCALL_TRADITIONAL 1
11559 (i*86|athlon) min_diet_ver=0.25;;
11560 (ia64|hppa*) min_diet_ver=0.29;;
11561 (sparc*) min_diet_ver=0.30;;
11562 (x86_64) min_diet_ver=0.27;;
11563 (*) min_diet_ver=0.28;;
11567 { echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
11568 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6; }
11576 # Check whether --enable-dietlibc was given.
11577 if test "${enable_dietlibc+set}" = set; then
11578 enableval=$enable_dietlibc; case "$enableval" in
11579 (yes) use_dietlibc=forced;;
11580 (no) use_dietlibc=forced_no;;
11581 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
11582 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
11583 { (exit 1); exit 1; }; };;
11586 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
11590 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
11591 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
11592 _dietlibc_ver=${_dietlibc_ver##*diet version }
11593 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
11594 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
11595 _dietlibc_ver_min=${_dietlibc_ver##*.}
11596 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
11597 _dietlibc_cmp="$min_diet_ver"
11598 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
11599 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
11601 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
11603 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
11604 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
11606 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
11608 ENSC_VERSION_DIETLIBC=
11612 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
11613 ensc_have_dietlibc=no
11615 case x"$use_dietlibc" in
11619 USE_DIETLIBC_FALSE='#'
11621 USE_DIETLIBC_TRUE='#'
11622 USE_DIETLIBC_FALSE=
11625 { echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
11626 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6; }
11627 ensc_have_dietlibc=yes
11632 USE_DIETLIBC_FALSE='#'
11634 USE_DIETLIBC_TRUE='#'
11635 USE_DIETLIBC_FALSE=
11638 { echo "$as_me:$LINENO: result: yes (forced)" >&5
11639 echo "${ECHO_T}yes (forced)" >&6; }
11640 ensc_have_dietlibc=yes
11645 USE_DIETLIBC_FALSE='#'
11647 USE_DIETLIBC_TRUE='#'
11648 USE_DIETLIBC_FALSE=
11651 { echo "$as_me:$LINENO: result: no (detected)" >&5
11652 echo "${ECHO_T}no (detected)" >&6; }
11657 USE_DIETLIBC_FALSE='#'
11659 USE_DIETLIBC_TRUE='#'
11660 USE_DIETLIBC_FALSE=
11663 { echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
11664 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6; }
11669 USE_DIETLIBC_FALSE='#'
11671 USE_DIETLIBC_TRUE='#'
11672 USE_DIETLIBC_FALSE=
11675 { echo "$as_me:$LINENO: result: no (forced)" >&5
11676 echo "${ECHO_T}no (forced)" >&6; }
11679 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
11680 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
11681 { (exit 1); exit 1; }; }
11685 if test x"$ensc_have_dietlibc" != xno; then
11690 { echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
11691 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6; }
11692 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
11697 _ensc_dietlibc_c99_old_CC=$CC
11700 CC="${DIET:-diet} $CC"
11703 ac_cpp='$CPP $CPPFLAGS'
11704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11708 cat >conftest.$ac_ext <<_ACEOF
11711 rm -f conftest.$ac_objext
11712 if { (ac_try="$ac_compile"
11713 case "(($ac_try" in
11714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11715 *) ac_try_echo=$ac_try;;
11717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11718 (eval "$ac_compile") 2>conftest.er1
11720 grep -v '^ *+' conftest.er1 >conftest.err
11722 cat conftest.err >&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } && {
11725 test -z "$ac_c_werror_flag" ||
11726 test ! -s conftest.err
11727 } && test -s conftest.$ac_objext; then
11729 cat >conftest.$ac_ext <<_ACEOF
11731 #include <stdint.h>
11732 #include <sys/cdefs.h>
11733 #if defined(inline)
11734 # error 'inline' badly defined
11736 volatile uint64_t a;
11739 rm -f conftest.$ac_objext
11740 if { (ac_try="$ac_compile"
11741 case "(($ac_try" in
11742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11743 *) ac_try_echo=$ac_try;;
11745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11746 (eval "$ac_compile") 2>conftest.er1
11748 grep -v '^ *+' conftest.er1 >conftest.err
11750 cat conftest.err >&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } && {
11753 test -z "$ac_c_werror_flag" ||
11754 test ! -s conftest.err
11755 } && test -s conftest.$ac_objext; then
11756 ensc_cv_c_dietlibc_c99=yes
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11761 ensc_cv_c_dietlibc_c99=no
11764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11769 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11774 ac_cpp='$CPP $CPPFLAGS'
11775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11780 CC=$_ensc_dietlibc_c99_old_CC
11781 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
11784 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
11785 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6; }
11787 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
11788 cat >>confdefs.h <<\_ACEOF
11789 #define ENSC_DIETLIBC_C99 1
11798 { echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5
11799 echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6; }
11800 if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 _ensc_dietlibc_syscall_old_CC="$CC"
11805 CC="${DIET:-diet} $CC"
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11813 cat >conftest.$ac_ext <<_ACEOF
11815 #include <sys/syscall.h>
11816 long int syscall(long int __sysno, ...);
11819 rm -f conftest.$ac_objext
11820 if { (ac_try="$ac_compile"
11821 case "(($ac_try" in
11822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823 *) ac_try_echo=$ac_try;;
11825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11826 (eval "$ac_compile") 2>conftest.er1
11828 grep -v '^ *+' conftest.er1 >conftest.err
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } && {
11833 test -z "$ac_c_werror_flag" ||
11834 test ! -s conftest.err
11835 } && test -s conftest.$ac_objext; then
11836 ensc_cv_c_dietlibc_syscall=no
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.$ac_ext >&5
11841 ensc_cv_c_dietlibc_syscall=yes
11844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11846 ac_cpp='$CPP $CPPFLAGS'
11847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11852 CC="$_ensc_dietlibc_syscall_old_CC"
11855 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5
11856 echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6; }
11858 if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then
11859 cat >>confdefs.h <<\_ACEOF
11860 #define ENSC_DIETLIBC_HAS_SYSCALL 1
11868 if test x"$ensc_have_dietlibc" = xno; then
11869 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11870 echo "$as_me: WARNING: *** ***" >&2;}
11871 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
11872 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
11873 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
11874 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
11875 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
11876 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
11877 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
11878 echo "$as_me: WARNING: *** there. ***" >&2;}
11879 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11880 echo "$as_me: WARNING: *** ***" >&2;}
11882 USE_DIETLIBC_COMPAT_TRUE=
11883 USE_DIETLIBC_COMPAT_FALSE='#'
11885 USE_DIETLIBC_COMPAT_TRUE='#'
11886 USE_DIETLIBC_COMPAT_FALSE=
11890 # HACK: libtool does not have cmdline options to build only
11891 # dynamic libraries; this can be done with the
11892 # '--disable-static' ./configure option only. As our static
11893 # libraries will be build with dietlibc, we have to do set
11894 # this option which is evaluated by 'AC_PROG_LIBTOOL'
11895 # below. Therefore, this macro must not be called earlier.
11901 { echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
11902 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6; }
11903 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 ac_cpp='$CPP $CPPFLAGS'
11909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11913 ensc_dietlibc_need_compat_old_CC=$CC
11914 CC="${DIET:-diet} $CC"
11915 cat >conftest.$ac_ext <<_ACEOF
11919 cat confdefs.h >>conftest.$ac_ext
11920 cat >>conftest.$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11923 #include "$srcdir/lib/syscall-wrap.h"
11926 #define __NR_foo0 42
11927 #define __NR_foo1 42
11928 #define __NR_foo2 42
11929 #define __NR_foo3 42
11930 #define __NR_foo4 42
11931 #define __NR_foo5 42
11932 inline static _syscall0(int, foo0)
11933 inline static _syscall1(int, foo1, int, a)
11934 inline static _syscall2(int, foo2, int, a, int, b)
11935 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11936 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11937 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11942 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
11947 rm -f conftest.$ac_objext conftest$ac_exeext
11948 if { (ac_try="$ac_link"
11949 case "(($ac_try" in
11950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11951 *) ac_try_echo=$ac_try;;
11953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11954 (eval "$ac_link") 2>conftest.er1
11956 grep -v '^ *+' conftest.er1 >conftest.err
11958 cat conftest.err >&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } && {
11961 test -z "$ac_c_werror_flag" ||
11962 test ! -s conftest.err
11963 } && test -s conftest$ac_exeext &&
11964 $as_test_x conftest$ac_exeext; then
11965 ensc_cv_c_dietlibc_compat=no
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.$ac_ext >&5
11970 ensc_cv_c_dietlibc_compat=yes
11973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11974 conftest$ac_exeext conftest.$ac_ext
11975 CC=$ensc_dietlibc_need_compat_old_CC
11977 ac_cpp='$CPP $CPPFLAGS'
11978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11984 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
11985 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6; }
11987 if test x"USE_DIETLIBC_COMPAT" != x; then
11988 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
11989 USE_DIETLIBC_COMPAT_TRUE=
11990 USE_DIETLIBC_COMPAT_FALSE='#'
11992 USE_DIETLIBC_COMPAT_TRUE='#'
11993 USE_DIETLIBC_COMPAT_FALSE=
12000 if test x"$ensc_have_dietlibc" = xyes; then
12001 ENSC_USE_DIETLIBC_TRUE=
12002 ENSC_USE_DIETLIBC_FALSE='#'
12004 ENSC_USE_DIETLIBC_TRUE='#'
12005 ENSC_USE_DIETLIBC_FALSE=
12009 ENSC_USE_GLIBC_TRUE=
12010 ENSC_USE_GLIBC_FALSE='#'
12012 ENSC_USE_GLIBC_TRUE='#'
12013 ENSC_USE_GLIBC_FALSE=
12017 # HACK: see comments at 'enable_static' above
12018 # Check whether --enable-shared was given.
12019 if test "${enable_shared+set}" = set; then
12020 enableval=$enable_shared; p=${PACKAGE-default}
12022 yes) enable_shared=yes ;;
12023 no) enable_shared=no ;;
12026 # Look at the argument we got. We use all the common list separators.
12027 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12028 for pkg in $enableval; do
12030 if test "X$pkg" = "X$p"; then
12042 # Check whether --enable-static was given.
12043 if test "${enable_static+set}" = set; then
12044 enableval=$enable_static; p=${PACKAGE-default}
12046 yes) enable_static=yes ;;
12047 no) enable_static=no ;;
12050 # Look at the argument we got. We use all the common list separators.
12051 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12052 for pkg in $enableval; do
12054 if test "X$pkg" = "X$p"; then
12066 # Check whether --enable-fast-install was given.
12067 if test "${enable_fast_install+set}" = set; then
12068 enableval=$enable_fast_install; p=${PACKAGE-default}
12070 yes) enable_fast_install=yes ;;
12071 no) enable_fast_install=no ;;
12073 enable_fast_install=no
12074 # Look at the argument we got. We use all the common list separators.
12075 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12076 for pkg in $enableval; do
12078 if test "X$pkg" = "X$p"; then
12079 enable_fast_install=yes
12086 enable_fast_install=yes
12090 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12091 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
12092 if test "${lt_cv_path_SED+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 # Loop through the user's path and test for sed and gsed.
12096 # Then use that list of sed's as ones to test for truncation.
12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12098 for as_dir in $PATH
12101 test -z "$as_dir" && as_dir=.
12102 for lt_ac_prog in sed gsed; do
12103 for ac_exec_ext in '' $ac_executable_extensions; do
12104 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12105 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12113 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12114 # along with /bin/sed that truncates output.
12115 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12116 test ! -f $lt_ac_sed && continue
12117 cat /dev/null > conftest.in
12119 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12120 # Check for GNU sed and select it if it is found.
12121 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12122 lt_cv_path_SED=$lt_ac_sed
12126 cat conftest.in conftest.in >conftest.tmp
12127 mv conftest.tmp conftest.in
12128 cp conftest.in conftest.nl
12130 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12131 cmp -s conftest.out conftest.nl || break
12132 # 10000 chars as input seems more than enough
12133 test $lt_ac_count -gt 10 && break
12134 lt_ac_count=`expr $lt_ac_count + 1`
12135 if test $lt_ac_count -gt $lt_ac_max; then
12136 lt_ac_max=$lt_ac_count
12137 lt_cv_path_SED=$lt_ac_sed
12144 SED=$lt_cv_path_SED
12146 { echo "$as_me:$LINENO: result: $SED" >&5
12147 echo "${ECHO_T}$SED" >&6; }
12150 # Check whether --with-gnu-ld was given.
12151 if test "${with_gnu_ld+set}" = set; then
12152 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12158 if test "$GCC" = yes; then
12159 # Check if gcc -print-prog-name=ld gives a path.
12160 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12161 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12164 # gcc leaves a trailing carriage return which upsets mingw
12165 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12167 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12170 # Accept absolute paths.
12172 re_direlt='/[^/][^/]*/\.\./'
12173 # Canonicalize the pathname of ld
12174 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12175 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12176 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12178 test -z "$LD" && LD="$ac_prog"
12181 # If it fails, then pretend we aren't using GCC.
12185 # If it is relative, then search for the first ld in PATH.
12186 with_gnu_ld=unknown
12189 elif test "$with_gnu_ld" = yes; then
12190 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12191 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12193 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12194 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12196 if test "${lt_cv_path_LD+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 if test -z "$LD"; then
12200 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12201 for ac_dir in $PATH; do
12203 test -z "$ac_dir" && ac_dir=.
12204 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12205 lt_cv_path_LD="$ac_dir/$ac_prog"
12206 # Check to see if the program is GNU ld. I'd rather use --version,
12207 # but apparently some variants of GNU ld only accept -v.
12208 # Break only if it was the GNU/non-GNU ld that we prefer.
12209 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12210 *GNU* | *'with BFD'*)
12211 test "$with_gnu_ld" != no && break
12214 test "$with_gnu_ld" != yes && break
12221 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12225 LD="$lt_cv_path_LD"
12226 if test -n "$LD"; then
12227 { echo "$as_me:$LINENO: result: $LD" >&5
12228 echo "${ECHO_T}$LD" >&6; }
12230 { echo "$as_me:$LINENO: result: no" >&5
12231 echo "${ECHO_T}no" >&6; }
12233 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12234 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12235 { (exit 1); exit 1; }; }
12236 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12237 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12238 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12242 case `$LD -v 2>&1 </dev/null` in
12243 *GNU* | *'with BFD'*)
12244 lt_cv_prog_gnu_ld=yes
12247 lt_cv_prog_gnu_ld=no
12251 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12252 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12253 with_gnu_ld=$lt_cv_prog_gnu_ld
12256 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12257 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12258 if test "${lt_cv_ld_reload_flag+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 lt_cv_ld_reload_flag='-r'
12263 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12264 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12265 reload_flag=$lt_cv_ld_reload_flag
12266 case $reload_flag in
12268 *) reload_flag=" $reload_flag" ;;
12270 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12273 if test "$GCC" = yes; then
12274 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12276 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12281 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12282 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12283 if test "${lt_cv_path_NM+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 if test -n "$NM"; then
12287 # Let the user override the test.
12288 lt_cv_path_NM="$NM"
12290 lt_nm_to_check="${ac_tool_prefix}nm"
12291 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12292 lt_nm_to_check="$lt_nm_to_check nm"
12294 for lt_tmp_nm in $lt_nm_to_check; do
12295 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12296 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12298 test -z "$ac_dir" && ac_dir=.
12299 tmp_nm="$ac_dir/$lt_tmp_nm"
12300 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12301 # Check to see if the nm accepts a BSD-compat flag.
12302 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12303 # nm: unknown option "B" ignored
12304 # Tru64's nm complains that /dev/null is an invalid object file
12305 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12306 */dev/null* | *'Invalid file or object type'*)
12307 lt_cv_path_NM="$tmp_nm -B"
12311 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12313 lt_cv_path_NM="$tmp_nm -p"
12317 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12318 continue # so that we can try to find one that supports BSD flags
12327 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12330 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12331 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12332 NM="$lt_cv_path_NM"
12334 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
12335 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
12336 if test "${lt_cv_deplibs_check_method+set}" = set; then
12337 echo $ECHO_N "(cached) $ECHO_C" >&6
12339 lt_cv_file_magic_cmd='$MAGIC_CMD'
12340 lt_cv_file_magic_test_file=
12341 lt_cv_deplibs_check_method='unknown'
12342 # Need to set the preceding variable on all platforms that support
12343 # interlibrary dependencies.
12344 # 'none' -- dependencies not supported.
12345 # `unknown' -- same as none, but documents that we really don't know.
12346 # 'pass_all' -- all dependencies passed with no checks.
12347 # 'test_compile' -- check by making test program.
12348 # 'file_magic [[regex]]' -- check by looking for files in library path
12349 # which responds to the $file_magic_cmd with a given extended regex.
12350 # If you have `file' or equivalent on your system and you're not sure
12351 # whether `pass_all' will *always* work, you probably want this one.
12355 lt_cv_deplibs_check_method=pass_all
12359 lt_cv_deplibs_check_method=pass_all
12363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12364 lt_cv_file_magic_cmd='/usr/bin/file -L'
12365 lt_cv_file_magic_test_file=/shlib/libc.so
12369 # func_win32_libid is a shell function defined in ltmain.sh
12370 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12371 lt_cv_file_magic_cmd='func_win32_libid'
12375 # Base MSYS/MinGW do not provide the 'file' command needed by
12376 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12377 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12378 lt_cv_file_magic_cmd='$OBJDUMP -f'
12381 darwin* | rhapsody*)
12382 lt_cv_deplibs_check_method=pass_all
12385 freebsd* | kfreebsd*-gnu | dragonfly*)
12386 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12389 # Not sure whether the presence of OpenBSD here was a mistake.
12390 # Let's accept both of them until this is cleared up.
12391 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12392 lt_cv_file_magic_cmd=/usr/bin/file
12393 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12397 lt_cv_deplibs_check_method=pass_all
12402 lt_cv_deplibs_check_method=pass_all
12405 hpux10.20* | hpux11*)
12406 lt_cv_file_magic_cmd=/usr/bin/file
12409 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12410 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12413 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]'
12414 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12417 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12418 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12424 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12428 irix5* | irix6* | nonstopux*)
12430 *-32|*"-32 ") libmagic=32-bit;;
12431 *-n32|*"-n32 ") libmagic=N32;;
12432 *-64|*"-64 ") libmagic=64-bit;;
12433 *) libmagic=never-match;;
12435 lt_cv_deplibs_check_method=pass_all
12438 # This must be Linux ELF.
12440 lt_cv_deplibs_check_method=pass_all
12444 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12445 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12447 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12452 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12453 lt_cv_file_magic_cmd=/usr/bin/file
12454 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12458 lt_cv_deplibs_check_method=unknown
12462 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12463 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12465 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12469 osf3* | osf4* | osf5*)
12470 lt_cv_deplibs_check_method=pass_all
12474 lt_cv_deplibs_check_method=pass_all
12478 case $host_vendor in
12480 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]'
12481 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12484 lt_cv_deplibs_check_method=pass_all
12487 lt_cv_file_magic_cmd='/bin/file'
12488 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12491 lt_cv_file_magic_cmd='/bin/file'
12492 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12493 lt_cv_file_magic_test_file=/lib/libc.so
12496 lt_cv_deplibs_check_method=pass_all
12499 lt_cv_deplibs_check_method=pass_all
12504 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12505 lt_cv_deplibs_check_method=pass_all
12510 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12511 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12512 file_magic_cmd=$lt_cv_file_magic_cmd
12513 deplibs_check_method=$lt_cv_deplibs_check_method
12514 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12519 # If no C compiler was specified, use CC.
12522 # If no C compiler flags were specified, use CFLAGS.
12523 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12525 # Allow CC to be a program name with arguments.
12528 # Check whether --enable-libtool-lock was given.
12529 if test "${enable_libtool_lock+set}" = set; then
12530 enableval=$enable_libtool_lock;
12533 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12535 # Some flags need to be propagated to the compiler or linker for good
12539 # Find out which ABI we are using.
12540 echo 'int i;' > conftest.$ac_ext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12542 (eval $ac_compile) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; then
12546 case `/usr/bin/file conftest.$ac_objext` in
12548 HPUX_IA64_MODE="32"
12551 HPUX_IA64_MODE="64"
12558 # Find out which ABI we are using.
12559 echo '#line 12559 "configure"' > conftest.$ac_ext
12560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12561 (eval $ac_compile) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; then
12565 if test "$lt_cv_prog_gnu_ld" = yes; then
12566 case `/usr/bin/file conftest.$ac_objext` in
12568 LD="${LD-ld} -melf32bsmip"
12571 LD="${LD-ld} -melf32bmipn32"
12574 LD="${LD-ld} -melf64bmip"
12578 case `/usr/bin/file conftest.$ac_objext` in
12594 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12595 # Find out which ABI we are using.
12596 echo 'int i;' > conftest.$ac_ext
12597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12598 (eval $ac_compile) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; then
12602 case `/usr/bin/file conftest.o` in
12606 LD="${LD-ld} -m elf_i386"
12608 ppc64-*linux*|powerpc64-*linux*)
12609 LD="${LD-ld} -m elf32ppclinux"
12612 LD="${LD-ld} -m elf_s390"
12615 LD="${LD-ld} -m elf32_sparc"
12622 LD="${LD-ld} -m elf_x86_64"
12624 ppc*-*linux*|powerpc*-*linux*)
12625 LD="${LD-ld} -m elf64ppc"
12628 LD="${LD-ld} -m elf64_s390"
12631 LD="${LD-ld} -m elf64_sparc"
12641 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12642 SAVE_CFLAGS="$CFLAGS"
12643 CFLAGS="$CFLAGS -belf"
12644 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12645 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
12646 if test "${lt_cv_cc_needs_belf+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 ac_cpp='$CPP $CPPFLAGS'
12651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12655 cat >conftest.$ac_ext <<_ACEOF
12658 cat confdefs.h >>conftest.$ac_ext
12659 cat >>conftest.$ac_ext <<_ACEOF
12660 /* end confdefs.h. */
12670 rm -f conftest.$ac_objext conftest$ac_exeext
12671 if { (ac_try="$ac_link"
12672 case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_link") 2>conftest.er1
12679 grep -v '^ *+' conftest.er1 >conftest.err
12681 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && {
12684 test -z "$ac_c_werror_flag" ||
12685 test ! -s conftest.err
12686 } && test -s conftest$ac_exeext &&
12687 $as_test_x conftest$ac_exeext; then
12688 lt_cv_cc_needs_belf=yes
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12693 lt_cv_cc_needs_belf=no
12696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12697 conftest$ac_exeext conftest.$ac_ext
12699 ac_cpp='$CPP $CPPFLAGS'
12700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12705 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12706 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12707 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12708 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12709 CFLAGS="$SAVE_CFLAGS"
12713 # Find out which ABI we are using.
12714 echo 'int i;' > conftest.$ac_ext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12716 (eval $ac_compile) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; then
12720 case `/usr/bin/file conftest.o` in
12722 case $lt_cv_prog_gnu_ld in
12723 yes*) LD="${LD-ld} -m elf64_sparc" ;;
12724 *) LD="${LD-ld} -64" ;;
12735 need_locks="$enable_libtool_lock"
12739 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12740 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12741 if test "${ac_cv_header_stdc+set}" = set; then
12742 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 cat >conftest.$ac_ext <<_ACEOF
12747 cat confdefs.h >>conftest.$ac_ext
12748 cat >>conftest.$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12750 #include <stdlib.h>
12751 #include <stdarg.h>
12752 #include <string.h>
12763 rm -f conftest.$ac_objext
12764 if { (ac_try="$ac_compile"
12765 case "(($ac_try" in
12766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12767 *) ac_try_echo=$ac_try;;
12769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12770 (eval "$ac_compile") 2>conftest.er1
12772 grep -v '^ *+' conftest.er1 >conftest.err
12774 cat conftest.err >&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); } && {
12777 test -z "$ac_c_werror_flag" ||
12778 test ! -s conftest.err
12779 } && test -s conftest.$ac_objext; then
12780 ac_cv_header_stdc=yes
12782 echo "$as_me: failed program was:" >&5
12783 sed 's/^/| /' conftest.$ac_ext >&5
12785 ac_cv_header_stdc=no
12788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12790 if test $ac_cv_header_stdc = yes; then
12791 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12792 cat >conftest.$ac_ext <<_ACEOF
12795 cat confdefs.h >>conftest.$ac_ext
12796 cat >>conftest.$ac_ext <<_ACEOF
12797 /* end confdefs.h. */
12798 #include <string.h>
12801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12802 $EGREP "memchr" >/dev/null 2>&1; then
12805 ac_cv_header_stdc=no
12811 if test $ac_cv_header_stdc = yes; then
12812 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12813 cat >conftest.$ac_ext <<_ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 #include <stdlib.h>
12822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12823 $EGREP "free" >/dev/null 2>&1; then
12826 ac_cv_header_stdc=no
12832 if test $ac_cv_header_stdc = yes; then
12833 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12834 if test "$cross_compiling" = yes; then
12837 cat >conftest.$ac_ext <<_ACEOF
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12844 #include <stdlib.h>
12845 #if ((' ' & 0x0FF) == 0x020)
12846 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12849 # define ISLOWER(c) \
12850 (('a' <= (c) && (c) <= 'i') \
12851 || ('j' <= (c) && (c) <= 'r') \
12852 || ('s' <= (c) && (c) <= 'z'))
12853 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12861 for (i = 0; i < 256; i++)
12862 if (XOR (islower (i), ISLOWER (i))
12863 || toupper (i) != TOUPPER (i))
12868 rm -f conftest$ac_exeext
12869 if { (ac_try="$ac_link"
12870 case "(($ac_try" in
12871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12872 *) ac_try_echo=$ac_try;;
12874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12875 (eval "$ac_link") 2>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12879 { (case "(($ac_try" in
12880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12881 *) ac_try_echo=$ac_try;;
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_try") 2>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }; }; then
12890 echo "$as_me: program exited with status $ac_status" >&5
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12894 ( exit $ac_status )
12895 ac_cv_header_stdc=no
12897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12903 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12904 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
12905 if test $ac_cv_header_stdc = yes; then
12907 cat >>confdefs.h <<\_ACEOF
12908 #define STDC_HEADERS 1
12913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12923 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12924 inttypes.h stdint.h unistd.h
12926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 cat >conftest.$ac_ext <<_ACEOF
12935 cat confdefs.h >>conftest.$ac_ext
12936 cat >>conftest.$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12938 $ac_includes_default
12940 #include <$ac_header>
12942 rm -f conftest.$ac_objext
12943 if { (ac_try="$ac_compile"
12944 case "(($ac_try" in
12945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12946 *) ac_try_echo=$ac_try;;
12948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12949 (eval "$ac_compile") 2>conftest.er1
12951 grep -v '^ *+' conftest.er1 >conftest.err
12953 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } && {
12956 test -z "$ac_c_werror_flag" ||
12957 test ! -s conftest.err
12958 } && test -s conftest.$ac_objext; then
12959 eval "$as_ac_Header=yes"
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12964 eval "$as_ac_Header=no"
12967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12969 ac_res=`eval echo '${'$as_ac_Header'}'`
12970 { echo "$as_me:$LINENO: result: $ac_res" >&5
12971 echo "${ECHO_T}$ac_res" >&6; }
12972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12973 cat >>confdefs.h <<_ACEOF
12974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12983 for ac_header in dlfcn.h
12985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12986 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 ac_res=`eval echo '${'$as_ac_Header'}'`
12993 { echo "$as_me:$LINENO: result: $ac_res" >&5
12994 echo "${ECHO_T}$ac_res" >&6; }
12996 # Is the header compilable?
12997 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12999 cat >conftest.$ac_ext <<_ACEOF
13002 cat confdefs.h >>conftest.$ac_ext
13003 cat >>conftest.$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13005 $ac_includes_default
13006 #include <$ac_header>
13008 rm -f conftest.$ac_objext
13009 if { (ac_try="$ac_compile"
13010 case "(($ac_try" in
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13015 (eval "$ac_compile") 2>conftest.er1
13017 grep -v '^ *+' conftest.er1 >conftest.err
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } && {
13022 test -z "$ac_c_werror_flag" ||
13023 test ! -s conftest.err
13024 } && test -s conftest.$ac_objext; then
13025 ac_header_compiler=yes
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13030 ac_header_compiler=no
13033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13034 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13035 echo "${ECHO_T}$ac_header_compiler" >&6; }
13037 # Is the header present?
13038 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13040 cat >conftest.$ac_ext <<_ACEOF
13043 cat confdefs.h >>conftest.$ac_ext
13044 cat >>conftest.$ac_ext <<_ACEOF
13045 /* end confdefs.h. */
13046 #include <$ac_header>
13048 if { (ac_try="$ac_cpp conftest.$ac_ext"
13049 case "(($ac_try" in
13050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13051 *) ac_try_echo=$ac_try;;
13053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13056 grep -v '^ *+' conftest.er1 >conftest.err
13058 cat conftest.err >&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } >/dev/null && {
13061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13062 test ! -s conftest.err
13064 ac_header_preproc=yes
13066 echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.$ac_ext >&5
13069 ac_header_preproc=no
13072 rm -f conftest.err conftest.$ac_ext
13073 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13074 echo "${ECHO_T}$ac_header_preproc" >&6; }
13076 # So? What about this header?
13077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13083 ac_header_preproc=yes
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13099 ## --------------------------------------------- ##
13100 ## Report this to vserver@list.linux-vserver.org ##
13101 ## --------------------------------------------- ##
13103 ) | sed "s/^/$as_me: WARNING: /" >&2
13106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 eval "$as_ac_Header=\$ac_header_preproc"
13113 ac_res=`eval echo '${'$as_ac_Header'}'`
13114 { echo "$as_me:$LINENO: result: $ac_res" >&5
13115 echo "${ECHO_T}$ac_res" >&6; }
13118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13119 cat >>confdefs.h <<_ACEOF
13120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13129 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13130 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13131 (test "X$CXX" != "Xg++"))) ; then
13133 ac_cpp='$CXXCPP $CPPFLAGS'
13134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13137 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13138 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
13139 if test -z "$CXXCPP"; then
13140 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 # Double quotes because CXXCPP needs to be expanded
13144 for CXXCPP in "$CXX -E" "/lib/cpp"
13146 ac_preproc_ok=false
13147 for ac_cxx_preproc_warn_flag in '' yes
13149 # Use a header file that comes with gcc, so configuring glibc
13150 # with a fresh cross-compiler works.
13151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13152 # <limits.h> exists even on freestanding compilers.
13153 # On the NeXT, cc -E runs the code through the compiler's parser,
13154 # not just through cpp. "Syntax error" is here to catch this case.
13155 cat >conftest.$ac_ext <<_ACEOF
13158 cat confdefs.h >>conftest.$ac_ext
13159 cat >>conftest.$ac_ext <<_ACEOF
13160 /* end confdefs.h. */
13162 # include <limits.h>
13164 # include <assert.h>
13168 if { (ac_try="$ac_cpp conftest.$ac_ext"
13169 case "(($ac_try" in
13170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13171 *) ac_try_echo=$ac_try;;
13173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13176 grep -v '^ *+' conftest.er1 >conftest.err
13178 cat conftest.err >&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); } >/dev/null && {
13181 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13182 test ! -s conftest.err
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13189 # Broken: fails on valid input.
13193 rm -f conftest.err conftest.$ac_ext
13195 # OK, works on sane cases. Now check whether nonexistent headers
13196 # can be detected and how.
13197 cat >conftest.$ac_ext <<_ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 #include <ac_nonexistent.h>
13205 if { (ac_try="$ac_cpp conftest.$ac_ext"
13206 case "(($ac_try" in
13207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 *) ac_try_echo=$ac_try;;
13210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13213 grep -v '^ *+' conftest.er1 >conftest.err
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } >/dev/null && {
13218 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13219 test ! -s conftest.err
13221 # Broken: success on invalid input.
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.$ac_ext >&5
13227 # Passes both tests.
13232 rm -f conftest.err conftest.$ac_ext
13235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13236 rm -f conftest.err conftest.$ac_ext
13237 if $ac_preproc_ok; then
13242 ac_cv_prog_CXXCPP=$CXXCPP
13245 CXXCPP=$ac_cv_prog_CXXCPP
13247 ac_cv_prog_CXXCPP=$CXXCPP
13249 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
13250 echo "${ECHO_T}$CXXCPP" >&6; }
13251 ac_preproc_ok=false
13252 for ac_cxx_preproc_warn_flag in '' yes
13254 # Use a header file that comes with gcc, so configuring glibc
13255 # with a fresh cross-compiler works.
13256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13257 # <limits.h> exists even on freestanding compilers.
13258 # On the NeXT, cc -E runs the code through the compiler's parser,
13259 # not just through cpp. "Syntax error" is here to catch this case.
13260 cat >conftest.$ac_ext <<_ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13267 # include <limits.h>
13269 # include <assert.h>
13273 if { (ac_try="$ac_cpp conftest.$ac_ext"
13274 case "(($ac_try" in
13275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13276 *) ac_try_echo=$ac_try;;
13278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13281 grep -v '^ *+' conftest.er1 >conftest.err
13283 cat conftest.err >&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } >/dev/null && {
13286 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13287 test ! -s conftest.err
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.$ac_ext >&5
13294 # Broken: fails on valid input.
13298 rm -f conftest.err conftest.$ac_ext
13300 # OK, works on sane cases. Now check whether nonexistent headers
13301 # can be detected and how.
13302 cat >conftest.$ac_ext <<_ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 #include <ac_nonexistent.h>
13310 if { (ac_try="$ac_cpp conftest.$ac_ext"
13311 case "(($ac_try" in
13312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13313 *) ac_try_echo=$ac_try;;
13315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13318 grep -v '^ *+' conftest.er1 >conftest.err
13320 cat conftest.err >&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); } >/dev/null && {
13323 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13324 test ! -s conftest.err
13326 # Broken: success on invalid input.
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.$ac_ext >&5
13332 # Passes both tests.
13337 rm -f conftest.err conftest.$ac_ext
13340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13341 rm -f conftest.err conftest.$ac_ext
13342 if $ac_preproc_ok; then
13345 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13346 See \`config.log' for more details." >&5
13347 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13348 See \`config.log' for more details." >&2;}
13349 { (exit 1); exit 1; }; }
13353 ac_cpp='$CXXCPP $CPPFLAGS'
13354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13361 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13362 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13363 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13364 if test -n "$ac_tool_prefix"; then
13365 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
13367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13371 if test "${ac_cv_prog_F77+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 if test -n "$F77"; then
13375 ac_cv_prog_F77="$F77" # Let the user override the test.
13377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13378 for as_dir in $PATH
13381 test -z "$as_dir" && as_dir=.
13382 for ac_exec_ext in '' $ac_executable_extensions; do
13383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13384 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13394 F77=$ac_cv_prog_F77
13395 if test -n "$F77"; then
13396 { echo "$as_me:$LINENO: result: $F77" >&5
13397 echo "${ECHO_T}$F77" >&6; }
13399 { echo "$as_me:$LINENO: result: no" >&5
13400 echo "${ECHO_T}no" >&6; }
13404 test -n "$F77" && break
13407 if test -z "$F77"; then
13409 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
13411 # Extract the first word of "$ac_prog", so it can be a program name with args.
13412 set dummy $ac_prog; ac_word=$2
13413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13415 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13416 echo $ECHO_N "(cached) $ECHO_C" >&6
13418 if test -n "$ac_ct_F77"; then
13419 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13422 for as_dir in $PATH
13425 test -z "$as_dir" && as_dir=.
13426 for ac_exec_ext in '' $ac_executable_extensions; do
13427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13428 ac_cv_prog_ac_ct_F77="$ac_prog"
13429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13438 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13439 if test -n "$ac_ct_F77"; then
13440 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13441 echo "${ECHO_T}$ac_ct_F77" >&6; }
13443 { echo "$as_me:$LINENO: result: no" >&5
13444 echo "${ECHO_T}no" >&6; }
13448 test -n "$ac_ct_F77" && break
13451 if test "x$ac_ct_F77" = x; then
13454 case $cross_compiling:$ac_tool_warned in
13456 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13457 whose name does not start with the host triplet. If you think this
13458 configuration is useful to you, please write to autoconf@gnu.org." >&5
13459 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13460 whose name does not start with the host triplet. If you think this
13461 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13462 ac_tool_warned=yes ;;
13469 # Provide some information about the compiler.
13470 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13471 ac_compiler=`set X $ac_compile; echo $2`
13472 { (ac_try="$ac_compiler --version >&5"
13473 case "(($ac_try" in
13474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13475 *) ac_try_echo=$ac_try;;
13477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13478 (eval "$ac_compiler --version >&5") 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }
13482 { (ac_try="$ac_compiler -v >&5"
13483 case "(($ac_try" in
13484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13485 *) ac_try_echo=$ac_try;;
13487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13488 (eval "$ac_compiler -v >&5") 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }
13492 { (ac_try="$ac_compiler -V >&5"
13493 case "(($ac_try" in
13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13495 *) ac_try_echo=$ac_try;;
13497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13498 (eval "$ac_compiler -V >&5") 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }
13504 # If we don't use `.F' as extension, the preprocessor is not run on the
13505 # input file. (Note that this only needs to work for GNU compilers.)
13506 ac_save_ext=$ac_ext
13508 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13509 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13510 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13511 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 cat >conftest.$ac_ext <<_ACEOF
13521 rm -f conftest.$ac_objext
13522 if { (ac_try="$ac_compile"
13523 case "(($ac_try" in
13524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13525 *) ac_try_echo=$ac_try;;
13527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13528 (eval "$ac_compile") 2>conftest.er1
13530 grep -v '^ *+' conftest.er1 >conftest.err
13532 cat conftest.err >&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); } && {
13535 test -z "$ac_f77_werror_flag" ||
13536 test ! -s conftest.err
13537 } && test -s conftest.$ac_objext; then
13538 ac_compiler_gnu=yes
13540 echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.$ac_ext >&5
13546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13547 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13550 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13551 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13552 ac_ext=$ac_save_ext
13553 ac_test_FFLAGS=${FFLAGS+set}
13554 ac_save_FFLAGS=$FFLAGS
13556 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13557 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13558 if test "${ac_cv_prog_f77_g+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 cat >conftest.$ac_ext <<_ACEOF
13567 rm -f conftest.$ac_objext
13568 if { (ac_try="$ac_compile"
13569 case "(($ac_try" in
13570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13571 *) ac_try_echo=$ac_try;;
13573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13574 (eval "$ac_compile") 2>conftest.er1
13576 grep -v '^ *+' conftest.er1 >conftest.err
13578 cat conftest.err >&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); } && {
13581 test -z "$ac_f77_werror_flag" ||
13582 test ! -s conftest.err
13583 } && test -s conftest.$ac_objext; then
13584 ac_cv_prog_f77_g=yes
13586 echo "$as_me: failed program was:" >&5
13587 sed 's/^/| /' conftest.$ac_ext >&5
13589 ac_cv_prog_f77_g=no
13592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13595 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13596 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13597 if test "$ac_test_FFLAGS" = set; then
13598 FFLAGS=$ac_save_FFLAGS
13599 elif test $ac_cv_prog_f77_g = yes; then
13600 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13606 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13613 G77=`test $ac_compiler_gnu = yes && echo yes`
13615 ac_cpp='$CPP $CPPFLAGS'
13616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13622 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13624 # find the maximum length of command line arguments
13625 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13626 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13627 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 # On DJGPP, this test can blow up pretty badly due to problems in libc
13636 # (any single argument exceeding 2000 bytes causes a buffer overrun
13637 # during glob expansion). Even if it were fixed, the result of this
13638 # check would be larger than it should be.
13639 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13643 # Under GNU Hurd, this test is not required because there is
13644 # no limit to the length of command line arguments.
13645 # Libtool will interpret -1 as no limit whatsoever
13646 lt_cv_sys_max_cmd_len=-1;
13650 # On Win9x/ME, this test blows up -- it succeeds, but takes
13651 # about 5 minutes as the teststring grows exponentially.
13652 # Worse, since 9x/ME are not pre-emptively multitasking,
13653 # you end up with a "frozen" computer, even though with patience
13654 # the test eventually succeeds (with a max line length of 256k).
13655 # Instead, let's just punt: use the minimum linelength reported by
13656 # all of the supported platforms: 8192 (on NT/2K/XP).
13657 lt_cv_sys_max_cmd_len=8192;
13661 # On AmigaOS with pdksh, this test takes hours, literally.
13662 # So we just punt and use a minimum line length of 8192.
13663 lt_cv_sys_max_cmd_len=8192;
13666 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13667 # This has been around since 386BSD, at least. Likely further.
13668 if test -x /sbin/sysctl; then
13669 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13670 elif test -x /usr/sbin/sysctl; then
13671 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13673 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13675 # And add a safety zone
13676 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13677 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13681 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13682 lt_cv_sys_max_cmd_len=196608
13686 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13687 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13688 # nice to cause kernel panics so lets avoid the loop below.
13689 # First set a reasonable default.
13690 lt_cv_sys_max_cmd_len=16384
13692 if test -x /sbin/sysconfig; then
13693 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13694 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13699 lt_cv_sys_max_cmd_len=102400
13701 sysv5* | sco5v6* | sysv4.2uw2*)
13702 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13703 if test -n "$kargmax"; then
13704 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13706 lt_cv_sys_max_cmd_len=32768
13710 # If test is not a shell built-in, we'll probably end up computing a
13711 # maximum length that is only half of the actual maximum length, but
13713 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13714 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13715 = "XX$teststring") >/dev/null 2>&1 &&
13716 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13717 lt_cv_sys_max_cmd_len=$new_result &&
13718 test $i != 17 # 1/2 MB should be enough
13721 teststring=$teststring$teststring
13724 # Add a significant safety factor because C++ compilers can tack on massive
13725 # amounts of additional arguments before passing them to the linker.
13726 # It appears as though 1/2 is a usable value.
13727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13733 if test -n $lt_cv_sys_max_cmd_len ; then
13734 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13735 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13737 { echo "$as_me:$LINENO: result: none" >&5
13738 echo "${ECHO_T}none" >&6; }
13744 # Check for command to grab the raw symbol name followed by C symbol from nm.
13745 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13746 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13747 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 # These are sane defaults that work on at least a few old systems.
13752 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13754 # Character class describing NM global symbol codes.
13755 symcode='[BCDEGRST]'
13757 # Regexp to match symbols that can be accessed directly from C.
13758 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13760 # Transform an extracted symbol line into a proper C declaration
13761 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13763 # Transform an extracted symbol line into symbol name and symbol address
13764 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'"
13766 # Define system-specific variables.
13771 cygwin* | mingw* | pw32*)
13772 symcode='[ABCDGISTW]'
13774 hpux*) # Its linker distinguishes data from code symbols
13775 if test "$host_cpu" = ia64; then
13776 symcode='[ABCDEGRST]'
13778 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13779 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'"
13782 if test "$host_cpu" = ia64; then
13783 symcode='[ABCDGIRSTW]'
13784 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13785 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'"
13788 irix* | nonstopux*)
13789 symcode='[BCDEGRST]'
13792 symcode='[BCDEGQRST]'
13803 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13811 # Handle CRLF in mingw tool chain
13815 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13819 # If we're using GNU nm, then use its standard symbol codes.
13820 case `$NM -V 2>&1` in
13821 *GNU* | *'with BFD'*)
13822 symcode='[ABCDGIRSTW]' ;;
13825 # Try without a prefix undercore, then with it.
13826 for ac_symprfx in "" "_"; do
13828 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13829 symxfrm="\\1 $ac_symprfx\\2 \\2"
13831 # Write the raw and C identifiers.
13832 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13834 # Check to see that the pipe works correctly.
13838 cat > conftest.$ac_ext <<EOF
13843 void nm_test_func(){}
13847 int main(){nm_test_var='a';nm_test_func();return(0);}
13850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13851 (eval $ac_compile) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; then
13855 # Now try to grab the symbols.
13857 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13858 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } && test -s "$nlist"; then
13862 # Try sorting and uniquifying the output.
13863 if sort "$nlist" | uniq > "$nlist"T; then
13864 mv -f "$nlist"T "$nlist"
13869 # Make sure that we snagged all the symbols we need.
13870 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13871 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13872 cat <<EOF > conftest.$ac_ext
13878 # Now generate the symbol file.
13879 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13881 cat <<EOF >> conftest.$ac_ext
13882 #if defined (__STDC__) && __STDC__
13883 # define lt_ptr_t void *
13885 # define lt_ptr_t char *
13889 /* The mapping between symbol names and symbols. */
13894 lt_preloaded_symbols[] =
13897 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13898 cat <<\EOF >> conftest.$ac_ext
13906 # Now try linking the two files.
13907 mv conftest.$ac_objext conftstm.$ac_objext
13908 lt_save_LIBS="$LIBS"
13909 lt_save_CFLAGS="$CFLAGS"
13910 LIBS="conftstm.$ac_objext"
13911 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13913 (eval $ac_link) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13919 LIBS="$lt_save_LIBS"
13920 CFLAGS="$lt_save_CFLAGS"
13922 echo "cannot find nm_test_func in $nlist" >&5
13925 echo "cannot find nm_test_var in $nlist" >&5
13928 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13931 echo "$progname: failed program was:" >&5
13932 cat conftest.$ac_ext >&5
13934 rm -f conftest* conftst*
13936 # Do not use the global_symbol_pipe unless it works.
13937 if test "$pipe_works" = yes; then
13940 lt_cv_sys_global_symbol_pipe=
13946 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13947 lt_cv_sys_global_symbol_to_cdecl=
13949 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13950 { echo "$as_me:$LINENO: result: failed" >&5
13951 echo "${ECHO_T}failed" >&6; }
13953 { echo "$as_me:$LINENO: result: ok" >&5
13954 echo "${ECHO_T}ok" >&6; }
13957 { echo "$as_me:$LINENO: checking for objdir" >&5
13958 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13959 if test "${lt_cv_objdir+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 rm -f .libs 2>/dev/null
13963 mkdir .libs 2>/dev/null
13964 if test -d .libs; then
13967 # MS-DOS does not allow filenames that begin with a dot.
13970 rmdir .libs 2>/dev/null
13972 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13973 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13974 objdir=$lt_cv_objdir
13982 # AIX sometimes has problems with the GCC collect2 program. For some
13983 # reason, if we set the COLLECT_NAMES environment variable, the problems
13984 # vanish in a puff of smoke.
13985 if test "X${COLLECT_NAMES+set}" != Xset; then
13987 export COLLECT_NAMES
13992 # Sed substitution that helps us do robust quoting. It backslashifies
13993 # metacharacters that are still active within double-quoted strings.
13994 Xsed='sed -e 1s/^X//'
13995 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13997 # Same as above, but do not quote variable references.
13998 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14000 # Sed substitution to delay expansion of an escaped shell variable in a
14001 # double_quote_subst'ed string.
14002 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14004 # Sed substitution to avoid accidental globbing in evaled expressions
14005 no_glob_subst='s/\*/\\\*/g'
14010 # Global variables:
14011 default_ofile=libtool
14012 can_build_shared=yes
14014 # All known linkers require a `.a' archive for static linking (except MSVC,
14015 # which needs '.lib').
14017 ltmain="$ac_aux_dir/ltmain.sh"
14018 ofile="$default_ofile"
14019 with_gnu_ld="$lt_cv_prog_gnu_ld"
14021 if test -n "$ac_tool_prefix"; then
14022 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14023 set dummy ${ac_tool_prefix}ar; ac_word=$2
14024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14026 if test "${ac_cv_prog_AR+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 if test -n "$AR"; then
14030 ac_cv_prog_AR="$AR" # Let the user override the test.
14032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033 for as_dir in $PATH
14036 test -z "$as_dir" && as_dir=.
14037 for ac_exec_ext in '' $ac_executable_extensions; do
14038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14039 ac_cv_prog_AR="${ac_tool_prefix}ar"
14040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 if test -n "$AR"; then
14051 { echo "$as_me:$LINENO: result: $AR" >&5
14052 echo "${ECHO_T}$AR" >&6; }
14054 { echo "$as_me:$LINENO: result: no" >&5
14055 echo "${ECHO_T}no" >&6; }
14060 if test -z "$ac_cv_prog_AR"; then
14062 # Extract the first word of "ar", so it can be a program name with args.
14063 set dummy ar; ac_word=$2
14064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14066 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14069 if test -n "$ac_ct_AR"; then
14070 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14073 for as_dir in $PATH
14076 test -z "$as_dir" && as_dir=.
14077 for ac_exec_ext in '' $ac_executable_extensions; do
14078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14079 ac_cv_prog_ac_ct_AR="ar"
14080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14089 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14090 if test -n "$ac_ct_AR"; then
14091 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14092 echo "${ECHO_T}$ac_ct_AR" >&6; }
14094 { echo "$as_me:$LINENO: result: no" >&5
14095 echo "${ECHO_T}no" >&6; }
14098 if test "x$ac_ct_AR" = x; then
14101 case $cross_compiling:$ac_tool_warned in
14103 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14104 whose name does not start with the host triplet. If you think this
14105 configuration is useful to you, please write to autoconf@gnu.org." >&5
14106 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14107 whose name does not start with the host triplet. If you think this
14108 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14109 ac_tool_warned=yes ;;
14114 AR="$ac_cv_prog_AR"
14117 if test -n "$ac_tool_prefix"; then
14118 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14122 if test "${ac_cv_prog_RANLIB+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 if test -n "$RANLIB"; then
14126 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14129 for as_dir in $PATH
14132 test -z "$as_dir" && as_dir=.
14133 for ac_exec_ext in '' $ac_executable_extensions; do
14134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14135 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14145 RANLIB=$ac_cv_prog_RANLIB
14146 if test -n "$RANLIB"; then
14147 { echo "$as_me:$LINENO: result: $RANLIB" >&5
14148 echo "${ECHO_T}$RANLIB" >&6; }
14150 { echo "$as_me:$LINENO: result: no" >&5
14151 echo "${ECHO_T}no" >&6; }
14156 if test -z "$ac_cv_prog_RANLIB"; then
14157 ac_ct_RANLIB=$RANLIB
14158 # Extract the first word of "ranlib", so it can be a program name with args.
14159 set dummy ranlib; ac_word=$2
14160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14162 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 if test -n "$ac_ct_RANLIB"; then
14166 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14169 for as_dir in $PATH
14172 test -z "$as_dir" && as_dir=.
14173 for ac_exec_ext in '' $ac_executable_extensions; do
14174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14175 ac_cv_prog_ac_ct_RANLIB="ranlib"
14176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14185 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14186 if test -n "$ac_ct_RANLIB"; then
14187 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14188 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14190 { echo "$as_me:$LINENO: result: no" >&5
14191 echo "${ECHO_T}no" >&6; }
14194 if test "x$ac_ct_RANLIB" = x; then
14197 case $cross_compiling:$ac_tool_warned in
14199 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14200 whose name does not start with the host triplet. If you think this
14201 configuration is useful to you, please write to autoconf@gnu.org." >&5
14202 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14203 whose name does not start with the host triplet. If you think this
14204 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14205 ac_tool_warned=yes ;;
14207 RANLIB=$ac_ct_RANLIB
14210 RANLIB="$ac_cv_prog_RANLIB"
14213 if test -n "$ac_tool_prefix"; then
14214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14215 set dummy ${ac_tool_prefix}strip; ac_word=$2
14216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14218 if test "${ac_cv_prog_STRIP+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 if test -n "$STRIP"; then
14222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14225 for as_dir in $PATH
14228 test -z "$as_dir" && as_dir=.
14229 for ac_exec_ext in '' $ac_executable_extensions; do
14230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14241 STRIP=$ac_cv_prog_STRIP
14242 if test -n "$STRIP"; then
14243 { echo "$as_me:$LINENO: result: $STRIP" >&5
14244 echo "${ECHO_T}$STRIP" >&6; }
14246 { echo "$as_me:$LINENO: result: no" >&5
14247 echo "${ECHO_T}no" >&6; }
14252 if test -z "$ac_cv_prog_STRIP"; then
14254 # Extract the first word of "strip", so it can be a program name with args.
14255 set dummy strip; ac_word=$2
14256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 if test -n "$ac_ct_STRIP"; then
14262 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14265 for as_dir in $PATH
14268 test -z "$as_dir" && as_dir=.
14269 for ac_exec_ext in '' $ac_executable_extensions; do
14270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14271 ac_cv_prog_ac_ct_STRIP="strip"
14272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14281 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14282 if test -n "$ac_ct_STRIP"; then
14283 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14284 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14286 { echo "$as_me:$LINENO: result: no" >&5
14287 echo "${ECHO_T}no" >&6; }
14290 if test "x$ac_ct_STRIP" = x; then
14293 case $cross_compiling:$ac_tool_warned in
14295 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14296 whose name does not start with the host triplet. If you think this
14297 configuration is useful to you, please write to autoconf@gnu.org." >&5
14298 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14299 whose name does not start with the host triplet. If you think this
14300 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14301 ac_tool_warned=yes ;;
14306 STRIP="$ac_cv_prog_STRIP"
14311 old_CFLAGS="$CFLAGS"
14313 # Set sane defaults for various variables
14314 test -z "$AR" && AR=ar
14315 test -z "$AR_FLAGS" && AR_FLAGS=cru
14316 test -z "$AS" && AS=as
14317 test -z "$CC" && CC=cc
14318 test -z "$LTCC" && LTCC=$CC
14319 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14320 test -z "$DLLTOOL" && DLLTOOL=dlltool
14321 test -z "$LD" && LD=ld
14322 test -z "$LN_S" && LN_S="ln -s"
14323 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14324 test -z "$NM" && NM=nm
14325 test -z "$SED" && SED=sed
14326 test -z "$OBJDUMP" && OBJDUMP=objdump
14327 test -z "$RANLIB" && RANLIB=:
14328 test -z "$STRIP" && STRIP=:
14329 test -z "$ac_objext" && ac_objext=o
14331 # Determine commands to create old-style static archives.
14332 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14333 old_postinstall_cmds='chmod 644 $oldlib'
14334 old_postuninstall_cmds=
14336 if test -n "$RANLIB"; then
14339 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14342 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14345 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14348 for cc_temp in $compiler""; do
14350 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14351 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14356 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14359 # Only perform the check for file, if the check method requires it
14360 case $deplibs_check_method in
14362 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14363 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14364 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14365 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14366 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14373 lt_save_MAGIC_CMD="$MAGIC_CMD"
14374 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14375 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14376 for ac_dir in $ac_dummy; do
14378 test -z "$ac_dir" && ac_dir=.
14379 if test -f $ac_dir/${ac_tool_prefix}file; then
14380 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14381 if test -n "$file_magic_test_file"; then
14382 case $deplibs_check_method in
14384 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14385 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14386 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14387 $EGREP "$file_magic_regex" > /dev/null; then
14392 *** Warning: the command libtool uses to detect shared libraries,
14393 *** $file_magic_cmd, produces output that libtool cannot recognize.
14394 *** The result is that libtool may fail to recognize shared libraries
14395 *** as such. This will affect the creation of libtool libraries that
14396 *** depend on shared libraries, but programs linked with such libtool
14397 *** libraries will work regardless of this problem. Nevertheless, you
14398 *** may want to report the problem to your system manager and/or to
14399 *** bug-libtool@gnu.org
14409 MAGIC_CMD="$lt_save_MAGIC_CMD"
14414 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14415 if test -n "$MAGIC_CMD"; then
14416 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14417 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14419 { echo "$as_me:$LINENO: result: no" >&5
14420 echo "${ECHO_T}no" >&6; }
14423 if test -z "$lt_cv_path_MAGIC_CMD"; then
14424 if test -n "$ac_tool_prefix"; then
14425 { echo "$as_me:$LINENO: checking for file" >&5
14426 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14435 lt_save_MAGIC_CMD="$MAGIC_CMD"
14436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14438 for ac_dir in $ac_dummy; do
14440 test -z "$ac_dir" && ac_dir=.
14441 if test -f $ac_dir/file; then
14442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14443 if test -n "$file_magic_test_file"; then
14444 case $deplibs_check_method in
14446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14449 $EGREP "$file_magic_regex" > /dev/null; then
14454 *** Warning: the command libtool uses to detect shared libraries,
14455 *** $file_magic_cmd, produces output that libtool cannot recognize.
14456 *** The result is that libtool may fail to recognize shared libraries
14457 *** as such. This will affect the creation of libtool libraries that
14458 *** depend on shared libraries, but programs linked with such libtool
14459 *** libraries will work regardless of this problem. Nevertheless, you
14460 *** may want to report the problem to your system manager and/or to
14461 *** bug-libtool@gnu.org
14471 MAGIC_CMD="$lt_save_MAGIC_CMD"
14476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14477 if test -n "$MAGIC_CMD"; then
14478 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14479 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14481 { echo "$as_me:$LINENO: result: no" >&5
14482 echo "${ECHO_T}no" >&6; }
14495 enable_win32_dll=no
14497 # Check whether --enable-libtool-lock was given.
14498 if test "${enable_libtool_lock+set}" = set; then
14499 enableval=$enable_libtool_lock;
14502 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14505 # Check whether --with-pic was given.
14506 if test "${with_pic+set}" = set; then
14507 withval=$with_pic; pic_mode="$withval"
14512 test -z "$pic_mode" && pic_mode=default
14514 # Use C for the default configuration in the libtool script
14518 ac_cpp='$CPP $CPPFLAGS'
14519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14524 # Source file extension for C test sources.
14527 # Object file extension for compiled C test sources.
14531 # Code to be used in simple compile tests
14532 lt_simple_compile_test_code="int some_variable = 0;\n"
14534 # Code to be used in simple link tests
14535 lt_simple_link_test_code='int main(){return(0);}\n'
14538 # If no C compiler was specified, use CC.
14541 # If no C compiler flags were specified, use CFLAGS.
14542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14544 # Allow CC to be a program name with arguments.
14548 # save warnings/boilerplate of simple test code
14549 ac_outfile=conftest.$ac_objext
14550 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14551 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14552 _lt_compiler_boilerplate=`cat conftest.err`
14555 ac_outfile=conftest.$ac_objext
14556 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14557 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14558 _lt_linker_boilerplate=`cat conftest.err`
14563 lt_prog_compiler_no_builtin_flag=
14565 if test "$GCC" = yes; then
14566 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14569 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14570 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14571 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 lt_cv_prog_compiler_rtti_exceptions=no
14575 ac_outfile=conftest.$ac_objext
14576 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14577 lt_compiler_flag="-fno-rtti -fno-exceptions"
14578 # Insert the option either (1) after the last *FLAGS variable, or
14579 # (2) before a word containing "conftest.", or (3) at the end.
14580 # Note that $ac_compile itself does not contain backslashes and begins
14581 # with a dollar sign (not a hyphen), so the echo should work correctly.
14582 # The option is referenced via a variable to avoid confusing sed.
14583 lt_compile=`echo "$ac_compile" | $SED \
14584 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14585 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14586 -e 's:$: $lt_compiler_flag:'`
14587 (eval echo "\"\$as_me:14587: $lt_compile\"" >&5)
14588 (eval "$lt_compile" 2>conftest.err)
14590 cat conftest.err >&5
14591 echo "$as_me:14591: \$? = $ac_status" >&5
14592 if (exit $ac_status) && test -s "$ac_outfile"; then
14593 # The compiler can only warn and ignore the option if not recognized
14594 # So say no if there are warnings other than the usual output.
14595 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14596 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14597 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14598 lt_cv_prog_compiler_rtti_exceptions=yes
14604 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14605 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14607 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14608 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14615 lt_prog_compiler_wl=
14616 lt_prog_compiler_pic=
14617 lt_prog_compiler_static=
14619 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14620 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14622 if test "$GCC" = yes; then
14623 lt_prog_compiler_wl='-Wl,'
14624 lt_prog_compiler_static='-static'
14628 # All AIX code is PIC.
14629 if test "$host_cpu" = ia64; then
14630 # AIX 5 now supports IA64 processor
14631 lt_prog_compiler_static='-Bstatic'
14636 # FIXME: we need at least 68020 code to build shared libraries, but
14637 # adding the `-m68020' flag to GCC prevents building anything better,
14639 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14642 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14643 # PIC is the default for these OSes.
14646 mingw* | pw32* | os2*)
14647 # This hack is so that the source file can tell whether it is being
14648 # built for inclusion in a dll (and should export symbols for example).
14649 lt_prog_compiler_pic='-DDLL_EXPORT'
14652 darwin* | rhapsody*)
14653 # PIC is the default on this platform
14654 # Common symbols not allowed in MH_DYLIB files
14655 lt_prog_compiler_pic='-fno-common'
14659 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14660 # Instead, we relocate shared libraries at runtime.
14664 # Just because we use GCC doesn't mean we suddenly get shared libraries
14665 # on systems that don't support them.
14666 lt_prog_compiler_can_build_shared=no
14671 if test -d /usr/nec; then
14672 lt_prog_compiler_pic=-Kconform_pic
14677 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14678 # not for PA HP-UX.
14684 lt_prog_compiler_pic='-fPIC'
14690 lt_prog_compiler_pic='-fPIC'
14694 # PORTME Check for flag to pass linker flags through the system compiler.
14697 lt_prog_compiler_wl='-Wl,'
14698 if test "$host_cpu" = ia64; then
14699 # AIX 5 now supports IA64 processor
14700 lt_prog_compiler_static='-Bstatic'
14702 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14706 # PIC is the default on this platform
14707 # Common symbols not allowed in MH_DYLIB files
14708 case $cc_basename in
14710 lt_prog_compiler_pic='-qnocommon'
14711 lt_prog_compiler_wl='-Wl,'
14716 mingw* | pw32* | os2*)
14717 # This hack is so that the source file can tell whether it is being
14718 # built for inclusion in a dll (and should export symbols for example).
14719 lt_prog_compiler_pic='-DDLL_EXPORT'
14722 hpux9* | hpux10* | hpux11*)
14723 lt_prog_compiler_wl='-Wl,'
14724 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14725 # not for PA HP-UX.
14731 lt_prog_compiler_pic='+Z'
14734 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14735 lt_prog_compiler_static='${wl}-a ${wl}archive'
14738 irix5* | irix6* | nonstopux*)
14739 lt_prog_compiler_wl='-Wl,'
14740 # PIC (with -KPIC) is the default.
14741 lt_prog_compiler_static='-non_shared'
14745 lt_prog_compiler_pic='-KPIC'
14746 lt_prog_compiler_static='-Bstatic'
14750 case $cc_basename in
14752 lt_prog_compiler_wl='-Wl,'
14753 lt_prog_compiler_pic='-KPIC'
14754 lt_prog_compiler_static='-static'
14756 pgcc* | pgf77* | pgf90* | pgf95*)
14757 # Portland Group compilers (*not* the Pentium gcc compiler,
14758 # which looks to be a dead project)
14759 lt_prog_compiler_wl='-Wl,'
14760 lt_prog_compiler_pic='-fpic'
14761 lt_prog_compiler_static='-Bstatic'
14764 lt_prog_compiler_wl='-Wl,'
14765 # All Alpha code is PIC.
14766 lt_prog_compiler_static='-non_shared'
14771 osf3* | osf4* | osf5*)
14772 lt_prog_compiler_wl='-Wl,'
14773 # All OSF/1 code is PIC.
14774 lt_prog_compiler_static='-non_shared'
14778 lt_prog_compiler_pic='-KPIC'
14779 lt_prog_compiler_static='-Bstatic'
14780 case $cc_basename in
14781 f77* | f90* | f95*)
14782 lt_prog_compiler_wl='-Qoption ld ';;
14784 lt_prog_compiler_wl='-Wl,';;
14789 lt_prog_compiler_wl='-Qoption ld '
14790 lt_prog_compiler_pic='-PIC'
14791 lt_prog_compiler_static='-Bstatic'
14794 sysv4 | sysv4.2uw2* | sysv4.3*)
14795 lt_prog_compiler_wl='-Wl,'
14796 lt_prog_compiler_pic='-KPIC'
14797 lt_prog_compiler_static='-Bstatic'
14801 if test -d /usr/nec ;then
14802 lt_prog_compiler_pic='-Kconform_pic'
14803 lt_prog_compiler_static='-Bstatic'
14807 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14808 lt_prog_compiler_wl='-Wl,'
14809 lt_prog_compiler_pic='-KPIC'
14810 lt_prog_compiler_static='-Bstatic'
14814 lt_prog_compiler_wl='-Wl,'
14815 lt_prog_compiler_can_build_shared=no
14819 lt_prog_compiler_pic='-pic'
14820 lt_prog_compiler_static='-Bstatic'
14824 lt_prog_compiler_can_build_shared=no
14829 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
14830 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14833 # Check to make sure the PIC flag actually works.
14835 if test -n "$lt_prog_compiler_pic"; then
14837 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14838 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
14839 if test "${lt_prog_compiler_pic_works+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 lt_prog_compiler_pic_works=no
14843 ac_outfile=conftest.$ac_objext
14844 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14845 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14846 # Insert the option either (1) after the last *FLAGS variable, or
14847 # (2) before a word containing "conftest.", or (3) at the end.
14848 # Note that $ac_compile itself does not contain backslashes and begins
14849 # with a dollar sign (not a hyphen), so the echo should work correctly.
14850 # The option is referenced via a variable to avoid confusing sed.
14851 lt_compile=`echo "$ac_compile" | $SED \
14852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14854 -e 's:$: $lt_compiler_flag:'`
14855 (eval echo "\"\$as_me:14855: $lt_compile\"" >&5)
14856 (eval "$lt_compile" 2>conftest.err)
14858 cat conftest.err >&5
14859 echo "$as_me:14859: \$? = $ac_status" >&5
14860 if (exit $ac_status) && test -s "$ac_outfile"; then
14861 # The compiler can only warn and ignore the option if not recognized
14862 # So say no if there are warnings other than the usual output.
14863 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14864 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14865 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14866 lt_prog_compiler_pic_works=yes
14872 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
14873 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14875 if test x"$lt_prog_compiler_pic_works" = xyes; then
14876 case $lt_prog_compiler_pic in
14878 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14881 lt_prog_compiler_pic=
14882 lt_prog_compiler_can_build_shared=no
14887 # For platforms which do not support PIC, -DPIC is meaningless:
14889 lt_prog_compiler_pic=
14892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14897 # Check to make sure the static flag actually works.
14899 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14900 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14901 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14902 if test "${lt_prog_compiler_static_works+set}" = set; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14905 lt_prog_compiler_static_works=no
14906 save_LDFLAGS="$LDFLAGS"
14907 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14908 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14909 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14910 # The linker can only warn and ignore the option if not recognized
14911 # So say no if there are warnings
14912 if test -s conftest.err; then
14913 # Append any errors to the config.log.
14914 cat conftest.err 1>&5
14915 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14917 if diff conftest.exp conftest.er2 >/dev/null; then
14918 lt_prog_compiler_static_works=yes
14921 lt_prog_compiler_static_works=yes
14925 LDFLAGS="$save_LDFLAGS"
14928 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
14929 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14931 if test x"$lt_prog_compiler_static_works" = xyes; then
14934 lt_prog_compiler_static=
14938 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14939 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14940 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 lt_cv_prog_compiler_c_o=no
14944 $rm -r conftest 2>/dev/null
14948 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14950 lt_compiler_flag="-o out/conftest2.$ac_objext"
14951 # Insert the option either (1) after the last *FLAGS variable, or
14952 # (2) before a word containing "conftest.", or (3) at the end.
14953 # Note that $ac_compile itself does not contain backslashes and begins
14954 # with a dollar sign (not a hyphen), so the echo should work correctly.
14955 lt_compile=`echo "$ac_compile" | $SED \
14956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14958 -e 's:$: $lt_compiler_flag:'`
14959 (eval echo "\"\$as_me:14959: $lt_compile\"" >&5)
14960 (eval "$lt_compile" 2>out/conftest.err)
14962 cat out/conftest.err >&5
14963 echo "$as_me:14963: \$? = $ac_status" >&5
14964 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14966 # The compiler can only warn and ignore the option if not recognized
14967 # So say no if there are warnings
14968 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14969 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14970 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14971 lt_cv_prog_compiler_c_o=yes
14976 # SGI C++ compiler will create directory out/ii_files/ for
14977 # template instantiation
14978 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14979 $rm out/* && rmdir out
14985 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
14986 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14989 hard_links="nottested"
14990 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14991 # do not overwrite the value of need_locks provided by the user
14992 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14993 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14996 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14998 ln conftest.a conftest.b 2>&5 || hard_links=no
14999 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15000 { echo "$as_me:$LINENO: result: $hard_links" >&5
15001 echo "${ECHO_T}$hard_links" >&6; }
15002 if test "$hard_links" = no; then
15003 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15004 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15011 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15012 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15015 allow_undefined_flag=
15016 enable_shared_with_static_runtimes=no
15018 archive_expsym_cmds=
15019 old_archive_From_new_cmds=
15020 old_archive_from_expsyms_cmds=
15021 export_dynamic_flag_spec=
15022 whole_archive_flag_spec=
15023 thread_safe_flag_spec=
15024 hardcode_libdir_flag_spec=
15025 hardcode_libdir_flag_spec_ld=
15026 hardcode_libdir_separator=
15028 hardcode_minus_L=no
15029 hardcode_shlibpath_var=unsupported
15030 link_all_deplibs=unknown
15031 hardcode_automatic=no
15033 module_expsym_cmds=
15034 always_export_symbols=no
15035 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15036 # include_expsyms should be a list of space-separated symbols to be *always*
15037 # included in the symbol list
15039 # exclude_expsyms can be an extended regexp of symbols to exclude
15040 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15041 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15042 # as well as any symbol that contains `d'.
15043 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15044 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15045 # platforms (ab)use it in PIC code, but their linkers get confused if
15046 # the symbol is explicitly referenced. Since portable code cannot
15047 # rely on this symbol name, it's probably fine to never include it in
15048 # preloaded symbol tables.
15049 extract_expsyms_cmds=
15050 # Just being paranoid about ensuring that cc_basename is set.
15051 for cc_temp in $compiler""; do
15053 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15054 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15059 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15062 cygwin* | mingw* | pw32*)
15063 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15064 # When not using gcc, we currently assume that we are using
15065 # Microsoft Visual C++.
15066 if test "$GCC" != yes; then
15071 # we just hope/assume this is gcc and not c89 (= MSVC++)
15080 if test "$with_gnu_ld" = yes; then
15081 # If archive_cmds runs LD, not CC, wlarc should be empty
15084 # Set some defaults for GNU ld with shared library support. These
15085 # are reset later if shared libraries are not supported. Putting them
15086 # here allows them to be overridden if necessary.
15087 runpath_var=LD_RUN_PATH
15088 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15089 export_dynamic_flag_spec='${wl}--export-dynamic'
15090 # ancient GNU ld didn't support --whole-archive et. al.
15091 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15092 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15094 whole_archive_flag_spec=
15096 supports_anon_versioning=no
15097 case `$LD -v 2>/dev/null` in
15098 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15099 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15100 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15101 *\ 2.11.*) ;; # other 2.11 versions
15102 *) supports_anon_versioning=yes ;;
15105 # See if GNU ld supports shared libraries.
15107 aix3* | aix4* | aix5*)
15108 # On AIX/PPC, the GNU linker is very broken
15109 if test "$host_cpu" != ia64; then
15113 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15114 *** to be unable to reliably create shared libraries on AIX.
15115 *** Therefore, libtool is disabling shared libraries support. If you
15116 *** really care for shared libraries, you may want to modify your PATH
15117 *** so that a non-GNU linker is found, and then restart.
15124 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)'
15125 hardcode_libdir_flag_spec='-L$libdir'
15126 hardcode_minus_L=yes
15128 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15129 # that the semantics of dynamic libraries on AmigaOS, at least up
15130 # to version 4, is to share data among multiple programs linked
15131 # with the same dynamic library. Since this doesn't match the
15132 # behavior of shared libraries on other platforms, we can't use
15138 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15139 allow_undefined_flag=unsupported
15140 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15141 # support --undefined. This deserves some investigation. FIXME
15142 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15148 cygwin* | mingw* | pw32*)
15149 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15150 # as there is no search path for DLLs.
15151 hardcode_libdir_flag_spec='-L$libdir'
15152 allow_undefined_flag=unsupported
15153 always_export_symbols=no
15154 enable_shared_with_static_runtimes=yes
15155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15157 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15158 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15159 # If the export-symbols file already is a .def file (1st line
15160 # is EXPORTS), use it as is; otherwise, prepend...
15161 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15162 cp $export_symbols $output_objdir/$soname.def;
15164 echo EXPORTS > $output_objdir/$soname.def;
15165 cat $export_symbols >> $output_objdir/$soname.def;
15167 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15175 hardcode_shlibpath_var=no
15176 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15177 export_dynamic_flag_spec='${wl}-E'
15178 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15179 # Instead, shared libraries are loaded at an image base (0x10000000 by
15180 # default) and relocated if they conflict, which is a slow very memory
15181 # consuming and fragmenting process. To avoid this, we pick a random,
15182 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15183 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15184 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15185 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'
15189 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15191 case $cc_basename,$host_cpu in
15192 pgcc*) # Portland Group C compiler
15193 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'
15194 tmp_addflag=' $pic_flag'
15196 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15197 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'
15198 tmp_addflag=' $pic_flag -Mnomain' ;;
15199 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15200 tmp_addflag=' -i_dynamic' ;;
15201 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15202 tmp_addflag=' -i_dynamic -nofor_main' ;;
15203 ifc* | ifort*) # Intel Fortran compiler
15204 tmp_addflag=' -nofor_main' ;;
15206 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15208 if test $supports_anon_versioning = yes; then
15209 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15210 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15211 $echo "local: *; };" >> $output_objdir/$libname.ver~
15212 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15220 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15221 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15225 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15230 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15234 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15235 *** create shared libraries on Solaris systems. Therefore, libtool
15236 *** is disabling shared libraries support. We urge you to upgrade GNU
15237 *** binutils to release 2.9.1 or newer. Another option is to modify
15238 *** your PATH or compiler configuration so that the native linker is
15239 *** used, and then restart.
15242 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15243 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15244 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15250 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15251 case `$LD -v 2>&1` in
15252 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15256 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15257 *** reliably create shared libraries on SCO systems. Therefore, libtool
15258 *** is disabling shared libraries support. We urge you to upgrade GNU
15259 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15260 *** your PATH or compiler configuration so that the native linker is
15261 *** used, and then restart.
15266 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15267 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15269 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15278 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15280 hardcode_direct=yes
15281 hardcode_shlibpath_var=no
15285 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15286 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15287 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15294 if test "$ld_shlibs" = no; then
15296 hardcode_libdir_flag_spec=
15297 export_dynamic_flag_spec=
15298 whole_archive_flag_spec=
15301 # PORTME fill in a description of your system's linker (not GNU ld)
15304 allow_undefined_flag=unsupported
15305 always_export_symbols=yes
15306 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'
15307 # Note: this linker hardcodes the directories in LIBPATH if there
15308 # are no directories specified by -L.
15309 hardcode_minus_L=yes
15310 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15311 # Neither direct hardcoding nor static linking is supported with a
15313 hardcode_direct=unsupported
15318 if test "$host_cpu" = ia64; then
15319 # On IA64, the linker does run time linking by default, so we don't
15320 # have to do anything special.
15321 aix_use_runtimelinking=no
15322 exp_sym_flag='-Bexport'
15325 # If we're using GNU nm, then we don't want the "-C" option.
15326 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15327 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15328 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'
15330 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'
15332 aix_use_runtimelinking=no
15334 # Test if we are trying to use run time linking or normal
15335 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15336 # need to do runtime linking.
15337 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15338 for ld_flag in $LDFLAGS; do
15339 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15340 aix_use_runtimelinking=yes
15347 exp_sym_flag='-bexport'
15348 no_entry_flag='-bnoentry'
15351 # When large executables or shared objects are built, AIX ld can
15352 # have problems creating the table of contents. If linking a library
15353 # or program results in "error TOC overflow" add -mminimal-toc to
15354 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15355 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15358 hardcode_direct=yes
15359 hardcode_libdir_separator=':'
15360 link_all_deplibs=yes
15362 if test "$GCC" = yes; then
15363 case $host_os in aix4.[012]|aix4.[012].*)
15364 # We only want to do this on AIX 4.2 and lower, the check
15365 # below for broken collect2 doesn't work under 4.3+
15366 collect2name=`${CC} -print-prog-name=collect2`
15367 if test -f "$collect2name" && \
15368 strings "$collect2name" | grep resolve_lib_name >/dev/null
15370 # We have reworked collect2
15371 hardcode_direct=yes
15373 # We have old collect2
15374 hardcode_direct=unsupported
15375 # It fails to find uninstalled libraries when the uninstalled
15376 # path is not listed in the libpath. Setting hardcode_minus_L
15377 # to unsupported forces relinking
15378 hardcode_minus_L=yes
15379 hardcode_libdir_flag_spec='-L$libdir'
15380 hardcode_libdir_separator=
15384 shared_flag='-shared'
15385 if test "$aix_use_runtimelinking" = yes; then
15386 shared_flag="$shared_flag "'${wl}-G'
15390 if test "$host_cpu" = ia64; then
15391 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15392 # chokes on -Wl,-G. The following line is correct:
15395 if test "$aix_use_runtimelinking" = yes; then
15396 shared_flag='${wl}-G'
15398 shared_flag='${wl}-bM:SRE'
15403 # It seems that -bexpall does not export symbols beginning with
15404 # underscore (_), so it is better to generate a list of symbols to export.
15405 always_export_symbols=yes
15406 if test "$aix_use_runtimelinking" = yes; then
15407 # Warning - without using the other runtime loading flags (-brtl),
15408 # -berok will link without error, but may produce a broken library.
15409 allow_undefined_flag='-berok'
15410 # Determine the default libpath from the value encoded in an empty executable.
15411 cat >conftest.$ac_ext <<_ACEOF
15414 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (ac_try="$ac_link"
15428 case "(($ac_try" in
15429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_link") 2>conftest.er1
15435 grep -v '^ *+' conftest.er1 >conftest.err
15437 cat conftest.err >&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } && {
15440 test -z "$ac_c_werror_flag" ||
15441 test ! -s conftest.err
15442 } && test -s conftest$ac_exeext &&
15443 $as_test_x conftest$ac_exeext; then
15445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15447 # Check for a 64-bit object if we didn't find anything.
15448 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; }
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15458 conftest$ac_exeext conftest.$ac_ext
15459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15461 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15462 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"
15464 if test "$host_cpu" = ia64; then
15465 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15466 allow_undefined_flag="-z nodefs"
15467 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"
15469 # Determine the default libpath from the value encoded in an empty executable.
15470 cat >conftest.$ac_ext <<_ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15485 rm -f conftest.$ac_objext conftest$ac_exeext
15486 if { (ac_try="$ac_link"
15487 case "(($ac_try" in
15488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15489 *) ac_try_echo=$ac_try;;
15491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15492 (eval "$ac_link") 2>conftest.er1
15494 grep -v '^ *+' conftest.er1 >conftest.err
15496 cat conftest.err >&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } && {
15499 test -z "$ac_c_werror_flag" ||
15500 test ! -s conftest.err
15501 } && test -s conftest$ac_exeext &&
15502 $as_test_x conftest$ac_exeext; then
15504 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15506 # Check for a 64-bit object if we didn't find anything.
15507 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; }
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15517 conftest$ac_exeext conftest.$ac_ext
15518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15520 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15521 # Warning - without using the other run time loading flags,
15522 # -berok will link without error, but may produce a broken library.
15523 no_undefined_flag=' ${wl}-bernotok'
15524 allow_undefined_flag=' ${wl}-berok'
15525 # Exported symbols can be pulled into shared objects from archives
15526 whole_archive_flag_spec='$convenience'
15527 archive_cmds_need_lc=yes
15528 # This is similar to how AIX traditionally builds its shared libraries.
15529 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'
15535 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)'
15536 hardcode_libdir_flag_spec='-L$libdir'
15537 hardcode_minus_L=yes
15538 # see comment about different semantics on the GNU ld section
15543 export_dynamic_flag_spec=-rdynamic
15546 cygwin* | mingw* | pw32*)
15547 # When not using gcc, we currently assume that we are using
15548 # Microsoft Visual C++.
15549 # hardcode_libdir_flag_spec is actually meaningless, as there is
15550 # no search path for DLLs.
15551 hardcode_libdir_flag_spec=' '
15552 allow_undefined_flag=unsupported
15553 # Tell ltmain to make .lib files, not .a files.
15555 # Tell ltmain to make .dll files, not .so files.
15557 # FIXME: Setting linknames here is a bad hack.
15558 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15559 # The linker will automatically build a .lib file if we build a DLL.
15560 old_archive_From_new_cmds='true'
15561 # FIXME: Should let the user specify the lib program.
15562 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15563 fix_srcfile_path='`cygpath -w "$srcfile"`'
15564 enable_shared_with_static_runtimes=yes
15567 darwin* | rhapsody*)
15569 rhapsody* | darwin1.[012])
15570 allow_undefined_flag='${wl}-undefined ${wl}suppress'
15573 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15574 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15576 case ${MACOSX_DEPLOYMENT_TARGET} in
15578 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15581 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15587 archive_cmds_need_lc=no
15589 hardcode_automatic=yes
15590 hardcode_shlibpath_var=unsupported
15591 whole_archive_flag_spec=''
15592 link_all_deplibs=yes
15593 if test "$GCC" = yes ; then
15594 output_verbose_link_cmd='echo'
15595 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15596 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15597 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15598 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}'
15599 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}'
15601 case $cc_basename in
15603 output_verbose_link_cmd='echo'
15604 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15605 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15606 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15607 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}'
15608 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}'
15618 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15619 hardcode_libdir_flag_spec='-L$libdir'
15620 hardcode_shlibpath_var=no
15627 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15628 # support. Future versions do this automatically, but an explicit c++rt0.o
15629 # does not break anything, and helps significantly (at the cost of a little
15632 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15633 hardcode_libdir_flag_spec='-R$libdir'
15634 hardcode_direct=yes
15635 hardcode_shlibpath_var=no
15638 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15640 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15641 hardcode_direct=yes
15642 hardcode_minus_L=yes
15643 hardcode_shlibpath_var=no
15646 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15647 freebsd* | kfreebsd*-gnu | dragonfly*)
15648 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15649 hardcode_libdir_flag_spec='-R$libdir'
15650 hardcode_direct=yes
15651 hardcode_shlibpath_var=no
15655 if test "$GCC" = yes; then
15656 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'
15658 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'
15660 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15661 hardcode_libdir_separator=:
15662 hardcode_direct=yes
15664 # hardcode_minus_L: Not really in the search PATH,
15665 # but as the default location of the library.
15666 hardcode_minus_L=yes
15667 export_dynamic_flag_spec='${wl}-E'
15671 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15672 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15674 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15676 if test "$with_gnu_ld" = no; then
15677 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15678 hardcode_libdir_separator=:
15680 hardcode_direct=yes
15681 export_dynamic_flag_spec='${wl}-E'
15683 # hardcode_minus_L: Not really in the search PATH,
15684 # but as the default location of the library.
15685 hardcode_minus_L=yes
15690 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15693 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15696 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15699 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15705 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15708 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15711 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15715 if test "$with_gnu_ld" = no; then
15716 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15717 hardcode_libdir_separator=:
15721 hardcode_libdir_flag_spec_ld='+b $libdir'
15723 hardcode_shlibpath_var=no
15726 hardcode_direct=yes
15727 export_dynamic_flag_spec='${wl}-E'
15729 # hardcode_minus_L: Not really in the search PATH,
15730 # but as the default location of the library.
15731 hardcode_minus_L=yes
15737 irix5* | irix6* | nonstopux*)
15738 if test "$GCC" = yes; then
15739 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'
15741 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'
15742 hardcode_libdir_flag_spec_ld='-rpath $libdir'
15744 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15745 hardcode_libdir_separator=:
15746 link_all_deplibs=yes
15750 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15751 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15753 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15755 hardcode_libdir_flag_spec='-R$libdir'
15756 hardcode_direct=yes
15757 hardcode_shlibpath_var=no
15761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15762 hardcode_direct=yes
15763 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15764 hardcode_libdir_separator=:
15765 hardcode_shlibpath_var=no
15769 hardcode_direct=yes
15770 hardcode_shlibpath_var=no
15771 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15772 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15773 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15774 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15775 export_dynamic_flag_spec='${wl}-E'
15778 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15779 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15780 hardcode_libdir_flag_spec='-R$libdir'
15783 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15784 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15791 hardcode_libdir_flag_spec='-L$libdir'
15792 hardcode_minus_L=yes
15793 allow_undefined_flag=unsupported
15794 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'
15795 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15799 if test "$GCC" = yes; then
15800 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15801 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'
15803 allow_undefined_flag=' -expect_unresolved \*'
15804 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'
15806 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15807 hardcode_libdir_separator=:
15810 osf4* | osf5*) # as osf3* with the addition of -msym flag
15811 if test "$GCC" = yes; then
15812 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15813 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'
15814 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15816 allow_undefined_flag=' -expect_unresolved \*'
15817 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'
15818 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15819 $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'
15821 # Both c and cxx compiler support -rpath directly
15822 hardcode_libdir_flag_spec='-rpath $libdir'
15824 hardcode_libdir_separator=:
15828 no_undefined_flag=' -z text'
15829 if test "$GCC" = yes; then
15831 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15832 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15833 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15836 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15837 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15838 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15840 hardcode_libdir_flag_spec='-R$libdir'
15841 hardcode_shlibpath_var=no
15843 solaris2.[0-5] | solaris2.[0-5].*) ;;
15845 # The compiler driver will combine linker options so we
15846 # cannot just pass the convience library names through
15847 # without $wl, iff we do not link with $LD.
15848 # Luckily, gcc supports the same syntax we need for Sun Studio.
15849 # Supported since Solaris 2.6 (maybe 2.5.1?)
15852 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
15854 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' ;;
15857 link_all_deplibs=yes
15861 if test "x$host_vendor" = xsequent; then
15862 # Use $CC to link under sequent, because it throws in some extra .o
15863 # files that make .init and .fini sections work.
15864 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15866 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15868 hardcode_libdir_flag_spec='-L$libdir'
15869 hardcode_direct=yes
15870 hardcode_minus_L=yes
15871 hardcode_shlibpath_var=no
15875 case $host_vendor in
15877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15878 hardcode_direct=yes # is this really true???
15881 ## LD is ld it makes a PLAMLIB
15882 ## CC just makes a GrossModule.
15883 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15884 reload_cmds='$CC -r -o $output$reload_objs'
15888 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15889 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15892 runpath_var='LD_RUN_PATH'
15893 hardcode_shlibpath_var=no
15897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15898 hardcode_shlibpath_var=no
15899 export_dynamic_flag_spec='-Bexport'
15903 if test -d /usr/nec; then
15904 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15905 hardcode_shlibpath_var=no
15906 runpath_var=LD_RUN_PATH
15907 hardcode_runpath_var=yes
15912 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15913 no_undefined_flag='${wl}-z,text'
15914 archive_cmds_need_lc=no
15915 hardcode_shlibpath_var=no
15916 runpath_var='LD_RUN_PATH'
15918 if test "$GCC" = yes; then
15919 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15920 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15922 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15923 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15927 sysv5* | sco3.2v5* | sco5v6*)
15928 # Note: We can NOT use -z defs as we might desire, because we do not
15929 # link with -lc, and that would cause any symbols used from libc to
15930 # always be unresolved, which means just about no library would
15931 # ever link correctly. If we're not using GNU ld we use -z text
15932 # though, which does catch some bad symbols but isn't as heavy-handed
15934 no_undefined_flag='${wl}-z,text'
15935 allow_undefined_flag='${wl}-z,nodefs'
15936 archive_cmds_need_lc=no
15937 hardcode_shlibpath_var=no
15938 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15939 hardcode_libdir_separator=':'
15940 link_all_deplibs=yes
15941 export_dynamic_flag_spec='${wl}-Bexport'
15942 runpath_var='LD_RUN_PATH'
15944 if test "$GCC" = yes; then
15945 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15946 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15948 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15949 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15954 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15955 hardcode_libdir_flag_spec='-L$libdir'
15956 hardcode_shlibpath_var=no
15965 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15966 echo "${ECHO_T}$ld_shlibs" >&6; }
15967 test "$ld_shlibs" = no && can_build_shared=no
15970 # Do we need to explicitly link libc?
15972 case "x$archive_cmds_need_lc" in
15974 # Assume -lc should be added
15975 archive_cmds_need_lc=yes
15977 if test "$enable_shared" = yes && test "$GCC" = yes; then
15978 case $archive_cmds in
15980 # FIXME: we may have to deal with multi-command sequences.
15983 # Test whether the compiler implicitly links with -lc since on some
15984 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15985 # to ld, don't add -lc before -lgcc.
15986 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15987 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15989 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15992 (eval $ac_compile) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); } 2>conftest.err; then
15998 libobjs=conftest.$ac_objext
16000 wl=$lt_prog_compiler_wl
16001 pic_flag=$lt_prog_compiler_pic
16007 lt_save_allow_undefined_flag=$allow_undefined_flag
16008 allow_undefined_flag=
16009 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16010 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }
16015 archive_cmds_need_lc=no
16017 archive_cmds_need_lc=yes
16019 allow_undefined_flag=$lt_save_allow_undefined_flag
16021 cat conftest.err 1>&5
16024 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16025 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16032 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16033 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16034 library_names_spec=
16035 libname_spec='lib$name'
16039 postuninstall_cmds=
16043 shlibpath_overrides_runpath=unknown
16045 dynamic_linker="$host_os ld.so"
16046 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16047 if test "$GCC" = yes; then
16048 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16049 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16050 # if the path contains ";" then we assume it to be the separator
16051 # otherwise default to the standard path separator (i.e. ":") - it is
16052 # assumed that no part of a normal pathname contains ";" but that should
16053 # okay in the real world where ";" in dirpaths is itself problematic.
16054 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16056 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16059 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16061 need_lib_prefix=unknown
16062 hardcode_into_libs=no
16064 # when you set need_version to no, make sure it does not cause -set_version
16065 # flags to be left without arguments
16066 need_version=unknown
16071 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16072 shlibpath_var=LIBPATH
16074 # AIX 3 has no versioning support, so we append a major version to the name.
16075 soname_spec='${libname}${release}${shared_ext}$major'
16082 hardcode_into_libs=yes
16083 if test "$host_cpu" = ia64; then
16084 # AIX 5 supports IA64
16085 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16086 shlibpath_var=LD_LIBRARY_PATH
16088 # With GCC up to 2.95.x, collect2 would create an import file
16089 # for dependence libraries. The import file would start with
16090 # the line `#! .'. This would cause the generated library to
16091 # depend on `.', always an invalid library. This was fixed in
16092 # development snapshots of GCC prior to 3.0.
16094 aix4 | aix4.[01] | aix4.[01].*)
16095 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16097 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16100 can_build_shared=no
16104 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16105 # soname into executable. Probably we can add versioning support to
16106 # collect2, so additional links can be useful in future.
16107 if test "$aix_use_runtimelinking" = yes; then
16108 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16109 # instead of lib<name>.a to let people know that these are not
16110 # typical AIX shared libraries.
16111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16113 # We preserve .a as extension for shared libraries through AIX4.2
16114 # and later when we are not doing run time linking.
16115 library_names_spec='${libname}${release}.a $libname.a'
16116 soname_spec='${libname}${release}${shared_ext}$major'
16118 shlibpath_var=LIBPATH
16123 library_names_spec='$libname.ixlibrary $libname.a'
16124 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16125 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'
16129 library_names_spec='${libname}${shared_ext}'
16130 dynamic_linker="$host_os ld.so"
16131 shlibpath_var=LIBRARY_PATH
16137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16138 soname_spec='${libname}${release}${shared_ext}$major'
16139 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16140 shlibpath_var=LD_LIBRARY_PATH
16141 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16142 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16143 # the default ld.so.conf also contains /usr/contrib/lib and
16144 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16145 # libtool to hard-code these into programs
16148 cygwin* | mingw* | pw32*)
16149 version_type=windows
16154 case $GCC,$host_os in
16155 yes,cygwin* | yes,mingw* | yes,pw32*)
16156 library_names_spec='$libname.dll.a'
16157 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16158 postinstall_cmds='base_file=`basename \${file}`~
16159 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16160 dldir=$destdir/`dirname \$dlpath`~
16161 test -d \$dldir || mkdir -p \$dldir~
16162 $install_prog $dir/$dlname \$dldir/$dlname~
16163 chmod a+x \$dldir/$dlname'
16164 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16165 dlpath=$dir/\$dldll~
16167 shlibpath_overrides_runpath=yes
16171 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16172 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16173 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16176 # MinGW DLLs use traditional 'lib' prefix
16177 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16178 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16179 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16180 # It is most probably a Windows format PATH printed by
16181 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16182 # path with ; separators, and with drive letters. We can handle the
16183 # drive letters (cygwin fileutils understands them), so leave them,
16184 # especially as we might pass files found there to a mingw objdump,
16185 # which wouldn't understand a cygwinified path. Ahh.
16186 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16188 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16192 # pw32 DLLs use 'pw' prefix rather than 'lib'
16193 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16199 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16202 dynamic_linker='Win32 ld.exe'
16203 # FIXME: first we should search . and the directory the executable is in
16207 darwin* | rhapsody*)
16208 dynamic_linker="$host_os dyld"
16209 version_type=darwin
16212 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16213 soname_spec='${libname}${release}${major}$shared_ext'
16214 shlibpath_overrides_runpath=yes
16215 shlibpath_var=DYLD_LIBRARY_PATH
16216 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16217 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16218 if test "$GCC" = yes; then
16219 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"`
16221 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16223 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16231 soname_spec='${libname}${release}${shared_ext}$major'
16232 shlibpath_var=LD_LIBRARY_PATH
16243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16244 soname_spec='${libname}${release}${shared_ext}$major'
16245 shlibpath_var=LD_LIBRARY_PATH
16246 shlibpath_overrides_runpath=no
16247 hardcode_into_libs=yes
16248 dynamic_linker='GNU ld.so'
16251 freebsd* | dragonfly*)
16252 # DragonFly does not have aout. When/if they implement a new
16253 # versioning mechanism, adjust this.
16254 if test -x /usr/bin/objformat; then
16255 objformat=`/usr/bin/objformat`
16258 freebsd[123]*) objformat=aout ;;
16259 *) objformat=elf ;;
16262 version_type=freebsd-$objformat
16263 case $version_type in
16265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16270 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16274 shlibpath_var=LD_LIBRARY_PATH
16277 shlibpath_overrides_runpath=yes
16279 freebsd3.[01]* | freebsdelf3.[01]*)
16280 shlibpath_overrides_runpath=yes
16281 hardcode_into_libs=yes
16283 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16284 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16285 shlibpath_overrides_runpath=no
16286 hardcode_into_libs=yes
16288 freebsd*) # from 4.6 on
16289 shlibpath_overrides_runpath=yes
16290 hardcode_into_libs=yes
16299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16300 soname_spec='${libname}${release}${shared_ext}$major'
16301 shlibpath_var=LD_LIBRARY_PATH
16302 hardcode_into_libs=yes
16305 hpux9* | hpux10* | hpux11*)
16306 # Give a soname corresponding to the major version so that dld.sl refuses to
16307 # link against other versions.
16314 hardcode_into_libs=yes
16315 dynamic_linker="$host_os dld.so"
16316 shlibpath_var=LD_LIBRARY_PATH
16317 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16319 soname_spec='${libname}${release}${shared_ext}$major'
16320 if test "X$HPUX_IA64_MODE" = X32; then
16321 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16323 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16329 hardcode_into_libs=yes
16330 dynamic_linker="$host_os dld.sl"
16331 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16334 soname_spec='${libname}${release}${shared_ext}$major'
16335 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16336 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16340 dynamic_linker="$host_os dld.sl"
16341 shlibpath_var=SHLIB_PATH
16342 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16344 soname_spec='${libname}${release}${shared_ext}$major'
16347 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16348 postinstall_cmds='chmod 555 $lib'
16355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16356 soname_spec='${libname}${release}${shared_ext}$major'
16357 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16358 shlibpath_var=LD_LIBRARY_PATH
16359 shlibpath_overrides_runpath=no
16360 hardcode_into_libs=yes
16363 irix5* | irix6* | nonstopux*)
16365 nonstopux*) version_type=nonstopux ;;
16367 if test "$lt_cv_prog_gnu_ld" = yes; then
16375 soname_spec='${libname}${release}${shared_ext}$major'
16376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16378 irix5* | nonstopux*)
16379 libsuff= shlibsuff=
16382 case $LD in # libtool.m4 will add one of these switches to LD
16383 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16384 libsuff= shlibsuff= libmagic=32-bit;;
16385 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16386 libsuff=32 shlibsuff=N32 libmagic=N32;;
16387 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16388 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16389 *) libsuff= shlibsuff= libmagic=never-match;;
16393 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16394 shlibpath_overrides_runpath=no
16395 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16396 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16397 hardcode_into_libs=yes
16400 # No shared lib support for Linux oldld, aout, or coff.
16401 linux*oldld* | linux*aout* | linux*coff*)
16405 # This must be Linux ELF.
16410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16411 soname_spec='${libname}${release}${shared_ext}$major'
16412 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16413 shlibpath_var=LD_LIBRARY_PATH
16414 shlibpath_overrides_runpath=no
16415 # This implies no fast_install, which is unacceptable.
16416 # Some rework will be needed to allow for fast_install
16417 # before this can be enabled.
16418 hardcode_into_libs=yes
16420 # find out which ABI we are using
16422 case "$host_cpu" in
16423 x86_64*|s390x*|powerpc64*)
16424 echo '#line 16424 "configure"' > conftest.$ac_ext
16425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16426 (eval $ac_compile) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; then
16430 case `/usr/bin/file conftest.$ac_objext` in
16433 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16441 # Append ld.so.conf contents to the search path
16442 if test -f /etc/ld.so.conf; then
16443 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' ' '`
16444 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16447 # We used to test for /lib/ld.so.1 and disable shared libraries on
16448 # powerpc, because MkLinux only supported shared libraries with the
16449 # GNU dynamic linker. Since this was broken with cross compilers,
16450 # most powerpc-linux boxes support dynamic linking these days and
16451 # people can always --disable-shared, the test was removed, and we
16452 # assume the GNU/Linux dynamic linker is in use.
16453 dynamic_linker='GNU/Linux ld.so'
16460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16461 soname_spec='${libname}${release}${shared_ext}$major'
16462 shlibpath_var=LD_LIBRARY_PATH
16463 shlibpath_overrides_runpath=no
16464 hardcode_into_libs=yes
16465 dynamic_linker='GNU ld.so'
16472 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16475 dynamic_linker='NetBSD (a.out) ld.so'
16477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16478 soname_spec='${libname}${release}${shared_ext}$major'
16479 dynamic_linker='NetBSD ld.elf_so'
16481 shlibpath_var=LD_LIBRARY_PATH
16482 shlibpath_overrides_runpath=yes
16483 hardcode_into_libs=yes
16488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16489 shlibpath_var=LD_LIBRARY_PATH
16490 shlibpath_overrides_runpath=yes
16497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16498 soname_spec='${libname}${release}${shared_ext}$major'
16499 shlibpath_var=LD_LIBRARY_PATH
16500 shlibpath_overrides_runpath=yes
16505 sys_lib_dlsearch_path_spec="/usr/lib"
16507 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16509 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16510 *) need_version=no ;;
16512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16513 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16514 shlibpath_var=LD_LIBRARY_PATH
16515 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16517 openbsd2.[89] | openbsd2.[89].*)
16518 shlibpath_overrides_runpath=no
16521 shlibpath_overrides_runpath=yes
16525 shlibpath_overrides_runpath=yes
16530 libname_spec='$name'
16533 library_names_spec='$libname${shared_ext} $libname.a'
16534 dynamic_linker='OS/2 ld.exe'
16535 shlibpath_var=LIBPATH
16538 osf3* | osf4* | osf5*)
16542 soname_spec='${libname}${release}${shared_ext}$major'
16543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16544 shlibpath_var=LD_LIBRARY_PATH
16545 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16546 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16554 soname_spec='${libname}${release}${shared_ext}$major'
16555 shlibpath_var=LD_LIBRARY_PATH
16556 shlibpath_overrides_runpath=yes
16557 hardcode_into_libs=yes
16558 # ldd complains unless libraries are executable
16559 postinstall_cmds='chmod +x $lib'
16564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16565 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16566 shlibpath_var=LD_LIBRARY_PATH
16567 shlibpath_overrides_runpath=yes
16568 if test "$with_gnu_ld" = yes; then
16576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16577 soname_spec='${libname}${release}${shared_ext}$major'
16578 shlibpath_var=LD_LIBRARY_PATH
16579 case $host_vendor in
16581 shlibpath_overrides_runpath=no
16583 export_dynamic_flag_spec='${wl}-Blargedynsym'
16584 runpath_var=LD_RUN_PATH
16592 shlibpath_overrides_runpath=no
16593 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16599 if test -d /usr/nec ;then
16601 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16602 soname_spec='$libname${shared_ext}.$major'
16603 shlibpath_var=LD_LIBRARY_PATH
16607 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16608 version_type=freebsd-elf
16611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16612 soname_spec='${libname}${release}${shared_ext}$major'
16613 shlibpath_var=LD_LIBRARY_PATH
16614 hardcode_into_libs=yes
16615 if test "$with_gnu_ld" = yes; then
16616 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16617 shlibpath_overrides_runpath=no
16619 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16620 shlibpath_overrides_runpath=yes
16623 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16627 sys_lib_dlsearch_path_spec='/usr/lib'
16632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16633 soname_spec='${libname}${release}${shared_ext}$major'
16634 shlibpath_var=LD_LIBRARY_PATH
16641 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16642 echo "${ECHO_T}$dynamic_linker" >&6; }
16643 test "$dynamic_linker" = no && can_build_shared=no
16645 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16646 if test "$GCC" = yes; then
16647 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16650 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16651 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16653 if test -n "$hardcode_libdir_flag_spec" || \
16654 test -n "$runpath_var" || \
16655 test "X$hardcode_automatic" = "Xyes" ; then
16657 # We can hardcode non-existant directories.
16658 if test "$hardcode_direct" != no &&
16659 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16660 # have to relink, otherwise we might link with an installed library
16661 # when we should be linking with a yet-to-be-installed one
16662 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16663 test "$hardcode_minus_L" != no; then
16664 # Linking always hardcodes the temporary library directory.
16665 hardcode_action=relink
16667 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16668 hardcode_action=immediate
16671 # We cannot hardcode anything, or else we can only hardcode existing
16673 hardcode_action=unsupported
16675 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16676 echo "${ECHO_T}$hardcode_action" >&6; }
16678 if test "$hardcode_action" = relink; then
16679 # Fast installation is not supported
16680 enable_fast_install=no
16681 elif test "$shlibpath_overrides_runpath" = yes ||
16682 test "$enable_shared" = no; then
16683 # Fast installation is not necessary
16684 enable_fast_install=needless
16689 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16690 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16691 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16692 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16693 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16694 { echo "$as_me:$LINENO: result: yes" >&5
16695 echo "${ECHO_T}yes" >&6; }
16697 # FIXME - insert some real tests, host_os isn't really good enough
16700 if test -n "$STRIP" ; then
16701 striplib="$STRIP -x"
16702 { echo "$as_me:$LINENO: result: yes" >&5
16703 echo "${ECHO_T}yes" >&6; }
16705 { echo "$as_me:$LINENO: result: no" >&5
16706 echo "${ECHO_T}no" >&6; }
16710 { echo "$as_me:$LINENO: result: no" >&5
16711 echo "${ECHO_T}no" >&6; }
16716 if test "x$enable_dlopen" != xyes; then
16717 enable_dlopen=unknown
16718 enable_dlopen_self=unknown
16719 enable_dlopen_self_static=unknown
16726 lt_cv_dlopen="load_add_on"
16728 lt_cv_dlopen_self=yes
16732 lt_cv_dlopen="LoadLibrary"
16737 lt_cv_dlopen="dlopen"
16742 # if libdl is installed we need to link against it
16743 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16744 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16745 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 ac_check_lib_save_LIBS=$LIBS
16750 cat >conftest.$ac_ext <<_ACEOF
16753 cat confdefs.h >>conftest.$ac_ext
16754 cat >>conftest.$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16757 /* Override any GCC internal prototype to avoid an error.
16758 Use char because int might match the return type of a GCC
16759 builtin and then its argument prototype would still apply. */
16772 rm -f conftest.$ac_objext conftest$ac_exeext
16773 if { (ac_try="$ac_link"
16774 case "(($ac_try" in
16775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16776 *) ac_try_echo=$ac_try;;
16778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16779 (eval "$ac_link") 2>conftest.er1
16781 grep -v '^ *+' conftest.er1 >conftest.err
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } && {
16786 test -z "$ac_c_werror_flag" ||
16787 test ! -s conftest.err
16788 } && test -s conftest$ac_exeext &&
16789 $as_test_x conftest$ac_exeext; then
16790 ac_cv_lib_dl_dlopen=yes
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16795 ac_cv_lib_dl_dlopen=no
16798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16799 conftest$ac_exeext conftest.$ac_ext
16800 LIBS=$ac_check_lib_save_LIBS
16802 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16803 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16804 if test $ac_cv_lib_dl_dlopen = yes; then
16805 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16808 lt_cv_dlopen="dyld"
16810 lt_cv_dlopen_self=yes
16817 { echo "$as_me:$LINENO: checking for shl_load" >&5
16818 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16819 if test "${ac_cv_func_shl_load+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 cat >conftest.$ac_ext <<_ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16830 #define shl_load innocuous_shl_load
16832 /* System header to define __stub macros and hopefully few prototypes,
16833 which can conflict with char shl_load (); below.
16834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16835 <limits.h> exists even on freestanding compilers. */
16838 # include <limits.h>
16840 # include <assert.h>
16845 /* Override any GCC internal prototype to avoid an error.
16846 Use char because int might match the return type of a GCC
16847 builtin and then its argument prototype would still apply. */
16852 /* The GNU C library defines this for functions which it implements
16853 to always fail with ENOSYS. Some functions are actually named
16854 something starting with __ and the normal name is an alias. */
16855 #if defined __stub_shl_load || defined __stub___shl_load
16862 return shl_load ();
16867 rm -f conftest.$ac_objext conftest$ac_exeext
16868 if { (ac_try="$ac_link"
16869 case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_link") 2>conftest.er1
16876 grep -v '^ *+' conftest.er1 >conftest.err
16878 cat conftest.err >&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err
16883 } && test -s conftest$ac_exeext &&
16884 $as_test_x conftest$ac_exeext; then
16885 ac_cv_func_shl_load=yes
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.$ac_ext >&5
16890 ac_cv_func_shl_load=no
16893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16894 conftest$ac_exeext conftest.$ac_ext
16896 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16897 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16898 if test $ac_cv_func_shl_load = yes; then
16899 lt_cv_dlopen="shl_load"
16901 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16902 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16903 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 ac_check_lib_save_LIBS=$LIBS
16908 cat >conftest.$ac_ext <<_ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16915 /* Override any GCC internal prototype to avoid an error.
16916 Use char because int might match the return type of a GCC
16917 builtin and then its argument prototype would still apply. */
16925 return shl_load ();
16930 rm -f conftest.$ac_objext conftest$ac_exeext
16931 if { (ac_try="$ac_link"
16932 case "(($ac_try" in
16933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16934 *) ac_try_echo=$ac_try;;
16936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16937 (eval "$ac_link") 2>conftest.er1
16939 grep -v '^ *+' conftest.er1 >conftest.err
16941 cat conftest.err >&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); } && {
16944 test -z "$ac_c_werror_flag" ||
16945 test ! -s conftest.err
16946 } && test -s conftest$ac_exeext &&
16947 $as_test_x conftest$ac_exeext; then
16948 ac_cv_lib_dld_shl_load=yes
16950 echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.$ac_ext >&5
16953 ac_cv_lib_dld_shl_load=no
16956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16957 conftest$ac_exeext conftest.$ac_ext
16958 LIBS=$ac_check_lib_save_LIBS
16960 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16961 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16962 if test $ac_cv_lib_dld_shl_load = yes; then
16963 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16965 { echo "$as_me:$LINENO: checking for dlopen" >&5
16966 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16967 if test "${ac_cv_func_dlopen+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 cat >conftest.$ac_ext <<_ACEOF
16973 cat confdefs.h >>conftest.$ac_ext
16974 cat >>conftest.$ac_ext <<_ACEOF
16975 /* end confdefs.h. */
16976 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16978 #define dlopen innocuous_dlopen
16980 /* System header to define __stub macros and hopefully few prototypes,
16981 which can conflict with char dlopen (); below.
16982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16983 <limits.h> exists even on freestanding compilers. */
16986 # include <limits.h>
16988 # include <assert.h>
16993 /* Override any GCC internal prototype to avoid an error.
16994 Use char because int might match the return type of a GCC
16995 builtin and then its argument prototype would still apply. */
17000 /* The GNU C library defines this for functions which it implements
17001 to always fail with ENOSYS. Some functions are actually named
17002 something starting with __ and the normal name is an alias. */
17003 #if defined __stub_dlopen || defined __stub___dlopen
17015 rm -f conftest.$ac_objext conftest$ac_exeext
17016 if { (ac_try="$ac_link"
17017 case "(($ac_try" in
17018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_link") 2>conftest.er1
17024 grep -v '^ *+' conftest.er1 >conftest.err
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } && {
17029 test -z "$ac_c_werror_flag" ||
17030 test ! -s conftest.err
17031 } && test -s conftest$ac_exeext &&
17032 $as_test_x conftest$ac_exeext; then
17033 ac_cv_func_dlopen=yes
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17038 ac_cv_func_dlopen=no
17041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17042 conftest$ac_exeext conftest.$ac_ext
17044 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17045 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17046 if test $ac_cv_func_dlopen = yes; then
17047 lt_cv_dlopen="dlopen"
17049 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17050 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17051 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 ac_check_lib_save_LIBS=$LIBS
17056 cat >conftest.$ac_ext <<_ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17063 /* Override any GCC internal prototype to avoid an error.
17064 Use char because int might match the return type of a GCC
17065 builtin and then its argument prototype would still apply. */
17078 rm -f conftest.$ac_objext conftest$ac_exeext
17079 if { (ac_try="$ac_link"
17080 case "(($ac_try" in
17081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17082 *) ac_try_echo=$ac_try;;
17084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17085 (eval "$ac_link") 2>conftest.er1
17087 grep -v '^ *+' conftest.er1 >conftest.err
17089 cat conftest.err >&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } && {
17092 test -z "$ac_c_werror_flag" ||
17093 test ! -s conftest.err
17094 } && test -s conftest$ac_exeext &&
17095 $as_test_x conftest$ac_exeext; then
17096 ac_cv_lib_dl_dlopen=yes
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 ac_cv_lib_dl_dlopen=no
17104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17105 conftest$ac_exeext conftest.$ac_ext
17106 LIBS=$ac_check_lib_save_LIBS
17108 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17109 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17110 if test $ac_cv_lib_dl_dlopen = yes; then
17111 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17113 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17114 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17115 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 ac_check_lib_save_LIBS=$LIBS
17119 LIBS="-lsvld $LIBS"
17120 cat >conftest.$ac_ext <<_ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17127 /* Override any GCC internal prototype to avoid an error.
17128 Use char because int might match the return type of a GCC
17129 builtin and then its argument prototype would still apply. */
17142 rm -f conftest.$ac_objext conftest$ac_exeext
17143 if { (ac_try="$ac_link"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_link") 2>conftest.er1
17151 grep -v '^ *+' conftest.er1 >conftest.err
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest$ac_exeext &&
17159 $as_test_x conftest$ac_exeext; then
17160 ac_cv_lib_svld_dlopen=yes
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 ac_cv_lib_svld_dlopen=no
17168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17169 conftest$ac_exeext conftest.$ac_ext
17170 LIBS=$ac_check_lib_save_LIBS
17172 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17173 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17174 if test $ac_cv_lib_svld_dlopen = yes; then
17175 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17177 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17178 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17179 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17182 ac_check_lib_save_LIBS=$LIBS
17184 cat >conftest.$ac_ext <<_ACEOF
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17191 /* Override any GCC internal prototype to avoid an error.
17192 Use char because int might match the return type of a GCC
17193 builtin and then its argument prototype would still apply. */
17201 return dld_link ();
17206 rm -f conftest.$ac_objext conftest$ac_exeext
17207 if { (ac_try="$ac_link"
17208 case "(($ac_try" in
17209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17210 *) ac_try_echo=$ac_try;;
17212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17213 (eval "$ac_link") 2>conftest.er1
17215 grep -v '^ *+' conftest.er1 >conftest.err
17217 cat conftest.err >&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } && {
17220 test -z "$ac_c_werror_flag" ||
17221 test ! -s conftest.err
17222 } && test -s conftest$ac_exeext &&
17223 $as_test_x conftest$ac_exeext; then
17224 ac_cv_lib_dld_dld_link=yes
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_cv_lib_dld_dld_link=no
17232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17233 conftest$ac_exeext conftest.$ac_ext
17234 LIBS=$ac_check_lib_save_LIBS
17236 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17237 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17238 if test $ac_cv_lib_dld_dld_link = yes; then
17239 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17260 if test "x$lt_cv_dlopen" != xno; then
17266 case $lt_cv_dlopen in
17268 save_CPPFLAGS="$CPPFLAGS"
17269 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17271 save_LDFLAGS="$LDFLAGS"
17272 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17275 LIBS="$lt_cv_dlopen_libs $LIBS"
17277 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17278 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17279 if test "${lt_cv_dlopen_self+set}" = set; then
17280 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 if test "$cross_compiling" = yes; then :
17283 lt_cv_dlopen_self=cross
17285 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17286 lt_status=$lt_dlunknown
17287 cat > conftest.$ac_ext <<EOF
17288 #line 17288 "configure"
17289 #include "confdefs.h"
17298 # define LT_DLGLOBAL RTLD_GLOBAL
17301 # define LT_DLGLOBAL DL_GLOBAL
17303 # define LT_DLGLOBAL 0
17307 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17308 find out it does not work in some platform. */
17309 #ifndef LT_DLLAZY_OR_NOW
17311 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17314 # define LT_DLLAZY_OR_NOW DL_LAZY
17317 # define LT_DLLAZY_OR_NOW RTLD_NOW
17320 # define LT_DLLAZY_OR_NOW DL_NOW
17322 # define LT_DLLAZY_OR_NOW 0
17330 extern "C" void exit (int);
17333 void fnord() { int i=42;}
17336 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17337 int status = $lt_dlunknown;
17341 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17342 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17343 /* dlclose (self); */
17351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17352 (eval $ac_link) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17356 (./conftest; exit; ) >&5 2>/dev/null
17358 case x$lt_status in
17359 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17360 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17361 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17364 # compilation failed
17365 lt_cv_dlopen_self=no
17372 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17373 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17375 if test "x$lt_cv_dlopen_self" = xyes; then
17376 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17377 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17378 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17379 if test "${lt_cv_dlopen_self_static+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 if test "$cross_compiling" = yes; then :
17383 lt_cv_dlopen_self_static=cross
17385 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17386 lt_status=$lt_dlunknown
17387 cat > conftest.$ac_ext <<EOF
17388 #line 17388 "configure"
17389 #include "confdefs.h"
17398 # define LT_DLGLOBAL RTLD_GLOBAL
17401 # define LT_DLGLOBAL DL_GLOBAL
17403 # define LT_DLGLOBAL 0
17407 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17408 find out it does not work in some platform. */
17409 #ifndef LT_DLLAZY_OR_NOW
17411 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17414 # define LT_DLLAZY_OR_NOW DL_LAZY
17417 # define LT_DLLAZY_OR_NOW RTLD_NOW
17420 # define LT_DLLAZY_OR_NOW DL_NOW
17422 # define LT_DLLAZY_OR_NOW 0
17430 extern "C" void exit (int);
17433 void fnord() { int i=42;}
17436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17437 int status = $lt_dlunknown;
17441 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17442 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17443 /* dlclose (self); */
17451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17452 (eval $ac_link) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17456 (./conftest; exit; ) >&5 2>/dev/null
17458 case x$lt_status in
17459 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17460 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17461 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17464 # compilation failed
17465 lt_cv_dlopen_self_static=no
17472 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17473 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17476 CPPFLAGS="$save_CPPFLAGS"
17477 LDFLAGS="$save_LDFLAGS"
17482 case $lt_cv_dlopen_self in
17483 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17484 *) enable_dlopen_self=unknown ;;
17487 case $lt_cv_dlopen_self_static in
17488 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17489 *) enable_dlopen_self_static=unknown ;;
17494 # Report which library types will actually be built
17495 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17496 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17497 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17498 echo "${ECHO_T}$can_build_shared" >&6; }
17500 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17501 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17502 test "$can_build_shared" = "no" && enable_shared=no
17504 # On AIX, shared libraries and static libraries use the same namespace, and
17505 # are all built from PIC.
17508 test "$enable_shared" = yes && enable_static=no
17509 if test -n "$RANLIB"; then
17510 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17511 postinstall_cmds='$RANLIB $lib'
17516 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17517 test "$enable_shared" = yes && enable_static=no
17521 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17522 echo "${ECHO_T}$enable_shared" >&6; }
17524 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17525 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17526 # Make sure either enable_shared or enable_static is yes.
17527 test "$enable_shared" = yes || enable_static=yes
17528 { echo "$as_me:$LINENO: result: $enable_static" >&5
17529 echo "${ECHO_T}$enable_static" >&6; }
17531 # The else clause should only fire when bootstrapping the
17532 # libtool distribution, otherwise you forgot to ship ltmain.sh
17533 # with your package, and you will get complaints that there are
17534 # no rules to generate ltmain.sh.
17535 if test -f "$ltmain"; then
17536 # See if we are running on zsh, and set the options which allow our commands through
17537 # without removal of \ escapes.
17538 if test -n "${ZSH_VERSION+set}" ; then
17539 setopt NO_GLOB_SUBST
17541 # Now quote all the things that may contain metacharacters while being
17542 # careful not to overquote the AC_SUBSTed values. We take copies of the
17543 # variables and quote the copies for generation of the libtool script.
17544 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17546 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17547 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17548 deplibs_check_method reload_flag reload_cmds need_locks \
17549 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17550 lt_cv_sys_global_symbol_to_c_name_address \
17551 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17552 old_postinstall_cmds old_postuninstall_cmds \
17556 lt_prog_compiler_wl \
17557 lt_prog_compiler_pic \
17558 lt_prog_compiler_static \
17559 lt_prog_compiler_no_builtin_flag \
17560 export_dynamic_flag_spec \
17561 thread_safe_flag_spec \
17562 whole_archive_flag_spec \
17563 enable_shared_with_static_runtimes \
17565 old_archive_from_new_cmds \
17570 compiler_lib_search_path \
17572 archive_expsym_cmds \
17574 postuninstall_cmds \
17575 old_archive_from_expsyms_cmds \
17576 allow_undefined_flag \
17577 no_undefined_flag \
17578 export_symbols_cmds \
17579 hardcode_libdir_flag_spec \
17580 hardcode_libdir_flag_spec_ld \
17581 hardcode_libdir_separator \
17582 hardcode_automatic \
17584 module_expsym_cmds \
17585 lt_cv_prog_compiler_c_o \
17587 include_expsyms; do
17590 old_archive_cmds | \
17591 old_archive_from_new_cmds | \
17593 archive_expsym_cmds | \
17595 module_expsym_cmds | \
17596 old_archive_from_expsyms_cmds | \
17597 export_symbols_cmds | \
17598 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17599 postinstall_cmds | postuninstall_cmds | \
17600 old_postinstall_cmds | old_postuninstall_cmds | \
17601 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17602 # Double-quote double-evaled strings.
17603 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17606 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17612 *'\$0 --fallback-echo"')
17613 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17617 cfgfile="${ofile}T"
17618 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17620 { echo "$as_me:$LINENO: creating $ofile" >&5
17621 echo "$as_me: creating $ofile" >&6;}
17623 cat <<__EOF__ >> "$cfgfile"
17626 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17627 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17628 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17630 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17631 # Free Software Foundation, Inc.
17633 # This file is part of GNU Libtool:
17634 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17636 # This program is free software; you can redistribute it and/or modify
17637 # it under the terms of the GNU General Public License as published by
17638 # the Free Software Foundation; either version 2 of the License, or
17639 # (at your option) any later version.
17641 # This program is distributed in the hope that it will be useful, but
17642 # WITHOUT ANY WARRANTY; without even the implied warranty of
17643 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17644 # General Public License for more details.
17646 # You should have received a copy of the GNU General Public License
17647 # along with this program; if not, write to the Free Software
17648 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17650 # As a special exception to the GNU General Public License, if you
17651 # distribute this file as part of a program that contains a
17652 # configuration script generated by Autoconf, you may include it under
17653 # the same distribution terms that you use for the rest of that program.
17655 # A sed program that does not truncate output.
17658 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17659 Xsed="$SED -e 1s/^X//"
17661 # The HP-UX ksh and POSIX shell print the target directory to stdout
17662 # if CDPATH is set.
17663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17665 # The names of the tagged configurations supported by this script.
17668 # ### BEGIN LIBTOOL CONFIG
17670 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17672 # Shell to use when invoking shell scripts.
17675 # Whether or not to build shared libraries.
17676 build_libtool_libs=$enable_shared
17678 # Whether or not to build static libraries.
17679 build_old_libs=$enable_static
17681 # Whether or not to add -lc for building shared libraries.
17682 build_libtool_need_lc=$archive_cmds_need_lc
17684 # Whether or not to disallow shared libs when runtime libs are static
17685 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17687 # Whether or not to optimize for fast installation.
17688 fast_install=$enable_fast_install
17691 host_alias=$host_alias
17695 # The build system.
17696 build_alias=$build_alias
17700 # An echo program that does not interpret backslashes.
17705 AR_FLAGS=$lt_AR_FLAGS
17710 # LTCC compiler flags.
17711 LTCFLAGS=$lt_LTCFLAGS
17713 # A language-specific compiler.
17716 # Is the compiler the GNU C compiler?
17722 # The linker used to build libraries.
17725 # Whether we need hard or soft links.
17728 # A BSD-compatible nm program.
17731 # A symbol stripping program
17734 # Used to examine libraries when file_magic_cmd begins "file"
17735 MAGIC_CMD=$MAGIC_CMD
17737 # Used on cygwin: DLL creation program.
17740 # Used on cygwin: object dumper.
17743 # Used on cygwin: assembler.
17746 # The name of the directory that contains temporary libtool files.
17749 # How to create reloadable object files.
17750 reload_flag=$lt_reload_flag
17751 reload_cmds=$lt_reload_cmds
17753 # How to pass a linker flag through the compiler.
17754 wl=$lt_lt_prog_compiler_wl
17756 # Object file suffix (normally "o").
17757 objext="$ac_objext"
17759 # Old archive suffix (normally "a").
17762 # Shared library suffix (normally ".so").
17763 shrext_cmds='$shrext_cmds'
17765 # Executable file suffix (normally "").
17768 # Additional compiler flags for building library objects.
17769 pic_flag=$lt_lt_prog_compiler_pic
17772 # What is the maximum length of a command?
17773 max_cmd_len=$lt_cv_sys_max_cmd_len
17775 # Does compiler simultaneously support -c and -o options?
17776 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17778 # Must we lock files when doing compilation?
17779 need_locks=$lt_need_locks
17781 # Do we need the lib prefix for modules?
17782 need_lib_prefix=$need_lib_prefix
17784 # Do we need a version for libraries?
17785 need_version=$need_version
17787 # Whether dlopen is supported.
17788 dlopen_support=$enable_dlopen
17790 # Whether dlopen of programs is supported.
17791 dlopen_self=$enable_dlopen_self
17793 # Whether dlopen of statically linked programs is supported.
17794 dlopen_self_static=$enable_dlopen_self_static
17796 # Compiler flag to prevent dynamic linking.
17797 link_static_flag=$lt_lt_prog_compiler_static
17799 # Compiler flag to turn off builtin functions.
17800 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17802 # Compiler flag to allow reflexive dlopens.
17803 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17805 # Compiler flag to generate shared objects directly from archives.
17806 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17808 # Compiler flag to generate thread-safe objects.
17809 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17811 # Library versioning type.
17812 version_type=$version_type
17814 # Format of library name prefix.
17815 libname_spec=$lt_libname_spec
17817 # List of archive names. First name is the real one, the rest are links.
17818 # The last name is the one that the linker finds with -lNAME.
17819 library_names_spec=$lt_library_names_spec
17821 # The coded name of the library, if different from the real name.
17822 soname_spec=$lt_soname_spec
17824 # Commands used to build and install an old-style archive.
17826 old_archive_cmds=$lt_old_archive_cmds
17827 old_postinstall_cmds=$lt_old_postinstall_cmds
17828 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17830 # Create an old-style archive from a shared archive.
17831 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17833 # Create a temporary old-style archive to link instead of a shared archive.
17834 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17836 # Commands used to build and install a shared archive.
17837 archive_cmds=$lt_archive_cmds
17838 archive_expsym_cmds=$lt_archive_expsym_cmds
17839 postinstall_cmds=$lt_postinstall_cmds
17840 postuninstall_cmds=$lt_postuninstall_cmds
17842 # Commands used to build a loadable module (assumed same as above if empty)
17843 module_cmds=$lt_module_cmds
17844 module_expsym_cmds=$lt_module_expsym_cmds
17846 # Commands to strip libraries.
17847 old_striplib=$lt_old_striplib
17848 striplib=$lt_striplib
17850 # Dependencies to place before the objects being linked to create a
17852 predep_objects=$lt_predep_objects
17854 # Dependencies to place after the objects being linked to create a
17856 postdep_objects=$lt_postdep_objects
17858 # Dependencies to place before the objects being linked to create a
17860 predeps=$lt_predeps
17862 # Dependencies to place after the objects being linked to create a
17864 postdeps=$lt_postdeps
17866 # The library search path used internally by the compiler when linking
17867 # a shared library.
17868 compiler_lib_search_path=$lt_compiler_lib_search_path
17870 # Method to check whether dependent libraries are shared objects.
17871 deplibs_check_method=$lt_deplibs_check_method
17873 # Command to use when deplibs_check_method == file_magic.
17874 file_magic_cmd=$lt_file_magic_cmd
17876 # Flag that allows shared libraries with undefined symbols to be built.
17877 allow_undefined_flag=$lt_allow_undefined_flag
17879 # Flag that forces no undefined symbols.
17880 no_undefined_flag=$lt_no_undefined_flag
17882 # Commands used to finish a libtool library installation in a directory.
17883 finish_cmds=$lt_finish_cmds
17885 # Same as above, but a single script fragment to be evaled but not shown.
17886 finish_eval=$lt_finish_eval
17888 # Take the output of nm and produce a listing of raw symbols and C names.
17889 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17891 # Transform the output of nm in a proper C declaration
17892 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17894 # Transform the output of nm in a C name address pair
17895 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17897 # This is the shared library runtime path variable.
17898 runpath_var=$runpath_var
17900 # This is the shared library path variable.
17901 shlibpath_var=$shlibpath_var
17903 # Is shlibpath searched before the hard-coded library search path?
17904 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17906 # How to hardcode a shared library path into an executable.
17907 hardcode_action=$hardcode_action
17909 # Whether we should hardcode library paths into libraries.
17910 hardcode_into_libs=$hardcode_into_libs
17912 # Flag to hardcode \$libdir into a binary during linking.
17913 # This must work even if \$libdir does not exist.
17914 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17916 # If ld is used when linking, flag to hardcode \$libdir into
17917 # a binary during linking. This must work even if \$libdir does
17919 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17921 # Whether we need a single -rpath flag with a separated argument.
17922 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17924 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17925 # resulting binary.
17926 hardcode_direct=$hardcode_direct
17928 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17929 # resulting binary.
17930 hardcode_minus_L=$hardcode_minus_L
17932 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17933 # the resulting binary.
17934 hardcode_shlibpath_var=$hardcode_shlibpath_var
17936 # Set to yes if building a shared library automatically hardcodes DIR into the library
17937 # and all subsequent libraries and executables linked against it.
17938 hardcode_automatic=$hardcode_automatic
17940 # Variables whose values should be saved in libtool wrapper scripts and
17941 # restored at relink time.
17942 variables_saved_for_relink="$variables_saved_for_relink"
17944 # Whether libtool must link a program against all its dependency libraries.
17945 link_all_deplibs=$link_all_deplibs
17947 # Compile-time system search path for libraries
17948 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17950 # Run-time system search path for libraries
17951 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17953 # Fix the shell variable \$srcfile for the compiler.
17954 fix_srcfile_path="$fix_srcfile_path"
17956 # Set to yes if exported symbols are required.
17957 always_export_symbols=$always_export_symbols
17959 # The commands to list exported symbols.
17960 export_symbols_cmds=$lt_export_symbols_cmds
17962 # The commands to extract the exported symbol list from a shared archive.
17963 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17965 # Symbols that should not be listed in the preloaded symbols.
17966 exclude_expsyms=$lt_exclude_expsyms
17968 # Symbols that must always be exported.
17969 include_expsyms=$lt_include_expsyms
17971 # ### END LIBTOOL CONFIG
17978 cat <<\EOF >> "$cfgfile"
17980 # AIX sometimes has problems with the GCC collect2 program. For some
17981 # reason, if we set the COLLECT_NAMES environment variable, the problems
17982 # vanish in a puff of smoke.
17983 if test "X${COLLECT_NAMES+set}" != Xset; then
17985 export COLLECT_NAMES
17991 # We use sed instead of cat because bash on DJGPP gets confused if
17992 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17993 # text mode, it properly converts lines to CR/LF. This bash problem
17994 # is reportedly fixed, but why not run on old versions too?
17995 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17997 mv -f "$cfgfile" "$ofile" || \
17998 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18002 # If there is no Makefile yet, we rely on a make rule to execute
18003 # `config.status --recheck' to rerun these tests and create the
18004 # libtool script then.
18005 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18006 if test -f "$ltmain_in"; then
18007 test -f Makefile && make "$ltmain"
18013 ac_cpp='$CPP $CPPFLAGS'
18014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18021 # Check whether --with-tags was given.
18022 if test "${with_tags+set}" = set; then
18023 withval=$with_tags; tagnames="$withval"
18027 if test -f "$ltmain" && test -n "$tagnames"; then
18028 if test ! -f "${ofile}"; then
18029 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18030 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18033 if test -z "$LTCC"; then
18034 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18035 if test -z "$LTCC"; then
18036 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18037 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18039 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18040 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18043 if test -z "$LTCFLAGS"; then
18044 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18047 # Extract list of available tagged configurations in $ofile.
18048 # Note that this assumes the entire list is on one line.
18049 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18051 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18052 for tagname in $tagnames; do
18054 # Check whether tagname contains only valid characters
18055 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18057 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18058 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18059 { (exit 1); exit 1; }; }
18063 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18065 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18066 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18067 { (exit 1); exit 1; }; }
18070 # Update the list of available tags.
18071 if test -n "$tagname"; then
18072 echo appending configuration tag \"$tagname\" to $ofile
18076 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18077 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18078 (test "X$CXX" != "Xg++"))) ; then
18080 ac_cpp='$CXXCPP $CPPFLAGS'
18081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18088 archive_cmds_need_lc_CXX=no
18089 allow_undefined_flag_CXX=
18090 always_export_symbols_CXX=no
18091 archive_expsym_cmds_CXX=
18092 export_dynamic_flag_spec_CXX=
18093 hardcode_direct_CXX=no
18094 hardcode_libdir_flag_spec_CXX=
18095 hardcode_libdir_flag_spec_ld_CXX=
18096 hardcode_libdir_separator_CXX=
18097 hardcode_minus_L_CXX=no
18098 hardcode_shlibpath_var_CXX=unsupported
18099 hardcode_automatic_CXX=no
18101 module_expsym_cmds_CXX=
18102 link_all_deplibs_CXX=unknown
18103 old_archive_cmds_CXX=$old_archive_cmds
18104 no_undefined_flag_CXX=
18105 whole_archive_flag_spec_CXX=
18106 enable_shared_with_static_runtimes_CXX=no
18108 # Dependencies to place before and after the object being linked:
18109 predep_objects_CXX=
18110 postdep_objects_CXX=
18113 compiler_lib_search_path_CXX=
18115 # Source file extension for C++ test sources.
18118 # Object file extension for compiled C++ test sources.
18122 # Code to be used in simple compile tests
18123 lt_simple_compile_test_code="int some_variable = 0;\n"
18125 # Code to be used in simple link tests
18126 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18128 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18130 # If no C compiler was specified, use CC.
18133 # If no C compiler flags were specified, use CFLAGS.
18134 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18136 # Allow CC to be a program name with arguments.
18140 # save warnings/boilerplate of simple test code
18141 ac_outfile=conftest.$ac_objext
18142 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18144 _lt_compiler_boilerplate=`cat conftest.err`
18147 ac_outfile=conftest.$ac_objext
18148 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18150 _lt_linker_boilerplate=`cat conftest.err`
18154 # Allow CC to be a program name with arguments.
18159 lt_save_with_gnu_ld=$with_gnu_ld
18160 lt_save_path_LD=$lt_cv_path_LD
18161 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18162 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18164 $as_unset lt_cv_prog_gnu_ld
18166 if test -n "${lt_cv_path_LDCXX+set}"; then
18167 lt_cv_path_LD=$lt_cv_path_LDCXX
18169 $as_unset lt_cv_path_LD
18171 test -z "${LDCXX+set}" || LD=$LDCXX
18175 for cc_temp in $compiler""; do
18177 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18178 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18183 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18186 # We don't want -fno-exception wen compiling C++ code, so set the
18187 # no_builtin_flag separately
18188 if test "$GXX" = yes; then
18189 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18191 lt_prog_compiler_no_builtin_flag_CXX=
18194 if test "$GXX" = yes; then
18195 # Set up default GNU C++ configuration
18198 # Check whether --with-gnu-ld was given.
18199 if test "${with_gnu_ld+set}" = set; then
18200 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18206 if test "$GCC" = yes; then
18207 # Check if gcc -print-prog-name=ld gives a path.
18208 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18209 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18212 # gcc leaves a trailing carriage return which upsets mingw
18213 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18215 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18218 # Accept absolute paths.
18220 re_direlt='/[^/][^/]*/\.\./'
18221 # Canonicalize the pathname of ld
18222 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18223 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18224 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18226 test -z "$LD" && LD="$ac_prog"
18229 # If it fails, then pretend we aren't using GCC.
18233 # If it is relative, then search for the first ld in PATH.
18234 with_gnu_ld=unknown
18237 elif test "$with_gnu_ld" = yes; then
18238 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18239 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18241 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18242 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18244 if test "${lt_cv_path_LD+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 if test -z "$LD"; then
18248 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18249 for ac_dir in $PATH; do
18251 test -z "$ac_dir" && ac_dir=.
18252 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18253 lt_cv_path_LD="$ac_dir/$ac_prog"
18254 # Check to see if the program is GNU ld. I'd rather use --version,
18255 # but apparently some variants of GNU ld only accept -v.
18256 # Break only if it was the GNU/non-GNU ld that we prefer.
18257 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18258 *GNU* | *'with BFD'*)
18259 test "$with_gnu_ld" != no && break
18262 test "$with_gnu_ld" != yes && break
18269 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18273 LD="$lt_cv_path_LD"
18274 if test -n "$LD"; then
18275 { echo "$as_me:$LINENO: result: $LD" >&5
18276 echo "${ECHO_T}$LD" >&6; }
18278 { echo "$as_me:$LINENO: result: no" >&5
18279 echo "${ECHO_T}no" >&6; }
18281 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18282 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18283 { (exit 1); exit 1; }; }
18284 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18285 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18286 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18290 case `$LD -v 2>&1 </dev/null` in
18291 *GNU* | *'with BFD'*)
18292 lt_cv_prog_gnu_ld=yes
18295 lt_cv_prog_gnu_ld=no
18299 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18300 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18301 with_gnu_ld=$lt_cv_prog_gnu_ld
18305 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18306 # archiving commands below assume that GNU ld is being used.
18307 if test "$with_gnu_ld" = yes; then
18308 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18309 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'
18311 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18312 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18314 # If archive_cmds runs LD, not CC, wlarc should be empty
18315 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18316 # investigate it a little bit more. (MM)
18319 # ancient GNU ld didn't support --whole-archive et. al.
18320 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18321 grep 'no-whole-archive' > /dev/null; then
18322 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18324 whole_archive_flag_spec_CXX=
18330 # A generic and very simple default shared library creation
18331 # command for GNU C++ for the case where it uses the native
18332 # linker, instead of GNU ld. If possible, this setting should
18333 # overridden to take advantage of the native linker features on
18334 # the platform it is being used on.
18335 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18338 # Commands to make compiler produce verbose output that lists
18339 # what "hidden" libraries, object files and flags are used when
18340 # linking a shared library.
18341 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18349 # PORTME: fill in a description of your system's C++ link characteristics
18350 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18351 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18355 # FIXME: insert proper C++ library support
18359 if test "$host_cpu" = ia64; then
18360 # On IA64, the linker does run time linking by default, so we don't
18361 # have to do anything special.
18362 aix_use_runtimelinking=no
18363 exp_sym_flag='-Bexport'
18366 aix_use_runtimelinking=no
18368 # Test if we are trying to use run time linking or normal
18369 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18370 # need to do runtime linking.
18371 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18372 for ld_flag in $LDFLAGS; do
18375 aix_use_runtimelinking=yes
18383 exp_sym_flag='-bexport'
18384 no_entry_flag='-bnoentry'
18387 # When large executables or shared objects are built, AIX ld can
18388 # have problems creating the table of contents. If linking a library
18389 # or program results in "error TOC overflow" add -mminimal-toc to
18390 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18391 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18393 archive_cmds_CXX=''
18394 hardcode_direct_CXX=yes
18395 hardcode_libdir_separator_CXX=':'
18396 link_all_deplibs_CXX=yes
18398 if test "$GXX" = yes; then
18399 case $host_os in aix4.[012]|aix4.[012].*)
18400 # We only want to do this on AIX 4.2 and lower, the check
18401 # below for broken collect2 doesn't work under 4.3+
18402 collect2name=`${CC} -print-prog-name=collect2`
18403 if test -f "$collect2name" && \
18404 strings "$collect2name" | grep resolve_lib_name >/dev/null
18406 # We have reworked collect2
18407 hardcode_direct_CXX=yes
18409 # We have old collect2
18410 hardcode_direct_CXX=unsupported
18411 # It fails to find uninstalled libraries when the uninstalled
18412 # path is not listed in the libpath. Setting hardcode_minus_L
18413 # to unsupported forces relinking
18414 hardcode_minus_L_CXX=yes
18415 hardcode_libdir_flag_spec_CXX='-L$libdir'
18416 hardcode_libdir_separator_CXX=
18420 shared_flag='-shared'
18421 if test "$aix_use_runtimelinking" = yes; then
18422 shared_flag="$shared_flag "'${wl}-G'
18426 if test "$host_cpu" = ia64; then
18427 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18428 # chokes on -Wl,-G. The following line is correct:
18431 if test "$aix_use_runtimelinking" = yes; then
18432 shared_flag='${wl}-G'
18434 shared_flag='${wl}-bM:SRE'
18439 # It seems that -bexpall does not export symbols beginning with
18440 # underscore (_), so it is better to generate a list of symbols to export.
18441 always_export_symbols_CXX=yes
18442 if test "$aix_use_runtimelinking" = yes; then
18443 # Warning - without using the other runtime loading flags (-brtl),
18444 # -berok will link without error, but may produce a broken library.
18445 allow_undefined_flag_CXX='-berok'
18446 # Determine the default libpath from the value encoded in an empty executable.
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18462 rm -f conftest.$ac_objext conftest$ac_exeext
18463 if { (ac_try="$ac_link"
18464 case "(($ac_try" in
18465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18466 *) ac_try_echo=$ac_try;;
18468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18469 (eval "$ac_link") 2>conftest.er1
18471 grep -v '^ *+' conftest.er1 >conftest.err
18473 cat conftest.err >&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); } && {
18476 test -z "$ac_cxx_werror_flag" ||
18477 test ! -s conftest.err
18478 } && test -s conftest$ac_exeext &&
18479 $as_test_x conftest$ac_exeext; then
18481 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18483 # Check for a 64-bit object if we didn't find anything.
18484 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; }
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18494 conftest$ac_exeext conftest.$ac_ext
18495 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18497 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18499 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"
18501 if test "$host_cpu" = ia64; then
18502 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18503 allow_undefined_flag_CXX="-z nodefs"
18504 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"
18506 # Determine the default libpath from the value encoded in an empty executable.
18507 cat >conftest.$ac_ext <<_ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18522 rm -f conftest.$ac_objext conftest$ac_exeext
18523 if { (ac_try="$ac_link"
18524 case "(($ac_try" in
18525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18526 *) ac_try_echo=$ac_try;;
18528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18529 (eval "$ac_link") 2>conftest.er1
18531 grep -v '^ *+' conftest.er1 >conftest.err
18533 cat conftest.err >&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } && {
18536 test -z "$ac_cxx_werror_flag" ||
18537 test ! -s conftest.err
18538 } && test -s conftest$ac_exeext &&
18539 $as_test_x conftest$ac_exeext; then
18541 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18543 # Check for a 64-bit object if we didn't find anything.
18544 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; }
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18554 conftest$ac_exeext conftest.$ac_ext
18555 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18557 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18558 # Warning - without using the other run time loading flags,
18559 # -berok will link without error, but may produce a broken library.
18560 no_undefined_flag_CXX=' ${wl}-bernotok'
18561 allow_undefined_flag_CXX=' ${wl}-berok'
18562 # Exported symbols can be pulled into shared objects from archives
18563 whole_archive_flag_spec_CXX='$convenience'
18564 archive_cmds_need_lc_CXX=yes
18565 # This is similar to how AIX traditionally builds its shared libraries.
18566 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'
18572 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18573 allow_undefined_flag_CXX=unsupported
18574 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18575 # support --undefined. This deserves some investigation. FIXME
18576 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18583 case $cc_basename in
18585 # FIXME: insert proper C++ library support
18591 cygwin* | mingw* | pw32*)
18592 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18593 # as there is no search path for DLLs.
18594 hardcode_libdir_flag_spec_CXX='-L$libdir'
18595 allow_undefined_flag_CXX=unsupported
18596 always_export_symbols_CXX=no
18597 enable_shared_with_static_runtimes_CXX=yes
18599 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18600 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'
18601 # If the export-symbols file already is a .def file (1st line
18602 # is EXPORTS), use it as is; otherwise, prepend...
18603 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18604 cp $export_symbols $output_objdir/$soname.def;
18606 echo EXPORTS > $output_objdir/$soname.def;
18607 cat $export_symbols >> $output_objdir/$soname.def;
18609 $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'
18614 darwin* | rhapsody*)
18616 rhapsody* | darwin1.[012])
18617 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18620 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18621 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18623 case ${MACOSX_DEPLOYMENT_TARGET} in
18625 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18628 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18634 archive_cmds_need_lc_CXX=no
18635 hardcode_direct_CXX=no
18636 hardcode_automatic_CXX=yes
18637 hardcode_shlibpath_var_CXX=unsupported
18638 whole_archive_flag_spec_CXX=''
18639 link_all_deplibs_CXX=yes
18641 if test "$GXX" = yes ; then
18642 lt_int_apple_cc_single_mod=no
18643 output_verbose_link_cmd='echo'
18644 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18645 lt_int_apple_cc_single_mod=yes
18647 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18648 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18650 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'
18652 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18653 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18654 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18655 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}'
18657 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}'
18659 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}'
18661 case $cc_basename in
18663 output_verbose_link_cmd='echo'
18664 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'
18665 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18666 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18667 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}'
18668 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}'
18678 case $cc_basename in
18680 # FIXME: insert proper C++ library support
18684 # Green Hills C++ Compiler
18685 # FIXME: insert proper C++ library support
18689 # FIXME: insert proper C++ library support
18695 # C++ shared libraries reported to be fairly broken before switch to ELF
18699 archive_cmds_need_lc_CXX=no
18701 freebsd* | kfreebsd*-gnu | dragonfly*)
18702 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18709 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18710 hardcode_libdir_separator_CXX=:
18711 export_dynamic_flag_spec_CXX='${wl}-E'
18712 hardcode_direct_CXX=yes
18713 hardcode_minus_L_CXX=yes # Not in the search PATH,
18714 # but as the default
18715 # location of the library.
18717 case $cc_basename in
18719 # FIXME: insert proper C++ library support
18723 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'
18724 # Commands to make compiler produce verbose output that lists
18725 # what "hidden" libraries, object files and flags are used when
18726 # linking a shared library.
18728 # There doesn't appear to be a way to prevent this compiler from
18729 # explicitly linking system object files so we need to strip them
18730 # from the output so that they don't get included in the library
18732 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'
18735 if test "$GXX" = yes; then
18736 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'
18738 # FIXME: insert proper C++ library support
18745 if test $with_gnu_ld = no; then
18746 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18747 hardcode_libdir_separator_CXX=:
18751 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18754 export_dynamic_flag_spec_CXX='${wl}-E'
18760 hardcode_direct_CXX=no
18761 hardcode_shlibpath_var_CXX=no
18764 hardcode_direct_CXX=yes
18765 hardcode_minus_L_CXX=yes # Not in the search PATH,
18766 # but as the default
18767 # location of the library.
18771 case $cc_basename in
18773 # FIXME: insert proper C++ library support
18779 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18782 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18785 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18788 # Commands to make compiler produce verbose output that lists
18789 # what "hidden" libraries, object files and flags are used when
18790 # linking a shared library.
18792 # There doesn't appear to be a way to prevent this compiler from
18793 # explicitly linking system object files so we need to strip them
18794 # from the output so that they don't get included in the library
18796 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'
18799 if test "$GXX" = yes; then
18800 if test $with_gnu_ld = no; then
18803 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18806 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18809 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'
18814 # FIXME: insert proper C++ library support
18821 hardcode_direct_CXX=no
18822 hardcode_shlibpath_var_CXX=no
18823 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18824 export_dynamic_flag_spec_CXX='${wl}-E'
18825 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18826 # Instead, shared libraries are loaded at an image base (0x10000000 by
18827 # default) and relocated if they conflict, which is a slow very memory
18828 # consuming and fragmenting process. To avoid this, we pick a random,
18829 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18830 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18831 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'
18832 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'
18835 case $cc_basename in
18838 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'
18840 # Archives containing C++ object files must be created using
18841 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18842 # necessary to make sure instantiated templates are included
18844 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18847 if test "$GXX" = yes; then
18848 if test "$with_gnu_ld" = no; then
18849 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'
18851 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'
18854 link_all_deplibs_CXX=yes
18857 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18858 hardcode_libdir_separator_CXX=:
18861 case $cc_basename in
18863 # Kuck and Associates, Inc. (KAI) C++ Compiler
18865 # KCC will only create a shared library if the output file
18866 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18867 # to its proper name (with version) after linking.
18868 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'
18869 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'
18870 # Commands to make compiler produce verbose output that lists
18871 # what "hidden" libraries, object files and flags are used when
18872 # linking a shared library.
18874 # There doesn't appear to be a way to prevent this compiler from
18875 # explicitly linking system object files so we need to strip them
18876 # from the output so that they don't get included in the library
18878 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'
18880 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
18881 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18883 # Archives containing C++ object files must be created using
18884 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18885 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18890 # version 8.0 and above of icpc choke on multiply defined symbols
18891 # if we add $predep_objects and $postdep_objects, however 7.1 and
18892 # earlier do not add the objects themselves.
18893 case `$CC -V 2>&1` in
18895 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18896 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'
18898 *) # Version 8.0 or newer
18901 ia64*) tmp_idyn=' -i_dynamic';;
18903 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18904 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'
18907 archive_cmds_need_lc_CXX=no
18908 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18910 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18913 # Portland Group C++ compiler
18914 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18915 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'
18917 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18918 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18919 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'
18923 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18924 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'
18926 runpath_var=LD_RUN_PATH
18927 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18928 hardcode_libdir_separator_CXX=:
18930 # Commands to make compiler produce verbose output that lists
18931 # what "hidden" libraries, object files and flags are used when
18932 # linking a shared library.
18934 # There doesn't appear to be a way to prevent this compiler from
18935 # explicitly linking system object files so we need to strip them
18936 # from the output so that they don't get included in the library
18938 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'
18943 # FIXME: insert proper C++ library support
18947 # FIXME: insert proper C++ library support
18951 case $cc_basename in
18953 # FIXME: insert proper C++ library support
18957 # FIXME: insert proper C++ library support
18963 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18964 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18966 hardcode_libdir_flag_spec_CXX='-R$libdir'
18967 hardcode_direct_CXX=yes
18968 hardcode_shlibpath_var_CXX=no
18970 # Workaround some broken pre-1.5 toolchains
18971 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18974 # C++ shared libraries are fairly broken
18978 hardcode_direct_CXX=yes
18979 hardcode_shlibpath_var_CXX=no
18980 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18981 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18982 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18983 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18984 export_dynamic_flag_spec_CXX='${wl}-E'
18985 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18987 output_verbose_link_cmd='echo'
18990 case $cc_basename in
18992 # Kuck and Associates, Inc. (KAI) C++ Compiler
18994 # KCC will only create a shared library if the output file
18995 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18996 # to its proper name (with version) after linking.
18997 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'
18999 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19000 hardcode_libdir_separator_CXX=:
19002 # Archives containing C++ object files must be created using
19003 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19004 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19008 # Rational C++ 2.4.1
19009 # FIXME: insert proper C++ library support
19013 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19014 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'
19016 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19017 hardcode_libdir_separator_CXX=:
19019 # Commands to make compiler produce verbose output that lists
19020 # what "hidden" libraries, object files and flags are used when
19021 # linking a shared library.
19023 # There doesn't appear to be a way to prevent this compiler from
19024 # explicitly linking system object files so we need to strip them
19025 # from the output so that they don't get included in the library
19027 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'
19030 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19031 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19032 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'
19034 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19035 hardcode_libdir_separator_CXX=:
19037 # Commands to make compiler produce verbose output that lists
19038 # what "hidden" libraries, object files and flags are used when
19039 # linking a shared library.
19040 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19043 # FIXME: insert proper C++ library support
19050 case $cc_basename in
19052 # Kuck and Associates, Inc. (KAI) C++ Compiler
19054 # KCC will only create a shared library if the output file
19055 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19056 # to its proper name (with version) after linking.
19057 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'
19059 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19060 hardcode_libdir_separator_CXX=:
19062 # Archives containing C++ object files must be created using
19063 # the KAI C++ compiler.
19064 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19067 # Rational C++ 2.4.1
19068 # FIXME: insert proper C++ library support
19072 allow_undefined_flag_CXX=' -expect_unresolved \*'
19073 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'
19074 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19075 echo "-hidden">> $lib.exp~
19076 $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~
19079 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19080 hardcode_libdir_separator_CXX=:
19082 # Commands to make compiler produce verbose output that lists
19083 # what "hidden" libraries, object files and flags are used when
19084 # linking a shared library.
19086 # There doesn't appear to be a way to prevent this compiler from
19087 # explicitly linking system object files so we need to strip them
19088 # from the output so that they don't get included in the library
19090 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'
19093 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19094 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19095 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'
19097 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19098 hardcode_libdir_separator_CXX=:
19100 # Commands to make compiler produce verbose output that lists
19101 # what "hidden" libraries, object files and flags are used when
19102 # linking a shared library.
19103 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19106 # FIXME: insert proper C++ library support
19113 # FIXME: insert proper C++ library support
19117 case $cc_basename in
19120 # FIXME: insert proper C++ library support
19125 # FIXME: insert proper C++ library support
19129 # FIXME: insert proper C++ library support
19135 case $cc_basename in
19137 # Sun C++ 4.2, 5.x and Centerline C++
19138 archive_cmds_need_lc_CXX=yes
19139 no_undefined_flag_CXX=' -zdefs'
19140 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19141 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19142 $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'
19144 hardcode_libdir_flag_spec_CXX='-R$libdir'
19145 hardcode_shlibpath_var_CXX=no
19147 solaris2.[0-5] | solaris2.[0-5].*) ;;
19149 # The C++ compiler is used as linker so we must use $wl
19150 # flag to pass the commands to the underlying system
19151 # linker. We must also pass each convience library through
19152 # to the system linker between allextract/defaultextract.
19153 # The C++ compiler will combine linker options so we
19154 # cannot just pass the convience library names through
19156 # Supported since Solaris 2.6 (maybe 2.5.1?)
19157 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'
19160 link_all_deplibs_CXX=yes
19162 output_verbose_link_cmd='echo'
19164 # Archives containing C++ object files must be created using
19165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19166 # necessary to make sure instantiated templates are included
19168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19171 # Green Hills C++ Compiler
19172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19174 # The C++ compiler must be used to create the archive.
19175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19178 # GNU C++ compiler with Solaris linker
19179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19181 if $CC --version | grep -v '^2\.7' > /dev/null; then
19182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19183 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19186 # Commands to make compiler produce verbose output that lists
19187 # what "hidden" libraries, object files and flags are used when
19188 # linking a shared library.
19189 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19194 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19197 # Commands to make compiler produce verbose output that lists
19198 # what "hidden" libraries, object files and flags are used when
19199 # linking a shared library.
19200 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19208 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19209 no_undefined_flag_CXX='${wl}-z,text'
19210 archive_cmds_need_lc_CXX=no
19211 hardcode_shlibpath_var_CXX=no
19212 runpath_var='LD_RUN_PATH'
19214 case $cc_basename in
19216 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19217 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19220 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19221 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19225 sysv5* | sco3.2v5* | sco5v6*)
19226 # Note: We can NOT use -z defs as we might desire, because we do not
19227 # link with -lc, and that would cause any symbols used from libc to
19228 # always be unresolved, which means just about no library would
19229 # ever link correctly. If we're not using GNU ld we use -z text
19230 # though, which does catch some bad symbols but isn't as heavy-handed
19232 # For security reasons, it is highly recommended that you always
19233 # use absolute paths for naming shared libraries, and exclude the
19234 # DT_RUNPATH tag from executables and libraries. But doing so
19235 # requires that you compile everything twice, which is a pain.
19236 # So that behaviour is only enabled if SCOABSPATH is set to a
19237 # non-empty value in the environment. Most likely only useful for
19238 # creating official distributions of packages.
19239 # This is a hack until libtool officially supports absolute path
19240 # names for shared libraries.
19241 no_undefined_flag_CXX='${wl}-z,text'
19242 allow_undefined_flag_CXX='${wl}-z,nodefs'
19243 archive_cmds_need_lc_CXX=no
19244 hardcode_shlibpath_var_CXX=no
19245 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19246 hardcode_libdir_separator_CXX=':'
19247 link_all_deplibs_CXX=yes
19248 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19249 runpath_var='LD_RUN_PATH'
19251 case $cc_basename in
19253 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19254 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19257 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19258 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19263 case $cc_basename in
19265 # NonStop-UX NCC 3.20
19266 # FIXME: insert proper C++ library support
19270 # FIXME: insert proper C++ library support
19276 # FIXME: insert proper C++ library support
19280 # FIXME: insert proper C++ library support
19284 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19285 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19286 test "$ld_shlibs_CXX" = no && can_build_shared=no
19292 cat > conftest.$ac_ext <<EOF
19296 Foo (void) { a = 0; }
19302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19303 (eval $ac_compile) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; then
19307 # Parse the compiler output and extract the necessary
19308 # objects, libraries and library flags.
19310 # Sentinel used to keep track of whether or not we are before
19311 # the conftest object file.
19312 pre_test_object_deps_done=no
19314 # The `*' in the case matches for architectures that use `case' in
19315 # $output_verbose_cmd can trigger glob expansion during the loop
19316 # eval without this substitution.
19317 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19319 for p in `eval $output_verbose_link_cmd`; do
19323 # Some compilers place space between "-{L,R}" and the path.
19324 # Remove the space.
19325 if test $p = "-L" \
19326 || test $p = "-R"; then
19333 if test "$pre_test_object_deps_done" = no; then
19336 # Internal compiler library paths should come after those
19337 # provided the user. The postdeps already come after the
19338 # user supplied libs so there is no need to process them.
19339 if test -z "$compiler_lib_search_path_CXX"; then
19340 compiler_lib_search_path_CXX="${prev}${p}"
19342 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19345 # The "-l" case would never come before the object being
19346 # linked, so don't bother handling this case.
19349 if test -z "$postdeps_CXX"; then
19350 postdeps_CXX="${prev}${p}"
19352 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19358 # This assumes that the test object file only shows up
19359 # once in the compiler output.
19360 if test "$p" = "conftest.$objext"; then
19361 pre_test_object_deps_done=yes
19365 if test "$pre_test_object_deps_done" = no; then
19366 if test -z "$predep_objects_CXX"; then
19367 predep_objects_CXX="$p"
19369 predep_objects_CXX="$predep_objects_CXX $p"
19372 if test -z "$postdep_objects_CXX"; then
19373 postdep_objects_CXX="$p"
19375 postdep_objects_CXX="$postdep_objects_CXX $p"
19380 *) ;; # Ignore the rest.
19388 echo "libtool.m4: error: problem compiling CXX test program"
19391 $rm -f confest.$objext
19393 # PORTME: override above test on systems where it is broken
19396 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19397 # hack all around it, let's just trust "g++" to DTRT.
19398 predep_objects_CXX=
19399 postdep_objects_CXX=
19404 case $cc_basename in
19406 # Adding this requires a known-good setup of shared libraries for
19407 # Sun compiler versions before 5.6, else PIC objects from an old
19408 # archive will be linked into the output, leading to subtle bugs.
19409 postdeps_CXX='-lCstd -lCrun'
19416 case " $postdeps_CXX " in
19417 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19420 lt_prog_compiler_wl_CXX=
19421 lt_prog_compiler_pic_CXX=
19422 lt_prog_compiler_static_CXX=
19424 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19425 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19427 # C++ specific cases for pic, static, wl, etc.
19428 if test "$GXX" = yes; then
19429 lt_prog_compiler_wl_CXX='-Wl,'
19430 lt_prog_compiler_static_CXX='-static'
19434 # All AIX code is PIC.
19435 if test "$host_cpu" = ia64; then
19436 # AIX 5 now supports IA64 processor
19437 lt_prog_compiler_static_CXX='-Bstatic'
19441 # FIXME: we need at least 68020 code to build shared libraries, but
19442 # adding the `-m68020' flag to GCC prevents building anything better,
19444 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19446 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19447 # PIC is the default for these OSes.
19449 mingw* | os2* | pw32*)
19450 # This hack is so that the source file can tell whether it is being
19451 # built for inclusion in a dll (and should export symbols for example).
19452 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19454 darwin* | rhapsody*)
19455 # PIC is the default on this platform
19456 # Common symbols not allowed in MH_DYLIB files
19457 lt_prog_compiler_pic_CXX='-fno-common'
19460 # DJGPP does not support shared libraries at all
19461 lt_prog_compiler_pic_CXX=
19464 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19465 # Instead, we relocate shared libraries at runtime.
19468 if test -d /usr/nec; then
19469 lt_prog_compiler_pic_CXX=-Kconform_pic
19473 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19474 # not for PA HP-UX.
19479 lt_prog_compiler_pic_CXX='-fPIC'
19484 lt_prog_compiler_pic_CXX='-fPIC'
19490 # All AIX code is PIC.
19491 if test "$host_cpu" = ia64; then
19492 # AIX 5 now supports IA64 processor
19493 lt_prog_compiler_static_CXX='-Bstatic'
19495 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19499 case $cc_basename in
19501 # Green Hills C++ Compiler
19502 # _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"
19507 # PIC is the default on this platform
19508 # Common symbols not allowed in MH_DYLIB files
19509 case $cc_basename in
19511 lt_prog_compiler_pic_CXX='-qnocommon'
19512 lt_prog_compiler_wl_CXX='-Wl,'
19517 case $cc_basename in
19519 lt_prog_compiler_pic_CXX='-KPIC'
19522 # Green Hills C++ Compiler
19523 lt_prog_compiler_pic_CXX='-pic'
19529 freebsd* | kfreebsd*-gnu | dragonfly*)
19530 # FreeBSD uses GNU C++
19532 hpux9* | hpux10* | hpux11*)
19533 case $cc_basename in
19535 lt_prog_compiler_wl_CXX='-Wl,'
19536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19537 if test "$host_cpu" != ia64; then
19538 lt_prog_compiler_pic_CXX='+Z'
19542 lt_prog_compiler_wl_CXX='-Wl,'
19543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19549 lt_prog_compiler_pic_CXX='+Z'
19558 # This is c89, which is MS Visual C++ (no shared libs)
19559 # Anyone wants to do a port?
19561 irix5* | irix6* | nonstopux*)
19562 case $cc_basename in
19564 lt_prog_compiler_wl_CXX='-Wl,'
19565 lt_prog_compiler_static_CXX='-non_shared'
19566 # CC pic flag -KPIC is the default.
19573 case $cc_basename in
19576 lt_prog_compiler_wl_CXX='--backend -Wl,'
19577 lt_prog_compiler_pic_CXX='-fPIC'
19581 lt_prog_compiler_wl_CXX='-Wl,'
19582 lt_prog_compiler_pic_CXX='-KPIC'
19583 lt_prog_compiler_static_CXX='-static'
19586 # Portland Group C++ compiler.
19587 lt_prog_compiler_wl_CXX='-Wl,'
19588 lt_prog_compiler_pic_CXX='-fpic'
19589 lt_prog_compiler_static_CXX='-Bstatic'
19593 # Make sure the PIC flag is empty. It appears that all Alpha
19594 # Linux and Compaq Tru64 Unix objects are PIC.
19595 lt_prog_compiler_pic_CXX=
19596 lt_prog_compiler_static_CXX='-non_shared'
19607 case $cc_basename in
19609 lt_prog_compiler_pic_CXX='-W c,exportall'
19617 osf3* | osf4* | osf5*)
19618 case $cc_basename in
19620 lt_prog_compiler_wl_CXX='--backend -Wl,'
19623 # Rational C++ 2.4.1
19624 lt_prog_compiler_pic_CXX='-pic'
19627 # Digital/Compaq C++
19628 lt_prog_compiler_wl_CXX='-Wl,'
19629 # Make sure the PIC flag is empty. It appears that all Alpha
19630 # Linux and Compaq Tru64 Unix objects are PIC.
19631 lt_prog_compiler_pic_CXX=
19632 lt_prog_compiler_static_CXX='-non_shared'
19641 case $cc_basename in
19643 # Sun C++ 4.2, 5.x and Centerline C++
19644 lt_prog_compiler_pic_CXX='-KPIC'
19645 lt_prog_compiler_static_CXX='-Bstatic'
19646 lt_prog_compiler_wl_CXX='-Qoption ld '
19649 # Green Hills C++ Compiler
19650 lt_prog_compiler_pic_CXX='-PIC'
19657 case $cc_basename in
19660 lt_prog_compiler_pic_CXX='-pic'
19661 lt_prog_compiler_static_CXX='-Bstatic'
19665 lt_prog_compiler_pic_CXX='-pic'
19672 case $cc_basename in
19674 # NonStop-UX NCC 3.20
19675 lt_prog_compiler_pic_CXX='-KPIC'
19681 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19682 case $cc_basename in
19684 lt_prog_compiler_wl_CXX='-Wl,'
19685 lt_prog_compiler_pic_CXX='-KPIC'
19686 lt_prog_compiler_static_CXX='-Bstatic'
19693 lt_prog_compiler_can_build_shared_CXX=no
19698 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19699 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19702 # Check to make sure the PIC flag actually works.
19704 if test -n "$lt_prog_compiler_pic_CXX"; then
19706 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19707 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19708 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19709 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 lt_prog_compiler_pic_works_CXX=no
19712 ac_outfile=conftest.$ac_objext
19713 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19714 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19715 # Insert the option either (1) after the last *FLAGS variable, or
19716 # (2) before a word containing "conftest.", or (3) at the end.
19717 # Note that $ac_compile itself does not contain backslashes and begins
19718 # with a dollar sign (not a hyphen), so the echo should work correctly.
19719 # The option is referenced via a variable to avoid confusing sed.
19720 lt_compile=`echo "$ac_compile" | $SED \
19721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19723 -e 's:$: $lt_compiler_flag:'`
19724 (eval echo "\"\$as_me:19724: $lt_compile\"" >&5)
19725 (eval "$lt_compile" 2>conftest.err)
19727 cat conftest.err >&5
19728 echo "$as_me:19728: \$? = $ac_status" >&5
19729 if (exit $ac_status) && test -s "$ac_outfile"; then
19730 # The compiler can only warn and ignore the option if not recognized
19731 # So say no if there are warnings other than the usual output.
19732 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19733 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19734 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19735 lt_prog_compiler_pic_works_CXX=yes
19741 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19742 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19744 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
19745 case $lt_prog_compiler_pic_CXX in
19747 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19750 lt_prog_compiler_pic_CXX=
19751 lt_prog_compiler_can_build_shared_CXX=no
19756 # For platforms which do not support PIC, -DPIC is meaningless:
19758 lt_prog_compiler_pic_CXX=
19761 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19766 # Check to make sure the static flag actually works.
19768 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19769 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19770 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19771 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 lt_prog_compiler_static_works_CXX=no
19775 save_LDFLAGS="$LDFLAGS"
19776 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19777 printf "$lt_simple_link_test_code" > conftest.$ac_ext
19778 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19779 # The linker can only warn and ignore the option if not recognized
19780 # So say no if there are warnings
19781 if test -s conftest.err; then
19782 # Append any errors to the config.log.
19783 cat conftest.err 1>&5
19784 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19785 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19786 if diff conftest.exp conftest.er2 >/dev/null; then
19787 lt_prog_compiler_static_works_CXX=yes
19790 lt_prog_compiler_static_works_CXX=yes
19794 LDFLAGS="$save_LDFLAGS"
19797 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19798 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19800 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
19803 lt_prog_compiler_static_CXX=
19807 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19808 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19809 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19810 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 lt_cv_prog_compiler_c_o_CXX=no
19813 $rm -r conftest 2>/dev/null
19817 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19819 lt_compiler_flag="-o out/conftest2.$ac_objext"
19820 # Insert the option either (1) after the last *FLAGS variable, or
19821 # (2) before a word containing "conftest.", or (3) at the end.
19822 # Note that $ac_compile itself does not contain backslashes and begins
19823 # with a dollar sign (not a hyphen), so the echo should work correctly.
19824 lt_compile=`echo "$ac_compile" | $SED \
19825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19827 -e 's:$: $lt_compiler_flag:'`
19828 (eval echo "\"\$as_me:19828: $lt_compile\"" >&5)
19829 (eval "$lt_compile" 2>out/conftest.err)
19831 cat out/conftest.err >&5
19832 echo "$as_me:19832: \$? = $ac_status" >&5
19833 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19835 # The compiler can only warn and ignore the option if not recognized
19836 # So say no if there are warnings
19837 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19838 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19839 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19840 lt_cv_prog_compiler_c_o_CXX=yes
19845 # SGI C++ compiler will create directory out/ii_files/ for
19846 # template instantiation
19847 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19848 $rm out/* && rmdir out
19854 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19855 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19858 hard_links="nottested"
19859 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19860 # do not overwrite the value of need_locks provided by the user
19861 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19865 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19867 ln conftest.a conftest.b 2>&5 || hard_links=no
19868 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19869 { echo "$as_me:$LINENO: result: $hard_links" >&5
19870 echo "${ECHO_T}$hard_links" >&6; }
19871 if test "$hard_links" = no; then
19872 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19880 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19881 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19883 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19886 # If we're using GNU nm, then we don't want the "-C" option.
19887 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19888 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19889 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'
19891 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'
19895 export_symbols_cmds_CXX="$ltdll_cmds"
19898 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'
19901 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19905 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19906 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19907 test "$ld_shlibs_CXX" = no && can_build_shared=no
19910 # Do we need to explicitly link libc?
19912 case "x$archive_cmds_need_lc_CXX" in
19914 # Assume -lc should be added
19915 archive_cmds_need_lc_CXX=yes
19917 if test "$enable_shared" = yes && test "$GCC" = yes; then
19918 case $archive_cmds_CXX in
19920 # FIXME: we may have to deal with multi-command sequences.
19923 # Test whether the compiler implicitly links with -lc since on some
19924 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19925 # to ld, don't add -lc before -lgcc.
19926 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19927 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19929 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19932 (eval $ac_compile) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } 2>conftest.err; then
19938 libobjs=conftest.$ac_objext
19940 wl=$lt_prog_compiler_wl_CXX
19941 pic_flag=$lt_prog_compiler_pic_CXX
19947 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19948 allow_undefined_flag_CXX=
19949 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19950 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }
19955 archive_cmds_need_lc_CXX=no
19957 archive_cmds_need_lc_CXX=yes
19959 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19961 cat conftest.err 1>&5
19964 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19965 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19972 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19973 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19974 library_names_spec=
19975 libname_spec='lib$name'
19979 postuninstall_cmds=
19983 shlibpath_overrides_runpath=unknown
19985 dynamic_linker="$host_os ld.so"
19986 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19987 if test "$GCC" = yes; then
19988 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19989 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19990 # if the path contains ";" then we assume it to be the separator
19991 # otherwise default to the standard path separator (i.e. ":") - it is
19992 # assumed that no part of a normal pathname contains ";" but that should
19993 # okay in the real world where ";" in dirpaths is itself problematic.
19994 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19996 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19999 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20001 need_lib_prefix=unknown
20002 hardcode_into_libs=no
20004 # when you set need_version to no, make sure it does not cause -set_version
20005 # flags to be left without arguments
20006 need_version=unknown
20011 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20012 shlibpath_var=LIBPATH
20014 # AIX 3 has no versioning support, so we append a major version to the name.
20015 soname_spec='${libname}${release}${shared_ext}$major'
20022 hardcode_into_libs=yes
20023 if test "$host_cpu" = ia64; then
20024 # AIX 5 supports IA64
20025 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20026 shlibpath_var=LD_LIBRARY_PATH
20028 # With GCC up to 2.95.x, collect2 would create an import file
20029 # for dependence libraries. The import file would start with
20030 # the line `#! .'. This would cause the generated library to
20031 # depend on `.', always an invalid library. This was fixed in
20032 # development snapshots of GCC prior to 3.0.
20034 aix4 | aix4.[01] | aix4.[01].*)
20035 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20037 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20040 can_build_shared=no
20044 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20045 # soname into executable. Probably we can add versioning support to
20046 # collect2, so additional links can be useful in future.
20047 if test "$aix_use_runtimelinking" = yes; then
20048 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20049 # instead of lib<name>.a to let people know that these are not
20050 # typical AIX shared libraries.
20051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20053 # We preserve .a as extension for shared libraries through AIX4.2
20054 # and later when we are not doing run time linking.
20055 library_names_spec='${libname}${release}.a $libname.a'
20056 soname_spec='${libname}${release}${shared_ext}$major'
20058 shlibpath_var=LIBPATH
20063 library_names_spec='$libname.ixlibrary $libname.a'
20064 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20065 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'
20069 library_names_spec='${libname}${shared_ext}'
20070 dynamic_linker="$host_os ld.so"
20071 shlibpath_var=LIBRARY_PATH
20077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20078 soname_spec='${libname}${release}${shared_ext}$major'
20079 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20080 shlibpath_var=LD_LIBRARY_PATH
20081 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20082 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20083 # the default ld.so.conf also contains /usr/contrib/lib and
20084 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20085 # libtool to hard-code these into programs
20088 cygwin* | mingw* | pw32*)
20089 version_type=windows
20094 case $GCC,$host_os in
20095 yes,cygwin* | yes,mingw* | yes,pw32*)
20096 library_names_spec='$libname.dll.a'
20097 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20098 postinstall_cmds='base_file=`basename \${file}`~
20099 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20100 dldir=$destdir/`dirname \$dlpath`~
20101 test -d \$dldir || mkdir -p \$dldir~
20102 $install_prog $dir/$dlname \$dldir/$dlname~
20103 chmod a+x \$dldir/$dlname'
20104 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20105 dlpath=$dir/\$dldll~
20107 shlibpath_overrides_runpath=yes
20111 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20112 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20113 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20116 # MinGW DLLs use traditional 'lib' prefix
20117 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20118 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20119 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20120 # It is most probably a Windows format PATH printed by
20121 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20122 # path with ; separators, and with drive letters. We can handle the
20123 # drive letters (cygwin fileutils understands them), so leave them,
20124 # especially as we might pass files found there to a mingw objdump,
20125 # which wouldn't understand a cygwinified path. Ahh.
20126 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20128 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20132 # pw32 DLLs use 'pw' prefix rather than 'lib'
20133 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20139 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20142 dynamic_linker='Win32 ld.exe'
20143 # FIXME: first we should search . and the directory the executable is in
20147 darwin* | rhapsody*)
20148 dynamic_linker="$host_os dyld"
20149 version_type=darwin
20152 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20153 soname_spec='${libname}${release}${major}$shared_ext'
20154 shlibpath_overrides_runpath=yes
20155 shlibpath_var=DYLD_LIBRARY_PATH
20156 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20157 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20158 if test "$GCC" = yes; then
20159 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"`
20161 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20163 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20171 soname_spec='${libname}${release}${shared_ext}$major'
20172 shlibpath_var=LD_LIBRARY_PATH
20183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20184 soname_spec='${libname}${release}${shared_ext}$major'
20185 shlibpath_var=LD_LIBRARY_PATH
20186 shlibpath_overrides_runpath=no
20187 hardcode_into_libs=yes
20188 dynamic_linker='GNU ld.so'
20191 freebsd* | dragonfly*)
20192 # DragonFly does not have aout. When/if they implement a new
20193 # versioning mechanism, adjust this.
20194 if test -x /usr/bin/objformat; then
20195 objformat=`/usr/bin/objformat`
20198 freebsd[123]*) objformat=aout ;;
20199 *) objformat=elf ;;
20202 version_type=freebsd-$objformat
20203 case $version_type in
20205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20210 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20214 shlibpath_var=LD_LIBRARY_PATH
20217 shlibpath_overrides_runpath=yes
20219 freebsd3.[01]* | freebsdelf3.[01]*)
20220 shlibpath_overrides_runpath=yes
20221 hardcode_into_libs=yes
20223 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20224 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20225 shlibpath_overrides_runpath=no
20226 hardcode_into_libs=yes
20228 freebsd*) # from 4.6 on
20229 shlibpath_overrides_runpath=yes
20230 hardcode_into_libs=yes
20239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20240 soname_spec='${libname}${release}${shared_ext}$major'
20241 shlibpath_var=LD_LIBRARY_PATH
20242 hardcode_into_libs=yes
20245 hpux9* | hpux10* | hpux11*)
20246 # Give a soname corresponding to the major version so that dld.sl refuses to
20247 # link against other versions.
20254 hardcode_into_libs=yes
20255 dynamic_linker="$host_os dld.so"
20256 shlibpath_var=LD_LIBRARY_PATH
20257 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20259 soname_spec='${libname}${release}${shared_ext}$major'
20260 if test "X$HPUX_IA64_MODE" = X32; then
20261 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20263 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20265 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20269 hardcode_into_libs=yes
20270 dynamic_linker="$host_os dld.sl"
20271 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20272 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20274 soname_spec='${libname}${release}${shared_ext}$major'
20275 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20276 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20280 dynamic_linker="$host_os dld.sl"
20281 shlibpath_var=SHLIB_PATH
20282 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20284 soname_spec='${libname}${release}${shared_ext}$major'
20287 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20288 postinstall_cmds='chmod 555 $lib'
20295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20296 soname_spec='${libname}${release}${shared_ext}$major'
20297 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20298 shlibpath_var=LD_LIBRARY_PATH
20299 shlibpath_overrides_runpath=no
20300 hardcode_into_libs=yes
20303 irix5* | irix6* | nonstopux*)
20305 nonstopux*) version_type=nonstopux ;;
20307 if test "$lt_cv_prog_gnu_ld" = yes; then
20315 soname_spec='${libname}${release}${shared_ext}$major'
20316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20318 irix5* | nonstopux*)
20319 libsuff= shlibsuff=
20322 case $LD in # libtool.m4 will add one of these switches to LD
20323 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20324 libsuff= shlibsuff= libmagic=32-bit;;
20325 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20326 libsuff=32 shlibsuff=N32 libmagic=N32;;
20327 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20328 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20329 *) libsuff= shlibsuff= libmagic=never-match;;
20333 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20334 shlibpath_overrides_runpath=no
20335 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20336 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20337 hardcode_into_libs=yes
20340 # No shared lib support for Linux oldld, aout, or coff.
20341 linux*oldld* | linux*aout* | linux*coff*)
20345 # This must be Linux ELF.
20350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20351 soname_spec='${libname}${release}${shared_ext}$major'
20352 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20353 shlibpath_var=LD_LIBRARY_PATH
20354 shlibpath_overrides_runpath=no
20355 # This implies no fast_install, which is unacceptable.
20356 # Some rework will be needed to allow for fast_install
20357 # before this can be enabled.
20358 hardcode_into_libs=yes
20360 # find out which ABI we are using
20362 case "$host_cpu" in
20363 x86_64*|s390x*|powerpc64*)
20364 echo '#line 20364 "configure"' > conftest.$ac_ext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20366 (eval $ac_compile) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; then
20370 case `/usr/bin/file conftest.$ac_objext` in
20373 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20381 # Append ld.so.conf contents to the search path
20382 if test -f /etc/ld.so.conf; then
20383 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' ' '`
20384 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
20387 # We used to test for /lib/ld.so.1 and disable shared libraries on
20388 # powerpc, because MkLinux only supported shared libraries with the
20389 # GNU dynamic linker. Since this was broken with cross compilers,
20390 # most powerpc-linux boxes support dynamic linking these days and
20391 # people can always --disable-shared, the test was removed, and we
20392 # assume the GNU/Linux dynamic linker is in use.
20393 dynamic_linker='GNU/Linux ld.so'
20400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20401 soname_spec='${libname}${release}${shared_ext}$major'
20402 shlibpath_var=LD_LIBRARY_PATH
20403 shlibpath_overrides_runpath=no
20404 hardcode_into_libs=yes
20405 dynamic_linker='GNU ld.so'
20412 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20414 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20415 dynamic_linker='NetBSD (a.out) ld.so'
20417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20418 soname_spec='${libname}${release}${shared_ext}$major'
20419 dynamic_linker='NetBSD ld.elf_so'
20421 shlibpath_var=LD_LIBRARY_PATH
20422 shlibpath_overrides_runpath=yes
20423 hardcode_into_libs=yes
20428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20429 shlibpath_var=LD_LIBRARY_PATH
20430 shlibpath_overrides_runpath=yes
20437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20438 soname_spec='${libname}${release}${shared_ext}$major'
20439 shlibpath_var=LD_LIBRARY_PATH
20440 shlibpath_overrides_runpath=yes
20445 sys_lib_dlsearch_path_spec="/usr/lib"
20447 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20449 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20450 *) need_version=no ;;
20452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20453 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20454 shlibpath_var=LD_LIBRARY_PATH
20455 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20457 openbsd2.[89] | openbsd2.[89].*)
20458 shlibpath_overrides_runpath=no
20461 shlibpath_overrides_runpath=yes
20465 shlibpath_overrides_runpath=yes
20470 libname_spec='$name'
20473 library_names_spec='$libname${shared_ext} $libname.a'
20474 dynamic_linker='OS/2 ld.exe'
20475 shlibpath_var=LIBPATH
20478 osf3* | osf4* | osf5*)
20482 soname_spec='${libname}${release}${shared_ext}$major'
20483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20484 shlibpath_var=LD_LIBRARY_PATH
20485 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20486 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20494 soname_spec='${libname}${release}${shared_ext}$major'
20495 shlibpath_var=LD_LIBRARY_PATH
20496 shlibpath_overrides_runpath=yes
20497 hardcode_into_libs=yes
20498 # ldd complains unless libraries are executable
20499 postinstall_cmds='chmod +x $lib'
20504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20505 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20506 shlibpath_var=LD_LIBRARY_PATH
20507 shlibpath_overrides_runpath=yes
20508 if test "$with_gnu_ld" = yes; then
20516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20517 soname_spec='${libname}${release}${shared_ext}$major'
20518 shlibpath_var=LD_LIBRARY_PATH
20519 case $host_vendor in
20521 shlibpath_overrides_runpath=no
20523 export_dynamic_flag_spec='${wl}-Blargedynsym'
20524 runpath_var=LD_RUN_PATH
20532 shlibpath_overrides_runpath=no
20533 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20539 if test -d /usr/nec ;then
20541 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20542 soname_spec='$libname${shared_ext}.$major'
20543 shlibpath_var=LD_LIBRARY_PATH
20547 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20548 version_type=freebsd-elf
20551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20552 soname_spec='${libname}${release}${shared_ext}$major'
20553 shlibpath_var=LD_LIBRARY_PATH
20554 hardcode_into_libs=yes
20555 if test "$with_gnu_ld" = yes; then
20556 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20557 shlibpath_overrides_runpath=no
20559 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20560 shlibpath_overrides_runpath=yes
20563 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20567 sys_lib_dlsearch_path_spec='/usr/lib'
20572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20573 soname_spec='${libname}${release}${shared_ext}$major'
20574 shlibpath_var=LD_LIBRARY_PATH
20581 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20582 echo "${ECHO_T}$dynamic_linker" >&6; }
20583 test "$dynamic_linker" = no && can_build_shared=no
20585 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20586 if test "$GCC" = yes; then
20587 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20590 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20591 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20592 hardcode_action_CXX=
20593 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20594 test -n "$runpath_var_CXX" || \
20595 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20597 # We can hardcode non-existant directories.
20598 if test "$hardcode_direct_CXX" != no &&
20599 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20600 # have to relink, otherwise we might link with an installed library
20601 # when we should be linking with a yet-to-be-installed one
20602 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20603 test "$hardcode_minus_L_CXX" != no; then
20604 # Linking always hardcodes the temporary library directory.
20605 hardcode_action_CXX=relink
20607 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20608 hardcode_action_CXX=immediate
20611 # We cannot hardcode anything, or else we can only hardcode existing
20613 hardcode_action_CXX=unsupported
20615 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20616 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20618 if test "$hardcode_action_CXX" = relink; then
20619 # Fast installation is not supported
20620 enable_fast_install=no
20621 elif test "$shlibpath_overrides_runpath" = yes ||
20622 test "$enable_shared" = no; then
20623 # Fast installation is not necessary
20624 enable_fast_install=needless
20628 # The else clause should only fire when bootstrapping the
20629 # libtool distribution, otherwise you forgot to ship ltmain.sh
20630 # with your package, and you will get complaints that there are
20631 # no rules to generate ltmain.sh.
20632 if test -f "$ltmain"; then
20633 # See if we are running on zsh, and set the options which allow our commands through
20634 # without removal of \ escapes.
20635 if test -n "${ZSH_VERSION+set}" ; then
20636 setopt NO_GLOB_SUBST
20638 # Now quote all the things that may contain metacharacters while being
20639 # careful not to overquote the AC_SUBSTed values. We take copies of the
20640 # variables and quote the copies for generation of the libtool script.
20641 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20643 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20644 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20645 deplibs_check_method reload_flag reload_cmds need_locks \
20646 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20647 lt_cv_sys_global_symbol_to_c_name_address \
20648 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20649 old_postinstall_cmds old_postuninstall_cmds \
20653 lt_prog_compiler_wl_CXX \
20654 lt_prog_compiler_pic_CXX \
20655 lt_prog_compiler_static_CXX \
20656 lt_prog_compiler_no_builtin_flag_CXX \
20657 export_dynamic_flag_spec_CXX \
20658 thread_safe_flag_spec_CXX \
20659 whole_archive_flag_spec_CXX \
20660 enable_shared_with_static_runtimes_CXX \
20661 old_archive_cmds_CXX \
20662 old_archive_from_new_cmds_CXX \
20663 predep_objects_CXX \
20664 postdep_objects_CXX \
20667 compiler_lib_search_path_CXX \
20669 archive_expsym_cmds_CXX \
20670 postinstall_cmds_CXX \
20671 postuninstall_cmds_CXX \
20672 old_archive_from_expsyms_cmds_CXX \
20673 allow_undefined_flag_CXX \
20674 no_undefined_flag_CXX \
20675 export_symbols_cmds_CXX \
20676 hardcode_libdir_flag_spec_CXX \
20677 hardcode_libdir_flag_spec_ld_CXX \
20678 hardcode_libdir_separator_CXX \
20679 hardcode_automatic_CXX \
20681 module_expsym_cmds_CXX \
20682 lt_cv_prog_compiler_c_o_CXX \
20683 exclude_expsyms_CXX \
20684 include_expsyms_CXX; do
20687 old_archive_cmds_CXX | \
20688 old_archive_from_new_cmds_CXX | \
20689 archive_cmds_CXX | \
20690 archive_expsym_cmds_CXX | \
20691 module_cmds_CXX | \
20692 module_expsym_cmds_CXX | \
20693 old_archive_from_expsyms_cmds_CXX | \
20694 export_symbols_cmds_CXX | \
20695 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20696 postinstall_cmds | postuninstall_cmds | \
20697 old_postinstall_cmds | old_postuninstall_cmds | \
20698 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20699 # Double-quote double-evaled strings.
20700 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20703 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20709 *'\$0 --fallback-echo"')
20710 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20716 cat <<__EOF__ >> "$cfgfile"
20717 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20719 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20721 # Shell to use when invoking shell scripts.
20724 # Whether or not to build shared libraries.
20725 build_libtool_libs=$enable_shared
20727 # Whether or not to build static libraries.
20728 build_old_libs=$enable_static
20730 # Whether or not to add -lc for building shared libraries.
20731 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20733 # Whether or not to disallow shared libs when runtime libs are static
20734 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20736 # Whether or not to optimize for fast installation.
20737 fast_install=$enable_fast_install
20740 host_alias=$host_alias
20744 # The build system.
20745 build_alias=$build_alias
20749 # An echo program that does not interpret backslashes.
20754 AR_FLAGS=$lt_AR_FLAGS
20759 # LTCC compiler flags.
20760 LTCFLAGS=$lt_LTCFLAGS
20762 # A language-specific compiler.
20763 CC=$lt_compiler_CXX
20765 # Is the compiler the GNU C compiler?
20771 # The linker used to build libraries.
20774 # Whether we need hard or soft links.
20777 # A BSD-compatible nm program.
20780 # A symbol stripping program
20783 # Used to examine libraries when file_magic_cmd begins "file"
20784 MAGIC_CMD=$MAGIC_CMD
20786 # Used on cygwin: DLL creation program.
20789 # Used on cygwin: object dumper.
20792 # Used on cygwin: assembler.
20795 # The name of the directory that contains temporary libtool files.
20798 # How to create reloadable object files.
20799 reload_flag=$lt_reload_flag
20800 reload_cmds=$lt_reload_cmds
20802 # How to pass a linker flag through the compiler.
20803 wl=$lt_lt_prog_compiler_wl_CXX
20805 # Object file suffix (normally "o").
20806 objext="$ac_objext"
20808 # Old archive suffix (normally "a").
20811 # Shared library suffix (normally ".so").
20812 shrext_cmds='$shrext_cmds'
20814 # Executable file suffix (normally "").
20817 # Additional compiler flags for building library objects.
20818 pic_flag=$lt_lt_prog_compiler_pic_CXX
20821 # What is the maximum length of a command?
20822 max_cmd_len=$lt_cv_sys_max_cmd_len
20824 # Does compiler simultaneously support -c and -o options?
20825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20827 # Must we lock files when doing compilation?
20828 need_locks=$lt_need_locks
20830 # Do we need the lib prefix for modules?
20831 need_lib_prefix=$need_lib_prefix
20833 # Do we need a version for libraries?
20834 need_version=$need_version
20836 # Whether dlopen is supported.
20837 dlopen_support=$enable_dlopen
20839 # Whether dlopen of programs is supported.
20840 dlopen_self=$enable_dlopen_self
20842 # Whether dlopen of statically linked programs is supported.
20843 dlopen_self_static=$enable_dlopen_self_static
20845 # Compiler flag to prevent dynamic linking.
20846 link_static_flag=$lt_lt_prog_compiler_static_CXX
20848 # Compiler flag to turn off builtin functions.
20849 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20851 # Compiler flag to allow reflexive dlopens.
20852 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20854 # Compiler flag to generate shared objects directly from archives.
20855 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20857 # Compiler flag to generate thread-safe objects.
20858 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20860 # Library versioning type.
20861 version_type=$version_type
20863 # Format of library name prefix.
20864 libname_spec=$lt_libname_spec
20866 # List of archive names. First name is the real one, the rest are links.
20867 # The last name is the one that the linker finds with -lNAME.
20868 library_names_spec=$lt_library_names_spec
20870 # The coded name of the library, if different from the real name.
20871 soname_spec=$lt_soname_spec
20873 # Commands used to build and install an old-style archive.
20875 old_archive_cmds=$lt_old_archive_cmds_CXX
20876 old_postinstall_cmds=$lt_old_postinstall_cmds
20877 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20879 # Create an old-style archive from a shared archive.
20880 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20882 # Create a temporary old-style archive to link instead of a shared archive.
20883 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20885 # Commands used to build and install a shared archive.
20886 archive_cmds=$lt_archive_cmds_CXX
20887 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20888 postinstall_cmds=$lt_postinstall_cmds
20889 postuninstall_cmds=$lt_postuninstall_cmds
20891 # Commands used to build a loadable module (assumed same as above if empty)
20892 module_cmds=$lt_module_cmds_CXX
20893 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20895 # Commands to strip libraries.
20896 old_striplib=$lt_old_striplib
20897 striplib=$lt_striplib
20899 # Dependencies to place before the objects being linked to create a
20901 predep_objects=$lt_predep_objects_CXX
20903 # Dependencies to place after the objects being linked to create a
20905 postdep_objects=$lt_postdep_objects_CXX
20907 # Dependencies to place before the objects being linked to create a
20909 predeps=$lt_predeps_CXX
20911 # Dependencies to place after the objects being linked to create a
20913 postdeps=$lt_postdeps_CXX
20915 # The library search path used internally by the compiler when linking
20916 # a shared library.
20917 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20919 # Method to check whether dependent libraries are shared objects.
20920 deplibs_check_method=$lt_deplibs_check_method
20922 # Command to use when deplibs_check_method == file_magic.
20923 file_magic_cmd=$lt_file_magic_cmd
20925 # Flag that allows shared libraries with undefined symbols to be built.
20926 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20928 # Flag that forces no undefined symbols.
20929 no_undefined_flag=$lt_no_undefined_flag_CXX
20931 # Commands used to finish a libtool library installation in a directory.
20932 finish_cmds=$lt_finish_cmds
20934 # Same as above, but a single script fragment to be evaled but not shown.
20935 finish_eval=$lt_finish_eval
20937 # Take the output of nm and produce a listing of raw symbols and C names.
20938 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20940 # Transform the output of nm in a proper C declaration
20941 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20943 # Transform the output of nm in a C name address pair
20944 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20946 # This is the shared library runtime path variable.
20947 runpath_var=$runpath_var
20949 # This is the shared library path variable.
20950 shlibpath_var=$shlibpath_var
20952 # Is shlibpath searched before the hard-coded library search path?
20953 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20955 # How to hardcode a shared library path into an executable.
20956 hardcode_action=$hardcode_action_CXX
20958 # Whether we should hardcode library paths into libraries.
20959 hardcode_into_libs=$hardcode_into_libs
20961 # Flag to hardcode \$libdir into a binary during linking.
20962 # This must work even if \$libdir does not exist.
20963 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20965 # If ld is used when linking, flag to hardcode \$libdir into
20966 # a binary during linking. This must work even if \$libdir does
20968 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20970 # Whether we need a single -rpath flag with a separated argument.
20971 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20973 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20974 # resulting binary.
20975 hardcode_direct=$hardcode_direct_CXX
20977 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20978 # resulting binary.
20979 hardcode_minus_L=$hardcode_minus_L_CXX
20981 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20982 # the resulting binary.
20983 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20985 # Set to yes if building a shared library automatically hardcodes DIR into the library
20986 # and all subsequent libraries and executables linked against it.
20987 hardcode_automatic=$hardcode_automatic_CXX
20989 # Variables whose values should be saved in libtool wrapper scripts and
20990 # restored at relink time.
20991 variables_saved_for_relink="$variables_saved_for_relink"
20993 # Whether libtool must link a program against all its dependency libraries.
20994 link_all_deplibs=$link_all_deplibs_CXX
20996 # Compile-time system search path for libraries
20997 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20999 # Run-time system search path for libraries
21000 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21002 # Fix the shell variable \$srcfile for the compiler.
21003 fix_srcfile_path="$fix_srcfile_path_CXX"
21005 # Set to yes if exported symbols are required.
21006 always_export_symbols=$always_export_symbols_CXX
21008 # The commands to list exported symbols.
21009 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21011 # The commands to extract the exported symbol list from a shared archive.
21012 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21014 # Symbols that should not be listed in the preloaded symbols.
21015 exclude_expsyms=$lt_exclude_expsyms_CXX
21017 # Symbols that must always be exported.
21018 include_expsyms=$lt_include_expsyms_CXX
21020 # ### END LIBTOOL TAG CONFIG: $tagname
21026 # If there is no Makefile yet, we rely on a make rule to execute
21027 # `config.status --recheck' to rerun these tests and create the
21028 # libtool script then.
21029 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21030 if test -f "$ltmain_in"; then
21031 test -f Makefile && make "$ltmain"
21037 ac_cpp='$CPP $CPPFLAGS'
21038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21046 with_gnu_ldcxx=$with_gnu_ld
21047 with_gnu_ld=$lt_save_with_gnu_ld
21048 lt_cv_path_LDCXX=$lt_cv_path_LD
21049 lt_cv_path_LD=$lt_save_path_LD
21050 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21051 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21059 if test -n "$F77" && test "X$F77" != "Xno"; then
21062 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21063 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21067 archive_cmds_need_lc_F77=no
21068 allow_undefined_flag_F77=
21069 always_export_symbols_F77=no
21070 archive_expsym_cmds_F77=
21071 export_dynamic_flag_spec_F77=
21072 hardcode_direct_F77=no
21073 hardcode_libdir_flag_spec_F77=
21074 hardcode_libdir_flag_spec_ld_F77=
21075 hardcode_libdir_separator_F77=
21076 hardcode_minus_L_F77=no
21077 hardcode_automatic_F77=no
21079 module_expsym_cmds_F77=
21080 link_all_deplibs_F77=unknown
21081 old_archive_cmds_F77=$old_archive_cmds
21082 no_undefined_flag_F77=
21083 whole_archive_flag_spec_F77=
21084 enable_shared_with_static_runtimes_F77=no
21086 # Source file extension for f77 test sources.
21089 # Object file extension for compiled f77 test sources.
21093 # Code to be used in simple compile tests
21094 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
21096 # Code to be used in simple link tests
21097 lt_simple_link_test_code=" program t\n end\n"
21099 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21101 # If no C compiler was specified, use CC.
21104 # If no C compiler flags were specified, use CFLAGS.
21105 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21107 # Allow CC to be a program name with arguments.
21111 # save warnings/boilerplate of simple test code
21112 ac_outfile=conftest.$ac_objext
21113 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21114 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21115 _lt_compiler_boilerplate=`cat conftest.err`
21118 ac_outfile=conftest.$ac_objext
21119 printf "$lt_simple_link_test_code" >conftest.$ac_ext
21120 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21121 _lt_linker_boilerplate=`cat conftest.err`
21125 # Allow CC to be a program name with arguments.
21130 for cc_temp in $compiler""; do
21132 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21133 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21138 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21141 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21142 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21143 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21144 echo "${ECHO_T}$can_build_shared" >&6; }
21146 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21147 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21148 test "$can_build_shared" = "no" && enable_shared=no
21150 # On AIX, shared libraries and static libraries use the same namespace, and
21151 # are all built from PIC.
21154 test "$enable_shared" = yes && enable_static=no
21155 if test -n "$RANLIB"; then
21156 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21157 postinstall_cmds='$RANLIB $lib'
21161 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21162 test "$enable_shared" = yes && enable_static=no
21166 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21167 echo "${ECHO_T}$enable_shared" >&6; }
21169 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21170 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21171 # Make sure either enable_shared or enable_static is yes.
21172 test "$enable_shared" = yes || enable_static=yes
21173 { echo "$as_me:$LINENO: result: $enable_static" >&5
21174 echo "${ECHO_T}$enable_static" >&6; }
21179 lt_prog_compiler_wl_F77=
21180 lt_prog_compiler_pic_F77=
21181 lt_prog_compiler_static_F77=
21183 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21184 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21186 if test "$GCC" = yes; then
21187 lt_prog_compiler_wl_F77='-Wl,'
21188 lt_prog_compiler_static_F77='-static'
21192 # All AIX code is PIC.
21193 if test "$host_cpu" = ia64; then
21194 # AIX 5 now supports IA64 processor
21195 lt_prog_compiler_static_F77='-Bstatic'
21200 # FIXME: we need at least 68020 code to build shared libraries, but
21201 # adding the `-m68020' flag to GCC prevents building anything better,
21203 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21206 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21207 # PIC is the default for these OSes.
21210 mingw* | pw32* | os2*)
21211 # This hack is so that the source file can tell whether it is being
21212 # built for inclusion in a dll (and should export symbols for example).
21213 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21216 darwin* | rhapsody*)
21217 # PIC is the default on this platform
21218 # Common symbols not allowed in MH_DYLIB files
21219 lt_prog_compiler_pic_F77='-fno-common'
21223 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21224 # Instead, we relocate shared libraries at runtime.
21228 # Just because we use GCC doesn't mean we suddenly get shared libraries
21229 # on systems that don't support them.
21230 lt_prog_compiler_can_build_shared_F77=no
21235 if test -d /usr/nec; then
21236 lt_prog_compiler_pic_F77=-Kconform_pic
21241 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21242 # not for PA HP-UX.
21248 lt_prog_compiler_pic_F77='-fPIC'
21254 lt_prog_compiler_pic_F77='-fPIC'
21258 # PORTME Check for flag to pass linker flags through the system compiler.
21261 lt_prog_compiler_wl_F77='-Wl,'
21262 if test "$host_cpu" = ia64; then
21263 # AIX 5 now supports IA64 processor
21264 lt_prog_compiler_static_F77='-Bstatic'
21266 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21270 # PIC is the default on this platform
21271 # Common symbols not allowed in MH_DYLIB files
21272 case $cc_basename in
21274 lt_prog_compiler_pic_F77='-qnocommon'
21275 lt_prog_compiler_wl_F77='-Wl,'
21280 mingw* | pw32* | os2*)
21281 # This hack is so that the source file can tell whether it is being
21282 # built for inclusion in a dll (and should export symbols for example).
21283 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21286 hpux9* | hpux10* | hpux11*)
21287 lt_prog_compiler_wl_F77='-Wl,'
21288 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21289 # not for PA HP-UX.
21295 lt_prog_compiler_pic_F77='+Z'
21298 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21299 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21302 irix5* | irix6* | nonstopux*)
21303 lt_prog_compiler_wl_F77='-Wl,'
21304 # PIC (with -KPIC) is the default.
21305 lt_prog_compiler_static_F77='-non_shared'
21309 lt_prog_compiler_pic_F77='-KPIC'
21310 lt_prog_compiler_static_F77='-Bstatic'
21314 case $cc_basename in
21316 lt_prog_compiler_wl_F77='-Wl,'
21317 lt_prog_compiler_pic_F77='-KPIC'
21318 lt_prog_compiler_static_F77='-static'
21320 pgcc* | pgf77* | pgf90* | pgf95*)
21321 # Portland Group compilers (*not* the Pentium gcc compiler,
21322 # which looks to be a dead project)
21323 lt_prog_compiler_wl_F77='-Wl,'
21324 lt_prog_compiler_pic_F77='-fpic'
21325 lt_prog_compiler_static_F77='-Bstatic'
21328 lt_prog_compiler_wl_F77='-Wl,'
21329 # All Alpha code is PIC.
21330 lt_prog_compiler_static_F77='-non_shared'
21335 osf3* | osf4* | osf5*)
21336 lt_prog_compiler_wl_F77='-Wl,'
21337 # All OSF/1 code is PIC.
21338 lt_prog_compiler_static_F77='-non_shared'
21342 lt_prog_compiler_pic_F77='-KPIC'
21343 lt_prog_compiler_static_F77='-Bstatic'
21344 case $cc_basename in
21345 f77* | f90* | f95*)
21346 lt_prog_compiler_wl_F77='-Qoption ld ';;
21348 lt_prog_compiler_wl_F77='-Wl,';;
21353 lt_prog_compiler_wl_F77='-Qoption ld '
21354 lt_prog_compiler_pic_F77='-PIC'
21355 lt_prog_compiler_static_F77='-Bstatic'
21358 sysv4 | sysv4.2uw2* | sysv4.3*)
21359 lt_prog_compiler_wl_F77='-Wl,'
21360 lt_prog_compiler_pic_F77='-KPIC'
21361 lt_prog_compiler_static_F77='-Bstatic'
21365 if test -d /usr/nec ;then
21366 lt_prog_compiler_pic_F77='-Kconform_pic'
21367 lt_prog_compiler_static_F77='-Bstatic'
21371 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21372 lt_prog_compiler_wl_F77='-Wl,'
21373 lt_prog_compiler_pic_F77='-KPIC'
21374 lt_prog_compiler_static_F77='-Bstatic'
21378 lt_prog_compiler_wl_F77='-Wl,'
21379 lt_prog_compiler_can_build_shared_F77=no
21383 lt_prog_compiler_pic_F77='-pic'
21384 lt_prog_compiler_static_F77='-Bstatic'
21388 lt_prog_compiler_can_build_shared_F77=no
21393 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21394 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21397 # Check to make sure the PIC flag actually works.
21399 if test -n "$lt_prog_compiler_pic_F77"; then
21401 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21402 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21403 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21404 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 lt_prog_compiler_pic_works_F77=no
21407 ac_outfile=conftest.$ac_objext
21408 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21409 lt_compiler_flag="$lt_prog_compiler_pic_F77"
21410 # Insert the option either (1) after the last *FLAGS variable, or
21411 # (2) before a word containing "conftest.", or (3) at the end.
21412 # Note that $ac_compile itself does not contain backslashes and begins
21413 # with a dollar sign (not a hyphen), so the echo should work correctly.
21414 # The option is referenced via a variable to avoid confusing sed.
21415 lt_compile=`echo "$ac_compile" | $SED \
21416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21418 -e 's:$: $lt_compiler_flag:'`
21419 (eval echo "\"\$as_me:21419: $lt_compile\"" >&5)
21420 (eval "$lt_compile" 2>conftest.err)
21422 cat conftest.err >&5
21423 echo "$as_me:21423: \$? = $ac_status" >&5
21424 if (exit $ac_status) && test -s "$ac_outfile"; then
21425 # The compiler can only warn and ignore the option if not recognized
21426 # So say no if there are warnings other than the usual output.
21427 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21428 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21429 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21430 lt_prog_compiler_pic_works_F77=yes
21436 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21437 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21439 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21440 case $lt_prog_compiler_pic_F77 in
21442 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21445 lt_prog_compiler_pic_F77=
21446 lt_prog_compiler_can_build_shared_F77=no
21451 # For platforms which do not support PIC, -DPIC is meaningless:
21453 lt_prog_compiler_pic_F77=
21456 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21461 # Check to make sure the static flag actually works.
21463 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21464 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21465 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21466 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21467 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 lt_prog_compiler_static_works_F77=no
21470 save_LDFLAGS="$LDFLAGS"
21471 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21472 printf "$lt_simple_link_test_code" > conftest.$ac_ext
21473 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21474 # The linker can only warn and ignore the option if not recognized
21475 # So say no if there are warnings
21476 if test -s conftest.err; then
21477 # Append any errors to the config.log.
21478 cat conftest.err 1>&5
21479 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21480 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21481 if diff conftest.exp conftest.er2 >/dev/null; then
21482 lt_prog_compiler_static_works_F77=yes
21485 lt_prog_compiler_static_works_F77=yes
21489 LDFLAGS="$save_LDFLAGS"
21492 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21493 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21495 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21498 lt_prog_compiler_static_F77=
21502 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21503 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21504 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 lt_cv_prog_compiler_c_o_F77=no
21508 $rm -r conftest 2>/dev/null
21512 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21514 lt_compiler_flag="-o out/conftest2.$ac_objext"
21515 # Insert the option either (1) after the last *FLAGS variable, or
21516 # (2) before a word containing "conftest.", or (3) at the end.
21517 # Note that $ac_compile itself does not contain backslashes and begins
21518 # with a dollar sign (not a hyphen), so the echo should work correctly.
21519 lt_compile=`echo "$ac_compile" | $SED \
21520 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21521 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21522 -e 's:$: $lt_compiler_flag:'`
21523 (eval echo "\"\$as_me:21523: $lt_compile\"" >&5)
21524 (eval "$lt_compile" 2>out/conftest.err)
21526 cat out/conftest.err >&5
21527 echo "$as_me:21527: \$? = $ac_status" >&5
21528 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21530 # The compiler can only warn and ignore the option if not recognized
21531 # So say no if there are warnings
21532 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21533 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21534 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21535 lt_cv_prog_compiler_c_o_F77=yes
21540 # SGI C++ compiler will create directory out/ii_files/ for
21541 # template instantiation
21542 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21543 $rm out/* && rmdir out
21549 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21550 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21553 hard_links="nottested"
21554 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21555 # do not overwrite the value of need_locks provided by the user
21556 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21557 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21562 ln conftest.a conftest.b 2>&5 || hard_links=no
21563 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21564 { echo "$as_me:$LINENO: result: $hard_links" >&5
21565 echo "${ECHO_T}$hard_links" >&6; }
21566 if test "$hard_links" = no; then
21567 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21568 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21575 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21576 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21579 allow_undefined_flag_F77=
21580 enable_shared_with_static_runtimes_F77=no
21582 archive_expsym_cmds_F77=
21583 old_archive_From_new_cmds_F77=
21584 old_archive_from_expsyms_cmds_F77=
21585 export_dynamic_flag_spec_F77=
21586 whole_archive_flag_spec_F77=
21587 thread_safe_flag_spec_F77=
21588 hardcode_libdir_flag_spec_F77=
21589 hardcode_libdir_flag_spec_ld_F77=
21590 hardcode_libdir_separator_F77=
21591 hardcode_direct_F77=no
21592 hardcode_minus_L_F77=no
21593 hardcode_shlibpath_var_F77=unsupported
21594 link_all_deplibs_F77=unknown
21595 hardcode_automatic_F77=no
21597 module_expsym_cmds_F77=
21598 always_export_symbols_F77=no
21599 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21600 # include_expsyms should be a list of space-separated symbols to be *always*
21601 # included in the symbol list
21602 include_expsyms_F77=
21603 # exclude_expsyms can be an extended regexp of symbols to exclude
21604 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21605 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21606 # as well as any symbol that contains `d'.
21607 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21608 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21609 # platforms (ab)use it in PIC code, but their linkers get confused if
21610 # the symbol is explicitly referenced. Since portable code cannot
21611 # rely on this symbol name, it's probably fine to never include it in
21612 # preloaded symbol tables.
21613 extract_expsyms_cmds=
21614 # Just being paranoid about ensuring that cc_basename is set.
21615 for cc_temp in $compiler""; do
21617 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21618 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21623 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21626 cygwin* | mingw* | pw32*)
21627 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21628 # When not using gcc, we currently assume that we are using
21629 # Microsoft Visual C++.
21630 if test "$GCC" != yes; then
21635 # we just hope/assume this is gcc and not c89 (= MSVC++)
21644 if test "$with_gnu_ld" = yes; then
21645 # If archive_cmds runs LD, not CC, wlarc should be empty
21648 # Set some defaults for GNU ld with shared library support. These
21649 # are reset later if shared libraries are not supported. Putting them
21650 # here allows them to be overridden if necessary.
21651 runpath_var=LD_RUN_PATH
21652 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21653 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21654 # ancient GNU ld didn't support --whole-archive et. al.
21655 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21656 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21658 whole_archive_flag_spec_F77=
21660 supports_anon_versioning=no
21661 case `$LD -v 2>/dev/null` in
21662 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21663 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21664 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21665 *\ 2.11.*) ;; # other 2.11 versions
21666 *) supports_anon_versioning=yes ;;
21669 # See if GNU ld supports shared libraries.
21671 aix3* | aix4* | aix5*)
21672 # On AIX/PPC, the GNU linker is very broken
21673 if test "$host_cpu" != ia64; then
21677 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21678 *** to be unable to reliably create shared libraries on AIX.
21679 *** Therefore, libtool is disabling shared libraries support. If you
21680 *** really care for shared libraries, you may want to modify your PATH
21681 *** so that a non-GNU linker is found, and then restart.
21688 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)'
21689 hardcode_libdir_flag_spec_F77='-L$libdir'
21690 hardcode_minus_L_F77=yes
21692 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21693 # that the semantics of dynamic libraries on AmigaOS, at least up
21694 # to version 4, is to share data among multiple programs linked
21695 # with the same dynamic library. Since this doesn't match the
21696 # behavior of shared libraries on other platforms, we can't use
21702 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21703 allow_undefined_flag_F77=unsupported
21704 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21705 # support --undefined. This deserves some investigation. FIXME
21706 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21712 cygwin* | mingw* | pw32*)
21713 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21714 # as there is no search path for DLLs.
21715 hardcode_libdir_flag_spec_F77='-L$libdir'
21716 allow_undefined_flag_F77=unsupported
21717 always_export_symbols_F77=no
21718 enable_shared_with_static_runtimes_F77=yes
21719 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21721 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21722 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21723 # If the export-symbols file already is a .def file (1st line
21724 # is EXPORTS), use it as is; otherwise, prepend...
21725 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21726 cp $export_symbols $output_objdir/$soname.def;
21728 echo EXPORTS > $output_objdir/$soname.def;
21729 cat $export_symbols >> $output_objdir/$soname.def;
21731 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21738 hardcode_direct_F77=no
21739 hardcode_shlibpath_var_F77=no
21740 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21741 export_dynamic_flag_spec_F77='${wl}-E'
21742 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21743 # Instead, shared libraries are loaded at an image base (0x10000000 by
21744 # default) and relocated if they conflict, which is a slow very memory
21745 # consuming and fragmenting process. To avoid this, we pick a random,
21746 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21747 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21748 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'
21749 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'
21753 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21755 case $cc_basename,$host_cpu in
21756 pgcc*) # Portland Group C compiler
21757 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'
21758 tmp_addflag=' $pic_flag'
21760 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21761 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'
21762 tmp_addflag=' $pic_flag -Mnomain' ;;
21763 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21764 tmp_addflag=' -i_dynamic' ;;
21765 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21766 tmp_addflag=' -i_dynamic -nofor_main' ;;
21767 ifc* | ifort*) # Intel Fortran compiler
21768 tmp_addflag=' -nofor_main' ;;
21770 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21772 if test $supports_anon_versioning = yes; then
21773 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
21774 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21775 $echo "local: *; };" >> $output_objdir/$libname.ver~
21776 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21784 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21785 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21788 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21789 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21794 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21798 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21799 *** create shared libraries on Solaris systems. Therefore, libtool
21800 *** is disabling shared libraries support. We urge you to upgrade GNU
21801 *** binutils to release 2.9.1 or newer. Another option is to modify
21802 *** your PATH or compiler configuration so that the native linker is
21803 *** used, and then restart.
21806 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21807 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21808 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21815 case `$LD -v 2>&1` in
21816 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21820 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21821 *** reliably create shared libraries on SCO systems. Therefore, libtool
21822 *** is disabling shared libraries support. We urge you to upgrade GNU
21823 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21824 *** your PATH or compiler configuration so that the native linker is
21825 *** used, and then restart.
21830 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21831 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21832 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21833 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21842 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21844 hardcode_direct_F77=yes
21845 hardcode_shlibpath_var_F77=no
21849 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21850 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21851 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21858 if test "$ld_shlibs_F77" = no; then
21860 hardcode_libdir_flag_spec_F77=
21861 export_dynamic_flag_spec_F77=
21862 whole_archive_flag_spec_F77=
21865 # PORTME fill in a description of your system's linker (not GNU ld)
21868 allow_undefined_flag_F77=unsupported
21869 always_export_symbols_F77=yes
21870 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'
21871 # Note: this linker hardcodes the directories in LIBPATH if there
21872 # are no directories specified by -L.
21873 hardcode_minus_L_F77=yes
21874 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21875 # Neither direct hardcoding nor static linking is supported with a
21877 hardcode_direct_F77=unsupported
21882 if test "$host_cpu" = ia64; then
21883 # On IA64, the linker does run time linking by default, so we don't
21884 # have to do anything special.
21885 aix_use_runtimelinking=no
21886 exp_sym_flag='-Bexport'
21889 # If we're using GNU nm, then we don't want the "-C" option.
21890 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21891 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21892 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'
21894 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'
21896 aix_use_runtimelinking=no
21898 # Test if we are trying to use run time linking or normal
21899 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21900 # need to do runtime linking.
21901 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
21902 for ld_flag in $LDFLAGS; do
21903 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21904 aix_use_runtimelinking=yes
21911 exp_sym_flag='-bexport'
21912 no_entry_flag='-bnoentry'
21915 # When large executables or shared objects are built, AIX ld can
21916 # have problems creating the table of contents. If linking a library
21917 # or program results in "error TOC overflow" add -mminimal-toc to
21918 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21919 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21921 archive_cmds_F77=''
21922 hardcode_direct_F77=yes
21923 hardcode_libdir_separator_F77=':'
21924 link_all_deplibs_F77=yes
21926 if test "$GCC" = yes; then
21927 case $host_os in aix4.[012]|aix4.[012].*)
21928 # We only want to do this on AIX 4.2 and lower, the check
21929 # below for broken collect2 doesn't work under 4.3+
21930 collect2name=`${CC} -print-prog-name=collect2`
21931 if test -f "$collect2name" && \
21932 strings "$collect2name" | grep resolve_lib_name >/dev/null
21934 # We have reworked collect2
21935 hardcode_direct_F77=yes
21937 # We have old collect2
21938 hardcode_direct_F77=unsupported
21939 # It fails to find uninstalled libraries when the uninstalled
21940 # path is not listed in the libpath. Setting hardcode_minus_L
21941 # to unsupported forces relinking
21942 hardcode_minus_L_F77=yes
21943 hardcode_libdir_flag_spec_F77='-L$libdir'
21944 hardcode_libdir_separator_F77=
21948 shared_flag='-shared'
21949 if test "$aix_use_runtimelinking" = yes; then
21950 shared_flag="$shared_flag "'${wl}-G'
21954 if test "$host_cpu" = ia64; then
21955 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21956 # chokes on -Wl,-G. The following line is correct:
21959 if test "$aix_use_runtimelinking" = yes; then
21960 shared_flag='${wl}-G'
21962 shared_flag='${wl}-bM:SRE'
21967 # It seems that -bexpall does not export symbols beginning with
21968 # underscore (_), so it is better to generate a list of symbols to export.
21969 always_export_symbols_F77=yes
21970 if test "$aix_use_runtimelinking" = yes; then
21971 # Warning - without using the other runtime loading flags (-brtl),
21972 # -berok will link without error, but may produce a broken library.
21973 allow_undefined_flag_F77='-berok'
21974 # Determine the default libpath from the value encoded in an empty executable.
21975 cat >conftest.$ac_ext <<_ACEOF
21980 rm -f conftest.$ac_objext conftest$ac_exeext
21981 if { (ac_try="$ac_link"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_link") 2>conftest.er1
21989 grep -v '^ *+' conftest.er1 >conftest.err
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && {
21994 test -z "$ac_f77_werror_flag" ||
21995 test ! -s conftest.err
21996 } && test -s conftest$ac_exeext &&
21997 $as_test_x conftest$ac_exeext; then
21999 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22001 # Check for a 64-bit object if we didn't find anything.
22002 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; }
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22012 conftest$ac_exeext conftest.$ac_ext
22013 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22015 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22016 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"
22018 if test "$host_cpu" = ia64; then
22019 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22020 allow_undefined_flag_F77="-z nodefs"
22021 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"
22023 # Determine the default libpath from the value encoded in an empty executable.
22024 cat >conftest.$ac_ext <<_ACEOF
22029 rm -f conftest.$ac_objext conftest$ac_exeext
22030 if { (ac_try="$ac_link"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22033 *) ac_try_echo=$ac_try;;
22035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_link") 2>conftest.er1
22038 grep -v '^ *+' conftest.er1 >conftest.err
22040 cat conftest.err >&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_f77_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest$ac_exeext &&
22046 $as_test_x conftest$ac_exeext; then
22048 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22050 # Check for a 64-bit object if we didn't find anything.
22051 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; }
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.$ac_ext >&5
22060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22061 conftest$ac_exeext conftest.$ac_ext
22062 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22064 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22065 # Warning - without using the other run time loading flags,
22066 # -berok will link without error, but may produce a broken library.
22067 no_undefined_flag_F77=' ${wl}-bernotok'
22068 allow_undefined_flag_F77=' ${wl}-berok'
22069 # Exported symbols can be pulled into shared objects from archives
22070 whole_archive_flag_spec_F77='$convenience'
22071 archive_cmds_need_lc_F77=yes
22072 # This is similar to how AIX traditionally builds its shared libraries.
22073 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'
22079 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)'
22080 hardcode_libdir_flag_spec_F77='-L$libdir'
22081 hardcode_minus_L_F77=yes
22082 # see comment about different semantics on the GNU ld section
22087 export_dynamic_flag_spec_F77=-rdynamic
22090 cygwin* | mingw* | pw32*)
22091 # When not using gcc, we currently assume that we are using
22092 # Microsoft Visual C++.
22093 # hardcode_libdir_flag_spec is actually meaningless, as there is
22094 # no search path for DLLs.
22095 hardcode_libdir_flag_spec_F77=' '
22096 allow_undefined_flag_F77=unsupported
22097 # Tell ltmain to make .lib files, not .a files.
22099 # Tell ltmain to make .dll files, not .so files.
22101 # FIXME: Setting linknames here is a bad hack.
22102 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22103 # The linker will automatically build a .lib file if we build a DLL.
22104 old_archive_From_new_cmds_F77='true'
22105 # FIXME: Should let the user specify the lib program.
22106 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
22107 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22108 enable_shared_with_static_runtimes_F77=yes
22111 darwin* | rhapsody*)
22113 rhapsody* | darwin1.[012])
22114 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22117 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22118 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22120 case ${MACOSX_DEPLOYMENT_TARGET} in
22122 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22125 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22131 archive_cmds_need_lc_F77=no
22132 hardcode_direct_F77=no
22133 hardcode_automatic_F77=yes
22134 hardcode_shlibpath_var_F77=unsupported
22135 whole_archive_flag_spec_F77=''
22136 link_all_deplibs_F77=yes
22137 if test "$GCC" = yes ; then
22138 output_verbose_link_cmd='echo'
22139 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22140 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22141 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22142 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}'
22143 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}'
22145 case $cc_basename in
22147 output_verbose_link_cmd='echo'
22148 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22149 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22150 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22151 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}'
22152 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}'
22162 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22163 hardcode_libdir_flag_spec_F77='-L$libdir'
22164 hardcode_shlibpath_var_F77=no
22171 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22172 # support. Future versions do this automatically, but an explicit c++rt0.o
22173 # does not break anything, and helps significantly (at the cost of a little
22176 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22177 hardcode_libdir_flag_spec_F77='-R$libdir'
22178 hardcode_direct_F77=yes
22179 hardcode_shlibpath_var_F77=no
22182 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22184 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22185 hardcode_direct_F77=yes
22186 hardcode_minus_L_F77=yes
22187 hardcode_shlibpath_var_F77=no
22190 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22191 freebsd* | kfreebsd*-gnu | dragonfly*)
22192 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22193 hardcode_libdir_flag_spec_F77='-R$libdir'
22194 hardcode_direct_F77=yes
22195 hardcode_shlibpath_var_F77=no
22199 if test "$GCC" = yes; then
22200 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'
22202 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'
22204 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22205 hardcode_libdir_separator_F77=:
22206 hardcode_direct_F77=yes
22208 # hardcode_minus_L: Not really in the search PATH,
22209 # but as the default location of the library.
22210 hardcode_minus_L_F77=yes
22211 export_dynamic_flag_spec_F77='${wl}-E'
22215 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22216 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22218 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22220 if test "$with_gnu_ld" = no; then
22221 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22222 hardcode_libdir_separator_F77=:
22224 hardcode_direct_F77=yes
22225 export_dynamic_flag_spec_F77='${wl}-E'
22227 # hardcode_minus_L: Not really in the search PATH,
22228 # but as the default location of the library.
22229 hardcode_minus_L_F77=yes
22234 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22237 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22240 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22243 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22249 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22252 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22255 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22259 if test "$with_gnu_ld" = no; then
22260 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22261 hardcode_libdir_separator_F77=:
22265 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22266 hardcode_direct_F77=no
22267 hardcode_shlibpath_var_F77=no
22270 hardcode_direct_F77=yes
22271 export_dynamic_flag_spec_F77='${wl}-E'
22273 # hardcode_minus_L: Not really in the search PATH,
22274 # but as the default location of the library.
22275 hardcode_minus_L_F77=yes
22281 irix5* | irix6* | nonstopux*)
22282 if test "$GCC" = yes; then
22283 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'
22285 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'
22286 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22288 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22289 hardcode_libdir_separator_F77=:
22290 link_all_deplibs_F77=yes
22294 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22295 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22297 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22299 hardcode_libdir_flag_spec_F77='-R$libdir'
22300 hardcode_direct_F77=yes
22301 hardcode_shlibpath_var_F77=no
22305 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22306 hardcode_direct_F77=yes
22307 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22308 hardcode_libdir_separator_F77=:
22309 hardcode_shlibpath_var_F77=no
22313 hardcode_direct_F77=yes
22314 hardcode_shlibpath_var_F77=no
22315 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22316 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22317 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22318 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22319 export_dynamic_flag_spec_F77='${wl}-E'
22322 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22323 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22324 hardcode_libdir_flag_spec_F77='-R$libdir'
22327 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22328 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22335 hardcode_libdir_flag_spec_F77='-L$libdir'
22336 hardcode_minus_L_F77=yes
22337 allow_undefined_flag_F77=unsupported
22338 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'
22339 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22343 if test "$GCC" = yes; then
22344 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22345 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'
22347 allow_undefined_flag_F77=' -expect_unresolved \*'
22348 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'
22350 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22351 hardcode_libdir_separator_F77=:
22354 osf4* | osf5*) # as osf3* with the addition of -msym flag
22355 if test "$GCC" = yes; then
22356 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22357 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'
22358 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22360 allow_undefined_flag_F77=' -expect_unresolved \*'
22361 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'
22362 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~
22363 $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'
22365 # Both c and cxx compiler support -rpath directly
22366 hardcode_libdir_flag_spec_F77='-rpath $libdir'
22368 hardcode_libdir_separator_F77=:
22372 no_undefined_flag_F77=' -z text'
22373 if test "$GCC" = yes; then
22375 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22376 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22377 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22380 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22381 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22382 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22384 hardcode_libdir_flag_spec_F77='-R$libdir'
22385 hardcode_shlibpath_var_F77=no
22387 solaris2.[0-5] | solaris2.[0-5].*) ;;
22389 # The compiler driver will combine linker options so we
22390 # cannot just pass the convience library names through
22391 # without $wl, iff we do not link with $LD.
22392 # Luckily, gcc supports the same syntax we need for Sun Studio.
22393 # Supported since Solaris 2.6 (maybe 2.5.1?)
22396 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
22398 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' ;;
22401 link_all_deplibs_F77=yes
22405 if test "x$host_vendor" = xsequent; then
22406 # Use $CC to link under sequent, because it throws in some extra .o
22407 # files that make .init and .fini sections work.
22408 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22410 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22412 hardcode_libdir_flag_spec_F77='-L$libdir'
22413 hardcode_direct_F77=yes
22414 hardcode_minus_L_F77=yes
22415 hardcode_shlibpath_var_F77=no
22419 case $host_vendor in
22421 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22422 hardcode_direct_F77=yes # is this really true???
22425 ## LD is ld it makes a PLAMLIB
22426 ## CC just makes a GrossModule.
22427 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22428 reload_cmds_F77='$CC -r -o $output$reload_objs'
22429 hardcode_direct_F77=no
22432 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22433 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22436 runpath_var='LD_RUN_PATH'
22437 hardcode_shlibpath_var_F77=no
22441 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22442 hardcode_shlibpath_var_F77=no
22443 export_dynamic_flag_spec_F77='-Bexport'
22447 if test -d /usr/nec; then
22448 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22449 hardcode_shlibpath_var_F77=no
22450 runpath_var=LD_RUN_PATH
22451 hardcode_runpath_var=yes
22456 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
22457 no_undefined_flag_F77='${wl}-z,text'
22458 archive_cmds_need_lc_F77=no
22459 hardcode_shlibpath_var_F77=no
22460 runpath_var='LD_RUN_PATH'
22462 if test "$GCC" = yes; then
22463 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22464 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22466 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22467 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22471 sysv5* | sco3.2v5* | sco5v6*)
22472 # Note: We can NOT use -z defs as we might desire, because we do not
22473 # link with -lc, and that would cause any symbols used from libc to
22474 # always be unresolved, which means just about no library would
22475 # ever link correctly. If we're not using GNU ld we use -z text
22476 # though, which does catch some bad symbols but isn't as heavy-handed
22478 no_undefined_flag_F77='${wl}-z,text'
22479 allow_undefined_flag_F77='${wl}-z,nodefs'
22480 archive_cmds_need_lc_F77=no
22481 hardcode_shlibpath_var_F77=no
22482 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22483 hardcode_libdir_separator_F77=':'
22484 link_all_deplibs_F77=yes
22485 export_dynamic_flag_spec_F77='${wl}-Bexport'
22486 runpath_var='LD_RUN_PATH'
22488 if test "$GCC" = yes; then
22489 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22490 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22492 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22493 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22498 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22499 hardcode_libdir_flag_spec_F77='-L$libdir'
22500 hardcode_shlibpath_var_F77=no
22509 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22510 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22511 test "$ld_shlibs_F77" = no && can_build_shared=no
22514 # Do we need to explicitly link libc?
22516 case "x$archive_cmds_need_lc_F77" in
22518 # Assume -lc should be added
22519 archive_cmds_need_lc_F77=yes
22521 if test "$enable_shared" = yes && test "$GCC" = yes; then
22522 case $archive_cmds_F77 in
22524 # FIXME: we may have to deal with multi-command sequences.
22527 # Test whether the compiler implicitly links with -lc since on some
22528 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22529 # to ld, don't add -lc before -lgcc.
22530 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22531 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22533 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22536 (eval $ac_compile) 2>&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } 2>conftest.err; then
22542 libobjs=conftest.$ac_objext
22544 wl=$lt_prog_compiler_wl_F77
22545 pic_flag=$lt_prog_compiler_pic_F77
22551 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22552 allow_undefined_flag_F77=
22553 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22554 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); }
22559 archive_cmds_need_lc_F77=no
22561 archive_cmds_need_lc_F77=yes
22563 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22565 cat conftest.err 1>&5
22568 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22569 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22576 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22577 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22578 library_names_spec=
22579 libname_spec='lib$name'
22583 postuninstall_cmds=
22587 shlibpath_overrides_runpath=unknown
22589 dynamic_linker="$host_os ld.so"
22590 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22591 if test "$GCC" = yes; then
22592 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22593 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22594 # if the path contains ";" then we assume it to be the separator
22595 # otherwise default to the standard path separator (i.e. ":") - it is
22596 # assumed that no part of a normal pathname contains ";" but that should
22597 # okay in the real world where ";" in dirpaths is itself problematic.
22598 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22600 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22603 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22605 need_lib_prefix=unknown
22606 hardcode_into_libs=no
22608 # when you set need_version to no, make sure it does not cause -set_version
22609 # flags to be left without arguments
22610 need_version=unknown
22615 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22616 shlibpath_var=LIBPATH
22618 # AIX 3 has no versioning support, so we append a major version to the name.
22619 soname_spec='${libname}${release}${shared_ext}$major'
22626 hardcode_into_libs=yes
22627 if test "$host_cpu" = ia64; then
22628 # AIX 5 supports IA64
22629 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22630 shlibpath_var=LD_LIBRARY_PATH
22632 # With GCC up to 2.95.x, collect2 would create an import file
22633 # for dependence libraries. The import file would start with
22634 # the line `#! .'. This would cause the generated library to
22635 # depend on `.', always an invalid library. This was fixed in
22636 # development snapshots of GCC prior to 3.0.
22638 aix4 | aix4.[01] | aix4.[01].*)
22639 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22641 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22644 can_build_shared=no
22648 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22649 # soname into executable. Probably we can add versioning support to
22650 # collect2, so additional links can be useful in future.
22651 if test "$aix_use_runtimelinking" = yes; then
22652 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22653 # instead of lib<name>.a to let people know that these are not
22654 # typical AIX shared libraries.
22655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22657 # We preserve .a as extension for shared libraries through AIX4.2
22658 # and later when we are not doing run time linking.
22659 library_names_spec='${libname}${release}.a $libname.a'
22660 soname_spec='${libname}${release}${shared_ext}$major'
22662 shlibpath_var=LIBPATH
22667 library_names_spec='$libname.ixlibrary $libname.a'
22668 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22669 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'
22673 library_names_spec='${libname}${shared_ext}'
22674 dynamic_linker="$host_os ld.so"
22675 shlibpath_var=LIBRARY_PATH
22681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22682 soname_spec='${libname}${release}${shared_ext}$major'
22683 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22684 shlibpath_var=LD_LIBRARY_PATH
22685 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22686 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22687 # the default ld.so.conf also contains /usr/contrib/lib and
22688 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22689 # libtool to hard-code these into programs
22692 cygwin* | mingw* | pw32*)
22693 version_type=windows
22698 case $GCC,$host_os in
22699 yes,cygwin* | yes,mingw* | yes,pw32*)
22700 library_names_spec='$libname.dll.a'
22701 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22702 postinstall_cmds='base_file=`basename \${file}`~
22703 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22704 dldir=$destdir/`dirname \$dlpath`~
22705 test -d \$dldir || mkdir -p \$dldir~
22706 $install_prog $dir/$dlname \$dldir/$dlname~
22707 chmod a+x \$dldir/$dlname'
22708 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22709 dlpath=$dir/\$dldll~
22711 shlibpath_overrides_runpath=yes
22715 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22716 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22717 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22720 # MinGW DLLs use traditional 'lib' prefix
22721 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22722 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22723 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22724 # It is most probably a Windows format PATH printed by
22725 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22726 # path with ; separators, and with drive letters. We can handle the
22727 # drive letters (cygwin fileutils understands them), so leave them,
22728 # especially as we might pass files found there to a mingw objdump,
22729 # which wouldn't understand a cygwinified path. Ahh.
22730 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22732 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22736 # pw32 DLLs use 'pw' prefix rather than 'lib'
22737 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22743 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22746 dynamic_linker='Win32 ld.exe'
22747 # FIXME: first we should search . and the directory the executable is in
22751 darwin* | rhapsody*)
22752 dynamic_linker="$host_os dyld"
22753 version_type=darwin
22756 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22757 soname_spec='${libname}${release}${major}$shared_ext'
22758 shlibpath_overrides_runpath=yes
22759 shlibpath_var=DYLD_LIBRARY_PATH
22760 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22761 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22762 if test "$GCC" = yes; then
22763 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"`
22765 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22767 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22775 soname_spec='${libname}${release}${shared_ext}$major'
22776 shlibpath_var=LD_LIBRARY_PATH
22787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22788 soname_spec='${libname}${release}${shared_ext}$major'
22789 shlibpath_var=LD_LIBRARY_PATH
22790 shlibpath_overrides_runpath=no
22791 hardcode_into_libs=yes
22792 dynamic_linker='GNU ld.so'
22795 freebsd* | dragonfly*)
22796 # DragonFly does not have aout. When/if they implement a new
22797 # versioning mechanism, adjust this.
22798 if test -x /usr/bin/objformat; then
22799 objformat=`/usr/bin/objformat`
22802 freebsd[123]*) objformat=aout ;;
22803 *) objformat=elf ;;
22806 version_type=freebsd-$objformat
22807 case $version_type in
22809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22814 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22818 shlibpath_var=LD_LIBRARY_PATH
22821 shlibpath_overrides_runpath=yes
22823 freebsd3.[01]* | freebsdelf3.[01]*)
22824 shlibpath_overrides_runpath=yes
22825 hardcode_into_libs=yes
22827 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22828 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22829 shlibpath_overrides_runpath=no
22830 hardcode_into_libs=yes
22832 freebsd*) # from 4.6 on
22833 shlibpath_overrides_runpath=yes
22834 hardcode_into_libs=yes
22843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22844 soname_spec='${libname}${release}${shared_ext}$major'
22845 shlibpath_var=LD_LIBRARY_PATH
22846 hardcode_into_libs=yes
22849 hpux9* | hpux10* | hpux11*)
22850 # Give a soname corresponding to the major version so that dld.sl refuses to
22851 # link against other versions.
22858 hardcode_into_libs=yes
22859 dynamic_linker="$host_os dld.so"
22860 shlibpath_var=LD_LIBRARY_PATH
22861 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22863 soname_spec='${libname}${release}${shared_ext}$major'
22864 if test "X$HPUX_IA64_MODE" = X32; then
22865 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22867 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22869 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22873 hardcode_into_libs=yes
22874 dynamic_linker="$host_os dld.sl"
22875 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22876 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22878 soname_spec='${libname}${release}${shared_ext}$major'
22879 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22880 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22884 dynamic_linker="$host_os dld.sl"
22885 shlibpath_var=SHLIB_PATH
22886 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22888 soname_spec='${libname}${release}${shared_ext}$major'
22891 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22892 postinstall_cmds='chmod 555 $lib'
22899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22900 soname_spec='${libname}${release}${shared_ext}$major'
22901 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22902 shlibpath_var=LD_LIBRARY_PATH
22903 shlibpath_overrides_runpath=no
22904 hardcode_into_libs=yes
22907 irix5* | irix6* | nonstopux*)
22909 nonstopux*) version_type=nonstopux ;;
22911 if test "$lt_cv_prog_gnu_ld" = yes; then
22919 soname_spec='${libname}${release}${shared_ext}$major'
22920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22922 irix5* | nonstopux*)
22923 libsuff= shlibsuff=
22926 case $LD in # libtool.m4 will add one of these switches to LD
22927 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22928 libsuff= shlibsuff= libmagic=32-bit;;
22929 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22930 libsuff=32 shlibsuff=N32 libmagic=N32;;
22931 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22932 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22933 *) libsuff= shlibsuff= libmagic=never-match;;
22937 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22938 shlibpath_overrides_runpath=no
22939 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22940 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22941 hardcode_into_libs=yes
22944 # No shared lib support for Linux oldld, aout, or coff.
22945 linux*oldld* | linux*aout* | linux*coff*)
22949 # This must be Linux ELF.
22954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22955 soname_spec='${libname}${release}${shared_ext}$major'
22956 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22957 shlibpath_var=LD_LIBRARY_PATH
22958 shlibpath_overrides_runpath=no
22959 # This implies no fast_install, which is unacceptable.
22960 # Some rework will be needed to allow for fast_install
22961 # before this can be enabled.
22962 hardcode_into_libs=yes
22964 # find out which ABI we are using
22966 case "$host_cpu" in
22967 x86_64*|s390x*|powerpc64*)
22968 echo '#line 22968 "configure"' > conftest.$ac_ext
22969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22970 (eval $ac_compile) 2>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; then
22974 case `/usr/bin/file conftest.$ac_objext` in
22977 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22985 # Append ld.so.conf contents to the search path
22986 if test -f /etc/ld.so.conf; then
22987 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' ' '`
22988 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22991 # We used to test for /lib/ld.so.1 and disable shared libraries on
22992 # powerpc, because MkLinux only supported shared libraries with the
22993 # GNU dynamic linker. Since this was broken with cross compilers,
22994 # most powerpc-linux boxes support dynamic linking these days and
22995 # people can always --disable-shared, the test was removed, and we
22996 # assume the GNU/Linux dynamic linker is in use.
22997 dynamic_linker='GNU/Linux ld.so'
23004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23005 soname_spec='${libname}${release}${shared_ext}$major'
23006 shlibpath_var=LD_LIBRARY_PATH
23007 shlibpath_overrides_runpath=no
23008 hardcode_into_libs=yes
23009 dynamic_linker='GNU ld.so'
23016 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23018 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23019 dynamic_linker='NetBSD (a.out) ld.so'
23021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23022 soname_spec='${libname}${release}${shared_ext}$major'
23023 dynamic_linker='NetBSD ld.elf_so'
23025 shlibpath_var=LD_LIBRARY_PATH
23026 shlibpath_overrides_runpath=yes
23027 hardcode_into_libs=yes
23032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23033 shlibpath_var=LD_LIBRARY_PATH
23034 shlibpath_overrides_runpath=yes
23041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23042 soname_spec='${libname}${release}${shared_ext}$major'
23043 shlibpath_var=LD_LIBRARY_PATH
23044 shlibpath_overrides_runpath=yes
23049 sys_lib_dlsearch_path_spec="/usr/lib"
23051 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23053 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23054 *) need_version=no ;;
23056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23057 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23058 shlibpath_var=LD_LIBRARY_PATH
23059 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23061 openbsd2.[89] | openbsd2.[89].*)
23062 shlibpath_overrides_runpath=no
23065 shlibpath_overrides_runpath=yes
23069 shlibpath_overrides_runpath=yes
23074 libname_spec='$name'
23077 library_names_spec='$libname${shared_ext} $libname.a'
23078 dynamic_linker='OS/2 ld.exe'
23079 shlibpath_var=LIBPATH
23082 osf3* | osf4* | osf5*)
23086 soname_spec='${libname}${release}${shared_ext}$major'
23087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23088 shlibpath_var=LD_LIBRARY_PATH
23089 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23090 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23098 soname_spec='${libname}${release}${shared_ext}$major'
23099 shlibpath_var=LD_LIBRARY_PATH
23100 shlibpath_overrides_runpath=yes
23101 hardcode_into_libs=yes
23102 # ldd complains unless libraries are executable
23103 postinstall_cmds='chmod +x $lib'
23108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23109 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23110 shlibpath_var=LD_LIBRARY_PATH
23111 shlibpath_overrides_runpath=yes
23112 if test "$with_gnu_ld" = yes; then
23120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23121 soname_spec='${libname}${release}${shared_ext}$major'
23122 shlibpath_var=LD_LIBRARY_PATH
23123 case $host_vendor in
23125 shlibpath_overrides_runpath=no
23127 export_dynamic_flag_spec='${wl}-Blargedynsym'
23128 runpath_var=LD_RUN_PATH
23136 shlibpath_overrides_runpath=no
23137 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23143 if test -d /usr/nec ;then
23145 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23146 soname_spec='$libname${shared_ext}.$major'
23147 shlibpath_var=LD_LIBRARY_PATH
23151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23152 version_type=freebsd-elf
23155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23156 soname_spec='${libname}${release}${shared_ext}$major'
23157 shlibpath_var=LD_LIBRARY_PATH
23158 hardcode_into_libs=yes
23159 if test "$with_gnu_ld" = yes; then
23160 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23161 shlibpath_overrides_runpath=no
23163 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23164 shlibpath_overrides_runpath=yes
23167 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23171 sys_lib_dlsearch_path_spec='/usr/lib'
23176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23177 soname_spec='${libname}${release}${shared_ext}$major'
23178 shlibpath_var=LD_LIBRARY_PATH
23185 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23186 echo "${ECHO_T}$dynamic_linker" >&6; }
23187 test "$dynamic_linker" = no && can_build_shared=no
23189 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23190 if test "$GCC" = yes; then
23191 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23194 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23195 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23196 hardcode_action_F77=
23197 if test -n "$hardcode_libdir_flag_spec_F77" || \
23198 test -n "$runpath_var_F77" || \
23199 test "X$hardcode_automatic_F77" = "Xyes" ; then
23201 # We can hardcode non-existant directories.
23202 if test "$hardcode_direct_F77" != no &&
23203 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23204 # have to relink, otherwise we might link with an installed library
23205 # when we should be linking with a yet-to-be-installed one
23206 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23207 test "$hardcode_minus_L_F77" != no; then
23208 # Linking always hardcodes the temporary library directory.
23209 hardcode_action_F77=relink
23211 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23212 hardcode_action_F77=immediate
23215 # We cannot hardcode anything, or else we can only hardcode existing
23217 hardcode_action_F77=unsupported
23219 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23220 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23222 if test "$hardcode_action_F77" = relink; then
23223 # Fast installation is not supported
23224 enable_fast_install=no
23225 elif test "$shlibpath_overrides_runpath" = yes ||
23226 test "$enable_shared" = no; then
23227 # Fast installation is not necessary
23228 enable_fast_install=needless
23232 # The else clause should only fire when bootstrapping the
23233 # libtool distribution, otherwise you forgot to ship ltmain.sh
23234 # with your package, and you will get complaints that there are
23235 # no rules to generate ltmain.sh.
23236 if test -f "$ltmain"; then
23237 # See if we are running on zsh, and set the options which allow our commands through
23238 # without removal of \ escapes.
23239 if test -n "${ZSH_VERSION+set}" ; then
23240 setopt NO_GLOB_SUBST
23242 # Now quote all the things that may contain metacharacters while being
23243 # careful not to overquote the AC_SUBSTed values. We take copies of the
23244 # variables and quote the copies for generation of the libtool script.
23245 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23247 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23248 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23249 deplibs_check_method reload_flag reload_cmds need_locks \
23250 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23251 lt_cv_sys_global_symbol_to_c_name_address \
23252 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23253 old_postinstall_cmds old_postuninstall_cmds \
23257 lt_prog_compiler_wl_F77 \
23258 lt_prog_compiler_pic_F77 \
23259 lt_prog_compiler_static_F77 \
23260 lt_prog_compiler_no_builtin_flag_F77 \
23261 export_dynamic_flag_spec_F77 \
23262 thread_safe_flag_spec_F77 \
23263 whole_archive_flag_spec_F77 \
23264 enable_shared_with_static_runtimes_F77 \
23265 old_archive_cmds_F77 \
23266 old_archive_from_new_cmds_F77 \
23267 predep_objects_F77 \
23268 postdep_objects_F77 \
23271 compiler_lib_search_path_F77 \
23273 archive_expsym_cmds_F77 \
23274 postinstall_cmds_F77 \
23275 postuninstall_cmds_F77 \
23276 old_archive_from_expsyms_cmds_F77 \
23277 allow_undefined_flag_F77 \
23278 no_undefined_flag_F77 \
23279 export_symbols_cmds_F77 \
23280 hardcode_libdir_flag_spec_F77 \
23281 hardcode_libdir_flag_spec_ld_F77 \
23282 hardcode_libdir_separator_F77 \
23283 hardcode_automatic_F77 \
23285 module_expsym_cmds_F77 \
23286 lt_cv_prog_compiler_c_o_F77 \
23287 exclude_expsyms_F77 \
23288 include_expsyms_F77; do
23291 old_archive_cmds_F77 | \
23292 old_archive_from_new_cmds_F77 | \
23293 archive_cmds_F77 | \
23294 archive_expsym_cmds_F77 | \
23295 module_cmds_F77 | \
23296 module_expsym_cmds_F77 | \
23297 old_archive_from_expsyms_cmds_F77 | \
23298 export_symbols_cmds_F77 | \
23299 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23300 postinstall_cmds | postuninstall_cmds | \
23301 old_postinstall_cmds | old_postuninstall_cmds | \
23302 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23303 # Double-quote double-evaled strings.
23304 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23307 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23313 *'\$0 --fallback-echo"')
23314 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23320 cat <<__EOF__ >> "$cfgfile"
23321 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23323 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23325 # Shell to use when invoking shell scripts.
23328 # Whether or not to build shared libraries.
23329 build_libtool_libs=$enable_shared
23331 # Whether or not to build static libraries.
23332 build_old_libs=$enable_static
23334 # Whether or not to add -lc for building shared libraries.
23335 build_libtool_need_lc=$archive_cmds_need_lc_F77
23337 # Whether or not to disallow shared libs when runtime libs are static
23338 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23340 # Whether or not to optimize for fast installation.
23341 fast_install=$enable_fast_install
23344 host_alias=$host_alias
23348 # The build system.
23349 build_alias=$build_alias
23353 # An echo program that does not interpret backslashes.
23358 AR_FLAGS=$lt_AR_FLAGS
23363 # LTCC compiler flags.
23364 LTCFLAGS=$lt_LTCFLAGS
23366 # A language-specific compiler.
23367 CC=$lt_compiler_F77
23369 # Is the compiler the GNU C compiler?
23375 # The linker used to build libraries.
23378 # Whether we need hard or soft links.
23381 # A BSD-compatible nm program.
23384 # A symbol stripping program
23387 # Used to examine libraries when file_magic_cmd begins "file"
23388 MAGIC_CMD=$MAGIC_CMD
23390 # Used on cygwin: DLL creation program.
23393 # Used on cygwin: object dumper.
23396 # Used on cygwin: assembler.
23399 # The name of the directory that contains temporary libtool files.
23402 # How to create reloadable object files.
23403 reload_flag=$lt_reload_flag
23404 reload_cmds=$lt_reload_cmds
23406 # How to pass a linker flag through the compiler.
23407 wl=$lt_lt_prog_compiler_wl_F77
23409 # Object file suffix (normally "o").
23410 objext="$ac_objext"
23412 # Old archive suffix (normally "a").
23415 # Shared library suffix (normally ".so").
23416 shrext_cmds='$shrext_cmds'
23418 # Executable file suffix (normally "").
23421 # Additional compiler flags for building library objects.
23422 pic_flag=$lt_lt_prog_compiler_pic_F77
23425 # What is the maximum length of a command?
23426 max_cmd_len=$lt_cv_sys_max_cmd_len
23428 # Does compiler simultaneously support -c and -o options?
23429 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23431 # Must we lock files when doing compilation?
23432 need_locks=$lt_need_locks
23434 # Do we need the lib prefix for modules?
23435 need_lib_prefix=$need_lib_prefix
23437 # Do we need a version for libraries?
23438 need_version=$need_version
23440 # Whether dlopen is supported.
23441 dlopen_support=$enable_dlopen
23443 # Whether dlopen of programs is supported.
23444 dlopen_self=$enable_dlopen_self
23446 # Whether dlopen of statically linked programs is supported.
23447 dlopen_self_static=$enable_dlopen_self_static
23449 # Compiler flag to prevent dynamic linking.
23450 link_static_flag=$lt_lt_prog_compiler_static_F77
23452 # Compiler flag to turn off builtin functions.
23453 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23455 # Compiler flag to allow reflexive dlopens.
23456 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23458 # Compiler flag to generate shared objects directly from archives.
23459 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23461 # Compiler flag to generate thread-safe objects.
23462 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23464 # Library versioning type.
23465 version_type=$version_type
23467 # Format of library name prefix.
23468 libname_spec=$lt_libname_spec
23470 # List of archive names. First name is the real one, the rest are links.
23471 # The last name is the one that the linker finds with -lNAME.
23472 library_names_spec=$lt_library_names_spec
23474 # The coded name of the library, if different from the real name.
23475 soname_spec=$lt_soname_spec
23477 # Commands used to build and install an old-style archive.
23479 old_archive_cmds=$lt_old_archive_cmds_F77
23480 old_postinstall_cmds=$lt_old_postinstall_cmds
23481 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23483 # Create an old-style archive from a shared archive.
23484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23486 # Create a temporary old-style archive to link instead of a shared archive.
23487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23489 # Commands used to build and install a shared archive.
23490 archive_cmds=$lt_archive_cmds_F77
23491 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23492 postinstall_cmds=$lt_postinstall_cmds
23493 postuninstall_cmds=$lt_postuninstall_cmds
23495 # Commands used to build a loadable module (assumed same as above if empty)
23496 module_cmds=$lt_module_cmds_F77
23497 module_expsym_cmds=$lt_module_expsym_cmds_F77
23499 # Commands to strip libraries.
23500 old_striplib=$lt_old_striplib
23501 striplib=$lt_striplib
23503 # Dependencies to place before the objects being linked to create a
23505 predep_objects=$lt_predep_objects_F77
23507 # Dependencies to place after the objects being linked to create a
23509 postdep_objects=$lt_postdep_objects_F77
23511 # Dependencies to place before the objects being linked to create a
23513 predeps=$lt_predeps_F77
23515 # Dependencies to place after the objects being linked to create a
23517 postdeps=$lt_postdeps_F77
23519 # The library search path used internally by the compiler when linking
23520 # a shared library.
23521 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23523 # Method to check whether dependent libraries are shared objects.
23524 deplibs_check_method=$lt_deplibs_check_method
23526 # Command to use when deplibs_check_method == file_magic.
23527 file_magic_cmd=$lt_file_magic_cmd
23529 # Flag that allows shared libraries with undefined symbols to be built.
23530 allow_undefined_flag=$lt_allow_undefined_flag_F77
23532 # Flag that forces no undefined symbols.
23533 no_undefined_flag=$lt_no_undefined_flag_F77
23535 # Commands used to finish a libtool library installation in a directory.
23536 finish_cmds=$lt_finish_cmds
23538 # Same as above, but a single script fragment to be evaled but not shown.
23539 finish_eval=$lt_finish_eval
23541 # Take the output of nm and produce a listing of raw symbols and C names.
23542 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23544 # Transform the output of nm in a proper C declaration
23545 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23547 # Transform the output of nm in a C name address pair
23548 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23550 # This is the shared library runtime path variable.
23551 runpath_var=$runpath_var
23553 # This is the shared library path variable.
23554 shlibpath_var=$shlibpath_var
23556 # Is shlibpath searched before the hard-coded library search path?
23557 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23559 # How to hardcode a shared library path into an executable.
23560 hardcode_action=$hardcode_action_F77
23562 # Whether we should hardcode library paths into libraries.
23563 hardcode_into_libs=$hardcode_into_libs
23565 # Flag to hardcode \$libdir into a binary during linking.
23566 # This must work even if \$libdir does not exist.
23567 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23569 # If ld is used when linking, flag to hardcode \$libdir into
23570 # a binary during linking. This must work even if \$libdir does
23572 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23574 # Whether we need a single -rpath flag with a separated argument.
23575 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23577 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23578 # resulting binary.
23579 hardcode_direct=$hardcode_direct_F77
23581 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23582 # resulting binary.
23583 hardcode_minus_L=$hardcode_minus_L_F77
23585 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23586 # the resulting binary.
23587 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23589 # Set to yes if building a shared library automatically hardcodes DIR into the library
23590 # and all subsequent libraries and executables linked against it.
23591 hardcode_automatic=$hardcode_automatic_F77
23593 # Variables whose values should be saved in libtool wrapper scripts and
23594 # restored at relink time.
23595 variables_saved_for_relink="$variables_saved_for_relink"
23597 # Whether libtool must link a program against all its dependency libraries.
23598 link_all_deplibs=$link_all_deplibs_F77
23600 # Compile-time system search path for libraries
23601 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23603 # Run-time system search path for libraries
23604 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23606 # Fix the shell variable \$srcfile for the compiler.
23607 fix_srcfile_path="$fix_srcfile_path_F77"
23609 # Set to yes if exported symbols are required.
23610 always_export_symbols=$always_export_symbols_F77
23612 # The commands to list exported symbols.
23613 export_symbols_cmds=$lt_export_symbols_cmds_F77
23615 # The commands to extract the exported symbol list from a shared archive.
23616 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23618 # Symbols that should not be listed in the preloaded symbols.
23619 exclude_expsyms=$lt_exclude_expsyms_F77
23621 # Symbols that must always be exported.
23622 include_expsyms=$lt_include_expsyms_F77
23624 # ### END LIBTOOL TAG CONFIG: $tagname
23630 # If there is no Makefile yet, we rely on a make rule to execute
23631 # `config.status --recheck' to rerun these tests and create the
23632 # libtool script then.
23633 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23634 if test -f "$ltmain_in"; then
23635 test -f Makefile && make "$ltmain"
23641 ac_cpp='$CPP $CPPFLAGS'
23642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23657 # Source file extension for Java test sources.
23660 # Object file extension for compiled Java test sources.
23664 # Code to be used in simple compile tests
23665 lt_simple_compile_test_code="class foo {}\n"
23667 # Code to be used in simple link tests
23668 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
23670 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23672 # If no C compiler was specified, use CC.
23675 # If no C compiler flags were specified, use CFLAGS.
23676 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23678 # Allow CC to be a program name with arguments.
23682 # save warnings/boilerplate of simple test code
23683 ac_outfile=conftest.$ac_objext
23684 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
23685 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23686 _lt_compiler_boilerplate=`cat conftest.err`
23689 ac_outfile=conftest.$ac_objext
23690 printf "$lt_simple_link_test_code" >conftest.$ac_ext
23691 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23692 _lt_linker_boilerplate=`cat conftest.err`
23696 # Allow CC to be a program name with arguments.
23701 for cc_temp in $compiler""; do
23703 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23704 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23709 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23712 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23713 archive_cmds_need_lc_GCJ=no
23715 old_archive_cmds_GCJ=$old_archive_cmds
23718 lt_prog_compiler_no_builtin_flag_GCJ=
23720 if test "$GCC" = yes; then
23721 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
23724 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23725 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23726 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23727 echo $ECHO_N "(cached) $ECHO_C" >&6
23729 lt_cv_prog_compiler_rtti_exceptions=no
23730 ac_outfile=conftest.$ac_objext
23731 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23732 lt_compiler_flag="-fno-rtti -fno-exceptions"
23733 # Insert the option either (1) after the last *FLAGS variable, or
23734 # (2) before a word containing "conftest.", or (3) at the end.
23735 # Note that $ac_compile itself does not contain backslashes and begins
23736 # with a dollar sign (not a hyphen), so the echo should work correctly.
23737 # The option is referenced via a variable to avoid confusing sed.
23738 lt_compile=`echo "$ac_compile" | $SED \
23739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23741 -e 's:$: $lt_compiler_flag:'`
23742 (eval echo "\"\$as_me:23742: $lt_compile\"" >&5)
23743 (eval "$lt_compile" 2>conftest.err)
23745 cat conftest.err >&5
23746 echo "$as_me:23746: \$? = $ac_status" >&5
23747 if (exit $ac_status) && test -s "$ac_outfile"; then
23748 # The compiler can only warn and ignore the option if not recognized
23749 # So say no if there are warnings other than the usual output.
23750 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23751 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23752 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23753 lt_cv_prog_compiler_rtti_exceptions=yes
23759 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23760 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23762 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23763 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23770 lt_prog_compiler_wl_GCJ=
23771 lt_prog_compiler_pic_GCJ=
23772 lt_prog_compiler_static_GCJ=
23774 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23775 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23777 if test "$GCC" = yes; then
23778 lt_prog_compiler_wl_GCJ='-Wl,'
23779 lt_prog_compiler_static_GCJ='-static'
23783 # All AIX code is PIC.
23784 if test "$host_cpu" = ia64; then
23785 # AIX 5 now supports IA64 processor
23786 lt_prog_compiler_static_GCJ='-Bstatic'
23791 # FIXME: we need at least 68020 code to build shared libraries, but
23792 # adding the `-m68020' flag to GCC prevents building anything better,
23794 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23797 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23798 # PIC is the default for these OSes.
23801 mingw* | pw32* | os2*)
23802 # This hack is so that the source file can tell whether it is being
23803 # built for inclusion in a dll (and should export symbols for example).
23804 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23807 darwin* | rhapsody*)
23808 # PIC is the default on this platform
23809 # Common symbols not allowed in MH_DYLIB files
23810 lt_prog_compiler_pic_GCJ='-fno-common'
23814 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23815 # Instead, we relocate shared libraries at runtime.
23819 # Just because we use GCC doesn't mean we suddenly get shared libraries
23820 # on systems that don't support them.
23821 lt_prog_compiler_can_build_shared_GCJ=no
23826 if test -d /usr/nec; then
23827 lt_prog_compiler_pic_GCJ=-Kconform_pic
23832 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23833 # not for PA HP-UX.
23839 lt_prog_compiler_pic_GCJ='-fPIC'
23845 lt_prog_compiler_pic_GCJ='-fPIC'
23849 # PORTME Check for flag to pass linker flags through the system compiler.
23852 lt_prog_compiler_wl_GCJ='-Wl,'
23853 if test "$host_cpu" = ia64; then
23854 # AIX 5 now supports IA64 processor
23855 lt_prog_compiler_static_GCJ='-Bstatic'
23857 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
23861 # PIC is the default on this platform
23862 # Common symbols not allowed in MH_DYLIB files
23863 case $cc_basename in
23865 lt_prog_compiler_pic_GCJ='-qnocommon'
23866 lt_prog_compiler_wl_GCJ='-Wl,'
23871 mingw* | pw32* | os2*)
23872 # This hack is so that the source file can tell whether it is being
23873 # built for inclusion in a dll (and should export symbols for example).
23874 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23877 hpux9* | hpux10* | hpux11*)
23878 lt_prog_compiler_wl_GCJ='-Wl,'
23879 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23880 # not for PA HP-UX.
23886 lt_prog_compiler_pic_GCJ='+Z'
23889 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23890 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
23893 irix5* | irix6* | nonstopux*)
23894 lt_prog_compiler_wl_GCJ='-Wl,'
23895 # PIC (with -KPIC) is the default.
23896 lt_prog_compiler_static_GCJ='-non_shared'
23900 lt_prog_compiler_pic_GCJ='-KPIC'
23901 lt_prog_compiler_static_GCJ='-Bstatic'
23905 case $cc_basename in
23907 lt_prog_compiler_wl_GCJ='-Wl,'
23908 lt_prog_compiler_pic_GCJ='-KPIC'
23909 lt_prog_compiler_static_GCJ='-static'
23911 pgcc* | pgf77* | pgf90* | pgf95*)
23912 # Portland Group compilers (*not* the Pentium gcc compiler,
23913 # which looks to be a dead project)
23914 lt_prog_compiler_wl_GCJ='-Wl,'
23915 lt_prog_compiler_pic_GCJ='-fpic'
23916 lt_prog_compiler_static_GCJ='-Bstatic'
23919 lt_prog_compiler_wl_GCJ='-Wl,'
23920 # All Alpha code is PIC.
23921 lt_prog_compiler_static_GCJ='-non_shared'
23926 osf3* | osf4* | osf5*)
23927 lt_prog_compiler_wl_GCJ='-Wl,'
23928 # All OSF/1 code is PIC.
23929 lt_prog_compiler_static_GCJ='-non_shared'
23933 lt_prog_compiler_pic_GCJ='-KPIC'
23934 lt_prog_compiler_static_GCJ='-Bstatic'
23935 case $cc_basename in
23936 f77* | f90* | f95*)
23937 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
23939 lt_prog_compiler_wl_GCJ='-Wl,';;
23944 lt_prog_compiler_wl_GCJ='-Qoption ld '
23945 lt_prog_compiler_pic_GCJ='-PIC'
23946 lt_prog_compiler_static_GCJ='-Bstatic'
23949 sysv4 | sysv4.2uw2* | sysv4.3*)
23950 lt_prog_compiler_wl_GCJ='-Wl,'
23951 lt_prog_compiler_pic_GCJ='-KPIC'
23952 lt_prog_compiler_static_GCJ='-Bstatic'
23956 if test -d /usr/nec ;then
23957 lt_prog_compiler_pic_GCJ='-Kconform_pic'
23958 lt_prog_compiler_static_GCJ='-Bstatic'
23962 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23963 lt_prog_compiler_wl_GCJ='-Wl,'
23964 lt_prog_compiler_pic_GCJ='-KPIC'
23965 lt_prog_compiler_static_GCJ='-Bstatic'
23969 lt_prog_compiler_wl_GCJ='-Wl,'
23970 lt_prog_compiler_can_build_shared_GCJ=no
23974 lt_prog_compiler_pic_GCJ='-pic'
23975 lt_prog_compiler_static_GCJ='-Bstatic'
23979 lt_prog_compiler_can_build_shared_GCJ=no
23984 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23985 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23988 # Check to make sure the PIC flag actually works.
23990 if test -n "$lt_prog_compiler_pic_GCJ"; then
23992 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23993 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23994 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23995 echo $ECHO_N "(cached) $ECHO_C" >&6
23997 lt_prog_compiler_pic_works_GCJ=no
23998 ac_outfile=conftest.$ac_objext
23999 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24000 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24001 # Insert the option either (1) after the last *FLAGS variable, or
24002 # (2) before a word containing "conftest.", or (3) at the end.
24003 # Note that $ac_compile itself does not contain backslashes and begins
24004 # with a dollar sign (not a hyphen), so the echo should work correctly.
24005 # The option is referenced via a variable to avoid confusing sed.
24006 lt_compile=`echo "$ac_compile" | $SED \
24007 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24008 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24009 -e 's:$: $lt_compiler_flag:'`
24010 (eval echo "\"\$as_me:24010: $lt_compile\"" >&5)
24011 (eval "$lt_compile" 2>conftest.err)
24013 cat conftest.err >&5
24014 echo "$as_me:24014: \$? = $ac_status" >&5
24015 if (exit $ac_status) && test -s "$ac_outfile"; then
24016 # The compiler can only warn and ignore the option if not recognized
24017 # So say no if there are warnings other than the usual output.
24018 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24019 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24020 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24021 lt_prog_compiler_pic_works_GCJ=yes
24027 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24028 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24030 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24031 case $lt_prog_compiler_pic_GCJ in
24033 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24036 lt_prog_compiler_pic_GCJ=
24037 lt_prog_compiler_can_build_shared_GCJ=no
24042 # For platforms which do not support PIC, -DPIC is meaningless:
24044 lt_prog_compiler_pic_GCJ=
24047 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24052 # Check to make sure the static flag actually works.
24054 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24055 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24056 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24057 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24058 echo $ECHO_N "(cached) $ECHO_C" >&6
24060 lt_prog_compiler_static_works_GCJ=no
24061 save_LDFLAGS="$LDFLAGS"
24062 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24063 printf "$lt_simple_link_test_code" > conftest.$ac_ext
24064 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24065 # The linker can only warn and ignore the option if not recognized
24066 # So say no if there are warnings
24067 if test -s conftest.err; then
24068 # Append any errors to the config.log.
24069 cat conftest.err 1>&5
24070 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24071 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24072 if diff conftest.exp conftest.er2 >/dev/null; then
24073 lt_prog_compiler_static_works_GCJ=yes
24076 lt_prog_compiler_static_works_GCJ=yes
24080 LDFLAGS="$save_LDFLAGS"
24083 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24084 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24086 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
24089 lt_prog_compiler_static_GCJ=
24093 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24094 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24095 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 lt_cv_prog_compiler_c_o_GCJ=no
24099 $rm -r conftest 2>/dev/null
24103 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24105 lt_compiler_flag="-o out/conftest2.$ac_objext"
24106 # Insert the option either (1) after the last *FLAGS variable, or
24107 # (2) before a word containing "conftest.", or (3) at the end.
24108 # Note that $ac_compile itself does not contain backslashes and begins
24109 # with a dollar sign (not a hyphen), so the echo should work correctly.
24110 lt_compile=`echo "$ac_compile" | $SED \
24111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24113 -e 's:$: $lt_compiler_flag:'`
24114 (eval echo "\"\$as_me:24114: $lt_compile\"" >&5)
24115 (eval "$lt_compile" 2>out/conftest.err)
24117 cat out/conftest.err >&5
24118 echo "$as_me:24118: \$? = $ac_status" >&5
24119 if (exit $ac_status) && test -s out/conftest2.$ac_objext
24121 # The compiler can only warn and ignore the option if not recognized
24122 # So say no if there are warnings
24123 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24124 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24125 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24126 lt_cv_prog_compiler_c_o_GCJ=yes
24131 # SGI C++ compiler will create directory out/ii_files/ for
24132 # template instantiation
24133 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24134 $rm out/* && rmdir out
24140 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24141 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24144 hard_links="nottested"
24145 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24146 # do not overwrite the value of need_locks provided by the user
24147 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24148 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24151 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24153 ln conftest.a conftest.b 2>&5 || hard_links=no
24154 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24155 { echo "$as_me:$LINENO: result: $hard_links" >&5
24156 echo "${ECHO_T}$hard_links" >&6; }
24157 if test "$hard_links" = no; then
24158 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24159 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24166 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24167 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24170 allow_undefined_flag_GCJ=
24171 enable_shared_with_static_runtimes_GCJ=no
24173 archive_expsym_cmds_GCJ=
24174 old_archive_From_new_cmds_GCJ=
24175 old_archive_from_expsyms_cmds_GCJ=
24176 export_dynamic_flag_spec_GCJ=
24177 whole_archive_flag_spec_GCJ=
24178 thread_safe_flag_spec_GCJ=
24179 hardcode_libdir_flag_spec_GCJ=
24180 hardcode_libdir_flag_spec_ld_GCJ=
24181 hardcode_libdir_separator_GCJ=
24182 hardcode_direct_GCJ=no
24183 hardcode_minus_L_GCJ=no
24184 hardcode_shlibpath_var_GCJ=unsupported
24185 link_all_deplibs_GCJ=unknown
24186 hardcode_automatic_GCJ=no
24188 module_expsym_cmds_GCJ=
24189 always_export_symbols_GCJ=no
24190 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24191 # include_expsyms should be a list of space-separated symbols to be *always*
24192 # included in the symbol list
24193 include_expsyms_GCJ=
24194 # exclude_expsyms can be an extended regexp of symbols to exclude
24195 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24196 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24197 # as well as any symbol that contains `d'.
24198 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
24199 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24200 # platforms (ab)use it in PIC code, but their linkers get confused if
24201 # the symbol is explicitly referenced. Since portable code cannot
24202 # rely on this symbol name, it's probably fine to never include it in
24203 # preloaded symbol tables.
24204 extract_expsyms_cmds=
24205 # Just being paranoid about ensuring that cc_basename is set.
24206 for cc_temp in $compiler""; do
24208 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24209 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24214 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24217 cygwin* | mingw* | pw32*)
24218 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24219 # When not using gcc, we currently assume that we are using
24220 # Microsoft Visual C++.
24221 if test "$GCC" != yes; then
24226 # we just hope/assume this is gcc and not c89 (= MSVC++)
24235 if test "$with_gnu_ld" = yes; then
24236 # If archive_cmds runs LD, not CC, wlarc should be empty
24239 # Set some defaults for GNU ld with shared library support. These
24240 # are reset later if shared libraries are not supported. Putting them
24241 # here allows them to be overridden if necessary.
24242 runpath_var=LD_RUN_PATH
24243 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24244 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24245 # ancient GNU ld didn't support --whole-archive et. al.
24246 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24247 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24249 whole_archive_flag_spec_GCJ=
24251 supports_anon_versioning=no
24252 case `$LD -v 2>/dev/null` in
24253 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24254 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24255 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24256 *\ 2.11.*) ;; # other 2.11 versions
24257 *) supports_anon_versioning=yes ;;
24260 # See if GNU ld supports shared libraries.
24262 aix3* | aix4* | aix5*)
24263 # On AIX/PPC, the GNU linker is very broken
24264 if test "$host_cpu" != ia64; then
24268 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24269 *** to be unable to reliably create shared libraries on AIX.
24270 *** Therefore, libtool is disabling shared libraries support. If you
24271 *** really care for shared libraries, you may want to modify your PATH
24272 *** so that a non-GNU linker is found, and then restart.
24279 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)'
24280 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24281 hardcode_minus_L_GCJ=yes
24283 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24284 # that the semantics of dynamic libraries on AmigaOS, at least up
24285 # to version 4, is to share data among multiple programs linked
24286 # with the same dynamic library. Since this doesn't match the
24287 # behavior of shared libraries on other platforms, we can't use
24293 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24294 allow_undefined_flag_GCJ=unsupported
24295 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24296 # support --undefined. This deserves some investigation. FIXME
24297 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24303 cygwin* | mingw* | pw32*)
24304 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24305 # as there is no search path for DLLs.
24306 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24307 allow_undefined_flag_GCJ=unsupported
24308 always_export_symbols_GCJ=no
24309 enable_shared_with_static_runtimes_GCJ=yes
24310 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24312 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24313 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24314 # If the export-symbols file already is a .def file (1st line
24315 # is EXPORTS), use it as is; otherwise, prepend...
24316 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24317 cp $export_symbols $output_objdir/$soname.def;
24319 echo EXPORTS > $output_objdir/$soname.def;
24320 cat $export_symbols >> $output_objdir/$soname.def;
24322 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24329 hardcode_direct_GCJ=no
24330 hardcode_shlibpath_var_GCJ=no
24331 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24332 export_dynamic_flag_spec_GCJ='${wl}-E'
24333 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24334 # Instead, shared libraries are loaded at an image base (0x10000000 by
24335 # default) and relocated if they conflict, which is a slow very memory
24336 # consuming and fragmenting process. To avoid this, we pick a random,
24337 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24338 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24339 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'
24340 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'
24344 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24346 case $cc_basename,$host_cpu in
24347 pgcc*) # Portland Group C compiler
24348 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'
24349 tmp_addflag=' $pic_flag'
24351 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24352 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'
24353 tmp_addflag=' $pic_flag -Mnomain' ;;
24354 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24355 tmp_addflag=' -i_dynamic' ;;
24356 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24357 tmp_addflag=' -i_dynamic -nofor_main' ;;
24358 ifc* | ifort*) # Intel Fortran compiler
24359 tmp_addflag=' -nofor_main' ;;
24361 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24363 if test $supports_anon_versioning = yes; then
24364 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24365 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24366 $echo "local: *; };" >> $output_objdir/$libname.ver~
24367 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24375 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24376 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24379 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24380 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24385 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24389 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24390 *** create shared libraries on Solaris systems. Therefore, libtool
24391 *** is disabling shared libraries support. We urge you to upgrade GNU
24392 *** binutils to release 2.9.1 or newer. Another option is to modify
24393 *** your PATH or compiler configuration so that the native linker is
24394 *** used, and then restart.
24397 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24398 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24399 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24405 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24406 case `$LD -v 2>&1` in
24407 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24411 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24412 *** reliably create shared libraries on SCO systems. Therefore, libtool
24413 *** is disabling shared libraries support. We urge you to upgrade GNU
24414 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24415 *** your PATH or compiler configuration so that the native linker is
24416 *** used, and then restart.
24421 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24422 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24423 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24424 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24433 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24435 hardcode_direct_GCJ=yes
24436 hardcode_shlibpath_var_GCJ=no
24440 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24441 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24442 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24449 if test "$ld_shlibs_GCJ" = no; then
24451 hardcode_libdir_flag_spec_GCJ=
24452 export_dynamic_flag_spec_GCJ=
24453 whole_archive_flag_spec_GCJ=
24456 # PORTME fill in a description of your system's linker (not GNU ld)
24459 allow_undefined_flag_GCJ=unsupported
24460 always_export_symbols_GCJ=yes
24461 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'
24462 # Note: this linker hardcodes the directories in LIBPATH if there
24463 # are no directories specified by -L.
24464 hardcode_minus_L_GCJ=yes
24465 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24466 # Neither direct hardcoding nor static linking is supported with a
24468 hardcode_direct_GCJ=unsupported
24473 if test "$host_cpu" = ia64; then
24474 # On IA64, the linker does run time linking by default, so we don't
24475 # have to do anything special.
24476 aix_use_runtimelinking=no
24477 exp_sym_flag='-Bexport'
24480 # If we're using GNU nm, then we don't want the "-C" option.
24481 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24482 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24483 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'
24485 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'
24487 aix_use_runtimelinking=no
24489 # Test if we are trying to use run time linking or normal
24490 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24491 # need to do runtime linking.
24492 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24493 for ld_flag in $LDFLAGS; do
24494 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24495 aix_use_runtimelinking=yes
24502 exp_sym_flag='-bexport'
24503 no_entry_flag='-bnoentry'
24506 # When large executables or shared objects are built, AIX ld can
24507 # have problems creating the table of contents. If linking a library
24508 # or program results in "error TOC overflow" add -mminimal-toc to
24509 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24510 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24512 archive_cmds_GCJ=''
24513 hardcode_direct_GCJ=yes
24514 hardcode_libdir_separator_GCJ=':'
24515 link_all_deplibs_GCJ=yes
24517 if test "$GCC" = yes; then
24518 case $host_os in aix4.[012]|aix4.[012].*)
24519 # We only want to do this on AIX 4.2 and lower, the check
24520 # below for broken collect2 doesn't work under 4.3+
24521 collect2name=`${CC} -print-prog-name=collect2`
24522 if test -f "$collect2name" && \
24523 strings "$collect2name" | grep resolve_lib_name >/dev/null
24525 # We have reworked collect2
24526 hardcode_direct_GCJ=yes
24528 # We have old collect2
24529 hardcode_direct_GCJ=unsupported
24530 # It fails to find uninstalled libraries when the uninstalled
24531 # path is not listed in the libpath. Setting hardcode_minus_L
24532 # to unsupported forces relinking
24533 hardcode_minus_L_GCJ=yes
24534 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24535 hardcode_libdir_separator_GCJ=
24539 shared_flag='-shared'
24540 if test "$aix_use_runtimelinking" = yes; then
24541 shared_flag="$shared_flag "'${wl}-G'
24545 if test "$host_cpu" = ia64; then
24546 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24547 # chokes on -Wl,-G. The following line is correct:
24550 if test "$aix_use_runtimelinking" = yes; then
24551 shared_flag='${wl}-G'
24553 shared_flag='${wl}-bM:SRE'
24558 # It seems that -bexpall does not export symbols beginning with
24559 # underscore (_), so it is better to generate a list of symbols to export.
24560 always_export_symbols_GCJ=yes
24561 if test "$aix_use_runtimelinking" = yes; then
24562 # Warning - without using the other runtime loading flags (-brtl),
24563 # -berok will link without error, but may produce a broken library.
24564 allow_undefined_flag_GCJ='-berok'
24565 # Determine the default libpath from the value encoded in an empty executable.
24566 cat >conftest.$ac_ext <<_ACEOF
24569 cat confdefs.h >>conftest.$ac_ext
24570 cat >>conftest.$ac_ext <<_ACEOF
24571 /* end confdefs.h. */
24581 rm -f conftest.$ac_objext conftest$ac_exeext
24582 if { (ac_try="$ac_link"
24583 case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_link") 2>conftest.er1
24590 grep -v '^ *+' conftest.er1 >conftest.err
24592 cat conftest.err >&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } && {
24595 test -z "$ac_c_werror_flag" ||
24596 test ! -s conftest.err
24597 } && test -s conftest$ac_exeext &&
24598 $as_test_x conftest$ac_exeext; then
24600 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24602 # Check for a 64-bit object if we didn't find anything.
24603 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; }
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24613 conftest$ac_exeext conftest.$ac_ext
24614 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24616 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24617 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"
24619 if test "$host_cpu" = ia64; then
24620 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24621 allow_undefined_flag_GCJ="-z nodefs"
24622 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"
24624 # Determine the default libpath from the value encoded in an empty executable.
24625 cat >conftest.$ac_ext <<_ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24640 rm -f conftest.$ac_objext conftest$ac_exeext
24641 if { (ac_try="$ac_link"
24642 case "(($ac_try" in
24643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24644 *) ac_try_echo=$ac_try;;
24646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24647 (eval "$ac_link") 2>conftest.er1
24649 grep -v '^ *+' conftest.er1 >conftest.err
24651 cat conftest.err >&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } && {
24654 test -z "$ac_c_werror_flag" ||
24655 test ! -s conftest.err
24656 } && test -s conftest$ac_exeext &&
24657 $as_test_x conftest$ac_exeext; then
24659 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24661 # Check for a 64-bit object if we didn't find anything.
24662 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; }
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24672 conftest$ac_exeext conftest.$ac_ext
24673 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24675 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24676 # Warning - without using the other run time loading flags,
24677 # -berok will link without error, but may produce a broken library.
24678 no_undefined_flag_GCJ=' ${wl}-bernotok'
24679 allow_undefined_flag_GCJ=' ${wl}-berok'
24680 # Exported symbols can be pulled into shared objects from archives
24681 whole_archive_flag_spec_GCJ='$convenience'
24682 archive_cmds_need_lc_GCJ=yes
24683 # This is similar to how AIX traditionally builds its shared libraries.
24684 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'
24690 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)'
24691 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24692 hardcode_minus_L_GCJ=yes
24693 # see comment about different semantics on the GNU ld section
24698 export_dynamic_flag_spec_GCJ=-rdynamic
24701 cygwin* | mingw* | pw32*)
24702 # When not using gcc, we currently assume that we are using
24703 # Microsoft Visual C++.
24704 # hardcode_libdir_flag_spec is actually meaningless, as there is
24705 # no search path for DLLs.
24706 hardcode_libdir_flag_spec_GCJ=' '
24707 allow_undefined_flag_GCJ=unsupported
24708 # Tell ltmain to make .lib files, not .a files.
24710 # Tell ltmain to make .dll files, not .so files.
24712 # FIXME: Setting linknames here is a bad hack.
24713 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24714 # The linker will automatically build a .lib file if we build a DLL.
24715 old_archive_From_new_cmds_GCJ='true'
24716 # FIXME: Should let the user specify the lib program.
24717 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
24718 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
24719 enable_shared_with_static_runtimes_GCJ=yes
24722 darwin* | rhapsody*)
24724 rhapsody* | darwin1.[012])
24725 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
24728 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24729 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24731 case ${MACOSX_DEPLOYMENT_TARGET} in
24733 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24736 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24742 archive_cmds_need_lc_GCJ=no
24743 hardcode_direct_GCJ=no
24744 hardcode_automatic_GCJ=yes
24745 hardcode_shlibpath_var_GCJ=unsupported
24746 whole_archive_flag_spec_GCJ=''
24747 link_all_deplibs_GCJ=yes
24748 if test "$GCC" = yes ; then
24749 output_verbose_link_cmd='echo'
24750 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24751 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24752 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24753 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}'
24754 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}'
24756 case $cc_basename in
24758 output_verbose_link_cmd='echo'
24759 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24760 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24761 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24762 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}'
24763 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}'
24773 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24774 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24775 hardcode_shlibpath_var_GCJ=no
24782 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24783 # support. Future versions do this automatically, but an explicit c++rt0.o
24784 # does not break anything, and helps significantly (at the cost of a little
24787 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24788 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24789 hardcode_direct_GCJ=yes
24790 hardcode_shlibpath_var_GCJ=no
24793 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24795 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24796 hardcode_direct_GCJ=yes
24797 hardcode_minus_L_GCJ=yes
24798 hardcode_shlibpath_var_GCJ=no
24801 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24802 freebsd* | kfreebsd*-gnu | dragonfly*)
24803 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24804 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24805 hardcode_direct_GCJ=yes
24806 hardcode_shlibpath_var_GCJ=no
24810 if test "$GCC" = yes; then
24811 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'
24813 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'
24815 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24816 hardcode_libdir_separator_GCJ=:
24817 hardcode_direct_GCJ=yes
24819 # hardcode_minus_L: Not really in the search PATH,
24820 # but as the default location of the library.
24821 hardcode_minus_L_GCJ=yes
24822 export_dynamic_flag_spec_GCJ='${wl}-E'
24826 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24827 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24829 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24831 if test "$with_gnu_ld" = no; then
24832 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24833 hardcode_libdir_separator_GCJ=:
24835 hardcode_direct_GCJ=yes
24836 export_dynamic_flag_spec_GCJ='${wl}-E'
24838 # hardcode_minus_L: Not really in the search PATH,
24839 # but as the default location of the library.
24840 hardcode_minus_L_GCJ=yes
24845 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24848 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24851 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24854 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24860 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24863 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24866 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24870 if test "$with_gnu_ld" = no; then
24871 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24872 hardcode_libdir_separator_GCJ=:
24876 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
24877 hardcode_direct_GCJ=no
24878 hardcode_shlibpath_var_GCJ=no
24881 hardcode_direct_GCJ=yes
24882 export_dynamic_flag_spec_GCJ='${wl}-E'
24884 # hardcode_minus_L: Not really in the search PATH,
24885 # but as the default location of the library.
24886 hardcode_minus_L_GCJ=yes
24892 irix5* | irix6* | nonstopux*)
24893 if test "$GCC" = yes; then
24894 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'
24896 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'
24897 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
24899 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24900 hardcode_libdir_separator_GCJ=:
24901 link_all_deplibs_GCJ=yes
24905 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24906 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24908 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24910 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24911 hardcode_direct_GCJ=yes
24912 hardcode_shlibpath_var_GCJ=no
24916 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24917 hardcode_direct_GCJ=yes
24918 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24919 hardcode_libdir_separator_GCJ=:
24920 hardcode_shlibpath_var_GCJ=no
24924 hardcode_direct_GCJ=yes
24925 hardcode_shlibpath_var_GCJ=no
24926 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24927 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24928 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24929 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24930 export_dynamic_flag_spec_GCJ='${wl}-E'
24933 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24934 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24935 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24938 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24939 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24946 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24947 hardcode_minus_L_GCJ=yes
24948 allow_undefined_flag_GCJ=unsupported
24949 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'
24950 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24954 if test "$GCC" = yes; then
24955 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24956 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'
24958 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24959 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'
24961 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24962 hardcode_libdir_separator_GCJ=:
24965 osf4* | osf5*) # as osf3* with the addition of -msym flag
24966 if test "$GCC" = yes; then
24967 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24968 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'
24969 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24971 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24972 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'
24973 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~
24974 $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'
24976 # Both c and cxx compiler support -rpath directly
24977 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
24979 hardcode_libdir_separator_GCJ=:
24983 no_undefined_flag_GCJ=' -z text'
24984 if test "$GCC" = yes; then
24986 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24987 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24988 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24991 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24992 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24993 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24995 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24996 hardcode_shlibpath_var_GCJ=no
24998 solaris2.[0-5] | solaris2.[0-5].*) ;;
25000 # The compiler driver will combine linker options so we
25001 # cannot just pass the convience library names through
25002 # without $wl, iff we do not link with $LD.
25003 # Luckily, gcc supports the same syntax we need for Sun Studio.
25004 # Supported since Solaris 2.6 (maybe 2.5.1?)
25007 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
25009 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' ;;
25012 link_all_deplibs_GCJ=yes
25016 if test "x$host_vendor" = xsequent; then
25017 # Use $CC to link under sequent, because it throws in some extra .o
25018 # files that make .init and .fini sections work.
25019 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25021 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25023 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25024 hardcode_direct_GCJ=yes
25025 hardcode_minus_L_GCJ=yes
25026 hardcode_shlibpath_var_GCJ=no
25030 case $host_vendor in
25032 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25033 hardcode_direct_GCJ=yes # is this really true???
25036 ## LD is ld it makes a PLAMLIB
25037 ## CC just makes a GrossModule.
25038 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25039 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25040 hardcode_direct_GCJ=no
25043 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25044 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25047 runpath_var='LD_RUN_PATH'
25048 hardcode_shlibpath_var_GCJ=no
25052 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25053 hardcode_shlibpath_var_GCJ=no
25054 export_dynamic_flag_spec_GCJ='-Bexport'
25058 if test -d /usr/nec; then
25059 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25060 hardcode_shlibpath_var_GCJ=no
25061 runpath_var=LD_RUN_PATH
25062 hardcode_runpath_var=yes
25067 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
25068 no_undefined_flag_GCJ='${wl}-z,text'
25069 archive_cmds_need_lc_GCJ=no
25070 hardcode_shlibpath_var_GCJ=no
25071 runpath_var='LD_RUN_PATH'
25073 if test "$GCC" = yes; then
25074 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25075 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25077 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25078 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25082 sysv5* | sco3.2v5* | sco5v6*)
25083 # Note: We can NOT use -z defs as we might desire, because we do not
25084 # link with -lc, and that would cause any symbols used from libc to
25085 # always be unresolved, which means just about no library would
25086 # ever link correctly. If we're not using GNU ld we use -z text
25087 # though, which does catch some bad symbols but isn't as heavy-handed
25089 no_undefined_flag_GCJ='${wl}-z,text'
25090 allow_undefined_flag_GCJ='${wl}-z,nodefs'
25091 archive_cmds_need_lc_GCJ=no
25092 hardcode_shlibpath_var_GCJ=no
25093 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25094 hardcode_libdir_separator_GCJ=':'
25095 link_all_deplibs_GCJ=yes
25096 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25097 runpath_var='LD_RUN_PATH'
25099 if test "$GCC" = yes; then
25100 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25101 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25103 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25104 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25109 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25110 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25111 hardcode_shlibpath_var_GCJ=no
25120 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25121 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25122 test "$ld_shlibs_GCJ" = no && can_build_shared=no
25125 # Do we need to explicitly link libc?
25127 case "x$archive_cmds_need_lc_GCJ" in
25129 # Assume -lc should be added
25130 archive_cmds_need_lc_GCJ=yes
25132 if test "$enable_shared" = yes && test "$GCC" = yes; then
25133 case $archive_cmds_GCJ in
25135 # FIXME: we may have to deal with multi-command sequences.
25138 # Test whether the compiler implicitly links with -lc since on some
25139 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25140 # to ld, don't add -lc before -lgcc.
25141 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25142 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25144 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25147 (eval $ac_compile) 2>&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); } 2>conftest.err; then
25153 libobjs=conftest.$ac_objext
25155 wl=$lt_prog_compiler_wl_GCJ
25156 pic_flag=$lt_prog_compiler_pic_GCJ
25162 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25163 allow_undefined_flag_GCJ=
25164 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25165 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }
25170 archive_cmds_need_lc_GCJ=no
25172 archive_cmds_need_lc_GCJ=yes
25174 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25176 cat conftest.err 1>&5
25179 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25180 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25187 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25188 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25189 library_names_spec=
25190 libname_spec='lib$name'
25194 postuninstall_cmds=
25198 shlibpath_overrides_runpath=unknown
25200 dynamic_linker="$host_os ld.so"
25201 sys_lib_dlsearch_path_spec="/lib /usr/lib"
25202 if test "$GCC" = yes; then
25203 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25204 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
25205 # if the path contains ";" then we assume it to be the separator
25206 # otherwise default to the standard path separator (i.e. ":") - it is
25207 # assumed that no part of a normal pathname contains ";" but that should
25208 # okay in the real world where ";" in dirpaths is itself problematic.
25209 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25211 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25214 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25216 need_lib_prefix=unknown
25217 hardcode_into_libs=no
25219 # when you set need_version to no, make sure it does not cause -set_version
25220 # flags to be left without arguments
25221 need_version=unknown
25226 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25227 shlibpath_var=LIBPATH
25229 # AIX 3 has no versioning support, so we append a major version to the name.
25230 soname_spec='${libname}${release}${shared_ext}$major'
25237 hardcode_into_libs=yes
25238 if test "$host_cpu" = ia64; then
25239 # AIX 5 supports IA64
25240 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25241 shlibpath_var=LD_LIBRARY_PATH
25243 # With GCC up to 2.95.x, collect2 would create an import file
25244 # for dependence libraries. The import file would start with
25245 # the line `#! .'. This would cause the generated library to
25246 # depend on `.', always an invalid library. This was fixed in
25247 # development snapshots of GCC prior to 3.0.
25249 aix4 | aix4.[01] | aix4.[01].*)
25250 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25252 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25255 can_build_shared=no
25259 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25260 # soname into executable. Probably we can add versioning support to
25261 # collect2, so additional links can be useful in future.
25262 if test "$aix_use_runtimelinking" = yes; then
25263 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25264 # instead of lib<name>.a to let people know that these are not
25265 # typical AIX shared libraries.
25266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25268 # We preserve .a as extension for shared libraries through AIX4.2
25269 # and later when we are not doing run time linking.
25270 library_names_spec='${libname}${release}.a $libname.a'
25271 soname_spec='${libname}${release}${shared_ext}$major'
25273 shlibpath_var=LIBPATH
25278 library_names_spec='$libname.ixlibrary $libname.a'
25279 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25280 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'
25284 library_names_spec='${libname}${shared_ext}'
25285 dynamic_linker="$host_os ld.so"
25286 shlibpath_var=LIBRARY_PATH
25292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25293 soname_spec='${libname}${release}${shared_ext}$major'
25294 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25295 shlibpath_var=LD_LIBRARY_PATH
25296 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25297 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25298 # the default ld.so.conf also contains /usr/contrib/lib and
25299 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25300 # libtool to hard-code these into programs
25303 cygwin* | mingw* | pw32*)
25304 version_type=windows
25309 case $GCC,$host_os in
25310 yes,cygwin* | yes,mingw* | yes,pw32*)
25311 library_names_spec='$libname.dll.a'
25312 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25313 postinstall_cmds='base_file=`basename \${file}`~
25314 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25315 dldir=$destdir/`dirname \$dlpath`~
25316 test -d \$dldir || mkdir -p \$dldir~
25317 $install_prog $dir/$dlname \$dldir/$dlname~
25318 chmod a+x \$dldir/$dlname'
25319 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25320 dlpath=$dir/\$dldll~
25322 shlibpath_overrides_runpath=yes
25326 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25327 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25328 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25331 # MinGW DLLs use traditional 'lib' prefix
25332 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25333 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25334 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25335 # It is most probably a Windows format PATH printed by
25336 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25337 # path with ; separators, and with drive letters. We can handle the
25338 # drive letters (cygwin fileutils understands them), so leave them,
25339 # especially as we might pass files found there to a mingw objdump,
25340 # which wouldn't understand a cygwinified path. Ahh.
25341 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25343 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25347 # pw32 DLLs use 'pw' prefix rather than 'lib'
25348 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25354 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25357 dynamic_linker='Win32 ld.exe'
25358 # FIXME: first we should search . and the directory the executable is in
25362 darwin* | rhapsody*)
25363 dynamic_linker="$host_os dyld"
25364 version_type=darwin
25367 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25368 soname_spec='${libname}${release}${major}$shared_ext'
25369 shlibpath_overrides_runpath=yes
25370 shlibpath_var=DYLD_LIBRARY_PATH
25371 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25372 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25373 if test "$GCC" = yes; then
25374 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"`
25376 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25378 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25386 soname_spec='${libname}${release}${shared_ext}$major'
25387 shlibpath_var=LD_LIBRARY_PATH
25398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25399 soname_spec='${libname}${release}${shared_ext}$major'
25400 shlibpath_var=LD_LIBRARY_PATH
25401 shlibpath_overrides_runpath=no
25402 hardcode_into_libs=yes
25403 dynamic_linker='GNU ld.so'
25406 freebsd* | dragonfly*)
25407 # DragonFly does not have aout. When/if they implement a new
25408 # versioning mechanism, adjust this.
25409 if test -x /usr/bin/objformat; then
25410 objformat=`/usr/bin/objformat`
25413 freebsd[123]*) objformat=aout ;;
25414 *) objformat=elf ;;
25417 version_type=freebsd-$objformat
25418 case $version_type in
25420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25429 shlibpath_var=LD_LIBRARY_PATH
25432 shlibpath_overrides_runpath=yes
25434 freebsd3.[01]* | freebsdelf3.[01]*)
25435 shlibpath_overrides_runpath=yes
25436 hardcode_into_libs=yes
25438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25440 shlibpath_overrides_runpath=no
25441 hardcode_into_libs=yes
25443 freebsd*) # from 4.6 on
25444 shlibpath_overrides_runpath=yes
25445 hardcode_into_libs=yes
25454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25455 soname_spec='${libname}${release}${shared_ext}$major'
25456 shlibpath_var=LD_LIBRARY_PATH
25457 hardcode_into_libs=yes
25460 hpux9* | hpux10* | hpux11*)
25461 # Give a soname corresponding to the major version so that dld.sl refuses to
25462 # link against other versions.
25469 hardcode_into_libs=yes
25470 dynamic_linker="$host_os dld.so"
25471 shlibpath_var=LD_LIBRARY_PATH
25472 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25474 soname_spec='${libname}${release}${shared_ext}$major'
25475 if test "X$HPUX_IA64_MODE" = X32; then
25476 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25478 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25480 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25484 hardcode_into_libs=yes
25485 dynamic_linker="$host_os dld.sl"
25486 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25487 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25489 soname_spec='${libname}${release}${shared_ext}$major'
25490 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25495 dynamic_linker="$host_os dld.sl"
25496 shlibpath_var=SHLIB_PATH
25497 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25499 soname_spec='${libname}${release}${shared_ext}$major'
25502 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25503 postinstall_cmds='chmod 555 $lib'
25510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25511 soname_spec='${libname}${release}${shared_ext}$major'
25512 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25513 shlibpath_var=LD_LIBRARY_PATH
25514 shlibpath_overrides_runpath=no
25515 hardcode_into_libs=yes
25518 irix5* | irix6* | nonstopux*)
25520 nonstopux*) version_type=nonstopux ;;
25522 if test "$lt_cv_prog_gnu_ld" = yes; then
25530 soname_spec='${libname}${release}${shared_ext}$major'
25531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25533 irix5* | nonstopux*)
25534 libsuff= shlibsuff=
25537 case $LD in # libtool.m4 will add one of these switches to LD
25538 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25539 libsuff= shlibsuff= libmagic=32-bit;;
25540 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25541 libsuff=32 shlibsuff=N32 libmagic=N32;;
25542 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25543 libsuff=64 shlibsuff=64 libmagic=64-bit;;
25544 *) libsuff= shlibsuff= libmagic=never-match;;
25548 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25549 shlibpath_overrides_runpath=no
25550 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25551 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25552 hardcode_into_libs=yes
25555 # No shared lib support for Linux oldld, aout, or coff.
25556 linux*oldld* | linux*aout* | linux*coff*)
25560 # This must be Linux ELF.
25565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25566 soname_spec='${libname}${release}${shared_ext}$major'
25567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25568 shlibpath_var=LD_LIBRARY_PATH
25569 shlibpath_overrides_runpath=no
25570 # This implies no fast_install, which is unacceptable.
25571 # Some rework will be needed to allow for fast_install
25572 # before this can be enabled.
25573 hardcode_into_libs=yes
25575 # find out which ABI we are using
25577 case "$host_cpu" in
25578 x86_64*|s390x*|powerpc64*)
25579 echo '#line 25579 "configure"' > conftest.$ac_ext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; then
25585 case `/usr/bin/file conftest.$ac_objext` in
25588 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
25596 # Append ld.so.conf contents to the search path
25597 if test -f /etc/ld.so.conf; then
25598 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' ' '`
25599 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
25602 # We used to test for /lib/ld.so.1 and disable shared libraries on
25603 # powerpc, because MkLinux only supported shared libraries with the
25604 # GNU dynamic linker. Since this was broken with cross compilers,
25605 # most powerpc-linux boxes support dynamic linking these days and
25606 # people can always --disable-shared, the test was removed, and we
25607 # assume the GNU/Linux dynamic linker is in use.
25608 dynamic_linker='GNU/Linux ld.so'
25615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25616 soname_spec='${libname}${release}${shared_ext}$major'
25617 shlibpath_var=LD_LIBRARY_PATH
25618 shlibpath_overrides_runpath=no
25619 hardcode_into_libs=yes
25620 dynamic_linker='GNU ld.so'
25627 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25629 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25630 dynamic_linker='NetBSD (a.out) ld.so'
25632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25633 soname_spec='${libname}${release}${shared_ext}$major'
25634 dynamic_linker='NetBSD ld.elf_so'
25636 shlibpath_var=LD_LIBRARY_PATH
25637 shlibpath_overrides_runpath=yes
25638 hardcode_into_libs=yes
25643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25644 shlibpath_var=LD_LIBRARY_PATH
25645 shlibpath_overrides_runpath=yes
25652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25653 soname_spec='${libname}${release}${shared_ext}$major'
25654 shlibpath_var=LD_LIBRARY_PATH
25655 shlibpath_overrides_runpath=yes
25660 sys_lib_dlsearch_path_spec="/usr/lib"
25662 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25664 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25665 *) need_version=no ;;
25667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25668 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25669 shlibpath_var=LD_LIBRARY_PATH
25670 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25672 openbsd2.[89] | openbsd2.[89].*)
25673 shlibpath_overrides_runpath=no
25676 shlibpath_overrides_runpath=yes
25680 shlibpath_overrides_runpath=yes
25685 libname_spec='$name'
25688 library_names_spec='$libname${shared_ext} $libname.a'
25689 dynamic_linker='OS/2 ld.exe'
25690 shlibpath_var=LIBPATH
25693 osf3* | osf4* | osf5*)
25697 soname_spec='${libname}${release}${shared_ext}$major'
25698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25699 shlibpath_var=LD_LIBRARY_PATH
25700 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25701 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25709 soname_spec='${libname}${release}${shared_ext}$major'
25710 shlibpath_var=LD_LIBRARY_PATH
25711 shlibpath_overrides_runpath=yes
25712 hardcode_into_libs=yes
25713 # ldd complains unless libraries are executable
25714 postinstall_cmds='chmod +x $lib'
25719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25720 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25721 shlibpath_var=LD_LIBRARY_PATH
25722 shlibpath_overrides_runpath=yes
25723 if test "$with_gnu_ld" = yes; then
25731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25732 soname_spec='${libname}${release}${shared_ext}$major'
25733 shlibpath_var=LD_LIBRARY_PATH
25734 case $host_vendor in
25736 shlibpath_overrides_runpath=no
25738 export_dynamic_flag_spec='${wl}-Blargedynsym'
25739 runpath_var=LD_RUN_PATH
25747 shlibpath_overrides_runpath=no
25748 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
25754 if test -d /usr/nec ;then
25756 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25757 soname_spec='$libname${shared_ext}.$major'
25758 shlibpath_var=LD_LIBRARY_PATH
25762 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25763 version_type=freebsd-elf
25766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25767 soname_spec='${libname}${release}${shared_ext}$major'
25768 shlibpath_var=LD_LIBRARY_PATH
25769 hardcode_into_libs=yes
25770 if test "$with_gnu_ld" = yes; then
25771 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25772 shlibpath_overrides_runpath=no
25774 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
25775 shlibpath_overrides_runpath=yes
25778 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
25782 sys_lib_dlsearch_path_spec='/usr/lib'
25787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25788 soname_spec='${libname}${release}${shared_ext}$major'
25789 shlibpath_var=LD_LIBRARY_PATH
25796 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25797 echo "${ECHO_T}$dynamic_linker" >&6; }
25798 test "$dynamic_linker" = no && can_build_shared=no
25800 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25801 if test "$GCC" = yes; then
25802 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25805 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25806 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25807 hardcode_action_GCJ=
25808 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25809 test -n "$runpath_var_GCJ" || \
25810 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25812 # We can hardcode non-existant directories.
25813 if test "$hardcode_direct_GCJ" != no &&
25814 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25815 # have to relink, otherwise we might link with an installed library
25816 # when we should be linking with a yet-to-be-installed one
25817 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25818 test "$hardcode_minus_L_GCJ" != no; then
25819 # Linking always hardcodes the temporary library directory.
25820 hardcode_action_GCJ=relink
25822 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25823 hardcode_action_GCJ=immediate
25826 # We cannot hardcode anything, or else we can only hardcode existing
25828 hardcode_action_GCJ=unsupported
25830 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25831 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25833 if test "$hardcode_action_GCJ" = relink; then
25834 # Fast installation is not supported
25835 enable_fast_install=no
25836 elif test "$shlibpath_overrides_runpath" = yes ||
25837 test "$enable_shared" = no; then
25838 # Fast installation is not necessary
25839 enable_fast_install=needless
25843 # The else clause should only fire when bootstrapping the
25844 # libtool distribution, otherwise you forgot to ship ltmain.sh
25845 # with your package, and you will get complaints that there are
25846 # no rules to generate ltmain.sh.
25847 if test -f "$ltmain"; then
25848 # See if we are running on zsh, and set the options which allow our commands through
25849 # without removal of \ escapes.
25850 if test -n "${ZSH_VERSION+set}" ; then
25851 setopt NO_GLOB_SUBST
25853 # Now quote all the things that may contain metacharacters while being
25854 # careful not to overquote the AC_SUBSTed values. We take copies of the
25855 # variables and quote the copies for generation of the libtool script.
25856 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25858 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25859 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25860 deplibs_check_method reload_flag reload_cmds need_locks \
25861 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25862 lt_cv_sys_global_symbol_to_c_name_address \
25863 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25864 old_postinstall_cmds old_postuninstall_cmds \
25868 lt_prog_compiler_wl_GCJ \
25869 lt_prog_compiler_pic_GCJ \
25870 lt_prog_compiler_static_GCJ \
25871 lt_prog_compiler_no_builtin_flag_GCJ \
25872 export_dynamic_flag_spec_GCJ \
25873 thread_safe_flag_spec_GCJ \
25874 whole_archive_flag_spec_GCJ \
25875 enable_shared_with_static_runtimes_GCJ \
25876 old_archive_cmds_GCJ \
25877 old_archive_from_new_cmds_GCJ \
25878 predep_objects_GCJ \
25879 postdep_objects_GCJ \
25882 compiler_lib_search_path_GCJ \
25884 archive_expsym_cmds_GCJ \
25885 postinstall_cmds_GCJ \
25886 postuninstall_cmds_GCJ \
25887 old_archive_from_expsyms_cmds_GCJ \
25888 allow_undefined_flag_GCJ \
25889 no_undefined_flag_GCJ \
25890 export_symbols_cmds_GCJ \
25891 hardcode_libdir_flag_spec_GCJ \
25892 hardcode_libdir_flag_spec_ld_GCJ \
25893 hardcode_libdir_separator_GCJ \
25894 hardcode_automatic_GCJ \
25896 module_expsym_cmds_GCJ \
25897 lt_cv_prog_compiler_c_o_GCJ \
25898 exclude_expsyms_GCJ \
25899 include_expsyms_GCJ; do
25902 old_archive_cmds_GCJ | \
25903 old_archive_from_new_cmds_GCJ | \
25904 archive_cmds_GCJ | \
25905 archive_expsym_cmds_GCJ | \
25906 module_cmds_GCJ | \
25907 module_expsym_cmds_GCJ | \
25908 old_archive_from_expsyms_cmds_GCJ | \
25909 export_symbols_cmds_GCJ | \
25910 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25911 postinstall_cmds | postuninstall_cmds | \
25912 old_postinstall_cmds | old_postuninstall_cmds | \
25913 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25914 # Double-quote double-evaled strings.
25915 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25918 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25924 *'\$0 --fallback-echo"')
25925 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25931 cat <<__EOF__ >> "$cfgfile"
25932 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25934 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25936 # Shell to use when invoking shell scripts.
25939 # Whether or not to build shared libraries.
25940 build_libtool_libs=$enable_shared
25942 # Whether or not to build static libraries.
25943 build_old_libs=$enable_static
25945 # Whether or not to add -lc for building shared libraries.
25946 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25948 # Whether or not to disallow shared libs when runtime libs are static
25949 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25951 # Whether or not to optimize for fast installation.
25952 fast_install=$enable_fast_install
25955 host_alias=$host_alias
25959 # The build system.
25960 build_alias=$build_alias
25964 # An echo program that does not interpret backslashes.
25969 AR_FLAGS=$lt_AR_FLAGS
25974 # LTCC compiler flags.
25975 LTCFLAGS=$lt_LTCFLAGS
25977 # A language-specific compiler.
25978 CC=$lt_compiler_GCJ
25980 # Is the compiler the GNU C compiler?
25986 # The linker used to build libraries.
25989 # Whether we need hard or soft links.
25992 # A BSD-compatible nm program.
25995 # A symbol stripping program
25998 # Used to examine libraries when file_magic_cmd begins "file"
25999 MAGIC_CMD=$MAGIC_CMD
26001 # Used on cygwin: DLL creation program.
26004 # Used on cygwin: object dumper.
26007 # Used on cygwin: assembler.
26010 # The name of the directory that contains temporary libtool files.
26013 # How to create reloadable object files.
26014 reload_flag=$lt_reload_flag
26015 reload_cmds=$lt_reload_cmds
26017 # How to pass a linker flag through the compiler.
26018 wl=$lt_lt_prog_compiler_wl_GCJ
26020 # Object file suffix (normally "o").
26021 objext="$ac_objext"
26023 # Old archive suffix (normally "a").
26026 # Shared library suffix (normally ".so").
26027 shrext_cmds='$shrext_cmds'
26029 # Executable file suffix (normally "").
26032 # Additional compiler flags for building library objects.
26033 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26036 # What is the maximum length of a command?
26037 max_cmd_len=$lt_cv_sys_max_cmd_len
26039 # Does compiler simultaneously support -c and -o options?
26040 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26042 # Must we lock files when doing compilation?
26043 need_locks=$lt_need_locks
26045 # Do we need the lib prefix for modules?
26046 need_lib_prefix=$need_lib_prefix
26048 # Do we need a version for libraries?
26049 need_version=$need_version
26051 # Whether dlopen is supported.
26052 dlopen_support=$enable_dlopen
26054 # Whether dlopen of programs is supported.
26055 dlopen_self=$enable_dlopen_self
26057 # Whether dlopen of statically linked programs is supported.
26058 dlopen_self_static=$enable_dlopen_self_static
26060 # Compiler flag to prevent dynamic linking.
26061 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26063 # Compiler flag to turn off builtin functions.
26064 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26066 # Compiler flag to allow reflexive dlopens.
26067 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26069 # Compiler flag to generate shared objects directly from archives.
26070 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26072 # Compiler flag to generate thread-safe objects.
26073 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26075 # Library versioning type.
26076 version_type=$version_type
26078 # Format of library name prefix.
26079 libname_spec=$lt_libname_spec
26081 # List of archive names. First name is the real one, the rest are links.
26082 # The last name is the one that the linker finds with -lNAME.
26083 library_names_spec=$lt_library_names_spec
26085 # The coded name of the library, if different from the real name.
26086 soname_spec=$lt_soname_spec
26088 # Commands used to build and install an old-style archive.
26090 old_archive_cmds=$lt_old_archive_cmds_GCJ
26091 old_postinstall_cmds=$lt_old_postinstall_cmds
26092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26094 # Create an old-style archive from a shared archive.
26095 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26097 # Create a temporary old-style archive to link instead of a shared archive.
26098 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26100 # Commands used to build and install a shared archive.
26101 archive_cmds=$lt_archive_cmds_GCJ
26102 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26103 postinstall_cmds=$lt_postinstall_cmds
26104 postuninstall_cmds=$lt_postuninstall_cmds
26106 # Commands used to build a loadable module (assumed same as above if empty)
26107 module_cmds=$lt_module_cmds_GCJ
26108 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26110 # Commands to strip libraries.
26111 old_striplib=$lt_old_striplib
26112 striplib=$lt_striplib
26114 # Dependencies to place before the objects being linked to create a
26116 predep_objects=$lt_predep_objects_GCJ
26118 # Dependencies to place after the objects being linked to create a
26120 postdep_objects=$lt_postdep_objects_GCJ
26122 # Dependencies to place before the objects being linked to create a
26124 predeps=$lt_predeps_GCJ
26126 # Dependencies to place after the objects being linked to create a
26128 postdeps=$lt_postdeps_GCJ
26130 # The library search path used internally by the compiler when linking
26131 # a shared library.
26132 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26134 # Method to check whether dependent libraries are shared objects.
26135 deplibs_check_method=$lt_deplibs_check_method
26137 # Command to use when deplibs_check_method == file_magic.
26138 file_magic_cmd=$lt_file_magic_cmd
26140 # Flag that allows shared libraries with undefined symbols to be built.
26141 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26143 # Flag that forces no undefined symbols.
26144 no_undefined_flag=$lt_no_undefined_flag_GCJ
26146 # Commands used to finish a libtool library installation in a directory.
26147 finish_cmds=$lt_finish_cmds
26149 # Same as above, but a single script fragment to be evaled but not shown.
26150 finish_eval=$lt_finish_eval
26152 # Take the output of nm and produce a listing of raw symbols and C names.
26153 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26155 # Transform the output of nm in a proper C declaration
26156 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26158 # Transform the output of nm in a C name address pair
26159 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26161 # This is the shared library runtime path variable.
26162 runpath_var=$runpath_var
26164 # This is the shared library path variable.
26165 shlibpath_var=$shlibpath_var
26167 # Is shlibpath searched before the hard-coded library search path?
26168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26170 # How to hardcode a shared library path into an executable.
26171 hardcode_action=$hardcode_action_GCJ
26173 # Whether we should hardcode library paths into libraries.
26174 hardcode_into_libs=$hardcode_into_libs
26176 # Flag to hardcode \$libdir into a binary during linking.
26177 # This must work even if \$libdir does not exist.
26178 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26180 # If ld is used when linking, flag to hardcode \$libdir into
26181 # a binary during linking. This must work even if \$libdir does
26183 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26185 # Whether we need a single -rpath flag with a separated argument.
26186 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26188 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26189 # resulting binary.
26190 hardcode_direct=$hardcode_direct_GCJ
26192 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26193 # resulting binary.
26194 hardcode_minus_L=$hardcode_minus_L_GCJ
26196 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26197 # the resulting binary.
26198 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26200 # Set to yes if building a shared library automatically hardcodes DIR into the library
26201 # and all subsequent libraries and executables linked against it.
26202 hardcode_automatic=$hardcode_automatic_GCJ
26204 # Variables whose values should be saved in libtool wrapper scripts and
26205 # restored at relink time.
26206 variables_saved_for_relink="$variables_saved_for_relink"
26208 # Whether libtool must link a program against all its dependency libraries.
26209 link_all_deplibs=$link_all_deplibs_GCJ
26211 # Compile-time system search path for libraries
26212 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26214 # Run-time system search path for libraries
26215 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26217 # Fix the shell variable \$srcfile for the compiler.
26218 fix_srcfile_path="$fix_srcfile_path_GCJ"
26220 # Set to yes if exported symbols are required.
26221 always_export_symbols=$always_export_symbols_GCJ
26223 # The commands to list exported symbols.
26224 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26226 # The commands to extract the exported symbol list from a shared archive.
26227 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26229 # Symbols that should not be listed in the preloaded symbols.
26230 exclude_expsyms=$lt_exclude_expsyms_GCJ
26232 # Symbols that must always be exported.
26233 include_expsyms=$lt_include_expsyms_GCJ
26235 # ### END LIBTOOL TAG CONFIG: $tagname
26241 # If there is no Makefile yet, we rely on a make rule to execute
26242 # `config.status --recheck' to rerun these tests and create the
26243 # libtool script then.
26244 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26245 if test -f "$ltmain_in"; then
26246 test -f Makefile && make "$ltmain"
26252 ac_cpp='$CPP $CPPFLAGS'
26253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26267 # Source file extension for RC test sources.
26270 # Object file extension for compiled RC test sources.
26274 # Code to be used in simple compile tests
26275 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26277 # Code to be used in simple link tests
26278 lt_simple_link_test_code="$lt_simple_compile_test_code"
26280 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26282 # If no C compiler was specified, use CC.
26285 # If no C compiler flags were specified, use CFLAGS.
26286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26288 # Allow CC to be a program name with arguments.
26292 # save warnings/boilerplate of simple test code
26293 ac_outfile=conftest.$ac_objext
26294 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
26295 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26296 _lt_compiler_boilerplate=`cat conftest.err`
26299 ac_outfile=conftest.$ac_objext
26300 printf "$lt_simple_link_test_code" >conftest.$ac_ext
26301 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26302 _lt_linker_boilerplate=`cat conftest.err`
26306 # Allow CC to be a program name with arguments.
26311 for cc_temp in $compiler""; do
26313 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26314 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26319 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26321 lt_cv_prog_compiler_c_o_RC=yes
26323 # The else clause should only fire when bootstrapping the
26324 # libtool distribution, otherwise you forgot to ship ltmain.sh
26325 # with your package, and you will get complaints that there are
26326 # no rules to generate ltmain.sh.
26327 if test -f "$ltmain"; then
26328 # See if we are running on zsh, and set the options which allow our commands through
26329 # without removal of \ escapes.
26330 if test -n "${ZSH_VERSION+set}" ; then
26331 setopt NO_GLOB_SUBST
26333 # Now quote all the things that may contain metacharacters while being
26334 # careful not to overquote the AC_SUBSTed values. We take copies of the
26335 # variables and quote the copies for generation of the libtool script.
26336 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26338 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26339 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26340 deplibs_check_method reload_flag reload_cmds need_locks \
26341 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26342 lt_cv_sys_global_symbol_to_c_name_address \
26343 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26344 old_postinstall_cmds old_postuninstall_cmds \
26348 lt_prog_compiler_wl_RC \
26349 lt_prog_compiler_pic_RC \
26350 lt_prog_compiler_static_RC \
26351 lt_prog_compiler_no_builtin_flag_RC \
26352 export_dynamic_flag_spec_RC \
26353 thread_safe_flag_spec_RC \
26354 whole_archive_flag_spec_RC \
26355 enable_shared_with_static_runtimes_RC \
26356 old_archive_cmds_RC \
26357 old_archive_from_new_cmds_RC \
26358 predep_objects_RC \
26359 postdep_objects_RC \
26362 compiler_lib_search_path_RC \
26364 archive_expsym_cmds_RC \
26365 postinstall_cmds_RC \
26366 postuninstall_cmds_RC \
26367 old_archive_from_expsyms_cmds_RC \
26368 allow_undefined_flag_RC \
26369 no_undefined_flag_RC \
26370 export_symbols_cmds_RC \
26371 hardcode_libdir_flag_spec_RC \
26372 hardcode_libdir_flag_spec_ld_RC \
26373 hardcode_libdir_separator_RC \
26374 hardcode_automatic_RC \
26376 module_expsym_cmds_RC \
26377 lt_cv_prog_compiler_c_o_RC \
26378 exclude_expsyms_RC \
26379 include_expsyms_RC; do
26382 old_archive_cmds_RC | \
26383 old_archive_from_new_cmds_RC | \
26384 archive_cmds_RC | \
26385 archive_expsym_cmds_RC | \
26387 module_expsym_cmds_RC | \
26388 old_archive_from_expsyms_cmds_RC | \
26389 export_symbols_cmds_RC | \
26390 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26391 postinstall_cmds | postuninstall_cmds | \
26392 old_postinstall_cmds | old_postuninstall_cmds | \
26393 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26394 # Double-quote double-evaled strings.
26395 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26398 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26404 *'\$0 --fallback-echo"')
26405 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26411 cat <<__EOF__ >> "$cfgfile"
26412 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26414 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26416 # Shell to use when invoking shell scripts.
26419 # Whether or not to build shared libraries.
26420 build_libtool_libs=$enable_shared
26422 # Whether or not to build static libraries.
26423 build_old_libs=$enable_static
26425 # Whether or not to add -lc for building shared libraries.
26426 build_libtool_need_lc=$archive_cmds_need_lc_RC
26428 # Whether or not to disallow shared libs when runtime libs are static
26429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26431 # Whether or not to optimize for fast installation.
26432 fast_install=$enable_fast_install
26435 host_alias=$host_alias
26439 # The build system.
26440 build_alias=$build_alias
26444 # An echo program that does not interpret backslashes.
26449 AR_FLAGS=$lt_AR_FLAGS
26454 # LTCC compiler flags.
26455 LTCFLAGS=$lt_LTCFLAGS
26457 # A language-specific compiler.
26460 # Is the compiler the GNU C compiler?
26466 # The linker used to build libraries.
26469 # Whether we need hard or soft links.
26472 # A BSD-compatible nm program.
26475 # A symbol stripping program
26478 # Used to examine libraries when file_magic_cmd begins "file"
26479 MAGIC_CMD=$MAGIC_CMD
26481 # Used on cygwin: DLL creation program.
26484 # Used on cygwin: object dumper.
26487 # Used on cygwin: assembler.
26490 # The name of the directory that contains temporary libtool files.
26493 # How to create reloadable object files.
26494 reload_flag=$lt_reload_flag
26495 reload_cmds=$lt_reload_cmds
26497 # How to pass a linker flag through the compiler.
26498 wl=$lt_lt_prog_compiler_wl_RC
26500 # Object file suffix (normally "o").
26501 objext="$ac_objext"
26503 # Old archive suffix (normally "a").
26506 # Shared library suffix (normally ".so").
26507 shrext_cmds='$shrext_cmds'
26509 # Executable file suffix (normally "").
26512 # Additional compiler flags for building library objects.
26513 pic_flag=$lt_lt_prog_compiler_pic_RC
26516 # What is the maximum length of a command?
26517 max_cmd_len=$lt_cv_sys_max_cmd_len
26519 # Does compiler simultaneously support -c and -o options?
26520 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26522 # Must we lock files when doing compilation?
26523 need_locks=$lt_need_locks
26525 # Do we need the lib prefix for modules?
26526 need_lib_prefix=$need_lib_prefix
26528 # Do we need a version for libraries?
26529 need_version=$need_version
26531 # Whether dlopen is supported.
26532 dlopen_support=$enable_dlopen
26534 # Whether dlopen of programs is supported.
26535 dlopen_self=$enable_dlopen_self
26537 # Whether dlopen of statically linked programs is supported.
26538 dlopen_self_static=$enable_dlopen_self_static
26540 # Compiler flag to prevent dynamic linking.
26541 link_static_flag=$lt_lt_prog_compiler_static_RC
26543 # Compiler flag to turn off builtin functions.
26544 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26546 # Compiler flag to allow reflexive dlopens.
26547 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26549 # Compiler flag to generate shared objects directly from archives.
26550 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26552 # Compiler flag to generate thread-safe objects.
26553 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26555 # Library versioning type.
26556 version_type=$version_type
26558 # Format of library name prefix.
26559 libname_spec=$lt_libname_spec
26561 # List of archive names. First name is the real one, the rest are links.
26562 # The last name is the one that the linker finds with -lNAME.
26563 library_names_spec=$lt_library_names_spec
26565 # The coded name of the library, if different from the real name.
26566 soname_spec=$lt_soname_spec
26568 # Commands used to build and install an old-style archive.
26570 old_archive_cmds=$lt_old_archive_cmds_RC
26571 old_postinstall_cmds=$lt_old_postinstall_cmds
26572 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26574 # Create an old-style archive from a shared archive.
26575 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26577 # Create a temporary old-style archive to link instead of a shared archive.
26578 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26580 # Commands used to build and install a shared archive.
26581 archive_cmds=$lt_archive_cmds_RC
26582 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26583 postinstall_cmds=$lt_postinstall_cmds
26584 postuninstall_cmds=$lt_postuninstall_cmds
26586 # Commands used to build a loadable module (assumed same as above if empty)
26587 module_cmds=$lt_module_cmds_RC
26588 module_expsym_cmds=$lt_module_expsym_cmds_RC
26590 # Commands to strip libraries.
26591 old_striplib=$lt_old_striplib
26592 striplib=$lt_striplib
26594 # Dependencies to place before the objects being linked to create a
26596 predep_objects=$lt_predep_objects_RC
26598 # Dependencies to place after the objects being linked to create a
26600 postdep_objects=$lt_postdep_objects_RC
26602 # Dependencies to place before the objects being linked to create a
26604 predeps=$lt_predeps_RC
26606 # Dependencies to place after the objects being linked to create a
26608 postdeps=$lt_postdeps_RC
26610 # The library search path used internally by the compiler when linking
26611 # a shared library.
26612 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26614 # Method to check whether dependent libraries are shared objects.
26615 deplibs_check_method=$lt_deplibs_check_method
26617 # Command to use when deplibs_check_method == file_magic.
26618 file_magic_cmd=$lt_file_magic_cmd
26620 # Flag that allows shared libraries with undefined symbols to be built.
26621 allow_undefined_flag=$lt_allow_undefined_flag_RC
26623 # Flag that forces no undefined symbols.
26624 no_undefined_flag=$lt_no_undefined_flag_RC
26626 # Commands used to finish a libtool library installation in a directory.
26627 finish_cmds=$lt_finish_cmds
26629 # Same as above, but a single script fragment to be evaled but not shown.
26630 finish_eval=$lt_finish_eval
26632 # Take the output of nm and produce a listing of raw symbols and C names.
26633 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26635 # Transform the output of nm in a proper C declaration
26636 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26638 # Transform the output of nm in a C name address pair
26639 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26641 # This is the shared library runtime path variable.
26642 runpath_var=$runpath_var
26644 # This is the shared library path variable.
26645 shlibpath_var=$shlibpath_var
26647 # Is shlibpath searched before the hard-coded library search path?
26648 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26650 # How to hardcode a shared library path into an executable.
26651 hardcode_action=$hardcode_action_RC
26653 # Whether we should hardcode library paths into libraries.
26654 hardcode_into_libs=$hardcode_into_libs
26656 # Flag to hardcode \$libdir into a binary during linking.
26657 # This must work even if \$libdir does not exist.
26658 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26660 # If ld is used when linking, flag to hardcode \$libdir into
26661 # a binary during linking. This must work even if \$libdir does
26663 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26665 # Whether we need a single -rpath flag with a separated argument.
26666 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26668 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26669 # resulting binary.
26670 hardcode_direct=$hardcode_direct_RC
26672 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26673 # resulting binary.
26674 hardcode_minus_L=$hardcode_minus_L_RC
26676 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26677 # the resulting binary.
26678 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26680 # Set to yes if building a shared library automatically hardcodes DIR into the library
26681 # and all subsequent libraries and executables linked against it.
26682 hardcode_automatic=$hardcode_automatic_RC
26684 # Variables whose values should be saved in libtool wrapper scripts and
26685 # restored at relink time.
26686 variables_saved_for_relink="$variables_saved_for_relink"
26688 # Whether libtool must link a program against all its dependency libraries.
26689 link_all_deplibs=$link_all_deplibs_RC
26691 # Compile-time system search path for libraries
26692 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26694 # Run-time system search path for libraries
26695 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26697 # Fix the shell variable \$srcfile for the compiler.
26698 fix_srcfile_path="$fix_srcfile_path_RC"
26700 # Set to yes if exported symbols are required.
26701 always_export_symbols=$always_export_symbols_RC
26703 # The commands to list exported symbols.
26704 export_symbols_cmds=$lt_export_symbols_cmds_RC
26706 # The commands to extract the exported symbol list from a shared archive.
26707 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26709 # Symbols that should not be listed in the preloaded symbols.
26710 exclude_expsyms=$lt_exclude_expsyms_RC
26712 # Symbols that must always be exported.
26713 include_expsyms=$lt_include_expsyms_RC
26715 # ### END LIBTOOL TAG CONFIG: $tagname
26721 # If there is no Makefile yet, we rely on a make rule to execute
26722 # `config.status --recheck' to rerun these tests and create the
26723 # libtool script then.
26724 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26725 if test -f "$ltmain_in"; then
26726 test -f Makefile && make "$ltmain"
26732 ac_cpp='$CPP $CPPFLAGS'
26733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26742 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26743 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26744 { (exit 1); exit 1; }; }
26748 # Append the new tag name to the list of available tags.
26749 if test -n "$tagname" ; then
26750 available_tags="$available_tags $tagname"
26756 # Now substitute the updated list of available tags.
26757 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26758 mv "${ofile}T" "$ofile"
26762 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26763 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26764 { (exit 1); exit 1; }; }
26770 # This can be used to rebuild libtool when needed
26771 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
26773 # Always use our own libtool.
26774 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
26776 # Prevent multiple expansion
26800 { echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26801 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6; }
26803 # Check whether --with-vrootdir was given.
26804 if test "${with_vrootdir+set}" = set; then
26805 withval=$with_vrootdir; case "$withval" in
26806 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26807 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26808 { (exit 1); exit 1; }; };;
26809 *) ensc_uv_path_vrootdir=$withval;;
26812 ensc_uv_path_vrootdir=/vservers
26815 { echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26816 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6; }
26818 if test x"vserverdir" != x; then
26819 vserverdir=$ensc_uv_path_vrootdir
26824 for ac_prog in svn2cl
26826 # Extract the first word of "$ac_prog", so it can be a program name with args.
26827 set dummy $ac_prog; ac_word=$2
26828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26830 if test "${ac_cv_prog_SVN2CL+set}" = set; then
26831 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 if test -n "$SVN2CL"; then
26834 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
26836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26837 for as_dir in $PATH
26840 test -z "$as_dir" && as_dir=.
26841 for ac_exec_ext in '' $ac_executable_extensions; do
26842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26843 ac_cv_prog_SVN2CL="$ac_prog"
26844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26853 SVN2CL=$ac_cv_prog_SVN2CL
26854 if test -n "$SVN2CL"; then
26855 { echo "$as_me:$LINENO: result: $SVN2CL" >&5
26856 echo "${ECHO_T}$SVN2CL" >&6; }
26858 { echo "$as_me:$LINENO: result: no" >&5
26859 echo "${ECHO_T}no" >&6; }
26863 test -n "$SVN2CL" && break
26866 if test x"$SVN2CL" != x; then
26868 HAVE_SVN2CL_FALSE='#'
26870 HAVE_SVN2CL_TRUE='#'
26877 { echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26878 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6; }
26879 # Check whether --enable-internal-headers was given.
26880 if test "${enable_internal_headers+set}" = set; then
26881 enableval=$enable_internal_headers; case "$enableval" in
26883 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26884 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26885 { (exit 1); exit 1; }; };;
26888 enable_internal_headers=yes
26892 if test x"$enable_internal_headers" = xyes; then
26893 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26894 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26896 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26897 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26900 { echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26901 echo "${ECHO_T}$enable_internal_headers" >&6; }
26930 { echo "$as_me:$LINENO: checking for supported APIs" >&5
26931 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6; }
26932 # Check whether --enable-apis was given.
26933 if test "${enable_apis+set}" = set; then
26934 enableval=$enable_apis;
26936 enable_apis=v13,net,v21,v22,v23,netv2
26940 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2'
26941 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2'
26942 enable_api_oldproc=
26947 for i in $enable_apis; do
26949 (compat) cat >>confdefs.h <<\_ACEOF
26950 #define VC_ENABLE_API_COMPAT 1
26953 enable_api_oldproc=${enable_api_oldproc:-1}
26954 enable_api_olduts=${enable_api_olduts:-1}
26956 (legacy) cat >>confdefs.h <<\_ACEOF
26957 #define VC_ENABLE_API_LEGACY 1
26960 enable_api_oldproc=${enable_api_oldproc:-1}
26961 enable_api_olduts=${enable_api_olduts:-1}
26963 (v11) cat >>confdefs.h <<\_ACEOF
26964 #define VC_ENABLE_API_V11 1
26967 enable_api_oldproc=${enable_api_oldproc:-1}
26968 enable_api_olduts=${enable_api_olduts:-1}
26970 (fscompat) cat >>confdefs.h <<\_ACEOF
26971 #define VC_ENABLE_API_FSCOMPAT 1
26974 (v13obs) cat >>confdefs.h <<\_ACEOF
26975 #define VC_ENABLE_API_V13OBS 1
26978 cat >>confdefs.h <<\_ACEOF
26979 #define VC_ENABLE_API_V13 1
26982 (v13) cat >>confdefs.h <<\_ACEOF
26983 #define VC_ENABLE_API_V13 1
26986 (net) cat >>confdefs.h <<\_ACEOF
26987 #define VC_ENABLE_API_NET 1
26990 (v21) cat >>confdefs.h <<\_ACEOF
26991 #define VC_ENABLE_API_V21 1
26994 (v22) cat >>confdefs.h <<\_ACEOF
26995 #define VC_ENABLE_API_V22 1
26998 (v23) cat >>confdefs.h <<\_ACEOF
26999 #define VC_ENABLE_API_V23 1
27002 (netv2) cat >>confdefs.h <<\_ACEOF
27003 #define VC_ENABLE_API_NETV2 1
27006 (oldproc) enable_api_oldproc=2;;
27007 (olduts) enable_api_olduts=2;;
27008 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
27009 echo "$as_me: error: '$i' is not a supported API" >&2;}
27010 { (exit 1); exit 1; }; };;
27014 if test x"$enable_api_oldproc" != x; then
27015 cat >>confdefs.h <<\_ACEOF
27016 #define VC_ENABLE_API_OLDPROC 1
27019 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
27021 if test x"$enable_api_olduts" != x; then
27022 cat >>confdefs.h <<\_ACEOF
27023 #define VC_ENABLE_API_OLDUTS 1
27026 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
27028 { echo "$as_me:$LINENO: result: $enable_apis" >&5
27029 echo "${ECHO_T}$enable_apis" >&6; }
27035 ac_cpp='$CXXCPP $CPPFLAGS'
27036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27040 { echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
27041 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6; }
27042 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 cat >conftest.$ac_ext <<_ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052 #include <ext2fs/ext2_fs.h>
27053 int main() { return 0; }
27055 rm -f conftest.$ac_objext
27056 if { (ac_try="$ac_compile"
27057 case "(($ac_try" in
27058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27059 *) ac_try_echo=$ac_try;;
27061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27062 (eval "$ac_compile") 2>conftest.er1
27064 grep -v '^ *+' conftest.er1 >conftest.err
27066 cat conftest.err >&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } && {
27069 test -z "$ac_cxx_werror_flag" ||
27070 test ! -s conftest.err
27071 } && test -s conftest.$ac_objext; then
27072 ensc_cv_test_ext2fs_header=e2fsprogs
27074 echo "$as_me: failed program was:" >&5
27075 sed 's/^/| /' conftest.$ac_ext >&5
27078 cat >conftest.$ac_ext <<_ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084 #include <linux/ext2_fs.h>
27085 int main() { return 0; }
27087 rm -f conftest.$ac_objext
27088 if { (ac_try="$ac_compile"
27089 case "(($ac_try" in
27090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27091 *) ac_try_echo=$ac_try;;
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_compile") 2>conftest.er1
27096 grep -v '^ *+' conftest.er1 >conftest.err
27098 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && {
27101 test -z "$ac_cxx_werror_flag" ||
27102 test ! -s conftest.err
27103 } && test -s conftest.$ac_objext; then
27104 ensc_cv_test_ext2fs_header=kernel
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27110 ensc_cv_test_ext2fs_header=none
27113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27118 { echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
27119 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6; }
27121 case x"$ensc_cv_test_ext2fs_header" in
27123 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27124 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27125 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27126 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27127 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27130 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27132 # Is the header compilable?
27133 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
27134 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6; }
27135 cat >conftest.$ac_ext <<_ACEOF
27138 cat confdefs.h >>conftest.$ac_ext
27139 cat >>conftest.$ac_ext <<_ACEOF
27140 /* end confdefs.h. */
27141 $ac_includes_default
27142 #include <ext2fs/ext2_fs.h>
27144 rm -f conftest.$ac_objext
27145 if { (ac_try="$ac_compile"
27146 case "(($ac_try" in
27147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27148 *) ac_try_echo=$ac_try;;
27150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27151 (eval "$ac_compile") 2>conftest.er1
27153 grep -v '^ *+' conftest.er1 >conftest.err
27155 cat conftest.err >&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); } && {
27158 test -z "$ac_cxx_werror_flag" ||
27159 test ! -s conftest.err
27160 } && test -s conftest.$ac_objext; then
27161 ac_header_compiler=yes
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27166 ac_header_compiler=no
27169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27170 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27171 echo "${ECHO_T}$ac_header_compiler" >&6; }
27173 # Is the header present?
27174 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
27175 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6; }
27176 cat >conftest.$ac_ext <<_ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27182 #include <ext2fs/ext2_fs.h>
27184 if { (ac_try="$ac_cpp conftest.$ac_ext"
27185 case "(($ac_try" in
27186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27187 *) ac_try_echo=$ac_try;;
27189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27192 grep -v '^ *+' conftest.er1 >conftest.err
27194 cat conftest.err >&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } >/dev/null && {
27197 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27198 test ! -s conftest.err
27200 ac_header_preproc=yes
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27205 ac_header_preproc=no
27208 rm -f conftest.err conftest.$ac_ext
27209 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27210 echo "${ECHO_T}$ac_header_preproc" >&6; }
27212 # So? What about this header?
27213 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27215 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27216 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27217 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
27218 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
27219 ac_header_preproc=yes
27222 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
27223 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
27224 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
27225 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27226 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
27227 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
27228 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27229 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27230 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
27231 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27232 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
27233 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27235 ## --------------------------------------------- ##
27236 ## Report this to vserver@list.linux-vserver.org ##
27237 ## --------------------------------------------- ##
27239 ) | sed "s/^/$as_me: WARNING: /" >&2
27242 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27243 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27244 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27245 echo $ECHO_N "(cached) $ECHO_C" >&6
27247 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
27249 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27250 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27253 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
27255 cat >>confdefs.h <<\_ACEOF
27256 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
27260 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27261 See \`config.log' for more details." >&5
27262 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27263 See \`config.log' for more details." >&2;}
27264 { (exit 1); exit 1; }; }
27270 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27271 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27272 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27273 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27277 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27279 # Is the header compilable?
27280 { echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
27281 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6; }
27282 cat >conftest.$ac_ext <<_ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288 $ac_includes_default
27289 #include <linux/ext2_fs.h>
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27300 grep -v '^ *+' conftest.er1 >conftest.err
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_cxx_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27308 ac_header_compiler=yes
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27313 ac_header_compiler=no
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27318 echo "${ECHO_T}$ac_header_compiler" >&6; }
27320 # Is the header present?
27321 { echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
27322 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6; }
27323 cat >conftest.$ac_ext <<_ACEOF
27326 cat confdefs.h >>conftest.$ac_ext
27327 cat >>conftest.$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27329 #include <linux/ext2_fs.h>
27331 if { (ac_try="$ac_cpp conftest.$ac_ext"
27332 case "(($ac_try" in
27333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27334 *) ac_try_echo=$ac_try;;
27336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27339 grep -v '^ *+' conftest.er1 >conftest.err
27341 cat conftest.err >&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); } >/dev/null && {
27344 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27345 test ! -s conftest.err
27347 ac_header_preproc=yes
27349 echo "$as_me: failed program was:" >&5
27350 sed 's/^/| /' conftest.$ac_ext >&5
27352 ac_header_preproc=no
27355 rm -f conftest.err conftest.$ac_ext
27356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27357 echo "${ECHO_T}$ac_header_preproc" >&6; }
27359 # So? What about this header?
27360 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27362 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27363 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27364 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
27365 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
27366 ac_header_preproc=yes
27369 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
27370 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
27372 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27373 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
27374 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27376 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27377 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
27378 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27379 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
27380 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27382 ## --------------------------------------------- ##
27383 ## Report this to vserver@list.linux-vserver.org ##
27384 ## --------------------------------------------- ##
27386 ) | sed "s/^/$as_me: WARNING: /" >&2
27389 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27390 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27391 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
27396 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27397 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27400 if test $ac_cv_header_linux_ext2_fs_h = yes; then
27402 cat >>confdefs.h <<\_ACEOF
27403 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
27407 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
27408 See \`config.log' for more details." >&5
27409 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
27410 See \`config.log' for more details." >&2;}
27411 { (exit 1); exit 1; }; }
27417 { { echo "$as_me:$LINENO: error:
27418 ext2fs headers were not found, or they are not usable. This can have
27419 the following reasons:
27421 * you have neither the e2fsprogs nor the kernel headers installed
27423 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27424 and you do not have e2fsprogs headers installed; please try to install
27425 - e2fsprogs-devel (for Red Hat), or
27426 - lib*ext2fs2-devel (for Mandriva), or
27427 - e2fslibs-dev (for Debian)
27430 * kernel headers are broken and your e2fsprogs headers are too old;
27431 until version 1.27 (inclusive), they are using reserved C++ keywords
27433 * kernel headers are broken and your e2fsprogs headers are too new;
27434 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27435 C++, for details and a solution see
27436 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27439 In the latter two cases you have the following options:
27440 * fix the headers manually, or
27441 * install a stable version of e2fsprogs (e.g. 1.34), or
27442 * use good kernel headers (from linux 2.4.x)
27444 See \`config.log' for more details." >&5
27445 echo "$as_me: error:
27446 ext2fs headers were not found, or they are not usable. This can have
27447 the following reasons:
27449 * you have neither the e2fsprogs nor the kernel headers installed
27451 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27452 and you do not have e2fsprogs headers installed; please try to install
27453 - e2fsprogs-devel (for Red Hat), or
27454 - lib*ext2fs2-devel (for Mandriva), or
27455 - e2fslibs-dev (for Debian)
27458 * kernel headers are broken and your e2fsprogs headers are too old;
27459 until version 1.27 (inclusive), they are using reserved C++ keywords
27461 * kernel headers are broken and your e2fsprogs headers are too new;
27462 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27463 C++, for details and a solution see
27464 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27467 In the latter two cases you have the following options:
27468 * fix the headers manually, or
27469 * install a stable version of e2fsprogs (e.g. 1.34), or
27470 * use good kernel headers (from linux 2.4.x)
27472 See \`config.log' for more details." >&2;}
27473 { (exit 1); exit 1; }; }
27477 ac_cpp='$CPP $CPPFLAGS'
27478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27484 for ac_func in vserver
27486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 cat >conftest.$ac_ext <<_ACEOF
27495 cat confdefs.h >>conftest.$ac_ext
27496 cat >>conftest.$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27500 #define $ac_func innocuous_$ac_func
27502 /* System header to define __stub macros and hopefully few prototypes,
27503 which can conflict with char $ac_func (); below.
27504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27505 <limits.h> exists even on freestanding compilers. */
27508 # include <limits.h>
27510 # include <assert.h>
27515 /* Override any GCC internal prototype to avoid an error.
27516 Use char because int might match the return type of a GCC
27517 builtin and then its argument prototype would still apply. */
27522 /* The GNU C library defines this for functions which it implements
27523 to always fail with ENOSYS. Some functions are actually named
27524 something starting with __ and the normal name is an alias. */
27525 #if defined __stub_$ac_func || defined __stub___$ac_func
27532 return $ac_func ();
27537 rm -f conftest.$ac_objext conftest$ac_exeext
27538 if { (ac_try="$ac_link"
27539 case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_link") 2>conftest.er1
27546 grep -v '^ *+' conftest.er1 >conftest.err
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } && {
27551 test -z "$ac_c_werror_flag" ||
27552 test ! -s conftest.err
27553 } && test -s conftest$ac_exeext &&
27554 $as_test_x conftest$ac_exeext; then
27555 eval "$as_ac_var=yes"
27557 echo "$as_me: failed program was:" >&5
27558 sed 's/^/| /' conftest.$ac_ext >&5
27560 eval "$as_ac_var=no"
27563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27564 conftest$ac_exeext conftest.$ac_ext
27566 ac_res=`eval echo '${'$as_ac_var'}'`
27567 { echo "$as_me:$LINENO: result: $ac_res" >&5
27568 echo "${ECHO_T}$ac_res" >&6; }
27569 if test `eval echo '${'$as_ac_var'}'` = yes; then
27570 cat >>confdefs.h <<_ACEOF
27571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27577 { echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27578 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6; }
27579 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 cat >conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588 #include <linux/fs.h>
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27610 grep -v '^ *+' conftest.er1 >conftest.err
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_c_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 ac_cv_have_decl_MS_MOVE=yes
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27623 ac_cv_have_decl_MS_MOVE=no
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27628 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27629 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6; }
27630 if test $ac_cv_have_decl_MS_MOVE = yes; then
27632 cat >>confdefs.h <<_ACEOF
27633 #define HAVE_DECL_MS_MOVE 1
27638 cat >>confdefs.h <<_ACEOF
27639 #define HAVE_DECL_MS_MOVE 0
27646 { echo "$as_me:$LINENO: checking for xid_t" >&5
27647 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6; }
27648 if test "${ac_cv_type_xid_t+set}" = set; then
27649 echo $ECHO_N "(cached) $ECHO_C" >&6
27651 cat >conftest.$ac_ext <<_ACEOF
27654 cat confdefs.h >>conftest.$ac_ext
27655 cat >>conftest.$ac_ext <<_ACEOF
27656 /* end confdefs.h. */
27657 #include <sys/types.h>
27659 typedef xid_t ac__type_new_;
27663 if ((ac__type_new_ *) 0)
27665 if (sizeof (ac__type_new_))
27671 rm -f conftest.$ac_objext
27672 if { (ac_try="$ac_compile"
27673 case "(($ac_try" in
27674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27675 *) ac_try_echo=$ac_try;;
27677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27678 (eval "$ac_compile") 2>conftest.er1
27680 grep -v '^ *+' conftest.er1 >conftest.err
27682 cat conftest.err >&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } && {
27685 test -z "$ac_c_werror_flag" ||
27686 test ! -s conftest.err
27687 } && test -s conftest.$ac_objext; then
27688 ac_cv_type_xid_t=yes
27690 echo "$as_me: failed program was:" >&5
27691 sed 's/^/| /' conftest.$ac_ext >&5
27693 ac_cv_type_xid_t=no
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27698 { echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27699 echo "${ECHO_T}$ac_cv_type_xid_t" >&6; }
27700 if test $ac_cv_type_xid_t = yes; then
27702 cat >>confdefs.h <<_ACEOF
27703 #define HAVE_XID_T 1
27709 { echo "$as_me:$LINENO: checking for nid_t" >&5
27710 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6; }
27711 if test "${ac_cv_type_nid_t+set}" = set; then
27712 echo $ECHO_N "(cached) $ECHO_C" >&6
27714 cat >conftest.$ac_ext <<_ACEOF
27717 cat confdefs.h >>conftest.$ac_ext
27718 cat >>conftest.$ac_ext <<_ACEOF
27719 /* end confdefs.h. */
27720 #include <sys/types.h>
27722 typedef nid_t ac__type_new_;
27726 if ((ac__type_new_ *) 0)
27728 if (sizeof (ac__type_new_))
27734 rm -f conftest.$ac_objext
27735 if { (ac_try="$ac_compile"
27736 case "(($ac_try" in
27737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27738 *) ac_try_echo=$ac_try;;
27740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27741 (eval "$ac_compile") 2>conftest.er1
27743 grep -v '^ *+' conftest.er1 >conftest.err
27745 cat conftest.err >&5
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); } && {
27748 test -z "$ac_c_werror_flag" ||
27749 test ! -s conftest.err
27750 } && test -s conftest.$ac_objext; then
27751 ac_cv_type_nid_t=yes
27753 echo "$as_me: failed program was:" >&5
27754 sed 's/^/| /' conftest.$ac_ext >&5
27756 ac_cv_type_nid_t=no
27759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27761 { echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27762 echo "${ECHO_T}$ac_cv_type_nid_t" >&6; }
27763 if test $ac_cv_type_nid_t = yes; then
27765 cat >>confdefs.h <<_ACEOF
27766 #define HAVE_NID_T 1
27772 { echo "$as_me:$LINENO: checking for tag_t" >&5
27773 echo $ECHO_N "checking for tag_t... $ECHO_C" >&6; }
27774 if test "${ac_cv_type_tag_t+set}" = set; then
27775 echo $ECHO_N "(cached) $ECHO_C" >&6
27777 cat >conftest.$ac_ext <<_ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783 #include <sys/types.h>
27785 typedef tag_t ac__type_new_;
27789 if ((ac__type_new_ *) 0)
27791 if (sizeof (ac__type_new_))
27797 rm -f conftest.$ac_objext
27798 if { (ac_try="$ac_compile"
27799 case "(($ac_try" in
27800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27801 *) ac_try_echo=$ac_try;;
27803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27804 (eval "$ac_compile") 2>conftest.er1
27806 grep -v '^ *+' conftest.er1 >conftest.err
27808 cat conftest.err >&5
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); } && {
27811 test -z "$ac_c_werror_flag" ||
27812 test ! -s conftest.err
27813 } && test -s conftest.$ac_objext; then
27814 ac_cv_type_tag_t=yes
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.$ac_ext >&5
27819 ac_cv_type_tag_t=no
27822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824 { echo "$as_me:$LINENO: result: $ac_cv_type_tag_t" >&5
27825 echo "${ECHO_T}$ac_cv_type_tag_t" >&6; }
27826 if test $ac_cv_type_tag_t = yes; then
27828 cat >>confdefs.h <<_ACEOF
27829 #define HAVE_TAG_T 1
27837 for ac_header in sys/capability.h
27839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 ac_res=`eval echo '${'$as_ac_Header'}'`
27847 { echo "$as_me:$LINENO: result: $ac_res" >&5
27848 echo "${ECHO_T}$ac_res" >&6; }
27850 # Is the header compilable?
27851 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
27852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27853 cat >conftest.$ac_ext <<_ACEOF
27856 cat confdefs.h >>conftest.$ac_ext
27857 cat >>conftest.$ac_ext <<_ACEOF
27858 /* end confdefs.h. */
27859 $ac_includes_default
27860 #include <$ac_header>
27862 rm -f conftest.$ac_objext
27863 if { (ac_try="$ac_compile"
27864 case "(($ac_try" in
27865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27866 *) ac_try_echo=$ac_try;;
27868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27869 (eval "$ac_compile") 2>conftest.er1
27871 grep -v '^ *+' conftest.er1 >conftest.err
27873 cat conftest.err >&5
27874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875 (exit $ac_status); } && {
27876 test -z "$ac_c_werror_flag" ||
27877 test ! -s conftest.err
27878 } && test -s conftest.$ac_objext; then
27879 ac_header_compiler=yes
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27884 ac_header_compiler=no
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27889 echo "${ECHO_T}$ac_header_compiler" >&6; }
27891 # Is the header present?
27892 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
27893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27894 cat >conftest.$ac_ext <<_ACEOF
27897 cat confdefs.h >>conftest.$ac_ext
27898 cat >>conftest.$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27900 #include <$ac_header>
27902 if { (ac_try="$ac_cpp conftest.$ac_ext"
27903 case "(($ac_try" in
27904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27905 *) ac_try_echo=$ac_try;;
27907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27910 grep -v '^ *+' conftest.er1 >conftest.err
27912 cat conftest.err >&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); } >/dev/null && {
27915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27916 test ! -s conftest.err
27918 ac_header_preproc=yes
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27923 ac_header_preproc=no
27926 rm -f conftest.err conftest.$ac_ext
27927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27928 echo "${ECHO_T}$ac_header_preproc" >&6; }
27930 # So? What about this header?
27931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27937 ac_header_preproc=yes
27940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27953 ## --------------------------------------------- ##
27954 ## Report this to vserver@list.linux-vserver.org ##
27955 ## --------------------------------------------- ##
27957 ) | sed "s/^/$as_me: WARNING: /" >&2
27960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27963 echo $ECHO_N "(cached) $ECHO_C" >&6
27965 eval "$as_ac_Header=\$ac_header_preproc"
27967 ac_res=`eval echo '${'$as_ac_Header'}'`
27968 { echo "$as_me:$LINENO: result: $ac_res" >&5
27969 echo "${ECHO_T}$ac_res" >&6; }
27972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27973 cat >>confdefs.h <<_ACEOF
27974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27982 if test x"$ensc_have_dietlibc" = xno; then
27983 { echo "$as_me:$LINENO: checking for openpty" >&5
27984 echo $ECHO_N "checking for openpty... $ECHO_C" >&6; }
27985 if test "${ac_cv_func_openpty+set}" = set; then
27986 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 cat >conftest.$ac_ext <<_ACEOF
27991 cat confdefs.h >>conftest.$ac_ext
27992 cat >>conftest.$ac_ext <<_ACEOF
27993 /* end confdefs.h. */
27994 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
27995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27996 #define openpty innocuous_openpty
27998 /* System header to define __stub macros and hopefully few prototypes,
27999 which can conflict with char openpty (); below.
28000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28001 <limits.h> exists even on freestanding compilers. */
28004 # include <limits.h>
28006 # include <assert.h>
28011 /* Override any GCC internal prototype to avoid an error.
28012 Use char because int might match the return type of a GCC
28013 builtin and then its argument prototype would still apply. */
28018 /* The GNU C library defines this for functions which it implements
28019 to always fail with ENOSYS. Some functions are actually named
28020 something starting with __ and the normal name is an alias. */
28021 #if defined __stub_openpty || defined __stub___openpty
28033 rm -f conftest.$ac_objext conftest$ac_exeext
28034 if { (ac_try="$ac_link"
28035 case "(($ac_try" in
28036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28037 *) ac_try_echo=$ac_try;;
28039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28040 (eval "$ac_link") 2>conftest.er1
28042 grep -v '^ *+' conftest.er1 >conftest.err
28044 cat conftest.err >&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } && {
28047 test -z "$ac_c_werror_flag" ||
28048 test ! -s conftest.err
28049 } && test -s conftest$ac_exeext &&
28050 $as_test_x conftest$ac_exeext; then
28051 ac_cv_func_openpty=yes
28053 echo "$as_me: failed program was:" >&5
28054 sed 's/^/| /' conftest.$ac_ext >&5
28056 ac_cv_func_openpty=no
28059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28060 conftest$ac_exeext conftest.$ac_ext
28062 { echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
28063 echo "${ECHO_T}$ac_cv_func_openpty" >&6; }
28064 if test $ac_cv_func_openpty = yes; then
28068 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
28069 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
28070 if test "${ac_cv_lib_util_openpty+set}" = set; then
28071 echo $ECHO_N "(cached) $ECHO_C" >&6
28073 ac_check_lib_save_LIBS=$LIBS
28074 LIBS="-lutil $LIBS"
28075 cat >conftest.$ac_ext <<_ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28082 /* Override any GCC internal prototype to avoid an error.
28083 Use char because int might match the return type of a GCC
28084 builtin and then its argument prototype would still apply. */
28097 rm -f conftest.$ac_objext conftest$ac_exeext
28098 if { (ac_try="$ac_link"
28099 case "(($ac_try" in
28100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28101 *) ac_try_echo=$ac_try;;
28103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28104 (eval "$ac_link") 2>conftest.er1
28106 grep -v '^ *+' conftest.er1 >conftest.err
28108 cat conftest.err >&5
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); } && {
28111 test -z "$ac_c_werror_flag" ||
28112 test ! -s conftest.err
28113 } && test -s conftest$ac_exeext &&
28114 $as_test_x conftest$ac_exeext; then
28115 ac_cv_lib_util_openpty=yes
28117 echo "$as_me: failed program was:" >&5
28118 sed 's/^/| /' conftest.$ac_ext >&5
28120 ac_cv_lib_util_openpty=no
28123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28124 conftest$ac_exeext conftest.$ac_ext
28125 LIBS=$ac_check_lib_save_LIBS
28127 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
28128 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
28129 if test $ac_cv_lib_util_openpty = yes; then
28130 cat >>confdefs.h <<_ACEOF
28131 #define HAVE_LIBUTIL 1
28134 LIBS="-lutil $LIBS"
28137 { { echo "$as_me:$LINENO: error:
28139 **** openpty could not be found
28141 echo "$as_me: error:
28143 **** openpty could not be found
28145 { (exit 1); exit 1; }; }
28153 { echo "$as_me:$LINENO: checking for used crypto API" >&5
28154 echo $ECHO_N "checking for used crypto API... $ECHO_C" >&6; }
28156 # Check whether --with-crypto-api was given.
28157 if test "${with_crypto_api+set}" = set; then
28158 withval=$with_crypto_api; case $withval in
28159 (none|nss|beecrypt|auto) ensc_crypto_api=$withval;;
28160 (*) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
28161 echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
28162 { (exit 1); exit 1; }; };;
28165 ensc_crypto_api=auto
28168 { echo "$as_me:$LINENO: result: $ensc_crypto_api" >&5
28169 echo "${ECHO_T}$ensc_crypto_api" >&6; }
28173 case $ensc_crypto_api in
28175 if test x"$ensc_cv_c99_c99compiler" = xyes; then
28176 ensc_have_beecrypt=yes
28178 if test x"$ensc_have_beecrypt" = xyes; then
28179 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28180 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28181 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28182 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28183 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28186 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28188 # Is the header compilable?
28189 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
28190 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6; }
28191 cat >conftest.$ac_ext <<_ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197 $ac_includes_default
28198 #include <beecrypt/beecrypt.h>
28200 rm -f conftest.$ac_objext
28201 if { (ac_try="$ac_compile"
28202 case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_compile") 2>conftest.er1
28209 grep -v '^ *+' conftest.er1 >conftest.err
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } && {
28214 test -z "$ac_c_werror_flag" ||
28215 test ! -s conftest.err
28216 } && test -s conftest.$ac_objext; then
28217 ac_header_compiler=yes
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28222 ac_header_compiler=no
28225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28226 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28227 echo "${ECHO_T}$ac_header_compiler" >&6; }
28229 # Is the header present?
28230 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
28231 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6; }
28232 cat >conftest.$ac_ext <<_ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28238 #include <beecrypt/beecrypt.h>
28240 if { (ac_try="$ac_cpp conftest.$ac_ext"
28241 case "(($ac_try" in
28242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28243 *) ac_try_echo=$ac_try;;
28245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28248 grep -v '^ *+' conftest.er1 >conftest.err
28250 cat conftest.err >&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); } >/dev/null && {
28253 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28254 test ! -s conftest.err
28256 ac_header_preproc=yes
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28261 ac_header_preproc=no
28264 rm -f conftest.err conftest.$ac_ext
28265 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28266 echo "${ECHO_T}$ac_header_preproc" >&6; }
28268 # So? What about this header?
28269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28271 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
28272 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28273 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
28274 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
28275 ac_header_preproc=yes
28278 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
28279 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
28280 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
28281 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
28282 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
28283 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
28284 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
28285 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
28286 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
28287 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
28288 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
28289 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
28291 ## --------------------------------------------- ##
28292 ## Report this to vserver@list.linux-vserver.org ##
28293 ## --------------------------------------------- ##
28295 ) | sed "s/^/$as_me: WARNING: /" >&2
28298 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28299 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28300 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28301 echo $ECHO_N "(cached) $ECHO_C" >&6
28303 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
28305 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28306 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28309 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
28312 ensc_have_beecrypt=no
28318 if test x"$ensc_have_beecrypt" = xyes; then
28319 { echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
28320 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6; }
28321 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
28322 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 ac_check_lib_save_LIBS=$LIBS
28325 LIBS="-lbeecrypt $LIBS"
28326 cat >conftest.$ac_ext <<_ACEOF
28329 cat confdefs.h >>conftest.$ac_ext
28330 cat >>conftest.$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28333 /* Override any GCC internal prototype to avoid an error.
28334 Use char because int might match the return type of a GCC
28335 builtin and then its argument prototype would still apply. */
28339 char hashFunctionContextInit ();
28343 return hashFunctionContextInit ();
28348 rm -f conftest.$ac_objext conftest$ac_exeext
28349 if { (ac_try="$ac_link"
28350 case "(($ac_try" in
28351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28352 *) ac_try_echo=$ac_try;;
28354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28355 (eval "$ac_link") 2>conftest.er1
28357 grep -v '^ *+' conftest.er1 >conftest.err
28359 cat conftest.err >&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); } && {
28362 test -z "$ac_c_werror_flag" ||
28363 test ! -s conftest.err
28364 } && test -s conftest$ac_exeext &&
28365 $as_test_x conftest$ac_exeext; then
28366 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
28368 echo "$as_me: failed program was:" >&5
28369 sed 's/^/| /' conftest.$ac_ext >&5
28371 ac_cv_lib_beecrypt_hashFunctionContextInit=no
28374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28375 conftest$ac_exeext conftest.$ac_ext
28376 LIBS=$ac_check_lib_save_LIBS
28378 { echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
28379 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6; }
28380 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
28383 ensc_have_beecrypt=no
28388 ensc_have_beecrypt=no
28392 case $ensc_crypto_api in
28393 (auto) if test x"$ensc_have_beecrypt" = xyes; then
28394 { echo "$as_me:$LINENO: using beecrypt as crypto api" >&5
28395 echo "$as_me: using beecrypt as crypto api" >&6;}
28396 ensc_crypto_api=beecrypt
28398 (beecrypt) if test x"$ensc_have_beecrypt" != xyes; then
28399 { { echo "$as_me:$LINENO: error: beecrypt crypto api not found" >&5
28400 echo "$as_me: error: beecrypt crypto api not found" >&2;}
28401 { (exit 1); exit 1; }; }
28405 if test x"$ensc_have_beecrypt" = xyes; then
28406 ENSC_HAVE_BEECRYPT_TRUE=
28407 ENSC_HAVE_BEECRYPT_FALSE='#'
28409 ENSC_HAVE_BEECRYPT_TRUE='#'
28410 ENSC_HAVE_BEECRYPT_FALSE=
28414 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
28415 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
28417 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
28418 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
28424 case $ensc_crypto_api in
28427 { echo "$as_me:$LINENO: checking for NSS" >&5
28428 echo $ECHO_N "checking for NSS... $ECHO_C" >&6; }
28430 if test -n "$PKG_CONFIG"; then
28431 if test -n "$NSS_CFLAGS"; then
28432 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
28434 if test -n "$PKG_CONFIG" && \
28435 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28436 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); }; then
28440 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null`
28448 if test -n "$PKG_CONFIG"; then
28449 if test -n "$NSS_LIBS"; then
28450 pkg_cv_NSS_LIBS="$NSS_LIBS"
28452 if test -n "$PKG_CONFIG" && \
28453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28454 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; then
28458 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null`
28469 if test $pkg_failed = yes; then
28471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28472 _pkg_short_errors_supported=yes
28474 _pkg_short_errors_supported=no
28476 if test $_pkg_short_errors_supported = yes; then
28477 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nss"`
28479 NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nss"`
28481 # Put the nasty error message in config.log where it belongs
28482 echo "$NSS_PKG_ERRORS" >&5
28484 { { echo "$as_me:$LINENO: error: Package requirements (nss) were not met:
28488 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28489 installed software in a non-standard prefix.
28491 Alternatively, you may set the environment variables NSS_CFLAGS
28492 and NSS_LIBS to avoid the need to call pkg-config.
28493 See the pkg-config man page for more details.
28495 echo "$as_me: error: Package requirements (nss) were not met:
28499 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28500 installed software in a non-standard prefix.
28502 Alternatively, you may set the environment variables NSS_CFLAGS
28503 and NSS_LIBS to avoid the need to call pkg-config.
28504 See the pkg-config man page for more details.
28506 { (exit 1); exit 1; }; }
28507 elif test $pkg_failed = untried; then
28508 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28509 is in your PATH or set the PKG_CONFIG environment variable to the full
28510 path to pkg-config.
28512 Alternatively, you may set the environment variables NSS_CFLAGS
28513 and NSS_LIBS to avoid the need to call pkg-config.
28514 See the pkg-config man page for more details.
28516 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28517 See \`config.log' for more details." >&5
28518 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28519 is in your PATH or set the PKG_CONFIG environment variable to the full
28520 path to pkg-config.
28522 Alternatively, you may set the environment variables NSS_CFLAGS
28523 and NSS_LIBS to avoid the need to call pkg-config.
28524 See the pkg-config man page for more details.
28526 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28527 See \`config.log' for more details." >&2;}
28528 { (exit 1); exit 1; }; }
28530 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
28531 NSS_LIBS=$pkg_cv_NSS_LIBS
28532 { echo "$as_me:$LINENO: result: yes" >&5
28533 echo "${ECHO_T}yes" >&6; }
28538 { echo "$as_me:$LINENO: checking for NSS" >&5
28539 echo $ECHO_N "checking for NSS... $ECHO_C" >&6; }
28541 if test -n "$PKG_CONFIG"; then
28542 if test -n "$NSS_CFLAGS"; then
28543 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
28545 if test -n "$PKG_CONFIG" && \
28546 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28547 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; then
28551 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null`
28559 if test -n "$PKG_CONFIG"; then
28560 if test -n "$NSS_LIBS"; then
28561 pkg_cv_NSS_LIBS="$NSS_LIBS"
28563 if test -n "$PKG_CONFIG" && \
28564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5
28565 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); }; then
28569 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null`
28580 if test $pkg_failed = yes; then
28582 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28583 _pkg_short_errors_supported=yes
28585 _pkg_short_errors_supported=no
28587 if test $_pkg_short_errors_supported = yes; then
28588 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nss"`
28590 NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nss"`
28592 # Put the nasty error message in config.log where it belongs
28593 echo "$NSS_PKG_ERRORS" >&5
28595 { echo "$as_me:$LINENO: result: no" >&5
28596 echo "${ECHO_T}no" >&6; }
28597 { echo "$as_me:$LINENO: result: no" >&5
28598 echo "${ECHO_T}no" >&6; }
28599 elif test $pkg_failed = untried; then
28600 { echo "$as_me:$LINENO: result: no" >&5
28601 echo "${ECHO_T}no" >&6; }
28603 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
28604 NSS_LIBS=$pkg_cv_NSS_LIBS
28605 { echo "$as_me:$LINENO: result: yes" >&5
28606 echo "${ECHO_T}yes" >&6; }
28608 { echo "$as_me:$LINENO: using NSS as crypto api" >&5
28609 echo "$as_me: using NSS as crypto api" >&6;}
28610 ensc_crypto_api=nss
28615 case $ensc_crypto_api in
28617 ENSC_HAVE_CRYPTO=true
28618 ENSC_CRYPTO_API=ENSC_CRYPTO_API_BEECRYPT
28619 ENSC_CRYPTO_CFLAGS=
28620 ENSC_CRYPTO_LIB=-lbeecrypt
28621 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false
28625 ENSC_HAVE_CRYPTO=true
28626 ENSC_CRYPTO_API=ENSC_CRYPTO_API_NSS
28627 ENSC_CRYPTO_CFLAGS=$NSS_CFLAGS
28628 ENSC_CRYPTO_LIB=$NSS_LIBS
28629 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false
28633 ENSC_HAVE_CRYPTO=false
28634 ENSC_CRYPTO_API=ENSC_CRYPTO_API_NONE
28635 ENSC_CRYPTO_CFLAGS=
28637 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false
28639 { echo "$as_me:$LINENO: WARNING: No crypto api found/select. This will disable the build of \`vhashify'" >&5
28640 echo "$as_me: WARNING: No crypto api found/select. This will disable the build of \`vhashify'" >&2;}
28643 (*) { { echo "$as_me:$LINENO: error: internal error" >&5
28644 echo "$as_me: error: internal error" >&2;}
28645 { (exit 1); exit 1; }; }
28648 if $ENSC_HAVE_CRYPTO; then
28649 ENSC_HAVE_CRYPTO_TRUE=
28650 ENSC_HAVE_CRYPTO_FALSE='#'
28652 ENSC_HAVE_CRYPTO_TRUE='#'
28653 ENSC_HAVE_CRYPTO_FALSE=
28656 if $ENSC_CAN_CRYPTO_WITH_DIETLIBC; then
28657 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE=
28658 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE='#'
28660 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE='#'
28661 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE=
28664 ENSC_CRYPTO_CFLAGS=$ENSC_CRYPTO_CFLAGS
28666 ENSC_CRYPTO_LIB=$ENSC_CRYPTO_LIB
28669 cat >>confdefs.h <<_ACEOF
28670 #define ENSC_CRYPTO_API $ENSC_CRYPTO_API
28676 { echo "$as_me:$LINENO: checking for host initscripts" >&5
28677 echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6; }
28679 # Check whether --with-initscripts was given.
28680 if test "${with_initscripts+set}" = set; then
28681 withval=$with_initscripts;
28683 gentoo) ensc_with_init=gentoo;;
28684 sysv) ensc_with_init=sysv;;
28685 *) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
28686 echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
28687 { (exit 1); exit 1; }; };;
28692 if test -e /etc/gentoo-release; then
28693 ensc_with_init=gentoo
28695 ensc_with_init=sysv
28700 { echo "$as_me:$LINENO: result: $ensc_with_init" >&5
28701 echo "${ECHO_T}$ensc_with_init" >&6; }
28702 if test x"$ensc_with_init" = xgentoo; then
28703 HAVE_GENTOO_INIT_TRUE=
28704 HAVE_GENTOO_INIT_FALSE='#'
28706 HAVE_GENTOO_INIT_TRUE='#'
28707 HAVE_GENTOO_INIT_FALSE=
28710 if test x"$ensc_with_init" = xsysv; then
28711 HAVE_SYSV_INIT_TRUE=
28712 HAVE_SYSV_INIT_FALSE='#'
28714 HAVE_SYSV_INIT_TRUE='#'
28715 HAVE_SYSV_INIT_FALSE=
28721 cat >>confdefs.h <<\_ACEOF
28722 #define UTMP_GID 22
28728 cat >>confdefs.h <<\_ACEOF
28729 #define HAVE_GROWING_STACK 1
28735 cat >>confdefs.h <<\_ACEOF
28736 #define _FILE_OFFSET_BITS 64
28740 ensc_cxx_affected=" (affected: vbuild, vcheck)"
28741 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
28742 ensc_diet_msg=" (you have been warned)"
28743 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
28744 ensc_diet_compat_msg=" (using -lcompat)"
28745 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
28746 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
28747 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
28748 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
28749 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
28755 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
28757 cat >confcache <<\_ACEOF
28758 # This file is a shell script that caches the results of configure
28759 # tests run on this system so they can be shared between configure
28760 # scripts and configure runs, see configure's option --config-cache.
28761 # It is not useful on other systems. If it contains results you don't
28762 # want to keep, you may remove or edit it.
28764 # config.status only pays attention to the cache file if you give it
28765 # the --recheck option to rerun configure.
28767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28769 # following values.
28773 # The following way of writing the cache mishandles newlines in values,
28774 # but we know of no workaround that is simple, portable, and efficient.
28775 # So, we kill variables containing newlines.
28776 # Ultrix sh set writes to stderr and can't be redirected directly,
28777 # and sets the high bit in the cache file unless we assign to the vars.
28779 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28780 eval ac_val=\$$ac_var
28784 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28785 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28788 _ | IFS | as_nl) ;; #(
28789 *) $as_unset $ac_var ;;
28795 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28796 *${as_nl}ac_space=\ *)
28797 # `set' does not quote correctly, so add quotes (double-quote
28798 # substitution turns \\\\ into \\, and sed turns \\ into \).
28801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28804 # `set' quotes correctly as required by POSIX, so do not add quotes.
28805 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28814 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28819 if test -w "$cache_file"; then
28820 test "x$cache_file" != "x/dev/null" &&
28821 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28822 echo "$as_me: updating cache $cache_file" >&6;}
28823 cat confcache >$cache_file
28825 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28826 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28831 test "x$prefix" = xNONE && prefix=$ac_default_prefix
28832 # Let make expand exec_prefix.
28833 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28835 DEFS=-DHAVE_CONFIG_H
28839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28840 # 1. Remove the extension, and $U if already installed.
28841 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28842 ac_i=`echo "$ac_i" | sed "$ac_script"`
28843 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28844 # will be set to the directory where LIBOBJS objects are built.
28845 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28846 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
28848 LIBOBJS=$ac_libobjs
28850 LTLIBOBJS=$ac_ltlibobjs
28853 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28854 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28855 Usually this means the macro was only invoked conditionally." >&5
28856 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28857 Usually this means the macro was only invoked conditionally." >&2;}
28858 { (exit 1); exit 1; }; }
28860 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28861 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28862 Usually this means the macro was only invoked conditionally." >&5
28863 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28864 Usually this means the macro was only invoked conditionally." >&2;}
28865 { (exit 1); exit 1; }; }
28867 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28868 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28869 Usually this means the macro was only invoked conditionally." >&5
28870 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28871 Usually this means the macro was only invoked conditionally." >&2;}
28872 { (exit 1); exit 1; }; }
28874 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28875 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28876 Usually this means the macro was only invoked conditionally." >&5
28877 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28878 Usually this means the macro was only invoked conditionally." >&2;}
28879 { (exit 1); exit 1; }; }
28881 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
28882 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
28883 Usually this means the macro was only invoked conditionally." >&5
28884 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
28885 Usually this means the macro was only invoked conditionally." >&2;}
28886 { (exit 1); exit 1; }; }
28888 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
28889 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28890 Usually this means the macro was only invoked conditionally." >&5
28891 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28892 Usually this means the macro was only invoked conditionally." >&2;}
28893 { (exit 1); exit 1; }; }
28895 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
28896 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
28897 Usually this means the macro was only invoked conditionally." >&5
28898 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
28899 Usually this means the macro was only invoked conditionally." >&2;}
28900 { (exit 1); exit 1; }; }
28902 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
28903 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
28904 Usually this means the macro was only invoked conditionally." >&5
28905 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
28906 Usually this means the macro was only invoked conditionally." >&2;}
28907 { (exit 1); exit 1; }; }
28909 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28910 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28911 Usually this means the macro was only invoked conditionally." >&5
28912 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28913 Usually this means the macro was only invoked conditionally." >&2;}
28914 { (exit 1); exit 1; }; }
28916 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28917 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28918 Usually this means the macro was only invoked conditionally." >&5
28919 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28920 Usually this means the macro was only invoked conditionally." >&2;}
28921 { (exit 1); exit 1; }; }
28923 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28924 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28925 Usually this means the macro was only invoked conditionally." >&5
28926 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28927 Usually this means the macro was only invoked conditionally." >&2;}
28928 { (exit 1); exit 1; }; }
28930 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28931 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28932 Usually this means the macro was only invoked conditionally." >&5
28933 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28934 Usually this means the macro was only invoked conditionally." >&2;}
28935 { (exit 1); exit 1; }; }
28937 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28938 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28939 Usually this means the macro was only invoked conditionally." >&5
28940 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28941 Usually this means the macro was only invoked conditionally." >&2;}
28942 { (exit 1); exit 1; }; }
28944 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28945 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28946 Usually this means the macro was only invoked conditionally." >&5
28947 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28948 Usually this means the macro was only invoked conditionally." >&2;}
28949 { (exit 1); exit 1; }; }
28951 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28952 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28953 Usually this means the macro was only invoked conditionally." >&5
28954 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28955 Usually this means the macro was only invoked conditionally." >&2;}
28956 { (exit 1); exit 1; }; }
28958 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
28959 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28960 Usually this means the macro was only invoked conditionally." >&5
28961 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28962 Usually this means the macro was only invoked conditionally." >&2;}
28963 { (exit 1); exit 1; }; }
28965 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
28966 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28967 Usually this means the macro was only invoked conditionally." >&5
28968 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28969 Usually this means the macro was only invoked conditionally." >&2;}
28970 { (exit 1); exit 1; }; }
28972 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
28973 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
28974 Usually this means the macro was only invoked conditionally." >&5
28975 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
28976 Usually this means the macro was only invoked conditionally." >&2;}
28977 { (exit 1); exit 1; }; }
28979 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
28980 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28981 Usually this means the macro was only invoked conditionally." >&5
28982 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28983 Usually this means the macro was only invoked conditionally." >&2;}
28984 { (exit 1); exit 1; }; }
28986 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
28987 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28988 Usually this means the macro was only invoked conditionally." >&5
28989 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28990 Usually this means the macro was only invoked conditionally." >&2;}
28991 { (exit 1); exit 1; }; }
28993 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
28994 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28995 Usually this means the macro was only invoked conditionally." >&5
28996 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28997 Usually this means the macro was only invoked conditionally." >&2;}
28998 { (exit 1); exit 1; }; }
29000 if test -z "${ENSC_HAVE_CRYPTO_TRUE}" && test -z "${ENSC_HAVE_CRYPTO_FALSE}"; then
29001 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CRYPTO\" was never defined.
29002 Usually this means the macro was only invoked conditionally." >&5
29003 echo "$as_me: error: conditional \"ENSC_HAVE_CRYPTO\" was never defined.
29004 Usually this means the macro was only invoked conditionally." >&2;}
29005 { (exit 1); exit 1; }; }
29007 if test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE}"; then
29008 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined.
29009 Usually this means the macro was only invoked conditionally." >&5
29010 echo "$as_me: error: conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined.
29011 Usually this means the macro was only invoked conditionally." >&2;}
29012 { (exit 1); exit 1; }; }
29014 if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then
29015 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
29016 Usually this means the macro was only invoked conditionally." >&5
29017 echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
29018 Usually this means the macro was only invoked conditionally." >&2;}
29019 { (exit 1); exit 1; }; }
29021 if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then
29022 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined.
29023 Usually this means the macro was only invoked conditionally." >&5
29024 echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined.
29025 Usually this means the macro was only invoked conditionally." >&2;}
29026 { (exit 1); exit 1; }; }
29031 CC: $CC, $($CC --version | sed -e '1p;d')
29032 CXX: $CXX, $($CXX --version | sed -e '1p;d')
29033 CPPFLAGS: '$CPPFLAGS'
29035 CXXFLAGS: '$CXXFLAGS'
29036 build/host: $build/$host
29037 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
29038 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
29039 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
29040 Available APIs: $enable_apis
29041 ext2fs Source: $ensc_cv_test_ext2fs_header
29042 syscall(2) invocation: $with_syscall
29043 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
29044 crypto api: $ensc_crypto_api
29048 sysconf-Directory: $sysconfdir
29049 cfg-Directory: $sysconfdir/vservers
29050 initrd-Directory: $initrddir
29051 pkgstate-Directory: $localstatedir/run/vservers
29052 vserver-Rootdir: $vserverdir
29054 echo "$FEATURES_TXT" >FEATURES.txt
29057 : ${CONFIG_STATUS=./config.status}
29058 ac_clean_files_save=$ac_clean_files
29059 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29060 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29061 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29062 cat >$CONFIG_STATUS <<_ACEOF
29064 # Generated by $as_me.
29065 # Run this file to recreate the current configuration.
29066 # Compiler output produced by configure, useful for debugging
29067 # configure, is in config.log if it exists.
29070 ac_cs_recheck=false
29072 SHELL=\${CONFIG_SHELL-$SHELL}
29075 cat >>$CONFIG_STATUS <<\_ACEOF
29076 ## --------------------- ##
29077 ## M4sh Initialization. ##
29078 ## --------------------- ##
29080 # Be more Bourne compatible
29081 DUALCASE=1; export DUALCASE # for MKS sh
29082 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29085 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29086 # is contrary to our usage. Disable this feature.
29087 alias -g '${1+"$@"}'='"$@"'
29088 setopt NO_GLOB_SUBST
29090 case `(set -o) 2>/dev/null` in
29091 *posix*) set -o posix ;;
29100 # Avoid depending upon Character Ranges.
29101 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29102 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29103 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29104 as_cr_digits='0123456789'
29105 as_cr_alnum=$as_cr_Letters$as_cr_digits
29107 # The user is always right.
29108 if test "${PATH_SEPARATOR+set}" != set; then
29109 echo "#! /bin/sh" >conf$$.sh
29110 echo "exit 0" >>conf$$.sh
29112 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29120 # Support unset when possible.
29121 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29129 # We need space, tab and new line, in precisely that order. Quoting is
29130 # there to prevent editors from complaining about space-tab.
29131 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29132 # splitting by setting IFS to empty value.)
29137 # Find who we are. Look in the path if we contain no directory separator.
29139 *[\\/]* ) as_myself=$0 ;;
29140 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29141 for as_dir in $PATH
29144 test -z "$as_dir" && as_dir=.
29145 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29151 # We did not find ourselves, most probably we were run as `sh COMMAND'
29152 # in which case we are not to be found in the path.
29153 if test "x$as_myself" = x; then
29156 if test ! -f "$as_myself"; then
29157 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29158 { (exit 1); exit 1; }
29161 # Work around bugs in pre-3.0 UWIN ksh.
29162 for as_var in ENV MAIL MAILPATH
29163 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29171 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29172 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29173 LC_TELEPHONE LC_TIME
29175 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29176 eval $as_var=C; export $as_var
29178 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29182 # Required to use basename.
29183 if expr a : '\(a\)' >/dev/null 2>&1 &&
29184 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29190 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29191 as_basename=basename
29197 # Name of the executable.
29198 as_me=`$as_basename -- "$0" ||
29199 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29200 X"$0" : 'X\(//\)$' \| \
29201 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29203 sed '/^.*\/\([^/][^/]*\)\/*$/{
29222 as_lineno_1=$LINENO
29223 as_lineno_2=$LINENO
29224 test "x$as_lineno_1" != "x$as_lineno_2" &&
29225 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29227 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29228 # uniformly replaced by the line number. The first 'sed' inserts a
29229 # line-number line after each line using $LINENO; the second 'sed'
29230 # does the real work. The second script uses 'N' to pair each
29231 # line-number line with the line containing $LINENO, and appends
29232 # trailing '-' during substitution so that $LINENO is not a special
29233 # case at line end.
29234 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29235 # scripts with optimization help from Paolo Bonzini. Blame Lee
29236 # E. McMahon (1931-1989) for sed's syntax. :-)
29248 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29251 ' >$as_me.lineno &&
29252 chmod +x "$as_me.lineno" ||
29253 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29254 { (exit 1); exit 1; }; }
29256 # Don't try to exec as it changes $[0], causing all sort of problems
29257 # (the dirname of $[0] is not the place where we might find the
29258 # original and so on. Autoconf is especially sensitive to this).
29259 . "./$as_me.lineno"
29260 # Exit status is that of the last command.
29265 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29271 ECHO_C= ECHO_N= ECHO_T=
29272 case `echo -n x` in
29274 case `echo 'x\c'` in
29275 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29282 if expr a : '\(a\)' >/dev/null 2>&1 &&
29283 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29289 rm -f conf$$ conf$$.exe conf$$.file
29290 if test -d conf$$.dir; then
29291 rm -f conf$$.dir/conf$$.file
29297 if ln -s conf$$.file conf$$ 2>/dev/null; then
29299 # ... but there are two gotchas:
29300 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29301 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29302 # In both cases, we have to default to `cp -p'.
29303 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29305 elif ln conf$$.file conf$$ 2>/dev/null; then
29310 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29311 rmdir conf$$.dir 2>/dev/null
29313 if mkdir -p . 2>/dev/null; then
29316 test -d ./-p && rmdir ./-p
29320 if test -x / >/dev/null 2>&1; then
29321 as_test_x='test -x'
29323 if ls -dL / >/dev/null 2>&1; then
29330 if test -d "$1"; then
29336 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29337 ???[sx]*):;;*)false;;esac;fi
29341 as_executable_p=$as_test_x
29343 # Sed expression to map a string onto a valid CPP name.
29344 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29346 # Sed expression to map a string onto a valid variable name.
29347 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29352 # Save the log message, to keep $[0] and so on meaningful, and to
29353 # report actual input values of CONFIG_FILES etc. instead of their
29354 # values after options handling.
29356 This file was extended by util-vserver $as_me 0.30.215, which was
29357 generated by GNU Autoconf 2.61. Invocation command line was
29359 CONFIG_FILES = $CONFIG_FILES
29360 CONFIG_HEADERS = $CONFIG_HEADERS
29361 CONFIG_LINKS = $CONFIG_LINKS
29362 CONFIG_COMMANDS = $CONFIG_COMMANDS
29365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29370 cat >>$CONFIG_STATUS <<_ACEOF
29371 # Files that config.status was made for.
29372 config_files="$ac_config_files"
29373 config_headers="$ac_config_headers"
29374 config_commands="$ac_config_commands"
29378 cat >>$CONFIG_STATUS <<\_ACEOF
29380 \`$as_me' instantiates files from templates according to the
29381 current configuration.
29383 Usage: $0 [OPTIONS] [FILE]...
29385 -h, --help print this help, then exit
29386 -V, --version print version number and configuration settings, then exit
29387 -q, --quiet do not print progress messages
29388 -d, --debug don't remove temporary files
29389 --recheck update $as_me by reconfiguring in the same conditions
29390 --file=FILE[:TEMPLATE]
29391 instantiate the configuration file FILE
29392 --header=FILE[:TEMPLATE]
29393 instantiate the configuration header FILE
29395 Configuration files:
29398 Configuration headers:
29401 Configuration commands:
29404 Report bugs to <bug-autoconf@gnu.org>."
29407 cat >>$CONFIG_STATUS <<_ACEOF
29409 util-vserver config.status 0.30.215
29410 configured by $0, generated by GNU Autoconf 2.61,
29411 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29413 Copyright (C) 2006 Free Software Foundation, Inc.
29414 This config.status script is free software; the Free Software Foundation
29415 gives unlimited permission to copy, distribute and modify it."
29423 cat >>$CONFIG_STATUS <<\_ACEOF
29424 # If no file are specified by the user, then we need to provide default
29425 # value. By we need to know if files were specified by the user.
29431 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29432 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29443 # Handling of the options.
29444 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29446 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29447 echo "$ac_cs_version"; exit ;;
29448 --debug | --debu | --deb | --de | --d | -d )
29450 --file | --fil | --fi | --f )
29452 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
29453 ac_need_defaults=false;;
29454 --header | --heade | --head | --hea )
29456 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29457 ac_need_defaults=false;;
29459 # Conflict between --help and --header
29460 { echo "$as_me: error: ambiguous option: $1
29461 Try \`$0 --help' for more information." >&2
29462 { (exit 1); exit 1; }; };;
29463 --help | --hel | -h )
29464 echo "$ac_cs_usage"; exit ;;
29465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29466 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29469 # This is an error.
29470 -*) { echo "$as_me: error: unrecognized option: $1
29471 Try \`$0 --help' for more information." >&2
29472 { (exit 1); exit 1; }; } ;;
29474 *) ac_config_targets="$ac_config_targets $1"
29475 ac_need_defaults=false ;;
29481 ac_configure_extra_args=
29483 if $ac_cs_silent; then
29485 ac_configure_extra_args="$ac_configure_extra_args --silent"
29489 cat >>$CONFIG_STATUS <<_ACEOF
29490 if \$ac_cs_recheck; then
29491 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29492 CONFIG_SHELL=$SHELL
29493 export CONFIG_SHELL
29494 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29498 cat >>$CONFIG_STATUS <<\_ACEOF
29502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29503 ## Running $as_me. ##
29509 cat >>$CONFIG_STATUS <<_ACEOF
29513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29517 cat >>$CONFIG_STATUS <<\_ACEOF
29519 # Handling of arguments.
29520 for ac_config_target in $ac_config_targets
29522 case $ac_config_target in
29523 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29524 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29525 "util-vserver.spec") CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
29526 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29527 "distrib/Makefile") CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
29528 "lib/apidoc/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
29530 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29531 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29532 { (exit 1); exit 1; }; };;
29537 # If the user did not use the arguments to specify the items to instantiate,
29538 # then the envvar interface is used. Set only those that are not.
29539 # We use the long form for the default assignment because of an extremely
29540 # bizarre bug on SunOS 4.1.3.
29541 if $ac_need_defaults; then
29542 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
29543 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
29544 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
29547 # Have a temporary directory for convenience. Make it in the build tree
29548 # simply because there is no reason against having it here, and in addition,
29549 # creating and moving files from /tmp can sometimes cause problems.
29550 # Hook for its removal unless debugging.
29551 # Note that there is a small window in which the directory will not be cleaned:
29552 # after its creation but before its name has been assigned to `$tmp'.
29556 trap 'exit_status=$?
29557 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29559 trap '{ (exit 1); exit 1; }' 1 2 13 15
29561 # Create a (secure) tmp directory for tmp files.
29564 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29565 test -n "$tmp" && test -d "$tmp"
29568 tmp=./conf$$-$RANDOM
29569 (umask 077 && mkdir "$tmp")
29572 echo "$me: cannot create a temporary directory in ." >&2
29573 { (exit 1); exit 1; }
29577 # Set up the sed scripts for CONFIG_FILES section.
29580 # No need to generate the scripts if there are no CONFIG_FILES.
29581 # This happens for instance when ./config.status config.h
29582 if test -n "$CONFIG_FILES"; then
29589 for ac_last_try in false false false false false :; do
29590 cat >conf$$subs.sed <<_ACEOF
29591 SHELL!$SHELL$ac_delim
29592 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29593 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29594 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29595 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29596 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29597 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29598 exec_prefix!$exec_prefix$ac_delim
29599 prefix!$prefix$ac_delim
29600 program_transform_name!$program_transform_name$ac_delim
29601 bindir!$bindir$ac_delim
29602 sbindir!$sbindir$ac_delim
29603 libexecdir!$libexecdir$ac_delim
29604 datarootdir!$datarootdir$ac_delim
29605 datadir!$datadir$ac_delim
29606 sysconfdir!$sysconfdir$ac_delim
29607 sharedstatedir!$sharedstatedir$ac_delim
29608 localstatedir!$localstatedir$ac_delim
29609 includedir!$includedir$ac_delim
29610 oldincludedir!$oldincludedir$ac_delim
29611 docdir!$docdir$ac_delim
29612 infodir!$infodir$ac_delim
29613 htmldir!$htmldir$ac_delim
29614 dvidir!$dvidir$ac_delim
29615 pdfdir!$pdfdir$ac_delim
29616 psdir!$psdir$ac_delim
29617 libdir!$libdir$ac_delim
29618 localedir!$localedir$ac_delim
29619 mandir!$mandir$ac_delim
29620 DEFS!$DEFS$ac_delim
29621 ECHO_C!$ECHO_C$ac_delim
29622 ECHO_N!$ECHO_N$ac_delim
29623 ECHO_T!$ECHO_T$ac_delim
29624 LIBS!$LIBS$ac_delim
29625 build_alias!$build_alias$ac_delim
29626 host_alias!$host_alias$ac_delim
29627 target_alias!$target_alias$ac_delim
29628 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29629 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29630 INSTALL_DATA!$INSTALL_DATA$ac_delim
29631 am__isrc!$am__isrc$ac_delim
29632 CYGPATH_W!$CYGPATH_W$ac_delim
29633 PACKAGE!$PACKAGE$ac_delim
29634 VERSION!$VERSION$ac_delim
29635 ACLOCAL!$ACLOCAL$ac_delim
29636 AUTOCONF!$AUTOCONF$ac_delim
29637 AUTOMAKE!$AUTOMAKE$ac_delim
29638 AUTOHEADER!$AUTOHEADER$ac_delim
29639 MAKEINFO!$MAKEINFO$ac_delim
29640 install_sh!$install_sh$ac_delim
29641 STRIP!$STRIP$ac_delim
29642 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29643 mkdir_p!$mkdir_p$ac_delim
29645 SET_MAKE!$SET_MAKE$ac_delim
29646 am__leading_dot!$am__leading_dot$ac_delim
29647 AMTAR!$AMTAR$ac_delim
29648 am__tar!$am__tar$ac_delim
29649 am__untar!$am__untar$ac_delim
29650 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
29651 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
29652 MAINT!$MAINT$ac_delim
29653 build!$build$ac_delim
29654 build_cpu!$build_cpu$ac_delim
29655 build_vendor!$build_vendor$ac_delim
29656 build_os!$build_os$ac_delim
29657 host!$host$ac_delim
29658 host_cpu!$host_cpu$ac_delim
29659 host_vendor!$host_vendor$ac_delim
29660 host_os!$host_os$ac_delim
29661 GPG_KEY!$GPG_KEY$ac_delim
29663 CXXFLAGS!$CXXFLAGS$ac_delim
29664 LDFLAGS!$LDFLAGS$ac_delim
29665 CPPFLAGS!$CPPFLAGS$ac_delim
29666 ac_ct_CXX!$ac_ct_CXX$ac_delim
29667 EXEEXT!$EXEEXT$ac_delim
29668 OBJEXT!$OBJEXT$ac_delim
29669 DEPDIR!$DEPDIR$ac_delim
29670 am__include!$am__include$ac_delim
29671 am__quote!$am__quote$ac_delim
29672 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29673 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29674 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29675 CXXDEPMODE!$CXXDEPMODE$ac_delim
29676 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29677 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29679 CFLAGS!$CFLAGS$ac_delim
29680 ac_ct_CC!$ac_ct_CC$ac_delim
29681 CCDEPMODE!$CCDEPMODE$ac_delim
29682 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29683 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29684 LN_S!$LN_S$ac_delim
29685 PKG_CONFIG!$PKG_CONFIG$ac_delim
29686 ENSC_HAVE_CXX_COMPILER_TRUE!$ENSC_HAVE_CXX_COMPILER_TRUE$ac_delim
29687 ENSC_HAVE_CXX_COMPILER_FALSE!$ENSC_HAVE_CXX_COMPILER_FALSE$ac_delim
29690 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29692 elif $ac_last_try; then
29693 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29694 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29695 { (exit 1); exit 1; }; }
29697 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29701 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29702 if test -n "$ac_eof"; then
29703 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29704 ac_eof=`expr $ac_eof + 1`
29707 cat >>$CONFIG_STATUS <<_ACEOF
29708 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29709 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29712 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29713 s/^/s,@/; s/!/@,|#_!!_#|/
29716 s/'"$ac_delim"'$/,g/; t
29718 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29719 ' >>$CONFIG_STATUS <conf$$subs.sed
29720 rm -f conf$$subs.sed
29721 cat >>$CONFIG_STATUS <<_ACEOF
29727 for ac_last_try in false false false false false :; do
29728 cat >conf$$subs.sed <<_ACEOF
29729 ENSC_HAVE_C99_COMPILER_TRUE!$ENSC_HAVE_C99_COMPILER_TRUE$ac_delim
29730 ENSC_HAVE_C99_COMPILER_FALSE!$ENSC_HAVE_C99_COMPILER_FALSE$ac_delim
29731 ENSC_PATHPROG_SED!$ENSC_PATHPROG_SED$ac_delim
29733 CHOWN!$CHOWN$ac_delim
29736 DIRNAME!$DIRNAME$ac_delim
29737 EGREP!$EGREP$ac_delim
29739 GREP!$GREP$ac_delim
29741 MKDIR!$MKDIR$ac_delim
29742 MKFIFO!$MKFIFO$ac_delim
29743 MKTEMP!$MKTEMP$ac_delim
29744 MOUNT!$MOUNT$ac_delim
29746 NICE!$NICE$ac_delim
29749 RMDIR!$RMDIR$ac_delim
29754 TOUCH!$TOUCH$ac_delim
29756 UMOUNT!$UMOUNT$ac_delim
29759 IPTABLES!$IPTABLES$ac_delim
29760 MODPROBE!$MODPROBE$ac_delim
29761 NAMEIF!$NAMEIF$ac_delim
29762 NOHUP!$NOHUP$ac_delim
29763 RMMOD!$RMMOD$ac_delim
29764 VCONFIG!$VCONFIG$ac_delim
29765 WGET!$WGET$ac_delim
29766 FILE!$FILE$ac_delim
29767 GZIP!$GZIP$ac_delim
29768 BZIP2!$BZIP2$ac_delim
29769 CPIO!$CPIO$ac_delim
29770 RESTORE!$RESTORE$ac_delim
29771 RSYNC!$RSYNC$ac_delim
29772 STRACE!$STRACE$ac_delim
29773 FSCK!$FSCK$ac_delim
29774 DOXYGEN!$DOXYGEN$ac_delim
29775 XSLTP!$XSLTP$ac_delim
29776 XSLTPROC!$XSLTPROC$ac_delim
29777 HAVE_XSLTP_TRUE!$HAVE_XSLTP_TRUE$ac_delim
29778 HAVE_XSLTP_FALSE!$HAVE_XSLTP_FALSE$ac_delim
29779 HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim
29780 HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim
29781 LIB_DEBUG_CPPFLAGS!$LIB_DEBUG_CPPFLAGS$ac_delim
29782 ENSC_USE_EXPENSIVE_TESTS!$ENSC_USE_EXPENSIVE_TESTS$ac_delim
29783 initrddir!$initrddir$ac_delim
29784 RELEASE_CPPFLAGS!$RELEASE_CPPFLAGS$ac_delim
29786 DIET!$DIET$ac_delim
29787 DIETFLAGS!$DIETFLAGS$ac_delim
29788 USE_DIETLIBC_TRUE!$USE_DIETLIBC_TRUE$ac_delim
29789 USE_DIETLIBC_FALSE!$USE_DIETLIBC_FALSE$ac_delim
29790 USE_DIETLIBC_COMPAT_TRUE!$USE_DIETLIBC_COMPAT_TRUE$ac_delim
29791 USE_DIETLIBC_COMPAT_FALSE!$USE_DIETLIBC_COMPAT_FALSE$ac_delim
29792 ENSC_USE_DIETLIBC_TRUE!$ENSC_USE_DIETLIBC_TRUE$ac_delim
29793 ENSC_USE_DIETLIBC_FALSE!$ENSC_USE_DIETLIBC_FALSE$ac_delim
29794 ENSC_USE_GLIBC_TRUE!$ENSC_USE_GLIBC_TRUE$ac_delim
29795 ENSC_USE_GLIBC_FALSE!$ENSC_USE_GLIBC_FALSE$ac_delim
29796 ECHO!$ECHO$ac_delim
29798 RANLIB!$RANLIB$ac_delim
29799 CXXCPP!$CXXCPP$ac_delim
29801 FFLAGS!$FFLAGS$ac_delim
29802 ac_ct_F77!$ac_ct_F77$ac_delim
29803 LIBTOOL!$LIBTOOL$ac_delim
29804 vserverdir!$vserverdir$ac_delim
29805 SVN2CL!$SVN2CL$ac_delim
29806 HAVE_SVN2CL_TRUE!$HAVE_SVN2CL_TRUE$ac_delim
29807 HAVE_SVN2CL_FALSE!$HAVE_SVN2CL_FALSE$ac_delim
29808 ENSC_ENABLE_INTERNAL_HEADERS_TRUE!$ENSC_ENABLE_INTERNAL_HEADERS_TRUE$ac_delim
29809 ENSC_ENABLE_INTERNAL_HEADERS_FALSE!$ENSC_ENABLE_INTERNAL_HEADERS_FALSE$ac_delim
29810 ENSC_HAVE_BEECRYPT_TRUE!$ENSC_HAVE_BEECRYPT_TRUE$ac_delim
29811 ENSC_HAVE_BEECRYPT_FALSE!$ENSC_HAVE_BEECRYPT_FALSE$ac_delim
29812 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE$ac_delim
29813 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE$ac_delim
29814 NSS_CFLAGS!$NSS_CFLAGS$ac_delim
29815 NSS_LIBS!$NSS_LIBS$ac_delim
29816 ENSC_HAVE_CRYPTO_TRUE!$ENSC_HAVE_CRYPTO_TRUE$ac_delim
29817 ENSC_HAVE_CRYPTO_FALSE!$ENSC_HAVE_CRYPTO_FALSE$ac_delim
29818 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE!$ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE$ac_delim
29819 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE!$ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE$ac_delim
29820 ENSC_CRYPTO_CFLAGS!$ENSC_CRYPTO_CFLAGS$ac_delim
29821 ENSC_CRYPTO_LIB!$ENSC_CRYPTO_LIB$ac_delim
29822 HAVE_GENTOO_INIT_TRUE!$HAVE_GENTOO_INIT_TRUE$ac_delim
29823 HAVE_GENTOO_INIT_FALSE!$HAVE_GENTOO_INIT_FALSE$ac_delim
29824 HAVE_SYSV_INIT_TRUE!$HAVE_SYSV_INIT_TRUE$ac_delim
29825 HAVE_SYSV_INIT_FALSE!$HAVE_SYSV_INIT_FALSE$ac_delim
29828 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29830 elif $ac_last_try; then
29831 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29832 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29833 { (exit 1); exit 1; }; }
29835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29839 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29840 if test -n "$ac_eof"; then
29841 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29842 ac_eof=`expr $ac_eof + 1`
29845 cat >>$CONFIG_STATUS <<_ACEOF
29846 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
29847 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29850 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29851 s/^/s,@/; s/!/@,|#_!!_#|/
29854 s/'"$ac_delim"'$/,g/; t
29856 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29857 ' >>$CONFIG_STATUS <conf$$subs.sed
29858 rm -f conf$$subs.sed
29859 cat >>$CONFIG_STATUS <<_ACEOF
29865 for ac_last_try in false false false false false :; do
29866 cat >conf$$subs.sed <<_ACEOF
29867 LIBOBJS!$LIBOBJS$ac_delim
29868 LTLIBOBJS!$LTLIBOBJS$ac_delim
29871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 2; then
29873 elif $ac_last_try; then
29874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29876 { (exit 1); exit 1; }; }
29878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29882 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29883 if test -n "$ac_eof"; then
29884 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29885 ac_eof=`expr $ac_eof + 1`
29888 cat >>$CONFIG_STATUS <<_ACEOF
29889 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
29890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
29893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29894 s/^/s,@/; s/!/@,|#_!!_#|/
29897 s/'"$ac_delim"'$/,g/; t
29899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29900 ' >>$CONFIG_STATUS <conf$$subs.sed
29901 rm -f conf$$subs.sed
29902 cat >>$CONFIG_STATUS <<_ACEOF
29909 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29910 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29911 # trailing colons and then remove the whole line if VPATH becomes empty
29912 # (actually we leave an empty line to preserve line numbers).
29913 if test "x$srcdir" = x.; then
29914 ac_vpsub='/^[ ]*VPATH[ ]*=/{
29915 s/:*\$(srcdir):*/:/
29916 s/:*\${srcdir}:*/:/
29918 s/^\([^=]*=[ ]*\):*/\1/
29924 cat >>$CONFIG_STATUS <<\_ACEOF
29925 fi # test -n "$CONFIG_FILES"
29928 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
29931 :[FHLC]) ac_mode=$ac_tag; continue;;
29933 case $ac_mode$ac_tag in
29935 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
29936 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
29937 { (exit 1); exit 1; }; };;
29938 :[FH]-) ac_tag=-:-;;
29939 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29956 -) ac_f="$tmp/stdin";;
29957 *) # Look for the file first in the build tree, then in the source tree
29958 # (if the path is not absolute). The absolute path cannot be DOS-style,
29959 # because $ac_f cannot contain `:'.
29963 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29965 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29966 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29967 { (exit 1); exit 1; }; };;
29969 ac_file_inputs="$ac_file_inputs $ac_f"
29972 # Let's still pretend it is `configure' which instantiates (i.e., don't
29973 # use $as_me), people would be surprised to read:
29974 # /* config.h. Generated by config.status. */
29975 configure_input="Generated from "`IFS=:
29976 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29977 if test x"$ac_file" != x-; then
29978 configure_input="$ac_file. $configure_input"
29979 { echo "$as_me:$LINENO: creating $ac_file" >&5
29980 echo "$as_me: creating $ac_file" >&6;}
29984 *:-:* | *:-) cat >"$tmp/stdin";;
29989 ac_dir=`$as_dirname -- "$ac_file" ||
29990 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29991 X"$ac_file" : 'X\(//\)[^/]' \| \
29992 X"$ac_file" : 'X\(//\)$' \| \
29993 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29999 /^X\(\/\/\)[^/].*/{
30014 -*) as_dir=./$as_dir;;
30016 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30020 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30021 *) as_qdir=$as_dir;;
30023 as_dirs="'$as_qdir' $as_dirs"
30024 as_dir=`$as_dirname -- "$as_dir" ||
30025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30026 X"$as_dir" : 'X\(//\)[^/]' \| \
30027 X"$as_dir" : 'X\(//\)$' \| \
30028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30034 /^X\(\/\/\)[^/].*/{
30047 test -d "$as_dir" && break
30049 test -z "$as_dirs" || eval "mkdir $as_dirs"
30050 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30051 echo "$as_me: error: cannot create directory $as_dir" >&2;}
30052 { (exit 1); exit 1; }; }; }
30056 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30058 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30059 # A ".." for each directory in $ac_dir_suffix.
30060 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30061 case $ac_top_builddir_sub in
30062 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30063 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30066 ac_abs_top_builddir=$ac_pwd
30067 ac_abs_builddir=$ac_pwd$ac_dir_suffix
30068 # for backward compatibility:
30069 ac_top_builddir=$ac_top_build_prefix
30072 .) # We are building in place.
30074 ac_top_srcdir=$ac_top_builddir_sub
30075 ac_abs_top_srcdir=$ac_pwd ;;
30076 [\\/]* | ?:[\\/]* ) # Absolute name.
30077 ac_srcdir=$srcdir$ac_dir_suffix;
30078 ac_top_srcdir=$srcdir
30079 ac_abs_top_srcdir=$srcdir ;;
30080 *) # Relative name.
30081 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30082 ac_top_srcdir=$ac_top_build_prefix$srcdir
30083 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30085 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30095 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30096 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30098 ac_MKDIR_P=$MKDIR_P
30100 [\\/$]* | ?:[\\/]* ) ;;
30101 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
30105 cat >>$CONFIG_STATUS <<\_ACEOF
30106 # If the template does not know about datarootdir, expand it.
30107 # FIXME: This hack should be removed a few years after 2.60.
30108 ac_datarootdir_hack=; ac_datarootdir_seen=
30110 case `sed -n '/datarootdir/ {
30119 ' $ac_file_inputs` in
30120 *datarootdir*) ac_datarootdir_seen=yes;;
30121 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30122 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30123 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30125 cat >>$CONFIG_STATUS <<_ACEOF
30126 ac_datarootdir_hack='
30127 s&@datadir@&$datadir&g
30128 s&@docdir@&$docdir&g
30129 s&@infodir@&$infodir&g
30130 s&@localedir@&$localedir&g
30131 s&@mandir@&$mandir&g
30132 s&\\\${datarootdir}&$datarootdir&g' ;;
30136 # Neutralize VPATH when `$srcdir' = `.'.
30137 # Shell code in configure.ac might set extrasub.
30138 # FIXME: do we really want to maintain this feature?
30139 cat >>$CONFIG_STATUS <<_ACEOF
30143 cat >>$CONFIG_STATUS <<\_ACEOF
30145 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30146 s&@configure_input@&$configure_input&;t t
30147 s&@top_builddir@&$ac_top_builddir_sub&;t t
30148 s&@srcdir@&$ac_srcdir&;t t
30149 s&@abs_srcdir@&$ac_abs_srcdir&;t t
30150 s&@top_srcdir@&$ac_top_srcdir&;t t
30151 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30152 s&@builddir@&$ac_builddir&;t t
30153 s&@abs_builddir@&$ac_abs_builddir&;t t
30154 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30155 s&@INSTALL@&$ac_INSTALL&;t t
30156 s&@MKDIR_P@&$ac_MKDIR_P&;t t
30157 $ac_datarootdir_hack
30158 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
30160 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30161 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30162 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30163 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30164 which seems to be undefined. Please make sure it is defined." >&5
30165 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30166 which seems to be undefined. Please make sure it is defined." >&2;}
30170 -) cat "$tmp/out"; rm -f "$tmp/out";;
30171 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30180 # Transform confdefs.h into a sed script `conftest.defines', that
30181 # substitutes the proper values into config.h.in to produce config.h.
30182 rm -f conftest.defines conftest.tail
30183 # First, append a space to every undef/define line, to ease matching.
30184 echo 's/$/ /' >conftest.defines
30185 # Then, protect against being on the right side of a sed subst, or in
30186 # an unquoted here document, in config.status. If some macros were
30187 # called several times there might be several #defines for the same
30188 # symbol, which is useless. But do not sort them, since the last
30189 # AC_DEFINE must be honored.
30190 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30191 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30192 # NAME is the cpp macro being defined, VALUE is the value it is being given.
30193 # PARAMS is the parameter list in the macro definition--in most cases, it's
30194 # just an empty string.
30195 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30196 ac_dB='\\)[ (].*,\\1define\\2'
30204 s/^[ ]*#[ ]*define[ ][ ]*//
30209 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30210 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30211 ' >>conftest.defines
30213 # Remove the space that was appended to ease matching.
30214 # Then replace #undef with comments. This is necessary, for
30215 # example, in the case of _POSIX_SOURCE, which is predefined and required
30216 # on some systems where configure will not decide to define it.
30217 # (The regexp can be short, since the line contains either #define or #undef.)
30219 s,^[ #]*u.*,/* & */,' >>conftest.defines
30221 # Break up conftest.defines:
30222 ac_max_sed_lines=50
30224 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30225 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30226 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30228 ac_in='$ac_file_inputs'
30229 ac_out='"$tmp/out1"'
30230 ac_nxt='"$tmp/out2"'
30234 # Write a here document:
30235 cat >>$CONFIG_STATUS <<_ACEOF
30236 # First, check the format of the line:
30237 cat >"\$tmp/defines.sed" <<\\CEOF
30238 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30239 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30243 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30245 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30246 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30247 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30248 grep . conftest.tail >/dev/null || break
30249 rm -f conftest.defines
30250 mv conftest.tail conftest.defines
30252 rm -f conftest.defines conftest.tail
30254 echo "ac_result=$ac_in" >>$CONFIG_STATUS
30255 cat >>$CONFIG_STATUS <<\_ACEOF
30256 if test x"$ac_file" != x-; then
30257 echo "/* $configure_input */" >"$tmp/config.h"
30258 cat "$ac_result" >>"$tmp/config.h"
30259 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30260 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30261 echo "$as_me: $ac_file is unchanged" >&6;}
30264 mv "$tmp/config.h" $ac_file
30267 echo "/* $configure_input */"
30271 # Compute $ac_file's index in $config_headers.
30273 for _am_header in $config_headers :; do
30274 case $_am_header in
30275 $ac_file | $ac_file:* )
30278 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30281 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30282 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30283 X$ac_file : 'X\(//\)[^/]' \| \
30284 X$ac_file : 'X\(//\)$' \| \
30285 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30291 /^X\(\/\/\)[^/].*/{
30303 s/.*/./; q'`/stamp-h$_am_stamp_count
30306 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
30307 echo "$as_me: executing $ac_file commands" >&6;}
30312 case $ac_file$ac_mode in
30313 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30314 # Strip MF so we end up with the name of the file.
30315 mf=`echo "$mf" | sed -e 's/:.*$//'`
30316 # Check whether this is an Automake generated Makefile or not.
30317 # We used to match only the files named `Makefile.in', but
30318 # some people rename them; so instead we look at the file content.
30319 # Grep'ing the first line is not enough: some people post-process
30320 # each Makefile.in and add a new line on top of each file to say so.
30321 # Grep'ing the whole file is not good either: AIX grep has a line
30322 # limit of 2048, but all sed's we know have understand at least 4000.
30323 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
30324 dirpart=`$as_dirname -- "$mf" ||
30325 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30326 X"$mf" : 'X\(//\)[^/]' \| \
30327 X"$mf" : 'X\(//\)$' \| \
30328 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30334 /^X\(\/\/\)[^/].*/{
30350 # Extract the definition of DEPDIR, am__include, and am__quote
30351 # from the Makefile without running `make'.
30352 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30353 test -z "$DEPDIR" && continue
30354 am__include=`sed -n 's/^am__include = //p' < "$mf"`
30355 test -z "am__include" && continue
30356 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30357 # When using ansi2knr, U may be empty or an underscore; expand it
30358 U=`sed -n 's/^U = //p' < "$mf"`
30359 # Find all dependency output files, they are included files with
30360 # $(DEPDIR) in their names. We invoke sed twice because it is the
30361 # simplest approach to changing $(DEPDIR) to its actual value in the
30363 for file in `sed -n "
30364 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30365 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30366 # Make sure the directory exists.
30367 test -f "$dirpart/$file" && continue
30368 fdir=`$as_dirname -- "$file" ||
30369 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30370 X"$file" : 'X\(//\)[^/]' \| \
30371 X"$file" : 'X\(//\)$' \| \
30372 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30378 /^X\(\/\/\)[^/].*/{
30391 { as_dir=$dirpart/$fdir
30393 -*) as_dir=./$as_dir;;
30395 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30399 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30400 *) as_qdir=$as_dir;;
30402 as_dirs="'$as_qdir' $as_dirs"
30403 as_dir=`$as_dirname -- "$as_dir" ||
30404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30405 X"$as_dir" : 'X\(//\)[^/]' \| \
30406 X"$as_dir" : 'X\(//\)$' \| \
30407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30413 /^X\(\/\/\)[^/].*/{
30426 test -d "$as_dir" && break
30428 test -z "$as_dirs" || eval "mkdir $as_dirs"
30429 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30430 echo "$as_me: error: cannot create directory $as_dir" >&2;}
30431 { (exit 1); exit 1; }; }; }
30432 # echo "creating $dirpart/$file"
30433 echo '# dummy' > "$dirpart/$file"
30442 { (exit 0); exit 0; }
30444 chmod +x $CONFIG_STATUS
30445 ac_clean_files=$ac_clean_files_save
30448 # configure is writing to config.log, and then calls config.status.
30449 # config.status does its own redirection, appending to config.log.
30450 # Unfortunately, on DOS this fails, as config.log is still kept open
30451 # by configure, so config.status won't be able to write to it; its
30452 # output is simply discarded. So we exec the FD to /dev/null,
30453 # effectively closing config.log, so it can be properly (re)opened and
30454 # appended to by config.status. When coming back to configure, we
30455 # need to make the FD available again.
30456 if test "$no_create" != yes; then
30458 ac_config_status_args=
30459 test "$silent" = yes &&
30460 ac_config_status_args="$ac_config_status_args --quiet"
30462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30465 # would make configure fail if this is the last instruction.
30466 $ac_cs_success || { (exit 1); exit 1; }
30470 { echo "$as_me:$LINENO:
30479 $FEATURES_TXT" >&6;}