2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for util-vserver 0.30.214.
5 # Report bugs to <vserver@list.linux-vserver.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599 echo_test_string=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619 for dir in $PATH /usr/ucb; do
621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X/bin/ksh; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL=/bin/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 SHELL="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames=${tagnames+${tagnames},}CXX
706 tagnames=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev/null 6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix=/usr/local
720 ac_config_libobj_dir=.
726 SHELL=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME='util-vserver'
730 PACKAGE_TARNAME='util-vserver'
731 PACKAGE_VERSION='0.30.214'
732 PACKAGE_STRING='util-vserver 0.30.214'
733 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
735 ac_unique_file="src/capchroot.c"
736 # Factoring default headers for most tests.
737 ac_includes_default="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
832 MAINTAINER_MODE_FALSE
866 ENSC_HAVE_CXX_COMPILER_TRUE
867 ENSC_HAVE_CXX_COMPILER_FALSE
868 ENSC_HAVE_C99_COMPILER_TRUE
869 ENSC_HAVE_C99_COMPILER_FALSE
920 ENSC_USE_EXPENSIVE_TESTS
928 USE_DIETLIBC_COMPAT_TRUE
929 USE_DIETLIBC_COMPAT_FALSE
930 ENSC_USE_DIETLIBC_TRUE
931 ENSC_USE_DIETLIBC_FALSE
946 ENSC_ENABLE_INTERNAL_HEADERS_TRUE
947 ENSC_ENABLE_INTERNAL_HEADERS_FALSE
948 ENSC_HAVE_BEECRYPT_TRUE
949 ENSC_HAVE_BEECRYPT_FALSE
950 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE
951 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE
952 HAVE_GENTOO_INIT_TRUE
953 HAVE_GENTOO_INIT_FALSE
959 ac_precious_vars='build_alias
978 # Initialize some variables set by options.
980 ac_init_version=false
981 # The variables have the same names as the options, with
982 # dashes changed to underlines.
990 program_transform_name=s,x,x,
998 # Installation directory options.
999 # These are left unexpanded so users can "make install exec_prefix=/foo"
1000 # and all the variables that are supposed to be based on exec_prefix
1001 # by default will actually change.
1002 # Use braces instead of parens because sh, perl, etc. also accept them.
1003 # (The list follows the same order as the GNU Coding Standards.)
1004 bindir='${exec_prefix}/bin'
1005 sbindir='${exec_prefix}/sbin'
1006 libexecdir='${exec_prefix}/libexec'
1007 datarootdir='${prefix}/share'
1008 datadir='${datarootdir}'
1009 sysconfdir='${prefix}/etc'
1010 sharedstatedir='${prefix}/com'
1011 localstatedir='${prefix}/var'
1012 includedir='${prefix}/include'
1013 oldincludedir='/usr/include'
1014 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1015 infodir='${datarootdir}/info'
1020 libdir='${exec_prefix}/lib'
1021 localedir='${datarootdir}/locale'
1022 mandir='${datarootdir}/man'
1028 # If the previous option needs an argument, assign it.
1029 if test -n "$ac_prev"; then
1030 eval $ac_prev=\$ac_option
1036 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1040 # Accept the important Cygnus configure options, so we can diagnose typos.
1042 case $ac_dashdash$ac_option in
1046 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1048 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1049 bindir=$ac_optarg ;;
1051 -build | --build | --buil | --bui | --bu)
1052 ac_prev=build_alias ;;
1053 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1054 build_alias=$ac_optarg ;;
1056 -cache-file | --cache-file | --cache-fil | --cache-fi \
1057 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1058 ac_prev=cache_file ;;
1059 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1060 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1061 cache_file=$ac_optarg ;;
1063 --config-cache | -C)
1064 cache_file=config.cache ;;
1066 -datadir | --datadir | --datadi | --datad)
1068 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1069 datadir=$ac_optarg ;;
1071 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1072 | --dataroo | --dataro | --datar)
1073 ac_prev=datarootdir ;;
1074 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1075 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1076 datarootdir=$ac_optarg ;;
1078 -disable-* | --disable-*)
1079 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1083 { (exit 1); exit 1; }; }
1084 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1085 eval enable_$ac_feature=no ;;
1087 -docdir | --docdir | --docdi | --doc | --do)
1089 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1090 docdir=$ac_optarg ;;
1092 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1094 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1095 dvidir=$ac_optarg ;;
1097 -enable-* | --enable-*)
1098 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1104 eval enable_$ac_feature=\$ac_optarg ;;
1106 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1107 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1108 | --exec | --exe | --ex)
1109 ac_prev=exec_prefix ;;
1110 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1111 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1112 | --exec=* | --exe=* | --ex=*)
1113 exec_prefix=$ac_optarg ;;
1115 -gas | --gas | --ga | --g)
1116 # Obsolete; use --with-gas.
1119 -help | --help | --hel | --he | -h)
1120 ac_init_help=long ;;
1121 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1122 ac_init_help=recursive ;;
1123 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1124 ac_init_help=short ;;
1126 -host | --host | --hos | --ho)
1127 ac_prev=host_alias ;;
1128 -host=* | --host=* | --hos=* | --ho=*)
1129 host_alias=$ac_optarg ;;
1131 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1133 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135 htmldir=$ac_optarg ;;
1137 -includedir | --includedir | --includedi | --included | --include \
1138 | --includ | --inclu | --incl | --inc)
1139 ac_prev=includedir ;;
1140 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1141 | --includ=* | --inclu=* | --incl=* | --inc=*)
1142 includedir=$ac_optarg ;;
1144 -infodir | --infodir | --infodi | --infod | --info | --inf)
1146 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1147 infodir=$ac_optarg ;;
1149 -libdir | --libdir | --libdi | --libd)
1151 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1152 libdir=$ac_optarg ;;
1154 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1155 | --libexe | --libex | --libe)
1156 ac_prev=libexecdir ;;
1157 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1158 | --libexe=* | --libex=* | --libe=*)
1159 libexecdir=$ac_optarg ;;
1161 -localedir | --localedir | --localedi | --localed | --locale)
1162 ac_prev=localedir ;;
1163 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1164 localedir=$ac_optarg ;;
1166 -localstatedir | --localstatedir | --localstatedi | --localstated \
1167 | --localstate | --localstat | --localsta | --localst | --locals)
1168 ac_prev=localstatedir ;;
1169 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1170 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1171 localstatedir=$ac_optarg ;;
1173 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1175 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1176 mandir=$ac_optarg ;;
1178 -nfp | --nfp | --nf)
1179 # Obsolete; use --without-fp.
1182 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1183 | --no-cr | --no-c | -n)
1186 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1190 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1191 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1192 | --oldin | --oldi | --old | --ol | --o)
1193 ac_prev=oldincludedir ;;
1194 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1195 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1196 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1197 oldincludedir=$ac_optarg ;;
1199 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1201 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1202 prefix=$ac_optarg ;;
1204 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1205 | --program-pre | --program-pr | --program-p)
1206 ac_prev=program_prefix ;;
1207 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1208 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1209 program_prefix=$ac_optarg ;;
1211 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1212 | --program-suf | --program-su | --program-s)
1213 ac_prev=program_suffix ;;
1214 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1215 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1216 program_suffix=$ac_optarg ;;
1218 -program-transform-name | --program-transform-name \
1219 | --program-transform-nam | --program-transform-na \
1220 | --program-transform-n | --program-transform- \
1221 | --program-transform | --program-transfor \
1222 | --program-transfo | --program-transf \
1223 | --program-trans | --program-tran \
1224 | --progr-tra | --program-tr | --program-t)
1225 ac_prev=program_transform_name ;;
1226 -program-transform-name=* | --program-transform-name=* \
1227 | --program-transform-nam=* | --program-transform-na=* \
1228 | --program-transform-n=* | --program-transform-=* \
1229 | --program-transform=* | --program-transfor=* \
1230 | --program-transfo=* | --program-transf=* \
1231 | --program-trans=* | --program-tran=* \
1232 | --progr-tra=* | --program-tr=* | --program-t=*)
1233 program_transform_name=$ac_optarg ;;
1235 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1237 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1238 pdfdir=$ac_optarg ;;
1240 -psdir | --psdir | --psdi | --psd | --ps)
1242 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246 | -silent | --silent | --silen | --sile | --sil)
1249 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1251 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1253 sbindir=$ac_optarg ;;
1255 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1256 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1257 | --sharedst | --shareds | --shared | --share | --shar \
1259 ac_prev=sharedstatedir ;;
1260 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1261 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1262 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1264 sharedstatedir=$ac_optarg ;;
1266 -site | --site | --sit)
1268 -site=* | --site=* | --sit=*)
1271 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1273 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1274 srcdir=$ac_optarg ;;
1276 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1277 | --syscon | --sysco | --sysc | --sys | --sy)
1278 ac_prev=sysconfdir ;;
1279 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1280 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1281 sysconfdir=$ac_optarg ;;
1283 -target | --target | --targe | --targ | --tar | --ta | --t)
1284 ac_prev=target_alias ;;
1285 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1286 target_alias=$ac_optarg ;;
1288 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1291 -version | --version | --versio | --versi | --vers | -V)
1292 ac_init_version=: ;;
1295 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1298 { echo "$as_me: error: invalid package name: $ac_package" >&2
1299 { (exit 1); exit 1; }; }
1300 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1301 eval with_$ac_package=\$ac_optarg ;;
1303 -without-* | --without-*)
1304 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1307 { echo "$as_me: error: invalid package name: $ac_package" >&2
1308 { (exit 1); exit 1; }; }
1309 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1310 eval with_$ac_package=no ;;
1313 # Obsolete; use --with-x.
1316 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1317 | --x-incl | --x-inc | --x-in | --x-i)
1318 ac_prev=x_includes ;;
1319 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1320 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1321 x_includes=$ac_optarg ;;
1323 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1324 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1325 ac_prev=x_libraries ;;
1326 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1327 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1328 x_libraries=$ac_optarg ;;
1330 -*) { echo "$as_me: error: unrecognized option: $ac_option
1331 Try \`$0 --help' for more information." >&2
1332 { (exit 1); exit 1; }; }
1336 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1339 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1340 { (exit 1); exit 1; }; }
1341 eval $ac_envvar=\$ac_optarg
1342 export $ac_envvar ;;
1345 # FIXME: should be removed in autoconf 3.0.
1346 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1348 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1355 if test -n "$ac_prev"; then
1356 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1357 { echo "$as_me: error: missing argument to $ac_option" >&2
1358 { (exit 1); exit 1; }; }
1361 # Be sure to have absolute directory names.
1362 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1363 datadir sysconfdir sharedstatedir localstatedir includedir \
1364 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1365 libdir localedir mandir
1367 eval ac_val=\$$ac_var
1369 [\\/$]* | ?:[\\/]* ) continue;;
1370 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1372 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1373 { (exit 1); exit 1; }; }
1376 # There might be people who depend on the old broken behavior: `$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1381 target=$target_alias
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x; then
1385 if test "x$build_alias" = x; then
1386 cross_compiling=maybe
1387 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1388 If a cross compiler is detected then cross compile mode will be used." >&2
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1397 test "$silent" = yes && exec 6>/dev/null
1400 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di=`ls -di .` &&
1402 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1403 { echo "$as_me: error: Working directory cannot be determined" >&2
1404 { (exit 1); exit 1; }; }
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 { echo "$as_me: error: pwd does not report name of working directory" >&2
1407 { (exit 1); exit 1; }; }
1410 # Find the source files, if location was not specified.
1411 if test -z "$srcdir"; then
1412 ac_srcdir_defaulted=yes
1413 # Try the directory containing this script, then the parent directory.
1414 ac_confdir=`$as_dirname -- "$0" ||
1415 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1416 X"$0" : 'X\(//\)[^/]' \| \
1417 X"$0" : 'X\(//\)$' \| \
1418 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1442 ac_srcdir_defaulted=no
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1446 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1447 { (exit 1); exit 1; }; }
1449 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1452 { (exit 1); exit 1; }; }
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var in $ac_precious_vars; do
1465 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_${ac_var}_value=\$${ac_var}
1467 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures util-vserver 0.30.214 to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/util-vserver]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --program-prefix=PREFIX prepend PREFIX to installed program names
1537 --program-suffix=SUFFIX append SUFFIX to installed program names
1538 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1541 --build=BUILD configure for building on BUILD [guessed]
1542 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1546 if test -n "$ac_init_help"; then
1547 case $ac_init_help in
1548 short | recursive ) echo "Configuration of util-vserver 0.30.214:";;
1553 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1554 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1555 --enable-maintainer-mode enable make rules and dependencies not useful
1556 (and sometimes confusing) to the casual installer
1557 --disable-dependency-tracking speeds up one-time build
1558 --enable-dependency-tracking do not reject slow dependency extractors
1559 --disable-extra-optimizations
1560 disable certain extra optimizations (default: no)
1561 --enable-lib-debug enable additional debug code in library (default:
1563 --enable-expensive-tests
1564 disable tests which might be expensive on some
1565 systems (default: no)
1566 --enable-release enable release mode (default: no)
1567 --disable-alternative-syscalls
1568 do not use the alternative _syscallX macros provided
1569 by Herbert Poetzl (default: use them)
1570 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1571 --enable-dietlibc) (default: autodetect dietlibc)
1572 --enable-shared[=PKGS] build shared libraries [default=yes]
1573 --enable-static[=PKGS] build static libraries [default=yes]
1574 --enable-fast-install[=PKGS]
1575 optimize for fast installation [default=yes]
1576 --disable-libtool-lock avoid locking (might break parallel builds)
1577 --disable-internal-headers
1578 use vserver specific headers from the kernel instead
1579 of the shipped versions (default: no)
1580 --enable-apis=APIS enable support for the given apis; possible values
1582 legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2
1583 ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2)
1586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1590 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1591 values are 'fast', 'traditional' and 'auto'
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-pic try to use only PIC/non-PIC objects [default=use
1596 --with-tags[=TAGS] include additional configurations [automatic]
1597 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1598 --with-initscripts=TYPE force host initscripts; valid values are 'gentoo'
1599 and 'sysv' (default: guess)
1601 Some influential environment variables:
1602 CXX C++ compiler command
1603 CXXFLAGS C++ compiler flags
1604 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1605 nonstandard directory <lib dir>
1606 LIBS libraries to pass to the linker, e.g. -l<library>
1607 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1608 you have headers in a nonstandard directory <include dir>
1609 CC C compiler command
1610 CFLAGS C compiler flags
1612 DIET The 'diet' wrapper (default: diet)
1613 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1614 CXXCPP C++ preprocessor
1615 F77 Fortran 77 compiler command
1616 FFLAGS Fortran 77 compiler flags
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to <vserver@list.linux-vserver.org>.
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" || continue
1633 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1636 # A ".." for each directory in $ac_dir_suffix.
1637 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1638 case $ac_top_builddir_sub in
1639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 ac_abs_top_builddir=$ac_pwd
1644 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1645 # for backward compatibility:
1646 ac_top_builddir=$ac_top_build_prefix
1649 .) # We are building in place.
1651 ac_top_srcdir=$ac_top_builddir_sub
1652 ac_abs_top_srcdir=$ac_pwd ;;
1653 [\\/]* | ?:[\\/]* ) # Absolute name.
1654 ac_srcdir=$srcdir$ac_dir_suffix;
1655 ac_top_srcdir=$srcdir
1656 ac_abs_top_srcdir=$srcdir ;;
1658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 ac_top_srcdir=$ac_top_build_prefix$srcdir
1660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1662 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1664 cd "$ac_dir" || { ac_status=$?; continue; }
1665 # Check for guested configure.
1666 if test -f "$ac_srcdir/configure.gnu"; then
1668 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1669 elif test -f "$ac_srcdir/configure"; then
1671 $SHELL "$ac_srcdir/configure" --help=recursive
1673 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1675 cd "$ac_pwd" || { ac_status=$?; break; }
1679 test -n "$ac_init_help" && exit $ac_status
1680 if $ac_init_version; then
1682 util-vserver configure 0.30.214
1683 generated by GNU Autoconf 2.61
1685 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1686 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1687 This configure script is free software; the Free Software Foundation
1688 gives unlimited permission to copy, distribute and modify it.
1692 cat >config.log <<_ACEOF
1693 This file contains any messages produced by compilers while
1694 running configure, to aid debugging if configure makes a mistake.
1696 It was created by util-vserver $as_me 0.30.214, which was
1697 generated by GNU Autoconf 2.61. Invocation command line was
1709 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1710 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1711 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1712 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1713 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1715 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1716 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1718 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1719 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1720 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1721 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1722 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1723 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1724 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir=.
1733 echo "PATH: $as_dir"
1749 # Keep a trace of the command line.
1750 # Strip out --no-create and --no-recursion so they do not pile up.
1751 # Strip out --silent because we don't want to record it for future runs.
1752 # Also quote any args containing shell meta-characters.
1753 # Make two passes to allow for proper duplicate-argument suppression.
1757 ac_must_keep_next=false
1763 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1765 | -silent | --silent | --silen | --sile | --sil)
1768 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1771 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1773 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1774 if test $ac_must_keep_next = true; then
1775 ac_must_keep_next=false # Got value, back to normal.
1778 *=* | --config-cache | -C | -disable-* | --disable-* \
1779 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1780 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1781 | -with-* | --with-* | -without-* | --without-* | --x)
1782 case "$ac_configure_args0 " in
1783 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1786 -* ) ac_must_keep_next=true ;;
1789 ac_configure_args="$ac_configure_args '$ac_arg'"
1794 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1795 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1797 # When interrupted or exit'd, cleanup temporary files, and complete
1798 # config.log. We remove comments because anyway the quotes in there
1799 # would cause problems or look ugly.
1800 # WARNING: Use '\'' to represent an apostrophe within the trap.
1801 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1802 trap 'exit_status=$?
1803 # Save into config.log some information that might help in debugging.
1808 ## ---------------- ##
1809 ## Cache variables. ##
1810 ## ---------------- ##
1813 # The following way of writing the cache mishandles newlines in values,
1815 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1816 eval ac_val=\$$ac_var
1820 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1821 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1824 _ | IFS | as_nl) ;; #(
1825 *) $as_unset $ac_var ;;
1830 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1831 *${as_nl}ac_space=\ *)
1833 "s/'\''/'\''\\\\'\'''\''/g;
1834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1845 ## ----------------- ##
1846 ## Output variables. ##
1847 ## ----------------- ##
1850 for ac_var in $ac_subst_vars
1852 eval ac_val=\$$ac_var
1854 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1856 echo "$ac_var='\''$ac_val'\''"
1860 if test -n "$ac_subst_files"; then
1862 ## ------------------- ##
1863 ## File substitutions. ##
1864 ## ------------------- ##
1867 for ac_var in $ac_subst_files
1869 eval ac_val=\$$ac_var
1871 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 echo "$ac_var='\''$ac_val'\''"
1878 if test -s confdefs.h; then
1888 test "$ac_signal" != 0 &&
1889 echo "$as_me: caught signal $ac_signal"
1890 echo "$as_me: exit $exit_status"
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1896 for ac_signal in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 rm -f -r conftest* confdefs.h
1904 # Predefined preprocessor variables.
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_NAME "$PACKAGE_NAME"
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1921 cat >>confdefs.h <<_ACEOF
1922 #define PACKAGE_STRING "$PACKAGE_STRING"
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1931 # Let the site file select an alternate cache file if it wants to.
1932 # Prefer explicitly selected file to automatically selected ones.
1933 if test -n "$CONFIG_SITE"; then
1934 set x "$CONFIG_SITE"
1935 elif test "x$prefix" != xNONE; then
1936 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1938 set x "$ac_default_prefix/share/config.site" \
1939 "$ac_default_prefix/etc/config.site"
1944 if test -r "$ac_site_file"; then
1945 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1946 echo "$as_me: loading site script $ac_site_file" >&6;}
1947 sed 's/^/| /' "$ac_site_file" >&5
1952 if test -r "$cache_file"; then
1953 # Some versions of bash will fail to source /dev/null (special
1954 # files actually), so we avoid doing that.
1955 if test -f "$cache_file"; then
1956 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1957 echo "$as_me: loading cache $cache_file" >&6;}
1959 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1960 *) . "./$cache_file";;
1964 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1965 echo "$as_me: creating cache $cache_file" >&6;}
1969 # Check that the precious variables saved in the cache have kept the same
1971 ac_cache_corrupted=false
1972 for ac_var in $ac_precious_vars; do
1973 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1974 eval ac_new_set=\$ac_env_${ac_var}_set
1975 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1976 eval ac_new_val=\$ac_env_${ac_var}_value
1977 case $ac_old_set,$ac_new_set in
1979 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1980 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1981 ac_cache_corrupted=: ;;
1983 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1984 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1985 ac_cache_corrupted=: ;;
1988 if test "x$ac_old_val" != "x$ac_new_val"; then
1989 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1990 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1991 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1992 echo "$as_me: former value: $ac_old_val" >&2;}
1993 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1994 echo "$as_me: current value: $ac_new_val" >&2;}
1995 ac_cache_corrupted=:
1998 # Pass precious variables to config.status.
1999 if test "$ac_new_set" = set; then
2001 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2002 *) ac_arg=$ac_var=$ac_new_val ;;
2004 case " $ac_configure_args " in
2005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2006 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2010 if $ac_cache_corrupted; then
2011 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2012 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2013 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2014 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2015 { (exit 1); exit 1; }; }
2043 ac_cpp='$CPP $CPPFLAGS'
2044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2050 ac_config_headers="$ac_config_headers config.h"
2053 am__api_version='1.10'
2056 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2057 if test -f "$ac_dir/install-sh"; then
2059 ac_install_sh="$ac_aux_dir/install-sh -c"
2061 elif test -f "$ac_dir/install.sh"; then
2063 ac_install_sh="$ac_aux_dir/install.sh -c"
2065 elif test -f "$ac_dir/shtool"; then
2067 ac_install_sh="$ac_aux_dir/shtool install -c"
2071 if test -z "$ac_aux_dir"; then
2072 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2073 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2074 { (exit 1); exit 1; }; }
2077 # These three variables are undocumented and unsupported,
2078 # and are intended to be withdrawn in a future Autoconf release.
2079 # They can cause serious problems if a builder's source tree is in a directory
2080 # whose full name contains unusual characters.
2081 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2082 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2083 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2086 # Find a good install program. We prefer a C program (faster),
2087 # so one script is as good as another. But avoid the broken or
2088 # incompatible versions:
2089 # SysV /etc/install, /usr/sbin/install
2090 # SunOS /usr/etc/install
2091 # IRIX /sbin/install
2093 # AmigaOS /C/install, which installs bootblocks on floppy discs
2094 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2095 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2096 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2097 # OS/2's system install, which has a completely different semantic
2098 # ./install, which can be erroneously created by make from ./install.sh.
2099 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2100 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2101 if test -z "$INSTALL"; then
2102 if test "${ac_cv_path_install+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 # Account for people who put trailing slashes in PATH elements.
2112 ./ | .// | /cC/* | \
2113 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2114 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2117 # OSF1 and SCO ODT 3.0 have their own names for install.
2118 # Don't use installbsd from OSF since it installs stuff as root
2120 for ac_prog in ginstall scoinst install; do
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2123 if test $ac_prog = install &&
2124 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2125 # AIX install. It has an incompatible calling convention.
2127 elif test $ac_prog = install &&
2128 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2129 # program-specific install script used by HP pwplus--don't use.
2132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2145 if test "${ac_cv_path_install+set}" = set; then
2146 INSTALL=$ac_cv_path_install
2148 # As a last resort, use the slow shell script. Don't cache a
2149 # value for INSTALL within a source directory, because that will
2150 # break other packages using the cache if that directory is
2151 # removed, or if the value is a relative name.
2152 INSTALL=$ac_install_sh
2155 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2156 echo "${ECHO_T}$INSTALL" >&6; }
2158 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2159 # It thinks the first close brace ends the variable substitution.
2160 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2162 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2164 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2166 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2167 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2170 echo timestamp > conftest.file
2171 # Do `set' in a subshell so we don't clobber the current shell's
2172 # arguments. Must try -L first in case configure is actually a
2173 # symlink; some systems play weird games with the mod time of symlinks
2174 # (eg FreeBSD returns the mod time of the symlink's containing
2177 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2178 if test "$*" = "X"; then
2180 set X `ls -t $srcdir/configure conftest.file`
2183 if test "$*" != "X $srcdir/configure conftest.file" \
2184 && test "$*" != "X conftest.file $srcdir/configure"; then
2186 # If neither matched, then we have a broken ls. This can happen
2187 # if, for instance, CONFIG_SHELL is bash and it inherits a
2188 # broken ls alias from the environment. This has actually
2189 # happened. Such a system could not be considered "sane".
2190 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2191 alias in your environment" >&5
2192 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2193 alias in your environment" >&2;}
2194 { (exit 1); exit 1; }; }
2197 test "$2" = conftest.file
2203 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2204 Check your system clock" >&5
2205 echo "$as_me: error: newly created file is older than distributed files!
2206 Check your system clock" >&2;}
2207 { (exit 1); exit 1; }; }
2209 { echo "$as_me:$LINENO: result: yes" >&5
2210 echo "${ECHO_T}yes" >&6; }
2211 test "$program_prefix" != NONE &&
2212 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2213 # Use a double $ so make ignores it.
2214 test "$program_suffix" != NONE &&
2215 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2216 # Double any \ or $. echo might interpret backslashes.
2217 # By default was `s,x,x', remove it if useless.
2218 cat <<\_ACEOF >conftest.sed
2219 s/[\\$]/&&/g;s/;s,x,x,$//
2221 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2224 # expand $ac_aux_dir to an absolute path
2225 am_aux_dir=`cd $ac_aux_dir && pwd`
2227 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2228 # Use eval to expand $SHELL
2229 if eval "$MISSING --run true"; then
2230 am_missing_run="$MISSING --run "
2233 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2234 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2237 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2238 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2239 if test -z "$MKDIR_P"; then
2240 if test "${ac_cv_path_mkdir+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2247 test -z "$as_dir" && as_dir=.
2248 for ac_prog in mkdir gmkdir; do
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2251 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2252 'mkdir (GNU coreutils) '* | \
2253 'mkdir (coreutils) '* | \
2254 'mkdir (fileutils) '4.1*)
2255 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2265 if test "${ac_cv_path_mkdir+set}" = set; then
2266 MKDIR_P="$ac_cv_path_mkdir -p"
2268 # As a last resort, use the slow shell script. Don't cache a
2269 # value for MKDIR_P within a source directory, because that will
2270 # break other packages using the cache if that directory is
2271 # removed, or if the value is a relative name.
2272 test -d ./--version && rmdir ./--version
2273 MKDIR_P="$ac_install_sh -d"
2276 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2277 echo "${ECHO_T}$MKDIR_P" >&6; }
2281 [\\/$]* | ?:[\\/]*) ;;
2282 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2285 for ac_prog in gawk mawk nawk awk
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_AWK+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$AWK"; then
2295 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_AWK="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 if test -n "$AWK"; then
2316 { echo "$as_me:$LINENO: result: $AWK" >&5
2317 echo "${ECHO_T}$AWK" >&6; }
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2324 test -n "$AWK" && break
2327 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2328 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2329 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2330 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 cat >conftest.make <<\_ACEOF
2336 @echo '@@@%%%=$(MAKE)=@@@%%%'
2338 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2339 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2341 eval ac_cv_prog_make_${ac_make}_set=yes;;
2343 eval ac_cv_prog_make_${ac_make}_set=no;;
2347 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2348 { echo "$as_me:$LINENO: result: yes" >&5
2349 echo "${ECHO_T}yes" >&6; }
2352 { echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6; }
2354 SET_MAKE="MAKE=${MAKE-make}"
2357 rm -rf .tst 2>/dev/null
2358 mkdir .tst 2>/dev/null
2359 if test -d .tst; then
2364 rmdir .tst 2>/dev/null
2366 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2367 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2368 # is not polluted with repeated "-I."
2369 am__isrc=' -I$(srcdir)'
2370 # test to see if srcdir already configured
2371 if test -f $srcdir/config.status; then
2372 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2373 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2374 { (exit 1); exit 1; }; }
2378 # test whether we have cygpath
2379 if test -z "$CYGPATH_W"; then
2380 if (cygpath --version) >/dev/null 2>/dev/null; then
2381 CYGPATH_W='cygpath -w'
2388 # Define the identity of the package.
2389 PACKAGE='util-vserver'
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE "$PACKAGE"
2398 cat >>confdefs.h <<_ACEOF
2399 #define VERSION "$VERSION"
2402 # Some tools Automake needs.
2404 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2407 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2410 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2413 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2416 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2418 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2420 # Installed binaries are usually stripped using `strip' when the user
2421 # run `make install-strip'. However `strip' might not be the right
2422 # tool to use in cross-compilation environments, therefore Automake
2423 # will honor the `STRIP' environment variable to overrule this program.
2424 if test "$cross_compiling" != no; then
2425 if test -n "$ac_tool_prefix"; then
2426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2427 set dummy ${ac_tool_prefix}strip; ac_word=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_STRIP+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$STRIP"; then
2434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 STRIP=$ac_cv_prog_STRIP
2454 if test -n "$STRIP"; then
2455 { echo "$as_me:$LINENO: result: $STRIP" >&5
2456 echo "${ECHO_T}$STRIP" >&6; }
2458 { echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6; }
2464 if test -z "$ac_cv_prog_STRIP"; then
2466 # Extract the first word of "strip", so it can be a program name with args.
2467 set dummy strip; ac_word=$2
2468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2470 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 if test -n "$ac_ct_STRIP"; then
2474 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483 ac_cv_prog_ac_ct_STRIP="strip"
2484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2494 if test -n "$ac_ct_STRIP"; then
2495 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2496 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2498 { echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6; }
2502 if test "x$ac_ct_STRIP" = x; then
2505 case $cross_compiling:$ac_tool_warned in
2507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&5
2510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2511 whose name does not start with the host triplet. If you think this
2512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2513 ac_tool_warned=yes ;;
2518 STRIP="$ac_cv_prog_STRIP"
2522 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2524 # We need awk for the "check" target. The system "awk" is bad on
2526 # Always define AMTAR for backward compatibility.
2528 AMTAR=${AMTAR-"${am_missing_run}tar"}
2530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2536 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2537 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2538 # Check whether --enable-maintainer-mode was given.
2539 if test "${enable_maintainer_mode+set}" = set; then
2540 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2542 USE_MAINTAINER_MODE=no
2545 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2546 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2547 if test $USE_MAINTAINER_MODE = yes; then
2548 MAINTAINER_MODE_TRUE=
2549 MAINTAINER_MODE_FALSE='#'
2551 MAINTAINER_MODE_TRUE='#'
2552 MAINTAINER_MODE_FALSE=
2555 MAINT=$MAINTAINER_MODE_TRUE
2559 # Make sure we can run config.sub.
2560 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2561 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2562 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2563 { (exit 1); exit 1; }; }
2565 { echo "$as_me:$LINENO: checking build system type" >&5
2566 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2567 if test "${ac_cv_build+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 ac_build_alias=$build_alias
2571 test "x$ac_build_alias" = x &&
2572 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2573 test "x$ac_build_alias" = x &&
2574 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2575 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2576 { (exit 1); exit 1; }; }
2577 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2578 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2579 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2580 { (exit 1); exit 1; }; }
2583 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2584 echo "${ECHO_T}$ac_cv_build" >&6; }
2585 case $ac_cv_build in
2587 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2588 echo "$as_me: error: invalid value of canonical build" >&2;}
2589 { (exit 1); exit 1; }; };;
2592 ac_save_IFS=$IFS; IFS='-'
2598 # Remember, the first character of IFS is used to create $*,
2599 # except with old shells:
2602 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2605 { echo "$as_me:$LINENO: checking host system type" >&5
2606 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2607 if test "${ac_cv_host+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 if test "x$host_alias" = x; then
2611 ac_cv_host=$ac_cv_build
2613 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2614 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2615 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2616 { (exit 1); exit 1; }; }
2620 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2621 echo "${ECHO_T}$ac_cv_host" >&6; }
2624 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2625 echo "$as_me: error: invalid value of canonical host" >&2;}
2626 { (exit 1); exit 1; }; };;
2629 ac_save_IFS=$IFS; IFS='-'
2635 # Remember, the first character of IFS is used to create $*,
2636 # except with old shells:
2639 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2643 GPG_KEY="0xFFD316AC53ACA43A!"
2646 # Checks for programs.
2648 ac_cpp='$CXXCPP $CPPFLAGS'
2649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2652 if test -z "$CXX"; then
2653 if test -n "$CCC"; then
2656 if test -n "$ac_tool_prefix"; then
2657 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2663 if test "${ac_cv_prog_CXX+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 if test -n "$CXX"; then
2667 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$CXX"; then
2688 { echo "$as_me:$LINENO: result: $CXX" >&5
2689 echo "${ECHO_T}$CXX" >&6; }
2691 { echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6; }
2696 test -n "$CXX" && break
2699 if test -z "$CXX"; then
2701 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2703 # Extract the first word of "$ac_prog", so it can be a program name with args.
2704 set dummy $ac_prog; ac_word=$2
2705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 if test -n "$ac_ct_CXX"; then
2711 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir=.
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 ac_cv_prog_ac_ct_CXX="$ac_prog"
2721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2731 if test -n "$ac_ct_CXX"; then
2732 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2733 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2735 { echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6; }
2740 test -n "$ac_ct_CXX" && break
2743 if test "x$ac_ct_CXX" = x; then
2746 case $cross_compiling:$ac_tool_warned in
2748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2749 whose name does not start with the host triplet. If you think this
2750 configuration is useful to you, please write to autoconf@gnu.org." >&5
2751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2752 whose name does not start with the host triplet. If you think this
2753 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2754 ac_tool_warned=yes ;;
2762 # Provide some information about the compiler.
2763 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2764 ac_compiler=`set X $ac_compile; echo $2`
2765 { (ac_try="$ac_compiler --version >&5"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compiler --version >&5") 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }
2775 { (ac_try="$ac_compiler -v >&5"
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_compiler -v >&5") 2>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }
2785 { (ac_try="$ac_compiler -V >&5"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_compiler -V >&5") 2>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }
2796 cat >conftest.$ac_ext <<_ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2811 ac_clean_files_save=$ac_clean_files
2812 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2813 # Try to create an executable without -o first, disregard a.out.
2814 # It will help us diagnose broken compilers, and finding out an intuition
2816 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2817 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2818 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2820 # List of possible output files, starting from the most likely.
2821 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2822 # only as a last resort. b.out is created by i960 compilers.
2823 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2825 # The IRIX 6 linker writes into existing files which may not be
2826 # executable, retaining their permissions. Remove them first so a
2827 # subsequent execution test works.
2829 for ac_file in $ac_files
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2833 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2838 if { (ac_try="$ac_link_default"
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_link_default") 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; then
2848 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2849 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2850 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2851 # so that the user can short-circuit this test for compilers unknown to
2853 for ac_file in $ac_files ''
2855 test -f "$ac_file" || continue
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2860 # We found the default executable, but exeext='' is most
2864 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2866 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2868 # We set ac_cv_exeext here because the later test for it is not
2869 # safe: cross compilers may not add the suffix if given an `-o'
2870 # argument, so we may need to know it at that point already.
2871 # Even if this section looks crufty: it has the advantage of
2878 test "$ac_cv_exeext" = no && ac_cv_exeext=
2884 { echo "$as_me:$LINENO: result: $ac_file" >&5
2885 echo "${ECHO_T}$ac_file" >&6; }
2886 if test -z "$ac_file"; then
2887 echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2891 See \`config.log' for more details." >&5
2892 echo "$as_me: error: C++ compiler cannot create executables
2893 See \`config.log' for more details." >&2;}
2894 { (exit 77); exit 77; }; }
2897 ac_exeext=$ac_cv_exeext
2899 # Check that the compiler produces executables we can run. If not, either
2900 # the compiler is broken, or we cross compile.
2901 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2902 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2903 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2904 # If not cross compiling, check that we can run a simple program.
2905 if test "$cross_compiling" != yes; then
2906 if { ac_try='./$ac_file'
2907 { (case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_try") 2>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2918 if test "$cross_compiling" = maybe; then
2921 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2922 If you meant to cross compile, use \`--host'.
2923 See \`config.log' for more details." >&5
2924 echo "$as_me: error: cannot run C++ compiled programs.
2925 If you meant to cross compile, use \`--host'.
2926 See \`config.log' for more details." >&2;}
2927 { (exit 1); exit 1; }; }
2931 { echo "$as_me:$LINENO: result: yes" >&5
2932 echo "${ECHO_T}yes" >&6; }
2934 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2935 ac_clean_files=$ac_clean_files_save
2936 # Check that the compiler produces executables we can run. If not, either
2937 # the compiler is broken, or we cross compile.
2938 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2939 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2940 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2941 echo "${ECHO_T}$cross_compiling" >&6; }
2943 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2944 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2945 if { (ac_try="$ac_link"
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2951 (eval "$ac_link") 2>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; then
2955 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2956 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2957 # work properly (i.e., refer to `conftest.exe'), while it won't with
2959 for ac_file in conftest.exe conftest conftest.*; do
2960 test -f "$ac_file" || continue
2962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2963 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2969 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2970 See \`config.log' for more details." >&5
2971 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2972 See \`config.log' for more details." >&2;}
2973 { (exit 1); exit 1; }; }
2976 rm -f conftest$ac_cv_exeext
2977 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2978 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2980 rm -f conftest.$ac_ext
2981 EXEEXT=$ac_cv_exeext
2983 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2984 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2985 if test "${ac_cv_objext+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 cat >conftest.$ac_ext <<_ACEOF
2991 cat confdefs.h >>conftest.$ac_ext
2992 cat >>conftest.$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
3003 rm -f conftest.o conftest.obj
3004 if { (ac_try="$ac_compile"
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3010 (eval "$ac_compile") 2>&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; then
3014 for ac_file in conftest.o conftest.obj conftest.*; do
3015 test -f "$ac_file" || continue;
3017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3018 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3023 echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3027 See \`config.log' for more details." >&5
3028 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3029 See \`config.log' for more details." >&2;}
3030 { (exit 1); exit 1; }; }
3033 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3035 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3036 echo "${ECHO_T}$ac_cv_objext" >&6; }
3037 OBJEXT=$ac_cv_objext
3039 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3040 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3041 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 cat >conftest.$ac_ext <<_ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3062 rm -f conftest.$ac_objext
3063 if { (ac_try="$ac_compile"
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3069 (eval "$ac_compile") 2>conftest.er1
3071 grep -v '^ *+' conftest.er1 >conftest.err
3073 cat conftest.err >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } && {
3076 test -z "$ac_cxx_werror_flag" ||
3077 test ! -s conftest.err
3078 } && test -s conftest.$ac_objext; then
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3091 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3092 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3093 GXX=`test $ac_compiler_gnu = yes && echo yes`
3094 ac_test_CXXFLAGS=${CXXFLAGS+set}
3095 ac_save_CXXFLAGS=$CXXFLAGS
3096 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3097 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3098 if test "${ac_cv_prog_cxx_g+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3102 ac_cxx_werror_flag=yes
3105 cat >conftest.$ac_ext <<_ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3120 rm -f conftest.$ac_objext
3121 if { (ac_try="$ac_compile"
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3127 (eval "$ac_compile") 2>conftest.er1
3129 grep -v '^ *+' conftest.er1 >conftest.err
3131 cat conftest.err >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } && {
3134 test -z "$ac_cxx_werror_flag" ||
3135 test ! -s conftest.err
3136 } && test -s conftest.$ac_objext; then
3137 ac_cv_prog_cxx_g=yes
3139 echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3143 cat >conftest.$ac_ext <<_ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3158 rm -f conftest.$ac_objext
3159 if { (ac_try="$ac_compile"
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3165 (eval "$ac_compile") 2>conftest.er1
3167 grep -v '^ *+' conftest.er1 >conftest.err
3169 cat conftest.err >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } && {
3172 test -z "$ac_cxx_werror_flag" ||
3173 test ! -s conftest.err
3174 } && test -s conftest.$ac_objext; then
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3197 rm -f conftest.$ac_objext
3198 if { (ac_try="$ac_compile"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_cxx_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3214 ac_cv_prog_cxx_g=yes
3216 echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3231 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3232 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3233 if test "$ac_test_CXXFLAGS" = set; then
3234 CXXFLAGS=$ac_save_CXXFLAGS
3235 elif test $ac_cv_prog_cxx_g = yes; then
3236 if test "$GXX" = yes; then
3242 if test "$GXX" = yes; then
3249 ac_cpp='$CPP $CPPFLAGS'
3250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3253 DEPDIR="${am__leading_dot}deps"
3255 ac_config_commands="$ac_config_commands depfiles"
3258 am_make=${MAKE-make}
3259 cat > confinc << 'END'
3264 # If we don't find an include directive, just comment out the code.
3265 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3266 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3270 # First try GNU make style include.
3271 echo "include confinc" > confmf
3272 # We grep out `Entering directory' and `Leaving directory'
3273 # messages which can occur if `w' ends up in MAKEFLAGS.
3274 # In particular we don't look at `^make:' because GNU make might
3275 # be invoked under some other name (usually "gmake"), in which
3276 # case it prints its new name instead of `make'.
3277 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3282 # Now try BSD make style include.
3283 if test "$am__include" = "#"; then
3284 echo '.include "confinc"' > confmf
3285 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3286 am__include=.include
3293 { echo "$as_me:$LINENO: result: $_am_result" >&5
3294 echo "${ECHO_T}$_am_result" >&6; }
3295 rm -f confinc confmf
3297 # Check whether --enable-dependency-tracking was given.
3298 if test "${enable_dependency_tracking+set}" = set; then
3299 enableval=$enable_dependency_tracking;
3302 if test "x$enable_dependency_tracking" != xno; then
3303 am_depcomp="$ac_aux_dir/depcomp"
3306 if test "x$enable_dependency_tracking" != xno; then
3316 depcc="$CXX" am_compiler_list=
3318 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3319 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3320 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3324 # We make a subdir and do the tests there. Otherwise we can end up
3325 # making bogus files that we don't know about and never remove. For
3326 # instance it was reported that on HP-UX the gcc test will end up
3327 # making a dummy file named `D' -- because `-MD' means `put the output
3330 # Copy depcomp to subdir because otherwise we won't find it if we're
3331 # using a relative directory.
3332 cp "$am_depcomp" conftest.dir
3334 # We will build objects and dependencies in a subdirectory because
3335 # it helps to detect inapplicable dependency modes. For instance
3336 # both Tru64's cc and ICC support -MD to output dependencies as a
3337 # side effect of compilation, but ICC will put the dependencies in
3338 # the current directory while Tru64 will put them in the object
3342 am_cv_CXX_dependencies_compiler_type=none
3343 if test "$am_compiler_list" = ""; then
3344 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3346 for depmode in $am_compiler_list; do
3347 # Setup a source with many dependencies, because some compilers
3348 # like to wrap large dependency lists on column 80 (with \), and
3349 # we should not choose a depcomp mode which is confused by this.
3351 # We need to recreate these files for each test, as the compiler may
3352 # overwrite some of them when testing with obscure command lines.
3353 # This happens at least with the AIX C compiler.
3355 for i in 1 2 3 4 5 6; do
3356 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3357 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3358 # Solaris 8's {/usr,}/bin/sh.
3359 touch sub/conftst$i.h
3361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3365 # after this tag, mechanisms are not by side-effect, so they'll
3366 # only be used when explicitly requested
3367 if test "x$enable_dependency_tracking" = xyes; then
3375 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3376 # mode. It turns out that the SunPro C++ compiler does not properly
3377 # handle `-M -o', and we need to detect this.
3378 if depmode=$depmode \
3379 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3380 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3381 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3382 >/dev/null 2>conftest.err &&
3383 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3384 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3385 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3386 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3387 # icc doesn't choke on unknown options, it will just issue warnings
3388 # or remarks (even with -Werror). So we grep stderr for any message
3389 # that says an option was ignored or not supported.
3390 # When given -MP, icc 7.0 and 7.1 complain thusly:
3391 # icc: Command line warning: ignoring option '-M'; no argument required
3392 # The diagnosis changed in icc 8.0:
3393 # icc: Command line remark: option '-MP' not supported
3394 if (grep 'ignoring option' conftest.err ||
3395 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3396 am_cv_CXX_dependencies_compiler_type=$depmode
3405 am_cv_CXX_dependencies_compiler_type=none
3409 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3410 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3411 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3414 test "x$enable_dependency_tracking" != xno \
3415 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3416 am__fastdepCXX_TRUE=
3417 am__fastdepCXX_FALSE='#'
3419 am__fastdepCXX_TRUE='#'
3420 am__fastdepCXX_FALSE=
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 if test -n "$ac_tool_prefix"; then
3430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3434 if test "${ac_cv_prog_CC+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 if test -n "$CC"; then
3438 ac_cv_prog_CC="$CC" # Let the user override the test.
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test -n "$CC"; then
3459 { echo "$as_me:$LINENO: result: $CC" >&5
3460 echo "${ECHO_T}$CC" >&6; }
3462 { echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6; }
3468 if test -z "$ac_cv_prog_CC"; then
3470 # Extract the first word of "gcc", so it can be a program name with args.
3471 set dummy gcc; ac_word=$2
3472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 if test -n "$ac_ct_CC"; then
3478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 test -z "$as_dir" && as_dir=.
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3487 ac_cv_prog_ac_ct_CC="gcc"
3488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3498 if test -n "$ac_ct_CC"; then
3499 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3500 echo "${ECHO_T}$ac_ct_CC" >&6; }
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3506 if test "x$ac_ct_CC" = x; then
3509 case $cross_compiling:$ac_tool_warned in
3511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3512 whose name does not start with the host triplet. If you think this
3513 configuration is useful to you, please write to autoconf@gnu.org." >&5
3514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3515 whose name does not start with the host triplet. If you think this
3516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3517 ac_tool_warned=yes ;;
3525 if test -z "$CC"; then
3526 if test -n "$ac_tool_prefix"; then
3527 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3528 set dummy ${ac_tool_prefix}cc; ac_word=$2
3529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3531 if test "${ac_cv_prog_CC+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3534 if test -n "$CC"; then
3535 ac_cv_prog_CC="$CC" # Let the user override the test.
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir=.
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3544 ac_cv_prog_CC="${ac_tool_prefix}cc"
3545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 if test -n "$CC"; then
3556 { echo "$as_me:$LINENO: result: $CC" >&5
3557 echo "${ECHO_T}$CC" >&6; }
3559 { echo "$as_me:$LINENO: result: no" >&5
3560 echo "${ECHO_T}no" >&6; }
3566 if test -z "$CC"; then
3567 # Extract the first word of "cc", so it can be a program name with args.
3568 set dummy cc; ac_word=$2
3569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3571 if test "${ac_cv_prog_CC+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC="$CC" # Let the user override the test.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3586 ac_prog_rejected=yes
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 if test $ac_prog_rejected = yes; then
3598 # We found a bogon in the path, so make sure we never use it.
3599 set dummy $ac_cv_prog_CC
3601 if test $# != 0; then
3602 # We chose a different compiler from the bogus one.
3603 # However, it has the same basename, so the bogon will be chosen
3604 # first if we set CC to just the basename; use the full file name.
3606 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3612 if test -n "$CC"; then
3613 { echo "$as_me:$LINENO: result: $CC" >&5
3614 echo "${ECHO_T}$CC" >&6; }
3616 { echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6; }
3622 if test -z "$CC"; then
3623 if test -n "$ac_tool_prefix"; then
3624 for ac_prog in cl.exe
3626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3630 if test "${ac_cv_prog_CC+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 if test -n "$CC"; then
3634 ac_cv_prog_CC="$CC" # Let the user override the test.
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test -n "$CC"; then
3655 { echo "$as_me:$LINENO: result: $CC" >&5
3656 echo "${ECHO_T}$CC" >&6; }
3658 { echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6; }
3663 test -n "$CC" && break
3666 if test -z "$CC"; then
3668 for ac_prog in cl.exe
3670 # Extract the first word of "$ac_prog", so it can be a program name with args.
3671 set dummy $ac_prog; ac_word=$2
3672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3674 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 ac_cv_prog_ac_ct_CC="$ac_prog"
3688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698 if test -n "$ac_ct_CC"; then
3699 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3700 echo "${ECHO_T}$ac_ct_CC" >&6; }
3702 { echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6; }
3707 test -n "$ac_ct_CC" && break
3710 if test "x$ac_ct_CC" = x; then
3713 case $cross_compiling:$ac_tool_warned in
3715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3716 whose name does not start with the host triplet. If you think this
3717 configuration is useful to you, please write to autoconf@gnu.org." >&5
3718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3719 whose name does not start with the host triplet. If you think this
3720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3721 ac_tool_warned=yes ;;
3730 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3731 See \`config.log' for more details." >&5
3732 echo "$as_me: error: no acceptable C compiler found in \$PATH
3733 See \`config.log' for more details." >&2;}
3734 { (exit 1); exit 1; }; }
3736 # Provide some information about the compiler.
3737 echo "$as_me:$LINENO: checking for C compiler version" >&5
3738 ac_compiler=`set X $ac_compile; echo $2`
3739 { (ac_try="$ac_compiler --version >&5"
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3745 (eval "$ac_compiler --version >&5") 2>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }
3749 { (ac_try="$ac_compiler -v >&5"
3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752 *) ac_try_echo=$ac_try;;
3754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3755 (eval "$ac_compiler -v >&5") 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }
3759 { (ac_try="$ac_compiler -V >&5"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_compiler -V >&5") 2>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }
3770 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3771 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3772 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 cat >conftest.$ac_ext <<_ACEOF
3778 cat confdefs.h >>conftest.$ac_ext
3779 cat >>conftest.$ac_ext <<_ACEOF
3780 /* end confdefs.h. */
3793 rm -f conftest.$ac_objext
3794 if { (ac_try="$ac_compile"
3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797 *) ac_try_echo=$ac_try;;
3799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3800 (eval "$ac_compile") 2>conftest.er1
3802 grep -v '^ *+' conftest.er1 >conftest.err
3804 cat conftest.err >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } && {
3807 test -z "$ac_c_werror_flag" ||
3808 test ! -s conftest.err
3809 } && test -s conftest.$ac_objext; then
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3822 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3823 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3824 GCC=`test $ac_compiler_gnu = yes && echo yes`
3825 ac_test_CFLAGS=${CFLAGS+set}
3826 ac_save_CFLAGS=$CFLAGS
3827 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3828 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3829 if test "${ac_cv_prog_cc_g+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 ac_save_c_werror_flag=$ac_c_werror_flag
3833 ac_c_werror_flag=yes
3836 cat >conftest.$ac_ext <<_ACEOF
3839 cat confdefs.h >>conftest.$ac_ext
3840 cat >>conftest.$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3851 rm -f conftest.$ac_objext
3852 if { (ac_try="$ac_compile"
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 (eval "$ac_compile") 2>conftest.er1
3860 grep -v '^ *+' conftest.er1 >conftest.err
3862 cat conftest.err >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } && {
3865 test -z "$ac_c_werror_flag" ||
3866 test ! -s conftest.err
3867 } && test -s conftest.$ac_objext; then
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.$ac_ext >&5
3874 cat >conftest.$ac_ext <<_ACEOF
3877 cat confdefs.h >>conftest.$ac_ext
3878 cat >>conftest.$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3889 rm -f conftest.$ac_objext
3890 if { (ac_try="$ac_compile"
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_compile") 2>conftest.er1
3898 grep -v '^ *+' conftest.er1 >conftest.err
3900 cat conftest.err >&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); } && {
3903 test -z "$ac_c_werror_flag" ||
3904 test ! -s conftest.err
3905 } && test -s conftest.$ac_objext; then
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.$ac_ext >&5
3911 ac_c_werror_flag=$ac_save_c_werror_flag
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3928 rm -f conftest.$ac_objext
3929 if { (ac_try="$ac_compile"
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3935 (eval "$ac_compile") 2>conftest.er1
3937 grep -v '^ *+' conftest.er1 >conftest.err
3939 cat conftest.err >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); } && {
3942 test -z "$ac_c_werror_flag" ||
3943 test ! -s conftest.err
3944 } && test -s conftest.$ac_objext; then
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 ac_c_werror_flag=$ac_save_c_werror_flag
3962 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3963 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3964 if test "$ac_test_CFLAGS" = set; then
3965 CFLAGS=$ac_save_CFLAGS
3966 elif test $ac_cv_prog_cc_g = yes; then
3967 if test "$GCC" = yes; then
3973 if test "$GCC" = yes; then
3979 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3980 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3981 if test "${ac_cv_prog_cc_c89+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 ac_cv_prog_cc_c89=no
3986 cat >conftest.$ac_ext <<_ACEOF
3989 cat confdefs.h >>conftest.$ac_ext
3990 cat >>conftest.$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
3994 #include <sys/types.h>
3995 #include <sys/stat.h>
3996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3997 struct buf { int x; };
3998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3999 static char *e (p, i)
4005 static char *f (char * (*g) (char **, int), char **p, ...)
4010 s = g (p, va_arg (v,int));
4015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4016 function prototypes and stuff, but not '\xHH' hex character constants.
4017 These don't provoke an error unfortunately, instead are silently treated
4018 as 'x'. The following induces an error, until -std is added to get
4019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4020 array size at least. It's necessary to write '\x00'==0 to get something
4021 that's true only with -std. */
4022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4025 inside strings and character constants. */
4027 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4029 int test (int i, double x);
4030 struct s1 {int (*f) (int a);};
4031 struct s2 {int (*f) (double a);};
4032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4043 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4044 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4046 CC="$ac_save_CC $ac_arg"
4047 rm -f conftest.$ac_objext
4048 if { (ac_try="$ac_compile"
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4054 (eval "$ac_compile") 2>conftest.er1
4056 grep -v '^ *+' conftest.er1 >conftest.err
4058 cat conftest.err >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); } && {
4061 test -z "$ac_c_werror_flag" ||
4062 test ! -s conftest.err
4063 } && test -s conftest.$ac_objext; then
4064 ac_cv_prog_cc_c89=$ac_arg
4066 echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4072 rm -f core conftest.err conftest.$ac_objext
4073 test "x$ac_cv_prog_cc_c89" != "xno" && break
4075 rm -f conftest.$ac_ext
4080 case "x$ac_cv_prog_cc_c89" in
4082 { echo "$as_me:$LINENO: result: none needed" >&5
4083 echo "${ECHO_T}none needed" >&6; } ;;
4085 { echo "$as_me:$LINENO: result: unsupported" >&5
4086 echo "${ECHO_T}unsupported" >&6; } ;;
4088 CC="$CC $ac_cv_prog_cc_c89"
4089 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4090 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4100 depcc="$CC" am_compiler_list=
4102 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4103 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4104 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4108 # We make a subdir and do the tests there. Otherwise we can end up
4109 # making bogus files that we don't know about and never remove. For
4110 # instance it was reported that on HP-UX the gcc test will end up
4111 # making a dummy file named `D' -- because `-MD' means `put the output
4114 # Copy depcomp to subdir because otherwise we won't find it if we're
4115 # using a relative directory.
4116 cp "$am_depcomp" conftest.dir
4118 # We will build objects and dependencies in a subdirectory because
4119 # it helps to detect inapplicable dependency modes. For instance
4120 # both Tru64's cc and ICC support -MD to output dependencies as a
4121 # side effect of compilation, but ICC will put the dependencies in
4122 # the current directory while Tru64 will put them in the object
4126 am_cv_CC_dependencies_compiler_type=none
4127 if test "$am_compiler_list" = ""; then
4128 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4130 for depmode in $am_compiler_list; do
4131 # Setup a source with many dependencies, because some compilers
4132 # like to wrap large dependency lists on column 80 (with \), and
4133 # we should not choose a depcomp mode which is confused by this.
4135 # We need to recreate these files for each test, as the compiler may
4136 # overwrite some of them when testing with obscure command lines.
4137 # This happens at least with the AIX C compiler.
4139 for i in 1 2 3 4 5 6; do
4140 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4141 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4142 # Solaris 8's {/usr,}/bin/sh.
4143 touch sub/conftst$i.h
4145 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4149 # after this tag, mechanisms are not by side-effect, so they'll
4150 # only be used when explicitly requested
4151 if test "x$enable_dependency_tracking" = xyes; then
4159 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4160 # mode. It turns out that the SunPro C++ compiler does not properly
4161 # handle `-M -o', and we need to detect this.
4162 if depmode=$depmode \
4163 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4164 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4165 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4166 >/dev/null 2>conftest.err &&
4167 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4168 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4169 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4170 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4171 # icc doesn't choke on unknown options, it will just issue warnings
4172 # or remarks (even with -Werror). So we grep stderr for any message
4173 # that says an option was ignored or not supported.
4174 # When given -MP, icc 7.0 and 7.1 complain thusly:
4175 # icc: Command line warning: ignoring option '-M'; no argument required
4176 # The diagnosis changed in icc 8.0:
4177 # icc: Command line remark: option '-MP' not supported
4178 if (grep 'ignoring option' conftest.err ||
4179 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4180 am_cv_CC_dependencies_compiler_type=$depmode
4189 am_cv_CC_dependencies_compiler_type=none
4193 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4194 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4195 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4198 test "x$enable_dependency_tracking" != xno \
4199 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4201 am__fastdepCC_FALSE='#'
4203 am__fastdepCC_TRUE='#'
4204 am__fastdepCC_FALSE=
4208 # Find a good install program. We prefer a C program (faster),
4209 # so one script is as good as another. But avoid the broken or
4210 # incompatible versions:
4211 # SysV /etc/install, /usr/sbin/install
4212 # SunOS /usr/etc/install
4213 # IRIX /sbin/install
4215 # AmigaOS /C/install, which installs bootblocks on floppy discs
4216 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4217 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4218 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4219 # OS/2's system install, which has a completely different semantic
4220 # ./install, which can be erroneously created by make from ./install.sh.
4221 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4222 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4223 if test -z "$INSTALL"; then
4224 if test "${ac_cv_path_install+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir=.
4232 # Account for people who put trailing slashes in PATH elements.
4234 ./ | .// | /cC/* | \
4235 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4236 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4239 # OSF1 and SCO ODT 3.0 have their own names for install.
4240 # Don't use installbsd from OSF since it installs stuff as root
4242 for ac_prog in ginstall scoinst install; do
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4245 if test $ac_prog = install &&
4246 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4247 # AIX install. It has an incompatible calling convention.
4249 elif test $ac_prog = install &&
4250 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4251 # program-specific install script used by HP pwplus--don't use.
4254 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4267 if test "${ac_cv_path_install+set}" = set; then
4268 INSTALL=$ac_cv_path_install
4270 # As a last resort, use the slow shell script. Don't cache a
4271 # value for INSTALL within a source directory, because that will
4272 # break other packages using the cache if that directory is
4273 # removed, or if the value is a relative name.
4274 INSTALL=$ac_install_sh
4277 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4278 echo "${ECHO_T}$INSTALL" >&6; }
4280 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4281 # It thinks the first close brace ends the variable substitution.
4282 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4284 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4286 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4288 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4289 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4291 if test "$LN_S" = "ln -s"; then
4292 { echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6; }
4295 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4296 echo "${ECHO_T}no, using $LN_S" >&6; }
4299 if test "x$CC" != xcc; then
4300 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4301 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4303 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4304 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4306 set dummy $CC; ac_cc=`echo $2 |
4307 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4308 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 cat >conftest.$ac_ext <<_ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4326 # Make sure it works both with $CC and with simple cc.
4327 # We do the test twice because some compilers refuse to overwrite an
4328 # existing .o file with -o, though they will create one.
4329 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4331 if { (case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4336 (eval "$ac_try") 2>&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342 *) ac_try_echo=$ac_try;;
4344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4345 (eval "$ac_try") 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); };
4350 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4351 if test "x$CC" != xcc; then
4352 # Test first that cc exists at all.
4353 if { ac_try='cc -c conftest.$ac_ext >&5'
4354 { (case "(($ac_try" in
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_try") 2>&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4365 if { (case "(($ac_try" in
4366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367 *) ac_try_echo=$ac_try;;
4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4370 (eval "$ac_try") 2>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); };
4387 # cc exists but doesn't like -o.
4388 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4393 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4395 rm -f core conftest*
4398 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4399 { echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6; }
4402 { echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6; }
4405 cat >>confdefs.h <<\_ACEOF
4406 #define NO_MINUS_C_MINUS_O 1
4411 # FIXME: we rely on the cache variable name because
4412 # there is no other way.
4414 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4415 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4416 # Losing compiler, so override with the script.
4417 # FIXME: It is wrong to rewrite CC.
4418 # But if we don't then we get into trouble of one sort or another.
4419 # A longer-term fix would be to have automake use am__CC in this case,
4420 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4421 CC="$am_aux_dir/compile $CC"
4429 { echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4430 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6; }
4431 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 ac_cpp='$CXXCPP $CPPFLAGS'
4437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4441 cat >conftest.$ac_ext <<_ACEOF
4446 rm -f conftest.$ac_objext
4447 if { (ac_try="$ac_compile"
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4453 (eval "$ac_compile") 2>conftest.er1
4455 grep -v '^ *+' conftest.er1 >conftest.err
4457 cat conftest.err >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } && {
4460 test -z "$ac_cxx_werror_flag" ||
4461 test ! -s conftest.err
4462 } && test -s conftest.$ac_objext; then
4463 ensc_cv_cxx_cxxcompiler=yes
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.$ac_ext >&5
4468 ensc_cv_cxx_cxxcompiler=no
4471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4473 ac_cpp='$CPP $CPPFLAGS'
4474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480 { echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4481 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6; }
4483 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4484 ENSC_HAVE_CXX_COMPILER_TRUE=
4485 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4487 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4488 ENSC_HAVE_CXX_COMPILER_FALSE=
4492 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4493 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4494 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4501 { echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4502 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6; }
4503 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 ac_cpp='$CPP $CPPFLAGS'
4509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4513 cat >conftest.$ac_ext <<_ACEOF
4515 int main(int argc, char *argv) {
4516 struct { int x; } a = { .x = argc };
4522 rm -f conftest.$ac_objext
4523 if { (ac_try="$ac_compile"
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4529 (eval "$ac_compile") 2>conftest.er1
4531 grep -v '^ *+' conftest.er1 >conftest.err
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } && {
4536 test -z "$ac_c_werror_flag" ||
4537 test ! -s conftest.err
4538 } && test -s conftest.$ac_objext; then
4539 ensc_cv_c99_c99compiler=yes
4541 echo "$as_me: failed program was:" >&5
4542 sed 's/^/| /' conftest.$ac_ext >&5
4544 ensc_cv_c99_c99compiler=no
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 ac_cpp='$CPP $CPPFLAGS'
4550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 { echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4557 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6; }
4559 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4560 ENSC_HAVE_C99_COMPILER_TRUE=
4561 ENSC_HAVE_C99_COMPILER_FALSE='#'
4563 ENSC_HAVE_C99_COMPILER_TRUE='#'
4564 ENSC_HAVE_C99_COMPILER_FALSE=
4568 if test x"$ensc_cv_c99_c99compiler" = xno; then
4569 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4570 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4575 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4600 # Extract the first word of "$ac_prog", so it can be a program name with args.
4601 set dummy $ac_prog; ac_word=$2
4602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4604 if test "${ac_cv_path_AWK+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $ensc_searchpath
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4619 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 if test -n "$AWK"; then
4632 { echo "$as_me:$LINENO: result: $AWK" >&5
4633 echo "${ECHO_T}$AWK" >&6; }
4635 { echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6; }
4640 test -n "$AWK" && break
4642 test -n "$AWK" || AWK="$ensc_dflt"
4645 if test -z "${AWK}" && $rq; then
4647 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4648 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4649 { (exit 1); exit 1; }; }
4651 { { echo "$as_me:$LINENO: error:
4652 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4654 echo "$as_me: error:
4655 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4657 { (exit 1); exit 1; }; }
4661 if test -e "${AWK}"; then
4662 AWK=`readlink -f "${AWK}"`
4665 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4686 # Extract the first word of "$ac_prog", so it can be a program name with args.
4687 set dummy $ac_prog; ac_word=$2
4688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4690 if test "${ac_cv_path_CAT+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 for as_dir in $ensc_searchpath
4702 test -z "$as_dir" && as_dir=.
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 if test -n "$CAT"; then
4718 { echo "$as_me:$LINENO: result: $CAT" >&5
4719 echo "${ECHO_T}$CAT" >&6; }
4721 { echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6; }
4726 test -n "$CAT" && break
4728 test -n "$CAT" || CAT="$ensc_dflt"
4731 if test -z "${CAT}" && $rq; then
4733 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4734 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4735 { (exit 1); exit 1; }; }
4737 { { echo "$as_me:$LINENO: error:
4738 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4740 echo "$as_me: error:
4741 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4743 { (exit 1); exit 1; }; }
4747 if test -e "${CAT}"; then
4748 CAT=`readlink -f "${CAT}"`
4751 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4770 for ac_prog in chown
4772 # Extract the first word of "$ac_prog", so it can be a program name with args.
4773 set dummy $ac_prog; ac_word=$2
4774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4776 if test "${ac_cv_path_CHOWN+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 for as_dir in $ensc_searchpath
4788 test -z "$as_dir" && as_dir=.
4789 for ac_exec_ext in '' $ac_executable_extensions; do
4790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 CHOWN=$ac_cv_path_CHOWN
4803 if test -n "$CHOWN"; then
4804 { echo "$as_me:$LINENO: result: $CHOWN" >&5
4805 echo "${ECHO_T}$CHOWN" >&6; }
4807 { echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6; }
4812 test -n "$CHOWN" && break
4814 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4817 if test -z "${CHOWN}" && $rq; then
4819 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4820 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4821 { (exit 1); exit 1; }; }
4823 { { echo "$as_me:$LINENO: error:
4824 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4826 echo "$as_me: error:
4827 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4829 { (exit 1); exit 1; }; }
4833 if test -e "${CHOWN}"; then
4834 CHOWN=`readlink -f "${CHOWN}"`
4837 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy $ac_prog; ac_word=$2
4860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4862 if test "${ac_cv_path_CMP+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $ensc_searchpath
4874 test -z "$as_dir" && as_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 if test -n "$CMP"; then
4890 { echo "$as_me:$LINENO: result: $CMP" >&5
4891 echo "${ECHO_T}$CMP" >&6; }
4893 { echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6; }
4898 test -n "$CMP" && break
4900 test -n "$CMP" || CMP="$ensc_dflt"
4903 if test -z "${CMP}" && $rq; then
4905 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4906 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4907 { (exit 1); exit 1; }; }
4909 { { echo "$as_me:$LINENO: error:
4910 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4912 echo "$as_me: error:
4913 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4915 { (exit 1); exit 1; }; }
4919 if test -e "${CMP}"; then
4920 CMP=`readlink -f "${CMP}"`
4923 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4944 # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4948 if test "${ac_cv_path_CP+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $ensc_searchpath
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 if test -n "$CP"; then
4976 { echo "$as_me:$LINENO: result: $CP" >&5
4977 echo "${ECHO_T}$CP" >&6; }
4979 { echo "$as_me:$LINENO: result: no" >&5
4980 echo "${ECHO_T}no" >&6; }
4984 test -n "$CP" && break
4986 test -n "$CP" || CP="$ensc_dflt"
4989 if test -z "${CP}" && $rq; then
4991 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4992 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4993 { (exit 1); exit 1; }; }
4995 { { echo "$as_me:$LINENO: error:
4996 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4998 echo "$as_me: error:
4999 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
5001 { (exit 1); exit 1; }; }
5005 if test -e "${CP}"; then
5006 CP=`readlink -f "${CP}"`
5009 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
5028 for ac_prog in dirname
5030 # Extract the first word of "$ac_prog", so it can be a program name with args.
5031 set dummy $ac_prog; ac_word=$2
5032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5034 if test "${ac_cv_path_DIRNAME+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $ensc_searchpath
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5049 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
5050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 DIRNAME=$ac_cv_path_DIRNAME
5061 if test -n "$DIRNAME"; then
5062 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
5063 echo "${ECHO_T}$DIRNAME" >&6; }
5065 { echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6; }
5070 test -n "$DIRNAME" && break
5072 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
5075 if test -z "${DIRNAME}" && $rq; then
5077 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
5078 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5079 { (exit 1); exit 1; }; }
5081 { { echo "$as_me:$LINENO: error:
5082 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5084 echo "$as_me: error:
5085 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
5087 { (exit 1); exit 1; }; }
5091 if test -e "${DIRNAME}"; then
5092 DIRNAME=`readlink -f "${DIRNAME}"`
5095 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
5114 for ac_prog in egrep
5116 # Extract the first word of "$ac_prog", so it can be a program name with args.
5117 set dummy $ac_prog; ac_word=$2
5118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5120 if test "${ac_cv_path_EGREP+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $ensc_searchpath
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 EGREP=$ac_cv_path_EGREP
5147 if test -n "$EGREP"; then
5148 { echo "$as_me:$LINENO: result: $EGREP" >&5
5149 echo "${ECHO_T}$EGREP" >&6; }
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$EGREP" && break
5158 test -n "$EGREP" || EGREP="$ensc_dflt"
5161 if test -z "${EGREP}" && $rq; then
5163 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
5164 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5165 { (exit 1); exit 1; }; }
5167 { { echo "$as_me:$LINENO: error:
5168 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5170 echo "$as_me: error:
5171 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
5173 { (exit 1); exit 1; }; }
5177 if test -e "${EGREP}"; then
5178 EGREP=`readlink -f "${EGREP}"`
5181 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
5202 # Extract the first word of "$ac_prog", so it can be a program name with args.
5203 set dummy $ac_prog; ac_word=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_path_ENV+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $ensc_searchpath
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
5222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 if test -n "$ENV"; then
5234 { echo "$as_me:$LINENO: result: $ENV" >&5
5235 echo "${ECHO_T}$ENV" >&6; }
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5242 test -n "$ENV" && break
5244 test -n "$ENV" || ENV="$ensc_dflt"
5247 if test -z "${ENV}" && $rq; then
5249 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
5250 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5251 { (exit 1); exit 1; }; }
5253 { { echo "$as_me:$LINENO: error:
5254 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5256 echo "$as_me: error:
5257 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
5259 { (exit 1); exit 1; }; }
5263 if test -e "${ENV}"; then
5264 ENV=`readlink -f "${ENV}"`
5267 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
5288 # Extract the first word of "$ac_prog", so it can be a program name with args.
5289 set dummy $ac_prog; ac_word=$2
5290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5292 if test "${ac_cv_path_GREP+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $ensc_searchpath
5304 test -z "$as_dir" && as_dir=.
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5307 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
5308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 GREP=$ac_cv_path_GREP
5319 if test -n "$GREP"; then
5320 { echo "$as_me:$LINENO: result: $GREP" >&5
5321 echo "${ECHO_T}$GREP" >&6; }
5323 { echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6; }
5328 test -n "$GREP" && break
5330 test -n "$GREP" || GREP="$ensc_dflt"
5333 if test -z "${GREP}" && $rq; then
5335 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
5336 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5337 { (exit 1); exit 1; }; }
5339 { { echo "$as_me:$LINENO: error:
5340 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5342 echo "$as_me: error:
5343 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
5345 { (exit 1); exit 1; }; }
5349 if test -e "${GREP}"; then
5350 GREP=`readlink -f "${GREP}"`
5353 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
5374 # Extract the first word of "$ac_prog", so it can be a program name with args.
5375 set dummy $ac_prog; ac_word=$2
5376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5378 if test "${ac_cv_path_LN+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 ac_cv_path_LN="$LN" # Let the user override the test with a path.
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $ensc_searchpath
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5393 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
5394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 if test -n "$LN"; then
5406 { echo "$as_me:$LINENO: result: $LN" >&5
5407 echo "${ECHO_T}$LN" >&6; }
5409 { echo "$as_me:$LINENO: result: no" >&5
5410 echo "${ECHO_T}no" >&6; }
5414 test -n "$LN" && break
5416 test -n "$LN" || LN="$ensc_dflt"
5419 if test -z "${LN}" && $rq; then
5421 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
5422 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5423 { (exit 1); exit 1; }; }
5425 { { echo "$as_me:$LINENO: error:
5426 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5428 echo "$as_me: error:
5429 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5431 { (exit 1); exit 1; }; }
5435 if test -e "${LN}"; then
5436 LN=`readlink -f "${LN}"`
5439 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
5458 for ac_prog in mkdir
5460 # Extract the first word of "$ac_prog", so it can be a program name with args.
5461 set dummy $ac_prog; ac_word=$2
5462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5464 if test "${ac_cv_path_MKDIR+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $ensc_searchpath
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5479 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 MKDIR=$ac_cv_path_MKDIR
5491 if test -n "$MKDIR"; then
5492 { echo "$as_me:$LINENO: result: $MKDIR" >&5
5493 echo "${ECHO_T}$MKDIR" >&6; }
5495 { echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6; }
5500 test -n "$MKDIR" && break
5502 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5505 if test -z "${MKDIR}" && $rq; then
5507 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5508 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5509 { (exit 1); exit 1; }; }
5511 { { echo "$as_me:$LINENO: error:
5512 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5514 echo "$as_me: error:
5515 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5517 { (exit 1); exit 1; }; }
5521 if test -e "${MKDIR}"; then
5522 MKDIR=`readlink -f "${MKDIR}"`
5525 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5544 for ac_prog in mkfifo
5546 # Extract the first word of "$ac_prog", so it can be a program name with args.
5547 set dummy $ac_prog; ac_word=$2
5548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5550 if test "${ac_cv_path_MKFIFO+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $ensc_searchpath
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 MKFIFO=$ac_cv_path_MKFIFO
5577 if test -n "$MKFIFO"; then
5578 { echo "$as_me:$LINENO: result: $MKFIFO" >&5
5579 echo "${ECHO_T}$MKFIFO" >&6; }
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5586 test -n "$MKFIFO" && break
5588 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5591 if test -z "${MKFIFO}" && $rq; then
5593 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5594 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5595 { (exit 1); exit 1; }; }
5597 { { echo "$as_me:$LINENO: error:
5598 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5600 echo "$as_me: error:
5601 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5603 { (exit 1); exit 1; }; }
5607 if test -e "${MKFIFO}"; then
5608 MKFIFO=`readlink -f "${MKFIFO}"`
5611 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5630 for ac_prog in mktemp
5632 # Extract the first word of "$ac_prog", so it can be a program name with args.
5633 set dummy $ac_prog; ac_word=$2
5634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5636 if test "${ac_cv_path_MKTEMP+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $ensc_searchpath
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 MKTEMP=$ac_cv_path_MKTEMP
5663 if test -n "$MKTEMP"; then
5664 { echo "$as_me:$LINENO: result: $MKTEMP" >&5
5665 echo "${ECHO_T}$MKTEMP" >&6; }
5667 { echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6; }
5672 test -n "$MKTEMP" && break
5674 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5677 if test -z "${MKTEMP}" && $rq; then
5679 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5680 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5681 { (exit 1); exit 1; }; }
5683 { { echo "$as_me:$LINENO: error:
5684 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5686 echo "$as_me: error:
5687 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5689 { (exit 1); exit 1; }; }
5693 if test -e "${MKTEMP}"; then
5694 MKTEMP=`readlink -f "${MKTEMP}"`
5697 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5716 for ac_prog in mount
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5722 if test "${ac_cv_path_MOUNT+set}" = set; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $ensc_searchpath
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 MOUNT=$ac_cv_path_MOUNT
5749 if test -n "$MOUNT"; then
5750 { echo "$as_me:$LINENO: result: $MOUNT" >&5
5751 echo "${ECHO_T}$MOUNT" >&6; }
5753 { echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6; }
5758 test -n "$MOUNT" && break
5760 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5763 if test -z "${MOUNT}" && $rq; then
5765 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5766 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5767 { (exit 1); exit 1; }; }
5769 { { echo "$as_me:$LINENO: error:
5770 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5772 echo "$as_me: error:
5773 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5775 { (exit 1); exit 1; }; }
5779 if test -e "${MOUNT}"; then
5780 MOUNT=`readlink -f "${MOUNT}"`
5783 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5804 # Extract the first word of "$ac_prog", so it can be a program name with args.
5805 set dummy $ac_prog; ac_word=$2
5806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_MV+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $ensc_searchpath
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 if test -n "$MV"; then
5836 { echo "$as_me:$LINENO: result: $MV" >&5
5837 echo "${ECHO_T}$MV" >&6; }
5839 { echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6; }
5844 test -n "$MV" && break
5846 test -n "$MV" || MV="$ensc_dflt"
5849 if test -z "${MV}" && $rq; then
5851 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5852 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5853 { (exit 1); exit 1; }; }
5855 { { echo "$as_me:$LINENO: error:
5856 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5858 echo "$as_me: error:
5859 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5861 { (exit 1); exit 1; }; }
5865 if test -e "${MV}"; then
5866 MV=`readlink -f "${MV}"`
5869 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_path_NICE+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $ensc_searchpath
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 NICE=$ac_cv_path_NICE
5921 if test -n "$NICE"; then
5922 { echo "$as_me:$LINENO: result: $NICE" >&5
5923 echo "${ECHO_T}$NICE" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 test -n "$NICE" && break
5932 test -n "$NICE" || NICE="$ensc_dflt"
5935 if test -z "${NICE}" && $rq; then
5937 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5938 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5939 { (exit 1); exit 1; }; }
5941 { { echo "$as_me:$LINENO: error:
5942 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5944 echo "$as_me: error:
5945 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5947 { (exit 1); exit 1; }; }
5951 if test -e "${NICE}"; then
5952 NICE=`readlink -f "${NICE}"`
5955 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5980 if test "${ac_cv_path_PS+set}" = set; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $ensc_searchpath
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5995 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 if test -n "$PS"; then
6008 { echo "$as_me:$LINENO: result: $PS" >&5
6009 echo "${ECHO_T}$PS" >&6; }
6011 { echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6; }
6016 test -n "$PS" && break
6018 test -n "$PS" || PS="$ensc_dflt"
6021 if test -z "${PS}" && $rq; then
6023 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
6024 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6025 { (exit 1); exit 1; }; }
6027 { { echo "$as_me:$LINENO: error:
6028 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6030 echo "$as_me: error:
6031 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
6033 { (exit 1); exit 1; }; }
6037 if test -e "${PS}"; then
6038 PS=`readlink -f "${PS}"`
6041 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6066 if test "${ac_cv_path_RM+set}" = set; then
6067 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 ac_cv_path_RM="$RM" # Let the user override the test with a path.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $ensc_searchpath
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 if test -n "$RM"; then
6094 { echo "$as_me:$LINENO: result: $RM" >&5
6095 echo "${ECHO_T}$RM" >&6; }
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$RM" && break
6104 test -n "$RM" || RM="$ensc_dflt"
6107 if test -z "${RM}" && $rq; then
6109 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
6110 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6111 { (exit 1); exit 1; }; }
6113 { { echo "$as_me:$LINENO: error:
6114 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6116 echo "$as_me: error:
6117 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
6119 { (exit 1); exit 1; }; }
6123 if test -e "${RM}"; then
6124 RM=`readlink -f "${RM}"`
6127 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
6146 for ac_prog in rmdir
6148 # Extract the first word of "$ac_prog", so it can be a program name with args.
6149 set dummy $ac_prog; ac_word=$2
6150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6152 if test "${ac_cv_path_RMDIR+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6157 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $ensc_searchpath
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6167 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
6168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 RMDIR=$ac_cv_path_RMDIR
6179 if test -n "$RMDIR"; then
6180 { echo "$as_me:$LINENO: result: $RMDIR" >&5
6181 echo "${ECHO_T}$RMDIR" >&6; }
6183 { echo "$as_me:$LINENO: result: no" >&5
6184 echo "${ECHO_T}no" >&6; }
6188 test -n "$RMDIR" && break
6190 test -n "$RMDIR" || RMDIR="$ensc_dflt"
6193 if test -z "${RMDIR}" && $rq; then
6195 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
6196 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6197 { (exit 1); exit 1; }; }
6199 { { echo "$as_me:$LINENO: error:
6200 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6202 echo "$as_me: error:
6203 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
6205 { (exit 1); exit 1; }; }
6209 if test -e "${RMDIR}"; then
6210 RMDIR=`readlink -f "${RMDIR}"`
6213 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
6234 # Extract the first word of "$ac_prog", so it can be a program name with args.
6235 set dummy $ac_prog; ac_word=$2
6236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6238 if test "${ac_cv_path_SED+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 ac_cv_path_SED="$SED" # Let the user override the test with a path.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $ensc_searchpath
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 if test -n "$SED"; then
6266 { echo "$as_me:$LINENO: result: $SED" >&5
6267 echo "${ECHO_T}$SED" >&6; }
6269 { echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6; }
6274 test -n "$SED" && break
6276 test -n "$SED" || SED="$ensc_dflt"
6279 if test -z "${SED}" && $rq; then
6281 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
6282 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6283 { (exit 1); exit 1; }; }
6285 { { echo "$as_me:$LINENO: error:
6286 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6288 echo "$as_me: error:
6289 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
6291 { (exit 1); exit 1; }; }
6295 if test -e "${SED}"; then
6296 SED=`readlink -f "${SED}"`
6299 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
6320 # Extract the first word of "$ac_prog", so it can be a program name with args.
6321 set dummy $ac_prog; ac_word=$2
6322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6324 if test "${ac_cv_path_SH+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 ac_cv_path_SH="$SH" # Let the user override the test with a path.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 for as_dir in $ensc_searchpath
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
6340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 if test -n "$SH"; then
6352 { echo "$as_me:$LINENO: result: $SH" >&5
6353 echo "${ECHO_T}$SH" >&6; }
6355 { echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6; }
6360 test -n "$SH" && break
6362 test -n "$SH" || SH="$ensc_dflt"
6365 if test -z "${SH}" && $rq; then
6367 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
6368 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6369 { (exit 1); exit 1; }; }
6371 { { echo "$as_me:$LINENO: error:
6372 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6374 echo "$as_me: error:
6375 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
6377 { (exit 1); exit 1; }; }
6381 if test -e "${SH}"; then
6382 SH=`readlink -f "${SH}"`
6385 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
6406 # Extract the first word of "$ac_prog", so it can be a program name with args.
6407 set dummy $ac_prog; ac_word=$2
6408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6410 if test "${ac_cv_path_TAC+set}" = set; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $ensc_searchpath
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
6426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6437 if test -n "$TAC"; then
6438 { echo "$as_me:$LINENO: result: $TAC" >&5
6439 echo "${ECHO_T}$TAC" >&6; }
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6446 test -n "$TAC" && break
6448 test -n "$TAC" || TAC="$ensc_dflt"
6451 if test -z "${TAC}" && $rq; then
6453 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
6454 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6455 { (exit 1); exit 1; }; }
6457 { { echo "$as_me:$LINENO: error:
6458 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6460 echo "$as_me: error:
6461 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6463 { (exit 1); exit 1; }; }
6467 if test -e "${TAC}"; then
6468 TAC=`readlink -f "${TAC}"`
6471 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
6492 # Extract the first word of "$ac_prog", so it can be a program name with args.
6493 set dummy $ac_prog; ac_word=$2
6494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6496 if test "${ac_cv_path_TAR+set}" = set; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 for as_dir in $ensc_searchpath
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6511 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 if test -n "$TAR"; then
6524 { echo "$as_me:$LINENO: result: $TAR" >&5
6525 echo "${ECHO_T}$TAR" >&6; }
6527 { echo "$as_me:$LINENO: result: no" >&5
6528 echo "${ECHO_T}no" >&6; }
6532 test -n "$TAR" && break
6534 test -n "$TAR" || TAR="$ensc_dflt"
6537 if test -z "${TAR}" && $rq; then
6539 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6540 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6541 { (exit 1); exit 1; }; }
6543 { { echo "$as_me:$LINENO: error:
6544 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6546 echo "$as_me: error:
6547 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6549 { (exit 1); exit 1; }; }
6553 if test -e "${TAR}"; then
6554 TAR=`readlink -f "${TAR}"`
6557 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6576 for ac_prog in touch
6578 # Extract the first word of "$ac_prog", so it can be a program name with args.
6579 set dummy $ac_prog; ac_word=$2
6580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6582 if test "${ac_cv_path_TOUCH+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 for as_dir in $ensc_searchpath
6594 test -z "$as_dir" && as_dir=.
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6597 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 TOUCH=$ac_cv_path_TOUCH
6609 if test -n "$TOUCH"; then
6610 { echo "$as_me:$LINENO: result: $TOUCH" >&5
6611 echo "${ECHO_T}$TOUCH" >&6; }
6613 { echo "$as_me:$LINENO: result: no" >&5
6614 echo "${ECHO_T}no" >&6; }
6618 test -n "$TOUCH" && break
6620 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6623 if test -z "${TOUCH}" && $rq; then
6625 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6626 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6627 { (exit 1); exit 1; }; }
6629 { { echo "$as_me:$LINENO: error:
6630 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6632 echo "$as_me: error:
6633 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6635 { (exit 1); exit 1; }; }
6639 if test -e "${TOUCH}"; then
6640 TOUCH=`readlink -f "${TOUCH}"`
6643 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6664 # Extract the first word of "$ac_prog", so it can be a program name with args.
6665 set dummy $ac_prog; ac_word=$2
6666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6668 if test "${ac_cv_path_TTY+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $ensc_searchpath
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 if test -n "$TTY"; then
6696 { echo "$as_me:$LINENO: result: $TTY" >&5
6697 echo "${ECHO_T}$TTY" >&6; }
6699 { echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6; }
6704 test -n "$TTY" && break
6706 test -n "$TTY" || TTY="$ensc_dflt"
6709 if test -z "${TTY}" && $rq; then
6711 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6712 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6713 { (exit 1); exit 1; }; }
6715 { { echo "$as_me:$LINENO: error:
6716 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6718 echo "$as_me: error:
6719 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6721 { (exit 1); exit 1; }; }
6725 if test -e "${TTY}"; then
6726 TTY=`readlink -f "${TTY}"`
6729 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6748 for ac_prog in umount
6750 # Extract the first word of "$ac_prog", so it can be a program name with args.
6751 set dummy $ac_prog; ac_word=$2
6752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6754 if test "${ac_cv_path_UMOUNT+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $ensc_searchpath
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6769 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 UMOUNT=$ac_cv_path_UMOUNT
6781 if test -n "$UMOUNT"; then
6782 { echo "$as_me:$LINENO: result: $UMOUNT" >&5
6783 echo "${ECHO_T}$UMOUNT" >&6; }
6785 { echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6; }
6790 test -n "$UMOUNT" && break
6792 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6795 if test -z "${UMOUNT}" && $rq; then
6797 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6798 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6799 { (exit 1); exit 1; }; }
6801 { { echo "$as_me:$LINENO: error:
6802 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6804 echo "$as_me: error:
6805 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6807 { (exit 1); exit 1; }; }
6811 if test -e "${UMOUNT}"; then
6812 UMOUNT=`readlink -f "${UMOUNT}"`
6815 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6836 # Extract the first word of "$ac_prog", so it can be a program name with args.
6837 set dummy $ac_prog; ac_word=$2
6838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6840 if test "${ac_cv_path_WC+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $ensc_searchpath
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 if test -n "$WC"; then
6868 { echo "$as_me:$LINENO: result: $WC" >&5
6869 echo "${ECHO_T}$WC" >&6; }
6871 { echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6; }
6876 test -n "$WC" && break
6878 test -n "$WC" || WC="$ensc_dflt"
6881 if test -z "${WC}" && $rq; then
6883 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6884 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6885 { (exit 1); exit 1; }; }
6887 { { echo "$as_me:$LINENO: error:
6888 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6890 echo "$as_me: error:
6891 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6893 { (exit 1); exit 1; }; }
6897 if test -e "${WC}"; then
6898 WC=`readlink -f "${WC}"`
6901 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6924 # Extract the first word of "$ac_prog", so it can be a program name with args.
6925 set dummy $ac_prog; ac_word=$2
6926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6928 if test "${ac_cv_path_IP+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 for as_dir in $ensc_searchpath
6940 test -z "$as_dir" && as_dir=.
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6943 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 if test -n "$IP"; then
6956 { echo "$as_me:$LINENO: result: $IP" >&5
6957 echo "${ECHO_T}$IP" >&6; }
6959 { echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6; }
6964 test -n "$IP" && break
6966 test -n "$IP" || IP="$ensc_dflt"
6969 if test -z "${IP}" && $rq; then
6970 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6971 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6972 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6973 { (exit 1); exit 1; }; }
6975 { { echo "$as_me:$LINENO: error:
6976 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6977 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6978 echo "$as_me: error:
6979 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6980 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6981 { (exit 1); exit 1; }; }
6985 if test -e "${IP}"; then
6986 IP=`readlink -f "${IP}"`
6989 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
7008 for ac_prog in iptables
7010 # Extract the first word of "$ac_prog", so it can be a program name with args.
7011 set dummy $ac_prog; ac_word=$2
7012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7014 if test "${ac_cv_path_IPTABLES+set}" = set; then
7015 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 for as_dir in $ensc_searchpath
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7029 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
7030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 IPTABLES=$ac_cv_path_IPTABLES
7041 if test -n "$IPTABLES"; then
7042 { echo "$as_me:$LINENO: result: $IPTABLES" >&5
7043 echo "${ECHO_T}$IPTABLES" >&6; }
7045 { echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6; }
7050 test -n "$IPTABLES" && break
7052 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
7055 if test -z "${IPTABLES}" && $rq; then
7057 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
7058 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7059 { (exit 1); exit 1; }; }
7061 { { echo "$as_me:$LINENO: error:
7062 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7064 echo "$as_me: error:
7065 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
7067 { (exit 1); exit 1; }; }
7071 if test -e "${IPTABLES}"; then
7072 IPTABLES=`readlink -f "${IPTABLES}"`
7075 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
7094 for ac_prog in modprobe
7096 # Extract the first word of "$ac_prog", so it can be a program name with args.
7097 set dummy $ac_prog; ac_word=$2
7098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7100 if test "${ac_cv_path_MODPROBE+set}" = set; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 for as_dir in $ensc_searchpath
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7115 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
7116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 MODPROBE=$ac_cv_path_MODPROBE
7127 if test -n "$MODPROBE"; then
7128 { echo "$as_me:$LINENO: result: $MODPROBE" >&5
7129 echo "${ECHO_T}$MODPROBE" >&6; }
7131 { echo "$as_me:$LINENO: result: no" >&5
7132 echo "${ECHO_T}no" >&6; }
7136 test -n "$MODPROBE" && break
7138 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
7141 if test -z "${MODPROBE}" && $rq; then
7143 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
7144 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7145 { (exit 1); exit 1; }; }
7147 { { echo "$as_me:$LINENO: error:
7148 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7150 echo "$as_me: error:
7151 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
7153 { (exit 1); exit 1; }; }
7157 if test -e "${MODPROBE}"; then
7158 MODPROBE=`readlink -f "${MODPROBE}"`
7161 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
7180 for ac_prog in nameif
7182 # Extract the first word of "$ac_prog", so it can be a program name with args.
7183 set dummy $ac_prog; ac_word=$2
7184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7186 if test "${ac_cv_path_NAMEIF+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $ensc_searchpath
7198 test -z "$as_dir" && as_dir=.
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7201 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
7202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 NAMEIF=$ac_cv_path_NAMEIF
7213 if test -n "$NAMEIF"; then
7214 { echo "$as_me:$LINENO: result: $NAMEIF" >&5
7215 echo "${ECHO_T}$NAMEIF" >&6; }
7217 { echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6; }
7222 test -n "$NAMEIF" && break
7224 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
7227 if test -z "${NAMEIF}" && $rq; then
7229 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
7230 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7231 { (exit 1); exit 1; }; }
7233 { { echo "$as_me:$LINENO: error:
7234 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7236 echo "$as_me: error:
7237 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
7239 { (exit 1); exit 1; }; }
7243 if test -e "${NAMEIF}"; then
7244 NAMEIF=`readlink -f "${NAMEIF}"`
7247 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
7266 for ac_prog in nohup
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy $ac_prog; ac_word=$2
7270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7272 if test "${ac_cv_path_NOHUP+set}" = set; then
7273 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $ensc_searchpath
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
7288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 NOHUP=$ac_cv_path_NOHUP
7299 if test -n "$NOHUP"; then
7300 { echo "$as_me:$LINENO: result: $NOHUP" >&5
7301 echo "${ECHO_T}$NOHUP" >&6; }
7303 { echo "$as_me:$LINENO: result: no" >&5
7304 echo "${ECHO_T}no" >&6; }
7308 test -n "$NOHUP" && break
7310 test -n "$NOHUP" || NOHUP="$ensc_dflt"
7313 if test -z "${NOHUP}" && $rq; then
7315 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
7316 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7317 { (exit 1); exit 1; }; }
7319 { { echo "$as_me:$LINENO: error:
7320 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7322 echo "$as_me: error:
7323 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
7325 { (exit 1); exit 1; }; }
7329 if test -e "${NOHUP}"; then
7330 NOHUP=`readlink -f "${NOHUP}"`
7333 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
7352 for ac_prog in rmmod
7354 # Extract the first word of "$ac_prog", so it can be a program name with args.
7355 set dummy $ac_prog; ac_word=$2
7356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7358 if test "${ac_cv_path_RMMOD+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $ensc_searchpath
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7373 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
7374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 RMMOD=$ac_cv_path_RMMOD
7385 if test -n "$RMMOD"; then
7386 { echo "$as_me:$LINENO: result: $RMMOD" >&5
7387 echo "${ECHO_T}$RMMOD" >&6; }
7389 { echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6; }
7394 test -n "$RMMOD" && break
7396 test -n "$RMMOD" || RMMOD="$ensc_dflt"
7399 if test -z "${RMMOD}" && $rq; then
7401 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
7402 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7403 { (exit 1); exit 1; }; }
7405 { { echo "$as_me:$LINENO: error:
7406 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7408 echo "$as_me: error:
7409 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
7411 { (exit 1); exit 1; }; }
7415 if test -e "${RMMOD}"; then
7416 RMMOD=`readlink -f "${RMMOD}"`
7419 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
7438 for ac_prog in vconfig
7440 # Extract the first word of "$ac_prog", so it can be a program name with args.
7441 set dummy $ac_prog; ac_word=$2
7442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7444 if test "${ac_cv_path_VCONFIG+set}" = set; then
7445 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $ensc_searchpath
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
7460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 VCONFIG=$ac_cv_path_VCONFIG
7471 if test -n "$VCONFIG"; then
7472 { echo "$as_me:$LINENO: result: $VCONFIG" >&5
7473 echo "${ECHO_T}$VCONFIG" >&6; }
7475 { echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6; }
7480 test -n "$VCONFIG" && break
7482 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
7485 if test -z "${VCONFIG}" && $rq; then
7486 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
7487 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
7488 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7489 { (exit 1); exit 1; }; }
7491 { { echo "$as_me:$LINENO: error:
7492 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7493 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
7494 echo "$as_me: error:
7495 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7496 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
7497 { (exit 1); exit 1; }; }
7501 if test -e "${VCONFIG}"; then
7502 VCONFIG=`readlink -f "${VCONFIG}"`
7505 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
7526 # Extract the first word of "$ac_prog", so it can be a program name with args.
7527 set dummy $ac_prog; ac_word=$2
7528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7530 if test "${ac_cv_path_WGET+set}" = set; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7535 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 for as_dir in $ensc_searchpath
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7545 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
7546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 WGET=$ac_cv_path_WGET
7557 if test -n "$WGET"; then
7558 { echo "$as_me:$LINENO: result: $WGET" >&5
7559 echo "${ECHO_T}$WGET" >&6; }
7561 { echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6; }
7566 test -n "$WGET" && break
7568 test -n "$WGET" || WGET="$ensc_dflt"
7571 if test -z "${WGET}" && $rq; then
7573 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
7574 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7575 { (exit 1); exit 1; }; }
7577 { { echo "$as_me:$LINENO: error:
7578 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7580 echo "$as_me: error:
7581 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7583 { (exit 1); exit 1; }; }
7587 if test -e "${WGET}"; then
7588 WGET=`readlink -f "${WGET}"`
7591 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7598 if test -z "file"; then
7612 # Extract the first word of "$ac_prog", so it can be a program name with args.
7613 set dummy $ac_prog; ac_word=$2
7614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7616 if test "${ac_cv_path_FILE+set}" = set; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $ensc_searchpath
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
7632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 FILE=$ac_cv_path_FILE
7643 if test -n "$FILE"; then
7644 { echo "$as_me:$LINENO: result: $FILE" >&5
7645 echo "${ECHO_T}$FILE" >&6; }
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7652 test -n "$FILE" && break
7654 test -n "$FILE" || FILE="$ensc_dflt"
7657 if test -z "${FILE}" && $rq; then
7659 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
7660 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7661 { (exit 1); exit 1; }; }
7663 { { echo "$as_me:$LINENO: error:
7664 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7666 echo "$as_me: error:
7667 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7669 { (exit 1); exit 1; }; }
7673 if test -e "${FILE}"; then
7674 FILE=`readlink -f "${FILE}"`
7677 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
7684 if test -z "gzip"; then
7698 # Extract the first word of "$ac_prog", so it can be a program name with args.
7699 set dummy $ac_prog; ac_word=$2
7700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7702 if test "${ac_cv_path_GZIP+set}" = set; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
7710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 for as_dir in $ensc_searchpath
7714 test -z "$as_dir" && as_dir=.
7715 for ac_exec_ext in '' $ac_executable_extensions; do
7716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7717 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
7718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7728 GZIP=$ac_cv_path_GZIP
7729 if test -n "$GZIP"; then
7730 { echo "$as_me:$LINENO: result: $GZIP" >&5
7731 echo "${ECHO_T}$GZIP" >&6; }
7733 { echo "$as_me:$LINENO: result: no" >&5
7734 echo "${ECHO_T}no" >&6; }
7738 test -n "$GZIP" && break
7740 test -n "$GZIP" || GZIP="$ensc_dflt"
7743 if test -z "${GZIP}" && $rq; then
7745 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
7746 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7747 { (exit 1); exit 1; }; }
7749 { { echo "$as_me:$LINENO: error:
7750 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7752 echo "$as_me: error:
7753 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7755 { (exit 1); exit 1; }; }
7759 if test -e "${GZIP}"; then
7760 GZIP=`readlink -f "${GZIP}"`
7763 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
7770 if test -z "bzip2"; then
7782 for ac_prog in bzip2
7784 # Extract the first word of "$ac_prog", so it can be a program name with args.
7785 set dummy $ac_prog; ac_word=$2
7786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7788 if test "${ac_cv_path_BZIP2+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 for as_dir in $ensc_searchpath
7800 test -z "$as_dir" && as_dir=.
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
7804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7814 BZIP2=$ac_cv_path_BZIP2
7815 if test -n "$BZIP2"; then
7816 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7817 echo "${ECHO_T}$BZIP2" >&6; }
7819 { echo "$as_me:$LINENO: result: no" >&5
7820 echo "${ECHO_T}no" >&6; }
7824 test -n "$BZIP2" && break
7826 test -n "$BZIP2" || BZIP2="$ensc_dflt"
7829 if test -z "${BZIP2}" && $rq; then
7831 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
7832 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7833 { (exit 1); exit 1; }; }
7835 { { echo "$as_me:$LINENO: error:
7836 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7838 echo "$as_me: error:
7839 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7841 { (exit 1); exit 1; }; }
7845 if test -e "${BZIP2}"; then
7846 BZIP2=`readlink -f "${BZIP2}"`
7849 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
7856 if test -z "cpio"; then
7870 # Extract the first word of "$ac_prog", so it can be a program name with args.
7871 set dummy $ac_prog; ac_word=$2
7872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7874 if test "${ac_cv_path_CPIO+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7879 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $ensc_searchpath
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7889 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
7890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 CPIO=$ac_cv_path_CPIO
7901 if test -n "$CPIO"; then
7902 { echo "$as_me:$LINENO: result: $CPIO" >&5
7903 echo "${ECHO_T}$CPIO" >&6; }
7905 { echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6; }
7910 test -n "$CPIO" && break
7912 test -n "$CPIO" || CPIO="$ensc_dflt"
7915 if test -z "${CPIO}" && $rq; then
7917 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
7918 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7919 { (exit 1); exit 1; }; }
7921 { { echo "$as_me:$LINENO: error:
7922 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7924 echo "$as_me: error:
7925 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7927 { (exit 1); exit 1; }; }
7931 if test -e "${CPIO}"; then
7932 CPIO=`readlink -f "${CPIO}"`
7935 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
7942 if test -z "restore"; then
7954 for ac_prog in restore
7956 # Extract the first word of "$ac_prog", so it can be a program name with args.
7957 set dummy $ac_prog; ac_word=$2
7958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7960 if test "${ac_cv_path_RESTORE+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7965 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $ensc_searchpath
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
7976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7986 RESTORE=$ac_cv_path_RESTORE
7987 if test -n "$RESTORE"; then
7988 { echo "$as_me:$LINENO: result: $RESTORE" >&5
7989 echo "${ECHO_T}$RESTORE" >&6; }
7991 { echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6; }
7996 test -n "$RESTORE" && break
7998 test -n "$RESTORE" || RESTORE="$ensc_dflt"
8001 if test -z "${RESTORE}" && $rq; then
8003 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
8004 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8005 { (exit 1); exit 1; }; }
8007 { { echo "$as_me:$LINENO: error:
8008 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8010 echo "$as_me: error:
8011 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
8013 { (exit 1); exit 1; }; }
8017 if test -e "${RESTORE}"; then
8018 RESTORE=`readlink -f "${RESTORE}"`
8021 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
8028 if test -z "rsync"; then
8040 for ac_prog in rsync
8042 # Extract the first word of "$ac_prog", so it can be a program name with args.
8043 set dummy $ac_prog; ac_word=$2
8044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8046 if test "${ac_cv_path_RSYNC+set}" = set; then
8047 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $ensc_searchpath
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8061 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
8062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 RSYNC=$ac_cv_path_RSYNC
8073 if test -n "$RSYNC"; then
8074 { echo "$as_me:$LINENO: result: $RSYNC" >&5
8075 echo "${ECHO_T}$RSYNC" >&6; }
8077 { echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6; }
8082 test -n "$RSYNC" && break
8084 test -n "$RSYNC" || RSYNC="$ensc_dflt"
8087 if test -z "${RSYNC}" && $rq; then
8089 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
8090 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8091 { (exit 1); exit 1; }; }
8093 { { echo "$as_me:$LINENO: error:
8094 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8096 echo "$as_me: error:
8097 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
8099 { (exit 1); exit 1; }; }
8103 if test -e "${RSYNC}"; then
8104 RSYNC=`readlink -f "${RSYNC}"`
8107 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
8114 if test -z "strace"; then
8126 for ac_prog in strace
8128 # Extract the first word of "$ac_prog", so it can be a program name with args.
8129 set dummy $ac_prog; ac_word=$2
8130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8132 if test "${ac_cv_path_STRACE+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8137 ac_cv_path_STRACE="$STRACE" # Let the user override the test with a path.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 for as_dir in $ensc_searchpath
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8147 ac_cv_path_STRACE="$as_dir/$ac_word$ac_exec_ext"
8148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 STRACE=$ac_cv_path_STRACE
8159 if test -n "$STRACE"; then
8160 { echo "$as_me:$LINENO: result: $STRACE" >&5
8161 echo "${ECHO_T}$STRACE" >&6; }
8163 { echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6; }
8168 test -n "$STRACE" && break
8170 test -n "$STRACE" || STRACE="$ensc_dflt"
8173 if test -z "${STRACE}" && $rq; then
8175 { { echo "$as_me:$LINENO: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&5
8176 echo "$as_me: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8177 { (exit 1); exit 1; }; }
8179 { { echo "$as_me:$LINENO: error:
8180 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8182 echo "$as_me: error:
8183 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'.
8185 { (exit 1); exit 1; }; }
8189 if test -e "${STRACE}"; then
8190 STRACE=`readlink -f "${STRACE}"`
8193 test "${STRACE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'STRACE'@!${STRACE}!g;"
8201 if test -z ":"; then
8213 for ac_prog in doxygen
8215 # Extract the first word of "$ac_prog", so it can be a program name with args.
8216 set dummy $ac_prog; ac_word=$2
8217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8219 if test "${ac_cv_path_DOXYGEN+set}" = set; then
8220 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 for as_dir in $ensc_searchpath
8231 test -z "$as_dir" && as_dir=.
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 DOXYGEN=$ac_cv_path_DOXYGEN
8246 if test -n "$DOXYGEN"; then
8247 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8248 echo "${ECHO_T}$DOXYGEN" >&6; }
8250 { echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6; }
8255 test -n "$DOXYGEN" && break
8257 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
8260 if test -z "${DOXYGEN}" && $rq; then
8262 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
8263 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8264 { (exit 1); exit 1; }; }
8266 { { echo "$as_me:$LINENO: error:
8267 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8269 echo "$as_me: error:
8270 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
8272 { (exit 1); exit 1; }; }
8276 if test -e "${DOXYGEN}"; then
8277 DOXYGEN=`readlink -f "${DOXYGEN}"`
8280 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
8287 if test -z ":"; then
8299 for ac_prog in xsltp
8301 # Extract the first word of "$ac_prog", so it can be a program name with args.
8302 set dummy $ac_prog; ac_word=$2
8303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8305 if test "${ac_cv_path_XSLTP+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 for as_dir in $ensc_searchpath
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8320 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
8321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8331 XSLTP=$ac_cv_path_XSLTP
8332 if test -n "$XSLTP"; then
8333 { echo "$as_me:$LINENO: result: $XSLTP" >&5
8334 echo "${ECHO_T}$XSLTP" >&6; }
8336 { echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6; }
8341 test -n "$XSLTP" && break
8343 test -n "$XSLTP" || XSLTP="$ensc_dflt"
8346 if test -z "${XSLTP}" && $rq; then
8348 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
8349 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8350 { (exit 1); exit 1; }; }
8352 { { echo "$as_me:$LINENO: error:
8353 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8355 echo "$as_me: error:
8356 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
8358 { (exit 1); exit 1; }; }
8362 if test -e "${XSLTP}"; then
8363 XSLTP=`readlink -f "${XSLTP}"`
8366 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
8373 if test -z ":"; then
8385 for ac_prog in xsltproc
8387 # Extract the first word of "$ac_prog", so it can be a program name with args.
8388 set dummy $ac_prog; ac_word=$2
8389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8391 if test "${ac_cv_path_XSLTPROC+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8396 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
8399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 for as_dir in $ensc_searchpath
8403 test -z "$as_dir" && as_dir=.
8404 for ac_exec_ext in '' $ac_executable_extensions; do
8405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8406 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
8407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8417 XSLTPROC=$ac_cv_path_XSLTPROC
8418 if test -n "$XSLTPROC"; then
8419 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
8420 echo "${ECHO_T}$XSLTPROC" >&6; }
8422 { echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6; }
8427 test -n "$XSLTPROC" && break
8429 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
8432 if test -z "${XSLTPROC}" && $rq; then
8434 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
8435 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
8436 { (exit 1); exit 1; }; }
8438 { { echo "$as_me:$LINENO: error:
8439 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8441 echo "$as_me: error:
8442 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
8444 { (exit 1); exit 1; }; }
8448 if test -e "${XSLTPROC}"; then
8449 XSLTPROC=`readlink -f "${XSLTPROC}"`
8452 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
8457 if test "$XSLTP" != ':'; then
8459 HAVE_XSLTP_FALSE='#'
8465 if test "$XSLTPROC" != ':'; then
8467 HAVE_XSLTPROC_FALSE='#'
8469 HAVE_XSLTPROC_TRUE='#'
8470 HAVE_XSLTPROC_FALSE=
8474 if test x"$prefix" = x/; then
8480 warn_flags="-Werror -W"
8481 { echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
8482 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8484 ac_cpp='$CPP $CPPFLAGS'
8485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8489 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
8490 CFLAGS="$warn_flags"
8491 cat >conftest.$ac_ext <<_ACEOF
8494 cat confdefs.h >>conftest.$ac_ext
8495 cat >>conftest.$ac_ext <<_ACEOF
8496 /* end confdefs.h. */
8497 inline static void f(){}
8506 rm -f conftest.$ac_objext
8507 if { (ac_try="$ac_compile"
8509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8510 *) ac_try_echo=$ac_try;;
8512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8513 (eval "$ac_compile") 2>conftest.er1
8515 grep -v '^ *+' conftest.er1 >conftest.err
8517 cat conftest.err >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); } && {
8520 test -z "$ac_c_werror_flag" ||
8521 test ! -s conftest.err
8522 } && test -s conftest.$ac_objext; then
8523 ensc_sys_compilerwarnflags_C=${warn_flags}
8525 echo "$as_me: failed program was:" >&5
8526 sed 's/^/| /' conftest.$ac_ext >&5
8528 ensc_sys_compilerwarnflags_C=
8531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8533 ac_cpp='$CPP $CPPFLAGS'
8534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8538 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8540 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
8541 { echo "$as_me:$LINENO: result: no" >&5
8542 echo "${ECHO_T}no" >&6; }
8544 { echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6; }
8552 echo 'void f(){}' > conftest.c
8553 for i in -std=c99 -Wall -pedantic -W
8555 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8556 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8557 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8559 CFLAGS="${CFLAGS} $i"
8560 { echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6; }
8563 { echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6; }
8567 rm -f conftest.c conftest.o
8571 warn_flags="-Werror -W"
8572 { echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
8573 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6; }
8575 ac_cpp='$CXXCPP $CPPFLAGS'
8576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8580 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
8581 CXXFLAGS="$warn_flags"
8582 cat >conftest.$ac_ext <<_ACEOF
8585 cat confdefs.h >>conftest.$ac_ext
8586 cat >>conftest.$ac_ext <<_ACEOF
8587 /* end confdefs.h. */
8588 inline static void f(){}
8597 rm -f conftest.$ac_objext
8598 if { (ac_try="$ac_compile"
8600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8601 *) ac_try_echo=$ac_try;;
8603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8604 (eval "$ac_compile") 2>conftest.er1
8606 grep -v '^ *+' conftest.er1 >conftest.err
8608 cat conftest.err >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } && {
8611 test -z "$ac_cxx_werror_flag" ||
8612 test ! -s conftest.err
8613 } && test -s conftest.$ac_objext; then
8614 ensc_sys_compilerwarnflags_CXX=${warn_flags}
8616 echo "$as_me: failed program was:" >&5
8617 sed 's/^/| /' conftest.$ac_ext >&5
8619 ensc_sys_compilerwarnflags_CXX=
8622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8624 ac_cpp='$CPP $CPPFLAGS'
8625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8629 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8631 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
8632 { echo "$as_me:$LINENO: result: no" >&5
8633 echo "${ECHO_T}no" >&6; }
8635 { echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6; }
8643 echo 'void f(){}' > conftest.cc
8644 for i in -ansi -Wall -pedantic -W -fmessage-length=0
8646 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8647 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
8648 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8650 CXXFLAGS="${CXXFLAGS} $i"
8651 { echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6; }
8654 { echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6; }
8658 rm -f conftest.cc conftest.o
8661 { echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
8662 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6; }
8663 # Check whether --enable-extra-optimizations was given.
8664 if test "${enable_extra_optimizations+set}" = set; then
8665 enableval=$enable_extra_optimizations; case "$enableval" in
8666 (yes) use_extra_optimizations=1;;
8667 (no) use_extra_optimizations=;;
8668 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
8669 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
8670 { (exit 1); exit 1; }; };;
8673 use_extra_optimizations=1
8677 if test x"$use_extra_optimizations" = x; then
8678 { echo "$as_me:$LINENO: result: no" >&5
8679 echo "${ECHO_T}no" >&6; }
8681 { echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6; }
8686 echo 'void f(){}' > conftest.c
8687 for i in -funit-at-a-time
8689 { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8690 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; }
8691 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8693 CFLAGS="${CFLAGS} $i"
8694 { echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6; }
8697 { echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6; }
8701 rm -f conftest.c conftest.o
8706 echo 'void f(){}' > conftest.cc
8707 for i in -funit-at-a-time
8709 { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8710 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; }
8711 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8713 CXXFLAGS="${CXXFLAGS} $i"
8714 { echo "$as_me:$LINENO: result: yes" >&5
8715 echo "${ECHO_T}yes" >&6; }
8717 { echo "$as_me:$LINENO: result: no" >&5
8718 echo "${ECHO_T}no" >&6; }
8721 rm -f conftest.cc conftest.o
8725 { echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
8726 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6; }
8727 # Check whether --enable-lib-debug was given.
8728 if test "${enable_lib_debug+set}" = set; then
8729 enableval=$enable_lib_debug; case "$enableval" in
8730 (yes) use_lib_debug=1;;
8731 (no) use_lib_debug=;;
8732 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
8733 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
8734 { (exit 1); exit 1; }; };;
8741 if test x"$use_lib_debug" = x; then
8742 LIB_DEBUG_CPPFLAGS=-DNDEBUG
8744 { echo "$as_me:$LINENO: result: no" >&5
8745 echo "${ECHO_T}no" >&6; }
8748 { echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6; }
8752 { echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
8753 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6; }
8754 # Check whether --enable-expensive-tests was given.
8755 if test "${enable_expensive_tests+set}" = set; then
8756 enableval=$enable_expensive_tests; case "$enableval" in
8757 (yes|no) use_expensive_tests=$enableval;;
8758 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
8759 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
8760 { (exit 1); exit 1; }; };;
8763 use_expensive_tests=no
8766 { echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
8767 echo "${ECHO_T}$use_expensive_tests" >&6; }
8769 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
8774 { echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
8775 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6; }
8776 { echo "$as_me:$LINENO: result: " >&5
8777 echo "${ECHO_T}" >&6; }
8780 ac_cpp='$CPP $CPPFLAGS'
8781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8785 { echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
8786 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6; }
8787 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 cat >conftest.$ac_ext <<_ACEOF
8793 cat confdefs.h >>conftest.$ac_ext
8794 cat >>conftest.$ac_ext <<_ACEOF
8795 /* end confdefs.h. */
8797 #include <linux/personality.h>
8803 #ifndef MMAP_PAGE_ZERO
8804 (void) MMAP_PAGE_ZERO;
8811 rm -f conftest.$ac_objext
8812 if { (ac_try="$ac_compile"
8814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8815 *) ac_try_echo=$ac_try;;
8817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8818 (eval "$ac_compile") 2>conftest.er1
8820 grep -v '^ *+' conftest.er1 >conftest.err
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } && {
8825 test -z "$ac_c_werror_flag" ||
8826 test ! -s conftest.err
8827 } && test -s conftest.$ac_objext; then
8828 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.$ac_ext >&5
8833 ac_cv_have_decl_MMAP_PAGE_ZERO=no
8836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8838 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
8839 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6; }
8840 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
8842 cat >>confdefs.h <<_ACEOF
8843 #define HAVE_DECL_MMAP_PAGE_ZERO 1
8848 cat >>confdefs.h <<_ACEOF
8849 #define HAVE_DECL_MMAP_PAGE_ZERO 0
8854 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
8855 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6; }
8856 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 cat >conftest.$ac_ext <<_ACEOF
8862 cat confdefs.h >>conftest.$ac_ext
8863 cat >>conftest.$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8866 #include <linux/personality.h>
8872 #ifndef ADDR_LIMIT_32BIT
8873 (void) ADDR_LIMIT_32BIT;
8880 rm -f conftest.$ac_objext
8881 if { (ac_try="$ac_compile"
8883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8884 *) ac_try_echo=$ac_try;;
8886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8887 (eval "$ac_compile") 2>conftest.er1
8889 grep -v '^ *+' conftest.er1 >conftest.err
8891 cat conftest.err >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); } && {
8894 test -z "$ac_c_werror_flag" ||
8895 test ! -s conftest.err
8896 } && test -s conftest.$ac_objext; then
8897 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
8905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8907 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
8908 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6; }
8909 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
8911 cat >>confdefs.h <<_ACEOF
8912 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
8917 cat >>confdefs.h <<_ACEOF
8918 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
8923 { echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
8924 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6; }
8925 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 cat >conftest.$ac_ext <<_ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8935 #include <linux/personality.h>
8949 rm -f conftest.$ac_objext
8950 if { (ac_try="$ac_compile"
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_compile") 2>conftest.er1
8958 grep -v '^ *+' conftest.er1 >conftest.err
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && {
8963 test -z "$ac_c_werror_flag" ||
8964 test ! -s conftest.err
8965 } && test -s conftest.$ac_objext; then
8966 ac_cv_have_decl_SHORT_INODE=yes
8968 echo "$as_me: failed program was:" >&5
8969 sed 's/^/| /' conftest.$ac_ext >&5
8971 ac_cv_have_decl_SHORT_INODE=no
8974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8976 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
8977 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6; }
8978 if test $ac_cv_have_decl_SHORT_INODE = yes; then
8980 cat >>confdefs.h <<_ACEOF
8981 #define HAVE_DECL_SHORT_INODE 1
8986 cat >>confdefs.h <<_ACEOF
8987 #define HAVE_DECL_SHORT_INODE 0
8992 { echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
8993 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6; }
8994 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 cat >conftest.$ac_ext <<_ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9004 #include <linux/personality.h>
9010 #ifndef WHOLE_SECONDS
9011 (void) WHOLE_SECONDS;
9018 rm -f conftest.$ac_objext
9019 if { (ac_try="$ac_compile"
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9022 *) ac_try_echo=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_compile") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest.$ac_objext; then
9035 ac_cv_have_decl_WHOLE_SECONDS=yes
9037 echo "$as_me: failed program was:" >&5
9038 sed 's/^/| /' conftest.$ac_ext >&5
9040 ac_cv_have_decl_WHOLE_SECONDS=no
9043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9045 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
9046 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6; }
9047 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
9049 cat >>confdefs.h <<_ACEOF
9050 #define HAVE_DECL_WHOLE_SECONDS 1
9055 cat >>confdefs.h <<_ACEOF
9056 #define HAVE_DECL_WHOLE_SECONDS 0
9061 { echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
9062 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6; }
9063 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 cat >conftest.$ac_ext <<_ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9073 #include <linux/personality.h>
9079 #ifndef STICKY_TIMEOUTS
9080 (void) STICKY_TIMEOUTS;
9087 rm -f conftest.$ac_objext
9088 if { (ac_try="$ac_compile"
9090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9091 *) ac_try_echo=$ac_try;;
9093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9094 (eval "$ac_compile") 2>conftest.er1
9096 grep -v '^ *+' conftest.er1 >conftest.err
9098 cat conftest.err >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); } && {
9101 test -z "$ac_c_werror_flag" ||
9102 test ! -s conftest.err
9103 } && test -s conftest.$ac_objext; then
9104 ac_cv_have_decl_STICKY_TIMEOUTS=yes
9106 echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.$ac_ext >&5
9109 ac_cv_have_decl_STICKY_TIMEOUTS=no
9112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9114 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
9115 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6; }
9116 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
9118 cat >>confdefs.h <<_ACEOF
9119 #define HAVE_DECL_STICKY_TIMEOUTS 1
9124 cat >>confdefs.h <<_ACEOF
9125 #define HAVE_DECL_STICKY_TIMEOUTS 0
9130 { echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
9131 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6; }
9132 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
9135 cat >conftest.$ac_ext <<_ACEOF
9138 cat confdefs.h >>conftest.$ac_ext
9139 cat >>conftest.$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 #include <linux/personality.h>
9148 #ifndef ADDR_LIMIT_3GB
9149 (void) ADDR_LIMIT_3GB;
9156 rm -f conftest.$ac_objext
9157 if { (ac_try="$ac_compile"
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_compile") 2>conftest.er1
9165 grep -v '^ *+' conftest.er1 >conftest.err
9167 cat conftest.err >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest.$ac_objext; then
9173 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
9175 echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.$ac_ext >&5
9178 ac_cv_have_decl_ADDR_LIMIT_3GB=no
9181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9183 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
9184 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6; }
9185 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
9187 cat >>confdefs.h <<_ACEOF
9188 #define HAVE_DECL_ADDR_LIMIT_3GB 1
9193 cat >>confdefs.h <<_ACEOF
9194 #define HAVE_DECL_ADDR_LIMIT_3GB 0
9202 { echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
9203 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6; }
9204 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
9205 echo $ECHO_N "(cached) $ECHO_C" >&6
9207 cat >conftest.$ac_ext <<_ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9214 #include <linux/personality.h>
9228 rm -f conftest.$ac_objext
9229 if { (ac_try="$ac_compile"
9231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_compile") 2>conftest.er1
9237 grep -v '^ *+' conftest.er1 >conftest.err
9239 cat conftest.err >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } && {
9242 test -z "$ac_c_werror_flag" ||
9243 test ! -s conftest.err
9244 } && test -s conftest.$ac_objext; then
9245 ac_cv_have_decl_PER_LINUX=yes
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 ac_cv_have_decl_PER_LINUX=no
9253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9255 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
9256 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6; }
9257 if test $ac_cv_have_decl_PER_LINUX = yes; then
9259 cat >>confdefs.h <<_ACEOF
9260 #define HAVE_DECL_PER_LINUX 1
9265 cat >>confdefs.h <<_ACEOF
9266 #define HAVE_DECL_PER_LINUX 0
9271 { echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
9272 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6; }
9273 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 cat >conftest.$ac_ext <<_ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9283 #include <linux/personality.h>
9289 #ifndef PER_LINUX_32BIT
9290 (void) PER_LINUX_32BIT;
9297 rm -f conftest.$ac_objext
9298 if { (ac_try="$ac_compile"
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 (eval "$ac_compile") 2>conftest.er1
9306 grep -v '^ *+' conftest.er1 >conftest.err
9308 cat conftest.err >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); } && {
9311 test -z "$ac_c_werror_flag" ||
9312 test ! -s conftest.err
9313 } && test -s conftest.$ac_objext; then
9314 ac_cv_have_decl_PER_LINUX_32BIT=yes
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.$ac_ext >&5
9319 ac_cv_have_decl_PER_LINUX_32BIT=no
9322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9324 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
9325 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6; }
9326 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
9328 cat >>confdefs.h <<_ACEOF
9329 #define HAVE_DECL_PER_LINUX_32BIT 1
9334 cat >>confdefs.h <<_ACEOF
9335 #define HAVE_DECL_PER_LINUX_32BIT 0
9340 { echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
9341 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6; }
9342 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
9343 echo $ECHO_N "(cached) $ECHO_C" >&6
9345 cat >conftest.$ac_ext <<_ACEOF
9348 cat confdefs.h >>conftest.$ac_ext
9349 cat >>conftest.$ac_ext <<_ACEOF
9350 /* end confdefs.h. */
9352 #include <linux/personality.h>
9366 rm -f conftest.$ac_objext
9367 if { (ac_try="$ac_compile"
9369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9370 *) ac_try_echo=$ac_try;;
9372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9373 (eval "$ac_compile") 2>conftest.er1
9375 grep -v '^ *+' conftest.er1 >conftest.err
9377 cat conftest.err >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); } && {
9380 test -z "$ac_c_werror_flag" ||
9381 test ! -s conftest.err
9382 } && test -s conftest.$ac_objext; then
9383 ac_cv_have_decl_PER_SVR4=yes
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.$ac_ext >&5
9388 ac_cv_have_decl_PER_SVR4=no
9391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9393 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
9394 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6; }
9395 if test $ac_cv_have_decl_PER_SVR4 = yes; then
9397 cat >>confdefs.h <<_ACEOF
9398 #define HAVE_DECL_PER_SVR4 1
9403 cat >>confdefs.h <<_ACEOF
9404 #define HAVE_DECL_PER_SVR4 0
9409 { echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
9410 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6; }
9411 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9414 cat >conftest.$ac_ext <<_ACEOF
9417 cat confdefs.h >>conftest.$ac_ext
9418 cat >>conftest.$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9421 #include <linux/personality.h>
9435 rm -f conftest.$ac_objext
9436 if { (ac_try="$ac_compile"
9438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9439 *) ac_try_echo=$ac_try;;
9441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9442 (eval "$ac_compile") 2>conftest.er1
9444 grep -v '^ *+' conftest.er1 >conftest.err
9446 cat conftest.err >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); } && {
9449 test -z "$ac_c_werror_flag" ||
9450 test ! -s conftest.err
9451 } && test -s conftest.$ac_objext; then
9452 ac_cv_have_decl_PER_SVR3=yes
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9457 ac_cv_have_decl_PER_SVR3=no
9460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9462 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
9463 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6; }
9464 if test $ac_cv_have_decl_PER_SVR3 = yes; then
9466 cat >>confdefs.h <<_ACEOF
9467 #define HAVE_DECL_PER_SVR3 1
9472 cat >>confdefs.h <<_ACEOF
9473 #define HAVE_DECL_PER_SVR3 0
9478 { echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
9479 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6; }
9480 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 cat >conftest.$ac_ext <<_ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h. */
9490 #include <linux/personality.h>
9504 rm -f conftest.$ac_objext
9505 if { (ac_try="$ac_compile"
9507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9508 *) ac_try_echo=$ac_try;;
9510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9511 (eval "$ac_compile") 2>conftest.er1
9513 grep -v '^ *+' conftest.er1 >conftest.err
9515 cat conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } && {
9518 test -z "$ac_c_werror_flag" ||
9519 test ! -s conftest.err
9520 } && test -s conftest.$ac_objext; then
9521 ac_cv_have_decl_PER_SCOSVR3=yes
9523 echo "$as_me: failed program was:" >&5
9524 sed 's/^/| /' conftest.$ac_ext >&5
9526 ac_cv_have_decl_PER_SCOSVR3=no
9529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9531 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
9532 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6; }
9533 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
9535 cat >>confdefs.h <<_ACEOF
9536 #define HAVE_DECL_PER_SCOSVR3 1
9541 cat >>confdefs.h <<_ACEOF
9542 #define HAVE_DECL_PER_SCOSVR3 0
9547 { echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
9548 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6; }
9549 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 cat >conftest.$ac_ext <<_ACEOF
9555 cat confdefs.h >>conftest.$ac_ext
9556 cat >>conftest.$ac_ext <<_ACEOF
9557 /* end confdefs.h. */
9559 #include <linux/personality.h>
9573 rm -f conftest.$ac_objext
9574 if { (ac_try="$ac_compile"
9576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9577 *) ac_try_echo=$ac_try;;
9579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9580 (eval "$ac_compile") 2>conftest.er1
9582 grep -v '^ *+' conftest.er1 >conftest.err
9584 cat conftest.err >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); } && {
9587 test -z "$ac_c_werror_flag" ||
9588 test ! -s conftest.err
9589 } && test -s conftest.$ac_objext; then
9590 ac_cv_have_decl_PER_OSR5=yes
9592 echo "$as_me: failed program was:" >&5
9593 sed 's/^/| /' conftest.$ac_ext >&5
9595 ac_cv_have_decl_PER_OSR5=no
9598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9600 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
9601 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6; }
9602 if test $ac_cv_have_decl_PER_OSR5 = yes; then
9604 cat >>confdefs.h <<_ACEOF
9605 #define HAVE_DECL_PER_OSR5 1
9610 cat >>confdefs.h <<_ACEOF
9611 #define HAVE_DECL_PER_OSR5 0
9616 { echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
9617 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6; }
9618 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
9619 echo $ECHO_N "(cached) $ECHO_C" >&6
9621 cat >conftest.$ac_ext <<_ACEOF
9624 cat confdefs.h >>conftest.$ac_ext
9625 cat >>conftest.$ac_ext <<_ACEOF
9626 /* end confdefs.h. */
9628 #include <linux/personality.h>
9634 #ifndef PER_WYSEV386
9635 (void) PER_WYSEV386;
9642 rm -f conftest.$ac_objext
9643 if { (ac_try="$ac_compile"
9645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9646 *) ac_try_echo=$ac_try;;
9648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9649 (eval "$ac_compile") 2>conftest.er1
9651 grep -v '^ *+' conftest.er1 >conftest.err
9653 cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && {
9656 test -z "$ac_c_werror_flag" ||
9657 test ! -s conftest.err
9658 } && test -s conftest.$ac_objext; then
9659 ac_cv_have_decl_PER_WYSEV386=yes
9661 echo "$as_me: failed program was:" >&5
9662 sed 's/^/| /' conftest.$ac_ext >&5
9664 ac_cv_have_decl_PER_WYSEV386=no
9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9669 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
9670 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6; }
9671 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
9673 cat >>confdefs.h <<_ACEOF
9674 #define HAVE_DECL_PER_WYSEV386 1
9679 cat >>confdefs.h <<_ACEOF
9680 #define HAVE_DECL_PER_WYSEV386 0
9685 { echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
9686 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6; }
9687 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9690 cat >conftest.$ac_ext <<_ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 #include <linux/personality.h>
9711 rm -f conftest.$ac_objext
9712 if { (ac_try="$ac_compile"
9714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715 *) ac_try_echo=$ac_try;;
9717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9718 (eval "$ac_compile") 2>conftest.er1
9720 grep -v '^ *+' conftest.er1 >conftest.err
9722 cat conftest.err >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); } && {
9725 test -z "$ac_c_werror_flag" ||
9726 test ! -s conftest.err
9727 } && test -s conftest.$ac_objext; then
9728 ac_cv_have_decl_PER_ISCR4=yes
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.$ac_ext >&5
9733 ac_cv_have_decl_PER_ISCR4=no
9736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9738 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
9739 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6; }
9740 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
9742 cat >>confdefs.h <<_ACEOF
9743 #define HAVE_DECL_PER_ISCR4 1
9748 cat >>confdefs.h <<_ACEOF
9749 #define HAVE_DECL_PER_ISCR4 0
9754 { echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
9755 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6; }
9756 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 cat >conftest.$ac_ext <<_ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 cat >>conftest.$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9766 #include <linux/personality.h>
9780 rm -f conftest.$ac_objext
9781 if { (ac_try="$ac_compile"
9783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9784 *) ac_try_echo=$ac_try;;
9786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9787 (eval "$ac_compile") 2>conftest.er1
9789 grep -v '^ *+' conftest.er1 >conftest.err
9791 cat conftest.err >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } && {
9794 test -z "$ac_c_werror_flag" ||
9795 test ! -s conftest.err
9796 } && test -s conftest.$ac_objext; then
9797 ac_cv_have_decl_PER_BSD=yes
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.$ac_ext >&5
9802 ac_cv_have_decl_PER_BSD=no
9805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9807 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
9808 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6; }
9809 if test $ac_cv_have_decl_PER_BSD = yes; then
9811 cat >>confdefs.h <<_ACEOF
9812 #define HAVE_DECL_PER_BSD 1
9817 cat >>confdefs.h <<_ACEOF
9818 #define HAVE_DECL_PER_BSD 0
9823 { echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
9824 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6; }
9825 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 cat >conftest.$ac_ext <<_ACEOF
9831 cat confdefs.h >>conftest.$ac_ext
9832 cat >>conftest.$ac_ext <<_ACEOF
9833 /* end confdefs.h. */
9835 #include <linux/personality.h>
9849 rm -f conftest.$ac_objext
9850 if { (ac_try="$ac_compile"
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_compile") 2>conftest.er1
9858 grep -v '^ *+' conftest.er1 >conftest.err
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } && {
9863 test -z "$ac_c_werror_flag" ||
9864 test ! -s conftest.err
9865 } && test -s conftest.$ac_objext; then
9866 ac_cv_have_decl_PER_SUNOS=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.$ac_ext >&5
9871 ac_cv_have_decl_PER_SUNOS=no
9874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9876 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
9877 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6; }
9878 if test $ac_cv_have_decl_PER_SUNOS = yes; then
9880 cat >>confdefs.h <<_ACEOF
9881 #define HAVE_DECL_PER_SUNOS 1
9886 cat >>confdefs.h <<_ACEOF
9887 #define HAVE_DECL_PER_SUNOS 0
9892 { echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
9893 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6; }
9894 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
9895 echo $ECHO_N "(cached) $ECHO_C" >&6
9897 cat >conftest.$ac_ext <<_ACEOF
9900 cat confdefs.h >>conftest.$ac_ext
9901 cat >>conftest.$ac_ext <<_ACEOF
9902 /* end confdefs.h. */
9904 #include <linux/personality.h>
9918 rm -f conftest.$ac_objext
9919 if { (ac_try="$ac_compile"
9921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9922 *) ac_try_echo=$ac_try;;
9924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9925 (eval "$ac_compile") 2>conftest.er1
9927 grep -v '^ *+' conftest.er1 >conftest.err
9929 cat conftest.err >&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } && {
9932 test -z "$ac_c_werror_flag" ||
9933 test ! -s conftest.err
9934 } && test -s conftest.$ac_objext; then
9935 ac_cv_have_decl_PER_XENIX=yes
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 ac_cv_have_decl_PER_XENIX=no
9943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9945 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
9946 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6; }
9947 if test $ac_cv_have_decl_PER_XENIX = yes; then
9949 cat >>confdefs.h <<_ACEOF
9950 #define HAVE_DECL_PER_XENIX 1
9955 cat >>confdefs.h <<_ACEOF
9956 #define HAVE_DECL_PER_XENIX 0
9961 { echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
9962 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6; }
9963 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9966 cat >conftest.$ac_ext <<_ACEOF
9969 cat confdefs.h >>conftest.$ac_ext
9970 cat >>conftest.$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9973 #include <linux/personality.h>
9987 rm -f conftest.$ac_objext
9988 if { (ac_try="$ac_compile"
9990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9991 *) ac_try_echo=$ac_try;;
9993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9994 (eval "$ac_compile") 2>conftest.er1
9996 grep -v '^ *+' conftest.er1 >conftest.err
9998 cat conftest.err >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); } && {
10001 test -z "$ac_c_werror_flag" ||
10002 test ! -s conftest.err
10003 } && test -s conftest.$ac_objext; then
10004 ac_cv_have_decl_PER_LINUX32=yes
10006 echo "$as_me: failed program was:" >&5
10007 sed 's/^/| /' conftest.$ac_ext >&5
10009 ac_cv_have_decl_PER_LINUX32=no
10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10014 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
10015 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6; }
10016 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
10018 cat >>confdefs.h <<_ACEOF
10019 #define HAVE_DECL_PER_LINUX32 1
10024 cat >>confdefs.h <<_ACEOF
10025 #define HAVE_DECL_PER_LINUX32 0
10030 { echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
10031 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6; }
10032 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 cat >conftest.$ac_ext <<_ACEOF
10038 cat confdefs.h >>conftest.$ac_ext
10039 cat >>conftest.$ac_ext <<_ACEOF
10040 /* end confdefs.h. */
10042 #include <linux/personality.h>
10048 #ifndef PER_LINUX32_3GB
10049 (void) PER_LINUX32_3GB;
10056 rm -f conftest.$ac_objext
10057 if { (ac_try="$ac_compile"
10058 case "(($ac_try" in
10059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10060 *) ac_try_echo=$ac_try;;
10062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10063 (eval "$ac_compile") 2>conftest.er1
10065 grep -v '^ *+' conftest.er1 >conftest.err
10067 cat conftest.err >&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } && {
10070 test -z "$ac_c_werror_flag" ||
10071 test ! -s conftest.err
10072 } && test -s conftest.$ac_objext; then
10073 ac_cv_have_decl_PER_LINUX32_3GB=yes
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10078 ac_cv_have_decl_PER_LINUX32_3GB=no
10081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10083 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
10084 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6; }
10085 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
10087 cat >>confdefs.h <<_ACEOF
10088 #define HAVE_DECL_PER_LINUX32_3GB 1
10093 cat >>confdefs.h <<_ACEOF
10094 #define HAVE_DECL_PER_LINUX32_3GB 0
10099 { echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
10100 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6; }
10101 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10104 cat >conftest.$ac_ext <<_ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10111 #include <linux/personality.h>
10125 rm -f conftest.$ac_objext
10126 if { (ac_try="$ac_compile"
10127 case "(($ac_try" in
10128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10129 *) ac_try_echo=$ac_try;;
10131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10132 (eval "$ac_compile") 2>conftest.er1
10134 grep -v '^ *+' conftest.er1 >conftest.err
10136 cat conftest.err >&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); } && {
10139 test -z "$ac_c_werror_flag" ||
10140 test ! -s conftest.err
10141 } && test -s conftest.$ac_objext; then
10142 ac_cv_have_decl_PER_IRIX32=yes
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10147 ac_cv_have_decl_PER_IRIX32=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10152 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
10153 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6; }
10154 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
10156 cat >>confdefs.h <<_ACEOF
10157 #define HAVE_DECL_PER_IRIX32 1
10162 cat >>confdefs.h <<_ACEOF
10163 #define HAVE_DECL_PER_IRIX32 0
10168 { echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
10169 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6; }
10170 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 cat >conftest.$ac_ext <<_ACEOF
10176 cat confdefs.h >>conftest.$ac_ext
10177 cat >>conftest.$ac_ext <<_ACEOF
10178 /* end confdefs.h. */
10180 #include <linux/personality.h>
10186 #ifndef PER_IRIXN32
10187 (void) PER_IRIXN32;
10194 rm -f conftest.$ac_objext
10195 if { (ac_try="$ac_compile"
10196 case "(($ac_try" in
10197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10198 *) ac_try_echo=$ac_try;;
10200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10201 (eval "$ac_compile") 2>conftest.er1
10203 grep -v '^ *+' conftest.er1 >conftest.err
10205 cat conftest.err >&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } && {
10208 test -z "$ac_c_werror_flag" ||
10209 test ! -s conftest.err
10210 } && test -s conftest.$ac_objext; then
10211 ac_cv_have_decl_PER_IRIXN32=yes
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.$ac_ext >&5
10216 ac_cv_have_decl_PER_IRIXN32=no
10219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10221 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
10222 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6; }
10223 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
10225 cat >>confdefs.h <<_ACEOF
10226 #define HAVE_DECL_PER_IRIXN32 1
10231 cat >>confdefs.h <<_ACEOF
10232 #define HAVE_DECL_PER_IRIXN32 0
10237 { echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
10238 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6; }
10239 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 cat >conftest.$ac_ext <<_ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10249 #include <linux/personality.h>
10263 rm -f conftest.$ac_objext
10264 if { (ac_try="$ac_compile"
10265 case "(($ac_try" in
10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10267 *) ac_try_echo=$ac_try;;
10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10270 (eval "$ac_compile") 2>conftest.er1
10272 grep -v '^ *+' conftest.er1 >conftest.err
10274 cat conftest.err >&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); } && {
10277 test -z "$ac_c_werror_flag" ||
10278 test ! -s conftest.err
10279 } && test -s conftest.$ac_objext; then
10280 ac_cv_have_decl_PER_IRIX64=yes
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10285 ac_cv_have_decl_PER_IRIX64=no
10288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10290 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
10291 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6; }
10292 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
10294 cat >>confdefs.h <<_ACEOF
10295 #define HAVE_DECL_PER_IRIX64 1
10300 cat >>confdefs.h <<_ACEOF
10301 #define HAVE_DECL_PER_IRIX64 0
10306 { echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
10307 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6; }
10308 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 cat >conftest.$ac_ext <<_ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10318 #include <linux/personality.h>
10332 rm -f conftest.$ac_objext
10333 if { (ac_try="$ac_compile"
10334 case "(($ac_try" in
10335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10336 *) ac_try_echo=$ac_try;;
10338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10339 (eval "$ac_compile") 2>conftest.er1
10341 grep -v '^ *+' conftest.er1 >conftest.err
10343 cat conftest.err >&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } && {
10346 test -z "$ac_c_werror_flag" ||
10347 test ! -s conftest.err
10348 } && test -s conftest.$ac_objext; then
10349 ac_cv_have_decl_PER_RISCOS=yes
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10354 ac_cv_have_decl_PER_RISCOS=no
10357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10359 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
10360 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6; }
10361 if test $ac_cv_have_decl_PER_RISCOS = yes; then
10363 cat >>confdefs.h <<_ACEOF
10364 #define HAVE_DECL_PER_RISCOS 1
10369 cat >>confdefs.h <<_ACEOF
10370 #define HAVE_DECL_PER_RISCOS 0
10375 { echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
10376 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6; }
10377 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6
10380 cat >conftest.$ac_ext <<_ACEOF
10383 cat confdefs.h >>conftest.$ac_ext
10384 cat >>conftest.$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10387 #include <linux/personality.h>
10393 #ifndef PER_SOLARIS
10394 (void) PER_SOLARIS;
10401 rm -f conftest.$ac_objext
10402 if { (ac_try="$ac_compile"
10403 case "(($ac_try" in
10404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10405 *) ac_try_echo=$ac_try;;
10407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10408 (eval "$ac_compile") 2>conftest.er1
10410 grep -v '^ *+' conftest.er1 >conftest.err
10412 cat conftest.err >&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); } && {
10415 test -z "$ac_c_werror_flag" ||
10416 test ! -s conftest.err
10417 } && test -s conftest.$ac_objext; then
10418 ac_cv_have_decl_PER_SOLARIS=yes
10420 echo "$as_me: failed program was:" >&5
10421 sed 's/^/| /' conftest.$ac_ext >&5
10423 ac_cv_have_decl_PER_SOLARIS=no
10426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10428 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
10429 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6; }
10430 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
10432 cat >>confdefs.h <<_ACEOF
10433 #define HAVE_DECL_PER_SOLARIS 1
10438 cat >>confdefs.h <<_ACEOF
10439 #define HAVE_DECL_PER_SOLARIS 0
10444 { echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
10445 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6; }
10446 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 cat >conftest.$ac_ext <<_ACEOF
10452 cat confdefs.h >>conftest.$ac_ext
10453 cat >>conftest.$ac_ext <<_ACEOF
10454 /* end confdefs.h. */
10456 #include <linux/personality.h>
10470 rm -f conftest.$ac_objext
10471 if { (ac_try="$ac_compile"
10472 case "(($ac_try" in
10473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10474 *) ac_try_echo=$ac_try;;
10476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10477 (eval "$ac_compile") 2>conftest.er1
10479 grep -v '^ *+' conftest.er1 >conftest.err
10481 cat conftest.err >&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } && {
10484 test -z "$ac_c_werror_flag" ||
10485 test ! -s conftest.err
10486 } && test -s conftest.$ac_objext; then
10487 ac_cv_have_decl_PER_UW7=yes
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.$ac_ext >&5
10492 ac_cv_have_decl_PER_UW7=no
10495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10497 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
10498 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6; }
10499 if test $ac_cv_have_decl_PER_UW7 = yes; then
10501 cat >>confdefs.h <<_ACEOF
10502 #define HAVE_DECL_PER_UW7 1
10507 cat >>confdefs.h <<_ACEOF
10508 #define HAVE_DECL_PER_UW7 0
10513 { echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
10514 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6; }
10515 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 cat >conftest.$ac_ext <<_ACEOF
10521 cat confdefs.h >>conftest.$ac_ext
10522 cat >>conftest.$ac_ext <<_ACEOF
10523 /* end confdefs.h. */
10525 #include <linux/personality.h>
10539 rm -f conftest.$ac_objext
10540 if { (ac_try="$ac_compile"
10541 case "(($ac_try" in
10542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10543 *) ac_try_echo=$ac_try;;
10545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10546 (eval "$ac_compile") 2>conftest.er1
10548 grep -v '^ *+' conftest.er1 >conftest.err
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } && {
10553 test -z "$ac_c_werror_flag" ||
10554 test ! -s conftest.err
10555 } && test -s conftest.$ac_objext; then
10556 ac_cv_have_decl_PER_HPUX=yes
10558 echo "$as_me: failed program was:" >&5
10559 sed 's/^/| /' conftest.$ac_ext >&5
10561 ac_cv_have_decl_PER_HPUX=no
10564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10566 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
10567 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6; }
10568 if test $ac_cv_have_decl_PER_HPUX = yes; then
10570 cat >>confdefs.h <<_ACEOF
10571 #define HAVE_DECL_PER_HPUX 1
10576 cat >>confdefs.h <<_ACEOF
10577 #define HAVE_DECL_PER_HPUX 0
10582 { echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
10583 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6; }
10584 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 cat >conftest.$ac_ext <<_ACEOF
10590 cat confdefs.h >>conftest.$ac_ext
10591 cat >>conftest.$ac_ext <<_ACEOF
10592 /* end confdefs.h. */
10594 #include <linux/personality.h>
10608 rm -f conftest.$ac_objext
10609 if { (ac_try="$ac_compile"
10610 case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_compile") 2>conftest.er1
10617 grep -v '^ *+' conftest.er1 >conftest.err
10619 cat conftest.err >&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } && {
10622 test -z "$ac_c_werror_flag" ||
10623 test ! -s conftest.err
10624 } && test -s conftest.$ac_objext; then
10625 ac_cv_have_decl_PER_OSF4=yes
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10630 ac_cv_have_decl_PER_OSF4=no
10633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10635 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
10636 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6; }
10637 if test $ac_cv_have_decl_PER_OSF4 = yes; then
10639 cat >>confdefs.h <<_ACEOF
10640 #define HAVE_DECL_PER_OSF4 1
10645 cat >>confdefs.h <<_ACEOF
10646 #define HAVE_DECL_PER_OSF4 0
10654 ac_cpp='$CPP $CPPFLAGS'
10655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10664 { echo "$as_me:$LINENO: checking for initrddir" >&5
10665 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6; }
10667 # Check whether --with-initrddir was given.
10668 if test "${with_initrddir+set}" = set; then
10669 withval=$with_initrddir; case "$withval" in
10670 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
10671 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
10672 { (exit 1); exit 1; }; };;
10673 *) ensc_initrddir=$withval;;
10676 ensc_initrddir='$(sysconfdir)/init.d'
10680 if test "initrddir"; then
10681 initrddir=$ensc_initrddir
10685 { echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
10686 echo "${ECHO_T}$ensc_initrddir" >&6; }
10689 { echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
10690 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6; }
10691 # Check whether --enable-release was given.
10692 if test "${enable_release+set}" = set; then
10693 enableval=$enable_release; case "$enableval" in
10694 yes) ensc_release_mode=yes;;
10695 no) ensc_release_mode=no;;
10696 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
10697 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
10698 { (exit 1); exit 1; }; };;
10701 ensc_release_mode=no
10705 if test x"$ensc_release_mode" = xno; then
10708 RELEASE_CPPFLAGS='-DNDEBUG'
10712 { echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
10713 echo "${ECHO_T}$ensc_release_mode" >&6; }
10716 # HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative
10717 # syscalls will never be enabled for glibc.
10719 ac_cpp='$CPP $CPPFLAGS'
10720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10723 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10724 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10725 # On Suns, sometimes $CPP names a directory.
10726 if test -n "$CPP" && test -d "$CPP"; then
10729 if test -z "$CPP"; then
10730 if test "${ac_cv_prog_CPP+set}" = set; then
10731 echo $ECHO_N "(cached) $ECHO_C" >&6
10733 # Double quotes because CPP needs to be expanded
10734 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10736 ac_preproc_ok=false
10737 for ac_c_preproc_warn_flag in '' yes
10739 # Use a header file that comes with gcc, so configuring glibc
10740 # with a fresh cross-compiler works.
10741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10742 # <limits.h> exists even on freestanding compilers.
10743 # On the NeXT, cc -E runs the code through the compiler's parser,
10744 # not just through cpp. "Syntax error" is here to catch this case.
10745 cat >conftest.$ac_ext <<_ACEOF
10748 cat confdefs.h >>conftest.$ac_ext
10749 cat >>conftest.$ac_ext <<_ACEOF
10750 /* end confdefs.h. */
10752 # include <limits.h>
10754 # include <assert.h>
10758 if { (ac_try="$ac_cpp conftest.$ac_ext"
10759 case "(($ac_try" in
10760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10761 *) ac_try_echo=$ac_try;;
10763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10766 grep -v '^ *+' conftest.er1 >conftest.err
10768 cat conftest.err >&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } >/dev/null && {
10771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10772 test ! -s conftest.err
10776 echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.$ac_ext >&5
10779 # Broken: fails on valid input.
10783 rm -f conftest.err conftest.$ac_ext
10785 # OK, works on sane cases. Now check whether nonexistent headers
10786 # can be detected and how.
10787 cat >conftest.$ac_ext <<_ACEOF
10790 cat confdefs.h >>conftest.$ac_ext
10791 cat >>conftest.$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10793 #include <ac_nonexistent.h>
10795 if { (ac_try="$ac_cpp conftest.$ac_ext"
10796 case "(($ac_try" in
10797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10798 *) ac_try_echo=$ac_try;;
10800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1 >conftest.err
10805 cat conftest.err >&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } >/dev/null && {
10808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10809 test ! -s conftest.err
10811 # Broken: success on invalid input.
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.$ac_ext >&5
10817 # Passes both tests.
10822 rm -f conftest.err conftest.$ac_ext
10825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10826 rm -f conftest.err conftest.$ac_ext
10827 if $ac_preproc_ok; then
10832 ac_cv_prog_CPP=$CPP
10835 CPP=$ac_cv_prog_CPP
10837 ac_cv_prog_CPP=$CPP
10839 { echo "$as_me:$LINENO: result: $CPP" >&5
10840 echo "${ECHO_T}$CPP" >&6; }
10841 ac_preproc_ok=false
10842 for ac_c_preproc_warn_flag in '' yes
10844 # Use a header file that comes with gcc, so configuring glibc
10845 # with a fresh cross-compiler works.
10846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10847 # <limits.h> exists even on freestanding compilers.
10848 # On the NeXT, cc -E runs the code through the compiler's parser,
10849 # not just through cpp. "Syntax error" is here to catch this case.
10850 cat >conftest.$ac_ext <<_ACEOF
10853 cat confdefs.h >>conftest.$ac_ext
10854 cat >>conftest.$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10857 # include <limits.h>
10859 # include <assert.h>
10863 if { (ac_try="$ac_cpp conftest.$ac_ext"
10864 case "(($ac_try" in
10865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10866 *) ac_try_echo=$ac_try;;
10868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10871 grep -v '^ *+' conftest.er1 >conftest.err
10873 cat conftest.err >&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); } >/dev/null && {
10876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10877 test ! -s conftest.err
10881 echo "$as_me: failed program was:" >&5
10882 sed 's/^/| /' conftest.$ac_ext >&5
10884 # Broken: fails on valid input.
10888 rm -f conftest.err conftest.$ac_ext
10890 # OK, works on sane cases. Now check whether nonexistent headers
10891 # can be detected and how.
10892 cat >conftest.$ac_ext <<_ACEOF
10895 cat confdefs.h >>conftest.$ac_ext
10896 cat >>conftest.$ac_ext <<_ACEOF
10897 /* end confdefs.h. */
10898 #include <ac_nonexistent.h>
10900 if { (ac_try="$ac_cpp conftest.$ac_ext"
10901 case "(($ac_try" in
10902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10903 *) ac_try_echo=$ac_try;;
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10908 grep -v '^ *+' conftest.er1 >conftest.err
10910 cat conftest.err >&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } >/dev/null && {
10913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10916 # Broken: success on invalid input.
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.$ac_ext >&5
10922 # Passes both tests.
10927 rm -f conftest.err conftest.$ac_ext
10930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10931 rm -f conftest.err conftest.$ac_ext
10932 if $ac_preproc_ok; then
10935 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10936 See \`config.log' for more details." >&5
10937 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10938 See \`config.log' for more details." >&2;}
10939 { (exit 1); exit 1; }; }
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
10948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
10949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
10950 if test "${ac_cv_path_GREP+set}" = set; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 # Extract the first word of "grep ggrep" to use in msg output
10954 if test -z "$GREP"; then
10955 set dummy grep ggrep; ac_prog_name=$2
10956 if test "${ac_cv_path_GREP+set}" = set; then
10957 echo $ECHO_N "(cached) $ECHO_C" >&6
10959 ac_path_GREP_found=false
10960 # Loop through the user's path and test for each of PROGNAME-LIST
10961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10965 test -z "$as_dir" && as_dir=.
10966 for ac_prog in grep ggrep; do
10967 for ac_exec_ext in '' $ac_executable_extensions; do
10968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
10969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
10970 # Check for GNU ac_path_GREP and select it if it is found.
10971 # Check for GNU $ac_path_GREP
10972 case `"$ac_path_GREP" --version 2>&1` in
10974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
10977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
10980 cat "conftest.in" "conftest.in" >"conftest.tmp"
10981 mv "conftest.tmp" "conftest.in"
10982 cp "conftest.in" "conftest.nl"
10983 echo 'GREP' >> "conftest.nl"
10984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
10985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10986 ac_count=`expr $ac_count + 1`
10987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
10988 # Best one so far, save it but keep looking for a better one
10989 ac_cv_path_GREP="$ac_path_GREP"
10990 ac_path_GREP_max=$ac_count
10992 # 10*(2^10) chars as input seems more than enough
10993 test $ac_count -gt 10 && break
10995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10999 $ac_path_GREP_found && break 3
11009 GREP="$ac_cv_path_GREP"
11010 if test -z "$GREP"; then
11011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11013 { (exit 1); exit 1; }; }
11017 ac_cv_path_GREP=$GREP
11022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
11023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
11024 GREP="$ac_cv_path_GREP"
11027 { echo "$as_me:$LINENO: checking for egrep" >&5
11028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11029 if test "${ac_cv_path_EGREP+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11033 then ac_cv_path_EGREP="$GREP -E"
11035 # Extract the first word of "egrep" to use in msg output
11036 if test -z "$EGREP"; then
11037 set dummy egrep; ac_prog_name=$2
11038 if test "${ac_cv_path_EGREP+set}" = set; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 ac_path_EGREP_found=false
11042 # Loop through the user's path and test for each of PROGNAME-LIST
11043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11047 test -z "$as_dir" && as_dir=.
11048 for ac_prog in egrep; do
11049 for ac_exec_ext in '' $ac_executable_extensions; do
11050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11052 # Check for GNU ac_path_EGREP and select it if it is found.
11053 # Check for GNU $ac_path_EGREP
11054 case `"$ac_path_EGREP" --version 2>&1` in
11056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11062 cat "conftest.in" "conftest.in" >"conftest.tmp"
11063 mv "conftest.tmp" "conftest.in"
11064 cp "conftest.in" "conftest.nl"
11065 echo 'EGREP' >> "conftest.nl"
11066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11068 ac_count=`expr $ac_count + 1`
11069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11070 # Best one so far, save it but keep looking for a better one
11071 ac_cv_path_EGREP="$ac_path_EGREP"
11072 ac_path_EGREP_max=$ac_count
11074 # 10*(2^10) chars as input seems more than enough
11075 test $ac_count -gt 10 && break
11077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11081 $ac_path_EGREP_found && break 3
11091 EGREP="$ac_cv_path_EGREP"
11092 if test -z "$EGREP"; then
11093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11095 { (exit 1); exit 1; }; }
11099 ac_cv_path_EGREP=$EGREP
11105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11107 EGREP="$ac_cv_path_EGREP"
11114 { echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
11115 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6; }
11116 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 ac_cpp='$CPP $CPPFLAGS'
11122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11126 cat >conftest.$ac_ext <<_ACEOF
11128 #ifdef ENSC_SYSCALL_FALLBACK
11129 # include ENSC_SYSCALL_FALLBACK
11131 # include <asm/unistd.h>
11133 #ifdef __NR_vserver
11134 ensc_syscall_tmp_nr=__NR_vserver;
11135 ensc_syscall_tmp_src=ENSC_MARK
11139 ensc_syscall_tmp_nr=
11140 ensc_syscall_tmp_src=
11141 test x"$ensc_syscall_tmp_nr" != x || \
11142 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
11143 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
11144 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=.*)$')
11145 test "$ensc_syscall_tmp_nr" || {
11146 ensc_syscall_tmp_nr=273
11147 ensc_syscall_tmp_src=default
11150 if test x"$ensc_syscall_tmp_nr" = x; then
11151 { { 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
11152 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;}
11153 { (exit 1); exit 1; }; }
11156 ac_cpp='$CPP $CPPFLAGS'
11157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11162 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
11165 { echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
11166 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6; }
11168 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
11169 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
11171 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
11173 cat >>confdefs.h <<_ACEOF
11174 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
11180 { echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
11181 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6; }
11182 # Check whether --enable-alternative-syscalls was given.
11183 if test "${enable_alternative_syscalls+set}" = set; then
11184 enableval=$enable_alternative_syscalls; case $enableval in
11185 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
11186 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
11187 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
11188 { (exit 1); exit 1; }; };;
11191 ensc_use_alternative_syscall_macros=yes
11195 case $ensc_use_alternative_syscall_macros in
11197 cat >>confdefs.h <<\_ACEOF
11198 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
11203 { echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
11204 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6; }
11209 { echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
11210 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6; }
11212 # Check whether --with-syscall was given.
11213 if test "${with_syscall+set}" = set; then
11214 withval=$with_syscall;
11219 { echo "$as_me:$LINENO: result: $with_syscall" >&5
11220 echo "${ECHO_T}$with_syscall" >&6; }
11222 case x"$with_syscall" in
11224 { echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
11225 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6; }
11226 if test "${ensc_cv_test_syscall+set}" = set; then
11227 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 ac_cpp='$CPP $CPPFLAGS'
11232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11236 cat >conftest.$ac_ext <<_ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11243 #include "$srcdir/lib/syscall-wrap.h"
11246 #define __NR_foo0 300
11247 #define __NR_foo1 301
11248 #define __NR_foo2 302
11249 #define __NR_foo3 303
11250 #define __NR_foo4 304
11251 #define __NR_foo5 305
11252 inline static _syscall0(int, foo0)
11253 inline static _syscall1(int, foo1, int, a)
11254 inline static _syscall2(int, foo2, int, a, int, b)
11255 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11256 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11257 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11269 rm -f conftest.$ac_objext
11270 if { (ac_try="$ac_compile"
11271 case "(($ac_try" in
11272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11273 *) ac_try_echo=$ac_try;;
11275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11276 (eval "$ac_compile") 2>conftest.er1
11278 grep -v '^ *+' conftest.er1 >conftest.err
11280 cat conftest.err >&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } && {
11283 test -z "$ac_c_werror_flag" ||
11284 test ! -s conftest.err
11285 } && test -s conftest.$ac_objext; then
11286 ensc_cv_test_syscall=fast
11288 echo "$as_me: failed program was:" >&5
11289 sed 's/^/| /' conftest.$ac_ext >&5
11291 ensc_cv_test_syscall=traditional
11294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11304 { echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
11305 echo "${ECHO_T}$ensc_cv_test_syscall" >&6; }
11306 with_syscall=$ensc_cv_test_syscall
11308 (xfast|xtraditional)
11311 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
11312 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
11313 { (exit 1); exit 1; }; }
11317 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
11318 with_syscall='alternative'
11321 if test x"$with_syscall" = xtraditional; then
11323 cat >>confdefs.h <<\_ACEOF
11324 #define ENSC_SYSCALL_TRADITIONAL 1
11335 (i*86|athlon) min_diet_ver=0.25;;
11336 (ia64|hppa*) min_diet_ver=0.29;;
11337 (sparc*) min_diet_ver=0.30;;
11338 (x86_64) min_diet_ver=0.27;;
11339 (*) min_diet_ver=0.28;;
11343 { echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
11344 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6; }
11352 # Check whether --enable-dietlibc was given.
11353 if test "${enable_dietlibc+set}" = set; then
11354 enableval=$enable_dietlibc; case "$enableval" in
11355 (yes) use_dietlibc=forced;;
11356 (no) use_dietlibc=forced_no;;
11357 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
11358 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
11359 { (exit 1); exit 1; }; };;
11362 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
11366 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
11367 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
11368 _dietlibc_ver=${_dietlibc_ver##*diet version }
11369 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
11370 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
11371 _dietlibc_ver_min=${_dietlibc_ver##*.}
11372 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
11373 _dietlibc_cmp="$min_diet_ver"
11374 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
11375 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
11377 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
11379 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
11380 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
11382 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
11384 ENSC_VERSION_DIETLIBC=
11388 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
11389 ensc_have_dietlibc=no
11391 case x"$use_dietlibc" in
11395 USE_DIETLIBC_FALSE='#'
11397 USE_DIETLIBC_TRUE='#'
11398 USE_DIETLIBC_FALSE=
11401 { echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
11402 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6; }
11403 ensc_have_dietlibc=yes
11408 USE_DIETLIBC_FALSE='#'
11410 USE_DIETLIBC_TRUE='#'
11411 USE_DIETLIBC_FALSE=
11414 { echo "$as_me:$LINENO: result: yes (forced)" >&5
11415 echo "${ECHO_T}yes (forced)" >&6; }
11416 ensc_have_dietlibc=yes
11421 USE_DIETLIBC_FALSE='#'
11423 USE_DIETLIBC_TRUE='#'
11424 USE_DIETLIBC_FALSE=
11427 { echo "$as_me:$LINENO: result: no (detected)" >&5
11428 echo "${ECHO_T}no (detected)" >&6; }
11433 USE_DIETLIBC_FALSE='#'
11435 USE_DIETLIBC_TRUE='#'
11436 USE_DIETLIBC_FALSE=
11439 { echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
11440 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6; }
11445 USE_DIETLIBC_FALSE='#'
11447 USE_DIETLIBC_TRUE='#'
11448 USE_DIETLIBC_FALSE=
11451 { echo "$as_me:$LINENO: result: no (forced)" >&5
11452 echo "${ECHO_T}no (forced)" >&6; }
11455 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
11456 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
11457 { (exit 1); exit 1; }; }
11461 if test x"$ensc_have_dietlibc" != xno; then
11466 { echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
11467 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6; }
11468 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
11469 echo $ECHO_N "(cached) $ECHO_C" >&6
11472 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
11473 _ensc_dietlibc_c99_old_CC=$CC
11476 CC="${DIET:-diet} $CC"
11479 ac_cpp='$CPP $CPPFLAGS'
11480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11484 cat >conftest.$ac_ext <<_ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (ac_try="$ac_compile"
11489 case "(($ac_try" in
11490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11491 *) ac_try_echo=$ac_try;;
11493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11494 (eval "$ac_compile") 2>conftest.er1
11496 grep -v '^ *+' conftest.er1 >conftest.err
11498 cat conftest.err >&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } && {
11501 test -z "$ac_c_werror_flag" ||
11502 test ! -s conftest.err
11503 } && test -s conftest.$ac_objext; then
11505 cat >conftest.$ac_ext <<_ACEOF
11507 #include <stdint.h>
11508 #include <sys/cdefs.h>
11509 #if defined(inline)
11510 # error 'inline' badly defined
11512 volatile uint64_t a;
11515 rm -f conftest.$ac_objext
11516 if { (ac_try="$ac_compile"
11517 case "(($ac_try" in
11518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11519 *) ac_try_echo=$ac_try;;
11521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11522 (eval "$ac_compile") 2>conftest.er1
11524 grep -v '^ *+' conftest.er1 >conftest.err
11526 cat conftest.err >&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } && {
11529 test -z "$ac_c_werror_flag" ||
11530 test ! -s conftest.err
11531 } && test -s conftest.$ac_objext; then
11532 ensc_cv_c_dietlibc_c99=yes
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11537 ensc_cv_c_dietlibc_c99=no
11540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.$ac_ext >&5
11545 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
11548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11550 ac_cpp='$CPP $CPPFLAGS'
11551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11556 CC=$_ensc_dietlibc_c99_old_CC
11557 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
11560 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
11561 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6; }
11563 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
11564 cat >>confdefs.h <<\_ACEOF
11565 #define ENSC_DIETLIBC_C99 1
11574 { echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5
11575 echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6; }
11576 if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then
11577 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 _ensc_dietlibc_syscall_old_CC="$CC"
11581 CC="${DIET:-diet} $CC"
11584 ac_cpp='$CPP $CPPFLAGS'
11585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11589 cat >conftest.$ac_ext <<_ACEOF
11591 #include <sys/syscall.h>
11592 long int syscall(long int __sysno, ...);
11595 rm -f conftest.$ac_objext
11596 if { (ac_try="$ac_compile"
11597 case "(($ac_try" in
11598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11599 *) ac_try_echo=$ac_try;;
11601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11602 (eval "$ac_compile") 2>conftest.er1
11604 grep -v '^ *+' conftest.er1 >conftest.err
11606 cat conftest.err >&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } && {
11609 test -z "$ac_c_werror_flag" ||
11610 test ! -s conftest.err
11611 } && test -s conftest.$ac_objext; then
11612 ensc_cv_c_dietlibc_syscall=no
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 ensc_cv_c_dietlibc_syscall=yes
11620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11622 ac_cpp='$CPP $CPPFLAGS'
11623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11628 CC="$_ensc_dietlibc_syscall_old_CC"
11631 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5
11632 echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6; }
11634 if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then
11635 cat >>confdefs.h <<\_ACEOF
11636 #define ENSC_DIETLIBC_HAS_SYSCALL 1
11644 if test x"$ensc_have_dietlibc" = xno; then
11645 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11646 echo "$as_me: WARNING: *** ***" >&2;}
11647 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
11648 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
11649 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
11650 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
11651 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
11652 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
11653 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
11654 echo "$as_me: WARNING: *** there. ***" >&2;}
11655 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11656 echo "$as_me: WARNING: *** ***" >&2;}
11658 USE_DIETLIBC_COMPAT_TRUE=
11659 USE_DIETLIBC_COMPAT_FALSE='#'
11661 USE_DIETLIBC_COMPAT_TRUE='#'
11662 USE_DIETLIBC_COMPAT_FALSE=
11666 # HACK: libtool does not have cmdline options to build only
11667 # dynamic libraries; this can be done with the
11668 # '--disable-static' ./configure option only. As our static
11669 # libraries will be build with dietlibc, we have to do set
11670 # this option which is evaluated by 'AC_PROG_LIBTOOL'
11671 # below. Therefore, this macro must not be called earlier.
11677 { echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
11678 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6; }
11679 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 ac_cpp='$CPP $CPPFLAGS'
11685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11689 ensc_dietlibc_need_compat_old_CC=$CC
11690 CC="${DIET:-diet} $CC"
11691 cat >conftest.$ac_ext <<_ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11699 #include "$srcdir/lib/syscall-wrap.h"
11702 #define __NR_foo0 42
11703 #define __NR_foo1 42
11704 #define __NR_foo2 42
11705 #define __NR_foo3 42
11706 #define __NR_foo4 42
11707 #define __NR_foo5 42
11708 inline static _syscall0(int, foo0)
11709 inline static _syscall1(int, foo1, int, a)
11710 inline static _syscall2(int, foo2, int, a, int, b)
11711 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11712 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11713 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11718 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
11723 rm -f conftest.$ac_objext conftest$ac_exeext
11724 if { (ac_try="$ac_link"
11725 case "(($ac_try" in
11726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11727 *) ac_try_echo=$ac_try;;
11729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11730 (eval "$ac_link") 2>conftest.er1
11732 grep -v '^ *+' conftest.er1 >conftest.err
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } && {
11737 test -z "$ac_c_werror_flag" ||
11738 test ! -s conftest.err
11739 } && test -s conftest$ac_exeext &&
11740 $as_test_x conftest$ac_exeext; then
11741 ensc_cv_c_dietlibc_compat=no
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11746 ensc_cv_c_dietlibc_compat=yes
11749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11750 conftest$ac_exeext conftest.$ac_ext
11751 CC=$ensc_dietlibc_need_compat_old_CC
11753 ac_cpp='$CPP $CPPFLAGS'
11754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11760 { echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
11761 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6; }
11763 if test x"USE_DIETLIBC_COMPAT" != x; then
11764 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
11765 USE_DIETLIBC_COMPAT_TRUE=
11766 USE_DIETLIBC_COMPAT_FALSE='#'
11768 USE_DIETLIBC_COMPAT_TRUE='#'
11769 USE_DIETLIBC_COMPAT_FALSE=
11776 if test x"$ensc_have_dietlibc" = xyes; then
11777 ENSC_USE_DIETLIBC_TRUE=
11778 ENSC_USE_DIETLIBC_FALSE='#'
11780 ENSC_USE_DIETLIBC_TRUE='#'
11781 ENSC_USE_DIETLIBC_FALSE=
11785 ENSC_USE_GLIBC_TRUE=
11786 ENSC_USE_GLIBC_FALSE='#'
11788 ENSC_USE_GLIBC_TRUE='#'
11789 ENSC_USE_GLIBC_FALSE=
11793 # HACK: see comments at 'enable_static' above
11794 # Check whether --enable-shared was given.
11795 if test "${enable_shared+set}" = set; then
11796 enableval=$enable_shared; p=${PACKAGE-default}
11798 yes) enable_shared=yes ;;
11799 no) enable_shared=no ;;
11802 # Look at the argument we got. We use all the common list separators.
11803 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11804 for pkg in $enableval; do
11806 if test "X$pkg" = "X$p"; then
11818 # Check whether --enable-static was given.
11819 if test "${enable_static+set}" = set; then
11820 enableval=$enable_static; p=${PACKAGE-default}
11822 yes) enable_static=yes ;;
11823 no) enable_static=no ;;
11826 # Look at the argument we got. We use all the common list separators.
11827 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11828 for pkg in $enableval; do
11830 if test "X$pkg" = "X$p"; then
11842 # Check whether --enable-fast-install was given.
11843 if test "${enable_fast_install+set}" = set; then
11844 enableval=$enable_fast_install; p=${PACKAGE-default}
11846 yes) enable_fast_install=yes ;;
11847 no) enable_fast_install=no ;;
11849 enable_fast_install=no
11850 # Look at the argument we got. We use all the common list separators.
11851 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11852 for pkg in $enableval; do
11854 if test "X$pkg" = "X$p"; then
11855 enable_fast_install=yes
11862 enable_fast_install=yes
11866 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11867 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
11868 if test "${lt_cv_path_SED+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 # Loop through the user's path and test for sed and gsed.
11872 # Then use that list of sed's as ones to test for truncation.
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11877 test -z "$as_dir" && as_dir=.
11878 for lt_ac_prog in sed gsed; do
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
11881 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
11889 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
11890 # along with /bin/sed that truncates output.
11891 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
11892 test ! -f $lt_ac_sed && continue
11893 cat /dev/null > conftest.in
11895 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
11896 # Check for GNU sed and select it if it is found.
11897 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
11898 lt_cv_path_SED=$lt_ac_sed
11902 cat conftest.in conftest.in >conftest.tmp
11903 mv conftest.tmp conftest.in
11904 cp conftest.in conftest.nl
11906 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
11907 cmp -s conftest.out conftest.nl || break
11908 # 10000 chars as input seems more than enough
11909 test $lt_ac_count -gt 10 && break
11910 lt_ac_count=`expr $lt_ac_count + 1`
11911 if test $lt_ac_count -gt $lt_ac_max; then
11912 lt_ac_max=$lt_ac_count
11913 lt_cv_path_SED=$lt_ac_sed
11920 SED=$lt_cv_path_SED
11922 { echo "$as_me:$LINENO: result: $SED" >&5
11923 echo "${ECHO_T}$SED" >&6; }
11926 # Check whether --with-gnu-ld was given.
11927 if test "${with_gnu_ld+set}" = set; then
11928 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11934 if test "$GCC" = yes; then
11935 # Check if gcc -print-prog-name=ld gives a path.
11936 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11937 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11940 # gcc leaves a trailing carriage return which upsets mingw
11941 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11943 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11946 # Accept absolute paths.
11948 re_direlt='/[^/][^/]*/\.\./'
11949 # Canonicalize the pathname of ld
11950 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11951 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11952 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11954 test -z "$LD" && LD="$ac_prog"
11957 # If it fails, then pretend we aren't using GCC.
11961 # If it is relative, then search for the first ld in PATH.
11962 with_gnu_ld=unknown
11965 elif test "$with_gnu_ld" = yes; then
11966 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11967 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11969 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11970 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11972 if test "${lt_cv_path_LD+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11975 if test -z "$LD"; then
11976 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11977 for ac_dir in $PATH; do
11979 test -z "$ac_dir" && ac_dir=.
11980 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11981 lt_cv_path_LD="$ac_dir/$ac_prog"
11982 # Check to see if the program is GNU ld. I'd rather use --version,
11983 # but apparently some variants of GNU ld only accept -v.
11984 # Break only if it was the GNU/non-GNU ld that we prefer.
11985 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11986 *GNU* | *'with BFD'*)
11987 test "$with_gnu_ld" != no && break
11990 test "$with_gnu_ld" != yes && break
11997 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12001 LD="$lt_cv_path_LD"
12002 if test -n "$LD"; then
12003 { echo "$as_me:$LINENO: result: $LD" >&5
12004 echo "${ECHO_T}$LD" >&6; }
12006 { echo "$as_me:$LINENO: result: no" >&5
12007 echo "${ECHO_T}no" >&6; }
12009 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12010 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12011 { (exit 1); exit 1; }; }
12012 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12013 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12014 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12018 case `$LD -v 2>&1 </dev/null` in
12019 *GNU* | *'with BFD'*)
12020 lt_cv_prog_gnu_ld=yes
12023 lt_cv_prog_gnu_ld=no
12027 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12028 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12029 with_gnu_ld=$lt_cv_prog_gnu_ld
12032 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12033 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12034 if test "${lt_cv_ld_reload_flag+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 lt_cv_ld_reload_flag='-r'
12039 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12040 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12041 reload_flag=$lt_cv_ld_reload_flag
12042 case $reload_flag in
12044 *) reload_flag=" $reload_flag" ;;
12046 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12049 if test "$GCC" = yes; then
12050 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12052 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12057 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12058 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12059 if test "${lt_cv_path_NM+set}" = set; then
12060 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 if test -n "$NM"; then
12063 # Let the user override the test.
12064 lt_cv_path_NM="$NM"
12066 lt_nm_to_check="${ac_tool_prefix}nm"
12067 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12068 lt_nm_to_check="$lt_nm_to_check nm"
12070 for lt_tmp_nm in $lt_nm_to_check; do
12071 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12072 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12074 test -z "$ac_dir" && ac_dir=.
12075 tmp_nm="$ac_dir/$lt_tmp_nm"
12076 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12077 # Check to see if the nm accepts a BSD-compat flag.
12078 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12079 # nm: unknown option "B" ignored
12080 # Tru64's nm complains that /dev/null is an invalid object file
12081 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12082 */dev/null* | *'Invalid file or object type'*)
12083 lt_cv_path_NM="$tmp_nm -B"
12087 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12089 lt_cv_path_NM="$tmp_nm -p"
12093 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12094 continue # so that we can try to find one that supports BSD flags
12103 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12106 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12107 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12108 NM="$lt_cv_path_NM"
12110 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
12111 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
12112 if test "${lt_cv_deplibs_check_method+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 lt_cv_file_magic_cmd='$MAGIC_CMD'
12116 lt_cv_file_magic_test_file=
12117 lt_cv_deplibs_check_method='unknown'
12118 # Need to set the preceding variable on all platforms that support
12119 # interlibrary dependencies.
12120 # 'none' -- dependencies not supported.
12121 # `unknown' -- same as none, but documents that we really don't know.
12122 # 'pass_all' -- all dependencies passed with no checks.
12123 # 'test_compile' -- check by making test program.
12124 # 'file_magic [[regex]]' -- check by looking for files in library path
12125 # which responds to the $file_magic_cmd with a given extended regex.
12126 # If you have `file' or equivalent on your system and you're not sure
12127 # whether `pass_all' will *always* work, you probably want this one.
12131 lt_cv_deplibs_check_method=pass_all
12135 lt_cv_deplibs_check_method=pass_all
12139 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12140 lt_cv_file_magic_cmd='/usr/bin/file -L'
12141 lt_cv_file_magic_test_file=/shlib/libc.so
12145 # func_win32_libid is a shell function defined in ltmain.sh
12146 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12147 lt_cv_file_magic_cmd='func_win32_libid'
12151 # Base MSYS/MinGW do not provide the 'file' command needed by
12152 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12153 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12154 lt_cv_file_magic_cmd='$OBJDUMP -f'
12157 darwin* | rhapsody*)
12158 lt_cv_deplibs_check_method=pass_all
12161 freebsd* | kfreebsd*-gnu | dragonfly*)
12162 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12165 # Not sure whether the presence of OpenBSD here was a mistake.
12166 # Let's accept both of them until this is cleared up.
12167 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12168 lt_cv_file_magic_cmd=/usr/bin/file
12169 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12173 lt_cv_deplibs_check_method=pass_all
12178 lt_cv_deplibs_check_method=pass_all
12181 hpux10.20* | hpux11*)
12182 lt_cv_file_magic_cmd=/usr/bin/file
12185 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12186 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12189 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]'
12190 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12193 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12194 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12200 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12201 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12204 irix5* | irix6* | nonstopux*)
12206 *-32|*"-32 ") libmagic=32-bit;;
12207 *-n32|*"-n32 ") libmagic=N32;;
12208 *-64|*"-64 ") libmagic=64-bit;;
12209 *) libmagic=never-match;;
12211 lt_cv_deplibs_check_method=pass_all
12214 # This must be Linux ELF.
12216 lt_cv_deplibs_check_method=pass_all
12220 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12221 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12223 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12228 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12229 lt_cv_file_magic_cmd=/usr/bin/file
12230 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12234 lt_cv_deplibs_check_method=unknown
12238 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12239 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12241 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12245 osf3* | osf4* | osf5*)
12246 lt_cv_deplibs_check_method=pass_all
12250 lt_cv_deplibs_check_method=pass_all
12254 case $host_vendor in
12256 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]'
12257 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12260 lt_cv_deplibs_check_method=pass_all
12263 lt_cv_file_magic_cmd='/bin/file'
12264 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12267 lt_cv_file_magic_cmd='/bin/file'
12268 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12269 lt_cv_file_magic_test_file=/lib/libc.so
12272 lt_cv_deplibs_check_method=pass_all
12275 lt_cv_deplibs_check_method=pass_all
12280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12281 lt_cv_deplibs_check_method=pass_all
12286 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12287 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12288 file_magic_cmd=$lt_cv_file_magic_cmd
12289 deplibs_check_method=$lt_cv_deplibs_check_method
12290 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12295 # If no C compiler was specified, use CC.
12298 # If no C compiler flags were specified, use CFLAGS.
12299 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12301 # Allow CC to be a program name with arguments.
12304 # Check whether --enable-libtool-lock was given.
12305 if test "${enable_libtool_lock+set}" = set; then
12306 enableval=$enable_libtool_lock;
12309 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12311 # Some flags need to be propagated to the compiler or linker for good
12315 # Find out which ABI we are using.
12316 echo 'int i;' > conftest.$ac_ext
12317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12318 (eval $ac_compile) 2>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); }; then
12322 case `/usr/bin/file conftest.$ac_objext` in
12324 HPUX_IA64_MODE="32"
12327 HPUX_IA64_MODE="64"
12334 # Find out which ABI we are using.
12335 echo '#line 12335 "configure"' > conftest.$ac_ext
12336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12337 (eval $ac_compile) 2>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; then
12341 if test "$lt_cv_prog_gnu_ld" = yes; then
12342 case `/usr/bin/file conftest.$ac_objext` in
12344 LD="${LD-ld} -melf32bsmip"
12347 LD="${LD-ld} -melf32bmipn32"
12350 LD="${LD-ld} -melf64bmip"
12354 case `/usr/bin/file conftest.$ac_objext` in
12370 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12371 # Find out which ABI we are using.
12372 echo 'int i;' > conftest.$ac_ext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12374 (eval $ac_compile) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; then
12378 case `/usr/bin/file conftest.o` in
12382 LD="${LD-ld} -m elf_i386"
12384 ppc64-*linux*|powerpc64-*linux*)
12385 LD="${LD-ld} -m elf32ppclinux"
12388 LD="${LD-ld} -m elf_s390"
12391 LD="${LD-ld} -m elf32_sparc"
12398 LD="${LD-ld} -m elf_x86_64"
12400 ppc*-*linux*|powerpc*-*linux*)
12401 LD="${LD-ld} -m elf64ppc"
12404 LD="${LD-ld} -m elf64_s390"
12407 LD="${LD-ld} -m elf64_sparc"
12417 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12418 SAVE_CFLAGS="$CFLAGS"
12419 CFLAGS="$CFLAGS -belf"
12420 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12421 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
12422 if test "${lt_cv_cc_needs_belf+set}" = set; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 ac_cpp='$CPP $CPPFLAGS'
12427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12431 cat >conftest.$ac_ext <<_ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12446 rm -f conftest.$ac_objext conftest$ac_exeext
12447 if { (ac_try="$ac_link"
12448 case "(($ac_try" in
12449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12450 *) ac_try_echo=$ac_try;;
12452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12453 (eval "$ac_link") 2>conftest.er1
12455 grep -v '^ *+' conftest.er1 >conftest.err
12457 cat conftest.err >&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } && {
12460 test -z "$ac_c_werror_flag" ||
12461 test ! -s conftest.err
12462 } && test -s conftest$ac_exeext &&
12463 $as_test_x conftest$ac_exeext; then
12464 lt_cv_cc_needs_belf=yes
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12469 lt_cv_cc_needs_belf=no
12472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12473 conftest$ac_exeext conftest.$ac_ext
12475 ac_cpp='$CPP $CPPFLAGS'
12476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12481 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12482 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12483 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12484 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12485 CFLAGS="$SAVE_CFLAGS"
12489 # Find out which ABI we are using.
12490 echo 'int i;' > conftest.$ac_ext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12492 (eval $ac_compile) 2>&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; then
12496 case `/usr/bin/file conftest.o` in
12498 case $lt_cv_prog_gnu_ld in
12499 yes*) LD="${LD-ld} -m elf64_sparc" ;;
12500 *) LD="${LD-ld} -64" ;;
12511 need_locks="$enable_libtool_lock"
12515 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12517 if test "${ac_cv_header_stdc+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 cat >conftest.$ac_ext <<_ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12526 #include <stdlib.h>
12527 #include <stdarg.h>
12528 #include <string.h>
12539 rm -f conftest.$ac_objext
12540 if { (ac_try="$ac_compile"
12541 case "(($ac_try" in
12542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12543 *) ac_try_echo=$ac_try;;
12545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12546 (eval "$ac_compile") 2>conftest.er1
12548 grep -v '^ *+' conftest.er1 >conftest.err
12550 cat conftest.err >&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } && {
12553 test -z "$ac_c_werror_flag" ||
12554 test ! -s conftest.err
12555 } && test -s conftest.$ac_objext; then
12556 ac_cv_header_stdc=yes
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 ac_cv_header_stdc=no
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12566 if test $ac_cv_header_stdc = yes; then
12567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12568 cat >conftest.$ac_ext <<_ACEOF
12571 cat confdefs.h >>conftest.$ac_ext
12572 cat >>conftest.$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12574 #include <string.h>
12577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12578 $EGREP "memchr" >/dev/null 2>&1; then
12581 ac_cv_header_stdc=no
12587 if test $ac_cv_header_stdc = yes; then
12588 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12589 cat >conftest.$ac_ext <<_ACEOF
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12595 #include <stdlib.h>
12598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12599 $EGREP "free" >/dev/null 2>&1; then
12602 ac_cv_header_stdc=no
12608 if test $ac_cv_header_stdc = yes; then
12609 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12610 if test "$cross_compiling" = yes; then
12613 cat >conftest.$ac_ext <<_ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12620 #include <stdlib.h>
12621 #if ((' ' & 0x0FF) == 0x020)
12622 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12623 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12625 # define ISLOWER(c) \
12626 (('a' <= (c) && (c) <= 'i') \
12627 || ('j' <= (c) && (c) <= 'r') \
12628 || ('s' <= (c) && (c) <= 'z'))
12629 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12632 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12637 for (i = 0; i < 256; i++)
12638 if (XOR (islower (i), ISLOWER (i))
12639 || toupper (i) != TOUPPER (i))
12644 rm -f conftest$ac_exeext
12645 if { (ac_try="$ac_link"
12646 case "(($ac_try" in
12647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12648 *) ac_try_echo=$ac_try;;
12650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12651 (eval "$ac_link") 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12655 { (case "(($ac_try" in
12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 (eval "$ac_try") 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12666 echo "$as_me: program exited with status $ac_status" >&5
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12670 ( exit $ac_status )
12671 ac_cv_header_stdc=no
12673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12679 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12680 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
12681 if test $ac_cv_header_stdc = yes; then
12683 cat >>confdefs.h <<\_ACEOF
12684 #define STDC_HEADERS 1
12689 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12699 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12700 inttypes.h stdint.h unistd.h
12702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12703 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12705 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 cat >conftest.$ac_ext <<_ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714 $ac_includes_default
12716 #include <$ac_header>
12718 rm -f conftest.$ac_objext
12719 if { (ac_try="$ac_compile"
12720 case "(($ac_try" in
12721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12722 *) ac_try_echo=$ac_try;;
12724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12725 (eval "$ac_compile") 2>conftest.er1
12727 grep -v '^ *+' conftest.er1 >conftest.err
12729 cat conftest.err >&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } && {
12732 test -z "$ac_c_werror_flag" ||
12733 test ! -s conftest.err
12734 } && test -s conftest.$ac_objext; then
12735 eval "$as_ac_Header=yes"
12737 echo "$as_me: failed program was:" >&5
12738 sed 's/^/| /' conftest.$ac_ext >&5
12740 eval "$as_ac_Header=no"
12743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12745 ac_res=`eval echo '${'$as_ac_Header'}'`
12746 { echo "$as_me:$LINENO: result: $ac_res" >&5
12747 echo "${ECHO_T}$ac_res" >&6; }
12748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12749 cat >>confdefs.h <<_ACEOF
12750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12759 for ac_header in dlfcn.h
12761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 ac_res=`eval echo '${'$as_ac_Header'}'`
12769 { echo "$as_me:$LINENO: result: $ac_res" >&5
12770 echo "${ECHO_T}$ac_res" >&6; }
12772 # Is the header compilable?
12773 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12775 cat >conftest.$ac_ext <<_ACEOF
12778 cat confdefs.h >>conftest.$ac_ext
12779 cat >>conftest.$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12781 $ac_includes_default
12782 #include <$ac_header>
12784 rm -f conftest.$ac_objext
12785 if { (ac_try="$ac_compile"
12786 case "(($ac_try" in
12787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;;
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_compile") 2>conftest.er1
12793 grep -v '^ *+' conftest.er1 >conftest.err
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest.$ac_objext; then
12801 ac_header_compiler=yes
12803 echo "$as_me: failed program was:" >&5
12804 sed 's/^/| /' conftest.$ac_ext >&5
12806 ac_header_compiler=no
12809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12811 echo "${ECHO_T}$ac_header_compiler" >&6; }
12813 # Is the header present?
12814 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12816 cat >conftest.$ac_ext <<_ACEOF
12819 cat confdefs.h >>conftest.$ac_ext
12820 cat >>conftest.$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12822 #include <$ac_header>
12824 if { (ac_try="$ac_cpp conftest.$ac_ext"
12825 case "(($ac_try" in
12826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12827 *) ac_try_echo=$ac_try;;
12829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12832 grep -v '^ *+' conftest.er1 >conftest.err
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } >/dev/null && {
12837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12838 test ! -s conftest.err
12840 ac_header_preproc=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 ac_header_preproc=no
12848 rm -f conftest.err conftest.$ac_ext
12849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12850 echo "${ECHO_T}$ac_header_preproc" >&6; }
12852 # So? What about this header?
12853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12859 ac_header_preproc=yes
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12875 ## --------------------------------------------- ##
12876 ## Report this to vserver@list.linux-vserver.org ##
12877 ## --------------------------------------------- ##
12879 ) | sed "s/^/$as_me: WARNING: /" >&2
12882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 eval "$as_ac_Header=\$ac_header_preproc"
12889 ac_res=`eval echo '${'$as_ac_Header'}'`
12890 { echo "$as_me:$LINENO: result: $ac_res" >&5
12891 echo "${ECHO_T}$ac_res" >&6; }
12894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12895 cat >>confdefs.h <<_ACEOF
12896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12905 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12906 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12907 (test "X$CXX" != "Xg++"))) ; then
12909 ac_cpp='$CXXCPP $CPPFLAGS'
12910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12913 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12914 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12915 if test -z "$CXXCPP"; then
12916 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 # Double quotes because CXXCPP needs to be expanded
12920 for CXXCPP in "$CXX -E" "/lib/cpp"
12922 ac_preproc_ok=false
12923 for ac_cxx_preproc_warn_flag in '' yes
12925 # Use a header file that comes with gcc, so configuring glibc
12926 # with a fresh cross-compiler works.
12927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12928 # <limits.h> exists even on freestanding compilers.
12929 # On the NeXT, cc -E runs the code through the compiler's parser,
12930 # not just through cpp. "Syntax error" is here to catch this case.
12931 cat >conftest.$ac_ext <<_ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12938 # include <limits.h>
12940 # include <assert.h>
12944 if { (ac_try="$ac_cpp conftest.$ac_ext"
12945 case "(($ac_try" in
12946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12952 grep -v '^ *+' conftest.er1 >conftest.err
12954 cat conftest.err >&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } >/dev/null && {
12957 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12958 test ! -s conftest.err
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12965 # Broken: fails on valid input.
12969 rm -f conftest.err conftest.$ac_ext
12971 # OK, works on sane cases. Now check whether nonexistent headers
12972 # can be detected and how.
12973 cat >conftest.$ac_ext <<_ACEOF
12976 cat confdefs.h >>conftest.$ac_ext
12977 cat >>conftest.$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12979 #include <ac_nonexistent.h>
12981 if { (ac_try="$ac_cpp conftest.$ac_ext"
12982 case "(($ac_try" in
12983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12984 *) ac_try_echo=$ac_try;;
12986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12989 grep -v '^ *+' conftest.er1 >conftest.err
12991 cat conftest.err >&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } >/dev/null && {
12994 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12995 test ! -s conftest.err
12997 # Broken: success on invalid input.
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13003 # Passes both tests.
13008 rm -f conftest.err conftest.$ac_ext
13011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13012 rm -f conftest.err conftest.$ac_ext
13013 if $ac_preproc_ok; then
13018 ac_cv_prog_CXXCPP=$CXXCPP
13021 CXXCPP=$ac_cv_prog_CXXCPP
13023 ac_cv_prog_CXXCPP=$CXXCPP
13025 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
13026 echo "${ECHO_T}$CXXCPP" >&6; }
13027 ac_preproc_ok=false
13028 for ac_cxx_preproc_warn_flag in '' yes
13030 # Use a header file that comes with gcc, so configuring glibc
13031 # with a fresh cross-compiler works.
13032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13033 # <limits.h> exists even on freestanding compilers.
13034 # On the NeXT, cc -E runs the code through the compiler's parser,
13035 # not just through cpp. "Syntax error" is here to catch this case.
13036 cat >conftest.$ac_ext <<_ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13043 # include <limits.h>
13045 # include <assert.h>
13049 if { (ac_try="$ac_cpp conftest.$ac_ext"
13050 case "(($ac_try" in
13051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13052 *) ac_try_echo=$ac_try;;
13054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13057 grep -v '^ *+' conftest.er1 >conftest.err
13059 cat conftest.err >&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } >/dev/null && {
13062 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13063 test ! -s conftest.err
13067 echo "$as_me: failed program was:" >&5
13068 sed 's/^/| /' conftest.$ac_ext >&5
13070 # Broken: fails on valid input.
13074 rm -f conftest.err conftest.$ac_ext
13076 # OK, works on sane cases. Now check whether nonexistent headers
13077 # can be detected and how.
13078 cat >conftest.$ac_ext <<_ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13084 #include <ac_nonexistent.h>
13086 if { (ac_try="$ac_cpp conftest.$ac_ext"
13087 case "(($ac_try" in
13088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13089 *) ac_try_echo=$ac_try;;
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13094 grep -v '^ *+' conftest.er1 >conftest.err
13096 cat conftest.err >&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } >/dev/null && {
13099 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13100 test ! -s conftest.err
13102 # Broken: success on invalid input.
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.$ac_ext >&5
13108 # Passes both tests.
13113 rm -f conftest.err conftest.$ac_ext
13116 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13117 rm -f conftest.err conftest.$ac_ext
13118 if $ac_preproc_ok; then
13121 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13122 See \`config.log' for more details." >&5
13123 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13124 See \`config.log' for more details." >&2;}
13125 { (exit 1); exit 1; }; }
13129 ac_cpp='$CXXCPP $CPPFLAGS'
13130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13137 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13138 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13139 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13140 if test -n "$ac_tool_prefix"; then
13141 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
13143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13144 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13147 if test "${ac_cv_prog_F77+set}" = set; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 if test -n "$F77"; then
13151 ac_cv_prog_F77="$F77" # Let the user override the test.
13153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13154 for as_dir in $PATH
13157 test -z "$as_dir" && as_dir=.
13158 for ac_exec_ext in '' $ac_executable_extensions; do
13159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13160 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 F77=$ac_cv_prog_F77
13171 if test -n "$F77"; then
13172 { echo "$as_me:$LINENO: result: $F77" >&5
13173 echo "${ECHO_T}$F77" >&6; }
13175 { echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6; }
13180 test -n "$F77" && break
13183 if test -z "$F77"; then
13185 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
13187 # Extract the first word of "$ac_prog", so it can be a program name with args.
13188 set dummy $ac_prog; ac_word=$2
13189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13191 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 if test -n "$ac_ct_F77"; then
13195 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13198 for as_dir in $PATH
13201 test -z "$as_dir" && as_dir=.
13202 for ac_exec_ext in '' $ac_executable_extensions; do
13203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13204 ac_cv_prog_ac_ct_F77="$ac_prog"
13205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13214 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13215 if test -n "$ac_ct_F77"; then
13216 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13217 echo "${ECHO_T}$ac_ct_F77" >&6; }
13219 { echo "$as_me:$LINENO: result: no" >&5
13220 echo "${ECHO_T}no" >&6; }
13224 test -n "$ac_ct_F77" && break
13227 if test "x$ac_ct_F77" = x; then
13230 case $cross_compiling:$ac_tool_warned in
13232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13233 whose name does not start with the host triplet. If you think this
13234 configuration is useful to you, please write to autoconf@gnu.org." >&5
13235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13236 whose name does not start with the host triplet. If you think this
13237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13238 ac_tool_warned=yes ;;
13245 # Provide some information about the compiler.
13246 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13247 ac_compiler=`set X $ac_compile; echo $2`
13248 { (ac_try="$ac_compiler --version >&5"
13249 case "(($ac_try" in
13250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_compiler --version >&5") 2>&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }
13258 { (ac_try="$ac_compiler -v >&5"
13259 case "(($ac_try" in
13260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13261 *) ac_try_echo=$ac_try;;
13263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13264 (eval "$ac_compiler -v >&5") 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }
13268 { (ac_try="$ac_compiler -V >&5"
13269 case "(($ac_try" in
13270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13271 *) ac_try_echo=$ac_try;;
13273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13274 (eval "$ac_compiler -V >&5") 2>&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }
13280 # If we don't use `.F' as extension, the preprocessor is not run on the
13281 # input file. (Note that this only needs to work for GNU compilers.)
13282 ac_save_ext=$ac_ext
13284 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13285 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13286 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 cat >conftest.$ac_ext <<_ACEOF
13297 rm -f conftest.$ac_objext
13298 if { (ac_try="$ac_compile"
13299 case "(($ac_try" in
13300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13301 *) ac_try_echo=$ac_try;;
13303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13304 (eval "$ac_compile") 2>conftest.er1
13306 grep -v '^ *+' conftest.er1 >conftest.err
13308 cat conftest.err >&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } && {
13311 test -z "$ac_f77_werror_flag" ||
13312 test ! -s conftest.err
13313 } && test -s conftest.$ac_objext; then
13314 ac_compiler_gnu=yes
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13323 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13326 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13327 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13328 ac_ext=$ac_save_ext
13329 ac_test_FFLAGS=${FFLAGS+set}
13330 ac_save_FFLAGS=$FFLAGS
13332 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13333 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13334 if test "${ac_cv_prog_f77_g+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 cat >conftest.$ac_ext <<_ACEOF
13343 rm -f conftest.$ac_objext
13344 if { (ac_try="$ac_compile"
13345 case "(($ac_try" in
13346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13347 *) ac_try_echo=$ac_try;;
13349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13350 (eval "$ac_compile") 2>conftest.er1
13352 grep -v '^ *+' conftest.er1 >conftest.err
13354 cat conftest.err >&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } && {
13357 test -z "$ac_f77_werror_flag" ||
13358 test ! -s conftest.err
13359 } && test -s conftest.$ac_objext; then
13360 ac_cv_prog_f77_g=yes
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.$ac_ext >&5
13365 ac_cv_prog_f77_g=no
13368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13371 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13372 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13373 if test "$ac_test_FFLAGS" = set; then
13374 FFLAGS=$ac_save_FFLAGS
13375 elif test $ac_cv_prog_f77_g = yes; then
13376 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13382 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13389 G77=`test $ac_compiler_gnu = yes && echo yes`
13391 ac_cpp='$CPP $CPPFLAGS'
13392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13398 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13400 # find the maximum length of command line arguments
13401 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13402 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13403 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13404 echo $ECHO_N "(cached) $ECHO_C" >&6
13411 # On DJGPP, this test can blow up pretty badly due to problems in libc
13412 # (any single argument exceeding 2000 bytes causes a buffer overrun
13413 # during glob expansion). Even if it were fixed, the result of this
13414 # check would be larger than it should be.
13415 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13419 # Under GNU Hurd, this test is not required because there is
13420 # no limit to the length of command line arguments.
13421 # Libtool will interpret -1 as no limit whatsoever
13422 lt_cv_sys_max_cmd_len=-1;
13426 # On Win9x/ME, this test blows up -- it succeeds, but takes
13427 # about 5 minutes as the teststring grows exponentially.
13428 # Worse, since 9x/ME are not pre-emptively multitasking,
13429 # you end up with a "frozen" computer, even though with patience
13430 # the test eventually succeeds (with a max line length of 256k).
13431 # Instead, let's just punt: use the minimum linelength reported by
13432 # all of the supported platforms: 8192 (on NT/2K/XP).
13433 lt_cv_sys_max_cmd_len=8192;
13437 # On AmigaOS with pdksh, this test takes hours, literally.
13438 # So we just punt and use a minimum line length of 8192.
13439 lt_cv_sys_max_cmd_len=8192;
13442 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13443 # This has been around since 386BSD, at least. Likely further.
13444 if test -x /sbin/sysctl; then
13445 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13446 elif test -x /usr/sbin/sysctl; then
13447 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13449 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13451 # And add a safety zone
13452 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13453 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13457 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13458 lt_cv_sys_max_cmd_len=196608
13462 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13463 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13464 # nice to cause kernel panics so lets avoid the loop below.
13465 # First set a reasonable default.
13466 lt_cv_sys_max_cmd_len=16384
13468 if test -x /sbin/sysconfig; then
13469 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13470 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13475 lt_cv_sys_max_cmd_len=102400
13477 sysv5* | sco5v6* | sysv4.2uw2*)
13478 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13479 if test -n "$kargmax"; then
13480 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13482 lt_cv_sys_max_cmd_len=32768
13486 # If test is not a shell built-in, we'll probably end up computing a
13487 # maximum length that is only half of the actual maximum length, but
13489 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13490 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13491 = "XX$teststring") >/dev/null 2>&1 &&
13492 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13493 lt_cv_sys_max_cmd_len=$new_result &&
13494 test $i != 17 # 1/2 MB should be enough
13497 teststring=$teststring$teststring
13500 # Add a significant safety factor because C++ compilers can tack on massive
13501 # amounts of additional arguments before passing them to the linker.
13502 # It appears as though 1/2 is a usable value.
13503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13509 if test -n $lt_cv_sys_max_cmd_len ; then
13510 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13511 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13513 { echo "$as_me:$LINENO: result: none" >&5
13514 echo "${ECHO_T}none" >&6; }
13520 # Check for command to grab the raw symbol name followed by C symbol from nm.
13521 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13522 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13523 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 # These are sane defaults that work on at least a few old systems.
13528 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13530 # Character class describing NM global symbol codes.
13531 symcode='[BCDEGRST]'
13533 # Regexp to match symbols that can be accessed directly from C.
13534 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13536 # Transform an extracted symbol line into a proper C declaration
13537 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13539 # Transform an extracted symbol line into symbol name and symbol address
13540 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'"
13542 # Define system-specific variables.
13547 cygwin* | mingw* | pw32*)
13548 symcode='[ABCDGISTW]'
13550 hpux*) # Its linker distinguishes data from code symbols
13551 if test "$host_cpu" = ia64; then
13552 symcode='[ABCDEGRST]'
13554 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13555 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'"
13558 if test "$host_cpu" = ia64; then
13559 symcode='[ABCDGIRSTW]'
13560 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13561 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'"
13564 irix* | nonstopux*)
13565 symcode='[BCDEGRST]'
13568 symcode='[BCDEGQRST]'
13579 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13587 # Handle CRLF in mingw tool chain
13591 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13595 # If we're using GNU nm, then use its standard symbol codes.
13596 case `$NM -V 2>&1` in
13597 *GNU* | *'with BFD'*)
13598 symcode='[ABCDGIRSTW]' ;;
13601 # Try without a prefix undercore, then with it.
13602 for ac_symprfx in "" "_"; do
13604 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13605 symxfrm="\\1 $ac_symprfx\\2 \\2"
13607 # Write the raw and C identifiers.
13608 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13610 # Check to see that the pipe works correctly.
13614 cat > conftest.$ac_ext <<EOF
13619 void nm_test_func(){}
13623 int main(){nm_test_var='a';nm_test_func();return(0);}
13626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13627 (eval $ac_compile) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; then
13631 # Now try to grab the symbols.
13633 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13634 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); } && test -s "$nlist"; then
13638 # Try sorting and uniquifying the output.
13639 if sort "$nlist" | uniq > "$nlist"T; then
13640 mv -f "$nlist"T "$nlist"
13645 # Make sure that we snagged all the symbols we need.
13646 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13647 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13648 cat <<EOF > conftest.$ac_ext
13654 # Now generate the symbol file.
13655 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13657 cat <<EOF >> conftest.$ac_ext
13658 #if defined (__STDC__) && __STDC__
13659 # define lt_ptr_t void *
13661 # define lt_ptr_t char *
13665 /* The mapping between symbol names and symbols. */
13670 lt_preloaded_symbols[] =
13673 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13674 cat <<\EOF >> conftest.$ac_ext
13682 # Now try linking the two files.
13683 mv conftest.$ac_objext conftstm.$ac_objext
13684 lt_save_LIBS="$LIBS"
13685 lt_save_CFLAGS="$CFLAGS"
13686 LIBS="conftstm.$ac_objext"
13687 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13689 (eval $ac_link) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13695 LIBS="$lt_save_LIBS"
13696 CFLAGS="$lt_save_CFLAGS"
13698 echo "cannot find nm_test_func in $nlist" >&5
13701 echo "cannot find nm_test_var in $nlist" >&5
13704 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13707 echo "$progname: failed program was:" >&5
13708 cat conftest.$ac_ext >&5
13710 rm -f conftest* conftst*
13712 # Do not use the global_symbol_pipe unless it works.
13713 if test "$pipe_works" = yes; then
13716 lt_cv_sys_global_symbol_pipe=
13722 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13723 lt_cv_sys_global_symbol_to_cdecl=
13725 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13726 { echo "$as_me:$LINENO: result: failed" >&5
13727 echo "${ECHO_T}failed" >&6; }
13729 { echo "$as_me:$LINENO: result: ok" >&5
13730 echo "${ECHO_T}ok" >&6; }
13733 { echo "$as_me:$LINENO: checking for objdir" >&5
13734 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13735 if test "${lt_cv_objdir+set}" = set; then
13736 echo $ECHO_N "(cached) $ECHO_C" >&6
13738 rm -f .libs 2>/dev/null
13739 mkdir .libs 2>/dev/null
13740 if test -d .libs; then
13743 # MS-DOS does not allow filenames that begin with a dot.
13746 rmdir .libs 2>/dev/null
13748 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13749 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13750 objdir=$lt_cv_objdir
13758 # AIX sometimes has problems with the GCC collect2 program. For some
13759 # reason, if we set the COLLECT_NAMES environment variable, the problems
13760 # vanish in a puff of smoke.
13761 if test "X${COLLECT_NAMES+set}" != Xset; then
13763 export COLLECT_NAMES
13768 # Sed substitution that helps us do robust quoting. It backslashifies
13769 # metacharacters that are still active within double-quoted strings.
13770 Xsed='sed -e 1s/^X//'
13771 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13773 # Same as above, but do not quote variable references.
13774 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
13776 # Sed substitution to delay expansion of an escaped shell variable in a
13777 # double_quote_subst'ed string.
13778 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13780 # Sed substitution to avoid accidental globbing in evaled expressions
13781 no_glob_subst='s/\*/\\\*/g'
13786 # Global variables:
13787 default_ofile=libtool
13788 can_build_shared=yes
13790 # All known linkers require a `.a' archive for static linking (except MSVC,
13791 # which needs '.lib').
13793 ltmain="$ac_aux_dir/ltmain.sh"
13794 ofile="$default_ofile"
13795 with_gnu_ld="$lt_cv_prog_gnu_ld"
13797 if test -n "$ac_tool_prefix"; then
13798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13799 set dummy ${ac_tool_prefix}ar; ac_word=$2
13800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13802 if test "${ac_cv_prog_AR+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 if test -n "$AR"; then
13806 ac_cv_prog_AR="$AR" # Let the user override the test.
13808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13809 for as_dir in $PATH
13812 test -z "$as_dir" && as_dir=.
13813 for ac_exec_ext in '' $ac_executable_extensions; do
13814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13815 ac_cv_prog_AR="${ac_tool_prefix}ar"
13816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13826 if test -n "$AR"; then
13827 { echo "$as_me:$LINENO: result: $AR" >&5
13828 echo "${ECHO_T}$AR" >&6; }
13830 { echo "$as_me:$LINENO: result: no" >&5
13831 echo "${ECHO_T}no" >&6; }
13836 if test -z "$ac_cv_prog_AR"; then
13838 # Extract the first word of "ar", so it can be a program name with args.
13839 set dummy ar; ac_word=$2
13840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13842 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 if test -n "$ac_ct_AR"; then
13846 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13849 for as_dir in $PATH
13852 test -z "$as_dir" && as_dir=.
13853 for ac_exec_ext in '' $ac_executable_extensions; do
13854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13855 ac_cv_prog_ac_ct_AR="ar"
13856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13865 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13866 if test -n "$ac_ct_AR"; then
13867 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13868 echo "${ECHO_T}$ac_ct_AR" >&6; }
13870 { echo "$as_me:$LINENO: result: no" >&5
13871 echo "${ECHO_T}no" >&6; }
13874 if test "x$ac_ct_AR" = x; then
13877 case $cross_compiling:$ac_tool_warned in
13879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13880 whose name does not start with the host triplet. If you think this
13881 configuration is useful to you, please write to autoconf@gnu.org." >&5
13882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13883 whose name does not start with the host triplet. If you think this
13884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13885 ac_tool_warned=yes ;;
13890 AR="$ac_cv_prog_AR"
13893 if test -n "$ac_tool_prefix"; then
13894 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13895 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13898 if test "${ac_cv_prog_RANLIB+set}" = set; then
13899 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 if test -n "$RANLIB"; then
13902 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905 for as_dir in $PATH
13908 test -z "$as_dir" && as_dir=.
13909 for ac_exec_ext in '' $ac_executable_extensions; do
13910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13911 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13921 RANLIB=$ac_cv_prog_RANLIB
13922 if test -n "$RANLIB"; then
13923 { echo "$as_me:$LINENO: result: $RANLIB" >&5
13924 echo "${ECHO_T}$RANLIB" >&6; }
13926 { echo "$as_me:$LINENO: result: no" >&5
13927 echo "${ECHO_T}no" >&6; }
13932 if test -z "$ac_cv_prog_RANLIB"; then
13933 ac_ct_RANLIB=$RANLIB
13934 # Extract the first word of "ranlib", so it can be a program name with args.
13935 set dummy ranlib; ac_word=$2
13936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13938 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 if test -n "$ac_ct_RANLIB"; then
13942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13948 test -z "$as_dir" && as_dir=.
13949 for ac_exec_ext in '' $ac_executable_extensions; do
13950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13951 ac_cv_prog_ac_ct_RANLIB="ranlib"
13952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13962 if test -n "$ac_ct_RANLIB"; then
13963 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13964 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
13966 { echo "$as_me:$LINENO: result: no" >&5
13967 echo "${ECHO_T}no" >&6; }
13970 if test "x$ac_ct_RANLIB" = x; then
13973 case $cross_compiling:$ac_tool_warned in
13975 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13976 whose name does not start with the host triplet. If you think this
13977 configuration is useful to you, please write to autoconf@gnu.org." >&5
13978 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13979 whose name does not start with the host triplet. If you think this
13980 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13981 ac_tool_warned=yes ;;
13983 RANLIB=$ac_ct_RANLIB
13986 RANLIB="$ac_cv_prog_RANLIB"
13989 if test -n "$ac_tool_prefix"; then
13990 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13991 set dummy ${ac_tool_prefix}strip; ac_word=$2
13992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13994 if test "${ac_cv_prog_STRIP+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 if test -n "$STRIP"; then
13998 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14001 for as_dir in $PATH
14004 test -z "$as_dir" && as_dir=.
14005 for ac_exec_ext in '' $ac_executable_extensions; do
14006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14007 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14017 STRIP=$ac_cv_prog_STRIP
14018 if test -n "$STRIP"; then
14019 { echo "$as_me:$LINENO: result: $STRIP" >&5
14020 echo "${ECHO_T}$STRIP" >&6; }
14022 { echo "$as_me:$LINENO: result: no" >&5
14023 echo "${ECHO_T}no" >&6; }
14028 if test -z "$ac_cv_prog_STRIP"; then
14030 # Extract the first word of "strip", so it can be a program name with args.
14031 set dummy strip; ac_word=$2
14032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14034 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 if test -n "$ac_ct_STRIP"; then
14038 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14041 for as_dir in $PATH
14044 test -z "$as_dir" && as_dir=.
14045 for ac_exec_ext in '' $ac_executable_extensions; do
14046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14047 ac_cv_prog_ac_ct_STRIP="strip"
14048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14057 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14058 if test -n "$ac_ct_STRIP"; then
14059 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14060 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14062 { echo "$as_me:$LINENO: result: no" >&5
14063 echo "${ECHO_T}no" >&6; }
14066 if test "x$ac_ct_STRIP" = x; then
14069 case $cross_compiling:$ac_tool_warned in
14071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14072 whose name does not start with the host triplet. If you think this
14073 configuration is useful to you, please write to autoconf@gnu.org." >&5
14074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14075 whose name does not start with the host triplet. If you think this
14076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14077 ac_tool_warned=yes ;;
14082 STRIP="$ac_cv_prog_STRIP"
14087 old_CFLAGS="$CFLAGS"
14089 # Set sane defaults for various variables
14090 test -z "$AR" && AR=ar
14091 test -z "$AR_FLAGS" && AR_FLAGS=cru
14092 test -z "$AS" && AS=as
14093 test -z "$CC" && CC=cc
14094 test -z "$LTCC" && LTCC=$CC
14095 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14096 test -z "$DLLTOOL" && DLLTOOL=dlltool
14097 test -z "$LD" && LD=ld
14098 test -z "$LN_S" && LN_S="ln -s"
14099 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14100 test -z "$NM" && NM=nm
14101 test -z "$SED" && SED=sed
14102 test -z "$OBJDUMP" && OBJDUMP=objdump
14103 test -z "$RANLIB" && RANLIB=:
14104 test -z "$STRIP" && STRIP=:
14105 test -z "$ac_objext" && ac_objext=o
14107 # Determine commands to create old-style static archives.
14108 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14109 old_postinstall_cmds='chmod 644 $oldlib'
14110 old_postuninstall_cmds=
14112 if test -n "$RANLIB"; then
14115 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14118 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14121 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14124 for cc_temp in $compiler""; do
14126 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14127 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14132 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14135 # Only perform the check for file, if the check method requires it
14136 case $deplibs_check_method in
14138 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14139 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14140 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14141 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14149 lt_save_MAGIC_CMD="$MAGIC_CMD"
14150 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14151 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14152 for ac_dir in $ac_dummy; do
14154 test -z "$ac_dir" && ac_dir=.
14155 if test -f $ac_dir/${ac_tool_prefix}file; then
14156 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14157 if test -n "$file_magic_test_file"; then
14158 case $deplibs_check_method in
14160 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14161 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14162 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14163 $EGREP "$file_magic_regex" > /dev/null; then
14168 *** Warning: the command libtool uses to detect shared libraries,
14169 *** $file_magic_cmd, produces output that libtool cannot recognize.
14170 *** The result is that libtool may fail to recognize shared libraries
14171 *** as such. This will affect the creation of libtool libraries that
14172 *** depend on shared libraries, but programs linked with such libtool
14173 *** libraries will work regardless of this problem. Nevertheless, you
14174 *** may want to report the problem to your system manager and/or to
14175 *** bug-libtool@gnu.org
14185 MAGIC_CMD="$lt_save_MAGIC_CMD"
14190 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14191 if test -n "$MAGIC_CMD"; then
14192 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14193 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14195 { echo "$as_me:$LINENO: result: no" >&5
14196 echo "${ECHO_T}no" >&6; }
14199 if test -z "$lt_cv_path_MAGIC_CMD"; then
14200 if test -n "$ac_tool_prefix"; then
14201 { echo "$as_me:$LINENO: checking for file" >&5
14202 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14203 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14211 lt_save_MAGIC_CMD="$MAGIC_CMD"
14212 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14213 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14214 for ac_dir in $ac_dummy; do
14216 test -z "$ac_dir" && ac_dir=.
14217 if test -f $ac_dir/file; then
14218 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14219 if test -n "$file_magic_test_file"; then
14220 case $deplibs_check_method in
14222 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14223 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14224 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14225 $EGREP "$file_magic_regex" > /dev/null; then
14230 *** Warning: the command libtool uses to detect shared libraries,
14231 *** $file_magic_cmd, produces output that libtool cannot recognize.
14232 *** The result is that libtool may fail to recognize shared libraries
14233 *** as such. This will affect the creation of libtool libraries that
14234 *** depend on shared libraries, but programs linked with such libtool
14235 *** libraries will work regardless of this problem. Nevertheless, you
14236 *** may want to report the problem to your system manager and/or to
14237 *** bug-libtool@gnu.org
14247 MAGIC_CMD="$lt_save_MAGIC_CMD"
14252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14253 if test -n "$MAGIC_CMD"; then
14254 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14255 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14257 { echo "$as_me:$LINENO: result: no" >&5
14258 echo "${ECHO_T}no" >&6; }
14271 enable_win32_dll=no
14273 # Check whether --enable-libtool-lock was given.
14274 if test "${enable_libtool_lock+set}" = set; then
14275 enableval=$enable_libtool_lock;
14278 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14281 # Check whether --with-pic was given.
14282 if test "${with_pic+set}" = set; then
14283 withval=$with_pic; pic_mode="$withval"
14288 test -z "$pic_mode" && pic_mode=default
14290 # Use C for the default configuration in the libtool script
14294 ac_cpp='$CPP $CPPFLAGS'
14295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14300 # Source file extension for C test sources.
14303 # Object file extension for compiled C test sources.
14307 # Code to be used in simple compile tests
14308 lt_simple_compile_test_code="int some_variable = 0;\n"
14310 # Code to be used in simple link tests
14311 lt_simple_link_test_code='int main(){return(0);}\n'
14314 # If no C compiler was specified, use CC.
14317 # If no C compiler flags were specified, use CFLAGS.
14318 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14320 # Allow CC to be a program name with arguments.
14324 # save warnings/boilerplate of simple test code
14325 ac_outfile=conftest.$ac_objext
14326 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14327 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14328 _lt_compiler_boilerplate=`cat conftest.err`
14331 ac_outfile=conftest.$ac_objext
14332 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14333 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14334 _lt_linker_boilerplate=`cat conftest.err`
14339 lt_prog_compiler_no_builtin_flag=
14341 if test "$GCC" = yes; then
14342 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14345 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14346 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14347 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 lt_cv_prog_compiler_rtti_exceptions=no
14351 ac_outfile=conftest.$ac_objext
14352 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14353 lt_compiler_flag="-fno-rtti -fno-exceptions"
14354 # Insert the option either (1) after the last *FLAGS variable, or
14355 # (2) before a word containing "conftest.", or (3) at the end.
14356 # Note that $ac_compile itself does not contain backslashes and begins
14357 # with a dollar sign (not a hyphen), so the echo should work correctly.
14358 # The option is referenced via a variable to avoid confusing sed.
14359 lt_compile=`echo "$ac_compile" | $SED \
14360 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14362 -e 's:$: $lt_compiler_flag:'`
14363 (eval echo "\"\$as_me:14363: $lt_compile\"" >&5)
14364 (eval "$lt_compile" 2>conftest.err)
14366 cat conftest.err >&5
14367 echo "$as_me:14367: \$? = $ac_status" >&5
14368 if (exit $ac_status) && test -s "$ac_outfile"; then
14369 # The compiler can only warn and ignore the option if not recognized
14370 # So say no if there are warnings other than the usual output.
14371 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14372 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14373 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14374 lt_cv_prog_compiler_rtti_exceptions=yes
14380 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14381 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14383 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14384 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14391 lt_prog_compiler_wl=
14392 lt_prog_compiler_pic=
14393 lt_prog_compiler_static=
14395 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14396 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14398 if test "$GCC" = yes; then
14399 lt_prog_compiler_wl='-Wl,'
14400 lt_prog_compiler_static='-static'
14404 # All AIX code is PIC.
14405 if test "$host_cpu" = ia64; then
14406 # AIX 5 now supports IA64 processor
14407 lt_prog_compiler_static='-Bstatic'
14412 # FIXME: we need at least 68020 code to build shared libraries, but
14413 # adding the `-m68020' flag to GCC prevents building anything better,
14415 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14418 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14419 # PIC is the default for these OSes.
14422 mingw* | pw32* | os2*)
14423 # This hack is so that the source file can tell whether it is being
14424 # built for inclusion in a dll (and should export symbols for example).
14425 lt_prog_compiler_pic='-DDLL_EXPORT'
14428 darwin* | rhapsody*)
14429 # PIC is the default on this platform
14430 # Common symbols not allowed in MH_DYLIB files
14431 lt_prog_compiler_pic='-fno-common'
14435 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14436 # Instead, we relocate shared libraries at runtime.
14440 # Just because we use GCC doesn't mean we suddenly get shared libraries
14441 # on systems that don't support them.
14442 lt_prog_compiler_can_build_shared=no
14447 if test -d /usr/nec; then
14448 lt_prog_compiler_pic=-Kconform_pic
14453 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14454 # not for PA HP-UX.
14460 lt_prog_compiler_pic='-fPIC'
14466 lt_prog_compiler_pic='-fPIC'
14470 # PORTME Check for flag to pass linker flags through the system compiler.
14473 lt_prog_compiler_wl='-Wl,'
14474 if test "$host_cpu" = ia64; then
14475 # AIX 5 now supports IA64 processor
14476 lt_prog_compiler_static='-Bstatic'
14478 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14482 # PIC is the default on this platform
14483 # Common symbols not allowed in MH_DYLIB files
14484 case $cc_basename in
14486 lt_prog_compiler_pic='-qnocommon'
14487 lt_prog_compiler_wl='-Wl,'
14492 mingw* | pw32* | os2*)
14493 # This hack is so that the source file can tell whether it is being
14494 # built for inclusion in a dll (and should export symbols for example).
14495 lt_prog_compiler_pic='-DDLL_EXPORT'
14498 hpux9* | hpux10* | hpux11*)
14499 lt_prog_compiler_wl='-Wl,'
14500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14501 # not for PA HP-UX.
14507 lt_prog_compiler_pic='+Z'
14510 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14511 lt_prog_compiler_static='${wl}-a ${wl}archive'
14514 irix5* | irix6* | nonstopux*)
14515 lt_prog_compiler_wl='-Wl,'
14516 # PIC (with -KPIC) is the default.
14517 lt_prog_compiler_static='-non_shared'
14521 lt_prog_compiler_pic='-KPIC'
14522 lt_prog_compiler_static='-Bstatic'
14526 case $cc_basename in
14528 lt_prog_compiler_wl='-Wl,'
14529 lt_prog_compiler_pic='-KPIC'
14530 lt_prog_compiler_static='-static'
14532 pgcc* | pgf77* | pgf90* | pgf95*)
14533 # Portland Group compilers (*not* the Pentium gcc compiler,
14534 # which looks to be a dead project)
14535 lt_prog_compiler_wl='-Wl,'
14536 lt_prog_compiler_pic='-fpic'
14537 lt_prog_compiler_static='-Bstatic'
14540 lt_prog_compiler_wl='-Wl,'
14541 # All Alpha code is PIC.
14542 lt_prog_compiler_static='-non_shared'
14547 osf3* | osf4* | osf5*)
14548 lt_prog_compiler_wl='-Wl,'
14549 # All OSF/1 code is PIC.
14550 lt_prog_compiler_static='-non_shared'
14554 lt_prog_compiler_pic='-KPIC'
14555 lt_prog_compiler_static='-Bstatic'
14556 case $cc_basename in
14557 f77* | f90* | f95*)
14558 lt_prog_compiler_wl='-Qoption ld ';;
14560 lt_prog_compiler_wl='-Wl,';;
14565 lt_prog_compiler_wl='-Qoption ld '
14566 lt_prog_compiler_pic='-PIC'
14567 lt_prog_compiler_static='-Bstatic'
14570 sysv4 | sysv4.2uw2* | sysv4.3*)
14571 lt_prog_compiler_wl='-Wl,'
14572 lt_prog_compiler_pic='-KPIC'
14573 lt_prog_compiler_static='-Bstatic'
14577 if test -d /usr/nec ;then
14578 lt_prog_compiler_pic='-Kconform_pic'
14579 lt_prog_compiler_static='-Bstatic'
14583 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14584 lt_prog_compiler_wl='-Wl,'
14585 lt_prog_compiler_pic='-KPIC'
14586 lt_prog_compiler_static='-Bstatic'
14590 lt_prog_compiler_wl='-Wl,'
14591 lt_prog_compiler_can_build_shared=no
14595 lt_prog_compiler_pic='-pic'
14596 lt_prog_compiler_static='-Bstatic'
14600 lt_prog_compiler_can_build_shared=no
14605 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
14606 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14609 # Check to make sure the PIC flag actually works.
14611 if test -n "$lt_prog_compiler_pic"; then
14613 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14614 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
14615 if test "${lt_prog_compiler_pic_works+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 lt_prog_compiler_pic_works=no
14619 ac_outfile=conftest.$ac_objext
14620 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14621 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14622 # Insert the option either (1) after the last *FLAGS variable, or
14623 # (2) before a word containing "conftest.", or (3) at the end.
14624 # Note that $ac_compile itself does not contain backslashes and begins
14625 # with a dollar sign (not a hyphen), so the echo should work correctly.
14626 # The option is referenced via a variable to avoid confusing sed.
14627 lt_compile=`echo "$ac_compile" | $SED \
14628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14630 -e 's:$: $lt_compiler_flag:'`
14631 (eval echo "\"\$as_me:14631: $lt_compile\"" >&5)
14632 (eval "$lt_compile" 2>conftest.err)
14634 cat conftest.err >&5
14635 echo "$as_me:14635: \$? = $ac_status" >&5
14636 if (exit $ac_status) && test -s "$ac_outfile"; then
14637 # The compiler can only warn and ignore the option if not recognized
14638 # So say no if there are warnings other than the usual output.
14639 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14640 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14641 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14642 lt_prog_compiler_pic_works=yes
14648 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
14649 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14651 if test x"$lt_prog_compiler_pic_works" = xyes; then
14652 case $lt_prog_compiler_pic in
14654 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14657 lt_prog_compiler_pic=
14658 lt_prog_compiler_can_build_shared=no
14663 # For platforms which do not support PIC, -DPIC is meaningless:
14665 lt_prog_compiler_pic=
14668 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14673 # Check to make sure the static flag actually works.
14675 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14676 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14677 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14678 if test "${lt_prog_compiler_static_works+set}" = set; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 lt_prog_compiler_static_works=no
14682 save_LDFLAGS="$LDFLAGS"
14683 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14684 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14685 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14686 # The linker can only warn and ignore the option if not recognized
14687 # So say no if there are warnings
14688 if test -s conftest.err; then
14689 # Append any errors to the config.log.
14690 cat conftest.err 1>&5
14691 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14692 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14693 if diff conftest.exp conftest.er2 >/dev/null; then
14694 lt_prog_compiler_static_works=yes
14697 lt_prog_compiler_static_works=yes
14701 LDFLAGS="$save_LDFLAGS"
14704 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
14705 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14707 if test x"$lt_prog_compiler_static_works" = xyes; then
14710 lt_prog_compiler_static=
14714 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14715 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14716 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 lt_cv_prog_compiler_c_o=no
14720 $rm -r conftest 2>/dev/null
14724 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14726 lt_compiler_flag="-o out/conftest2.$ac_objext"
14727 # Insert the option either (1) after the last *FLAGS variable, or
14728 # (2) before a word containing "conftest.", or (3) at the end.
14729 # Note that $ac_compile itself does not contain backslashes and begins
14730 # with a dollar sign (not a hyphen), so the echo should work correctly.
14731 lt_compile=`echo "$ac_compile" | $SED \
14732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14734 -e 's:$: $lt_compiler_flag:'`
14735 (eval echo "\"\$as_me:14735: $lt_compile\"" >&5)
14736 (eval "$lt_compile" 2>out/conftest.err)
14738 cat out/conftest.err >&5
14739 echo "$as_me:14739: \$? = $ac_status" >&5
14740 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14742 # The compiler can only warn and ignore the option if not recognized
14743 # So say no if there are warnings
14744 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14745 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14746 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14747 lt_cv_prog_compiler_c_o=yes
14752 # SGI C++ compiler will create directory out/ii_files/ for
14753 # template instantiation
14754 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14755 $rm out/* && rmdir out
14761 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
14762 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14765 hard_links="nottested"
14766 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14767 # do not overwrite the value of need_locks provided by the user
14768 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14769 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14772 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14774 ln conftest.a conftest.b 2>&5 || hard_links=no
14775 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14776 { echo "$as_me:$LINENO: result: $hard_links" >&5
14777 echo "${ECHO_T}$hard_links" >&6; }
14778 if test "$hard_links" = no; then
14779 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14780 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14787 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14788 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14791 allow_undefined_flag=
14792 enable_shared_with_static_runtimes=no
14794 archive_expsym_cmds=
14795 old_archive_From_new_cmds=
14796 old_archive_from_expsyms_cmds=
14797 export_dynamic_flag_spec=
14798 whole_archive_flag_spec=
14799 thread_safe_flag_spec=
14800 hardcode_libdir_flag_spec=
14801 hardcode_libdir_flag_spec_ld=
14802 hardcode_libdir_separator=
14804 hardcode_minus_L=no
14805 hardcode_shlibpath_var=unsupported
14806 link_all_deplibs=unknown
14807 hardcode_automatic=no
14809 module_expsym_cmds=
14810 always_export_symbols=no
14811 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14812 # include_expsyms should be a list of space-separated symbols to be *always*
14813 # included in the symbol list
14815 # exclude_expsyms can be an extended regexp of symbols to exclude
14816 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14817 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14818 # as well as any symbol that contains `d'.
14819 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
14820 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14821 # platforms (ab)use it in PIC code, but their linkers get confused if
14822 # the symbol is explicitly referenced. Since portable code cannot
14823 # rely on this symbol name, it's probably fine to never include it in
14824 # preloaded symbol tables.
14825 extract_expsyms_cmds=
14826 # Just being paranoid about ensuring that cc_basename is set.
14827 for cc_temp in $compiler""; do
14829 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14830 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14835 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14838 cygwin* | mingw* | pw32*)
14839 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14840 # When not using gcc, we currently assume that we are using
14841 # Microsoft Visual C++.
14842 if test "$GCC" != yes; then
14847 # we just hope/assume this is gcc and not c89 (= MSVC++)
14856 if test "$with_gnu_ld" = yes; then
14857 # If archive_cmds runs LD, not CC, wlarc should be empty
14860 # Set some defaults for GNU ld with shared library support. These
14861 # are reset later if shared libraries are not supported. Putting them
14862 # here allows them to be overridden if necessary.
14863 runpath_var=LD_RUN_PATH
14864 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14865 export_dynamic_flag_spec='${wl}--export-dynamic'
14866 # ancient GNU ld didn't support --whole-archive et. al.
14867 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14868 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14870 whole_archive_flag_spec=
14872 supports_anon_versioning=no
14873 case `$LD -v 2>/dev/null` in
14874 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14875 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14876 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14877 *\ 2.11.*) ;; # other 2.11 versions
14878 *) supports_anon_versioning=yes ;;
14881 # See if GNU ld supports shared libraries.
14883 aix3* | aix4* | aix5*)
14884 # On AIX/PPC, the GNU linker is very broken
14885 if test "$host_cpu" != ia64; then
14889 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14890 *** to be unable to reliably create shared libraries on AIX.
14891 *** Therefore, libtool is disabling shared libraries support. If you
14892 *** really care for shared libraries, you may want to modify your PATH
14893 *** so that a non-GNU linker is found, and then restart.
14900 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)'
14901 hardcode_libdir_flag_spec='-L$libdir'
14902 hardcode_minus_L=yes
14904 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14905 # that the semantics of dynamic libraries on AmigaOS, at least up
14906 # to version 4, is to share data among multiple programs linked
14907 # with the same dynamic library. Since this doesn't match the
14908 # behavior of shared libraries on other platforms, we can't use
14914 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14915 allow_undefined_flag=unsupported
14916 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14917 # support --undefined. This deserves some investigation. FIXME
14918 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14924 cygwin* | mingw* | pw32*)
14925 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14926 # as there is no search path for DLLs.
14927 hardcode_libdir_flag_spec='-L$libdir'
14928 allow_undefined_flag=unsupported
14929 always_export_symbols=no
14930 enable_shared_with_static_runtimes=yes
14931 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14933 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14934 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14935 # If the export-symbols file already is a .def file (1st line
14936 # is EXPORTS), use it as is; otherwise, prepend...
14937 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14938 cp $export_symbols $output_objdir/$soname.def;
14940 echo EXPORTS > $output_objdir/$soname.def;
14941 cat $export_symbols >> $output_objdir/$soname.def;
14943 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14951 hardcode_shlibpath_var=no
14952 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14953 export_dynamic_flag_spec='${wl}-E'
14954 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14955 # Instead, shared libraries are loaded at an image base (0x10000000 by
14956 # default) and relocated if they conflict, which is a slow very memory
14957 # consuming and fragmenting process. To avoid this, we pick a random,
14958 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14959 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14960 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14961 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'
14965 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14967 case $cc_basename,$host_cpu in
14968 pgcc*) # Portland Group C compiler
14969 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'
14970 tmp_addflag=' $pic_flag'
14972 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14973 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'
14974 tmp_addflag=' $pic_flag -Mnomain' ;;
14975 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14976 tmp_addflag=' -i_dynamic' ;;
14977 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14978 tmp_addflag=' -i_dynamic -nofor_main' ;;
14979 ifc* | ifort*) # Intel Fortran compiler
14980 tmp_addflag=' -nofor_main' ;;
14982 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14984 if test $supports_anon_versioning = yes; then
14985 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
14986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14987 $echo "local: *; };" >> $output_objdir/$libname.ver~
14988 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14996 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14997 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15000 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15001 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15006 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15010 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15011 *** create shared libraries on Solaris systems. Therefore, libtool
15012 *** is disabling shared libraries support. We urge you to upgrade GNU
15013 *** binutils to release 2.9.1 or newer. Another option is to modify
15014 *** your PATH or compiler configuration so that the native linker is
15015 *** used, and then restart.
15018 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15020 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15027 case `$LD -v 2>&1` in
15028 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15032 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15033 *** reliably create shared libraries on SCO systems. Therefore, libtool
15034 *** is disabling shared libraries support. We urge you to upgrade GNU
15035 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15036 *** your PATH or compiler configuration so that the native linker is
15037 *** used, and then restart.
15042 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15043 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15044 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15045 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15054 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15056 hardcode_direct=yes
15057 hardcode_shlibpath_var=no
15061 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15062 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15063 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15070 if test "$ld_shlibs" = no; then
15072 hardcode_libdir_flag_spec=
15073 export_dynamic_flag_spec=
15074 whole_archive_flag_spec=
15077 # PORTME fill in a description of your system's linker (not GNU ld)
15080 allow_undefined_flag=unsupported
15081 always_export_symbols=yes
15082 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'
15083 # Note: this linker hardcodes the directories in LIBPATH if there
15084 # are no directories specified by -L.
15085 hardcode_minus_L=yes
15086 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15087 # Neither direct hardcoding nor static linking is supported with a
15089 hardcode_direct=unsupported
15094 if test "$host_cpu" = ia64; then
15095 # On IA64, the linker does run time linking by default, so we don't
15096 # have to do anything special.
15097 aix_use_runtimelinking=no
15098 exp_sym_flag='-Bexport'
15101 # If we're using GNU nm, then we don't want the "-C" option.
15102 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15103 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15104 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'
15106 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'
15108 aix_use_runtimelinking=no
15110 # Test if we are trying to use run time linking or normal
15111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15112 # need to do runtime linking.
15113 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15114 for ld_flag in $LDFLAGS; do
15115 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15116 aix_use_runtimelinking=yes
15123 exp_sym_flag='-bexport'
15124 no_entry_flag='-bnoentry'
15127 # When large executables or shared objects are built, AIX ld can
15128 # have problems creating the table of contents. If linking a library
15129 # or program results in "error TOC overflow" add -mminimal-toc to
15130 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15131 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15134 hardcode_direct=yes
15135 hardcode_libdir_separator=':'
15136 link_all_deplibs=yes
15138 if test "$GCC" = yes; then
15139 case $host_os in aix4.[012]|aix4.[012].*)
15140 # We only want to do this on AIX 4.2 and lower, the check
15141 # below for broken collect2 doesn't work under 4.3+
15142 collect2name=`${CC} -print-prog-name=collect2`
15143 if test -f "$collect2name" && \
15144 strings "$collect2name" | grep resolve_lib_name >/dev/null
15146 # We have reworked collect2
15147 hardcode_direct=yes
15149 # We have old collect2
15150 hardcode_direct=unsupported
15151 # It fails to find uninstalled libraries when the uninstalled
15152 # path is not listed in the libpath. Setting hardcode_minus_L
15153 # to unsupported forces relinking
15154 hardcode_minus_L=yes
15155 hardcode_libdir_flag_spec='-L$libdir'
15156 hardcode_libdir_separator=
15160 shared_flag='-shared'
15161 if test "$aix_use_runtimelinking" = yes; then
15162 shared_flag="$shared_flag "'${wl}-G'
15166 if test "$host_cpu" = ia64; then
15167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15168 # chokes on -Wl,-G. The following line is correct:
15171 if test "$aix_use_runtimelinking" = yes; then
15172 shared_flag='${wl}-G'
15174 shared_flag='${wl}-bM:SRE'
15179 # It seems that -bexpall does not export symbols beginning with
15180 # underscore (_), so it is better to generate a list of symbols to export.
15181 always_export_symbols=yes
15182 if test "$aix_use_runtimelinking" = yes; then
15183 # Warning - without using the other runtime loading flags (-brtl),
15184 # -berok will link without error, but may produce a broken library.
15185 allow_undefined_flag='-berok'
15186 # Determine the default libpath from the value encoded in an empty executable.
15187 cat >conftest.$ac_ext <<_ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15202 rm -f conftest.$ac_objext conftest$ac_exeext
15203 if { (ac_try="$ac_link"
15204 case "(($ac_try" in
15205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15206 *) ac_try_echo=$ac_try;;
15208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15209 (eval "$ac_link") 2>conftest.er1
15211 grep -v '^ *+' conftest.er1 >conftest.err
15213 cat conftest.err >&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } && {
15216 test -z "$ac_c_werror_flag" ||
15217 test ! -s conftest.err
15218 } && test -s conftest$ac_exeext &&
15219 $as_test_x conftest$ac_exeext; then
15221 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15223 # Check for a 64-bit object if we didn't find anything.
15224 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; }
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15234 conftest$ac_exeext conftest.$ac_ext
15235 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15237 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15238 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"
15240 if test "$host_cpu" = ia64; then
15241 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15242 allow_undefined_flag="-z nodefs"
15243 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"
15245 # Determine the default libpath from the value encoded in an empty executable.
15246 cat >conftest.$ac_ext <<_ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15261 rm -f conftest.$ac_objext conftest$ac_exeext
15262 if { (ac_try="$ac_link"
15263 case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_link") 2>conftest.er1
15270 grep -v '^ *+' conftest.er1 >conftest.err
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest$ac_exeext &&
15278 $as_test_x conftest$ac_exeext; then
15280 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15282 # Check for a 64-bit object if we didn't find anything.
15283 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; }
15286 echo "$as_me: failed program was:" >&5
15287 sed 's/^/| /' conftest.$ac_ext >&5
15292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15293 conftest$ac_exeext conftest.$ac_ext
15294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15296 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15297 # Warning - without using the other run time loading flags,
15298 # -berok will link without error, but may produce a broken library.
15299 no_undefined_flag=' ${wl}-bernotok'
15300 allow_undefined_flag=' ${wl}-berok'
15301 # Exported symbols can be pulled into shared objects from archives
15302 whole_archive_flag_spec='$convenience'
15303 archive_cmds_need_lc=yes
15304 # This is similar to how AIX traditionally builds its shared libraries.
15305 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'
15311 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)'
15312 hardcode_libdir_flag_spec='-L$libdir'
15313 hardcode_minus_L=yes
15314 # see comment about different semantics on the GNU ld section
15319 export_dynamic_flag_spec=-rdynamic
15322 cygwin* | mingw* | pw32*)
15323 # When not using gcc, we currently assume that we are using
15324 # Microsoft Visual C++.
15325 # hardcode_libdir_flag_spec is actually meaningless, as there is
15326 # no search path for DLLs.
15327 hardcode_libdir_flag_spec=' '
15328 allow_undefined_flag=unsupported
15329 # Tell ltmain to make .lib files, not .a files.
15331 # Tell ltmain to make .dll files, not .so files.
15333 # FIXME: Setting linknames here is a bad hack.
15334 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15335 # The linker will automatically build a .lib file if we build a DLL.
15336 old_archive_From_new_cmds='true'
15337 # FIXME: Should let the user specify the lib program.
15338 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15339 fix_srcfile_path='`cygpath -w "$srcfile"`'
15340 enable_shared_with_static_runtimes=yes
15343 darwin* | rhapsody*)
15345 rhapsody* | darwin1.[012])
15346 allow_undefined_flag='${wl}-undefined ${wl}suppress'
15349 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15350 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15352 case ${MACOSX_DEPLOYMENT_TARGET} in
15354 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15357 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15363 archive_cmds_need_lc=no
15365 hardcode_automatic=yes
15366 hardcode_shlibpath_var=unsupported
15367 whole_archive_flag_spec=''
15368 link_all_deplibs=yes
15369 if test "$GCC" = yes ; then
15370 output_verbose_link_cmd='echo'
15371 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15372 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15373 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15374 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}'
15375 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}'
15377 case $cc_basename in
15379 output_verbose_link_cmd='echo'
15380 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15381 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15382 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15383 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}'
15384 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}'
15394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15395 hardcode_libdir_flag_spec='-L$libdir'
15396 hardcode_shlibpath_var=no
15403 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15404 # support. Future versions do this automatically, but an explicit c++rt0.o
15405 # does not break anything, and helps significantly (at the cost of a little
15408 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15409 hardcode_libdir_flag_spec='-R$libdir'
15410 hardcode_direct=yes
15411 hardcode_shlibpath_var=no
15414 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15416 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15417 hardcode_direct=yes
15418 hardcode_minus_L=yes
15419 hardcode_shlibpath_var=no
15422 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15423 freebsd* | kfreebsd*-gnu | dragonfly*)
15424 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15425 hardcode_libdir_flag_spec='-R$libdir'
15426 hardcode_direct=yes
15427 hardcode_shlibpath_var=no
15431 if test "$GCC" = yes; then
15432 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'
15434 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'
15436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15437 hardcode_libdir_separator=:
15438 hardcode_direct=yes
15440 # hardcode_minus_L: Not really in the search PATH,
15441 # but as the default location of the library.
15442 hardcode_minus_L=yes
15443 export_dynamic_flag_spec='${wl}-E'
15447 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15448 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15450 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15452 if test "$with_gnu_ld" = no; then
15453 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15454 hardcode_libdir_separator=:
15456 hardcode_direct=yes
15457 export_dynamic_flag_spec='${wl}-E'
15459 # hardcode_minus_L: Not really in the search PATH,
15460 # but as the default location of the library.
15461 hardcode_minus_L=yes
15466 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15469 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15472 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15475 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15481 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15484 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15487 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15491 if test "$with_gnu_ld" = no; then
15492 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15493 hardcode_libdir_separator=:
15497 hardcode_libdir_flag_spec_ld='+b $libdir'
15499 hardcode_shlibpath_var=no
15502 hardcode_direct=yes
15503 export_dynamic_flag_spec='${wl}-E'
15505 # hardcode_minus_L: Not really in the search PATH,
15506 # but as the default location of the library.
15507 hardcode_minus_L=yes
15513 irix5* | irix6* | nonstopux*)
15514 if test "$GCC" = yes; then
15515 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'
15517 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'
15518 hardcode_libdir_flag_spec_ld='-rpath $libdir'
15520 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15521 hardcode_libdir_separator=:
15522 link_all_deplibs=yes
15526 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15527 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15529 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15531 hardcode_libdir_flag_spec='-R$libdir'
15532 hardcode_direct=yes
15533 hardcode_shlibpath_var=no
15537 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15538 hardcode_direct=yes
15539 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15540 hardcode_libdir_separator=:
15541 hardcode_shlibpath_var=no
15545 hardcode_direct=yes
15546 hardcode_shlibpath_var=no
15547 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15548 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15549 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15550 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15551 export_dynamic_flag_spec='${wl}-E'
15554 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15555 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15556 hardcode_libdir_flag_spec='-R$libdir'
15559 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15560 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15567 hardcode_libdir_flag_spec='-L$libdir'
15568 hardcode_minus_L=yes
15569 allow_undefined_flag=unsupported
15570 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'
15571 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15575 if test "$GCC" = yes; then
15576 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15577 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'
15579 allow_undefined_flag=' -expect_unresolved \*'
15580 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'
15582 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15583 hardcode_libdir_separator=:
15586 osf4* | osf5*) # as osf3* with the addition of -msym flag
15587 if test "$GCC" = yes; then
15588 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15589 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'
15590 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15592 allow_undefined_flag=' -expect_unresolved \*'
15593 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'
15594 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15595 $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'
15597 # Both c and cxx compiler support -rpath directly
15598 hardcode_libdir_flag_spec='-rpath $libdir'
15600 hardcode_libdir_separator=:
15604 no_undefined_flag=' -z text'
15605 if test "$GCC" = yes; then
15607 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15608 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15609 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15612 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15613 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15614 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15616 hardcode_libdir_flag_spec='-R$libdir'
15617 hardcode_shlibpath_var=no
15619 solaris2.[0-5] | solaris2.[0-5].*) ;;
15621 # The compiler driver will combine linker options so we
15622 # cannot just pass the convience library names through
15623 # without $wl, iff we do not link with $LD.
15624 # Luckily, gcc supports the same syntax we need for Sun Studio.
15625 # Supported since Solaris 2.6 (maybe 2.5.1?)
15628 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
15630 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' ;;
15633 link_all_deplibs=yes
15637 if test "x$host_vendor" = xsequent; then
15638 # Use $CC to link under sequent, because it throws in some extra .o
15639 # files that make .init and .fini sections work.
15640 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15642 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15644 hardcode_libdir_flag_spec='-L$libdir'
15645 hardcode_direct=yes
15646 hardcode_minus_L=yes
15647 hardcode_shlibpath_var=no
15651 case $host_vendor in
15653 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15654 hardcode_direct=yes # is this really true???
15657 ## LD is ld it makes a PLAMLIB
15658 ## CC just makes a GrossModule.
15659 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15660 reload_cmds='$CC -r -o $output$reload_objs'
15664 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15665 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15668 runpath_var='LD_RUN_PATH'
15669 hardcode_shlibpath_var=no
15673 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15674 hardcode_shlibpath_var=no
15675 export_dynamic_flag_spec='-Bexport'
15679 if test -d /usr/nec; then
15680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15681 hardcode_shlibpath_var=no
15682 runpath_var=LD_RUN_PATH
15683 hardcode_runpath_var=yes
15688 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15689 no_undefined_flag='${wl}-z,text'
15690 archive_cmds_need_lc=no
15691 hardcode_shlibpath_var=no
15692 runpath_var='LD_RUN_PATH'
15694 if test "$GCC" = yes; then
15695 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15696 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15698 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15699 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15703 sysv5* | sco3.2v5* | sco5v6*)
15704 # Note: We can NOT use -z defs as we might desire, because we do not
15705 # link with -lc, and that would cause any symbols used from libc to
15706 # always be unresolved, which means just about no library would
15707 # ever link correctly. If we're not using GNU ld we use -z text
15708 # though, which does catch some bad symbols but isn't as heavy-handed
15710 no_undefined_flag='${wl}-z,text'
15711 allow_undefined_flag='${wl}-z,nodefs'
15712 archive_cmds_need_lc=no
15713 hardcode_shlibpath_var=no
15714 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15715 hardcode_libdir_separator=':'
15716 link_all_deplibs=yes
15717 export_dynamic_flag_spec='${wl}-Bexport'
15718 runpath_var='LD_RUN_PATH'
15720 if test "$GCC" = yes; then
15721 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15722 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15724 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15725 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15731 hardcode_libdir_flag_spec='-L$libdir'
15732 hardcode_shlibpath_var=no
15741 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15742 echo "${ECHO_T}$ld_shlibs" >&6; }
15743 test "$ld_shlibs" = no && can_build_shared=no
15746 # Do we need to explicitly link libc?
15748 case "x$archive_cmds_need_lc" in
15750 # Assume -lc should be added
15751 archive_cmds_need_lc=yes
15753 if test "$enable_shared" = yes && test "$GCC" = yes; then
15754 case $archive_cmds in
15756 # FIXME: we may have to deal with multi-command sequences.
15759 # Test whether the compiler implicitly links with -lc since on some
15760 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15761 # to ld, don't add -lc before -lgcc.
15762 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15763 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15765 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } 2>conftest.err; then
15774 libobjs=conftest.$ac_objext
15776 wl=$lt_prog_compiler_wl
15777 pic_flag=$lt_prog_compiler_pic
15783 lt_save_allow_undefined_flag=$allow_undefined_flag
15784 allow_undefined_flag=
15785 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15786 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }
15791 archive_cmds_need_lc=no
15793 archive_cmds_need_lc=yes
15795 allow_undefined_flag=$lt_save_allow_undefined_flag
15797 cat conftest.err 1>&5
15800 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15801 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15808 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15809 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15810 library_names_spec=
15811 libname_spec='lib$name'
15815 postuninstall_cmds=
15819 shlibpath_overrides_runpath=unknown
15821 dynamic_linker="$host_os ld.so"
15822 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15823 if test "$GCC" = yes; then
15824 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15825 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15826 # if the path contains ";" then we assume it to be the separator
15827 # otherwise default to the standard path separator (i.e. ":") - it is
15828 # assumed that no part of a normal pathname contains ";" but that should
15829 # okay in the real world where ";" in dirpaths is itself problematic.
15830 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15832 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15835 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15837 need_lib_prefix=unknown
15838 hardcode_into_libs=no
15840 # when you set need_version to no, make sure it does not cause -set_version
15841 # flags to be left without arguments
15842 need_version=unknown
15847 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15848 shlibpath_var=LIBPATH
15850 # AIX 3 has no versioning support, so we append a major version to the name.
15851 soname_spec='${libname}${release}${shared_ext}$major'
15858 hardcode_into_libs=yes
15859 if test "$host_cpu" = ia64; then
15860 # AIX 5 supports IA64
15861 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15862 shlibpath_var=LD_LIBRARY_PATH
15864 # With GCC up to 2.95.x, collect2 would create an import file
15865 # for dependence libraries. The import file would start with
15866 # the line `#! .'. This would cause the generated library to
15867 # depend on `.', always an invalid library. This was fixed in
15868 # development snapshots of GCC prior to 3.0.
15870 aix4 | aix4.[01] | aix4.[01].*)
15871 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15873 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15876 can_build_shared=no
15880 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15881 # soname into executable. Probably we can add versioning support to
15882 # collect2, so additional links can be useful in future.
15883 if test "$aix_use_runtimelinking" = yes; then
15884 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15885 # instead of lib<name>.a to let people know that these are not
15886 # typical AIX shared libraries.
15887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15889 # We preserve .a as extension for shared libraries through AIX4.2
15890 # and later when we are not doing run time linking.
15891 library_names_spec='${libname}${release}.a $libname.a'
15892 soname_spec='${libname}${release}${shared_ext}$major'
15894 shlibpath_var=LIBPATH
15899 library_names_spec='$libname.ixlibrary $libname.a'
15900 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15901 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'
15905 library_names_spec='${libname}${shared_ext}'
15906 dynamic_linker="$host_os ld.so"
15907 shlibpath_var=LIBRARY_PATH
15913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15914 soname_spec='${libname}${release}${shared_ext}$major'
15915 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15916 shlibpath_var=LD_LIBRARY_PATH
15917 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15918 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15919 # the default ld.so.conf also contains /usr/contrib/lib and
15920 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15921 # libtool to hard-code these into programs
15924 cygwin* | mingw* | pw32*)
15925 version_type=windows
15930 case $GCC,$host_os in
15931 yes,cygwin* | yes,mingw* | yes,pw32*)
15932 library_names_spec='$libname.dll.a'
15933 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15934 postinstall_cmds='base_file=`basename \${file}`~
15935 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15936 dldir=$destdir/`dirname \$dlpath`~
15937 test -d \$dldir || mkdir -p \$dldir~
15938 $install_prog $dir/$dlname \$dldir/$dlname~
15939 chmod a+x \$dldir/$dlname'
15940 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15941 dlpath=$dir/\$dldll~
15943 shlibpath_overrides_runpath=yes
15947 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15948 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15949 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15952 # MinGW DLLs use traditional 'lib' prefix
15953 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15954 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15955 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15956 # It is most probably a Windows format PATH printed by
15957 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15958 # path with ; separators, and with drive letters. We can handle the
15959 # drive letters (cygwin fileutils understands them), so leave them,
15960 # especially as we might pass files found there to a mingw objdump,
15961 # which wouldn't understand a cygwinified path. Ahh.
15962 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15964 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15968 # pw32 DLLs use 'pw' prefix rather than 'lib'
15969 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15975 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15978 dynamic_linker='Win32 ld.exe'
15979 # FIXME: first we should search . and the directory the executable is in
15983 darwin* | rhapsody*)
15984 dynamic_linker="$host_os dyld"
15985 version_type=darwin
15988 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15989 soname_spec='${libname}${release}${major}$shared_ext'
15990 shlibpath_overrides_runpath=yes
15991 shlibpath_var=DYLD_LIBRARY_PATH
15992 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15993 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15994 if test "$GCC" = yes; then
15995 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"`
15997 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15999 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16007 soname_spec='${libname}${release}${shared_ext}$major'
16008 shlibpath_var=LD_LIBRARY_PATH
16019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16020 soname_spec='${libname}${release}${shared_ext}$major'
16021 shlibpath_var=LD_LIBRARY_PATH
16022 shlibpath_overrides_runpath=no
16023 hardcode_into_libs=yes
16024 dynamic_linker='GNU ld.so'
16027 freebsd* | dragonfly*)
16028 # DragonFly does not have aout. When/if they implement a new
16029 # versioning mechanism, adjust this.
16030 if test -x /usr/bin/objformat; then
16031 objformat=`/usr/bin/objformat`
16034 freebsd[123]*) objformat=aout ;;
16035 *) objformat=elf ;;
16038 version_type=freebsd-$objformat
16039 case $version_type in
16041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16046 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16050 shlibpath_var=LD_LIBRARY_PATH
16053 shlibpath_overrides_runpath=yes
16055 freebsd3.[01]* | freebsdelf3.[01]*)
16056 shlibpath_overrides_runpath=yes
16057 hardcode_into_libs=yes
16059 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16060 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16061 shlibpath_overrides_runpath=no
16062 hardcode_into_libs=yes
16064 freebsd*) # from 4.6 on
16065 shlibpath_overrides_runpath=yes
16066 hardcode_into_libs=yes
16075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16076 soname_spec='${libname}${release}${shared_ext}$major'
16077 shlibpath_var=LD_LIBRARY_PATH
16078 hardcode_into_libs=yes
16081 hpux9* | hpux10* | hpux11*)
16082 # Give a soname corresponding to the major version so that dld.sl refuses to
16083 # link against other versions.
16090 hardcode_into_libs=yes
16091 dynamic_linker="$host_os dld.so"
16092 shlibpath_var=LD_LIBRARY_PATH
16093 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16095 soname_spec='${libname}${release}${shared_ext}$major'
16096 if test "X$HPUX_IA64_MODE" = X32; then
16097 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16099 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16101 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16105 hardcode_into_libs=yes
16106 dynamic_linker="$host_os dld.sl"
16107 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16108 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16110 soname_spec='${libname}${release}${shared_ext}$major'
16111 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16112 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16116 dynamic_linker="$host_os dld.sl"
16117 shlibpath_var=SHLIB_PATH
16118 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16120 soname_spec='${libname}${release}${shared_ext}$major'
16123 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16124 postinstall_cmds='chmod 555 $lib'
16131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16132 soname_spec='${libname}${release}${shared_ext}$major'
16133 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16134 shlibpath_var=LD_LIBRARY_PATH
16135 shlibpath_overrides_runpath=no
16136 hardcode_into_libs=yes
16139 irix5* | irix6* | nonstopux*)
16141 nonstopux*) version_type=nonstopux ;;
16143 if test "$lt_cv_prog_gnu_ld" = yes; then
16151 soname_spec='${libname}${release}${shared_ext}$major'
16152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16154 irix5* | nonstopux*)
16155 libsuff= shlibsuff=
16158 case $LD in # libtool.m4 will add one of these switches to LD
16159 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16160 libsuff= shlibsuff= libmagic=32-bit;;
16161 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16162 libsuff=32 shlibsuff=N32 libmagic=N32;;
16163 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16164 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16165 *) libsuff= shlibsuff= libmagic=never-match;;
16169 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16170 shlibpath_overrides_runpath=no
16171 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16172 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16173 hardcode_into_libs=yes
16176 # No shared lib support for Linux oldld, aout, or coff.
16177 linux*oldld* | linux*aout* | linux*coff*)
16181 # This must be Linux ELF.
16186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16187 soname_spec='${libname}${release}${shared_ext}$major'
16188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16189 shlibpath_var=LD_LIBRARY_PATH
16190 shlibpath_overrides_runpath=no
16191 # This implies no fast_install, which is unacceptable.
16192 # Some rework will be needed to allow for fast_install
16193 # before this can be enabled.
16194 hardcode_into_libs=yes
16196 # find out which ABI we are using
16198 case "$host_cpu" in
16199 x86_64*|s390x*|powerpc64*)
16200 echo '#line 16200 "configure"' > conftest.$ac_ext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; then
16206 case `/usr/bin/file conftest.$ac_objext` in
16209 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16217 # Append ld.so.conf contents to the search path
16218 if test -f /etc/ld.so.conf; then
16219 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' ' '`
16220 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16223 # We used to test for /lib/ld.so.1 and disable shared libraries on
16224 # powerpc, because MkLinux only supported shared libraries with the
16225 # GNU dynamic linker. Since this was broken with cross compilers,
16226 # most powerpc-linux boxes support dynamic linking these days and
16227 # people can always --disable-shared, the test was removed, and we
16228 # assume the GNU/Linux dynamic linker is in use.
16229 dynamic_linker='GNU/Linux ld.so'
16236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16237 soname_spec='${libname}${release}${shared_ext}$major'
16238 shlibpath_var=LD_LIBRARY_PATH
16239 shlibpath_overrides_runpath=no
16240 hardcode_into_libs=yes
16241 dynamic_linker='GNU ld.so'
16248 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16251 dynamic_linker='NetBSD (a.out) ld.so'
16253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16254 soname_spec='${libname}${release}${shared_ext}$major'
16255 dynamic_linker='NetBSD ld.elf_so'
16257 shlibpath_var=LD_LIBRARY_PATH
16258 shlibpath_overrides_runpath=yes
16259 hardcode_into_libs=yes
16264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16265 shlibpath_var=LD_LIBRARY_PATH
16266 shlibpath_overrides_runpath=yes
16273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16274 soname_spec='${libname}${release}${shared_ext}$major'
16275 shlibpath_var=LD_LIBRARY_PATH
16276 shlibpath_overrides_runpath=yes
16281 sys_lib_dlsearch_path_spec="/usr/lib"
16283 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16285 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16286 *) need_version=no ;;
16288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16289 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16290 shlibpath_var=LD_LIBRARY_PATH
16291 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16293 openbsd2.[89] | openbsd2.[89].*)
16294 shlibpath_overrides_runpath=no
16297 shlibpath_overrides_runpath=yes
16301 shlibpath_overrides_runpath=yes
16306 libname_spec='$name'
16309 library_names_spec='$libname${shared_ext} $libname.a'
16310 dynamic_linker='OS/2 ld.exe'
16311 shlibpath_var=LIBPATH
16314 osf3* | osf4* | osf5*)
16318 soname_spec='${libname}${release}${shared_ext}$major'
16319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16320 shlibpath_var=LD_LIBRARY_PATH
16321 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16322 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16330 soname_spec='${libname}${release}${shared_ext}$major'
16331 shlibpath_var=LD_LIBRARY_PATH
16332 shlibpath_overrides_runpath=yes
16333 hardcode_into_libs=yes
16334 # ldd complains unless libraries are executable
16335 postinstall_cmds='chmod +x $lib'
16340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16341 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16342 shlibpath_var=LD_LIBRARY_PATH
16343 shlibpath_overrides_runpath=yes
16344 if test "$with_gnu_ld" = yes; then
16352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16353 soname_spec='${libname}${release}${shared_ext}$major'
16354 shlibpath_var=LD_LIBRARY_PATH
16355 case $host_vendor in
16357 shlibpath_overrides_runpath=no
16359 export_dynamic_flag_spec='${wl}-Blargedynsym'
16360 runpath_var=LD_RUN_PATH
16368 shlibpath_overrides_runpath=no
16369 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16375 if test -d /usr/nec ;then
16377 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16378 soname_spec='$libname${shared_ext}.$major'
16379 shlibpath_var=LD_LIBRARY_PATH
16383 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16384 version_type=freebsd-elf
16387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16388 soname_spec='${libname}${release}${shared_ext}$major'
16389 shlibpath_var=LD_LIBRARY_PATH
16390 hardcode_into_libs=yes
16391 if test "$with_gnu_ld" = yes; then
16392 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16393 shlibpath_overrides_runpath=no
16395 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16396 shlibpath_overrides_runpath=yes
16399 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16403 sys_lib_dlsearch_path_spec='/usr/lib'
16408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16409 soname_spec='${libname}${release}${shared_ext}$major'
16410 shlibpath_var=LD_LIBRARY_PATH
16417 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16418 echo "${ECHO_T}$dynamic_linker" >&6; }
16419 test "$dynamic_linker" = no && can_build_shared=no
16421 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16422 if test "$GCC" = yes; then
16423 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16426 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16427 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16429 if test -n "$hardcode_libdir_flag_spec" || \
16430 test -n "$runpath_var" || \
16431 test "X$hardcode_automatic" = "Xyes" ; then
16433 # We can hardcode non-existant directories.
16434 if test "$hardcode_direct" != no &&
16435 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16436 # have to relink, otherwise we might link with an installed library
16437 # when we should be linking with a yet-to-be-installed one
16438 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16439 test "$hardcode_minus_L" != no; then
16440 # Linking always hardcodes the temporary library directory.
16441 hardcode_action=relink
16443 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16444 hardcode_action=immediate
16447 # We cannot hardcode anything, or else we can only hardcode existing
16449 hardcode_action=unsupported
16451 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16452 echo "${ECHO_T}$hardcode_action" >&6; }
16454 if test "$hardcode_action" = relink; then
16455 # Fast installation is not supported
16456 enable_fast_install=no
16457 elif test "$shlibpath_overrides_runpath" = yes ||
16458 test "$enable_shared" = no; then
16459 # Fast installation is not necessary
16460 enable_fast_install=needless
16465 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16466 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16467 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16468 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16469 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16470 { echo "$as_me:$LINENO: result: yes" >&5
16471 echo "${ECHO_T}yes" >&6; }
16473 # FIXME - insert some real tests, host_os isn't really good enough
16476 if test -n "$STRIP" ; then
16477 striplib="$STRIP -x"
16478 { echo "$as_me:$LINENO: result: yes" >&5
16479 echo "${ECHO_T}yes" >&6; }
16481 { echo "$as_me:$LINENO: result: no" >&5
16482 echo "${ECHO_T}no" >&6; }
16486 { echo "$as_me:$LINENO: result: no" >&5
16487 echo "${ECHO_T}no" >&6; }
16492 if test "x$enable_dlopen" != xyes; then
16493 enable_dlopen=unknown
16494 enable_dlopen_self=unknown
16495 enable_dlopen_self_static=unknown
16502 lt_cv_dlopen="load_add_on"
16504 lt_cv_dlopen_self=yes
16508 lt_cv_dlopen="LoadLibrary"
16513 lt_cv_dlopen="dlopen"
16518 # if libdl is installed we need to link against it
16519 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16520 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16521 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 ac_check_lib_save_LIBS=$LIBS
16526 cat >conftest.$ac_ext <<_ACEOF
16529 cat confdefs.h >>conftest.$ac_ext
16530 cat >>conftest.$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16533 /* Override any GCC internal prototype to avoid an error.
16534 Use char because int might match the return type of a GCC
16535 builtin and then its argument prototype would still apply. */
16548 rm -f conftest.$ac_objext conftest$ac_exeext
16549 if { (ac_try="$ac_link"
16550 case "(($ac_try" in
16551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16552 *) ac_try_echo=$ac_try;;
16554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16555 (eval "$ac_link") 2>conftest.er1
16557 grep -v '^ *+' conftest.er1 >conftest.err
16559 cat conftest.err >&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } && {
16562 test -z "$ac_c_werror_flag" ||
16563 test ! -s conftest.err
16564 } && test -s conftest$ac_exeext &&
16565 $as_test_x conftest$ac_exeext; then
16566 ac_cv_lib_dl_dlopen=yes
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16571 ac_cv_lib_dl_dlopen=no
16574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16575 conftest$ac_exeext conftest.$ac_ext
16576 LIBS=$ac_check_lib_save_LIBS
16578 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16579 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16580 if test $ac_cv_lib_dl_dlopen = yes; then
16581 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16584 lt_cv_dlopen="dyld"
16586 lt_cv_dlopen_self=yes
16593 { echo "$as_me:$LINENO: checking for shl_load" >&5
16594 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16595 if test "${ac_cv_func_shl_load+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 cat >conftest.$ac_ext <<_ACEOF
16601 cat confdefs.h >>conftest.$ac_ext
16602 cat >>conftest.$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16604 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16606 #define shl_load innocuous_shl_load
16608 /* System header to define __stub macros and hopefully few prototypes,
16609 which can conflict with char shl_load (); below.
16610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16611 <limits.h> exists even on freestanding compilers. */
16614 # include <limits.h>
16616 # include <assert.h>
16621 /* Override any GCC internal prototype to avoid an error.
16622 Use char because int might match the return type of a GCC
16623 builtin and then its argument prototype would still apply. */
16628 /* The GNU C library defines this for functions which it implements
16629 to always fail with ENOSYS. Some functions are actually named
16630 something starting with __ and the normal name is an alias. */
16631 #if defined __stub_shl_load || defined __stub___shl_load
16638 return shl_load ();
16643 rm -f conftest.$ac_objext conftest$ac_exeext
16644 if { (ac_try="$ac_link"
16645 case "(($ac_try" in
16646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16647 *) ac_try_echo=$ac_try;;
16649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16650 (eval "$ac_link") 2>conftest.er1
16652 grep -v '^ *+' conftest.er1 >conftest.err
16654 cat conftest.err >&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); } && {
16657 test -z "$ac_c_werror_flag" ||
16658 test ! -s conftest.err
16659 } && test -s conftest$ac_exeext &&
16660 $as_test_x conftest$ac_exeext; then
16661 ac_cv_func_shl_load=yes
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.$ac_ext >&5
16666 ac_cv_func_shl_load=no
16669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16670 conftest$ac_exeext conftest.$ac_ext
16672 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16673 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16674 if test $ac_cv_func_shl_load = yes; then
16675 lt_cv_dlopen="shl_load"
16677 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16678 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16679 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16680 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 ac_check_lib_save_LIBS=$LIBS
16684 cat >conftest.$ac_ext <<_ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16691 /* Override any GCC internal prototype to avoid an error.
16692 Use char because int might match the return type of a GCC
16693 builtin and then its argument prototype would still apply. */
16701 return shl_load ();
16706 rm -f conftest.$ac_objext conftest$ac_exeext
16707 if { (ac_try="$ac_link"
16708 case "(($ac_try" in
16709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16713 (eval "$ac_link") 2>conftest.er1
16715 grep -v '^ *+' conftest.er1 >conftest.err
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } && {
16720 test -z "$ac_c_werror_flag" ||
16721 test ! -s conftest.err
16722 } && test -s conftest$ac_exeext &&
16723 $as_test_x conftest$ac_exeext; then
16724 ac_cv_lib_dld_shl_load=yes
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16729 ac_cv_lib_dld_shl_load=no
16732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16733 conftest$ac_exeext conftest.$ac_ext
16734 LIBS=$ac_check_lib_save_LIBS
16736 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16737 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16738 if test $ac_cv_lib_dld_shl_load = yes; then
16739 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16741 { echo "$as_me:$LINENO: checking for dlopen" >&5
16742 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16743 if test "${ac_cv_func_dlopen+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 cat >conftest.$ac_ext <<_ACEOF
16749 cat confdefs.h >>conftest.$ac_ext
16750 cat >>conftest.$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16752 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16754 #define dlopen innocuous_dlopen
16756 /* System header to define __stub macros and hopefully few prototypes,
16757 which can conflict with char dlopen (); below.
16758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16759 <limits.h> exists even on freestanding compilers. */
16762 # include <limits.h>
16764 # include <assert.h>
16769 /* Override any GCC internal prototype to avoid an error.
16770 Use char because int might match the return type of a GCC
16771 builtin and then its argument prototype would still apply. */
16776 /* The GNU C library defines this for functions which it implements
16777 to always fail with ENOSYS. Some functions are actually named
16778 something starting with __ and the normal name is an alias. */
16779 #if defined __stub_dlopen || defined __stub___dlopen
16791 rm -f conftest.$ac_objext conftest$ac_exeext
16792 if { (ac_try="$ac_link"
16793 case "(($ac_try" in
16794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16795 *) ac_try_echo=$ac_try;;
16797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16798 (eval "$ac_link") 2>conftest.er1
16800 grep -v '^ *+' conftest.er1 >conftest.err
16802 cat conftest.err >&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && {
16805 test -z "$ac_c_werror_flag" ||
16806 test ! -s conftest.err
16807 } && test -s conftest$ac_exeext &&
16808 $as_test_x conftest$ac_exeext; then
16809 ac_cv_func_dlopen=yes
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16814 ac_cv_func_dlopen=no
16817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16818 conftest$ac_exeext conftest.$ac_ext
16820 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16821 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16822 if test $ac_cv_func_dlopen = yes; then
16823 lt_cv_dlopen="dlopen"
16825 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16826 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 ac_check_lib_save_LIBS=$LIBS
16832 cat >conftest.$ac_ext <<_ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16854 rm -f conftest.$ac_objext conftest$ac_exeext
16855 if { (ac_try="$ac_link"
16856 case "(($ac_try" in
16857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16858 *) ac_try_echo=$ac_try;;
16860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861 (eval "$ac_link") 2>conftest.er1
16863 grep -v '^ *+' conftest.er1 >conftest.err
16865 cat conftest.err >&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } && {
16868 test -z "$ac_c_werror_flag" ||
16869 test ! -s conftest.err
16870 } && test -s conftest$ac_exeext &&
16871 $as_test_x conftest$ac_exeext; then
16872 ac_cv_lib_dl_dlopen=yes
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.$ac_ext >&5
16877 ac_cv_lib_dl_dlopen=no
16880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16881 conftest$ac_exeext conftest.$ac_ext
16882 LIBS=$ac_check_lib_save_LIBS
16884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16885 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16886 if test $ac_cv_lib_dl_dlopen = yes; then
16887 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16889 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16890 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
16891 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 ac_check_lib_save_LIBS=$LIBS
16895 LIBS="-lsvld $LIBS"
16896 cat >conftest.$ac_ext <<_ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16903 /* Override any GCC internal prototype to avoid an error.
16904 Use char because int might match the return type of a GCC
16905 builtin and then its argument prototype would still apply. */
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (ac_try="$ac_link"
16920 case "(($ac_try" in
16921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16922 *) ac_try_echo=$ac_try;;
16924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16925 (eval "$ac_link") 2>conftest.er1
16927 grep -v '^ *+' conftest.er1 >conftest.err
16929 cat conftest.err >&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); } && {
16932 test -z "$ac_c_werror_flag" ||
16933 test ! -s conftest.err
16934 } && test -s conftest$ac_exeext &&
16935 $as_test_x conftest$ac_exeext; then
16936 ac_cv_lib_svld_dlopen=yes
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 ac_cv_lib_svld_dlopen=no
16944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16945 conftest$ac_exeext conftest.$ac_ext
16946 LIBS=$ac_check_lib_save_LIBS
16948 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16949 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16950 if test $ac_cv_lib_svld_dlopen = yes; then
16951 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16953 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16954 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16955 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 ac_check_lib_save_LIBS=$LIBS
16960 cat >conftest.$ac_ext <<_ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16967 /* Override any GCC internal prototype to avoid an error.
16968 Use char because int might match the return type of a GCC
16969 builtin and then its argument prototype would still apply. */
16977 return dld_link ();
16982 rm -f conftest.$ac_objext conftest$ac_exeext
16983 if { (ac_try="$ac_link"
16984 case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_link") 2>conftest.er1
16991 grep -v '^ *+' conftest.er1 >conftest.err
16993 cat conftest.err >&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } && {
16996 test -z "$ac_c_werror_flag" ||
16997 test ! -s conftest.err
16998 } && test -s conftest$ac_exeext &&
16999 $as_test_x conftest$ac_exeext; then
17000 ac_cv_lib_dld_dld_link=yes
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17005 ac_cv_lib_dld_dld_link=no
17008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17009 conftest$ac_exeext conftest.$ac_ext
17010 LIBS=$ac_check_lib_save_LIBS
17012 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17013 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17014 if test $ac_cv_lib_dld_dld_link = yes; then
17015 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17036 if test "x$lt_cv_dlopen" != xno; then
17042 case $lt_cv_dlopen in
17044 save_CPPFLAGS="$CPPFLAGS"
17045 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17047 save_LDFLAGS="$LDFLAGS"
17048 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17051 LIBS="$lt_cv_dlopen_libs $LIBS"
17053 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17054 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17055 if test "${lt_cv_dlopen_self+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17058 if test "$cross_compiling" = yes; then :
17059 lt_cv_dlopen_self=cross
17061 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17062 lt_status=$lt_dlunknown
17063 cat > conftest.$ac_ext <<EOF
17064 #line 17064 "configure"
17065 #include "confdefs.h"
17074 # define LT_DLGLOBAL RTLD_GLOBAL
17077 # define LT_DLGLOBAL DL_GLOBAL
17079 # define LT_DLGLOBAL 0
17083 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17084 find out it does not work in some platform. */
17085 #ifndef LT_DLLAZY_OR_NOW
17087 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17090 # define LT_DLLAZY_OR_NOW DL_LAZY
17093 # define LT_DLLAZY_OR_NOW RTLD_NOW
17096 # define LT_DLLAZY_OR_NOW DL_NOW
17098 # define LT_DLLAZY_OR_NOW 0
17106 extern "C" void exit (int);
17109 void fnord() { int i=42;}
17112 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17113 int status = $lt_dlunknown;
17117 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17118 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17119 /* dlclose (self); */
17127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17128 (eval $ac_link) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17132 (./conftest; exit; ) >&5 2>/dev/null
17134 case x$lt_status in
17135 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17136 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17137 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17140 # compilation failed
17141 lt_cv_dlopen_self=no
17148 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17149 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17151 if test "x$lt_cv_dlopen_self" = xyes; then
17152 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17153 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17154 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17155 if test "${lt_cv_dlopen_self_static+set}" = set; then
17156 echo $ECHO_N "(cached) $ECHO_C" >&6
17158 if test "$cross_compiling" = yes; then :
17159 lt_cv_dlopen_self_static=cross
17161 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17162 lt_status=$lt_dlunknown
17163 cat > conftest.$ac_ext <<EOF
17164 #line 17164 "configure"
17165 #include "confdefs.h"
17174 # define LT_DLGLOBAL RTLD_GLOBAL
17177 # define LT_DLGLOBAL DL_GLOBAL
17179 # define LT_DLGLOBAL 0
17183 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17184 find out it does not work in some platform. */
17185 #ifndef LT_DLLAZY_OR_NOW
17187 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17190 # define LT_DLLAZY_OR_NOW DL_LAZY
17193 # define LT_DLLAZY_OR_NOW RTLD_NOW
17196 # define LT_DLLAZY_OR_NOW DL_NOW
17198 # define LT_DLLAZY_OR_NOW 0
17206 extern "C" void exit (int);
17209 void fnord() { int i=42;}
17212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17213 int status = $lt_dlunknown;
17217 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17218 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17219 /* dlclose (self); */
17227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17228 (eval $ac_link) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17232 (./conftest; exit; ) >&5 2>/dev/null
17234 case x$lt_status in
17235 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17236 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17237 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17240 # compilation failed
17241 lt_cv_dlopen_self_static=no
17248 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17249 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17252 CPPFLAGS="$save_CPPFLAGS"
17253 LDFLAGS="$save_LDFLAGS"
17258 case $lt_cv_dlopen_self in
17259 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17260 *) enable_dlopen_self=unknown ;;
17263 case $lt_cv_dlopen_self_static in
17264 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17265 *) enable_dlopen_self_static=unknown ;;
17270 # Report which library types will actually be built
17271 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17272 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17273 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17274 echo "${ECHO_T}$can_build_shared" >&6; }
17276 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17277 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17278 test "$can_build_shared" = "no" && enable_shared=no
17280 # On AIX, shared libraries and static libraries use the same namespace, and
17281 # are all built from PIC.
17284 test "$enable_shared" = yes && enable_static=no
17285 if test -n "$RANLIB"; then
17286 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17287 postinstall_cmds='$RANLIB $lib'
17292 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17293 test "$enable_shared" = yes && enable_static=no
17297 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17298 echo "${ECHO_T}$enable_shared" >&6; }
17300 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17301 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17302 # Make sure either enable_shared or enable_static is yes.
17303 test "$enable_shared" = yes || enable_static=yes
17304 { echo "$as_me:$LINENO: result: $enable_static" >&5
17305 echo "${ECHO_T}$enable_static" >&6; }
17307 # The else clause should only fire when bootstrapping the
17308 # libtool distribution, otherwise you forgot to ship ltmain.sh
17309 # with your package, and you will get complaints that there are
17310 # no rules to generate ltmain.sh.
17311 if test -f "$ltmain"; then
17312 # See if we are running on zsh, and set the options which allow our commands through
17313 # without removal of \ escapes.
17314 if test -n "${ZSH_VERSION+set}" ; then
17315 setopt NO_GLOB_SUBST
17317 # Now quote all the things that may contain metacharacters while being
17318 # careful not to overquote the AC_SUBSTed values. We take copies of the
17319 # variables and quote the copies for generation of the libtool script.
17320 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17322 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17323 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17324 deplibs_check_method reload_flag reload_cmds need_locks \
17325 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17326 lt_cv_sys_global_symbol_to_c_name_address \
17327 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17328 old_postinstall_cmds old_postuninstall_cmds \
17332 lt_prog_compiler_wl \
17333 lt_prog_compiler_pic \
17334 lt_prog_compiler_static \
17335 lt_prog_compiler_no_builtin_flag \
17336 export_dynamic_flag_spec \
17337 thread_safe_flag_spec \
17338 whole_archive_flag_spec \
17339 enable_shared_with_static_runtimes \
17341 old_archive_from_new_cmds \
17346 compiler_lib_search_path \
17348 archive_expsym_cmds \
17350 postuninstall_cmds \
17351 old_archive_from_expsyms_cmds \
17352 allow_undefined_flag \
17353 no_undefined_flag \
17354 export_symbols_cmds \
17355 hardcode_libdir_flag_spec \
17356 hardcode_libdir_flag_spec_ld \
17357 hardcode_libdir_separator \
17358 hardcode_automatic \
17360 module_expsym_cmds \
17361 lt_cv_prog_compiler_c_o \
17363 include_expsyms; do
17366 old_archive_cmds | \
17367 old_archive_from_new_cmds | \
17369 archive_expsym_cmds | \
17371 module_expsym_cmds | \
17372 old_archive_from_expsyms_cmds | \
17373 export_symbols_cmds | \
17374 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17375 postinstall_cmds | postuninstall_cmds | \
17376 old_postinstall_cmds | old_postuninstall_cmds | \
17377 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17378 # Double-quote double-evaled strings.
17379 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17382 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17388 *'\$0 --fallback-echo"')
17389 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17393 cfgfile="${ofile}T"
17394 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17396 { echo "$as_me:$LINENO: creating $ofile" >&5
17397 echo "$as_me: creating $ofile" >&6;}
17399 cat <<__EOF__ >> "$cfgfile"
17402 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17403 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17404 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17406 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17407 # Free Software Foundation, Inc.
17409 # This file is part of GNU Libtool:
17410 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17412 # This program is free software; you can redistribute it and/or modify
17413 # it under the terms of the GNU General Public License as published by
17414 # the Free Software Foundation; either version 2 of the License, or
17415 # (at your option) any later version.
17417 # This program is distributed in the hope that it will be useful, but
17418 # WITHOUT ANY WARRANTY; without even the implied warranty of
17419 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17420 # General Public License for more details.
17422 # You should have received a copy of the GNU General Public License
17423 # along with this program; if not, write to the Free Software
17424 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17426 # As a special exception to the GNU General Public License, if you
17427 # distribute this file as part of a program that contains a
17428 # configuration script generated by Autoconf, you may include it under
17429 # the same distribution terms that you use for the rest of that program.
17431 # A sed program that does not truncate output.
17434 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17435 Xsed="$SED -e 1s/^X//"
17437 # The HP-UX ksh and POSIX shell print the target directory to stdout
17438 # if CDPATH is set.
17439 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17441 # The names of the tagged configurations supported by this script.
17444 # ### BEGIN LIBTOOL CONFIG
17446 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17448 # Shell to use when invoking shell scripts.
17451 # Whether or not to build shared libraries.
17452 build_libtool_libs=$enable_shared
17454 # Whether or not to build static libraries.
17455 build_old_libs=$enable_static
17457 # Whether or not to add -lc for building shared libraries.
17458 build_libtool_need_lc=$archive_cmds_need_lc
17460 # Whether or not to disallow shared libs when runtime libs are static
17461 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17463 # Whether or not to optimize for fast installation.
17464 fast_install=$enable_fast_install
17467 host_alias=$host_alias
17471 # The build system.
17472 build_alias=$build_alias
17476 # An echo program that does not interpret backslashes.
17481 AR_FLAGS=$lt_AR_FLAGS
17486 # LTCC compiler flags.
17487 LTCFLAGS=$lt_LTCFLAGS
17489 # A language-specific compiler.
17492 # Is the compiler the GNU C compiler?
17498 # The linker used to build libraries.
17501 # Whether we need hard or soft links.
17504 # A BSD-compatible nm program.
17507 # A symbol stripping program
17510 # Used to examine libraries when file_magic_cmd begins "file"
17511 MAGIC_CMD=$MAGIC_CMD
17513 # Used on cygwin: DLL creation program.
17516 # Used on cygwin: object dumper.
17519 # Used on cygwin: assembler.
17522 # The name of the directory that contains temporary libtool files.
17525 # How to create reloadable object files.
17526 reload_flag=$lt_reload_flag
17527 reload_cmds=$lt_reload_cmds
17529 # How to pass a linker flag through the compiler.
17530 wl=$lt_lt_prog_compiler_wl
17532 # Object file suffix (normally "o").
17533 objext="$ac_objext"
17535 # Old archive suffix (normally "a").
17538 # Shared library suffix (normally ".so").
17539 shrext_cmds='$shrext_cmds'
17541 # Executable file suffix (normally "").
17544 # Additional compiler flags for building library objects.
17545 pic_flag=$lt_lt_prog_compiler_pic
17548 # What is the maximum length of a command?
17549 max_cmd_len=$lt_cv_sys_max_cmd_len
17551 # Does compiler simultaneously support -c and -o options?
17552 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17554 # Must we lock files when doing compilation?
17555 need_locks=$lt_need_locks
17557 # Do we need the lib prefix for modules?
17558 need_lib_prefix=$need_lib_prefix
17560 # Do we need a version for libraries?
17561 need_version=$need_version
17563 # Whether dlopen is supported.
17564 dlopen_support=$enable_dlopen
17566 # Whether dlopen of programs is supported.
17567 dlopen_self=$enable_dlopen_self
17569 # Whether dlopen of statically linked programs is supported.
17570 dlopen_self_static=$enable_dlopen_self_static
17572 # Compiler flag to prevent dynamic linking.
17573 link_static_flag=$lt_lt_prog_compiler_static
17575 # Compiler flag to turn off builtin functions.
17576 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17578 # Compiler flag to allow reflexive dlopens.
17579 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17581 # Compiler flag to generate shared objects directly from archives.
17582 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17584 # Compiler flag to generate thread-safe objects.
17585 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17587 # Library versioning type.
17588 version_type=$version_type
17590 # Format of library name prefix.
17591 libname_spec=$lt_libname_spec
17593 # List of archive names. First name is the real one, the rest are links.
17594 # The last name is the one that the linker finds with -lNAME.
17595 library_names_spec=$lt_library_names_spec
17597 # The coded name of the library, if different from the real name.
17598 soname_spec=$lt_soname_spec
17600 # Commands used to build and install an old-style archive.
17602 old_archive_cmds=$lt_old_archive_cmds
17603 old_postinstall_cmds=$lt_old_postinstall_cmds
17604 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17606 # Create an old-style archive from a shared archive.
17607 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17609 # Create a temporary old-style archive to link instead of a shared archive.
17610 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17612 # Commands used to build and install a shared archive.
17613 archive_cmds=$lt_archive_cmds
17614 archive_expsym_cmds=$lt_archive_expsym_cmds
17615 postinstall_cmds=$lt_postinstall_cmds
17616 postuninstall_cmds=$lt_postuninstall_cmds
17618 # Commands used to build a loadable module (assumed same as above if empty)
17619 module_cmds=$lt_module_cmds
17620 module_expsym_cmds=$lt_module_expsym_cmds
17622 # Commands to strip libraries.
17623 old_striplib=$lt_old_striplib
17624 striplib=$lt_striplib
17626 # Dependencies to place before the objects being linked to create a
17628 predep_objects=$lt_predep_objects
17630 # Dependencies to place after the objects being linked to create a
17632 postdep_objects=$lt_postdep_objects
17634 # Dependencies to place before the objects being linked to create a
17636 predeps=$lt_predeps
17638 # Dependencies to place after the objects being linked to create a
17640 postdeps=$lt_postdeps
17642 # The library search path used internally by the compiler when linking
17643 # a shared library.
17644 compiler_lib_search_path=$lt_compiler_lib_search_path
17646 # Method to check whether dependent libraries are shared objects.
17647 deplibs_check_method=$lt_deplibs_check_method
17649 # Command to use when deplibs_check_method == file_magic.
17650 file_magic_cmd=$lt_file_magic_cmd
17652 # Flag that allows shared libraries with undefined symbols to be built.
17653 allow_undefined_flag=$lt_allow_undefined_flag
17655 # Flag that forces no undefined symbols.
17656 no_undefined_flag=$lt_no_undefined_flag
17658 # Commands used to finish a libtool library installation in a directory.
17659 finish_cmds=$lt_finish_cmds
17661 # Same as above, but a single script fragment to be evaled but not shown.
17662 finish_eval=$lt_finish_eval
17664 # Take the output of nm and produce a listing of raw symbols and C names.
17665 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17667 # Transform the output of nm in a proper C declaration
17668 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17670 # Transform the output of nm in a C name address pair
17671 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17673 # This is the shared library runtime path variable.
17674 runpath_var=$runpath_var
17676 # This is the shared library path variable.
17677 shlibpath_var=$shlibpath_var
17679 # Is shlibpath searched before the hard-coded library search path?
17680 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17682 # How to hardcode a shared library path into an executable.
17683 hardcode_action=$hardcode_action
17685 # Whether we should hardcode library paths into libraries.
17686 hardcode_into_libs=$hardcode_into_libs
17688 # Flag to hardcode \$libdir into a binary during linking.
17689 # This must work even if \$libdir does not exist.
17690 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17692 # If ld is used when linking, flag to hardcode \$libdir into
17693 # a binary during linking. This must work even if \$libdir does
17695 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17697 # Whether we need a single -rpath flag with a separated argument.
17698 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17700 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17701 # resulting binary.
17702 hardcode_direct=$hardcode_direct
17704 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17705 # resulting binary.
17706 hardcode_minus_L=$hardcode_minus_L
17708 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17709 # the resulting binary.
17710 hardcode_shlibpath_var=$hardcode_shlibpath_var
17712 # Set to yes if building a shared library automatically hardcodes DIR into the library
17713 # and all subsequent libraries and executables linked against it.
17714 hardcode_automatic=$hardcode_automatic
17716 # Variables whose values should be saved in libtool wrapper scripts and
17717 # restored at relink time.
17718 variables_saved_for_relink="$variables_saved_for_relink"
17720 # Whether libtool must link a program against all its dependency libraries.
17721 link_all_deplibs=$link_all_deplibs
17723 # Compile-time system search path for libraries
17724 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17726 # Run-time system search path for libraries
17727 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17729 # Fix the shell variable \$srcfile for the compiler.
17730 fix_srcfile_path="$fix_srcfile_path"
17732 # Set to yes if exported symbols are required.
17733 always_export_symbols=$always_export_symbols
17735 # The commands to list exported symbols.
17736 export_symbols_cmds=$lt_export_symbols_cmds
17738 # The commands to extract the exported symbol list from a shared archive.
17739 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17741 # Symbols that should not be listed in the preloaded symbols.
17742 exclude_expsyms=$lt_exclude_expsyms
17744 # Symbols that must always be exported.
17745 include_expsyms=$lt_include_expsyms
17747 # ### END LIBTOOL CONFIG
17754 cat <<\EOF >> "$cfgfile"
17756 # AIX sometimes has problems with the GCC collect2 program. For some
17757 # reason, if we set the COLLECT_NAMES environment variable, the problems
17758 # vanish in a puff of smoke.
17759 if test "X${COLLECT_NAMES+set}" != Xset; then
17761 export COLLECT_NAMES
17767 # We use sed instead of cat because bash on DJGPP gets confused if
17768 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17769 # text mode, it properly converts lines to CR/LF. This bash problem
17770 # is reportedly fixed, but why not run on old versions too?
17771 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17773 mv -f "$cfgfile" "$ofile" || \
17774 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17778 # If there is no Makefile yet, we rely on a make rule to execute
17779 # `config.status --recheck' to rerun these tests and create the
17780 # libtool script then.
17781 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17782 if test -f "$ltmain_in"; then
17783 test -f Makefile && make "$ltmain"
17789 ac_cpp='$CPP $CPPFLAGS'
17790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17797 # Check whether --with-tags was given.
17798 if test "${with_tags+set}" = set; then
17799 withval=$with_tags; tagnames="$withval"
17803 if test -f "$ltmain" && test -n "$tagnames"; then
17804 if test ! -f "${ofile}"; then
17805 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
17806 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
17809 if test -z "$LTCC"; then
17810 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
17811 if test -z "$LTCC"; then
17812 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17813 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
17815 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
17816 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
17819 if test -z "$LTCFLAGS"; then
17820 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
17823 # Extract list of available tagged configurations in $ofile.
17824 # Note that this assumes the entire list is on one line.
17825 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17827 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17828 for tagname in $tagnames; do
17830 # Check whether tagname contains only valid characters
17831 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
17833 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
17834 echo "$as_me: error: invalid tag name: $tagname" >&2;}
17835 { (exit 1); exit 1; }; }
17839 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17841 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
17842 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
17843 { (exit 1); exit 1; }; }
17846 # Update the list of available tags.
17847 if test -n "$tagname"; then
17848 echo appending configuration tag \"$tagname\" to $ofile
17852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17854 (test "X$CXX" != "Xg++"))) ; then
17856 ac_cpp='$CXXCPP $CPPFLAGS'
17857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17864 archive_cmds_need_lc_CXX=no
17865 allow_undefined_flag_CXX=
17866 always_export_symbols_CXX=no
17867 archive_expsym_cmds_CXX=
17868 export_dynamic_flag_spec_CXX=
17869 hardcode_direct_CXX=no
17870 hardcode_libdir_flag_spec_CXX=
17871 hardcode_libdir_flag_spec_ld_CXX=
17872 hardcode_libdir_separator_CXX=
17873 hardcode_minus_L_CXX=no
17874 hardcode_shlibpath_var_CXX=unsupported
17875 hardcode_automatic_CXX=no
17877 module_expsym_cmds_CXX=
17878 link_all_deplibs_CXX=unknown
17879 old_archive_cmds_CXX=$old_archive_cmds
17880 no_undefined_flag_CXX=
17881 whole_archive_flag_spec_CXX=
17882 enable_shared_with_static_runtimes_CXX=no
17884 # Dependencies to place before and after the object being linked:
17885 predep_objects_CXX=
17886 postdep_objects_CXX=
17889 compiler_lib_search_path_CXX=
17891 # Source file extension for C++ test sources.
17894 # Object file extension for compiled C++ test sources.
17898 # Code to be used in simple compile tests
17899 lt_simple_compile_test_code="int some_variable = 0;\n"
17901 # Code to be used in simple link tests
17902 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
17904 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17906 # If no C compiler was specified, use CC.
17909 # If no C compiler flags were specified, use CFLAGS.
17910 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17912 # Allow CC to be a program name with arguments.
17916 # save warnings/boilerplate of simple test code
17917 ac_outfile=conftest.$ac_objext
17918 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17919 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17920 _lt_compiler_boilerplate=`cat conftest.err`
17923 ac_outfile=conftest.$ac_objext
17924 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17925 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17926 _lt_linker_boilerplate=`cat conftest.err`
17930 # Allow CC to be a program name with arguments.
17935 lt_save_with_gnu_ld=$with_gnu_ld
17936 lt_save_path_LD=$lt_cv_path_LD
17937 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17938 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17940 $as_unset lt_cv_prog_gnu_ld
17942 if test -n "${lt_cv_path_LDCXX+set}"; then
17943 lt_cv_path_LD=$lt_cv_path_LDCXX
17945 $as_unset lt_cv_path_LD
17947 test -z "${LDCXX+set}" || LD=$LDCXX
17951 for cc_temp in $compiler""; do
17953 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17954 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17959 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17962 # We don't want -fno-exception wen compiling C++ code, so set the
17963 # no_builtin_flag separately
17964 if test "$GXX" = yes; then
17965 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17967 lt_prog_compiler_no_builtin_flag_CXX=
17970 if test "$GXX" = yes; then
17971 # Set up default GNU C++ configuration
17974 # Check whether --with-gnu-ld was given.
17975 if test "${with_gnu_ld+set}" = set; then
17976 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17982 if test "$GCC" = yes; then
17983 # Check if gcc -print-prog-name=ld gives a path.
17984 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17985 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
17988 # gcc leaves a trailing carriage return which upsets mingw
17989 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17991 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17994 # Accept absolute paths.
17996 re_direlt='/[^/][^/]*/\.\./'
17997 # Canonicalize the pathname of ld
17998 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
17999 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18000 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18002 test -z "$LD" && LD="$ac_prog"
18005 # If it fails, then pretend we aren't using GCC.
18009 # If it is relative, then search for the first ld in PATH.
18010 with_gnu_ld=unknown
18013 elif test "$with_gnu_ld" = yes; then
18014 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18017 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18020 if test "${lt_cv_path_LD+set}" = set; then
18021 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 if test -z "$LD"; then
18024 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18025 for ac_dir in $PATH; do
18027 test -z "$ac_dir" && ac_dir=.
18028 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18029 lt_cv_path_LD="$ac_dir/$ac_prog"
18030 # Check to see if the program is GNU ld. I'd rather use --version,
18031 # but apparently some variants of GNU ld only accept -v.
18032 # Break only if it was the GNU/non-GNU ld that we prefer.
18033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18034 *GNU* | *'with BFD'*)
18035 test "$with_gnu_ld" != no && break
18038 test "$with_gnu_ld" != yes && break
18045 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18049 LD="$lt_cv_path_LD"
18050 if test -n "$LD"; then
18051 { echo "$as_me:$LINENO: result: $LD" >&5
18052 echo "${ECHO_T}$LD" >&6; }
18054 { echo "$as_me:$LINENO: result: no" >&5
18055 echo "${ECHO_T}no" >&6; }
18057 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18058 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18059 { (exit 1); exit 1; }; }
18060 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18061 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18062 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18066 case `$LD -v 2>&1 </dev/null` in
18067 *GNU* | *'with BFD'*)
18068 lt_cv_prog_gnu_ld=yes
18071 lt_cv_prog_gnu_ld=no
18075 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18076 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18077 with_gnu_ld=$lt_cv_prog_gnu_ld
18081 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18082 # archiving commands below assume that GNU ld is being used.
18083 if test "$with_gnu_ld" = yes; then
18084 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18085 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'
18087 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18088 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18090 # If archive_cmds runs LD, not CC, wlarc should be empty
18091 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18092 # investigate it a little bit more. (MM)
18095 # ancient GNU ld didn't support --whole-archive et. al.
18096 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18097 grep 'no-whole-archive' > /dev/null; then
18098 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18100 whole_archive_flag_spec_CXX=
18106 # A generic and very simple default shared library creation
18107 # command for GNU C++ for the case where it uses the native
18108 # linker, instead of GNU ld. If possible, this setting should
18109 # overridden to take advantage of the native linker features on
18110 # the platform it is being used on.
18111 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18114 # Commands to make compiler produce verbose output that lists
18115 # what "hidden" libraries, object files and flags are used when
18116 # linking a shared library.
18117 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18125 # PORTME: fill in a description of your system's C++ link characteristics
18126 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18127 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18131 # FIXME: insert proper C++ library support
18135 if test "$host_cpu" = ia64; then
18136 # On IA64, the linker does run time linking by default, so we don't
18137 # have to do anything special.
18138 aix_use_runtimelinking=no
18139 exp_sym_flag='-Bexport'
18142 aix_use_runtimelinking=no
18144 # Test if we are trying to use run time linking or normal
18145 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18146 # need to do runtime linking.
18147 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18148 for ld_flag in $LDFLAGS; do
18151 aix_use_runtimelinking=yes
18159 exp_sym_flag='-bexport'
18160 no_entry_flag='-bnoentry'
18163 # When large executables or shared objects are built, AIX ld can
18164 # have problems creating the table of contents. If linking a library
18165 # or program results in "error TOC overflow" add -mminimal-toc to
18166 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18167 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18169 archive_cmds_CXX=''
18170 hardcode_direct_CXX=yes
18171 hardcode_libdir_separator_CXX=':'
18172 link_all_deplibs_CXX=yes
18174 if test "$GXX" = yes; then
18175 case $host_os in aix4.[012]|aix4.[012].*)
18176 # We only want to do this on AIX 4.2 and lower, the check
18177 # below for broken collect2 doesn't work under 4.3+
18178 collect2name=`${CC} -print-prog-name=collect2`
18179 if test -f "$collect2name" && \
18180 strings "$collect2name" | grep resolve_lib_name >/dev/null
18182 # We have reworked collect2
18183 hardcode_direct_CXX=yes
18185 # We have old collect2
18186 hardcode_direct_CXX=unsupported
18187 # It fails to find uninstalled libraries when the uninstalled
18188 # path is not listed in the libpath. Setting hardcode_minus_L
18189 # to unsupported forces relinking
18190 hardcode_minus_L_CXX=yes
18191 hardcode_libdir_flag_spec_CXX='-L$libdir'
18192 hardcode_libdir_separator_CXX=
18196 shared_flag='-shared'
18197 if test "$aix_use_runtimelinking" = yes; then
18198 shared_flag="$shared_flag "'${wl}-G'
18202 if test "$host_cpu" = ia64; then
18203 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18204 # chokes on -Wl,-G. The following line is correct:
18207 if test "$aix_use_runtimelinking" = yes; then
18208 shared_flag='${wl}-G'
18210 shared_flag='${wl}-bM:SRE'
18215 # It seems that -bexpall does not export symbols beginning with
18216 # underscore (_), so it is better to generate a list of symbols to export.
18217 always_export_symbols_CXX=yes
18218 if test "$aix_use_runtimelinking" = yes; then
18219 # Warning - without using the other runtime loading flags (-brtl),
18220 # -berok will link without error, but may produce a broken library.
18221 allow_undefined_flag_CXX='-berok'
18222 # Determine the default libpath from the value encoded in an empty executable.
18223 cat >conftest.$ac_ext <<_ACEOF
18226 cat confdefs.h >>conftest.$ac_ext
18227 cat >>conftest.$ac_ext <<_ACEOF
18228 /* end confdefs.h. */
18238 rm -f conftest.$ac_objext conftest$ac_exeext
18239 if { (ac_try="$ac_link"
18240 case "(($ac_try" in
18241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18242 *) ac_try_echo=$ac_try;;
18244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18245 (eval "$ac_link") 2>conftest.er1
18247 grep -v '^ *+' conftest.er1 >conftest.err
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } && {
18252 test -z "$ac_cxx_werror_flag" ||
18253 test ! -s conftest.err
18254 } && test -s conftest$ac_exeext &&
18255 $as_test_x conftest$ac_exeext; then
18257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18259 # Check for a 64-bit object if we didn't find anything.
18260 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; }
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18270 conftest$ac_exeext conftest.$ac_ext
18271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18273 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18275 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"
18277 if test "$host_cpu" = ia64; then
18278 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18279 allow_undefined_flag_CXX="-z nodefs"
18280 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"
18282 # Determine the default libpath from the value encoded in an empty executable.
18283 cat >conftest.$ac_ext <<_ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18298 rm -f conftest.$ac_objext conftest$ac_exeext
18299 if { (ac_try="$ac_link"
18300 case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_link") 2>conftest.er1
18307 grep -v '^ *+' conftest.er1 >conftest.err
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } && {
18312 test -z "$ac_cxx_werror_flag" ||
18313 test ! -s conftest.err
18314 } && test -s conftest$ac_exeext &&
18315 $as_test_x conftest$ac_exeext; then
18317 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18319 # Check for a 64-bit object if we didn't find anything.
18320 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; }
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18330 conftest$ac_exeext conftest.$ac_ext
18331 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18333 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18334 # Warning - without using the other run time loading flags,
18335 # -berok will link without error, but may produce a broken library.
18336 no_undefined_flag_CXX=' ${wl}-bernotok'
18337 allow_undefined_flag_CXX=' ${wl}-berok'
18338 # Exported symbols can be pulled into shared objects from archives
18339 whole_archive_flag_spec_CXX='$convenience'
18340 archive_cmds_need_lc_CXX=yes
18341 # This is similar to how AIX traditionally builds its shared libraries.
18342 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'
18348 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18349 allow_undefined_flag_CXX=unsupported
18350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18351 # support --undefined. This deserves some investigation. FIXME
18352 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18359 case $cc_basename in
18361 # FIXME: insert proper C++ library support
18367 cygwin* | mingw* | pw32*)
18368 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18369 # as there is no search path for DLLs.
18370 hardcode_libdir_flag_spec_CXX='-L$libdir'
18371 allow_undefined_flag_CXX=unsupported
18372 always_export_symbols_CXX=no
18373 enable_shared_with_static_runtimes_CXX=yes
18375 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18376 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'
18377 # If the export-symbols file already is a .def file (1st line
18378 # is EXPORTS), use it as is; otherwise, prepend...
18379 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18380 cp $export_symbols $output_objdir/$soname.def;
18382 echo EXPORTS > $output_objdir/$soname.def;
18383 cat $export_symbols >> $output_objdir/$soname.def;
18385 $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'
18390 darwin* | rhapsody*)
18392 rhapsody* | darwin1.[012])
18393 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18396 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18397 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18399 case ${MACOSX_DEPLOYMENT_TARGET} in
18401 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18404 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18410 archive_cmds_need_lc_CXX=no
18411 hardcode_direct_CXX=no
18412 hardcode_automatic_CXX=yes
18413 hardcode_shlibpath_var_CXX=unsupported
18414 whole_archive_flag_spec_CXX=''
18415 link_all_deplibs_CXX=yes
18417 if test "$GXX" = yes ; then
18418 lt_int_apple_cc_single_mod=no
18419 output_verbose_link_cmd='echo'
18420 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18421 lt_int_apple_cc_single_mod=yes
18423 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18424 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18426 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'
18428 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18429 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18430 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18431 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}'
18433 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}'
18435 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}'
18437 case $cc_basename in
18439 output_verbose_link_cmd='echo'
18440 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'
18441 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18442 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18443 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}'
18444 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}'
18454 case $cc_basename in
18456 # FIXME: insert proper C++ library support
18460 # Green Hills C++ Compiler
18461 # FIXME: insert proper C++ library support
18465 # FIXME: insert proper C++ library support
18471 # C++ shared libraries reported to be fairly broken before switch to ELF
18475 archive_cmds_need_lc_CXX=no
18477 freebsd* | kfreebsd*-gnu | dragonfly*)
18478 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18485 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18486 hardcode_libdir_separator_CXX=:
18487 export_dynamic_flag_spec_CXX='${wl}-E'
18488 hardcode_direct_CXX=yes
18489 hardcode_minus_L_CXX=yes # Not in the search PATH,
18490 # but as the default
18491 # location of the library.
18493 case $cc_basename in
18495 # FIXME: insert proper C++ library support
18499 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'
18500 # Commands to make compiler produce verbose output that lists
18501 # what "hidden" libraries, object files and flags are used when
18502 # linking a shared library.
18504 # There doesn't appear to be a way to prevent this compiler from
18505 # explicitly linking system object files so we need to strip them
18506 # from the output so that they don't get included in the library
18508 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'
18511 if test "$GXX" = yes; then
18512 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'
18514 # FIXME: insert proper C++ library support
18521 if test $with_gnu_ld = no; then
18522 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18523 hardcode_libdir_separator_CXX=:
18527 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18530 export_dynamic_flag_spec_CXX='${wl}-E'
18536 hardcode_direct_CXX=no
18537 hardcode_shlibpath_var_CXX=no
18540 hardcode_direct_CXX=yes
18541 hardcode_minus_L_CXX=yes # Not in the search PATH,
18542 # but as the default
18543 # location of the library.
18547 case $cc_basename in
18549 # FIXME: insert proper C++ library support
18555 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18558 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18561 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18564 # Commands to make compiler produce verbose output that lists
18565 # what "hidden" libraries, object files and flags are used when
18566 # linking a shared library.
18568 # There doesn't appear to be a way to prevent this compiler from
18569 # explicitly linking system object files so we need to strip them
18570 # from the output so that they don't get included in the library
18572 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'
18575 if test "$GXX" = yes; then
18576 if test $with_gnu_ld = no; then
18579 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18582 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18585 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'
18590 # FIXME: insert proper C++ library support
18597 hardcode_direct_CXX=no
18598 hardcode_shlibpath_var_CXX=no
18599 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18600 export_dynamic_flag_spec_CXX='${wl}-E'
18601 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18602 # Instead, shared libraries are loaded at an image base (0x10000000 by
18603 # default) and relocated if they conflict, which is a slow very memory
18604 # consuming and fragmenting process. To avoid this, we pick a random,
18605 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18606 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18607 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'
18608 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'
18611 case $cc_basename in
18614 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'
18616 # Archives containing C++ object files must be created using
18617 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18618 # necessary to make sure instantiated templates are included
18620 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18623 if test "$GXX" = yes; then
18624 if test "$with_gnu_ld" = no; then
18625 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'
18627 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'
18630 link_all_deplibs_CXX=yes
18633 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18634 hardcode_libdir_separator_CXX=:
18637 case $cc_basename in
18639 # Kuck and Associates, Inc. (KAI) C++ Compiler
18641 # KCC will only create a shared library if the output file
18642 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18643 # to its proper name (with version) after linking.
18644 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'
18645 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'
18646 # Commands to make compiler produce verbose output that lists
18647 # what "hidden" libraries, object files and flags are used when
18648 # linking a shared library.
18650 # There doesn't appear to be a way to prevent this compiler from
18651 # explicitly linking system object files so we need to strip them
18652 # from the output so that they don't get included in the library
18654 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'
18656 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
18657 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18659 # Archives containing C++ object files must be created using
18660 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18661 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18666 # version 8.0 and above of icpc choke on multiply defined symbols
18667 # if we add $predep_objects and $postdep_objects, however 7.1 and
18668 # earlier do not add the objects themselves.
18669 case `$CC -V 2>&1` in
18671 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18672 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'
18674 *) # Version 8.0 or newer
18677 ia64*) tmp_idyn=' -i_dynamic';;
18679 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18680 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'
18683 archive_cmds_need_lc_CXX=no
18684 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18685 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18686 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18689 # Portland Group C++ compiler
18690 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18691 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'
18693 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18694 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18695 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'
18699 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18700 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'
18702 runpath_var=LD_RUN_PATH
18703 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18704 hardcode_libdir_separator_CXX=:
18706 # Commands to make compiler produce verbose output that lists
18707 # what "hidden" libraries, object files and flags are used when
18708 # linking a shared library.
18710 # There doesn't appear to be a way to prevent this compiler from
18711 # explicitly linking system object files so we need to strip them
18712 # from the output so that they don't get included in the library
18714 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'
18719 # FIXME: insert proper C++ library support
18723 # FIXME: insert proper C++ library support
18727 case $cc_basename in
18729 # FIXME: insert proper C++ library support
18733 # FIXME: insert proper C++ library support
18739 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18740 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18742 hardcode_libdir_flag_spec_CXX='-R$libdir'
18743 hardcode_direct_CXX=yes
18744 hardcode_shlibpath_var_CXX=no
18746 # Workaround some broken pre-1.5 toolchains
18747 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18750 # C++ shared libraries are fairly broken
18754 hardcode_direct_CXX=yes
18755 hardcode_shlibpath_var_CXX=no
18756 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18758 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18759 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18760 export_dynamic_flag_spec_CXX='${wl}-E'
18761 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18763 output_verbose_link_cmd='echo'
18766 case $cc_basename in
18768 # Kuck and Associates, Inc. (KAI) C++ Compiler
18770 # KCC will only create a shared library if the output file
18771 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18772 # to its proper name (with version) after linking.
18773 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'
18775 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18776 hardcode_libdir_separator_CXX=:
18778 # Archives containing C++ object files must be created using
18779 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18780 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18784 # Rational C++ 2.4.1
18785 # FIXME: insert proper C++ library support
18789 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18790 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'
18792 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18793 hardcode_libdir_separator_CXX=:
18795 # Commands to make compiler produce verbose output that lists
18796 # what "hidden" libraries, object files and flags are used when
18797 # linking a shared library.
18799 # There doesn't appear to be a way to prevent this compiler from
18800 # explicitly linking system object files so we need to strip them
18801 # from the output so that they don't get included in the library
18803 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'
18806 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18807 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18808 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'
18810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18811 hardcode_libdir_separator_CXX=:
18813 # Commands to make compiler produce verbose output that lists
18814 # what "hidden" libraries, object files and flags are used when
18815 # linking a shared library.
18816 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18819 # FIXME: insert proper C++ library support
18826 case $cc_basename in
18828 # Kuck and Associates, Inc. (KAI) C++ Compiler
18830 # KCC will only create a shared library if the output file
18831 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18832 # to its proper name (with version) after linking.
18833 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'
18835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18836 hardcode_libdir_separator_CXX=:
18838 # Archives containing C++ object files must be created using
18839 # the KAI C++ compiler.
18840 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
18843 # Rational C++ 2.4.1
18844 # FIXME: insert proper C++ library support
18848 allow_undefined_flag_CXX=' -expect_unresolved \*'
18849 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'
18850 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18851 echo "-hidden">> $lib.exp~
18852 $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~
18855 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18856 hardcode_libdir_separator_CXX=:
18858 # Commands to make compiler produce verbose output that lists
18859 # what "hidden" libraries, object files and flags are used when
18860 # linking a shared library.
18862 # There doesn't appear to be a way to prevent this compiler from
18863 # explicitly linking system object files so we need to strip them
18864 # from the output so that they don't get included in the library
18866 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'
18869 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18870 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18871 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'
18873 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18874 hardcode_libdir_separator_CXX=:
18876 # Commands to make compiler produce verbose output that lists
18877 # what "hidden" libraries, object files and flags are used when
18878 # linking a shared library.
18879 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18882 # FIXME: insert proper C++ library support
18889 # FIXME: insert proper C++ library support
18893 case $cc_basename in
18896 # FIXME: insert proper C++ library support
18901 # FIXME: insert proper C++ library support
18905 # FIXME: insert proper C++ library support
18911 case $cc_basename in
18913 # Sun C++ 4.2, 5.x and Centerline C++
18914 archive_cmds_need_lc_CXX=yes
18915 no_undefined_flag_CXX=' -zdefs'
18916 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18917 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18918 $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'
18920 hardcode_libdir_flag_spec_CXX='-R$libdir'
18921 hardcode_shlibpath_var_CXX=no
18923 solaris2.[0-5] | solaris2.[0-5].*) ;;
18925 # The C++ compiler is used as linker so we must use $wl
18926 # flag to pass the commands to the underlying system
18927 # linker. We must also pass each convience library through
18928 # to the system linker between allextract/defaultextract.
18929 # The C++ compiler will combine linker options so we
18930 # cannot just pass the convience library names through
18932 # Supported since Solaris 2.6 (maybe 2.5.1?)
18933 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'
18936 link_all_deplibs_CXX=yes
18938 output_verbose_link_cmd='echo'
18940 # Archives containing C++ object files must be created using
18941 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18942 # necessary to make sure instantiated templates are included
18944 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18947 # Green Hills C++ Compiler
18948 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18950 # The C++ compiler must be used to create the archive.
18951 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18954 # GNU C++ compiler with Solaris linker
18955 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18956 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18957 if $CC --version | grep -v '^2\.7' > /dev/null; then
18958 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18959 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18960 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18962 # Commands to make compiler produce verbose output that lists
18963 # what "hidden" libraries, object files and flags are used when
18964 # linking a shared library.
18965 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18967 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18969 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18970 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18971 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18973 # Commands to make compiler produce verbose output that lists
18974 # what "hidden" libraries, object files and flags are used when
18975 # linking a shared library.
18976 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18979 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18984 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18985 no_undefined_flag_CXX='${wl}-z,text'
18986 archive_cmds_need_lc_CXX=no
18987 hardcode_shlibpath_var_CXX=no
18988 runpath_var='LD_RUN_PATH'
18990 case $cc_basename in
18992 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18993 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18996 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18997 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19001 sysv5* | sco3.2v5* | sco5v6*)
19002 # Note: We can NOT use -z defs as we might desire, because we do not
19003 # link with -lc, and that would cause any symbols used from libc to
19004 # always be unresolved, which means just about no library would
19005 # ever link correctly. If we're not using GNU ld we use -z text
19006 # though, which does catch some bad symbols but isn't as heavy-handed
19008 # For security reasons, it is highly recommended that you always
19009 # use absolute paths for naming shared libraries, and exclude the
19010 # DT_RUNPATH tag from executables and libraries. But doing so
19011 # requires that you compile everything twice, which is a pain.
19012 # So that behaviour is only enabled if SCOABSPATH is set to a
19013 # non-empty value in the environment. Most likely only useful for
19014 # creating official distributions of packages.
19015 # This is a hack until libtool officially supports absolute path
19016 # names for shared libraries.
19017 no_undefined_flag_CXX='${wl}-z,text'
19018 allow_undefined_flag_CXX='${wl}-z,nodefs'
19019 archive_cmds_need_lc_CXX=no
19020 hardcode_shlibpath_var_CXX=no
19021 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19022 hardcode_libdir_separator_CXX=':'
19023 link_all_deplibs_CXX=yes
19024 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19025 runpath_var='LD_RUN_PATH'
19027 case $cc_basename in
19029 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19030 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19033 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19034 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19039 case $cc_basename in
19041 # NonStop-UX NCC 3.20
19042 # FIXME: insert proper C++ library support
19046 # FIXME: insert proper C++ library support
19052 # FIXME: insert proper C++ library support
19056 # FIXME: insert proper C++ library support
19060 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19061 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19062 test "$ld_shlibs_CXX" = no && can_build_shared=no
19068 cat > conftest.$ac_ext <<EOF
19072 Foo (void) { a = 0; }
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; then
19083 # Parse the compiler output and extract the necessary
19084 # objects, libraries and library flags.
19086 # Sentinel used to keep track of whether or not we are before
19087 # the conftest object file.
19088 pre_test_object_deps_done=no
19090 # The `*' in the case matches for architectures that use `case' in
19091 # $output_verbose_cmd can trigger glob expansion during the loop
19092 # eval without this substitution.
19093 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19095 for p in `eval $output_verbose_link_cmd`; do
19099 # Some compilers place space between "-{L,R}" and the path.
19100 # Remove the space.
19101 if test $p = "-L" \
19102 || test $p = "-R"; then
19109 if test "$pre_test_object_deps_done" = no; then
19112 # Internal compiler library paths should come after those
19113 # provided the user. The postdeps already come after the
19114 # user supplied libs so there is no need to process them.
19115 if test -z "$compiler_lib_search_path_CXX"; then
19116 compiler_lib_search_path_CXX="${prev}${p}"
19118 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19121 # The "-l" case would never come before the object being
19122 # linked, so don't bother handling this case.
19125 if test -z "$postdeps_CXX"; then
19126 postdeps_CXX="${prev}${p}"
19128 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19134 # This assumes that the test object file only shows up
19135 # once in the compiler output.
19136 if test "$p" = "conftest.$objext"; then
19137 pre_test_object_deps_done=yes
19141 if test "$pre_test_object_deps_done" = no; then
19142 if test -z "$predep_objects_CXX"; then
19143 predep_objects_CXX="$p"
19145 predep_objects_CXX="$predep_objects_CXX $p"
19148 if test -z "$postdep_objects_CXX"; then
19149 postdep_objects_CXX="$p"
19151 postdep_objects_CXX="$postdep_objects_CXX $p"
19156 *) ;; # Ignore the rest.
19164 echo "libtool.m4: error: problem compiling CXX test program"
19167 $rm -f confest.$objext
19169 # PORTME: override above test on systems where it is broken
19172 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19173 # hack all around it, let's just trust "g++" to DTRT.
19174 predep_objects_CXX=
19175 postdep_objects_CXX=
19180 case $cc_basename in
19182 # Adding this requires a known-good setup of shared libraries for
19183 # Sun compiler versions before 5.6, else PIC objects from an old
19184 # archive will be linked into the output, leading to subtle bugs.
19185 postdeps_CXX='-lCstd -lCrun'
19192 case " $postdeps_CXX " in
19193 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19196 lt_prog_compiler_wl_CXX=
19197 lt_prog_compiler_pic_CXX=
19198 lt_prog_compiler_static_CXX=
19200 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19201 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19203 # C++ specific cases for pic, static, wl, etc.
19204 if test "$GXX" = yes; then
19205 lt_prog_compiler_wl_CXX='-Wl,'
19206 lt_prog_compiler_static_CXX='-static'
19210 # All AIX code is PIC.
19211 if test "$host_cpu" = ia64; then
19212 # AIX 5 now supports IA64 processor
19213 lt_prog_compiler_static_CXX='-Bstatic'
19217 # FIXME: we need at least 68020 code to build shared libraries, but
19218 # adding the `-m68020' flag to GCC prevents building anything better,
19220 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19222 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19223 # PIC is the default for these OSes.
19225 mingw* | os2* | pw32*)
19226 # This hack is so that the source file can tell whether it is being
19227 # built for inclusion in a dll (and should export symbols for example).
19228 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19230 darwin* | rhapsody*)
19231 # PIC is the default on this platform
19232 # Common symbols not allowed in MH_DYLIB files
19233 lt_prog_compiler_pic_CXX='-fno-common'
19236 # DJGPP does not support shared libraries at all
19237 lt_prog_compiler_pic_CXX=
19240 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19241 # Instead, we relocate shared libraries at runtime.
19244 if test -d /usr/nec; then
19245 lt_prog_compiler_pic_CXX=-Kconform_pic
19249 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19250 # not for PA HP-UX.
19255 lt_prog_compiler_pic_CXX='-fPIC'
19260 lt_prog_compiler_pic_CXX='-fPIC'
19266 # All AIX code is PIC.
19267 if test "$host_cpu" = ia64; then
19268 # AIX 5 now supports IA64 processor
19269 lt_prog_compiler_static_CXX='-Bstatic'
19271 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19275 case $cc_basename in
19277 # Green Hills C++ Compiler
19278 # _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"
19283 # PIC is the default on this platform
19284 # Common symbols not allowed in MH_DYLIB files
19285 case $cc_basename in
19287 lt_prog_compiler_pic_CXX='-qnocommon'
19288 lt_prog_compiler_wl_CXX='-Wl,'
19293 case $cc_basename in
19295 lt_prog_compiler_pic_CXX='-KPIC'
19298 # Green Hills C++ Compiler
19299 lt_prog_compiler_pic_CXX='-pic'
19305 freebsd* | kfreebsd*-gnu | dragonfly*)
19306 # FreeBSD uses GNU C++
19308 hpux9* | hpux10* | hpux11*)
19309 case $cc_basename in
19311 lt_prog_compiler_wl_CXX='-Wl,'
19312 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19313 if test "$host_cpu" != ia64; then
19314 lt_prog_compiler_pic_CXX='+Z'
19318 lt_prog_compiler_wl_CXX='-Wl,'
19319 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19325 lt_prog_compiler_pic_CXX='+Z'
19334 # This is c89, which is MS Visual C++ (no shared libs)
19335 # Anyone wants to do a port?
19337 irix5* | irix6* | nonstopux*)
19338 case $cc_basename in
19340 lt_prog_compiler_wl_CXX='-Wl,'
19341 lt_prog_compiler_static_CXX='-non_shared'
19342 # CC pic flag -KPIC is the default.
19349 case $cc_basename in
19352 lt_prog_compiler_wl_CXX='--backend -Wl,'
19353 lt_prog_compiler_pic_CXX='-fPIC'
19357 lt_prog_compiler_wl_CXX='-Wl,'
19358 lt_prog_compiler_pic_CXX='-KPIC'
19359 lt_prog_compiler_static_CXX='-static'
19362 # Portland Group C++ compiler.
19363 lt_prog_compiler_wl_CXX='-Wl,'
19364 lt_prog_compiler_pic_CXX='-fpic'
19365 lt_prog_compiler_static_CXX='-Bstatic'
19369 # Make sure the PIC flag is empty. It appears that all Alpha
19370 # Linux and Compaq Tru64 Unix objects are PIC.
19371 lt_prog_compiler_pic_CXX=
19372 lt_prog_compiler_static_CXX='-non_shared'
19383 case $cc_basename in
19385 lt_prog_compiler_pic_CXX='-W c,exportall'
19393 osf3* | osf4* | osf5*)
19394 case $cc_basename in
19396 lt_prog_compiler_wl_CXX='--backend -Wl,'
19399 # Rational C++ 2.4.1
19400 lt_prog_compiler_pic_CXX='-pic'
19403 # Digital/Compaq C++
19404 lt_prog_compiler_wl_CXX='-Wl,'
19405 # Make sure the PIC flag is empty. It appears that all Alpha
19406 # Linux and Compaq Tru64 Unix objects are PIC.
19407 lt_prog_compiler_pic_CXX=
19408 lt_prog_compiler_static_CXX='-non_shared'
19417 case $cc_basename in
19419 # Sun C++ 4.2, 5.x and Centerline C++
19420 lt_prog_compiler_pic_CXX='-KPIC'
19421 lt_prog_compiler_static_CXX='-Bstatic'
19422 lt_prog_compiler_wl_CXX='-Qoption ld '
19425 # Green Hills C++ Compiler
19426 lt_prog_compiler_pic_CXX='-PIC'
19433 case $cc_basename in
19436 lt_prog_compiler_pic_CXX='-pic'
19437 lt_prog_compiler_static_CXX='-Bstatic'
19441 lt_prog_compiler_pic_CXX='-pic'
19448 case $cc_basename in
19450 # NonStop-UX NCC 3.20
19451 lt_prog_compiler_pic_CXX='-KPIC'
19457 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19458 case $cc_basename in
19460 lt_prog_compiler_wl_CXX='-Wl,'
19461 lt_prog_compiler_pic_CXX='-KPIC'
19462 lt_prog_compiler_static_CXX='-Bstatic'
19469 lt_prog_compiler_can_build_shared_CXX=no
19474 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19475 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19478 # Check to make sure the PIC flag actually works.
19480 if test -n "$lt_prog_compiler_pic_CXX"; then
19482 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19483 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19484 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 lt_prog_compiler_pic_works_CXX=no
19488 ac_outfile=conftest.$ac_objext
19489 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19490 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19491 # Insert the option either (1) after the last *FLAGS variable, or
19492 # (2) before a word containing "conftest.", or (3) at the end.
19493 # Note that $ac_compile itself does not contain backslashes and begins
19494 # with a dollar sign (not a hyphen), so the echo should work correctly.
19495 # The option is referenced via a variable to avoid confusing sed.
19496 lt_compile=`echo "$ac_compile" | $SED \
19497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19499 -e 's:$: $lt_compiler_flag:'`
19500 (eval echo "\"\$as_me:19500: $lt_compile\"" >&5)
19501 (eval "$lt_compile" 2>conftest.err)
19503 cat conftest.err >&5
19504 echo "$as_me:19504: \$? = $ac_status" >&5
19505 if (exit $ac_status) && test -s "$ac_outfile"; then
19506 # The compiler can only warn and ignore the option if not recognized
19507 # So say no if there are warnings other than the usual output.
19508 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19509 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19510 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19511 lt_prog_compiler_pic_works_CXX=yes
19517 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19518 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19520 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
19521 case $lt_prog_compiler_pic_CXX in
19523 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19526 lt_prog_compiler_pic_CXX=
19527 lt_prog_compiler_can_build_shared_CXX=no
19532 # For platforms which do not support PIC, -DPIC is meaningless:
19534 lt_prog_compiler_pic_CXX=
19537 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19542 # Check to make sure the static flag actually works.
19544 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19545 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19546 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19547 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19548 echo $ECHO_N "(cached) $ECHO_C" >&6
19550 lt_prog_compiler_static_works_CXX=no
19551 save_LDFLAGS="$LDFLAGS"
19552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19553 printf "$lt_simple_link_test_code" > conftest.$ac_ext
19554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19555 # The linker can only warn and ignore the option if not recognized
19556 # So say no if there are warnings
19557 if test -s conftest.err; then
19558 # Append any errors to the config.log.
19559 cat conftest.err 1>&5
19560 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19562 if diff conftest.exp conftest.er2 >/dev/null; then
19563 lt_prog_compiler_static_works_CXX=yes
19566 lt_prog_compiler_static_works_CXX=yes
19570 LDFLAGS="$save_LDFLAGS"
19573 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19574 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19576 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
19579 lt_prog_compiler_static_CXX=
19583 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19584 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19585 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 lt_cv_prog_compiler_c_o_CXX=no
19589 $rm -r conftest 2>/dev/null
19593 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19595 lt_compiler_flag="-o out/conftest2.$ac_objext"
19596 # Insert the option either (1) after the last *FLAGS variable, or
19597 # (2) before a word containing "conftest.", or (3) at the end.
19598 # Note that $ac_compile itself does not contain backslashes and begins
19599 # with a dollar sign (not a hyphen), so the echo should work correctly.
19600 lt_compile=`echo "$ac_compile" | $SED \
19601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19603 -e 's:$: $lt_compiler_flag:'`
19604 (eval echo "\"\$as_me:19604: $lt_compile\"" >&5)
19605 (eval "$lt_compile" 2>out/conftest.err)
19607 cat out/conftest.err >&5
19608 echo "$as_me:19608: \$? = $ac_status" >&5
19609 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19611 # The compiler can only warn and ignore the option if not recognized
19612 # So say no if there are warnings
19613 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19614 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19615 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19616 lt_cv_prog_compiler_c_o_CXX=yes
19621 # SGI C++ compiler will create directory out/ii_files/ for
19622 # template instantiation
19623 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19624 $rm out/* && rmdir out
19630 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19631 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19634 hard_links="nottested"
19635 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19636 # do not overwrite the value of need_locks provided by the user
19637 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19638 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19641 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19643 ln conftest.a conftest.b 2>&5 || hard_links=no
19644 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19645 { echo "$as_me:$LINENO: result: $hard_links" >&5
19646 echo "${ECHO_T}$hard_links" >&6; }
19647 if test "$hard_links" = no; then
19648 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19649 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19656 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19657 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19659 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19662 # If we're using GNU nm, then we don't want the "-C" option.
19663 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19664 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19665 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'
19667 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'
19671 export_symbols_cmds_CXX="$ltdll_cmds"
19674 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'
19677 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19681 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19682 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19683 test "$ld_shlibs_CXX" = no && can_build_shared=no
19686 # Do we need to explicitly link libc?
19688 case "x$archive_cmds_need_lc_CXX" in
19690 # Assume -lc should be added
19691 archive_cmds_need_lc_CXX=yes
19693 if test "$enable_shared" = yes && test "$GCC" = yes; then
19694 case $archive_cmds_CXX in
19696 # FIXME: we may have to deal with multi-command sequences.
19699 # Test whether the compiler implicitly links with -lc since on some
19700 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19701 # to ld, don't add -lc before -lgcc.
19702 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19703 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19705 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19708 (eval $ac_compile) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } 2>conftest.err; then
19714 libobjs=conftest.$ac_objext
19716 wl=$lt_prog_compiler_wl_CXX
19717 pic_flag=$lt_prog_compiler_pic_CXX
19723 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19724 allow_undefined_flag_CXX=
19725 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19726 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }
19731 archive_cmds_need_lc_CXX=no
19733 archive_cmds_need_lc_CXX=yes
19735 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19737 cat conftest.err 1>&5
19740 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19741 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19748 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19749 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19750 library_names_spec=
19751 libname_spec='lib$name'
19755 postuninstall_cmds=
19759 shlibpath_overrides_runpath=unknown
19761 dynamic_linker="$host_os ld.so"
19762 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19763 if test "$GCC" = yes; then
19764 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19765 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19766 # if the path contains ";" then we assume it to be the separator
19767 # otherwise default to the standard path separator (i.e. ":") - it is
19768 # assumed that no part of a normal pathname contains ";" but that should
19769 # okay in the real world where ";" in dirpaths is itself problematic.
19770 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19772 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19775 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19777 need_lib_prefix=unknown
19778 hardcode_into_libs=no
19780 # when you set need_version to no, make sure it does not cause -set_version
19781 # flags to be left without arguments
19782 need_version=unknown
19787 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19788 shlibpath_var=LIBPATH
19790 # AIX 3 has no versioning support, so we append a major version to the name.
19791 soname_spec='${libname}${release}${shared_ext}$major'
19798 hardcode_into_libs=yes
19799 if test "$host_cpu" = ia64; then
19800 # AIX 5 supports IA64
19801 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19802 shlibpath_var=LD_LIBRARY_PATH
19804 # With GCC up to 2.95.x, collect2 would create an import file
19805 # for dependence libraries. The import file would start with
19806 # the line `#! .'. This would cause the generated library to
19807 # depend on `.', always an invalid library. This was fixed in
19808 # development snapshots of GCC prior to 3.0.
19810 aix4 | aix4.[01] | aix4.[01].*)
19811 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19813 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19816 can_build_shared=no
19820 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19821 # soname into executable. Probably we can add versioning support to
19822 # collect2, so additional links can be useful in future.
19823 if test "$aix_use_runtimelinking" = yes; then
19824 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19825 # instead of lib<name>.a to let people know that these are not
19826 # typical AIX shared libraries.
19827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19829 # We preserve .a as extension for shared libraries through AIX4.2
19830 # and later when we are not doing run time linking.
19831 library_names_spec='${libname}${release}.a $libname.a'
19832 soname_spec='${libname}${release}${shared_ext}$major'
19834 shlibpath_var=LIBPATH
19839 library_names_spec='$libname.ixlibrary $libname.a'
19840 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19841 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'
19845 library_names_spec='${libname}${shared_ext}'
19846 dynamic_linker="$host_os ld.so"
19847 shlibpath_var=LIBRARY_PATH
19853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19854 soname_spec='${libname}${release}${shared_ext}$major'
19855 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19856 shlibpath_var=LD_LIBRARY_PATH
19857 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19858 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19859 # the default ld.so.conf also contains /usr/contrib/lib and
19860 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19861 # libtool to hard-code these into programs
19864 cygwin* | mingw* | pw32*)
19865 version_type=windows
19870 case $GCC,$host_os in
19871 yes,cygwin* | yes,mingw* | yes,pw32*)
19872 library_names_spec='$libname.dll.a'
19873 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19874 postinstall_cmds='base_file=`basename \${file}`~
19875 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19876 dldir=$destdir/`dirname \$dlpath`~
19877 test -d \$dldir || mkdir -p \$dldir~
19878 $install_prog $dir/$dlname \$dldir/$dlname~
19879 chmod a+x \$dldir/$dlname'
19880 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19881 dlpath=$dir/\$dldll~
19883 shlibpath_overrides_runpath=yes
19887 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19888 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19889 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19892 # MinGW DLLs use traditional 'lib' prefix
19893 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19894 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19895 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19896 # It is most probably a Windows format PATH printed by
19897 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19898 # path with ; separators, and with drive letters. We can handle the
19899 # drive letters (cygwin fileutils understands them), so leave them,
19900 # especially as we might pass files found there to a mingw objdump,
19901 # which wouldn't understand a cygwinified path. Ahh.
19902 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19904 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19908 # pw32 DLLs use 'pw' prefix rather than 'lib'
19909 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19915 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19918 dynamic_linker='Win32 ld.exe'
19919 # FIXME: first we should search . and the directory the executable is in
19923 darwin* | rhapsody*)
19924 dynamic_linker="$host_os dyld"
19925 version_type=darwin
19928 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19929 soname_spec='${libname}${release}${major}$shared_ext'
19930 shlibpath_overrides_runpath=yes
19931 shlibpath_var=DYLD_LIBRARY_PATH
19932 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19933 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19934 if test "$GCC" = yes; then
19935 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"`
19937 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19939 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19947 soname_spec='${libname}${release}${shared_ext}$major'
19948 shlibpath_var=LD_LIBRARY_PATH
19959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19960 soname_spec='${libname}${release}${shared_ext}$major'
19961 shlibpath_var=LD_LIBRARY_PATH
19962 shlibpath_overrides_runpath=no
19963 hardcode_into_libs=yes
19964 dynamic_linker='GNU ld.so'
19967 freebsd* | dragonfly*)
19968 # DragonFly does not have aout. When/if they implement a new
19969 # versioning mechanism, adjust this.
19970 if test -x /usr/bin/objformat; then
19971 objformat=`/usr/bin/objformat`
19974 freebsd[123]*) objformat=aout ;;
19975 *) objformat=elf ;;
19978 version_type=freebsd-$objformat
19979 case $version_type in
19981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19986 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19990 shlibpath_var=LD_LIBRARY_PATH
19993 shlibpath_overrides_runpath=yes
19995 freebsd3.[01]* | freebsdelf3.[01]*)
19996 shlibpath_overrides_runpath=yes
19997 hardcode_into_libs=yes
19999 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20000 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20001 shlibpath_overrides_runpath=no
20002 hardcode_into_libs=yes
20004 freebsd*) # from 4.6 on
20005 shlibpath_overrides_runpath=yes
20006 hardcode_into_libs=yes
20015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20016 soname_spec='${libname}${release}${shared_ext}$major'
20017 shlibpath_var=LD_LIBRARY_PATH
20018 hardcode_into_libs=yes
20021 hpux9* | hpux10* | hpux11*)
20022 # Give a soname corresponding to the major version so that dld.sl refuses to
20023 # link against other versions.
20030 hardcode_into_libs=yes
20031 dynamic_linker="$host_os dld.so"
20032 shlibpath_var=LD_LIBRARY_PATH
20033 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20035 soname_spec='${libname}${release}${shared_ext}$major'
20036 if test "X$HPUX_IA64_MODE" = X32; then
20037 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20039 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20041 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20045 hardcode_into_libs=yes
20046 dynamic_linker="$host_os dld.sl"
20047 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20048 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20050 soname_spec='${libname}${release}${shared_ext}$major'
20051 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20056 dynamic_linker="$host_os dld.sl"
20057 shlibpath_var=SHLIB_PATH
20058 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20060 soname_spec='${libname}${release}${shared_ext}$major'
20063 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20064 postinstall_cmds='chmod 555 $lib'
20071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20072 soname_spec='${libname}${release}${shared_ext}$major'
20073 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20074 shlibpath_var=LD_LIBRARY_PATH
20075 shlibpath_overrides_runpath=no
20076 hardcode_into_libs=yes
20079 irix5* | irix6* | nonstopux*)
20081 nonstopux*) version_type=nonstopux ;;
20083 if test "$lt_cv_prog_gnu_ld" = yes; then
20091 soname_spec='${libname}${release}${shared_ext}$major'
20092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20094 irix5* | nonstopux*)
20095 libsuff= shlibsuff=
20098 case $LD in # libtool.m4 will add one of these switches to LD
20099 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20100 libsuff= shlibsuff= libmagic=32-bit;;
20101 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20102 libsuff=32 shlibsuff=N32 libmagic=N32;;
20103 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20104 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20105 *) libsuff= shlibsuff= libmagic=never-match;;
20109 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20110 shlibpath_overrides_runpath=no
20111 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20112 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20113 hardcode_into_libs=yes
20116 # No shared lib support for Linux oldld, aout, or coff.
20117 linux*oldld* | linux*aout* | linux*coff*)
20121 # This must be Linux ELF.
20126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20127 soname_spec='${libname}${release}${shared_ext}$major'
20128 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20129 shlibpath_var=LD_LIBRARY_PATH
20130 shlibpath_overrides_runpath=no
20131 # This implies no fast_install, which is unacceptable.
20132 # Some rework will be needed to allow for fast_install
20133 # before this can be enabled.
20134 hardcode_into_libs=yes
20136 # find out which ABI we are using
20138 case "$host_cpu" in
20139 x86_64*|s390x*|powerpc64*)
20140 echo '#line 20140 "configure"' > conftest.$ac_ext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20142 (eval $ac_compile) 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; then
20146 case `/usr/bin/file conftest.$ac_objext` in
20149 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20157 # Append ld.so.conf contents to the search path
20158 if test -f /etc/ld.so.conf; then
20159 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' ' '`
20160 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
20163 # We used to test for /lib/ld.so.1 and disable shared libraries on
20164 # powerpc, because MkLinux only supported shared libraries with the
20165 # GNU dynamic linker. Since this was broken with cross compilers,
20166 # most powerpc-linux boxes support dynamic linking these days and
20167 # people can always --disable-shared, the test was removed, and we
20168 # assume the GNU/Linux dynamic linker is in use.
20169 dynamic_linker='GNU/Linux ld.so'
20176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20177 soname_spec='${libname}${release}${shared_ext}$major'
20178 shlibpath_var=LD_LIBRARY_PATH
20179 shlibpath_overrides_runpath=no
20180 hardcode_into_libs=yes
20181 dynamic_linker='GNU ld.so'
20188 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20190 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20191 dynamic_linker='NetBSD (a.out) ld.so'
20193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20194 soname_spec='${libname}${release}${shared_ext}$major'
20195 dynamic_linker='NetBSD ld.elf_so'
20197 shlibpath_var=LD_LIBRARY_PATH
20198 shlibpath_overrides_runpath=yes
20199 hardcode_into_libs=yes
20204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20205 shlibpath_var=LD_LIBRARY_PATH
20206 shlibpath_overrides_runpath=yes
20213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20214 soname_spec='${libname}${release}${shared_ext}$major'
20215 shlibpath_var=LD_LIBRARY_PATH
20216 shlibpath_overrides_runpath=yes
20221 sys_lib_dlsearch_path_spec="/usr/lib"
20223 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20225 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20226 *) need_version=no ;;
20228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20229 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20230 shlibpath_var=LD_LIBRARY_PATH
20231 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20233 openbsd2.[89] | openbsd2.[89].*)
20234 shlibpath_overrides_runpath=no
20237 shlibpath_overrides_runpath=yes
20241 shlibpath_overrides_runpath=yes
20246 libname_spec='$name'
20249 library_names_spec='$libname${shared_ext} $libname.a'
20250 dynamic_linker='OS/2 ld.exe'
20251 shlibpath_var=LIBPATH
20254 osf3* | osf4* | osf5*)
20258 soname_spec='${libname}${release}${shared_ext}$major'
20259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20260 shlibpath_var=LD_LIBRARY_PATH
20261 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20262 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20270 soname_spec='${libname}${release}${shared_ext}$major'
20271 shlibpath_var=LD_LIBRARY_PATH
20272 shlibpath_overrides_runpath=yes
20273 hardcode_into_libs=yes
20274 # ldd complains unless libraries are executable
20275 postinstall_cmds='chmod +x $lib'
20280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20281 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20282 shlibpath_var=LD_LIBRARY_PATH
20283 shlibpath_overrides_runpath=yes
20284 if test "$with_gnu_ld" = yes; then
20292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20293 soname_spec='${libname}${release}${shared_ext}$major'
20294 shlibpath_var=LD_LIBRARY_PATH
20295 case $host_vendor in
20297 shlibpath_overrides_runpath=no
20299 export_dynamic_flag_spec='${wl}-Blargedynsym'
20300 runpath_var=LD_RUN_PATH
20308 shlibpath_overrides_runpath=no
20309 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20315 if test -d /usr/nec ;then
20317 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20318 soname_spec='$libname${shared_ext}.$major'
20319 shlibpath_var=LD_LIBRARY_PATH
20323 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20324 version_type=freebsd-elf
20327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20328 soname_spec='${libname}${release}${shared_ext}$major'
20329 shlibpath_var=LD_LIBRARY_PATH
20330 hardcode_into_libs=yes
20331 if test "$with_gnu_ld" = yes; then
20332 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20333 shlibpath_overrides_runpath=no
20335 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20336 shlibpath_overrides_runpath=yes
20339 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20343 sys_lib_dlsearch_path_spec='/usr/lib'
20348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20349 soname_spec='${libname}${release}${shared_ext}$major'
20350 shlibpath_var=LD_LIBRARY_PATH
20357 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20358 echo "${ECHO_T}$dynamic_linker" >&6; }
20359 test "$dynamic_linker" = no && can_build_shared=no
20361 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20362 if test "$GCC" = yes; then
20363 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20366 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20367 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20368 hardcode_action_CXX=
20369 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20370 test -n "$runpath_var_CXX" || \
20371 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20373 # We can hardcode non-existant directories.
20374 if test "$hardcode_direct_CXX" != no &&
20375 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20376 # have to relink, otherwise we might link with an installed library
20377 # when we should be linking with a yet-to-be-installed one
20378 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20379 test "$hardcode_minus_L_CXX" != no; then
20380 # Linking always hardcodes the temporary library directory.
20381 hardcode_action_CXX=relink
20383 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20384 hardcode_action_CXX=immediate
20387 # We cannot hardcode anything, or else we can only hardcode existing
20389 hardcode_action_CXX=unsupported
20391 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20392 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20394 if test "$hardcode_action_CXX" = relink; then
20395 # Fast installation is not supported
20396 enable_fast_install=no
20397 elif test "$shlibpath_overrides_runpath" = yes ||
20398 test "$enable_shared" = no; then
20399 # Fast installation is not necessary
20400 enable_fast_install=needless
20404 # The else clause should only fire when bootstrapping the
20405 # libtool distribution, otherwise you forgot to ship ltmain.sh
20406 # with your package, and you will get complaints that there are
20407 # no rules to generate ltmain.sh.
20408 if test -f "$ltmain"; then
20409 # See if we are running on zsh, and set the options which allow our commands through
20410 # without removal of \ escapes.
20411 if test -n "${ZSH_VERSION+set}" ; then
20412 setopt NO_GLOB_SUBST
20414 # Now quote all the things that may contain metacharacters while being
20415 # careful not to overquote the AC_SUBSTed values. We take copies of the
20416 # variables and quote the copies for generation of the libtool script.
20417 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20419 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20420 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20421 deplibs_check_method reload_flag reload_cmds need_locks \
20422 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20423 lt_cv_sys_global_symbol_to_c_name_address \
20424 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20425 old_postinstall_cmds old_postuninstall_cmds \
20429 lt_prog_compiler_wl_CXX \
20430 lt_prog_compiler_pic_CXX \
20431 lt_prog_compiler_static_CXX \
20432 lt_prog_compiler_no_builtin_flag_CXX \
20433 export_dynamic_flag_spec_CXX \
20434 thread_safe_flag_spec_CXX \
20435 whole_archive_flag_spec_CXX \
20436 enable_shared_with_static_runtimes_CXX \
20437 old_archive_cmds_CXX \
20438 old_archive_from_new_cmds_CXX \
20439 predep_objects_CXX \
20440 postdep_objects_CXX \
20443 compiler_lib_search_path_CXX \
20445 archive_expsym_cmds_CXX \
20446 postinstall_cmds_CXX \
20447 postuninstall_cmds_CXX \
20448 old_archive_from_expsyms_cmds_CXX \
20449 allow_undefined_flag_CXX \
20450 no_undefined_flag_CXX \
20451 export_symbols_cmds_CXX \
20452 hardcode_libdir_flag_spec_CXX \
20453 hardcode_libdir_flag_spec_ld_CXX \
20454 hardcode_libdir_separator_CXX \
20455 hardcode_automatic_CXX \
20457 module_expsym_cmds_CXX \
20458 lt_cv_prog_compiler_c_o_CXX \
20459 exclude_expsyms_CXX \
20460 include_expsyms_CXX; do
20463 old_archive_cmds_CXX | \
20464 old_archive_from_new_cmds_CXX | \
20465 archive_cmds_CXX | \
20466 archive_expsym_cmds_CXX | \
20467 module_cmds_CXX | \
20468 module_expsym_cmds_CXX | \
20469 old_archive_from_expsyms_cmds_CXX | \
20470 export_symbols_cmds_CXX | \
20471 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20472 postinstall_cmds | postuninstall_cmds | \
20473 old_postinstall_cmds | old_postuninstall_cmds | \
20474 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20475 # Double-quote double-evaled strings.
20476 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20479 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20485 *'\$0 --fallback-echo"')
20486 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20492 cat <<__EOF__ >> "$cfgfile"
20493 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20495 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20497 # Shell to use when invoking shell scripts.
20500 # Whether or not to build shared libraries.
20501 build_libtool_libs=$enable_shared
20503 # Whether or not to build static libraries.
20504 build_old_libs=$enable_static
20506 # Whether or not to add -lc for building shared libraries.
20507 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20509 # Whether or not to disallow shared libs when runtime libs are static
20510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20512 # Whether or not to optimize for fast installation.
20513 fast_install=$enable_fast_install
20516 host_alias=$host_alias
20520 # The build system.
20521 build_alias=$build_alias
20525 # An echo program that does not interpret backslashes.
20530 AR_FLAGS=$lt_AR_FLAGS
20535 # LTCC compiler flags.
20536 LTCFLAGS=$lt_LTCFLAGS
20538 # A language-specific compiler.
20539 CC=$lt_compiler_CXX
20541 # Is the compiler the GNU C compiler?
20547 # The linker used to build libraries.
20550 # Whether we need hard or soft links.
20553 # A BSD-compatible nm program.
20556 # A symbol stripping program
20559 # Used to examine libraries when file_magic_cmd begins "file"
20560 MAGIC_CMD=$MAGIC_CMD
20562 # Used on cygwin: DLL creation program.
20565 # Used on cygwin: object dumper.
20568 # Used on cygwin: assembler.
20571 # The name of the directory that contains temporary libtool files.
20574 # How to create reloadable object files.
20575 reload_flag=$lt_reload_flag
20576 reload_cmds=$lt_reload_cmds
20578 # How to pass a linker flag through the compiler.
20579 wl=$lt_lt_prog_compiler_wl_CXX
20581 # Object file suffix (normally "o").
20582 objext="$ac_objext"
20584 # Old archive suffix (normally "a").
20587 # Shared library suffix (normally ".so").
20588 shrext_cmds='$shrext_cmds'
20590 # Executable file suffix (normally "").
20593 # Additional compiler flags for building library objects.
20594 pic_flag=$lt_lt_prog_compiler_pic_CXX
20597 # What is the maximum length of a command?
20598 max_cmd_len=$lt_cv_sys_max_cmd_len
20600 # Does compiler simultaneously support -c and -o options?
20601 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20603 # Must we lock files when doing compilation?
20604 need_locks=$lt_need_locks
20606 # Do we need the lib prefix for modules?
20607 need_lib_prefix=$need_lib_prefix
20609 # Do we need a version for libraries?
20610 need_version=$need_version
20612 # Whether dlopen is supported.
20613 dlopen_support=$enable_dlopen
20615 # Whether dlopen of programs is supported.
20616 dlopen_self=$enable_dlopen_self
20618 # Whether dlopen of statically linked programs is supported.
20619 dlopen_self_static=$enable_dlopen_self_static
20621 # Compiler flag to prevent dynamic linking.
20622 link_static_flag=$lt_lt_prog_compiler_static_CXX
20624 # Compiler flag to turn off builtin functions.
20625 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20627 # Compiler flag to allow reflexive dlopens.
20628 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20630 # Compiler flag to generate shared objects directly from archives.
20631 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20633 # Compiler flag to generate thread-safe objects.
20634 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20636 # Library versioning type.
20637 version_type=$version_type
20639 # Format of library name prefix.
20640 libname_spec=$lt_libname_spec
20642 # List of archive names. First name is the real one, the rest are links.
20643 # The last name is the one that the linker finds with -lNAME.
20644 library_names_spec=$lt_library_names_spec
20646 # The coded name of the library, if different from the real name.
20647 soname_spec=$lt_soname_spec
20649 # Commands used to build and install an old-style archive.
20651 old_archive_cmds=$lt_old_archive_cmds_CXX
20652 old_postinstall_cmds=$lt_old_postinstall_cmds
20653 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20655 # Create an old-style archive from a shared archive.
20656 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20658 # Create a temporary old-style archive to link instead of a shared archive.
20659 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20661 # Commands used to build and install a shared archive.
20662 archive_cmds=$lt_archive_cmds_CXX
20663 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20664 postinstall_cmds=$lt_postinstall_cmds
20665 postuninstall_cmds=$lt_postuninstall_cmds
20667 # Commands used to build a loadable module (assumed same as above if empty)
20668 module_cmds=$lt_module_cmds_CXX
20669 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20671 # Commands to strip libraries.
20672 old_striplib=$lt_old_striplib
20673 striplib=$lt_striplib
20675 # Dependencies to place before the objects being linked to create a
20677 predep_objects=$lt_predep_objects_CXX
20679 # Dependencies to place after the objects being linked to create a
20681 postdep_objects=$lt_postdep_objects_CXX
20683 # Dependencies to place before the objects being linked to create a
20685 predeps=$lt_predeps_CXX
20687 # Dependencies to place after the objects being linked to create a
20689 postdeps=$lt_postdeps_CXX
20691 # The library search path used internally by the compiler when linking
20692 # a shared library.
20693 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20695 # Method to check whether dependent libraries are shared objects.
20696 deplibs_check_method=$lt_deplibs_check_method
20698 # Command to use when deplibs_check_method == file_magic.
20699 file_magic_cmd=$lt_file_magic_cmd
20701 # Flag that allows shared libraries with undefined symbols to be built.
20702 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20704 # Flag that forces no undefined symbols.
20705 no_undefined_flag=$lt_no_undefined_flag_CXX
20707 # Commands used to finish a libtool library installation in a directory.
20708 finish_cmds=$lt_finish_cmds
20710 # Same as above, but a single script fragment to be evaled but not shown.
20711 finish_eval=$lt_finish_eval
20713 # Take the output of nm and produce a listing of raw symbols and C names.
20714 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20716 # Transform the output of nm in a proper C declaration
20717 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20719 # Transform the output of nm in a C name address pair
20720 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20722 # This is the shared library runtime path variable.
20723 runpath_var=$runpath_var
20725 # This is the shared library path variable.
20726 shlibpath_var=$shlibpath_var
20728 # Is shlibpath searched before the hard-coded library search path?
20729 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20731 # How to hardcode a shared library path into an executable.
20732 hardcode_action=$hardcode_action_CXX
20734 # Whether we should hardcode library paths into libraries.
20735 hardcode_into_libs=$hardcode_into_libs
20737 # Flag to hardcode \$libdir into a binary during linking.
20738 # This must work even if \$libdir does not exist.
20739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20741 # If ld is used when linking, flag to hardcode \$libdir into
20742 # a binary during linking. This must work even if \$libdir does
20744 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20746 # Whether we need a single -rpath flag with a separated argument.
20747 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20749 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20750 # resulting binary.
20751 hardcode_direct=$hardcode_direct_CXX
20753 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20754 # resulting binary.
20755 hardcode_minus_L=$hardcode_minus_L_CXX
20757 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20758 # the resulting binary.
20759 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20761 # Set to yes if building a shared library automatically hardcodes DIR into the library
20762 # and all subsequent libraries and executables linked against it.
20763 hardcode_automatic=$hardcode_automatic_CXX
20765 # Variables whose values should be saved in libtool wrapper scripts and
20766 # restored at relink time.
20767 variables_saved_for_relink="$variables_saved_for_relink"
20769 # Whether libtool must link a program against all its dependency libraries.
20770 link_all_deplibs=$link_all_deplibs_CXX
20772 # Compile-time system search path for libraries
20773 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20775 # Run-time system search path for libraries
20776 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20778 # Fix the shell variable \$srcfile for the compiler.
20779 fix_srcfile_path="$fix_srcfile_path_CXX"
20781 # Set to yes if exported symbols are required.
20782 always_export_symbols=$always_export_symbols_CXX
20784 # The commands to list exported symbols.
20785 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20787 # The commands to extract the exported symbol list from a shared archive.
20788 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20790 # Symbols that should not be listed in the preloaded symbols.
20791 exclude_expsyms=$lt_exclude_expsyms_CXX
20793 # Symbols that must always be exported.
20794 include_expsyms=$lt_include_expsyms_CXX
20796 # ### END LIBTOOL TAG CONFIG: $tagname
20802 # If there is no Makefile yet, we rely on a make rule to execute
20803 # `config.status --recheck' to rerun these tests and create the
20804 # libtool script then.
20805 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20806 if test -f "$ltmain_in"; then
20807 test -f Makefile && make "$ltmain"
20813 ac_cpp='$CPP $CPPFLAGS'
20814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20822 with_gnu_ldcxx=$with_gnu_ld
20823 with_gnu_ld=$lt_save_with_gnu_ld
20824 lt_cv_path_LDCXX=$lt_cv_path_LD
20825 lt_cv_path_LD=$lt_save_path_LD
20826 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20827 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20835 if test -n "$F77" && test "X$F77" != "Xno"; then
20838 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20839 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20840 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
20843 archive_cmds_need_lc_F77=no
20844 allow_undefined_flag_F77=
20845 always_export_symbols_F77=no
20846 archive_expsym_cmds_F77=
20847 export_dynamic_flag_spec_F77=
20848 hardcode_direct_F77=no
20849 hardcode_libdir_flag_spec_F77=
20850 hardcode_libdir_flag_spec_ld_F77=
20851 hardcode_libdir_separator_F77=
20852 hardcode_minus_L_F77=no
20853 hardcode_automatic_F77=no
20855 module_expsym_cmds_F77=
20856 link_all_deplibs_F77=unknown
20857 old_archive_cmds_F77=$old_archive_cmds
20858 no_undefined_flag_F77=
20859 whole_archive_flag_spec_F77=
20860 enable_shared_with_static_runtimes_F77=no
20862 # Source file extension for f77 test sources.
20865 # Object file extension for compiled f77 test sources.
20869 # Code to be used in simple compile tests
20870 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
20872 # Code to be used in simple link tests
20873 lt_simple_link_test_code=" program t\n end\n"
20875 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20877 # If no C compiler was specified, use CC.
20880 # If no C compiler flags were specified, use CFLAGS.
20881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20883 # Allow CC to be a program name with arguments.
20887 # save warnings/boilerplate of simple test code
20888 ac_outfile=conftest.$ac_objext
20889 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
20890 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20891 _lt_compiler_boilerplate=`cat conftest.err`
20894 ac_outfile=conftest.$ac_objext
20895 printf "$lt_simple_link_test_code" >conftest.$ac_ext
20896 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20897 _lt_linker_boilerplate=`cat conftest.err`
20901 # Allow CC to be a program name with arguments.
20906 for cc_temp in $compiler""; do
20908 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20909 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20914 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20917 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20918 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
20919 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
20920 echo "${ECHO_T}$can_build_shared" >&6; }
20922 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20923 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
20924 test "$can_build_shared" = "no" && enable_shared=no
20926 # On AIX, shared libraries and static libraries use the same namespace, and
20927 # are all built from PIC.
20930 test "$enable_shared" = yes && enable_static=no
20931 if test -n "$RANLIB"; then
20932 archive_cmds="$archive_cmds~\$RANLIB \$lib"
20933 postinstall_cmds='$RANLIB $lib'
20937 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
20938 test "$enable_shared" = yes && enable_static=no
20942 { echo "$as_me:$LINENO: result: $enable_shared" >&5
20943 echo "${ECHO_T}$enable_shared" >&6; }
20945 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20946 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
20947 # Make sure either enable_shared or enable_static is yes.
20948 test "$enable_shared" = yes || enable_static=yes
20949 { echo "$as_me:$LINENO: result: $enable_static" >&5
20950 echo "${ECHO_T}$enable_static" >&6; }
20955 lt_prog_compiler_wl_F77=
20956 lt_prog_compiler_pic_F77=
20957 lt_prog_compiler_static_F77=
20959 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20960 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20962 if test "$GCC" = yes; then
20963 lt_prog_compiler_wl_F77='-Wl,'
20964 lt_prog_compiler_static_F77='-static'
20968 # All AIX code is PIC.
20969 if test "$host_cpu" = ia64; then
20970 # AIX 5 now supports IA64 processor
20971 lt_prog_compiler_static_F77='-Bstatic'
20976 # FIXME: we need at least 68020 code to build shared libraries, but
20977 # adding the `-m68020' flag to GCC prevents building anything better,
20979 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
20982 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20983 # PIC is the default for these OSes.
20986 mingw* | pw32* | os2*)
20987 # This hack is so that the source file can tell whether it is being
20988 # built for inclusion in a dll (and should export symbols for example).
20989 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20992 darwin* | rhapsody*)
20993 # PIC is the default on this platform
20994 # Common symbols not allowed in MH_DYLIB files
20995 lt_prog_compiler_pic_F77='-fno-common'
20999 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21000 # Instead, we relocate shared libraries at runtime.
21004 # Just because we use GCC doesn't mean we suddenly get shared libraries
21005 # on systems that don't support them.
21006 lt_prog_compiler_can_build_shared_F77=no
21011 if test -d /usr/nec; then
21012 lt_prog_compiler_pic_F77=-Kconform_pic
21017 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21018 # not for PA HP-UX.
21024 lt_prog_compiler_pic_F77='-fPIC'
21030 lt_prog_compiler_pic_F77='-fPIC'
21034 # PORTME Check for flag to pass linker flags through the system compiler.
21037 lt_prog_compiler_wl_F77='-Wl,'
21038 if test "$host_cpu" = ia64; then
21039 # AIX 5 now supports IA64 processor
21040 lt_prog_compiler_static_F77='-Bstatic'
21042 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21046 # PIC is the default on this platform
21047 # Common symbols not allowed in MH_DYLIB files
21048 case $cc_basename in
21050 lt_prog_compiler_pic_F77='-qnocommon'
21051 lt_prog_compiler_wl_F77='-Wl,'
21056 mingw* | pw32* | os2*)
21057 # This hack is so that the source file can tell whether it is being
21058 # built for inclusion in a dll (and should export symbols for example).
21059 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21062 hpux9* | hpux10* | hpux11*)
21063 lt_prog_compiler_wl_F77='-Wl,'
21064 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21065 # not for PA HP-UX.
21071 lt_prog_compiler_pic_F77='+Z'
21074 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21075 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21078 irix5* | irix6* | nonstopux*)
21079 lt_prog_compiler_wl_F77='-Wl,'
21080 # PIC (with -KPIC) is the default.
21081 lt_prog_compiler_static_F77='-non_shared'
21085 lt_prog_compiler_pic_F77='-KPIC'
21086 lt_prog_compiler_static_F77='-Bstatic'
21090 case $cc_basename in
21092 lt_prog_compiler_wl_F77='-Wl,'
21093 lt_prog_compiler_pic_F77='-KPIC'
21094 lt_prog_compiler_static_F77='-static'
21096 pgcc* | pgf77* | pgf90* | pgf95*)
21097 # Portland Group compilers (*not* the Pentium gcc compiler,
21098 # which looks to be a dead project)
21099 lt_prog_compiler_wl_F77='-Wl,'
21100 lt_prog_compiler_pic_F77='-fpic'
21101 lt_prog_compiler_static_F77='-Bstatic'
21104 lt_prog_compiler_wl_F77='-Wl,'
21105 # All Alpha code is PIC.
21106 lt_prog_compiler_static_F77='-non_shared'
21111 osf3* | osf4* | osf5*)
21112 lt_prog_compiler_wl_F77='-Wl,'
21113 # All OSF/1 code is PIC.
21114 lt_prog_compiler_static_F77='-non_shared'
21118 lt_prog_compiler_pic_F77='-KPIC'
21119 lt_prog_compiler_static_F77='-Bstatic'
21120 case $cc_basename in
21121 f77* | f90* | f95*)
21122 lt_prog_compiler_wl_F77='-Qoption ld ';;
21124 lt_prog_compiler_wl_F77='-Wl,';;
21129 lt_prog_compiler_wl_F77='-Qoption ld '
21130 lt_prog_compiler_pic_F77='-PIC'
21131 lt_prog_compiler_static_F77='-Bstatic'
21134 sysv4 | sysv4.2uw2* | sysv4.3*)
21135 lt_prog_compiler_wl_F77='-Wl,'
21136 lt_prog_compiler_pic_F77='-KPIC'
21137 lt_prog_compiler_static_F77='-Bstatic'
21141 if test -d /usr/nec ;then
21142 lt_prog_compiler_pic_F77='-Kconform_pic'
21143 lt_prog_compiler_static_F77='-Bstatic'
21147 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21148 lt_prog_compiler_wl_F77='-Wl,'
21149 lt_prog_compiler_pic_F77='-KPIC'
21150 lt_prog_compiler_static_F77='-Bstatic'
21154 lt_prog_compiler_wl_F77='-Wl,'
21155 lt_prog_compiler_can_build_shared_F77=no
21159 lt_prog_compiler_pic_F77='-pic'
21160 lt_prog_compiler_static_F77='-Bstatic'
21164 lt_prog_compiler_can_build_shared_F77=no
21169 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21170 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21173 # Check to make sure the PIC flag actually works.
21175 if test -n "$lt_prog_compiler_pic_F77"; then
21177 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21178 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21179 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21180 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 lt_prog_compiler_pic_works_F77=no
21183 ac_outfile=conftest.$ac_objext
21184 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21185 lt_compiler_flag="$lt_prog_compiler_pic_F77"
21186 # Insert the option either (1) after the last *FLAGS variable, or
21187 # (2) before a word containing "conftest.", or (3) at the end.
21188 # Note that $ac_compile itself does not contain backslashes and begins
21189 # with a dollar sign (not a hyphen), so the echo should work correctly.
21190 # The option is referenced via a variable to avoid confusing sed.
21191 lt_compile=`echo "$ac_compile" | $SED \
21192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21194 -e 's:$: $lt_compiler_flag:'`
21195 (eval echo "\"\$as_me:21195: $lt_compile\"" >&5)
21196 (eval "$lt_compile" 2>conftest.err)
21198 cat conftest.err >&5
21199 echo "$as_me:21199: \$? = $ac_status" >&5
21200 if (exit $ac_status) && test -s "$ac_outfile"; then
21201 # The compiler can only warn and ignore the option if not recognized
21202 # So say no if there are warnings other than the usual output.
21203 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21205 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21206 lt_prog_compiler_pic_works_F77=yes
21212 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21213 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21215 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21216 case $lt_prog_compiler_pic_F77 in
21218 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21221 lt_prog_compiler_pic_F77=
21222 lt_prog_compiler_can_build_shared_F77=no
21227 # For platforms which do not support PIC, -DPIC is meaningless:
21229 lt_prog_compiler_pic_F77=
21232 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21237 # Check to make sure the static flag actually works.
21239 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21240 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21241 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21242 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21243 echo $ECHO_N "(cached) $ECHO_C" >&6
21245 lt_prog_compiler_static_works_F77=no
21246 save_LDFLAGS="$LDFLAGS"
21247 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21248 printf "$lt_simple_link_test_code" > conftest.$ac_ext
21249 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21250 # The linker can only warn and ignore the option if not recognized
21251 # So say no if there are warnings
21252 if test -s conftest.err; then
21253 # Append any errors to the config.log.
21254 cat conftest.err 1>&5
21255 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21257 if diff conftest.exp conftest.er2 >/dev/null; then
21258 lt_prog_compiler_static_works_F77=yes
21261 lt_prog_compiler_static_works_F77=yes
21265 LDFLAGS="$save_LDFLAGS"
21268 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21269 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21271 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21274 lt_prog_compiler_static_F77=
21278 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21279 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21280 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 lt_cv_prog_compiler_c_o_F77=no
21284 $rm -r conftest 2>/dev/null
21288 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21290 lt_compiler_flag="-o out/conftest2.$ac_objext"
21291 # Insert the option either (1) after the last *FLAGS variable, or
21292 # (2) before a word containing "conftest.", or (3) at the end.
21293 # Note that $ac_compile itself does not contain backslashes and begins
21294 # with a dollar sign (not a hyphen), so the echo should work correctly.
21295 lt_compile=`echo "$ac_compile" | $SED \
21296 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21297 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21298 -e 's:$: $lt_compiler_flag:'`
21299 (eval echo "\"\$as_me:21299: $lt_compile\"" >&5)
21300 (eval "$lt_compile" 2>out/conftest.err)
21302 cat out/conftest.err >&5
21303 echo "$as_me:21303: \$? = $ac_status" >&5
21304 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21306 # The compiler can only warn and ignore the option if not recognized
21307 # So say no if there are warnings
21308 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21309 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21310 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21311 lt_cv_prog_compiler_c_o_F77=yes
21316 # SGI C++ compiler will create directory out/ii_files/ for
21317 # template instantiation
21318 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21319 $rm out/* && rmdir out
21325 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21326 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21329 hard_links="nottested"
21330 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21331 # do not overwrite the value of need_locks provided by the user
21332 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21333 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21336 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21338 ln conftest.a conftest.b 2>&5 || hard_links=no
21339 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21340 { echo "$as_me:$LINENO: result: $hard_links" >&5
21341 echo "${ECHO_T}$hard_links" >&6; }
21342 if test "$hard_links" = no; then
21343 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21344 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21351 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21352 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21355 allow_undefined_flag_F77=
21356 enable_shared_with_static_runtimes_F77=no
21358 archive_expsym_cmds_F77=
21359 old_archive_From_new_cmds_F77=
21360 old_archive_from_expsyms_cmds_F77=
21361 export_dynamic_flag_spec_F77=
21362 whole_archive_flag_spec_F77=
21363 thread_safe_flag_spec_F77=
21364 hardcode_libdir_flag_spec_F77=
21365 hardcode_libdir_flag_spec_ld_F77=
21366 hardcode_libdir_separator_F77=
21367 hardcode_direct_F77=no
21368 hardcode_minus_L_F77=no
21369 hardcode_shlibpath_var_F77=unsupported
21370 link_all_deplibs_F77=unknown
21371 hardcode_automatic_F77=no
21373 module_expsym_cmds_F77=
21374 always_export_symbols_F77=no
21375 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21376 # include_expsyms should be a list of space-separated symbols to be *always*
21377 # included in the symbol list
21378 include_expsyms_F77=
21379 # exclude_expsyms can be an extended regexp of symbols to exclude
21380 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21381 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21382 # as well as any symbol that contains `d'.
21383 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21384 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21385 # platforms (ab)use it in PIC code, but their linkers get confused if
21386 # the symbol is explicitly referenced. Since portable code cannot
21387 # rely on this symbol name, it's probably fine to never include it in
21388 # preloaded symbol tables.
21389 extract_expsyms_cmds=
21390 # Just being paranoid about ensuring that cc_basename is set.
21391 for cc_temp in $compiler""; do
21393 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21394 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21399 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21402 cygwin* | mingw* | pw32*)
21403 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21404 # When not using gcc, we currently assume that we are using
21405 # Microsoft Visual C++.
21406 if test "$GCC" != yes; then
21411 # we just hope/assume this is gcc and not c89 (= MSVC++)
21420 if test "$with_gnu_ld" = yes; then
21421 # If archive_cmds runs LD, not CC, wlarc should be empty
21424 # Set some defaults for GNU ld with shared library support. These
21425 # are reset later if shared libraries are not supported. Putting them
21426 # here allows them to be overridden if necessary.
21427 runpath_var=LD_RUN_PATH
21428 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21429 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21430 # ancient GNU ld didn't support --whole-archive et. al.
21431 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21432 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21434 whole_archive_flag_spec_F77=
21436 supports_anon_versioning=no
21437 case `$LD -v 2>/dev/null` in
21438 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21439 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21440 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21441 *\ 2.11.*) ;; # other 2.11 versions
21442 *) supports_anon_versioning=yes ;;
21445 # See if GNU ld supports shared libraries.
21447 aix3* | aix4* | aix5*)
21448 # On AIX/PPC, the GNU linker is very broken
21449 if test "$host_cpu" != ia64; then
21453 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21454 *** to be unable to reliably create shared libraries on AIX.
21455 *** Therefore, libtool is disabling shared libraries support. If you
21456 *** really care for shared libraries, you may want to modify your PATH
21457 *** so that a non-GNU linker is found, and then restart.
21464 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)'
21465 hardcode_libdir_flag_spec_F77='-L$libdir'
21466 hardcode_minus_L_F77=yes
21468 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21469 # that the semantics of dynamic libraries on AmigaOS, at least up
21470 # to version 4, is to share data among multiple programs linked
21471 # with the same dynamic library. Since this doesn't match the
21472 # behavior of shared libraries on other platforms, we can't use
21478 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21479 allow_undefined_flag_F77=unsupported
21480 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21481 # support --undefined. This deserves some investigation. FIXME
21482 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21488 cygwin* | mingw* | pw32*)
21489 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21490 # as there is no search path for DLLs.
21491 hardcode_libdir_flag_spec_F77='-L$libdir'
21492 allow_undefined_flag_F77=unsupported
21493 always_export_symbols_F77=no
21494 enable_shared_with_static_runtimes_F77=yes
21495 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21497 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21498 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21499 # If the export-symbols file already is a .def file (1st line
21500 # is EXPORTS), use it as is; otherwise, prepend...
21501 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21502 cp $export_symbols $output_objdir/$soname.def;
21504 echo EXPORTS > $output_objdir/$soname.def;
21505 cat $export_symbols >> $output_objdir/$soname.def;
21507 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21514 hardcode_direct_F77=no
21515 hardcode_shlibpath_var_F77=no
21516 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21517 export_dynamic_flag_spec_F77='${wl}-E'
21518 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21519 # Instead, shared libraries are loaded at an image base (0x10000000 by
21520 # default) and relocated if they conflict, which is a slow very memory
21521 # consuming and fragmenting process. To avoid this, we pick a random,
21522 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21523 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21524 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'
21525 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'
21529 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21531 case $cc_basename,$host_cpu in
21532 pgcc*) # Portland Group C compiler
21533 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'
21534 tmp_addflag=' $pic_flag'
21536 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21537 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'
21538 tmp_addflag=' $pic_flag -Mnomain' ;;
21539 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21540 tmp_addflag=' -i_dynamic' ;;
21541 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21542 tmp_addflag=' -i_dynamic -nofor_main' ;;
21543 ifc* | ifort*) # Intel Fortran compiler
21544 tmp_addflag=' -nofor_main' ;;
21546 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21548 if test $supports_anon_versioning = yes; then
21549 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
21550 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21551 $echo "local: *; };" >> $output_objdir/$libname.ver~
21552 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21560 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21561 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21564 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21565 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21570 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21574 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21575 *** create shared libraries on Solaris systems. Therefore, libtool
21576 *** is disabling shared libraries support. We urge you to upgrade GNU
21577 *** binutils to release 2.9.1 or newer. Another option is to modify
21578 *** your PATH or compiler configuration so that the native linker is
21579 *** used, and then restart.
21582 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21583 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21584 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21591 case `$LD -v 2>&1` in
21592 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21596 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21597 *** reliably create shared libraries on SCO systems. Therefore, libtool
21598 *** is disabling shared libraries support. We urge you to upgrade GNU
21599 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21600 *** your PATH or compiler configuration so that the native linker is
21601 *** used, and then restart.
21606 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21607 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21608 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21609 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21618 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21620 hardcode_direct_F77=yes
21621 hardcode_shlibpath_var_F77=no
21625 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21626 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21627 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21634 if test "$ld_shlibs_F77" = no; then
21636 hardcode_libdir_flag_spec_F77=
21637 export_dynamic_flag_spec_F77=
21638 whole_archive_flag_spec_F77=
21641 # PORTME fill in a description of your system's linker (not GNU ld)
21644 allow_undefined_flag_F77=unsupported
21645 always_export_symbols_F77=yes
21646 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'
21647 # Note: this linker hardcodes the directories in LIBPATH if there
21648 # are no directories specified by -L.
21649 hardcode_minus_L_F77=yes
21650 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21651 # Neither direct hardcoding nor static linking is supported with a
21653 hardcode_direct_F77=unsupported
21658 if test "$host_cpu" = ia64; then
21659 # On IA64, the linker does run time linking by default, so we don't
21660 # have to do anything special.
21661 aix_use_runtimelinking=no
21662 exp_sym_flag='-Bexport'
21665 # If we're using GNU nm, then we don't want the "-C" option.
21666 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21667 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21668 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'
21670 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'
21672 aix_use_runtimelinking=no
21674 # Test if we are trying to use run time linking or normal
21675 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21676 # need to do runtime linking.
21677 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
21678 for ld_flag in $LDFLAGS; do
21679 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21680 aix_use_runtimelinking=yes
21687 exp_sym_flag='-bexport'
21688 no_entry_flag='-bnoentry'
21691 # When large executables or shared objects are built, AIX ld can
21692 # have problems creating the table of contents. If linking a library
21693 # or program results in "error TOC overflow" add -mminimal-toc to
21694 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21695 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21697 archive_cmds_F77=''
21698 hardcode_direct_F77=yes
21699 hardcode_libdir_separator_F77=':'
21700 link_all_deplibs_F77=yes
21702 if test "$GCC" = yes; then
21703 case $host_os in aix4.[012]|aix4.[012].*)
21704 # We only want to do this on AIX 4.2 and lower, the check
21705 # below for broken collect2 doesn't work under 4.3+
21706 collect2name=`${CC} -print-prog-name=collect2`
21707 if test -f "$collect2name" && \
21708 strings "$collect2name" | grep resolve_lib_name >/dev/null
21710 # We have reworked collect2
21711 hardcode_direct_F77=yes
21713 # We have old collect2
21714 hardcode_direct_F77=unsupported
21715 # It fails to find uninstalled libraries when the uninstalled
21716 # path is not listed in the libpath. Setting hardcode_minus_L
21717 # to unsupported forces relinking
21718 hardcode_minus_L_F77=yes
21719 hardcode_libdir_flag_spec_F77='-L$libdir'
21720 hardcode_libdir_separator_F77=
21724 shared_flag='-shared'
21725 if test "$aix_use_runtimelinking" = yes; then
21726 shared_flag="$shared_flag "'${wl}-G'
21730 if test "$host_cpu" = ia64; then
21731 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21732 # chokes on -Wl,-G. The following line is correct:
21735 if test "$aix_use_runtimelinking" = yes; then
21736 shared_flag='${wl}-G'
21738 shared_flag='${wl}-bM:SRE'
21743 # It seems that -bexpall does not export symbols beginning with
21744 # underscore (_), so it is better to generate a list of symbols to export.
21745 always_export_symbols_F77=yes
21746 if test "$aix_use_runtimelinking" = yes; then
21747 # Warning - without using the other runtime loading flags (-brtl),
21748 # -berok will link without error, but may produce a broken library.
21749 allow_undefined_flag_F77='-berok'
21750 # Determine the default libpath from the value encoded in an empty executable.
21751 cat >conftest.$ac_ext <<_ACEOF
21756 rm -f conftest.$ac_objext conftest$ac_exeext
21757 if { (ac_try="$ac_link"
21758 case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21763 (eval "$ac_link") 2>conftest.er1
21765 grep -v '^ *+' conftest.er1 >conftest.err
21767 cat conftest.err >&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } && {
21770 test -z "$ac_f77_werror_flag" ||
21771 test ! -s conftest.err
21772 } && test -s conftest$ac_exeext &&
21773 $as_test_x conftest$ac_exeext; then
21775 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21777 # Check for a 64-bit object if we didn't find anything.
21778 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; }
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.$ac_ext >&5
21787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21788 conftest$ac_exeext conftest.$ac_ext
21789 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21791 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21792 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"
21794 if test "$host_cpu" = ia64; then
21795 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21796 allow_undefined_flag_F77="-z nodefs"
21797 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"
21799 # Determine the default libpath from the value encoded in an empty executable.
21800 cat >conftest.$ac_ext <<_ACEOF
21805 rm -f conftest.$ac_objext conftest$ac_exeext
21806 if { (ac_try="$ac_link"
21807 case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_link") 2>conftest.er1
21814 grep -v '^ *+' conftest.er1 >conftest.err
21816 cat conftest.err >&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } && {
21819 test -z "$ac_f77_werror_flag" ||
21820 test ! -s conftest.err
21821 } && test -s conftest$ac_exeext &&
21822 $as_test_x conftest$ac_exeext; then
21824 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21826 # Check for a 64-bit object if we didn't find anything.
21827 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; }
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.$ac_ext >&5
21836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21837 conftest$ac_exeext conftest.$ac_ext
21838 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21840 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21841 # Warning - without using the other run time loading flags,
21842 # -berok will link without error, but may produce a broken library.
21843 no_undefined_flag_F77=' ${wl}-bernotok'
21844 allow_undefined_flag_F77=' ${wl}-berok'
21845 # Exported symbols can be pulled into shared objects from archives
21846 whole_archive_flag_spec_F77='$convenience'
21847 archive_cmds_need_lc_F77=yes
21848 # This is similar to how AIX traditionally builds its shared libraries.
21849 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'
21855 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)'
21856 hardcode_libdir_flag_spec_F77='-L$libdir'
21857 hardcode_minus_L_F77=yes
21858 # see comment about different semantics on the GNU ld section
21863 export_dynamic_flag_spec_F77=-rdynamic
21866 cygwin* | mingw* | pw32*)
21867 # When not using gcc, we currently assume that we are using
21868 # Microsoft Visual C++.
21869 # hardcode_libdir_flag_spec is actually meaningless, as there is
21870 # no search path for DLLs.
21871 hardcode_libdir_flag_spec_F77=' '
21872 allow_undefined_flag_F77=unsupported
21873 # Tell ltmain to make .lib files, not .a files.
21875 # Tell ltmain to make .dll files, not .so files.
21877 # FIXME: Setting linknames here is a bad hack.
21878 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21879 # The linker will automatically build a .lib file if we build a DLL.
21880 old_archive_From_new_cmds_F77='true'
21881 # FIXME: Should let the user specify the lib program.
21882 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
21883 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
21884 enable_shared_with_static_runtimes_F77=yes
21887 darwin* | rhapsody*)
21889 rhapsody* | darwin1.[012])
21890 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
21893 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21894 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21896 case ${MACOSX_DEPLOYMENT_TARGET} in
21898 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21901 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
21907 archive_cmds_need_lc_F77=no
21908 hardcode_direct_F77=no
21909 hardcode_automatic_F77=yes
21910 hardcode_shlibpath_var_F77=unsupported
21911 whole_archive_flag_spec_F77=''
21912 link_all_deplibs_F77=yes
21913 if test "$GCC" = yes ; then
21914 output_verbose_link_cmd='echo'
21915 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21916 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21917 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21918 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}'
21919 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}'
21921 case $cc_basename in
21923 output_verbose_link_cmd='echo'
21924 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21925 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21926 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21927 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}'
21928 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}'
21938 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21939 hardcode_libdir_flag_spec_F77='-L$libdir'
21940 hardcode_shlibpath_var_F77=no
21947 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21948 # support. Future versions do this automatically, but an explicit c++rt0.o
21949 # does not break anything, and helps significantly (at the cost of a little
21952 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21953 hardcode_libdir_flag_spec_F77='-R$libdir'
21954 hardcode_direct_F77=yes
21955 hardcode_shlibpath_var_F77=no
21958 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21960 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21961 hardcode_direct_F77=yes
21962 hardcode_minus_L_F77=yes
21963 hardcode_shlibpath_var_F77=no
21966 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21967 freebsd* | kfreebsd*-gnu | dragonfly*)
21968 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21969 hardcode_libdir_flag_spec_F77='-R$libdir'
21970 hardcode_direct_F77=yes
21971 hardcode_shlibpath_var_F77=no
21975 if test "$GCC" = yes; then
21976 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'
21978 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'
21980 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21981 hardcode_libdir_separator_F77=:
21982 hardcode_direct_F77=yes
21984 # hardcode_minus_L: Not really in the search PATH,
21985 # but as the default location of the library.
21986 hardcode_minus_L_F77=yes
21987 export_dynamic_flag_spec_F77='${wl}-E'
21991 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21992 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21994 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21996 if test "$with_gnu_ld" = no; then
21997 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21998 hardcode_libdir_separator_F77=:
22000 hardcode_direct_F77=yes
22001 export_dynamic_flag_spec_F77='${wl}-E'
22003 # hardcode_minus_L: Not really in the search PATH,
22004 # but as the default location of the library.
22005 hardcode_minus_L_F77=yes
22010 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22013 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22016 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22019 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22025 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22028 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22031 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22035 if test "$with_gnu_ld" = no; then
22036 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22037 hardcode_libdir_separator_F77=:
22041 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22042 hardcode_direct_F77=no
22043 hardcode_shlibpath_var_F77=no
22046 hardcode_direct_F77=yes
22047 export_dynamic_flag_spec_F77='${wl}-E'
22049 # hardcode_minus_L: Not really in the search PATH,
22050 # but as the default location of the library.
22051 hardcode_minus_L_F77=yes
22057 irix5* | irix6* | nonstopux*)
22058 if test "$GCC" = yes; then
22059 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'
22061 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'
22062 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22064 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22065 hardcode_libdir_separator_F77=:
22066 link_all_deplibs_F77=yes
22070 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22071 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22073 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22075 hardcode_libdir_flag_spec_F77='-R$libdir'
22076 hardcode_direct_F77=yes
22077 hardcode_shlibpath_var_F77=no
22081 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22082 hardcode_direct_F77=yes
22083 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22084 hardcode_libdir_separator_F77=:
22085 hardcode_shlibpath_var_F77=no
22089 hardcode_direct_F77=yes
22090 hardcode_shlibpath_var_F77=no
22091 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22092 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22093 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22094 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22095 export_dynamic_flag_spec_F77='${wl}-E'
22098 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22099 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22100 hardcode_libdir_flag_spec_F77='-R$libdir'
22103 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22104 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22111 hardcode_libdir_flag_spec_F77='-L$libdir'
22112 hardcode_minus_L_F77=yes
22113 allow_undefined_flag_F77=unsupported
22114 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'
22115 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22119 if test "$GCC" = yes; then
22120 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22121 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'
22123 allow_undefined_flag_F77=' -expect_unresolved \*'
22124 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'
22126 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22127 hardcode_libdir_separator_F77=:
22130 osf4* | osf5*) # as osf3* with the addition of -msym flag
22131 if test "$GCC" = yes; then
22132 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22133 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'
22134 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22136 allow_undefined_flag_F77=' -expect_unresolved \*'
22137 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'
22138 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~
22139 $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'
22141 # Both c and cxx compiler support -rpath directly
22142 hardcode_libdir_flag_spec_F77='-rpath $libdir'
22144 hardcode_libdir_separator_F77=:
22148 no_undefined_flag_F77=' -z text'
22149 if test "$GCC" = yes; then
22151 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22152 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22153 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22156 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22157 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22158 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22160 hardcode_libdir_flag_spec_F77='-R$libdir'
22161 hardcode_shlibpath_var_F77=no
22163 solaris2.[0-5] | solaris2.[0-5].*) ;;
22165 # The compiler driver will combine linker options so we
22166 # cannot just pass the convience library names through
22167 # without $wl, iff we do not link with $LD.
22168 # Luckily, gcc supports the same syntax we need for Sun Studio.
22169 # Supported since Solaris 2.6 (maybe 2.5.1?)
22172 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
22174 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' ;;
22177 link_all_deplibs_F77=yes
22181 if test "x$host_vendor" = xsequent; then
22182 # Use $CC to link under sequent, because it throws in some extra .o
22183 # files that make .init and .fini sections work.
22184 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22186 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22188 hardcode_libdir_flag_spec_F77='-L$libdir'
22189 hardcode_direct_F77=yes
22190 hardcode_minus_L_F77=yes
22191 hardcode_shlibpath_var_F77=no
22195 case $host_vendor in
22197 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22198 hardcode_direct_F77=yes # is this really true???
22201 ## LD is ld it makes a PLAMLIB
22202 ## CC just makes a GrossModule.
22203 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22204 reload_cmds_F77='$CC -r -o $output$reload_objs'
22205 hardcode_direct_F77=no
22208 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22209 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22212 runpath_var='LD_RUN_PATH'
22213 hardcode_shlibpath_var_F77=no
22217 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22218 hardcode_shlibpath_var_F77=no
22219 export_dynamic_flag_spec_F77='-Bexport'
22223 if test -d /usr/nec; then
22224 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22225 hardcode_shlibpath_var_F77=no
22226 runpath_var=LD_RUN_PATH
22227 hardcode_runpath_var=yes
22232 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
22233 no_undefined_flag_F77='${wl}-z,text'
22234 archive_cmds_need_lc_F77=no
22235 hardcode_shlibpath_var_F77=no
22236 runpath_var='LD_RUN_PATH'
22238 if test "$GCC" = yes; then
22239 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22240 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22242 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22243 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22247 sysv5* | sco3.2v5* | sco5v6*)
22248 # Note: We can NOT use -z defs as we might desire, because we do not
22249 # link with -lc, and that would cause any symbols used from libc to
22250 # always be unresolved, which means just about no library would
22251 # ever link correctly. If we're not using GNU ld we use -z text
22252 # though, which does catch some bad symbols but isn't as heavy-handed
22254 no_undefined_flag_F77='${wl}-z,text'
22255 allow_undefined_flag_F77='${wl}-z,nodefs'
22256 archive_cmds_need_lc_F77=no
22257 hardcode_shlibpath_var_F77=no
22258 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22259 hardcode_libdir_separator_F77=':'
22260 link_all_deplibs_F77=yes
22261 export_dynamic_flag_spec_F77='${wl}-Bexport'
22262 runpath_var='LD_RUN_PATH'
22264 if test "$GCC" = yes; then
22265 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22266 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22268 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22269 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22274 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22275 hardcode_libdir_flag_spec_F77='-L$libdir'
22276 hardcode_shlibpath_var_F77=no
22285 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22286 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22287 test "$ld_shlibs_F77" = no && can_build_shared=no
22290 # Do we need to explicitly link libc?
22292 case "x$archive_cmds_need_lc_F77" in
22294 # Assume -lc should be added
22295 archive_cmds_need_lc_F77=yes
22297 if test "$enable_shared" = yes && test "$GCC" = yes; then
22298 case $archive_cmds_F77 in
22300 # FIXME: we may have to deal with multi-command sequences.
22303 # Test whether the compiler implicitly links with -lc since on some
22304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22305 # to ld, don't add -lc before -lgcc.
22306 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22307 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22309 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22312 (eval $ac_compile) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } 2>conftest.err; then
22318 libobjs=conftest.$ac_objext
22320 wl=$lt_prog_compiler_wl_F77
22321 pic_flag=$lt_prog_compiler_pic_F77
22327 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22328 allow_undefined_flag_F77=
22329 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22330 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }
22335 archive_cmds_need_lc_F77=no
22337 archive_cmds_need_lc_F77=yes
22339 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22341 cat conftest.err 1>&5
22344 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22345 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22352 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22353 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22354 library_names_spec=
22355 libname_spec='lib$name'
22359 postuninstall_cmds=
22363 shlibpath_overrides_runpath=unknown
22365 dynamic_linker="$host_os ld.so"
22366 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22367 if test "$GCC" = yes; then
22368 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22369 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22370 # if the path contains ";" then we assume it to be the separator
22371 # otherwise default to the standard path separator (i.e. ":") - it is
22372 # assumed that no part of a normal pathname contains ";" but that should
22373 # okay in the real world where ";" in dirpaths is itself problematic.
22374 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22376 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22379 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22381 need_lib_prefix=unknown
22382 hardcode_into_libs=no
22384 # when you set need_version to no, make sure it does not cause -set_version
22385 # flags to be left without arguments
22386 need_version=unknown
22391 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22392 shlibpath_var=LIBPATH
22394 # AIX 3 has no versioning support, so we append a major version to the name.
22395 soname_spec='${libname}${release}${shared_ext}$major'
22402 hardcode_into_libs=yes
22403 if test "$host_cpu" = ia64; then
22404 # AIX 5 supports IA64
22405 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22406 shlibpath_var=LD_LIBRARY_PATH
22408 # With GCC up to 2.95.x, collect2 would create an import file
22409 # for dependence libraries. The import file would start with
22410 # the line `#! .'. This would cause the generated library to
22411 # depend on `.', always an invalid library. This was fixed in
22412 # development snapshots of GCC prior to 3.0.
22414 aix4 | aix4.[01] | aix4.[01].*)
22415 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22417 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22420 can_build_shared=no
22424 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22425 # soname into executable. Probably we can add versioning support to
22426 # collect2, so additional links can be useful in future.
22427 if test "$aix_use_runtimelinking" = yes; then
22428 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22429 # instead of lib<name>.a to let people know that these are not
22430 # typical AIX shared libraries.
22431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22433 # We preserve .a as extension for shared libraries through AIX4.2
22434 # and later when we are not doing run time linking.
22435 library_names_spec='${libname}${release}.a $libname.a'
22436 soname_spec='${libname}${release}${shared_ext}$major'
22438 shlibpath_var=LIBPATH
22443 library_names_spec='$libname.ixlibrary $libname.a'
22444 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22445 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'
22449 library_names_spec='${libname}${shared_ext}'
22450 dynamic_linker="$host_os ld.so"
22451 shlibpath_var=LIBRARY_PATH
22457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22458 soname_spec='${libname}${release}${shared_ext}$major'
22459 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22460 shlibpath_var=LD_LIBRARY_PATH
22461 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22462 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22463 # the default ld.so.conf also contains /usr/contrib/lib and
22464 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22465 # libtool to hard-code these into programs
22468 cygwin* | mingw* | pw32*)
22469 version_type=windows
22474 case $GCC,$host_os in
22475 yes,cygwin* | yes,mingw* | yes,pw32*)
22476 library_names_spec='$libname.dll.a'
22477 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22478 postinstall_cmds='base_file=`basename \${file}`~
22479 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22480 dldir=$destdir/`dirname \$dlpath`~
22481 test -d \$dldir || mkdir -p \$dldir~
22482 $install_prog $dir/$dlname \$dldir/$dlname~
22483 chmod a+x \$dldir/$dlname'
22484 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22485 dlpath=$dir/\$dldll~
22487 shlibpath_overrides_runpath=yes
22491 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22492 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22493 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22496 # MinGW DLLs use traditional 'lib' prefix
22497 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22498 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22499 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22500 # It is most probably a Windows format PATH printed by
22501 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22502 # path with ; separators, and with drive letters. We can handle the
22503 # drive letters (cygwin fileutils understands them), so leave them,
22504 # especially as we might pass files found there to a mingw objdump,
22505 # which wouldn't understand a cygwinified path. Ahh.
22506 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22508 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22512 # pw32 DLLs use 'pw' prefix rather than 'lib'
22513 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22519 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22522 dynamic_linker='Win32 ld.exe'
22523 # FIXME: first we should search . and the directory the executable is in
22527 darwin* | rhapsody*)
22528 dynamic_linker="$host_os dyld"
22529 version_type=darwin
22532 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22533 soname_spec='${libname}${release}${major}$shared_ext'
22534 shlibpath_overrides_runpath=yes
22535 shlibpath_var=DYLD_LIBRARY_PATH
22536 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22537 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22538 if test "$GCC" = yes; then
22539 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"`
22541 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22543 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22551 soname_spec='${libname}${release}${shared_ext}$major'
22552 shlibpath_var=LD_LIBRARY_PATH
22563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22564 soname_spec='${libname}${release}${shared_ext}$major'
22565 shlibpath_var=LD_LIBRARY_PATH
22566 shlibpath_overrides_runpath=no
22567 hardcode_into_libs=yes
22568 dynamic_linker='GNU ld.so'
22571 freebsd* | dragonfly*)
22572 # DragonFly does not have aout. When/if they implement a new
22573 # versioning mechanism, adjust this.
22574 if test -x /usr/bin/objformat; then
22575 objformat=`/usr/bin/objformat`
22578 freebsd[123]*) objformat=aout ;;
22579 *) objformat=elf ;;
22582 version_type=freebsd-$objformat
22583 case $version_type in
22585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22590 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22594 shlibpath_var=LD_LIBRARY_PATH
22597 shlibpath_overrides_runpath=yes
22599 freebsd3.[01]* | freebsdelf3.[01]*)
22600 shlibpath_overrides_runpath=yes
22601 hardcode_into_libs=yes
22603 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22604 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22605 shlibpath_overrides_runpath=no
22606 hardcode_into_libs=yes
22608 freebsd*) # from 4.6 on
22609 shlibpath_overrides_runpath=yes
22610 hardcode_into_libs=yes
22619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22620 soname_spec='${libname}${release}${shared_ext}$major'
22621 shlibpath_var=LD_LIBRARY_PATH
22622 hardcode_into_libs=yes
22625 hpux9* | hpux10* | hpux11*)
22626 # Give a soname corresponding to the major version so that dld.sl refuses to
22627 # link against other versions.
22634 hardcode_into_libs=yes
22635 dynamic_linker="$host_os dld.so"
22636 shlibpath_var=LD_LIBRARY_PATH
22637 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22639 soname_spec='${libname}${release}${shared_ext}$major'
22640 if test "X$HPUX_IA64_MODE" = X32; then
22641 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22643 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22645 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22649 hardcode_into_libs=yes
22650 dynamic_linker="$host_os dld.sl"
22651 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22652 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22654 soname_spec='${libname}${release}${shared_ext}$major'
22655 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22656 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22660 dynamic_linker="$host_os dld.sl"
22661 shlibpath_var=SHLIB_PATH
22662 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22664 soname_spec='${libname}${release}${shared_ext}$major'
22667 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22668 postinstall_cmds='chmod 555 $lib'
22675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22676 soname_spec='${libname}${release}${shared_ext}$major'
22677 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22678 shlibpath_var=LD_LIBRARY_PATH
22679 shlibpath_overrides_runpath=no
22680 hardcode_into_libs=yes
22683 irix5* | irix6* | nonstopux*)
22685 nonstopux*) version_type=nonstopux ;;
22687 if test "$lt_cv_prog_gnu_ld" = yes; then
22695 soname_spec='${libname}${release}${shared_ext}$major'
22696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22698 irix5* | nonstopux*)
22699 libsuff= shlibsuff=
22702 case $LD in # libtool.m4 will add one of these switches to LD
22703 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22704 libsuff= shlibsuff= libmagic=32-bit;;
22705 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22706 libsuff=32 shlibsuff=N32 libmagic=N32;;
22707 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22708 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22709 *) libsuff= shlibsuff= libmagic=never-match;;
22713 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22714 shlibpath_overrides_runpath=no
22715 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22716 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22717 hardcode_into_libs=yes
22720 # No shared lib support for Linux oldld, aout, or coff.
22721 linux*oldld* | linux*aout* | linux*coff*)
22725 # This must be Linux ELF.
22730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22731 soname_spec='${libname}${release}${shared_ext}$major'
22732 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22733 shlibpath_var=LD_LIBRARY_PATH
22734 shlibpath_overrides_runpath=no
22735 # This implies no fast_install, which is unacceptable.
22736 # Some rework will be needed to allow for fast_install
22737 # before this can be enabled.
22738 hardcode_into_libs=yes
22740 # find out which ABI we are using
22742 case "$host_cpu" in
22743 x86_64*|s390x*|powerpc64*)
22744 echo '#line 22744 "configure"' > conftest.$ac_ext
22745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22746 (eval $ac_compile) 2>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; then
22750 case `/usr/bin/file conftest.$ac_objext` in
22753 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22761 # Append ld.so.conf contents to the search path
22762 if test -f /etc/ld.so.conf; then
22763 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' ' '`
22764 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22767 # We used to test for /lib/ld.so.1 and disable shared libraries on
22768 # powerpc, because MkLinux only supported shared libraries with the
22769 # GNU dynamic linker. Since this was broken with cross compilers,
22770 # most powerpc-linux boxes support dynamic linking these days and
22771 # people can always --disable-shared, the test was removed, and we
22772 # assume the GNU/Linux dynamic linker is in use.
22773 dynamic_linker='GNU/Linux ld.so'
22780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22781 soname_spec='${libname}${release}${shared_ext}$major'
22782 shlibpath_var=LD_LIBRARY_PATH
22783 shlibpath_overrides_runpath=no
22784 hardcode_into_libs=yes
22785 dynamic_linker='GNU ld.so'
22792 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22794 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22795 dynamic_linker='NetBSD (a.out) ld.so'
22797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22798 soname_spec='${libname}${release}${shared_ext}$major'
22799 dynamic_linker='NetBSD ld.elf_so'
22801 shlibpath_var=LD_LIBRARY_PATH
22802 shlibpath_overrides_runpath=yes
22803 hardcode_into_libs=yes
22808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22809 shlibpath_var=LD_LIBRARY_PATH
22810 shlibpath_overrides_runpath=yes
22817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22818 soname_spec='${libname}${release}${shared_ext}$major'
22819 shlibpath_var=LD_LIBRARY_PATH
22820 shlibpath_overrides_runpath=yes
22825 sys_lib_dlsearch_path_spec="/usr/lib"
22827 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22829 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22830 *) need_version=no ;;
22832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22833 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22834 shlibpath_var=LD_LIBRARY_PATH
22835 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22837 openbsd2.[89] | openbsd2.[89].*)
22838 shlibpath_overrides_runpath=no
22841 shlibpath_overrides_runpath=yes
22845 shlibpath_overrides_runpath=yes
22850 libname_spec='$name'
22853 library_names_spec='$libname${shared_ext} $libname.a'
22854 dynamic_linker='OS/2 ld.exe'
22855 shlibpath_var=LIBPATH
22858 osf3* | osf4* | osf5*)
22862 soname_spec='${libname}${release}${shared_ext}$major'
22863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22864 shlibpath_var=LD_LIBRARY_PATH
22865 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22866 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22874 soname_spec='${libname}${release}${shared_ext}$major'
22875 shlibpath_var=LD_LIBRARY_PATH
22876 shlibpath_overrides_runpath=yes
22877 hardcode_into_libs=yes
22878 # ldd complains unless libraries are executable
22879 postinstall_cmds='chmod +x $lib'
22884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22885 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22886 shlibpath_var=LD_LIBRARY_PATH
22887 shlibpath_overrides_runpath=yes
22888 if test "$with_gnu_ld" = yes; then
22896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22897 soname_spec='${libname}${release}${shared_ext}$major'
22898 shlibpath_var=LD_LIBRARY_PATH
22899 case $host_vendor in
22901 shlibpath_overrides_runpath=no
22903 export_dynamic_flag_spec='${wl}-Blargedynsym'
22904 runpath_var=LD_RUN_PATH
22912 shlibpath_overrides_runpath=no
22913 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22919 if test -d /usr/nec ;then
22921 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22922 soname_spec='$libname${shared_ext}.$major'
22923 shlibpath_var=LD_LIBRARY_PATH
22927 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22928 version_type=freebsd-elf
22931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22932 soname_spec='${libname}${release}${shared_ext}$major'
22933 shlibpath_var=LD_LIBRARY_PATH
22934 hardcode_into_libs=yes
22935 if test "$with_gnu_ld" = yes; then
22936 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22937 shlibpath_overrides_runpath=no
22939 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22940 shlibpath_overrides_runpath=yes
22943 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22947 sys_lib_dlsearch_path_spec='/usr/lib'
22952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22953 soname_spec='${libname}${release}${shared_ext}$major'
22954 shlibpath_var=LD_LIBRARY_PATH
22961 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22962 echo "${ECHO_T}$dynamic_linker" >&6; }
22963 test "$dynamic_linker" = no && can_build_shared=no
22965 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22966 if test "$GCC" = yes; then
22967 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22970 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22971 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
22972 hardcode_action_F77=
22973 if test -n "$hardcode_libdir_flag_spec_F77" || \
22974 test -n "$runpath_var_F77" || \
22975 test "X$hardcode_automatic_F77" = "Xyes" ; then
22977 # We can hardcode non-existant directories.
22978 if test "$hardcode_direct_F77" != no &&
22979 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22980 # have to relink, otherwise we might link with an installed library
22981 # when we should be linking with a yet-to-be-installed one
22982 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
22983 test "$hardcode_minus_L_F77" != no; then
22984 # Linking always hardcodes the temporary library directory.
22985 hardcode_action_F77=relink
22987 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22988 hardcode_action_F77=immediate
22991 # We cannot hardcode anything, or else we can only hardcode existing
22993 hardcode_action_F77=unsupported
22995 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
22996 echo "${ECHO_T}$hardcode_action_F77" >&6; }
22998 if test "$hardcode_action_F77" = relink; then
22999 # Fast installation is not supported
23000 enable_fast_install=no
23001 elif test "$shlibpath_overrides_runpath" = yes ||
23002 test "$enable_shared" = no; then
23003 # Fast installation is not necessary
23004 enable_fast_install=needless
23008 # The else clause should only fire when bootstrapping the
23009 # libtool distribution, otherwise you forgot to ship ltmain.sh
23010 # with your package, and you will get complaints that there are
23011 # no rules to generate ltmain.sh.
23012 if test -f "$ltmain"; then
23013 # See if we are running on zsh, and set the options which allow our commands through
23014 # without removal of \ escapes.
23015 if test -n "${ZSH_VERSION+set}" ; then
23016 setopt NO_GLOB_SUBST
23018 # Now quote all the things that may contain metacharacters while being
23019 # careful not to overquote the AC_SUBSTed values. We take copies of the
23020 # variables and quote the copies for generation of the libtool script.
23021 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23023 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23024 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23025 deplibs_check_method reload_flag reload_cmds need_locks \
23026 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23027 lt_cv_sys_global_symbol_to_c_name_address \
23028 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23029 old_postinstall_cmds old_postuninstall_cmds \
23033 lt_prog_compiler_wl_F77 \
23034 lt_prog_compiler_pic_F77 \
23035 lt_prog_compiler_static_F77 \
23036 lt_prog_compiler_no_builtin_flag_F77 \
23037 export_dynamic_flag_spec_F77 \
23038 thread_safe_flag_spec_F77 \
23039 whole_archive_flag_spec_F77 \
23040 enable_shared_with_static_runtimes_F77 \
23041 old_archive_cmds_F77 \
23042 old_archive_from_new_cmds_F77 \
23043 predep_objects_F77 \
23044 postdep_objects_F77 \
23047 compiler_lib_search_path_F77 \
23049 archive_expsym_cmds_F77 \
23050 postinstall_cmds_F77 \
23051 postuninstall_cmds_F77 \
23052 old_archive_from_expsyms_cmds_F77 \
23053 allow_undefined_flag_F77 \
23054 no_undefined_flag_F77 \
23055 export_symbols_cmds_F77 \
23056 hardcode_libdir_flag_spec_F77 \
23057 hardcode_libdir_flag_spec_ld_F77 \
23058 hardcode_libdir_separator_F77 \
23059 hardcode_automatic_F77 \
23061 module_expsym_cmds_F77 \
23062 lt_cv_prog_compiler_c_o_F77 \
23063 exclude_expsyms_F77 \
23064 include_expsyms_F77; do
23067 old_archive_cmds_F77 | \
23068 old_archive_from_new_cmds_F77 | \
23069 archive_cmds_F77 | \
23070 archive_expsym_cmds_F77 | \
23071 module_cmds_F77 | \
23072 module_expsym_cmds_F77 | \
23073 old_archive_from_expsyms_cmds_F77 | \
23074 export_symbols_cmds_F77 | \
23075 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23076 postinstall_cmds | postuninstall_cmds | \
23077 old_postinstall_cmds | old_postuninstall_cmds | \
23078 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23079 # Double-quote double-evaled strings.
23080 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23083 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23089 *'\$0 --fallback-echo"')
23090 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23096 cat <<__EOF__ >> "$cfgfile"
23097 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23099 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23101 # Shell to use when invoking shell scripts.
23104 # Whether or not to build shared libraries.
23105 build_libtool_libs=$enable_shared
23107 # Whether or not to build static libraries.
23108 build_old_libs=$enable_static
23110 # Whether or not to add -lc for building shared libraries.
23111 build_libtool_need_lc=$archive_cmds_need_lc_F77
23113 # Whether or not to disallow shared libs when runtime libs are static
23114 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23116 # Whether or not to optimize for fast installation.
23117 fast_install=$enable_fast_install
23120 host_alias=$host_alias
23124 # The build system.
23125 build_alias=$build_alias
23129 # An echo program that does not interpret backslashes.
23134 AR_FLAGS=$lt_AR_FLAGS
23139 # LTCC compiler flags.
23140 LTCFLAGS=$lt_LTCFLAGS
23142 # A language-specific compiler.
23143 CC=$lt_compiler_F77
23145 # Is the compiler the GNU C compiler?
23151 # The linker used to build libraries.
23154 # Whether we need hard or soft links.
23157 # A BSD-compatible nm program.
23160 # A symbol stripping program
23163 # Used to examine libraries when file_magic_cmd begins "file"
23164 MAGIC_CMD=$MAGIC_CMD
23166 # Used on cygwin: DLL creation program.
23169 # Used on cygwin: object dumper.
23172 # Used on cygwin: assembler.
23175 # The name of the directory that contains temporary libtool files.
23178 # How to create reloadable object files.
23179 reload_flag=$lt_reload_flag
23180 reload_cmds=$lt_reload_cmds
23182 # How to pass a linker flag through the compiler.
23183 wl=$lt_lt_prog_compiler_wl_F77
23185 # Object file suffix (normally "o").
23186 objext="$ac_objext"
23188 # Old archive suffix (normally "a").
23191 # Shared library suffix (normally ".so").
23192 shrext_cmds='$shrext_cmds'
23194 # Executable file suffix (normally "").
23197 # Additional compiler flags for building library objects.
23198 pic_flag=$lt_lt_prog_compiler_pic_F77
23201 # What is the maximum length of a command?
23202 max_cmd_len=$lt_cv_sys_max_cmd_len
23204 # Does compiler simultaneously support -c and -o options?
23205 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23207 # Must we lock files when doing compilation?
23208 need_locks=$lt_need_locks
23210 # Do we need the lib prefix for modules?
23211 need_lib_prefix=$need_lib_prefix
23213 # Do we need a version for libraries?
23214 need_version=$need_version
23216 # Whether dlopen is supported.
23217 dlopen_support=$enable_dlopen
23219 # Whether dlopen of programs is supported.
23220 dlopen_self=$enable_dlopen_self
23222 # Whether dlopen of statically linked programs is supported.
23223 dlopen_self_static=$enable_dlopen_self_static
23225 # Compiler flag to prevent dynamic linking.
23226 link_static_flag=$lt_lt_prog_compiler_static_F77
23228 # Compiler flag to turn off builtin functions.
23229 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23231 # Compiler flag to allow reflexive dlopens.
23232 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23234 # Compiler flag to generate shared objects directly from archives.
23235 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23237 # Compiler flag to generate thread-safe objects.
23238 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23240 # Library versioning type.
23241 version_type=$version_type
23243 # Format of library name prefix.
23244 libname_spec=$lt_libname_spec
23246 # List of archive names. First name is the real one, the rest are links.
23247 # The last name is the one that the linker finds with -lNAME.
23248 library_names_spec=$lt_library_names_spec
23250 # The coded name of the library, if different from the real name.
23251 soname_spec=$lt_soname_spec
23253 # Commands used to build and install an old-style archive.
23255 old_archive_cmds=$lt_old_archive_cmds_F77
23256 old_postinstall_cmds=$lt_old_postinstall_cmds
23257 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23259 # Create an old-style archive from a shared archive.
23260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23262 # Create a temporary old-style archive to link instead of a shared archive.
23263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23265 # Commands used to build and install a shared archive.
23266 archive_cmds=$lt_archive_cmds_F77
23267 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23268 postinstall_cmds=$lt_postinstall_cmds
23269 postuninstall_cmds=$lt_postuninstall_cmds
23271 # Commands used to build a loadable module (assumed same as above if empty)
23272 module_cmds=$lt_module_cmds_F77
23273 module_expsym_cmds=$lt_module_expsym_cmds_F77
23275 # Commands to strip libraries.
23276 old_striplib=$lt_old_striplib
23277 striplib=$lt_striplib
23279 # Dependencies to place before the objects being linked to create a
23281 predep_objects=$lt_predep_objects_F77
23283 # Dependencies to place after the objects being linked to create a
23285 postdep_objects=$lt_postdep_objects_F77
23287 # Dependencies to place before the objects being linked to create a
23289 predeps=$lt_predeps_F77
23291 # Dependencies to place after the objects being linked to create a
23293 postdeps=$lt_postdeps_F77
23295 # The library search path used internally by the compiler when linking
23296 # a shared library.
23297 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23299 # Method to check whether dependent libraries are shared objects.
23300 deplibs_check_method=$lt_deplibs_check_method
23302 # Command to use when deplibs_check_method == file_magic.
23303 file_magic_cmd=$lt_file_magic_cmd
23305 # Flag that allows shared libraries with undefined symbols to be built.
23306 allow_undefined_flag=$lt_allow_undefined_flag_F77
23308 # Flag that forces no undefined symbols.
23309 no_undefined_flag=$lt_no_undefined_flag_F77
23311 # Commands used to finish a libtool library installation in a directory.
23312 finish_cmds=$lt_finish_cmds
23314 # Same as above, but a single script fragment to be evaled but not shown.
23315 finish_eval=$lt_finish_eval
23317 # Take the output of nm and produce a listing of raw symbols and C names.
23318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23320 # Transform the output of nm in a proper C declaration
23321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23323 # Transform the output of nm in a C name address pair
23324 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23326 # This is the shared library runtime path variable.
23327 runpath_var=$runpath_var
23329 # This is the shared library path variable.
23330 shlibpath_var=$shlibpath_var
23332 # Is shlibpath searched before the hard-coded library search path?
23333 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23335 # How to hardcode a shared library path into an executable.
23336 hardcode_action=$hardcode_action_F77
23338 # Whether we should hardcode library paths into libraries.
23339 hardcode_into_libs=$hardcode_into_libs
23341 # Flag to hardcode \$libdir into a binary during linking.
23342 # This must work even if \$libdir does not exist.
23343 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23345 # If ld is used when linking, flag to hardcode \$libdir into
23346 # a binary during linking. This must work even if \$libdir does
23348 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23350 # Whether we need a single -rpath flag with a separated argument.
23351 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23353 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23354 # resulting binary.
23355 hardcode_direct=$hardcode_direct_F77
23357 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23358 # resulting binary.
23359 hardcode_minus_L=$hardcode_minus_L_F77
23361 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23362 # the resulting binary.
23363 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23365 # Set to yes if building a shared library automatically hardcodes DIR into the library
23366 # and all subsequent libraries and executables linked against it.
23367 hardcode_automatic=$hardcode_automatic_F77
23369 # Variables whose values should be saved in libtool wrapper scripts and
23370 # restored at relink time.
23371 variables_saved_for_relink="$variables_saved_for_relink"
23373 # Whether libtool must link a program against all its dependency libraries.
23374 link_all_deplibs=$link_all_deplibs_F77
23376 # Compile-time system search path for libraries
23377 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23379 # Run-time system search path for libraries
23380 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23382 # Fix the shell variable \$srcfile for the compiler.
23383 fix_srcfile_path="$fix_srcfile_path_F77"
23385 # Set to yes if exported symbols are required.
23386 always_export_symbols=$always_export_symbols_F77
23388 # The commands to list exported symbols.
23389 export_symbols_cmds=$lt_export_symbols_cmds_F77
23391 # The commands to extract the exported symbol list from a shared archive.
23392 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23394 # Symbols that should not be listed in the preloaded symbols.
23395 exclude_expsyms=$lt_exclude_expsyms_F77
23397 # Symbols that must always be exported.
23398 include_expsyms=$lt_include_expsyms_F77
23400 # ### END LIBTOOL TAG CONFIG: $tagname
23406 # If there is no Makefile yet, we rely on a make rule to execute
23407 # `config.status --recheck' to rerun these tests and create the
23408 # libtool script then.
23409 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23410 if test -f "$ltmain_in"; then
23411 test -f Makefile && make "$ltmain"
23417 ac_cpp='$CPP $CPPFLAGS'
23418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23430 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23433 # Source file extension for Java test sources.
23436 # Object file extension for compiled Java test sources.
23440 # Code to be used in simple compile tests
23441 lt_simple_compile_test_code="class foo {}\n"
23443 # Code to be used in simple link tests
23444 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
23446 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23448 # If no C compiler was specified, use CC.
23451 # If no C compiler flags were specified, use CFLAGS.
23452 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23454 # Allow CC to be a program name with arguments.
23458 # save warnings/boilerplate of simple test code
23459 ac_outfile=conftest.$ac_objext
23460 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
23461 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23462 _lt_compiler_boilerplate=`cat conftest.err`
23465 ac_outfile=conftest.$ac_objext
23466 printf "$lt_simple_link_test_code" >conftest.$ac_ext
23467 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23468 _lt_linker_boilerplate=`cat conftest.err`
23472 # Allow CC to be a program name with arguments.
23477 for cc_temp in $compiler""; do
23479 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23480 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23485 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23488 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23489 archive_cmds_need_lc_GCJ=no
23491 old_archive_cmds_GCJ=$old_archive_cmds
23494 lt_prog_compiler_no_builtin_flag_GCJ=
23496 if test "$GCC" = yes; then
23497 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
23500 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23501 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23502 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23503 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 lt_cv_prog_compiler_rtti_exceptions=no
23506 ac_outfile=conftest.$ac_objext
23507 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23508 lt_compiler_flag="-fno-rtti -fno-exceptions"
23509 # Insert the option either (1) after the last *FLAGS variable, or
23510 # (2) before a word containing "conftest.", or (3) at the end.
23511 # Note that $ac_compile itself does not contain backslashes and begins
23512 # with a dollar sign (not a hyphen), so the echo should work correctly.
23513 # The option is referenced via a variable to avoid confusing sed.
23514 lt_compile=`echo "$ac_compile" | $SED \
23515 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23516 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23517 -e 's:$: $lt_compiler_flag:'`
23518 (eval echo "\"\$as_me:23518: $lt_compile\"" >&5)
23519 (eval "$lt_compile" 2>conftest.err)
23521 cat conftest.err >&5
23522 echo "$as_me:23522: \$? = $ac_status" >&5
23523 if (exit $ac_status) && test -s "$ac_outfile"; then
23524 # The compiler can only warn and ignore the option if not recognized
23525 # So say no if there are warnings other than the usual output.
23526 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23527 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23528 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23529 lt_cv_prog_compiler_rtti_exceptions=yes
23535 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23536 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23538 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23539 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23546 lt_prog_compiler_wl_GCJ=
23547 lt_prog_compiler_pic_GCJ=
23548 lt_prog_compiler_static_GCJ=
23550 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23551 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23553 if test "$GCC" = yes; then
23554 lt_prog_compiler_wl_GCJ='-Wl,'
23555 lt_prog_compiler_static_GCJ='-static'
23559 # All AIX code is PIC.
23560 if test "$host_cpu" = ia64; then
23561 # AIX 5 now supports IA64 processor
23562 lt_prog_compiler_static_GCJ='-Bstatic'
23567 # FIXME: we need at least 68020 code to build shared libraries, but
23568 # adding the `-m68020' flag to GCC prevents building anything better,
23570 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23573 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23574 # PIC is the default for these OSes.
23577 mingw* | pw32* | os2*)
23578 # This hack is so that the source file can tell whether it is being
23579 # built for inclusion in a dll (and should export symbols for example).
23580 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23583 darwin* | rhapsody*)
23584 # PIC is the default on this platform
23585 # Common symbols not allowed in MH_DYLIB files
23586 lt_prog_compiler_pic_GCJ='-fno-common'
23590 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23591 # Instead, we relocate shared libraries at runtime.
23595 # Just because we use GCC doesn't mean we suddenly get shared libraries
23596 # on systems that don't support them.
23597 lt_prog_compiler_can_build_shared_GCJ=no
23602 if test -d /usr/nec; then
23603 lt_prog_compiler_pic_GCJ=-Kconform_pic
23608 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23609 # not for PA HP-UX.
23615 lt_prog_compiler_pic_GCJ='-fPIC'
23621 lt_prog_compiler_pic_GCJ='-fPIC'
23625 # PORTME Check for flag to pass linker flags through the system compiler.
23628 lt_prog_compiler_wl_GCJ='-Wl,'
23629 if test "$host_cpu" = ia64; then
23630 # AIX 5 now supports IA64 processor
23631 lt_prog_compiler_static_GCJ='-Bstatic'
23633 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
23637 # PIC is the default on this platform
23638 # Common symbols not allowed in MH_DYLIB files
23639 case $cc_basename in
23641 lt_prog_compiler_pic_GCJ='-qnocommon'
23642 lt_prog_compiler_wl_GCJ='-Wl,'
23647 mingw* | pw32* | os2*)
23648 # This hack is so that the source file can tell whether it is being
23649 # built for inclusion in a dll (and should export symbols for example).
23650 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23653 hpux9* | hpux10* | hpux11*)
23654 lt_prog_compiler_wl_GCJ='-Wl,'
23655 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23656 # not for PA HP-UX.
23662 lt_prog_compiler_pic_GCJ='+Z'
23665 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23666 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
23669 irix5* | irix6* | nonstopux*)
23670 lt_prog_compiler_wl_GCJ='-Wl,'
23671 # PIC (with -KPIC) is the default.
23672 lt_prog_compiler_static_GCJ='-non_shared'
23676 lt_prog_compiler_pic_GCJ='-KPIC'
23677 lt_prog_compiler_static_GCJ='-Bstatic'
23681 case $cc_basename in
23683 lt_prog_compiler_wl_GCJ='-Wl,'
23684 lt_prog_compiler_pic_GCJ='-KPIC'
23685 lt_prog_compiler_static_GCJ='-static'
23687 pgcc* | pgf77* | pgf90* | pgf95*)
23688 # Portland Group compilers (*not* the Pentium gcc compiler,
23689 # which looks to be a dead project)
23690 lt_prog_compiler_wl_GCJ='-Wl,'
23691 lt_prog_compiler_pic_GCJ='-fpic'
23692 lt_prog_compiler_static_GCJ='-Bstatic'
23695 lt_prog_compiler_wl_GCJ='-Wl,'
23696 # All Alpha code is PIC.
23697 lt_prog_compiler_static_GCJ='-non_shared'
23702 osf3* | osf4* | osf5*)
23703 lt_prog_compiler_wl_GCJ='-Wl,'
23704 # All OSF/1 code is PIC.
23705 lt_prog_compiler_static_GCJ='-non_shared'
23709 lt_prog_compiler_pic_GCJ='-KPIC'
23710 lt_prog_compiler_static_GCJ='-Bstatic'
23711 case $cc_basename in
23712 f77* | f90* | f95*)
23713 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
23715 lt_prog_compiler_wl_GCJ='-Wl,';;
23720 lt_prog_compiler_wl_GCJ='-Qoption ld '
23721 lt_prog_compiler_pic_GCJ='-PIC'
23722 lt_prog_compiler_static_GCJ='-Bstatic'
23725 sysv4 | sysv4.2uw2* | sysv4.3*)
23726 lt_prog_compiler_wl_GCJ='-Wl,'
23727 lt_prog_compiler_pic_GCJ='-KPIC'
23728 lt_prog_compiler_static_GCJ='-Bstatic'
23732 if test -d /usr/nec ;then
23733 lt_prog_compiler_pic_GCJ='-Kconform_pic'
23734 lt_prog_compiler_static_GCJ='-Bstatic'
23738 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23739 lt_prog_compiler_wl_GCJ='-Wl,'
23740 lt_prog_compiler_pic_GCJ='-KPIC'
23741 lt_prog_compiler_static_GCJ='-Bstatic'
23745 lt_prog_compiler_wl_GCJ='-Wl,'
23746 lt_prog_compiler_can_build_shared_GCJ=no
23750 lt_prog_compiler_pic_GCJ='-pic'
23751 lt_prog_compiler_static_GCJ='-Bstatic'
23755 lt_prog_compiler_can_build_shared_GCJ=no
23760 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23761 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23764 # Check to make sure the PIC flag actually works.
23766 if test -n "$lt_prog_compiler_pic_GCJ"; then
23768 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23769 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23770 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23771 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 lt_prog_compiler_pic_works_GCJ=no
23774 ac_outfile=conftest.$ac_objext
23775 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23776 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
23777 # Insert the option either (1) after the last *FLAGS variable, or
23778 # (2) before a word containing "conftest.", or (3) at the end.
23779 # Note that $ac_compile itself does not contain backslashes and begins
23780 # with a dollar sign (not a hyphen), so the echo should work correctly.
23781 # The option is referenced via a variable to avoid confusing sed.
23782 lt_compile=`echo "$ac_compile" | $SED \
23783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23785 -e 's:$: $lt_compiler_flag:'`
23786 (eval echo "\"\$as_me:23786: $lt_compile\"" >&5)
23787 (eval "$lt_compile" 2>conftest.err)
23789 cat conftest.err >&5
23790 echo "$as_me:23790: \$? = $ac_status" >&5
23791 if (exit $ac_status) && test -s "$ac_outfile"; then
23792 # The compiler can only warn and ignore the option if not recognized
23793 # So say no if there are warnings other than the usual output.
23794 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23796 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23797 lt_prog_compiler_pic_works_GCJ=yes
23803 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
23804 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
23806 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
23807 case $lt_prog_compiler_pic_GCJ in
23809 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
23812 lt_prog_compiler_pic_GCJ=
23813 lt_prog_compiler_can_build_shared_GCJ=no
23818 # For platforms which do not support PIC, -DPIC is meaningless:
23820 lt_prog_compiler_pic_GCJ=
23823 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
23828 # Check to make sure the static flag actually works.
23830 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
23831 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23832 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
23833 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
23834 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 lt_prog_compiler_static_works_GCJ=no
23837 save_LDFLAGS="$LDFLAGS"
23838 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23839 printf "$lt_simple_link_test_code" > conftest.$ac_ext
23840 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23841 # The linker can only warn and ignore the option if not recognized
23842 # So say no if there are warnings
23843 if test -s conftest.err; then
23844 # Append any errors to the config.log.
23845 cat conftest.err 1>&5
23846 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
23847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23848 if diff conftest.exp conftest.er2 >/dev/null; then
23849 lt_prog_compiler_static_works_GCJ=yes
23852 lt_prog_compiler_static_works_GCJ=yes
23856 LDFLAGS="$save_LDFLAGS"
23859 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
23860 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
23862 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
23865 lt_prog_compiler_static_GCJ=
23869 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23870 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
23871 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
23872 echo $ECHO_N "(cached) $ECHO_C" >&6
23874 lt_cv_prog_compiler_c_o_GCJ=no
23875 $rm -r conftest 2>/dev/null
23879 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23881 lt_compiler_flag="-o out/conftest2.$ac_objext"
23882 # Insert the option either (1) after the last *FLAGS variable, or
23883 # (2) before a word containing "conftest.", or (3) at the end.
23884 # Note that $ac_compile itself does not contain backslashes and begins
23885 # with a dollar sign (not a hyphen), so the echo should work correctly.
23886 lt_compile=`echo "$ac_compile" | $SED \
23887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23889 -e 's:$: $lt_compiler_flag:'`
23890 (eval echo "\"\$as_me:23890: $lt_compile\"" >&5)
23891 (eval "$lt_compile" 2>out/conftest.err)
23893 cat out/conftest.err >&5
23894 echo "$as_me:23894: \$? = $ac_status" >&5
23895 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23897 # The compiler can only warn and ignore the option if not recognized
23898 # So say no if there are warnings
23899 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
23900 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23901 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23902 lt_cv_prog_compiler_c_o_GCJ=yes
23907 # SGI C++ compiler will create directory out/ii_files/ for
23908 # template instantiation
23909 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
23910 $rm out/* && rmdir out
23916 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
23917 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
23920 hard_links="nottested"
23921 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
23922 # do not overwrite the value of need_locks provided by the user
23923 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23924 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
23927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23929 ln conftest.a conftest.b 2>&5 || hard_links=no
23930 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23931 { echo "$as_me:$LINENO: result: $hard_links" >&5
23932 echo "${ECHO_T}$hard_links" >&6; }
23933 if test "$hard_links" = no; then
23934 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23935 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23942 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23943 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
23946 allow_undefined_flag_GCJ=
23947 enable_shared_with_static_runtimes_GCJ=no
23949 archive_expsym_cmds_GCJ=
23950 old_archive_From_new_cmds_GCJ=
23951 old_archive_from_expsyms_cmds_GCJ=
23952 export_dynamic_flag_spec_GCJ=
23953 whole_archive_flag_spec_GCJ=
23954 thread_safe_flag_spec_GCJ=
23955 hardcode_libdir_flag_spec_GCJ=
23956 hardcode_libdir_flag_spec_ld_GCJ=
23957 hardcode_libdir_separator_GCJ=
23958 hardcode_direct_GCJ=no
23959 hardcode_minus_L_GCJ=no
23960 hardcode_shlibpath_var_GCJ=unsupported
23961 link_all_deplibs_GCJ=unknown
23962 hardcode_automatic_GCJ=no
23964 module_expsym_cmds_GCJ=
23965 always_export_symbols_GCJ=no
23966 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23967 # include_expsyms should be a list of space-separated symbols to be *always*
23968 # included in the symbol list
23969 include_expsyms_GCJ=
23970 # exclude_expsyms can be an extended regexp of symbols to exclude
23971 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23972 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23973 # as well as any symbol that contains `d'.
23974 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
23975 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23976 # platforms (ab)use it in PIC code, but their linkers get confused if
23977 # the symbol is explicitly referenced. Since portable code cannot
23978 # rely on this symbol name, it's probably fine to never include it in
23979 # preloaded symbol tables.
23980 extract_expsyms_cmds=
23981 # Just being paranoid about ensuring that cc_basename is set.
23982 for cc_temp in $compiler""; do
23984 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23985 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23990 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23993 cygwin* | mingw* | pw32*)
23994 # FIXME: the MSVC++ port hasn't been tested in a loooong time
23995 # When not using gcc, we currently assume that we are using
23996 # Microsoft Visual C++.
23997 if test "$GCC" != yes; then
24002 # we just hope/assume this is gcc and not c89 (= MSVC++)
24011 if test "$with_gnu_ld" = yes; then
24012 # If archive_cmds runs LD, not CC, wlarc should be empty
24015 # Set some defaults for GNU ld with shared library support. These
24016 # are reset later if shared libraries are not supported. Putting them
24017 # here allows them to be overridden if necessary.
24018 runpath_var=LD_RUN_PATH
24019 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24020 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24021 # ancient GNU ld didn't support --whole-archive et. al.
24022 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24023 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24025 whole_archive_flag_spec_GCJ=
24027 supports_anon_versioning=no
24028 case `$LD -v 2>/dev/null` in
24029 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24030 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24031 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24032 *\ 2.11.*) ;; # other 2.11 versions
24033 *) supports_anon_versioning=yes ;;
24036 # See if GNU ld supports shared libraries.
24038 aix3* | aix4* | aix5*)
24039 # On AIX/PPC, the GNU linker is very broken
24040 if test "$host_cpu" != ia64; then
24044 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24045 *** to be unable to reliably create shared libraries on AIX.
24046 *** Therefore, libtool is disabling shared libraries support. If you
24047 *** really care for shared libraries, you may want to modify your PATH
24048 *** so that a non-GNU linker is found, and then restart.
24055 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)'
24056 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24057 hardcode_minus_L_GCJ=yes
24059 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24060 # that the semantics of dynamic libraries on AmigaOS, at least up
24061 # to version 4, is to share data among multiple programs linked
24062 # with the same dynamic library. Since this doesn't match the
24063 # behavior of shared libraries on other platforms, we can't use
24069 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24070 allow_undefined_flag_GCJ=unsupported
24071 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24072 # support --undefined. This deserves some investigation. FIXME
24073 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24079 cygwin* | mingw* | pw32*)
24080 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24081 # as there is no search path for DLLs.
24082 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24083 allow_undefined_flag_GCJ=unsupported
24084 always_export_symbols_GCJ=no
24085 enable_shared_with_static_runtimes_GCJ=yes
24086 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24088 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24089 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24090 # If the export-symbols file already is a .def file (1st line
24091 # is EXPORTS), use it as is; otherwise, prepend...
24092 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24093 cp $export_symbols $output_objdir/$soname.def;
24095 echo EXPORTS > $output_objdir/$soname.def;
24096 cat $export_symbols >> $output_objdir/$soname.def;
24098 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24105 hardcode_direct_GCJ=no
24106 hardcode_shlibpath_var_GCJ=no
24107 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24108 export_dynamic_flag_spec_GCJ='${wl}-E'
24109 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24110 # Instead, shared libraries are loaded at an image base (0x10000000 by
24111 # default) and relocated if they conflict, which is a slow very memory
24112 # consuming and fragmenting process. To avoid this, we pick a random,
24113 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24114 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24115 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'
24116 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'
24120 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24122 case $cc_basename,$host_cpu in
24123 pgcc*) # Portland Group C compiler
24124 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'
24125 tmp_addflag=' $pic_flag'
24127 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24128 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'
24129 tmp_addflag=' $pic_flag -Mnomain' ;;
24130 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24131 tmp_addflag=' -i_dynamic' ;;
24132 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24133 tmp_addflag=' -i_dynamic -nofor_main' ;;
24134 ifc* | ifort*) # Intel Fortran compiler
24135 tmp_addflag=' -nofor_main' ;;
24137 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24139 if test $supports_anon_versioning = yes; then
24140 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24142 $echo "local: *; };" >> $output_objdir/$libname.ver~
24143 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24151 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24152 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24155 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24156 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24161 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24165 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24166 *** create shared libraries on Solaris systems. Therefore, libtool
24167 *** is disabling shared libraries support. We urge you to upgrade GNU
24168 *** binutils to release 2.9.1 or newer. Another option is to modify
24169 *** your PATH or compiler configuration so that the native linker is
24170 *** used, and then restart.
24173 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24174 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24175 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24181 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24182 case `$LD -v 2>&1` in
24183 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24187 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24188 *** reliably create shared libraries on SCO systems. Therefore, libtool
24189 *** is disabling shared libraries support. We urge you to upgrade GNU
24190 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24191 *** your PATH or compiler configuration so that the native linker is
24192 *** used, and then restart.
24197 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24198 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24199 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24200 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24209 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24211 hardcode_direct_GCJ=yes
24212 hardcode_shlibpath_var_GCJ=no
24216 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24217 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24218 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24225 if test "$ld_shlibs_GCJ" = no; then
24227 hardcode_libdir_flag_spec_GCJ=
24228 export_dynamic_flag_spec_GCJ=
24229 whole_archive_flag_spec_GCJ=
24232 # PORTME fill in a description of your system's linker (not GNU ld)
24235 allow_undefined_flag_GCJ=unsupported
24236 always_export_symbols_GCJ=yes
24237 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'
24238 # Note: this linker hardcodes the directories in LIBPATH if there
24239 # are no directories specified by -L.
24240 hardcode_minus_L_GCJ=yes
24241 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24242 # Neither direct hardcoding nor static linking is supported with a
24244 hardcode_direct_GCJ=unsupported
24249 if test "$host_cpu" = ia64; then
24250 # On IA64, the linker does run time linking by default, so we don't
24251 # have to do anything special.
24252 aix_use_runtimelinking=no
24253 exp_sym_flag='-Bexport'
24256 # If we're using GNU nm, then we don't want the "-C" option.
24257 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24258 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24259 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'
24261 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'
24263 aix_use_runtimelinking=no
24265 # Test if we are trying to use run time linking or normal
24266 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24267 # need to do runtime linking.
24268 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24269 for ld_flag in $LDFLAGS; do
24270 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24271 aix_use_runtimelinking=yes
24278 exp_sym_flag='-bexport'
24279 no_entry_flag='-bnoentry'
24282 # When large executables or shared objects are built, AIX ld can
24283 # have problems creating the table of contents. If linking a library
24284 # or program results in "error TOC overflow" add -mminimal-toc to
24285 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24286 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24288 archive_cmds_GCJ=''
24289 hardcode_direct_GCJ=yes
24290 hardcode_libdir_separator_GCJ=':'
24291 link_all_deplibs_GCJ=yes
24293 if test "$GCC" = yes; then
24294 case $host_os in aix4.[012]|aix4.[012].*)
24295 # We only want to do this on AIX 4.2 and lower, the check
24296 # below for broken collect2 doesn't work under 4.3+
24297 collect2name=`${CC} -print-prog-name=collect2`
24298 if test -f "$collect2name" && \
24299 strings "$collect2name" | grep resolve_lib_name >/dev/null
24301 # We have reworked collect2
24302 hardcode_direct_GCJ=yes
24304 # We have old collect2
24305 hardcode_direct_GCJ=unsupported
24306 # It fails to find uninstalled libraries when the uninstalled
24307 # path is not listed in the libpath. Setting hardcode_minus_L
24308 # to unsupported forces relinking
24309 hardcode_minus_L_GCJ=yes
24310 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24311 hardcode_libdir_separator_GCJ=
24315 shared_flag='-shared'
24316 if test "$aix_use_runtimelinking" = yes; then
24317 shared_flag="$shared_flag "'${wl}-G'
24321 if test "$host_cpu" = ia64; then
24322 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24323 # chokes on -Wl,-G. The following line is correct:
24326 if test "$aix_use_runtimelinking" = yes; then
24327 shared_flag='${wl}-G'
24329 shared_flag='${wl}-bM:SRE'
24334 # It seems that -bexpall does not export symbols beginning with
24335 # underscore (_), so it is better to generate a list of symbols to export.
24336 always_export_symbols_GCJ=yes
24337 if test "$aix_use_runtimelinking" = yes; then
24338 # Warning - without using the other runtime loading flags (-brtl),
24339 # -berok will link without error, but may produce a broken library.
24340 allow_undefined_flag_GCJ='-berok'
24341 # Determine the default libpath from the value encoded in an empty executable.
24342 cat >conftest.$ac_ext <<_ACEOF
24345 cat confdefs.h >>conftest.$ac_ext
24346 cat >>conftest.$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24357 rm -f conftest.$ac_objext conftest$ac_exeext
24358 if { (ac_try="$ac_link"
24359 case "(($ac_try" in
24360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24361 *) ac_try_echo=$ac_try;;
24363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24364 (eval "$ac_link") 2>conftest.er1
24366 grep -v '^ *+' conftest.er1 >conftest.err
24368 cat conftest.err >&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } && {
24371 test -z "$ac_c_werror_flag" ||
24372 test ! -s conftest.err
24373 } && test -s conftest$ac_exeext &&
24374 $as_test_x conftest$ac_exeext; then
24376 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24378 # Check for a 64-bit object if we didn't find anything.
24379 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; }
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24389 conftest$ac_exeext conftest.$ac_ext
24390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24392 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24393 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"
24395 if test "$host_cpu" = ia64; then
24396 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24397 allow_undefined_flag_GCJ="-z nodefs"
24398 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"
24400 # Determine the default libpath from the value encoded in an empty executable.
24401 cat >conftest.$ac_ext <<_ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24416 rm -f conftest.$ac_objext conftest$ac_exeext
24417 if { (ac_try="$ac_link"
24418 case "(($ac_try" in
24419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24420 *) ac_try_echo=$ac_try;;
24422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24423 (eval "$ac_link") 2>conftest.er1
24425 grep -v '^ *+' conftest.er1 >conftest.err
24427 cat conftest.err >&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } && {
24430 test -z "$ac_c_werror_flag" ||
24431 test ! -s conftest.err
24432 } && test -s conftest$ac_exeext &&
24433 $as_test_x conftest$ac_exeext; then
24435 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24437 # Check for a 64-bit object if we didn't find anything.
24438 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; }
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24448 conftest$ac_exeext conftest.$ac_ext
24449 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24451 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24452 # Warning - without using the other run time loading flags,
24453 # -berok will link without error, but may produce a broken library.
24454 no_undefined_flag_GCJ=' ${wl}-bernotok'
24455 allow_undefined_flag_GCJ=' ${wl}-berok'
24456 # Exported symbols can be pulled into shared objects from archives
24457 whole_archive_flag_spec_GCJ='$convenience'
24458 archive_cmds_need_lc_GCJ=yes
24459 # This is similar to how AIX traditionally builds its shared libraries.
24460 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'
24466 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)'
24467 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24468 hardcode_minus_L_GCJ=yes
24469 # see comment about different semantics on the GNU ld section
24474 export_dynamic_flag_spec_GCJ=-rdynamic
24477 cygwin* | mingw* | pw32*)
24478 # When not using gcc, we currently assume that we are using
24479 # Microsoft Visual C++.
24480 # hardcode_libdir_flag_spec is actually meaningless, as there is
24481 # no search path for DLLs.
24482 hardcode_libdir_flag_spec_GCJ=' '
24483 allow_undefined_flag_GCJ=unsupported
24484 # Tell ltmain to make .lib files, not .a files.
24486 # Tell ltmain to make .dll files, not .so files.
24488 # FIXME: Setting linknames here is a bad hack.
24489 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24490 # The linker will automatically build a .lib file if we build a DLL.
24491 old_archive_From_new_cmds_GCJ='true'
24492 # FIXME: Should let the user specify the lib program.
24493 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
24494 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
24495 enable_shared_with_static_runtimes_GCJ=yes
24498 darwin* | rhapsody*)
24500 rhapsody* | darwin1.[012])
24501 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
24504 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24505 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24507 case ${MACOSX_DEPLOYMENT_TARGET} in
24509 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24512 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24518 archive_cmds_need_lc_GCJ=no
24519 hardcode_direct_GCJ=no
24520 hardcode_automatic_GCJ=yes
24521 hardcode_shlibpath_var_GCJ=unsupported
24522 whole_archive_flag_spec_GCJ=''
24523 link_all_deplibs_GCJ=yes
24524 if test "$GCC" = yes ; then
24525 output_verbose_link_cmd='echo'
24526 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24527 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24528 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24529 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}'
24530 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}'
24532 case $cc_basename in
24534 output_verbose_link_cmd='echo'
24535 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24536 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24537 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24538 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}'
24539 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}'
24549 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24550 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24551 hardcode_shlibpath_var_GCJ=no
24558 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24559 # support. Future versions do this automatically, but an explicit c++rt0.o
24560 # does not break anything, and helps significantly (at the cost of a little
24563 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24564 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24565 hardcode_direct_GCJ=yes
24566 hardcode_shlibpath_var_GCJ=no
24569 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24571 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24572 hardcode_direct_GCJ=yes
24573 hardcode_minus_L_GCJ=yes
24574 hardcode_shlibpath_var_GCJ=no
24577 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24578 freebsd* | kfreebsd*-gnu | dragonfly*)
24579 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24580 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24581 hardcode_direct_GCJ=yes
24582 hardcode_shlibpath_var_GCJ=no
24586 if test "$GCC" = yes; then
24587 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'
24589 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'
24591 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24592 hardcode_libdir_separator_GCJ=:
24593 hardcode_direct_GCJ=yes
24595 # hardcode_minus_L: Not really in the search PATH,
24596 # but as the default location of the library.
24597 hardcode_minus_L_GCJ=yes
24598 export_dynamic_flag_spec_GCJ='${wl}-E'
24602 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24603 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24605 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24607 if test "$with_gnu_ld" = no; then
24608 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24609 hardcode_libdir_separator_GCJ=:
24611 hardcode_direct_GCJ=yes
24612 export_dynamic_flag_spec_GCJ='${wl}-E'
24614 # hardcode_minus_L: Not really in the search PATH,
24615 # but as the default location of the library.
24616 hardcode_minus_L_GCJ=yes
24621 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24624 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24627 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24630 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24636 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24639 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24642 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24646 if test "$with_gnu_ld" = no; then
24647 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24648 hardcode_libdir_separator_GCJ=:
24652 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
24653 hardcode_direct_GCJ=no
24654 hardcode_shlibpath_var_GCJ=no
24657 hardcode_direct_GCJ=yes
24658 export_dynamic_flag_spec_GCJ='${wl}-E'
24660 # hardcode_minus_L: Not really in the search PATH,
24661 # but as the default location of the library.
24662 hardcode_minus_L_GCJ=yes
24668 irix5* | irix6* | nonstopux*)
24669 if test "$GCC" = yes; then
24670 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'
24672 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'
24673 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
24675 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24676 hardcode_libdir_separator_GCJ=:
24677 link_all_deplibs_GCJ=yes
24681 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24682 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24684 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24686 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24687 hardcode_direct_GCJ=yes
24688 hardcode_shlibpath_var_GCJ=no
24692 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24693 hardcode_direct_GCJ=yes
24694 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24695 hardcode_libdir_separator_GCJ=:
24696 hardcode_shlibpath_var_GCJ=no
24700 hardcode_direct_GCJ=yes
24701 hardcode_shlibpath_var_GCJ=no
24702 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24703 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24704 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24705 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24706 export_dynamic_flag_spec_GCJ='${wl}-E'
24709 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24710 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24711 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24714 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24715 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24722 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24723 hardcode_minus_L_GCJ=yes
24724 allow_undefined_flag_GCJ=unsupported
24725 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'
24726 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24730 if test "$GCC" = yes; then
24731 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24732 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'
24734 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24735 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'
24737 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24738 hardcode_libdir_separator_GCJ=:
24741 osf4* | osf5*) # as osf3* with the addition of -msym flag
24742 if test "$GCC" = yes; then
24743 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24744 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'
24745 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24747 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24748 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'
24749 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~
24750 $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'
24752 # Both c and cxx compiler support -rpath directly
24753 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
24755 hardcode_libdir_separator_GCJ=:
24759 no_undefined_flag_GCJ=' -z text'
24760 if test "$GCC" = yes; then
24762 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24763 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24764 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24767 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24768 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24769 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24771 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24772 hardcode_shlibpath_var_GCJ=no
24774 solaris2.[0-5] | solaris2.[0-5].*) ;;
24776 # The compiler driver will combine linker options so we
24777 # cannot just pass the convience library names through
24778 # without $wl, iff we do not link with $LD.
24779 # Luckily, gcc supports the same syntax we need for Sun Studio.
24780 # Supported since Solaris 2.6 (maybe 2.5.1?)
24783 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
24785 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' ;;
24788 link_all_deplibs_GCJ=yes
24792 if test "x$host_vendor" = xsequent; then
24793 # Use $CC to link under sequent, because it throws in some extra .o
24794 # files that make .init and .fini sections work.
24795 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24797 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24799 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24800 hardcode_direct_GCJ=yes
24801 hardcode_minus_L_GCJ=yes
24802 hardcode_shlibpath_var_GCJ=no
24806 case $host_vendor in
24808 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24809 hardcode_direct_GCJ=yes # is this really true???
24812 ## LD is ld it makes a PLAMLIB
24813 ## CC just makes a GrossModule.
24814 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24815 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
24816 hardcode_direct_GCJ=no
24819 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24820 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
24823 runpath_var='LD_RUN_PATH'
24824 hardcode_shlibpath_var_GCJ=no
24828 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24829 hardcode_shlibpath_var_GCJ=no
24830 export_dynamic_flag_spec_GCJ='-Bexport'
24834 if test -d /usr/nec; then
24835 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24836 hardcode_shlibpath_var_GCJ=no
24837 runpath_var=LD_RUN_PATH
24838 hardcode_runpath_var=yes
24843 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
24844 no_undefined_flag_GCJ='${wl}-z,text'
24845 archive_cmds_need_lc_GCJ=no
24846 hardcode_shlibpath_var_GCJ=no
24847 runpath_var='LD_RUN_PATH'
24849 if test "$GCC" = yes; then
24850 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24851 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24853 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24854 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24858 sysv5* | sco3.2v5* | sco5v6*)
24859 # Note: We can NOT use -z defs as we might desire, because we do not
24860 # link with -lc, and that would cause any symbols used from libc to
24861 # always be unresolved, which means just about no library would
24862 # ever link correctly. If we're not using GNU ld we use -z text
24863 # though, which does catch some bad symbols but isn't as heavy-handed
24865 no_undefined_flag_GCJ='${wl}-z,text'
24866 allow_undefined_flag_GCJ='${wl}-z,nodefs'
24867 archive_cmds_need_lc_GCJ=no
24868 hardcode_shlibpath_var_GCJ=no
24869 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24870 hardcode_libdir_separator_GCJ=':'
24871 link_all_deplibs_GCJ=yes
24872 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
24873 runpath_var='LD_RUN_PATH'
24875 if test "$GCC" = yes; then
24876 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24877 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24879 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24880 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24885 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24886 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24887 hardcode_shlibpath_var_GCJ=no
24896 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
24897 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
24898 test "$ld_shlibs_GCJ" = no && can_build_shared=no
24901 # Do we need to explicitly link libc?
24903 case "x$archive_cmds_need_lc_GCJ" in
24905 # Assume -lc should be added
24906 archive_cmds_need_lc_GCJ=yes
24908 if test "$enable_shared" = yes && test "$GCC" = yes; then
24909 case $archive_cmds_GCJ in
24911 # FIXME: we may have to deal with multi-command sequences.
24914 # Test whether the compiler implicitly links with -lc since on some
24915 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24916 # to ld, don't add -lc before -lgcc.
24917 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24918 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
24920 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24923 (eval $ac_compile) 2>&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); } 2>conftest.err; then
24929 libobjs=conftest.$ac_objext
24931 wl=$lt_prog_compiler_wl_GCJ
24932 pic_flag=$lt_prog_compiler_pic_GCJ
24938 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
24939 allow_undefined_flag_GCJ=
24940 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24941 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); }
24946 archive_cmds_need_lc_GCJ=no
24948 archive_cmds_need_lc_GCJ=yes
24950 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
24952 cat conftest.err 1>&5
24955 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
24956 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
24963 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24964 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
24965 library_names_spec=
24966 libname_spec='lib$name'
24970 postuninstall_cmds=
24974 shlibpath_overrides_runpath=unknown
24976 dynamic_linker="$host_os ld.so"
24977 sys_lib_dlsearch_path_spec="/lib /usr/lib"
24978 if test "$GCC" = yes; then
24979 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24980 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
24981 # if the path contains ";" then we assume it to be the separator
24982 # otherwise default to the standard path separator (i.e. ":") - it is
24983 # assumed that no part of a normal pathname contains ";" but that should
24984 # okay in the real world where ";" in dirpaths is itself problematic.
24985 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24987 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24990 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24992 need_lib_prefix=unknown
24993 hardcode_into_libs=no
24995 # when you set need_version to no, make sure it does not cause -set_version
24996 # flags to be left without arguments
24997 need_version=unknown
25002 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25003 shlibpath_var=LIBPATH
25005 # AIX 3 has no versioning support, so we append a major version to the name.
25006 soname_spec='${libname}${release}${shared_ext}$major'
25013 hardcode_into_libs=yes
25014 if test "$host_cpu" = ia64; then
25015 # AIX 5 supports IA64
25016 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25017 shlibpath_var=LD_LIBRARY_PATH
25019 # With GCC up to 2.95.x, collect2 would create an import file
25020 # for dependence libraries. The import file would start with
25021 # the line `#! .'. This would cause the generated library to
25022 # depend on `.', always an invalid library. This was fixed in
25023 # development snapshots of GCC prior to 3.0.
25025 aix4 | aix4.[01] | aix4.[01].*)
25026 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25028 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25031 can_build_shared=no
25035 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25036 # soname into executable. Probably we can add versioning support to
25037 # collect2, so additional links can be useful in future.
25038 if test "$aix_use_runtimelinking" = yes; then
25039 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25040 # instead of lib<name>.a to let people know that these are not
25041 # typical AIX shared libraries.
25042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25044 # We preserve .a as extension for shared libraries through AIX4.2
25045 # and later when we are not doing run time linking.
25046 library_names_spec='${libname}${release}.a $libname.a'
25047 soname_spec='${libname}${release}${shared_ext}$major'
25049 shlibpath_var=LIBPATH
25054 library_names_spec='$libname.ixlibrary $libname.a'
25055 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25056 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'
25060 library_names_spec='${libname}${shared_ext}'
25061 dynamic_linker="$host_os ld.so"
25062 shlibpath_var=LIBRARY_PATH
25068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25069 soname_spec='${libname}${release}${shared_ext}$major'
25070 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25071 shlibpath_var=LD_LIBRARY_PATH
25072 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25073 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25074 # the default ld.so.conf also contains /usr/contrib/lib and
25075 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25076 # libtool to hard-code these into programs
25079 cygwin* | mingw* | pw32*)
25080 version_type=windows
25085 case $GCC,$host_os in
25086 yes,cygwin* | yes,mingw* | yes,pw32*)
25087 library_names_spec='$libname.dll.a'
25088 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25089 postinstall_cmds='base_file=`basename \${file}`~
25090 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25091 dldir=$destdir/`dirname \$dlpath`~
25092 test -d \$dldir || mkdir -p \$dldir~
25093 $install_prog $dir/$dlname \$dldir/$dlname~
25094 chmod a+x \$dldir/$dlname'
25095 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25096 dlpath=$dir/\$dldll~
25098 shlibpath_overrides_runpath=yes
25102 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25103 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25104 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25107 # MinGW DLLs use traditional 'lib' prefix
25108 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25109 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25110 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25111 # It is most probably a Windows format PATH printed by
25112 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25113 # path with ; separators, and with drive letters. We can handle the
25114 # drive letters (cygwin fileutils understands them), so leave them,
25115 # especially as we might pass files found there to a mingw objdump,
25116 # which wouldn't understand a cygwinified path. Ahh.
25117 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25119 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25123 # pw32 DLLs use 'pw' prefix rather than 'lib'
25124 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25130 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25133 dynamic_linker='Win32 ld.exe'
25134 # FIXME: first we should search . and the directory the executable is in
25138 darwin* | rhapsody*)
25139 dynamic_linker="$host_os dyld"
25140 version_type=darwin
25143 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25144 soname_spec='${libname}${release}${major}$shared_ext'
25145 shlibpath_overrides_runpath=yes
25146 shlibpath_var=DYLD_LIBRARY_PATH
25147 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25148 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25149 if test "$GCC" = yes; then
25150 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"`
25152 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25154 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25162 soname_spec='${libname}${release}${shared_ext}$major'
25163 shlibpath_var=LD_LIBRARY_PATH
25174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25175 soname_spec='${libname}${release}${shared_ext}$major'
25176 shlibpath_var=LD_LIBRARY_PATH
25177 shlibpath_overrides_runpath=no
25178 hardcode_into_libs=yes
25179 dynamic_linker='GNU ld.so'
25182 freebsd* | dragonfly*)
25183 # DragonFly does not have aout. When/if they implement a new
25184 # versioning mechanism, adjust this.
25185 if test -x /usr/bin/objformat; then
25186 objformat=`/usr/bin/objformat`
25189 freebsd[123]*) objformat=aout ;;
25190 *) objformat=elf ;;
25193 version_type=freebsd-$objformat
25194 case $version_type in
25196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25201 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25205 shlibpath_var=LD_LIBRARY_PATH
25208 shlibpath_overrides_runpath=yes
25210 freebsd3.[01]* | freebsdelf3.[01]*)
25211 shlibpath_overrides_runpath=yes
25212 hardcode_into_libs=yes
25214 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25215 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25216 shlibpath_overrides_runpath=no
25217 hardcode_into_libs=yes
25219 freebsd*) # from 4.6 on
25220 shlibpath_overrides_runpath=yes
25221 hardcode_into_libs=yes
25230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25231 soname_spec='${libname}${release}${shared_ext}$major'
25232 shlibpath_var=LD_LIBRARY_PATH
25233 hardcode_into_libs=yes
25236 hpux9* | hpux10* | hpux11*)
25237 # Give a soname corresponding to the major version so that dld.sl refuses to
25238 # link against other versions.
25245 hardcode_into_libs=yes
25246 dynamic_linker="$host_os dld.so"
25247 shlibpath_var=LD_LIBRARY_PATH
25248 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25250 soname_spec='${libname}${release}${shared_ext}$major'
25251 if test "X$HPUX_IA64_MODE" = X32; then
25252 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25254 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25256 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25260 hardcode_into_libs=yes
25261 dynamic_linker="$host_os dld.sl"
25262 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25263 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25265 soname_spec='${libname}${release}${shared_ext}$major'
25266 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25267 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25271 dynamic_linker="$host_os dld.sl"
25272 shlibpath_var=SHLIB_PATH
25273 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25275 soname_spec='${libname}${release}${shared_ext}$major'
25278 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25279 postinstall_cmds='chmod 555 $lib'
25286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25287 soname_spec='${libname}${release}${shared_ext}$major'
25288 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25289 shlibpath_var=LD_LIBRARY_PATH
25290 shlibpath_overrides_runpath=no
25291 hardcode_into_libs=yes
25294 irix5* | irix6* | nonstopux*)
25296 nonstopux*) version_type=nonstopux ;;
25298 if test "$lt_cv_prog_gnu_ld" = yes; then
25306 soname_spec='${libname}${release}${shared_ext}$major'
25307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25309 irix5* | nonstopux*)
25310 libsuff= shlibsuff=
25313 case $LD in # libtool.m4 will add one of these switches to LD
25314 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25315 libsuff= shlibsuff= libmagic=32-bit;;
25316 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25317 libsuff=32 shlibsuff=N32 libmagic=N32;;
25318 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25319 libsuff=64 shlibsuff=64 libmagic=64-bit;;
25320 *) libsuff= shlibsuff= libmagic=never-match;;
25324 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25325 shlibpath_overrides_runpath=no
25326 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25327 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25328 hardcode_into_libs=yes
25331 # No shared lib support for Linux oldld, aout, or coff.
25332 linux*oldld* | linux*aout* | linux*coff*)
25336 # This must be Linux ELF.
25341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25342 soname_spec='${libname}${release}${shared_ext}$major'
25343 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25344 shlibpath_var=LD_LIBRARY_PATH
25345 shlibpath_overrides_runpath=no
25346 # This implies no fast_install, which is unacceptable.
25347 # Some rework will be needed to allow for fast_install
25348 # before this can be enabled.
25349 hardcode_into_libs=yes
25351 # find out which ABI we are using
25353 case "$host_cpu" in
25354 x86_64*|s390x*|powerpc64*)
25355 echo '#line 25355 "configure"' > conftest.$ac_ext
25356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25357 (eval $ac_compile) 2>&5
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); }; then
25361 case `/usr/bin/file conftest.$ac_objext` in
25364 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
25372 # Append ld.so.conf contents to the search path
25373 if test -f /etc/ld.so.conf; then
25374 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' ' '`
25375 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
25378 # We used to test for /lib/ld.so.1 and disable shared libraries on
25379 # powerpc, because MkLinux only supported shared libraries with the
25380 # GNU dynamic linker. Since this was broken with cross compilers,
25381 # most powerpc-linux boxes support dynamic linking these days and
25382 # people can always --disable-shared, the test was removed, and we
25383 # assume the GNU/Linux dynamic linker is in use.
25384 dynamic_linker='GNU/Linux ld.so'
25391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25392 soname_spec='${libname}${release}${shared_ext}$major'
25393 shlibpath_var=LD_LIBRARY_PATH
25394 shlibpath_overrides_runpath=no
25395 hardcode_into_libs=yes
25396 dynamic_linker='GNU ld.so'
25403 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25405 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25406 dynamic_linker='NetBSD (a.out) ld.so'
25408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25409 soname_spec='${libname}${release}${shared_ext}$major'
25410 dynamic_linker='NetBSD ld.elf_so'
25412 shlibpath_var=LD_LIBRARY_PATH
25413 shlibpath_overrides_runpath=yes
25414 hardcode_into_libs=yes
25419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25420 shlibpath_var=LD_LIBRARY_PATH
25421 shlibpath_overrides_runpath=yes
25428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25429 soname_spec='${libname}${release}${shared_ext}$major'
25430 shlibpath_var=LD_LIBRARY_PATH
25431 shlibpath_overrides_runpath=yes
25436 sys_lib_dlsearch_path_spec="/usr/lib"
25438 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25440 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25441 *) need_version=no ;;
25443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25445 shlibpath_var=LD_LIBRARY_PATH
25446 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25448 openbsd2.[89] | openbsd2.[89].*)
25449 shlibpath_overrides_runpath=no
25452 shlibpath_overrides_runpath=yes
25456 shlibpath_overrides_runpath=yes
25461 libname_spec='$name'
25464 library_names_spec='$libname${shared_ext} $libname.a'
25465 dynamic_linker='OS/2 ld.exe'
25466 shlibpath_var=LIBPATH
25469 osf3* | osf4* | osf5*)
25473 soname_spec='${libname}${release}${shared_ext}$major'
25474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25475 shlibpath_var=LD_LIBRARY_PATH
25476 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25477 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25485 soname_spec='${libname}${release}${shared_ext}$major'
25486 shlibpath_var=LD_LIBRARY_PATH
25487 shlibpath_overrides_runpath=yes
25488 hardcode_into_libs=yes
25489 # ldd complains unless libraries are executable
25490 postinstall_cmds='chmod +x $lib'
25495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25496 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25497 shlibpath_var=LD_LIBRARY_PATH
25498 shlibpath_overrides_runpath=yes
25499 if test "$with_gnu_ld" = yes; then
25507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25508 soname_spec='${libname}${release}${shared_ext}$major'
25509 shlibpath_var=LD_LIBRARY_PATH
25510 case $host_vendor in
25512 shlibpath_overrides_runpath=no
25514 export_dynamic_flag_spec='${wl}-Blargedynsym'
25515 runpath_var=LD_RUN_PATH
25523 shlibpath_overrides_runpath=no
25524 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
25530 if test -d /usr/nec ;then
25532 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25533 soname_spec='$libname${shared_ext}.$major'
25534 shlibpath_var=LD_LIBRARY_PATH
25538 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25539 version_type=freebsd-elf
25542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25543 soname_spec='${libname}${release}${shared_ext}$major'
25544 shlibpath_var=LD_LIBRARY_PATH
25545 hardcode_into_libs=yes
25546 if test "$with_gnu_ld" = yes; then
25547 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25548 shlibpath_overrides_runpath=no
25550 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
25551 shlibpath_overrides_runpath=yes
25554 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
25558 sys_lib_dlsearch_path_spec='/usr/lib'
25563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25564 soname_spec='${libname}${release}${shared_ext}$major'
25565 shlibpath_var=LD_LIBRARY_PATH
25572 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25573 echo "${ECHO_T}$dynamic_linker" >&6; }
25574 test "$dynamic_linker" = no && can_build_shared=no
25576 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25577 if test "$GCC" = yes; then
25578 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25581 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25582 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25583 hardcode_action_GCJ=
25584 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25585 test -n "$runpath_var_GCJ" || \
25586 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25588 # We can hardcode non-existant directories.
25589 if test "$hardcode_direct_GCJ" != no &&
25590 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25591 # have to relink, otherwise we might link with an installed library
25592 # when we should be linking with a yet-to-be-installed one
25593 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25594 test "$hardcode_minus_L_GCJ" != no; then
25595 # Linking always hardcodes the temporary library directory.
25596 hardcode_action_GCJ=relink
25598 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25599 hardcode_action_GCJ=immediate
25602 # We cannot hardcode anything, or else we can only hardcode existing
25604 hardcode_action_GCJ=unsupported
25606 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25607 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25609 if test "$hardcode_action_GCJ" = relink; then
25610 # Fast installation is not supported
25611 enable_fast_install=no
25612 elif test "$shlibpath_overrides_runpath" = yes ||
25613 test "$enable_shared" = no; then
25614 # Fast installation is not necessary
25615 enable_fast_install=needless
25619 # The else clause should only fire when bootstrapping the
25620 # libtool distribution, otherwise you forgot to ship ltmain.sh
25621 # with your package, and you will get complaints that there are
25622 # no rules to generate ltmain.sh.
25623 if test -f "$ltmain"; then
25624 # See if we are running on zsh, and set the options which allow our commands through
25625 # without removal of \ escapes.
25626 if test -n "${ZSH_VERSION+set}" ; then
25627 setopt NO_GLOB_SUBST
25629 # Now quote all the things that may contain metacharacters while being
25630 # careful not to overquote the AC_SUBSTed values. We take copies of the
25631 # variables and quote the copies for generation of the libtool script.
25632 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25634 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25635 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25636 deplibs_check_method reload_flag reload_cmds need_locks \
25637 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25638 lt_cv_sys_global_symbol_to_c_name_address \
25639 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25640 old_postinstall_cmds old_postuninstall_cmds \
25644 lt_prog_compiler_wl_GCJ \
25645 lt_prog_compiler_pic_GCJ \
25646 lt_prog_compiler_static_GCJ \
25647 lt_prog_compiler_no_builtin_flag_GCJ \
25648 export_dynamic_flag_spec_GCJ \
25649 thread_safe_flag_spec_GCJ \
25650 whole_archive_flag_spec_GCJ \
25651 enable_shared_with_static_runtimes_GCJ \
25652 old_archive_cmds_GCJ \
25653 old_archive_from_new_cmds_GCJ \
25654 predep_objects_GCJ \
25655 postdep_objects_GCJ \
25658 compiler_lib_search_path_GCJ \
25660 archive_expsym_cmds_GCJ \
25661 postinstall_cmds_GCJ \
25662 postuninstall_cmds_GCJ \
25663 old_archive_from_expsyms_cmds_GCJ \
25664 allow_undefined_flag_GCJ \
25665 no_undefined_flag_GCJ \
25666 export_symbols_cmds_GCJ \
25667 hardcode_libdir_flag_spec_GCJ \
25668 hardcode_libdir_flag_spec_ld_GCJ \
25669 hardcode_libdir_separator_GCJ \
25670 hardcode_automatic_GCJ \
25672 module_expsym_cmds_GCJ \
25673 lt_cv_prog_compiler_c_o_GCJ \
25674 exclude_expsyms_GCJ \
25675 include_expsyms_GCJ; do
25678 old_archive_cmds_GCJ | \
25679 old_archive_from_new_cmds_GCJ | \
25680 archive_cmds_GCJ | \
25681 archive_expsym_cmds_GCJ | \
25682 module_cmds_GCJ | \
25683 module_expsym_cmds_GCJ | \
25684 old_archive_from_expsyms_cmds_GCJ | \
25685 export_symbols_cmds_GCJ | \
25686 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25687 postinstall_cmds | postuninstall_cmds | \
25688 old_postinstall_cmds | old_postuninstall_cmds | \
25689 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25690 # Double-quote double-evaled strings.
25691 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25694 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25700 *'\$0 --fallback-echo"')
25701 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25707 cat <<__EOF__ >> "$cfgfile"
25708 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25710 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25712 # Shell to use when invoking shell scripts.
25715 # Whether or not to build shared libraries.
25716 build_libtool_libs=$enable_shared
25718 # Whether or not to build static libraries.
25719 build_old_libs=$enable_static
25721 # Whether or not to add -lc for building shared libraries.
25722 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25724 # Whether or not to disallow shared libs when runtime libs are static
25725 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25727 # Whether or not to optimize for fast installation.
25728 fast_install=$enable_fast_install
25731 host_alias=$host_alias
25735 # The build system.
25736 build_alias=$build_alias
25740 # An echo program that does not interpret backslashes.
25745 AR_FLAGS=$lt_AR_FLAGS
25750 # LTCC compiler flags.
25751 LTCFLAGS=$lt_LTCFLAGS
25753 # A language-specific compiler.
25754 CC=$lt_compiler_GCJ
25756 # Is the compiler the GNU C compiler?
25762 # The linker used to build libraries.
25765 # Whether we need hard or soft links.
25768 # A BSD-compatible nm program.
25771 # A symbol stripping program
25774 # Used to examine libraries when file_magic_cmd begins "file"
25775 MAGIC_CMD=$MAGIC_CMD
25777 # Used on cygwin: DLL creation program.
25780 # Used on cygwin: object dumper.
25783 # Used on cygwin: assembler.
25786 # The name of the directory that contains temporary libtool files.
25789 # How to create reloadable object files.
25790 reload_flag=$lt_reload_flag
25791 reload_cmds=$lt_reload_cmds
25793 # How to pass a linker flag through the compiler.
25794 wl=$lt_lt_prog_compiler_wl_GCJ
25796 # Object file suffix (normally "o").
25797 objext="$ac_objext"
25799 # Old archive suffix (normally "a").
25802 # Shared library suffix (normally ".so").
25803 shrext_cmds='$shrext_cmds'
25805 # Executable file suffix (normally "").
25808 # Additional compiler flags for building library objects.
25809 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25812 # What is the maximum length of a command?
25813 max_cmd_len=$lt_cv_sys_max_cmd_len
25815 # Does compiler simultaneously support -c and -o options?
25816 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25818 # Must we lock files when doing compilation?
25819 need_locks=$lt_need_locks
25821 # Do we need the lib prefix for modules?
25822 need_lib_prefix=$need_lib_prefix
25824 # Do we need a version for libraries?
25825 need_version=$need_version
25827 # Whether dlopen is supported.
25828 dlopen_support=$enable_dlopen
25830 # Whether dlopen of programs is supported.
25831 dlopen_self=$enable_dlopen_self
25833 # Whether dlopen of statically linked programs is supported.
25834 dlopen_self_static=$enable_dlopen_self_static
25836 # Compiler flag to prevent dynamic linking.
25837 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25839 # Compiler flag to turn off builtin functions.
25840 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25842 # Compiler flag to allow reflexive dlopens.
25843 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25845 # Compiler flag to generate shared objects directly from archives.
25846 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25848 # Compiler flag to generate thread-safe objects.
25849 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25851 # Library versioning type.
25852 version_type=$version_type
25854 # Format of library name prefix.
25855 libname_spec=$lt_libname_spec
25857 # List of archive names. First name is the real one, the rest are links.
25858 # The last name is the one that the linker finds with -lNAME.
25859 library_names_spec=$lt_library_names_spec
25861 # The coded name of the library, if different from the real name.
25862 soname_spec=$lt_soname_spec
25864 # Commands used to build and install an old-style archive.
25866 old_archive_cmds=$lt_old_archive_cmds_GCJ
25867 old_postinstall_cmds=$lt_old_postinstall_cmds
25868 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25870 # Create an old-style archive from a shared archive.
25871 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25873 # Create a temporary old-style archive to link instead of a shared archive.
25874 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25876 # Commands used to build and install a shared archive.
25877 archive_cmds=$lt_archive_cmds_GCJ
25878 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25879 postinstall_cmds=$lt_postinstall_cmds
25880 postuninstall_cmds=$lt_postuninstall_cmds
25882 # Commands used to build a loadable module (assumed same as above if empty)
25883 module_cmds=$lt_module_cmds_GCJ
25884 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25886 # Commands to strip libraries.
25887 old_striplib=$lt_old_striplib
25888 striplib=$lt_striplib
25890 # Dependencies to place before the objects being linked to create a
25892 predep_objects=$lt_predep_objects_GCJ
25894 # Dependencies to place after the objects being linked to create a
25896 postdep_objects=$lt_postdep_objects_GCJ
25898 # Dependencies to place before the objects being linked to create a
25900 predeps=$lt_predeps_GCJ
25902 # Dependencies to place after the objects being linked to create a
25904 postdeps=$lt_postdeps_GCJ
25906 # The library search path used internally by the compiler when linking
25907 # a shared library.
25908 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25910 # Method to check whether dependent libraries are shared objects.
25911 deplibs_check_method=$lt_deplibs_check_method
25913 # Command to use when deplibs_check_method == file_magic.
25914 file_magic_cmd=$lt_file_magic_cmd
25916 # Flag that allows shared libraries with undefined symbols to be built.
25917 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25919 # Flag that forces no undefined symbols.
25920 no_undefined_flag=$lt_no_undefined_flag_GCJ
25922 # Commands used to finish a libtool library installation in a directory.
25923 finish_cmds=$lt_finish_cmds
25925 # Same as above, but a single script fragment to be evaled but not shown.
25926 finish_eval=$lt_finish_eval
25928 # Take the output of nm and produce a listing of raw symbols and C names.
25929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25931 # Transform the output of nm in a proper C declaration
25932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25934 # Transform the output of nm in a C name address pair
25935 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25937 # This is the shared library runtime path variable.
25938 runpath_var=$runpath_var
25940 # This is the shared library path variable.
25941 shlibpath_var=$shlibpath_var
25943 # Is shlibpath searched before the hard-coded library search path?
25944 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25946 # How to hardcode a shared library path into an executable.
25947 hardcode_action=$hardcode_action_GCJ
25949 # Whether we should hardcode library paths into libraries.
25950 hardcode_into_libs=$hardcode_into_libs
25952 # Flag to hardcode \$libdir into a binary during linking.
25953 # This must work even if \$libdir does not exist.
25954 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25956 # If ld is used when linking, flag to hardcode \$libdir into
25957 # a binary during linking. This must work even if \$libdir does
25959 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25961 # Whether we need a single -rpath flag with a separated argument.
25962 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25964 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25965 # resulting binary.
25966 hardcode_direct=$hardcode_direct_GCJ
25968 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25969 # resulting binary.
25970 hardcode_minus_L=$hardcode_minus_L_GCJ
25972 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25973 # the resulting binary.
25974 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25976 # Set to yes if building a shared library automatically hardcodes DIR into the library
25977 # and all subsequent libraries and executables linked against it.
25978 hardcode_automatic=$hardcode_automatic_GCJ
25980 # Variables whose values should be saved in libtool wrapper scripts and
25981 # restored at relink time.
25982 variables_saved_for_relink="$variables_saved_for_relink"
25984 # Whether libtool must link a program against all its dependency libraries.
25985 link_all_deplibs=$link_all_deplibs_GCJ
25987 # Compile-time system search path for libraries
25988 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25990 # Run-time system search path for libraries
25991 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25993 # Fix the shell variable \$srcfile for the compiler.
25994 fix_srcfile_path="$fix_srcfile_path_GCJ"
25996 # Set to yes if exported symbols are required.
25997 always_export_symbols=$always_export_symbols_GCJ
25999 # The commands to list exported symbols.
26000 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26002 # The commands to extract the exported symbol list from a shared archive.
26003 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26005 # Symbols that should not be listed in the preloaded symbols.
26006 exclude_expsyms=$lt_exclude_expsyms_GCJ
26008 # Symbols that must always be exported.
26009 include_expsyms=$lt_include_expsyms_GCJ
26011 # ### END LIBTOOL TAG CONFIG: $tagname
26017 # If there is no Makefile yet, we rely on a make rule to execute
26018 # `config.status --recheck' to rerun these tests and create the
26019 # libtool script then.
26020 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26021 if test -f "$ltmain_in"; then
26022 test -f Makefile && make "$ltmain"
26028 ac_cpp='$CPP $CPPFLAGS'
26029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26043 # Source file extension for RC test sources.
26046 # Object file extension for compiled RC test sources.
26050 # Code to be used in simple compile tests
26051 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26053 # Code to be used in simple link tests
26054 lt_simple_link_test_code="$lt_simple_compile_test_code"
26056 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26058 # If no C compiler was specified, use CC.
26061 # If no C compiler flags were specified, use CFLAGS.
26062 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26064 # Allow CC to be a program name with arguments.
26068 # save warnings/boilerplate of simple test code
26069 ac_outfile=conftest.$ac_objext
26070 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
26071 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26072 _lt_compiler_boilerplate=`cat conftest.err`
26075 ac_outfile=conftest.$ac_objext
26076 printf "$lt_simple_link_test_code" >conftest.$ac_ext
26077 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26078 _lt_linker_boilerplate=`cat conftest.err`
26082 # Allow CC to be a program name with arguments.
26087 for cc_temp in $compiler""; do
26089 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26090 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26095 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26097 lt_cv_prog_compiler_c_o_RC=yes
26099 # The else clause should only fire when bootstrapping the
26100 # libtool distribution, otherwise you forgot to ship ltmain.sh
26101 # with your package, and you will get complaints that there are
26102 # no rules to generate ltmain.sh.
26103 if test -f "$ltmain"; then
26104 # See if we are running on zsh, and set the options which allow our commands through
26105 # without removal of \ escapes.
26106 if test -n "${ZSH_VERSION+set}" ; then
26107 setopt NO_GLOB_SUBST
26109 # Now quote all the things that may contain metacharacters while being
26110 # careful not to overquote the AC_SUBSTed values. We take copies of the
26111 # variables and quote the copies for generation of the libtool script.
26112 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26114 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26115 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26116 deplibs_check_method reload_flag reload_cmds need_locks \
26117 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26118 lt_cv_sys_global_symbol_to_c_name_address \
26119 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26120 old_postinstall_cmds old_postuninstall_cmds \
26124 lt_prog_compiler_wl_RC \
26125 lt_prog_compiler_pic_RC \
26126 lt_prog_compiler_static_RC \
26127 lt_prog_compiler_no_builtin_flag_RC \
26128 export_dynamic_flag_spec_RC \
26129 thread_safe_flag_spec_RC \
26130 whole_archive_flag_spec_RC \
26131 enable_shared_with_static_runtimes_RC \
26132 old_archive_cmds_RC \
26133 old_archive_from_new_cmds_RC \
26134 predep_objects_RC \
26135 postdep_objects_RC \
26138 compiler_lib_search_path_RC \
26140 archive_expsym_cmds_RC \
26141 postinstall_cmds_RC \
26142 postuninstall_cmds_RC \
26143 old_archive_from_expsyms_cmds_RC \
26144 allow_undefined_flag_RC \
26145 no_undefined_flag_RC \
26146 export_symbols_cmds_RC \
26147 hardcode_libdir_flag_spec_RC \
26148 hardcode_libdir_flag_spec_ld_RC \
26149 hardcode_libdir_separator_RC \
26150 hardcode_automatic_RC \
26152 module_expsym_cmds_RC \
26153 lt_cv_prog_compiler_c_o_RC \
26154 exclude_expsyms_RC \
26155 include_expsyms_RC; do
26158 old_archive_cmds_RC | \
26159 old_archive_from_new_cmds_RC | \
26160 archive_cmds_RC | \
26161 archive_expsym_cmds_RC | \
26163 module_expsym_cmds_RC | \
26164 old_archive_from_expsyms_cmds_RC | \
26165 export_symbols_cmds_RC | \
26166 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26167 postinstall_cmds | postuninstall_cmds | \
26168 old_postinstall_cmds | old_postuninstall_cmds | \
26169 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26170 # Double-quote double-evaled strings.
26171 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26174 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26180 *'\$0 --fallback-echo"')
26181 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26187 cat <<__EOF__ >> "$cfgfile"
26188 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26190 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26192 # Shell to use when invoking shell scripts.
26195 # Whether or not to build shared libraries.
26196 build_libtool_libs=$enable_shared
26198 # Whether or not to build static libraries.
26199 build_old_libs=$enable_static
26201 # Whether or not to add -lc for building shared libraries.
26202 build_libtool_need_lc=$archive_cmds_need_lc_RC
26204 # Whether or not to disallow shared libs when runtime libs are static
26205 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26207 # Whether or not to optimize for fast installation.
26208 fast_install=$enable_fast_install
26211 host_alias=$host_alias
26215 # The build system.
26216 build_alias=$build_alias
26220 # An echo program that does not interpret backslashes.
26225 AR_FLAGS=$lt_AR_FLAGS
26230 # LTCC compiler flags.
26231 LTCFLAGS=$lt_LTCFLAGS
26233 # A language-specific compiler.
26236 # Is the compiler the GNU C compiler?
26242 # The linker used to build libraries.
26245 # Whether we need hard or soft links.
26248 # A BSD-compatible nm program.
26251 # A symbol stripping program
26254 # Used to examine libraries when file_magic_cmd begins "file"
26255 MAGIC_CMD=$MAGIC_CMD
26257 # Used on cygwin: DLL creation program.
26260 # Used on cygwin: object dumper.
26263 # Used on cygwin: assembler.
26266 # The name of the directory that contains temporary libtool files.
26269 # How to create reloadable object files.
26270 reload_flag=$lt_reload_flag
26271 reload_cmds=$lt_reload_cmds
26273 # How to pass a linker flag through the compiler.
26274 wl=$lt_lt_prog_compiler_wl_RC
26276 # Object file suffix (normally "o").
26277 objext="$ac_objext"
26279 # Old archive suffix (normally "a").
26282 # Shared library suffix (normally ".so").
26283 shrext_cmds='$shrext_cmds'
26285 # Executable file suffix (normally "").
26288 # Additional compiler flags for building library objects.
26289 pic_flag=$lt_lt_prog_compiler_pic_RC
26292 # What is the maximum length of a command?
26293 max_cmd_len=$lt_cv_sys_max_cmd_len
26295 # Does compiler simultaneously support -c and -o options?
26296 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26298 # Must we lock files when doing compilation?
26299 need_locks=$lt_need_locks
26301 # Do we need the lib prefix for modules?
26302 need_lib_prefix=$need_lib_prefix
26304 # Do we need a version for libraries?
26305 need_version=$need_version
26307 # Whether dlopen is supported.
26308 dlopen_support=$enable_dlopen
26310 # Whether dlopen of programs is supported.
26311 dlopen_self=$enable_dlopen_self
26313 # Whether dlopen of statically linked programs is supported.
26314 dlopen_self_static=$enable_dlopen_self_static
26316 # Compiler flag to prevent dynamic linking.
26317 link_static_flag=$lt_lt_prog_compiler_static_RC
26319 # Compiler flag to turn off builtin functions.
26320 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26322 # Compiler flag to allow reflexive dlopens.
26323 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26325 # Compiler flag to generate shared objects directly from archives.
26326 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26328 # Compiler flag to generate thread-safe objects.
26329 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26331 # Library versioning type.
26332 version_type=$version_type
26334 # Format of library name prefix.
26335 libname_spec=$lt_libname_spec
26337 # List of archive names. First name is the real one, the rest are links.
26338 # The last name is the one that the linker finds with -lNAME.
26339 library_names_spec=$lt_library_names_spec
26341 # The coded name of the library, if different from the real name.
26342 soname_spec=$lt_soname_spec
26344 # Commands used to build and install an old-style archive.
26346 old_archive_cmds=$lt_old_archive_cmds_RC
26347 old_postinstall_cmds=$lt_old_postinstall_cmds
26348 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26350 # Create an old-style archive from a shared archive.
26351 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26353 # Create a temporary old-style archive to link instead of a shared archive.
26354 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26356 # Commands used to build and install a shared archive.
26357 archive_cmds=$lt_archive_cmds_RC
26358 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26359 postinstall_cmds=$lt_postinstall_cmds
26360 postuninstall_cmds=$lt_postuninstall_cmds
26362 # Commands used to build a loadable module (assumed same as above if empty)
26363 module_cmds=$lt_module_cmds_RC
26364 module_expsym_cmds=$lt_module_expsym_cmds_RC
26366 # Commands to strip libraries.
26367 old_striplib=$lt_old_striplib
26368 striplib=$lt_striplib
26370 # Dependencies to place before the objects being linked to create a
26372 predep_objects=$lt_predep_objects_RC
26374 # Dependencies to place after the objects being linked to create a
26376 postdep_objects=$lt_postdep_objects_RC
26378 # Dependencies to place before the objects being linked to create a
26380 predeps=$lt_predeps_RC
26382 # Dependencies to place after the objects being linked to create a
26384 postdeps=$lt_postdeps_RC
26386 # The library search path used internally by the compiler when linking
26387 # a shared library.
26388 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26390 # Method to check whether dependent libraries are shared objects.
26391 deplibs_check_method=$lt_deplibs_check_method
26393 # Command to use when deplibs_check_method == file_magic.
26394 file_magic_cmd=$lt_file_magic_cmd
26396 # Flag that allows shared libraries with undefined symbols to be built.
26397 allow_undefined_flag=$lt_allow_undefined_flag_RC
26399 # Flag that forces no undefined symbols.
26400 no_undefined_flag=$lt_no_undefined_flag_RC
26402 # Commands used to finish a libtool library installation in a directory.
26403 finish_cmds=$lt_finish_cmds
26405 # Same as above, but a single script fragment to be evaled but not shown.
26406 finish_eval=$lt_finish_eval
26408 # Take the output of nm and produce a listing of raw symbols and C names.
26409 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26411 # Transform the output of nm in a proper C declaration
26412 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26414 # Transform the output of nm in a C name address pair
26415 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26417 # This is the shared library runtime path variable.
26418 runpath_var=$runpath_var
26420 # This is the shared library path variable.
26421 shlibpath_var=$shlibpath_var
26423 # Is shlibpath searched before the hard-coded library search path?
26424 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26426 # How to hardcode a shared library path into an executable.
26427 hardcode_action=$hardcode_action_RC
26429 # Whether we should hardcode library paths into libraries.
26430 hardcode_into_libs=$hardcode_into_libs
26432 # Flag to hardcode \$libdir into a binary during linking.
26433 # This must work even if \$libdir does not exist.
26434 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26436 # If ld is used when linking, flag to hardcode \$libdir into
26437 # a binary during linking. This must work even if \$libdir does
26439 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26441 # Whether we need a single -rpath flag with a separated argument.
26442 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26444 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26445 # resulting binary.
26446 hardcode_direct=$hardcode_direct_RC
26448 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26449 # resulting binary.
26450 hardcode_minus_L=$hardcode_minus_L_RC
26452 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26453 # the resulting binary.
26454 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26456 # Set to yes if building a shared library automatically hardcodes DIR into the library
26457 # and all subsequent libraries and executables linked against it.
26458 hardcode_automatic=$hardcode_automatic_RC
26460 # Variables whose values should be saved in libtool wrapper scripts and
26461 # restored at relink time.
26462 variables_saved_for_relink="$variables_saved_for_relink"
26464 # Whether libtool must link a program against all its dependency libraries.
26465 link_all_deplibs=$link_all_deplibs_RC
26467 # Compile-time system search path for libraries
26468 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26470 # Run-time system search path for libraries
26471 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26473 # Fix the shell variable \$srcfile for the compiler.
26474 fix_srcfile_path="$fix_srcfile_path_RC"
26476 # Set to yes if exported symbols are required.
26477 always_export_symbols=$always_export_symbols_RC
26479 # The commands to list exported symbols.
26480 export_symbols_cmds=$lt_export_symbols_cmds_RC
26482 # The commands to extract the exported symbol list from a shared archive.
26483 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26485 # Symbols that should not be listed in the preloaded symbols.
26486 exclude_expsyms=$lt_exclude_expsyms_RC
26488 # Symbols that must always be exported.
26489 include_expsyms=$lt_include_expsyms_RC
26491 # ### END LIBTOOL TAG CONFIG: $tagname
26497 # If there is no Makefile yet, we rely on a make rule to execute
26498 # `config.status --recheck' to rerun these tests and create the
26499 # libtool script then.
26500 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26501 if test -f "$ltmain_in"; then
26502 test -f Makefile && make "$ltmain"
26508 ac_cpp='$CPP $CPPFLAGS'
26509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26518 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26519 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26520 { (exit 1); exit 1; }; }
26524 # Append the new tag name to the list of available tags.
26525 if test -n "$tagname" ; then
26526 available_tags="$available_tags $tagname"
26532 # Now substitute the updated list of available tags.
26533 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26534 mv "${ofile}T" "$ofile"
26538 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26539 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26540 { (exit 1); exit 1; }; }
26546 # This can be used to rebuild libtool when needed
26547 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
26549 # Always use our own libtool.
26550 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
26552 # Prevent multiple expansion
26576 { echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26577 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6; }
26579 # Check whether --with-vrootdir was given.
26580 if test "${with_vrootdir+set}" = set; then
26581 withval=$with_vrootdir; case "$withval" in
26582 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26583 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26584 { (exit 1); exit 1; }; };;
26585 *) ensc_uv_path_vrootdir=$withval;;
26588 ensc_uv_path_vrootdir=/vservers
26591 { echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26592 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6; }
26594 if test x"vserverdir" != x; then
26595 vserverdir=$ensc_uv_path_vrootdir
26600 for ac_prog in svn2cl
26602 # Extract the first word of "$ac_prog", so it can be a program name with args.
26603 set dummy $ac_prog; ac_word=$2
26604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26606 if test "${ac_cv_prog_SVN2CL+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26609 if test -n "$SVN2CL"; then
26610 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
26612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26613 for as_dir in $PATH
26616 test -z "$as_dir" && as_dir=.
26617 for ac_exec_ext in '' $ac_executable_extensions; do
26618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26619 ac_cv_prog_SVN2CL="$ac_prog"
26620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26629 SVN2CL=$ac_cv_prog_SVN2CL
26630 if test -n "$SVN2CL"; then
26631 { echo "$as_me:$LINENO: result: $SVN2CL" >&5
26632 echo "${ECHO_T}$SVN2CL" >&6; }
26634 { echo "$as_me:$LINENO: result: no" >&5
26635 echo "${ECHO_T}no" >&6; }
26639 test -n "$SVN2CL" && break
26642 if test x"$SVN2CL" != x; then
26644 HAVE_SVN2CL_FALSE='#'
26646 HAVE_SVN2CL_TRUE='#'
26653 { echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26654 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6; }
26655 # Check whether --enable-internal-headers was given.
26656 if test "${enable_internal_headers+set}" = set; then
26657 enableval=$enable_internal_headers; case "$enableval" in
26659 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26660 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26661 { (exit 1); exit 1; }; };;
26664 enable_internal_headers=yes
26668 if test x"$enable_internal_headers" = xyes; then
26669 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26670 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26672 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26673 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26676 { echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26677 echo "${ECHO_T}$enable_internal_headers" >&6; }
26706 { echo "$as_me:$LINENO: checking for supported APIs" >&5
26707 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6; }
26708 # Check whether --enable-apis was given.
26709 if test "${enable_apis+set}" = set; then
26710 enableval=$enable_apis;
26712 enable_apis=v13,net,v21,v22,v23,netv2
26716 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2'
26717 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2'
26718 enable_api_oldproc=
26723 for i in $enable_apis; do
26725 (compat) cat >>confdefs.h <<\_ACEOF
26726 #define VC_ENABLE_API_COMPAT 1
26729 enable_api_oldproc=${enable_api_oldproc:-1}
26730 enable_api_olduts=${enable_api_olduts:-1}
26732 (legacy) cat >>confdefs.h <<\_ACEOF
26733 #define VC_ENABLE_API_LEGACY 1
26736 enable_api_oldproc=${enable_api_oldproc:-1}
26737 enable_api_olduts=${enable_api_olduts:-1}
26739 (v11) cat >>confdefs.h <<\_ACEOF
26740 #define VC_ENABLE_API_V11 1
26743 enable_api_oldproc=${enable_api_oldproc:-1}
26744 enable_api_olduts=${enable_api_olduts:-1}
26746 (fscompat) cat >>confdefs.h <<\_ACEOF
26747 #define VC_ENABLE_API_FSCOMPAT 1
26750 (v13obs) cat >>confdefs.h <<\_ACEOF
26751 #define VC_ENABLE_API_V13OBS 1
26754 cat >>confdefs.h <<\_ACEOF
26755 #define VC_ENABLE_API_V13 1
26758 (v13) cat >>confdefs.h <<\_ACEOF
26759 #define VC_ENABLE_API_V13 1
26762 (net) cat >>confdefs.h <<\_ACEOF
26763 #define VC_ENABLE_API_NET 1
26766 (v21) cat >>confdefs.h <<\_ACEOF
26767 #define VC_ENABLE_API_V21 1
26770 (v22) cat >>confdefs.h <<\_ACEOF
26771 #define VC_ENABLE_API_V22 1
26774 (v23) cat >>confdefs.h <<\_ACEOF
26775 #define VC_ENABLE_API_V23 1
26778 (netv2) cat >>confdefs.h <<\_ACEOF
26779 #define VC_ENABLE_API_NETV2 1
26782 (oldproc) enable_api_oldproc=2;;
26783 (olduts) enable_api_olduts=2;;
26784 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
26785 echo "$as_me: error: '$i' is not a supported API" >&2;}
26786 { (exit 1); exit 1; }; };;
26790 if test x"$enable_api_oldproc" != x; then
26791 cat >>confdefs.h <<\_ACEOF
26792 #define VC_ENABLE_API_OLDPROC 1
26795 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
26797 if test x"$enable_api_olduts" != x; then
26798 cat >>confdefs.h <<\_ACEOF
26799 #define VC_ENABLE_API_OLDUTS 1
26802 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
26804 { echo "$as_me:$LINENO: result: $enable_apis" >&5
26805 echo "${ECHO_T}$enable_apis" >&6; }
26811 ac_cpp='$CXXCPP $CPPFLAGS'
26812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26816 { echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
26817 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6; }
26818 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
26819 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 cat >conftest.$ac_ext <<_ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828 #include <ext2fs/ext2_fs.h>
26829 int main() { return 0; }
26831 rm -f conftest.$ac_objext
26832 if { (ac_try="$ac_compile"
26833 case "(($ac_try" in
26834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26835 *) ac_try_echo=$ac_try;;
26837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26838 (eval "$ac_compile") 2>conftest.er1
26840 grep -v '^ *+' conftest.er1 >conftest.err
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } && {
26845 test -z "$ac_cxx_werror_flag" ||
26846 test ! -s conftest.err
26847 } && test -s conftest.$ac_objext; then
26848 ensc_cv_test_ext2fs_header=e2fsprogs
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26854 cat >conftest.$ac_ext <<_ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 #include <linux/ext2_fs.h>
26861 int main() { return 0; }
26863 rm -f conftest.$ac_objext
26864 if { (ac_try="$ac_compile"
26865 case "(($ac_try" in
26866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26867 *) ac_try_echo=$ac_try;;
26869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26870 (eval "$ac_compile") 2>conftest.er1
26872 grep -v '^ *+' conftest.er1 >conftest.err
26874 cat conftest.err >&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } && {
26877 test -z "$ac_cxx_werror_flag" ||
26878 test ! -s conftest.err
26879 } && test -s conftest.$ac_objext; then
26880 ensc_cv_test_ext2fs_header=kernel
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26886 ensc_cv_test_ext2fs_header=none
26889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26894 { echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26895 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6; }
26897 case x"$ensc_cv_test_ext2fs_header" in
26899 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26900 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26901 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
26902 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26903 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26906 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
26908 # Is the header compilable?
26909 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26910 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6; }
26911 cat >conftest.$ac_ext <<_ACEOF
26914 cat confdefs.h >>conftest.$ac_ext
26915 cat >>conftest.$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26917 $ac_includes_default
26918 #include <ext2fs/ext2_fs.h>
26920 rm -f conftest.$ac_objext
26921 if { (ac_try="$ac_compile"
26922 case "(($ac_try" in
26923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26924 *) ac_try_echo=$ac_try;;
26926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26927 (eval "$ac_compile") 2>conftest.er1
26929 grep -v '^ *+' conftest.er1 >conftest.err
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } && {
26934 test -z "$ac_cxx_werror_flag" ||
26935 test ! -s conftest.err
26936 } && test -s conftest.$ac_objext; then
26937 ac_header_compiler=yes
26939 echo "$as_me: failed program was:" >&5
26940 sed 's/^/| /' conftest.$ac_ext >&5
26942 ac_header_compiler=no
26945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26947 echo "${ECHO_T}$ac_header_compiler" >&6; }
26949 # Is the header present?
26950 { echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26951 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6; }
26952 cat >conftest.$ac_ext <<_ACEOF
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h. */
26958 #include <ext2fs/ext2_fs.h>
26960 if { (ac_try="$ac_cpp conftest.$ac_ext"
26961 case "(($ac_try" in
26962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26963 *) ac_try_echo=$ac_try;;
26965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26968 grep -v '^ *+' conftest.er1 >conftest.err
26970 cat conftest.err >&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } >/dev/null && {
26973 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26974 test ! -s conftest.err
26976 ac_header_preproc=yes
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26981 ac_header_preproc=no
26984 rm -f conftest.err conftest.$ac_ext
26985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26986 echo "${ECHO_T}$ac_header_preproc" >&6; }
26988 # So? What about this header?
26989 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26991 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26992 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26993 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26994 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26995 ac_header_preproc=yes
26998 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26999 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
27000 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
27001 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27002 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
27003 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
27004 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27005 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27006 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
27007 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27008 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
27009 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27011 ## --------------------------------------------- ##
27012 ## Report this to vserver@list.linux-vserver.org ##
27013 ## --------------------------------------------- ##
27015 ) | sed "s/^/$as_me: WARNING: /" >&2
27018 { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
27019 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; }
27020 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
27021 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
27025 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
27026 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; }
27029 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
27031 cat >>confdefs.h <<\_ACEOF
27032 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
27036 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27037 See \`config.log' for more details." >&5
27038 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
27039 See \`config.log' for more details." >&2;}
27040 { (exit 1); exit 1; }; }
27046 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27047 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27048 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27049 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27052 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27053 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27055 # Is the header compilable?
27056 { echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
27057 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6; }
27058 cat >conftest.$ac_ext <<_ACEOF
27061 cat confdefs.h >>conftest.$ac_ext
27062 cat >>conftest.$ac_ext <<_ACEOF
27063 /* end confdefs.h. */
27064 $ac_includes_default
27065 #include <linux/ext2_fs.h>
27067 rm -f conftest.$ac_objext
27068 if { (ac_try="$ac_compile"
27069 case "(($ac_try" in
27070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_compile") 2>conftest.er1
27076 grep -v '^ *+' conftest.er1 >conftest.err
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } && {
27081 test -z "$ac_cxx_werror_flag" ||
27082 test ! -s conftest.err
27083 } && test -s conftest.$ac_objext; then
27084 ac_header_compiler=yes
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27089 ac_header_compiler=no
27092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27093 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27094 echo "${ECHO_T}$ac_header_compiler" >&6; }
27096 # Is the header present?
27097 { echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
27098 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6; }
27099 cat >conftest.$ac_ext <<_ACEOF
27102 cat confdefs.h >>conftest.$ac_ext
27103 cat >>conftest.$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27105 #include <linux/ext2_fs.h>
27107 if { (ac_try="$ac_cpp conftest.$ac_ext"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27115 grep -v '^ *+' conftest.er1 >conftest.err
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } >/dev/null && {
27120 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
27121 test ! -s conftest.err
27123 ac_header_preproc=yes
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27128 ac_header_preproc=no
27131 rm -f conftest.err conftest.$ac_ext
27132 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27133 echo "${ECHO_T}$ac_header_preproc" >&6; }
27135 # So? What about this header?
27136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27138 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
27139 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27140 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
27141 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
27142 ac_header_preproc=yes
27145 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
27146 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
27147 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
27148 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27149 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
27150 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
27151 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27152 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27153 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
27154 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27155 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
27156 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27158 ## --------------------------------------------- ##
27159 ## Report this to vserver@list.linux-vserver.org ##
27160 ## --------------------------------------------- ##
27162 ) | sed "s/^/$as_me: WARNING: /" >&2
27165 { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27166 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; }
27167 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27168 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
27172 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27173 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; }
27176 if test $ac_cv_header_linux_ext2_fs_h = yes; then
27178 cat >>confdefs.h <<\_ACEOF
27179 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
27183 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
27184 See \`config.log' for more details." >&5
27185 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
27186 See \`config.log' for more details." >&2;}
27187 { (exit 1); exit 1; }; }
27193 { { echo "$as_me:$LINENO: error:
27194 ext2fs headers were not found, or they are not usable. This can have
27195 the following reasons:
27197 * you have neither the e2fsprogs nor the kernel headers installed
27199 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27200 and you do not have e2fsprogs headers installed; please try to install
27201 - e2fsprogs-devel (for Red Hat), or
27202 - lib*ext2fs2-devel (for Mandriva), or
27203 - e2fslibs-dev (for Debian)
27206 * kernel headers are broken and your e2fsprogs headers are too old;
27207 until version 1.27 (inclusive), they are using reserved C++ keywords
27209 * kernel headers are broken and your e2fsprogs headers are too new;
27210 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27211 C++, for details and a solution see
27212 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27215 In the latter two cases you have the following options:
27216 * fix the headers manually, or
27217 * install a stable version of e2fsprogs (e.g. 1.34), or
27218 * use good kernel headers (from linux 2.4.x)
27220 See \`config.log' for more details." >&5
27221 echo "$as_me: error:
27222 ext2fs headers were not found, or they are not usable. This can have
27223 the following reasons:
27225 * you have neither the e2fsprogs nor the kernel headers installed
27227 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27228 and you do not have e2fsprogs headers installed; please try to install
27229 - e2fsprogs-devel (for Red Hat), or
27230 - lib*ext2fs2-devel (for Mandriva), or
27231 - e2fslibs-dev (for Debian)
27234 * kernel headers are broken and your e2fsprogs headers are too old;
27235 until version 1.27 (inclusive), they are using reserved C++ keywords
27237 * kernel headers are broken and your e2fsprogs headers are too new;
27238 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27239 C++, for details and a solution see
27240 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27243 In the latter two cases you have the following options:
27244 * fix the headers manually, or
27245 * install a stable version of e2fsprogs (e.g. 1.34), or
27246 * use good kernel headers (from linux 2.4.x)
27248 See \`config.log' for more details." >&2;}
27249 { (exit 1); exit 1; }; }
27253 ac_cpp='$CPP $CPPFLAGS'
27254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27260 for ac_func in vserver
27262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27268 cat >conftest.$ac_ext <<_ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27276 #define $ac_func innocuous_$ac_func
27278 /* System header to define __stub macros and hopefully few prototypes,
27279 which can conflict with char $ac_func (); below.
27280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27281 <limits.h> exists even on freestanding compilers. */
27284 # include <limits.h>
27286 # include <assert.h>
27291 /* Override any GCC internal prototype to avoid an error.
27292 Use char because int might match the return type of a GCC
27293 builtin and then its argument prototype would still apply. */
27298 /* The GNU C library defines this for functions which it implements
27299 to always fail with ENOSYS. Some functions are actually named
27300 something starting with __ and the normal name is an alias. */
27301 #if defined __stub_$ac_func || defined __stub___$ac_func
27308 return $ac_func ();
27313 rm -f conftest.$ac_objext conftest$ac_exeext
27314 if { (ac_try="$ac_link"
27315 case "(($ac_try" in
27316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27317 *) ac_try_echo=$ac_try;;
27319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27320 (eval "$ac_link") 2>conftest.er1
27322 grep -v '^ *+' conftest.er1 >conftest.err
27324 cat conftest.err >&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); } && {
27327 test -z "$ac_c_werror_flag" ||
27328 test ! -s conftest.err
27329 } && test -s conftest$ac_exeext &&
27330 $as_test_x conftest$ac_exeext; then
27331 eval "$as_ac_var=yes"
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27336 eval "$as_ac_var=no"
27339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27340 conftest$ac_exeext conftest.$ac_ext
27342 ac_res=`eval echo '${'$as_ac_var'}'`
27343 { echo "$as_me:$LINENO: result: $ac_res" >&5
27344 echo "${ECHO_T}$ac_res" >&6; }
27345 if test `eval echo '${'$as_ac_var'}'` = yes; then
27346 cat >>confdefs.h <<_ACEOF
27347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27353 { echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27354 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6; }
27355 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27356 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 cat >conftest.$ac_ext <<_ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27364 #include <linux/fs.h>
27377 rm -f conftest.$ac_objext
27378 if { (ac_try="$ac_compile"
27379 case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_compile") 2>conftest.er1
27386 grep -v '^ *+' conftest.er1 >conftest.err
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && {
27391 test -z "$ac_c_werror_flag" ||
27392 test ! -s conftest.err
27393 } && test -s conftest.$ac_objext; then
27394 ac_cv_have_decl_MS_MOVE=yes
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27399 ac_cv_have_decl_MS_MOVE=no
27402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27404 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27405 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6; }
27406 if test $ac_cv_have_decl_MS_MOVE = yes; then
27408 cat >>confdefs.h <<_ACEOF
27409 #define HAVE_DECL_MS_MOVE 1
27414 cat >>confdefs.h <<_ACEOF
27415 #define HAVE_DECL_MS_MOVE 0
27422 { echo "$as_me:$LINENO: checking for xid_t" >&5
27423 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6; }
27424 if test "${ac_cv_type_xid_t+set}" = set; then
27425 echo $ECHO_N "(cached) $ECHO_C" >&6
27427 cat >conftest.$ac_ext <<_ACEOF
27430 cat confdefs.h >>conftest.$ac_ext
27431 cat >>conftest.$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 #include <sys/types.h>
27435 typedef xid_t ac__type_new_;
27439 if ((ac__type_new_ *) 0)
27441 if (sizeof (ac__type_new_))
27447 rm -f conftest.$ac_objext
27448 if { (ac_try="$ac_compile"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_compile") 2>conftest.er1
27456 grep -v '^ *+' conftest.er1 >conftest.err
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && {
27461 test -z "$ac_c_werror_flag" ||
27462 test ! -s conftest.err
27463 } && test -s conftest.$ac_objext; then
27464 ac_cv_type_xid_t=yes
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.$ac_ext >&5
27469 ac_cv_type_xid_t=no
27472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27474 { echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27475 echo "${ECHO_T}$ac_cv_type_xid_t" >&6; }
27476 if test $ac_cv_type_xid_t = yes; then
27478 cat >>confdefs.h <<_ACEOF
27479 #define HAVE_XID_T 1
27485 { echo "$as_me:$LINENO: checking for nid_t" >&5
27486 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6; }
27487 if test "${ac_cv_type_nid_t+set}" = set; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 cat >conftest.$ac_ext <<_ACEOF
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496 #include <sys/types.h>
27498 typedef nid_t ac__type_new_;
27502 if ((ac__type_new_ *) 0)
27504 if (sizeof (ac__type_new_))
27510 rm -f conftest.$ac_objext
27511 if { (ac_try="$ac_compile"
27512 case "(($ac_try" in
27513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_compile") 2>conftest.er1
27519 grep -v '^ *+' conftest.er1 >conftest.err
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } && {
27524 test -z "$ac_c_werror_flag" ||
27525 test ! -s conftest.err
27526 } && test -s conftest.$ac_objext; then
27527 ac_cv_type_nid_t=yes
27529 echo "$as_me: failed program was:" >&5
27530 sed 's/^/| /' conftest.$ac_ext >&5
27532 ac_cv_type_nid_t=no
27535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27537 { echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27538 echo "${ECHO_T}$ac_cv_type_nid_t" >&6; }
27539 if test $ac_cv_type_nid_t = yes; then
27541 cat >>confdefs.h <<_ACEOF
27542 #define HAVE_NID_T 1
27548 { echo "$as_me:$LINENO: checking for tag_t" >&5
27549 echo $ECHO_N "checking for tag_t... $ECHO_C" >&6; }
27550 if test "${ac_cv_type_tag_t+set}" = set; then
27551 echo $ECHO_N "(cached) $ECHO_C" >&6
27553 cat >conftest.$ac_ext <<_ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559 #include <sys/types.h>
27561 typedef tag_t ac__type_new_;
27565 if ((ac__type_new_ *) 0)
27567 if (sizeof (ac__type_new_))
27573 rm -f conftest.$ac_objext
27574 if { (ac_try="$ac_compile"
27575 case "(($ac_try" in
27576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27577 *) ac_try_echo=$ac_try;;
27579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27580 (eval "$ac_compile") 2>conftest.er1
27582 grep -v '^ *+' conftest.er1 >conftest.err
27584 cat conftest.err >&5
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); } && {
27587 test -z "$ac_c_werror_flag" ||
27588 test ! -s conftest.err
27589 } && test -s conftest.$ac_objext; then
27590 ac_cv_type_tag_t=yes
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27595 ac_cv_type_tag_t=no
27598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600 { echo "$as_me:$LINENO: result: $ac_cv_type_tag_t" >&5
27601 echo "${ECHO_T}$ac_cv_type_tag_t" >&6; }
27602 if test $ac_cv_type_tag_t = yes; then
27604 cat >>confdefs.h <<_ACEOF
27605 #define HAVE_TAG_T 1
27613 for ac_header in sys/capability.h
27615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27620 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 ac_res=`eval echo '${'$as_ac_Header'}'`
27623 { echo "$as_me:$LINENO: result: $ac_res" >&5
27624 echo "${ECHO_T}$ac_res" >&6; }
27626 # Is the header compilable?
27627 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
27628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27629 cat >conftest.$ac_ext <<_ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27635 $ac_includes_default
27636 #include <$ac_header>
27638 rm -f conftest.$ac_objext
27639 if { (ac_try="$ac_compile"
27640 case "(($ac_try" in
27641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27642 *) ac_try_echo=$ac_try;;
27644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27645 (eval "$ac_compile") 2>conftest.er1
27647 grep -v '^ *+' conftest.er1 >conftest.err
27649 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } && {
27652 test -z "$ac_c_werror_flag" ||
27653 test ! -s conftest.err
27654 } && test -s conftest.$ac_objext; then
27655 ac_header_compiler=yes
27657 echo "$as_me: failed program was:" >&5
27658 sed 's/^/| /' conftest.$ac_ext >&5
27660 ac_header_compiler=no
27663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27664 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27665 echo "${ECHO_T}$ac_header_compiler" >&6; }
27667 # Is the header present?
27668 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
27669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27670 cat >conftest.$ac_ext <<_ACEOF
27673 cat confdefs.h >>conftest.$ac_ext
27674 cat >>conftest.$ac_ext <<_ACEOF
27675 /* end confdefs.h. */
27676 #include <$ac_header>
27678 if { (ac_try="$ac_cpp conftest.$ac_ext"
27679 case "(($ac_try" in
27680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27681 *) ac_try_echo=$ac_try;;
27683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27686 grep -v '^ *+' conftest.er1 >conftest.err
27688 cat conftest.err >&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } >/dev/null && {
27691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27692 test ! -s conftest.err
27694 ac_header_preproc=yes
27696 echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.$ac_ext >&5
27699 ac_header_preproc=no
27702 rm -f conftest.err conftest.$ac_ext
27703 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27704 echo "${ECHO_T}$ac_header_preproc" >&6; }
27706 # So? What about this header?
27707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27713 ac_header_preproc=yes
27716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27729 ## --------------------------------------------- ##
27730 ## Report this to vserver@list.linux-vserver.org ##
27731 ## --------------------------------------------- ##
27733 ) | sed "s/^/$as_me: WARNING: /" >&2
27736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27739 echo $ECHO_N "(cached) $ECHO_C" >&6
27741 eval "$as_ac_Header=\$ac_header_preproc"
27743 ac_res=`eval echo '${'$as_ac_Header'}'`
27744 { echo "$as_me:$LINENO: result: $ac_res" >&5
27745 echo "${ECHO_T}$ac_res" >&6; }
27748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27749 cat >>confdefs.h <<_ACEOF
27750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27758 if test x"$ensc_have_dietlibc" = xno; then
27759 { echo "$as_me:$LINENO: checking for openpty" >&5
27760 echo $ECHO_N "checking for openpty... $ECHO_C" >&6; }
27761 if test "${ac_cv_func_openpty+set}" = set; then
27762 echo $ECHO_N "(cached) $ECHO_C" >&6
27764 cat >conftest.$ac_ext <<_ACEOF
27767 cat confdefs.h >>conftest.$ac_ext
27768 cat >>conftest.$ac_ext <<_ACEOF
27769 /* end confdefs.h. */
27770 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
27771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27772 #define openpty innocuous_openpty
27774 /* System header to define __stub macros and hopefully few prototypes,
27775 which can conflict with char openpty (); below.
27776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27777 <limits.h> exists even on freestanding compilers. */
27780 # include <limits.h>
27782 # include <assert.h>
27787 /* Override any GCC internal prototype to avoid an error.
27788 Use char because int might match the return type of a GCC
27789 builtin and then its argument prototype would still apply. */
27794 /* The GNU C library defines this for functions which it implements
27795 to always fail with ENOSYS. Some functions are actually named
27796 something starting with __ and the normal name is an alias. */
27797 #if defined __stub_openpty || defined __stub___openpty
27809 rm -f conftest.$ac_objext conftest$ac_exeext
27810 if { (ac_try="$ac_link"
27811 case "(($ac_try" in
27812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27813 *) ac_try_echo=$ac_try;;
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_link") 2>conftest.er1
27818 grep -v '^ *+' conftest.er1 >conftest.err
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && {
27823 test -z "$ac_c_werror_flag" ||
27824 test ! -s conftest.err
27825 } && test -s conftest$ac_exeext &&
27826 $as_test_x conftest$ac_exeext; then
27827 ac_cv_func_openpty=yes
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.$ac_ext >&5
27832 ac_cv_func_openpty=no
27835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27836 conftest$ac_exeext conftest.$ac_ext
27838 { echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
27839 echo "${ECHO_T}$ac_cv_func_openpty" >&6; }
27840 if test $ac_cv_func_openpty = yes; then
27844 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
27845 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
27846 if test "${ac_cv_lib_util_openpty+set}" = set; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 ac_check_lib_save_LIBS=$LIBS
27850 LIBS="-lutil $LIBS"
27851 cat >conftest.$ac_ext <<_ACEOF
27854 cat confdefs.h >>conftest.$ac_ext
27855 cat >>conftest.$ac_ext <<_ACEOF
27856 /* end confdefs.h. */
27858 /* Override any GCC internal prototype to avoid an error.
27859 Use char because int might match the return type of a GCC
27860 builtin and then its argument prototype would still apply. */
27873 rm -f conftest.$ac_objext conftest$ac_exeext
27874 if { (ac_try="$ac_link"
27875 case "(($ac_try" in
27876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27877 *) ac_try_echo=$ac_try;;
27879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27880 (eval "$ac_link") 2>conftest.er1
27882 grep -v '^ *+' conftest.er1 >conftest.err
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } && {
27887 test -z "$ac_c_werror_flag" ||
27888 test ! -s conftest.err
27889 } && test -s conftest$ac_exeext &&
27890 $as_test_x conftest$ac_exeext; then
27891 ac_cv_lib_util_openpty=yes
27893 echo "$as_me: failed program was:" >&5
27894 sed 's/^/| /' conftest.$ac_ext >&5
27896 ac_cv_lib_util_openpty=no
27899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27900 conftest$ac_exeext conftest.$ac_ext
27901 LIBS=$ac_check_lib_save_LIBS
27903 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
27904 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
27905 if test $ac_cv_lib_util_openpty = yes; then
27906 cat >>confdefs.h <<_ACEOF
27907 #define HAVE_LIBUTIL 1
27910 LIBS="-lutil $LIBS"
27913 { { echo "$as_me:$LINENO: error:
27915 **** openpty could not be found
27917 echo "$as_me: error:
27919 **** openpty could not be found
27921 { (exit 1); exit 1; }; }
27929 if test x"$ensc_cv_c99_c99compiler" = xyes; then
27930 ensc_have_beecrypt=yes
27932 if test x"$ensc_have_beecrypt" = xyes; then
27933 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27934 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27935 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
27936 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
27942 # Is the header compilable?
27943 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
27944 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6; }
27945 cat >conftest.$ac_ext <<_ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951 $ac_includes_default
27952 #include <beecrypt/beecrypt.h>
27954 rm -f conftest.$ac_objext
27955 if { (ac_try="$ac_compile"
27956 case "(($ac_try" in
27957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27958 *) ac_try_echo=$ac_try;;
27960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27961 (eval "$ac_compile") 2>conftest.er1
27963 grep -v '^ *+' conftest.er1 >conftest.err
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } && {
27968 test -z "$ac_c_werror_flag" ||
27969 test ! -s conftest.err
27970 } && test -s conftest.$ac_objext; then
27971 ac_header_compiler=yes
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.$ac_ext >&5
27976 ac_header_compiler=no
27979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27980 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27981 echo "${ECHO_T}$ac_header_compiler" >&6; }
27983 # Is the header present?
27984 { echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27985 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6; }
27986 cat >conftest.$ac_ext <<_ACEOF
27989 cat confdefs.h >>conftest.$ac_ext
27990 cat >>conftest.$ac_ext <<_ACEOF
27991 /* end confdefs.h. */
27992 #include <beecrypt/beecrypt.h>
27994 if { (ac_try="$ac_cpp conftest.$ac_ext"
27995 case "(($ac_try" in
27996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27997 *) ac_try_echo=$ac_try;;
27999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28002 grep -v '^ *+' conftest.er1 >conftest.err
28004 cat conftest.err >&5
28005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006 (exit $ac_status); } >/dev/null && {
28007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28008 test ! -s conftest.err
28010 ac_header_preproc=yes
28012 echo "$as_me: failed program was:" >&5
28013 sed 's/^/| /' conftest.$ac_ext >&5
28015 ac_header_preproc=no
28018 rm -f conftest.err conftest.$ac_ext
28019 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28020 echo "${ECHO_T}$ac_header_preproc" >&6; }
28022 # So? What about this header?
28023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28025 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
28026 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28027 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
28028 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
28029 ac_header_preproc=yes
28032 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
28033 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
28034 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
28035 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
28036 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
28037 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
28038 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
28039 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
28040 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
28041 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
28042 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
28043 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
28045 ## --------------------------------------------- ##
28046 ## Report this to vserver@list.linux-vserver.org ##
28047 ## --------------------------------------------- ##
28049 ) | sed "s/^/$as_me: WARNING: /" >&2
28052 { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
28053 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; }
28054 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
28055 echo $ECHO_N "(cached) $ECHO_C" >&6
28057 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
28059 { echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
28060 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; }
28063 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
28066 ensc_have_beecrypt=no
28072 if test x"$ensc_have_beecrypt" = xyes; then
28073 { echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
28074 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6; }
28075 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
28076 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 ac_check_lib_save_LIBS=$LIBS
28079 LIBS="-lbeecrypt $LIBS"
28080 cat >conftest.$ac_ext <<_ACEOF
28083 cat confdefs.h >>conftest.$ac_ext
28084 cat >>conftest.$ac_ext <<_ACEOF
28085 /* end confdefs.h. */
28087 /* Override any GCC internal prototype to avoid an error.
28088 Use char because int might match the return type of a GCC
28089 builtin and then its argument prototype would still apply. */
28093 char hashFunctionContextInit ();
28097 return hashFunctionContextInit ();
28102 rm -f conftest.$ac_objext conftest$ac_exeext
28103 if { (ac_try="$ac_link"
28104 case "(($ac_try" in
28105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28106 *) ac_try_echo=$ac_try;;
28108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28109 (eval "$ac_link") 2>conftest.er1
28111 grep -v '^ *+' conftest.er1 >conftest.err
28113 cat conftest.err >&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } && {
28116 test -z "$ac_c_werror_flag" ||
28117 test ! -s conftest.err
28118 } && test -s conftest$ac_exeext &&
28119 $as_test_x conftest$ac_exeext; then
28120 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
28122 echo "$as_me: failed program was:" >&5
28123 sed 's/^/| /' conftest.$ac_ext >&5
28125 ac_cv_lib_beecrypt_hashFunctionContextInit=no
28128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28129 conftest$ac_exeext conftest.$ac_ext
28130 LIBS=$ac_check_lib_save_LIBS
28132 { echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
28133 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6; }
28134 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
28137 ensc_have_beecrypt=no
28142 if test x"$ensc_have_beecrypt" != xyes; then
28143 { echo "$as_me:$LINENO: WARNING:
28145 **** 'beecrypt' could not be found;
28146 **** this will disable the build of 'vhashify'
28148 echo "$as_me: WARNING:
28150 **** 'beecrypt' could not be found;
28151 **** this will disable the build of 'vhashify'
28155 ensc_have_beecrypt=no
28158 if test x"$ensc_have_beecrypt" = xyes; then
28159 ENSC_HAVE_BEECRYPT_TRUE=
28160 ENSC_HAVE_BEECRYPT_FALSE='#'
28162 ENSC_HAVE_BEECRYPT_TRUE='#'
28163 ENSC_HAVE_BEECRYPT_FALSE=
28167 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
28168 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
28170 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
28171 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
28176 { echo "$as_me:$LINENO: checking for host initscripts" >&5
28177 echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6; }
28179 # Check whether --with-initscripts was given.
28180 if test "${with_initscripts+set}" = set; then
28181 withval=$with_initscripts;
28183 gentoo) ensc_with_init=gentoo;;
28184 sysv) ensc_with_init=sysv;;
28185 *) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
28186 echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
28187 { (exit 1); exit 1; }; };;
28192 if test -e /etc/gentoo-release; then
28193 ensc_with_init=gentoo
28195 ensc_with_init=sysv
28200 { echo "$as_me:$LINENO: result: $ensc_with_init" >&5
28201 echo "${ECHO_T}$ensc_with_init" >&6; }
28202 if test x"$ensc_with_init" = xgentoo; then
28203 HAVE_GENTOO_INIT_TRUE=
28204 HAVE_GENTOO_INIT_FALSE='#'
28206 HAVE_GENTOO_INIT_TRUE='#'
28207 HAVE_GENTOO_INIT_FALSE=
28210 if test x"$ensc_with_init" = xsysv; then
28211 HAVE_SYSV_INIT_TRUE=
28212 HAVE_SYSV_INIT_FALSE='#'
28214 HAVE_SYSV_INIT_TRUE='#'
28215 HAVE_SYSV_INIT_FALSE=
28221 cat >>confdefs.h <<\_ACEOF
28222 #define UTMP_GID 22
28228 cat >>confdefs.h <<\_ACEOF
28229 #define HAVE_GROWING_STACK 1
28235 cat >>confdefs.h <<\_ACEOF
28236 #define _FILE_OFFSET_BITS 64
28240 ensc_cxx_affected=" (affected: vbuild, vcheck)"
28241 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
28242 ensc_diet_msg=" (you have been warned)"
28243 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
28244 ensc_diet_compat_msg=" (using -lcompat)"
28245 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
28246 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
28247 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
28248 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
28249 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
28255 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
28257 cat >confcache <<\_ACEOF
28258 # This file is a shell script that caches the results of configure
28259 # tests run on this system so they can be shared between configure
28260 # scripts and configure runs, see configure's option --config-cache.
28261 # It is not useful on other systems. If it contains results you don't
28262 # want to keep, you may remove or edit it.
28264 # config.status only pays attention to the cache file if you give it
28265 # the --recheck option to rerun configure.
28267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28269 # following values.
28273 # The following way of writing the cache mishandles newlines in values,
28274 # but we know of no workaround that is simple, portable, and efficient.
28275 # So, we kill variables containing newlines.
28276 # Ultrix sh set writes to stderr and can't be redirected directly,
28277 # and sets the high bit in the cache file unless we assign to the vars.
28279 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28280 eval ac_val=\$$ac_var
28284 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28285 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28288 _ | IFS | as_nl) ;; #(
28289 *) $as_unset $ac_var ;;
28295 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28296 *${as_nl}ac_space=\ *)
28297 # `set' does not quote correctly, so add quotes (double-quote
28298 # substitution turns \\\\ into \\, and sed turns \\ into \).
28301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28304 # `set' quotes correctly as required by POSIX, so do not add quotes.
28305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28316 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28318 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28319 if test -w "$cache_file"; then
28320 test "x$cache_file" != "x/dev/null" &&
28321 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28322 echo "$as_me: updating cache $cache_file" >&6;}
28323 cat confcache >$cache_file
28325 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28326 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28331 test "x$prefix" = xNONE && prefix=$ac_default_prefix
28332 # Let make expand exec_prefix.
28333 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28335 DEFS=-DHAVE_CONFIG_H
28339 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28340 # 1. Remove the extension, and $U if already installed.
28341 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28342 ac_i=`echo "$ac_i" | sed "$ac_script"`
28343 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28344 # will be set to the directory where LIBOBJS objects are built.
28345 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28346 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
28348 LIBOBJS=$ac_libobjs
28350 LTLIBOBJS=$ac_ltlibobjs
28353 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28354 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28355 Usually this means the macro was only invoked conditionally." >&5
28356 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28357 Usually this means the macro was only invoked conditionally." >&2;}
28358 { (exit 1); exit 1; }; }
28360 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28361 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28362 Usually this means the macro was only invoked conditionally." >&5
28363 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28364 Usually this means the macro was only invoked conditionally." >&2;}
28365 { (exit 1); exit 1; }; }
28367 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28368 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28369 Usually this means the macro was only invoked conditionally." >&5
28370 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28371 Usually this means the macro was only invoked conditionally." >&2;}
28372 { (exit 1); exit 1; }; }
28374 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28375 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28376 Usually this means the macro was only invoked conditionally." >&5
28377 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28378 Usually this means the macro was only invoked conditionally." >&2;}
28379 { (exit 1); exit 1; }; }
28381 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
28382 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
28383 Usually this means the macro was only invoked conditionally." >&5
28384 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
28385 Usually this means the macro was only invoked conditionally." >&2;}
28386 { (exit 1); exit 1; }; }
28388 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
28389 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28390 Usually this means the macro was only invoked conditionally." >&5
28391 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28392 Usually this means the macro was only invoked conditionally." >&2;}
28393 { (exit 1); exit 1; }; }
28395 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
28396 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
28397 Usually this means the macro was only invoked conditionally." >&5
28398 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
28399 Usually this means the macro was only invoked conditionally." >&2;}
28400 { (exit 1); exit 1; }; }
28402 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
28403 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
28404 Usually this means the macro was only invoked conditionally." >&5
28405 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
28406 Usually this means the macro was only invoked conditionally." >&2;}
28407 { (exit 1); exit 1; }; }
28409 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28410 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28411 Usually this means the macro was only invoked conditionally." >&5
28412 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28413 Usually this means the macro was only invoked conditionally." >&2;}
28414 { (exit 1); exit 1; }; }
28416 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28417 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28418 Usually this means the macro was only invoked conditionally." >&5
28419 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28420 Usually this means the macro was only invoked conditionally." >&2;}
28421 { (exit 1); exit 1; }; }
28423 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28424 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28425 Usually this means the macro was only invoked conditionally." >&5
28426 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28427 Usually this means the macro was only invoked conditionally." >&2;}
28428 { (exit 1); exit 1; }; }
28430 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28431 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28432 Usually this means the macro was only invoked conditionally." >&5
28433 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28434 Usually this means the macro was only invoked conditionally." >&2;}
28435 { (exit 1); exit 1; }; }
28437 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28438 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28439 Usually this means the macro was only invoked conditionally." >&5
28440 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28441 Usually this means the macro was only invoked conditionally." >&2;}
28442 { (exit 1); exit 1; }; }
28444 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28445 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28446 Usually this means the macro was only invoked conditionally." >&5
28447 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28448 Usually this means the macro was only invoked conditionally." >&2;}
28449 { (exit 1); exit 1; }; }
28451 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28452 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28453 Usually this means the macro was only invoked conditionally." >&5
28454 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28455 Usually this means the macro was only invoked conditionally." >&2;}
28456 { (exit 1); exit 1; }; }
28458 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
28459 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28460 Usually this means the macro was only invoked conditionally." >&5
28461 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28462 Usually this means the macro was only invoked conditionally." >&2;}
28463 { (exit 1); exit 1; }; }
28465 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
28466 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28467 Usually this means the macro was only invoked conditionally." >&5
28468 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28469 Usually this means the macro was only invoked conditionally." >&2;}
28470 { (exit 1); exit 1; }; }
28472 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
28473 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
28474 Usually this means the macro was only invoked conditionally." >&5
28475 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
28476 Usually this means the macro was only invoked conditionally." >&2;}
28477 { (exit 1); exit 1; }; }
28479 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
28480 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28481 Usually this means the macro was only invoked conditionally." >&5
28482 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28483 Usually this means the macro was only invoked conditionally." >&2;}
28484 { (exit 1); exit 1; }; }
28486 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
28487 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28488 Usually this means the macro was only invoked conditionally." >&5
28489 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28490 Usually this means the macro was only invoked conditionally." >&2;}
28491 { (exit 1); exit 1; }; }
28493 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
28494 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28495 Usually this means the macro was only invoked conditionally." >&5
28496 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28497 Usually this means the macro was only invoked conditionally." >&2;}
28498 { (exit 1); exit 1; }; }
28500 if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then
28501 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
28502 Usually this means the macro was only invoked conditionally." >&5
28503 echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
28504 Usually this means the macro was only invoked conditionally." >&2;}
28505 { (exit 1); exit 1; }; }
28507 if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then
28508 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined.
28509 Usually this means the macro was only invoked conditionally." >&5
28510 echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined.
28511 Usually this means the macro was only invoked conditionally." >&2;}
28512 { (exit 1); exit 1; }; }
28517 CC: $CC, $($CC --version | sed -e '1p;d')
28518 CXX: $CXX, $($CXX --version | sed -e '1p;d')
28519 CPPFLAGS: '$CPPFLAGS'
28521 CXXFLAGS: '$CXXFLAGS'
28522 build/host: $build/$host
28523 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
28524 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
28525 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
28526 Available APIs: $enable_apis
28527 ext2fs Source: $ensc_cv_test_ext2fs_header
28528 syscall(2) invocation: $with_syscall
28529 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
28533 sysconf-Directory: $sysconfdir
28534 cfg-Directory: $sysconfdir/vservers
28535 initrd-Directory: $initrddir
28536 pkgstate-Directory: $localstatedir/run/vservers
28537 vserver-Rootdir: $vserverdir
28539 echo "$FEATURES_TXT" >FEATURES.txt
28542 : ${CONFIG_STATUS=./config.status}
28543 ac_clean_files_save=$ac_clean_files
28544 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28545 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28546 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28547 cat >$CONFIG_STATUS <<_ACEOF
28549 # Generated by $as_me.
28550 # Run this file to recreate the current configuration.
28551 # Compiler output produced by configure, useful for debugging
28552 # configure, is in config.log if it exists.
28555 ac_cs_recheck=false
28557 SHELL=\${CONFIG_SHELL-$SHELL}
28560 cat >>$CONFIG_STATUS <<\_ACEOF
28561 ## --------------------- ##
28562 ## M4sh Initialization. ##
28563 ## --------------------- ##
28565 # Be more Bourne compatible
28566 DUALCASE=1; export DUALCASE # for MKS sh
28567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28570 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28571 # is contrary to our usage. Disable this feature.
28572 alias -g '${1+"$@"}'='"$@"'
28573 setopt NO_GLOB_SUBST
28575 case `(set -o) 2>/dev/null` in
28576 *posix*) set -o posix ;;
28585 # Avoid depending upon Character Ranges.
28586 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28587 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28588 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28589 as_cr_digits='0123456789'
28590 as_cr_alnum=$as_cr_Letters$as_cr_digits
28592 # The user is always right.
28593 if test "${PATH_SEPARATOR+set}" != set; then
28594 echo "#! /bin/sh" >conf$$.sh
28595 echo "exit 0" >>conf$$.sh
28597 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28605 # Support unset when possible.
28606 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28614 # We need space, tab and new line, in precisely that order. Quoting is
28615 # there to prevent editors from complaining about space-tab.
28616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
28617 # splitting by setting IFS to empty value.)
28622 # Find who we are. Look in the path if we contain no directory separator.
28624 *[\\/]* ) as_myself=$0 ;;
28625 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28626 for as_dir in $PATH
28629 test -z "$as_dir" && as_dir=.
28630 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28636 # We did not find ourselves, most probably we were run as `sh COMMAND'
28637 # in which case we are not to be found in the path.
28638 if test "x$as_myself" = x; then
28641 if test ! -f "$as_myself"; then
28642 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28643 { (exit 1); exit 1; }
28646 # Work around bugs in pre-3.0 UWIN ksh.
28647 for as_var in ENV MAIL MAILPATH
28648 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28656 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28657 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28658 LC_TELEPHONE LC_TIME
28660 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28661 eval $as_var=C; export $as_var
28663 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28667 # Required to use basename.
28668 if expr a : '\(a\)' >/dev/null 2>&1 &&
28669 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28675 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28676 as_basename=basename
28682 # Name of the executable.
28683 as_me=`$as_basename -- "$0" ||
28684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28685 X"$0" : 'X\(//\)$' \| \
28686 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28688 sed '/^.*\/\([^/][^/]*\)\/*$/{
28707 as_lineno_1=$LINENO
28708 as_lineno_2=$LINENO
28709 test "x$as_lineno_1" != "x$as_lineno_2" &&
28710 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
28712 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28713 # uniformly replaced by the line number. The first 'sed' inserts a
28714 # line-number line after each line using $LINENO; the second 'sed'
28715 # does the real work. The second script uses 'N' to pair each
28716 # line-number line with the line containing $LINENO, and appends
28717 # trailing '-' during substitution so that $LINENO is not a special
28718 # case at line end.
28719 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28720 # scripts with optimization help from Paolo Bonzini. Blame Lee
28721 # E. McMahon (1931-1989) for sed's syntax. :-)
28733 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
28736 ' >$as_me.lineno &&
28737 chmod +x "$as_me.lineno" ||
28738 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
28739 { (exit 1); exit 1; }; }
28741 # Don't try to exec as it changes $[0], causing all sort of problems
28742 # (the dirname of $[0] is not the place where we might find the
28743 # original and so on. Autoconf is especially sensitive to this).
28744 . "./$as_me.lineno"
28745 # Exit status is that of the last command.
28750 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28756 ECHO_C= ECHO_N= ECHO_T=
28757 case `echo -n x` in
28759 case `echo 'x\c'` in
28760 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
28767 if expr a : '\(a\)' >/dev/null 2>&1 &&
28768 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28774 rm -f conf$$ conf$$.exe conf$$.file
28775 if test -d conf$$.dir; then
28776 rm -f conf$$.dir/conf$$.file
28782 if ln -s conf$$.file conf$$ 2>/dev/null; then
28784 # ... but there are two gotchas:
28785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28787 # In both cases, we have to default to `cp -p'.
28788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28790 elif ln conf$$.file conf$$ 2>/dev/null; then
28795 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28796 rmdir conf$$.dir 2>/dev/null
28798 if mkdir -p . 2>/dev/null; then
28801 test -d ./-p && rmdir ./-p
28805 if test -x / >/dev/null 2>&1; then
28806 as_test_x='test -x'
28808 if ls -dL / >/dev/null 2>&1; then
28815 if test -d "$1"; then
28821 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
28822 ???[sx]*):;;*)false;;esac;fi
28826 as_executable_p=$as_test_x
28828 # Sed expression to map a string onto a valid CPP name.
28829 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28831 # Sed expression to map a string onto a valid variable name.
28832 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28837 # Save the log message, to keep $[0] and so on meaningful, and to
28838 # report actual input values of CONFIG_FILES etc. instead of their
28839 # values after options handling.
28841 This file was extended by util-vserver $as_me 0.30.214, which was
28842 generated by GNU Autoconf 2.61. Invocation command line was
28844 CONFIG_FILES = $CONFIG_FILES
28845 CONFIG_HEADERS = $CONFIG_HEADERS
28846 CONFIG_LINKS = $CONFIG_LINKS
28847 CONFIG_COMMANDS = $CONFIG_COMMANDS
28850 on `(hostname || uname -n) 2>/dev/null | sed 1q`
28855 cat >>$CONFIG_STATUS <<_ACEOF
28856 # Files that config.status was made for.
28857 config_files="$ac_config_files"
28858 config_headers="$ac_config_headers"
28859 config_commands="$ac_config_commands"
28863 cat >>$CONFIG_STATUS <<\_ACEOF
28865 \`$as_me' instantiates files from templates according to the
28866 current configuration.
28868 Usage: $0 [OPTIONS] [FILE]...
28870 -h, --help print this help, then exit
28871 -V, --version print version number and configuration settings, then exit
28872 -q, --quiet do not print progress messages
28873 -d, --debug don't remove temporary files
28874 --recheck update $as_me by reconfiguring in the same conditions
28875 --file=FILE[:TEMPLATE]
28876 instantiate the configuration file FILE
28877 --header=FILE[:TEMPLATE]
28878 instantiate the configuration header FILE
28880 Configuration files:
28883 Configuration headers:
28886 Configuration commands:
28889 Report bugs to <bug-autoconf@gnu.org>."
28892 cat >>$CONFIG_STATUS <<_ACEOF
28894 util-vserver config.status 0.30.214
28895 configured by $0, generated by GNU Autoconf 2.61,
28896 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28898 Copyright (C) 2006 Free Software Foundation, Inc.
28899 This config.status script is free software; the Free Software Foundation
28900 gives unlimited permission to copy, distribute and modify it."
28908 cat >>$CONFIG_STATUS <<\_ACEOF
28909 # If no file are specified by the user, then we need to provide default
28910 # value. By we need to know if files were specified by the user.
28916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
28917 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28928 # Handling of the options.
28929 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28931 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28932 echo "$ac_cs_version"; exit ;;
28933 --debug | --debu | --deb | --de | --d | -d )
28935 --file | --fil | --fi | --f )
28937 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28938 ac_need_defaults=false;;
28939 --header | --heade | --head | --hea )
28941 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28942 ac_need_defaults=false;;
28944 # Conflict between --help and --header
28945 { echo "$as_me: error: ambiguous option: $1
28946 Try \`$0 --help' for more information." >&2
28947 { (exit 1); exit 1; }; };;
28948 --help | --hel | -h )
28949 echo "$ac_cs_usage"; exit ;;
28950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28951 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28954 # This is an error.
28955 -*) { echo "$as_me: error: unrecognized option: $1
28956 Try \`$0 --help' for more information." >&2
28957 { (exit 1); exit 1; }; } ;;
28959 *) ac_config_targets="$ac_config_targets $1"
28960 ac_need_defaults=false ;;
28966 ac_configure_extra_args=
28968 if $ac_cs_silent; then
28970 ac_configure_extra_args="$ac_configure_extra_args --silent"
28974 cat >>$CONFIG_STATUS <<_ACEOF
28975 if \$ac_cs_recheck; then
28976 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28977 CONFIG_SHELL=$SHELL
28978 export CONFIG_SHELL
28979 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28983 cat >>$CONFIG_STATUS <<\_ACEOF
28987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28988 ## Running $as_me. ##
28994 cat >>$CONFIG_STATUS <<_ACEOF
28998 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29002 cat >>$CONFIG_STATUS <<\_ACEOF
29004 # Handling of arguments.
29005 for ac_config_target in $ac_config_targets
29007 case $ac_config_target in
29008 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29009 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29010 "util-vserver.spec") CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
29011 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29012 "distrib/Makefile") CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
29013 "lib/apidoc/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
29015 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29016 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29017 { (exit 1); exit 1; }; };;
29022 # If the user did not use the arguments to specify the items to instantiate,
29023 # then the envvar interface is used. Set only those that are not.
29024 # We use the long form for the default assignment because of an extremely
29025 # bizarre bug on SunOS 4.1.3.
29026 if $ac_need_defaults; then
29027 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
29028 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
29029 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
29032 # Have a temporary directory for convenience. Make it in the build tree
29033 # simply because there is no reason against having it here, and in addition,
29034 # creating and moving files from /tmp can sometimes cause problems.
29035 # Hook for its removal unless debugging.
29036 # Note that there is a small window in which the directory will not be cleaned:
29037 # after its creation but before its name has been assigned to `$tmp'.
29041 trap 'exit_status=$?
29042 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29044 trap '{ (exit 1); exit 1; }' 1 2 13 15
29046 # Create a (secure) tmp directory for tmp files.
29049 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29050 test -n "$tmp" && test -d "$tmp"
29053 tmp=./conf$$-$RANDOM
29054 (umask 077 && mkdir "$tmp")
29057 echo "$me: cannot create a temporary directory in ." >&2
29058 { (exit 1); exit 1; }
29062 # Set up the sed scripts for CONFIG_FILES section.
29065 # No need to generate the scripts if there are no CONFIG_FILES.
29066 # This happens for instance when ./config.status config.h
29067 if test -n "$CONFIG_FILES"; then
29074 for ac_last_try in false false false false false :; do
29075 cat >conf$$subs.sed <<_ACEOF
29076 SHELL!$SHELL$ac_delim
29077 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29078 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29079 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29080 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29081 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29082 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29083 exec_prefix!$exec_prefix$ac_delim
29084 prefix!$prefix$ac_delim
29085 program_transform_name!$program_transform_name$ac_delim
29086 bindir!$bindir$ac_delim
29087 sbindir!$sbindir$ac_delim
29088 libexecdir!$libexecdir$ac_delim
29089 datarootdir!$datarootdir$ac_delim
29090 datadir!$datadir$ac_delim
29091 sysconfdir!$sysconfdir$ac_delim
29092 sharedstatedir!$sharedstatedir$ac_delim
29093 localstatedir!$localstatedir$ac_delim
29094 includedir!$includedir$ac_delim
29095 oldincludedir!$oldincludedir$ac_delim
29096 docdir!$docdir$ac_delim
29097 infodir!$infodir$ac_delim
29098 htmldir!$htmldir$ac_delim
29099 dvidir!$dvidir$ac_delim
29100 pdfdir!$pdfdir$ac_delim
29101 psdir!$psdir$ac_delim
29102 libdir!$libdir$ac_delim
29103 localedir!$localedir$ac_delim
29104 mandir!$mandir$ac_delim
29105 DEFS!$DEFS$ac_delim
29106 ECHO_C!$ECHO_C$ac_delim
29107 ECHO_N!$ECHO_N$ac_delim
29108 ECHO_T!$ECHO_T$ac_delim
29109 LIBS!$LIBS$ac_delim
29110 build_alias!$build_alias$ac_delim
29111 host_alias!$host_alias$ac_delim
29112 target_alias!$target_alias$ac_delim
29113 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29114 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29115 INSTALL_DATA!$INSTALL_DATA$ac_delim
29116 am__isrc!$am__isrc$ac_delim
29117 CYGPATH_W!$CYGPATH_W$ac_delim
29118 PACKAGE!$PACKAGE$ac_delim
29119 VERSION!$VERSION$ac_delim
29120 ACLOCAL!$ACLOCAL$ac_delim
29121 AUTOCONF!$AUTOCONF$ac_delim
29122 AUTOMAKE!$AUTOMAKE$ac_delim
29123 AUTOHEADER!$AUTOHEADER$ac_delim
29124 MAKEINFO!$MAKEINFO$ac_delim
29125 install_sh!$install_sh$ac_delim
29126 STRIP!$STRIP$ac_delim
29127 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29128 mkdir_p!$mkdir_p$ac_delim
29130 SET_MAKE!$SET_MAKE$ac_delim
29131 am__leading_dot!$am__leading_dot$ac_delim
29132 AMTAR!$AMTAR$ac_delim
29133 am__tar!$am__tar$ac_delim
29134 am__untar!$am__untar$ac_delim
29135 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
29136 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
29137 MAINT!$MAINT$ac_delim
29138 build!$build$ac_delim
29139 build_cpu!$build_cpu$ac_delim
29140 build_vendor!$build_vendor$ac_delim
29141 build_os!$build_os$ac_delim
29142 host!$host$ac_delim
29143 host_cpu!$host_cpu$ac_delim
29144 host_vendor!$host_vendor$ac_delim
29145 host_os!$host_os$ac_delim
29146 GPG_KEY!$GPG_KEY$ac_delim
29148 CXXFLAGS!$CXXFLAGS$ac_delim
29149 LDFLAGS!$LDFLAGS$ac_delim
29150 CPPFLAGS!$CPPFLAGS$ac_delim
29151 ac_ct_CXX!$ac_ct_CXX$ac_delim
29152 EXEEXT!$EXEEXT$ac_delim
29153 OBJEXT!$OBJEXT$ac_delim
29154 DEPDIR!$DEPDIR$ac_delim
29155 am__include!$am__include$ac_delim
29156 am__quote!$am__quote$ac_delim
29157 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29158 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29159 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29160 CXXDEPMODE!$CXXDEPMODE$ac_delim
29161 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29162 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29164 CFLAGS!$CFLAGS$ac_delim
29165 ac_ct_CC!$ac_ct_CC$ac_delim
29166 CCDEPMODE!$CCDEPMODE$ac_delim
29167 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29168 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29169 LN_S!$LN_S$ac_delim
29170 ENSC_HAVE_CXX_COMPILER_TRUE!$ENSC_HAVE_CXX_COMPILER_TRUE$ac_delim
29171 ENSC_HAVE_CXX_COMPILER_FALSE!$ENSC_HAVE_CXX_COMPILER_FALSE$ac_delim
29172 ENSC_HAVE_C99_COMPILER_TRUE!$ENSC_HAVE_C99_COMPILER_TRUE$ac_delim
29175 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29177 elif $ac_last_try; then
29178 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29179 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29180 { (exit 1); exit 1; }; }
29182 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29186 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29187 if test -n "$ac_eof"; then
29188 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29189 ac_eof=`expr $ac_eof + 1`
29192 cat >>$CONFIG_STATUS <<_ACEOF
29193 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29197 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29198 s/^/s,@/; s/!/@,|#_!!_#|/
29201 s/'"$ac_delim"'$/,g/; t
29203 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29204 ' >>$CONFIG_STATUS <conf$$subs.sed
29205 rm -f conf$$subs.sed
29206 cat >>$CONFIG_STATUS <<_ACEOF
29212 for ac_last_try in false false false false false :; do
29213 cat >conf$$subs.sed <<_ACEOF
29214 ENSC_HAVE_C99_COMPILER_FALSE!$ENSC_HAVE_C99_COMPILER_FALSE$ac_delim
29215 ENSC_PATHPROG_SED!$ENSC_PATHPROG_SED$ac_delim
29217 CHOWN!$CHOWN$ac_delim
29220 DIRNAME!$DIRNAME$ac_delim
29221 EGREP!$EGREP$ac_delim
29223 GREP!$GREP$ac_delim
29225 MKDIR!$MKDIR$ac_delim
29226 MKFIFO!$MKFIFO$ac_delim
29227 MKTEMP!$MKTEMP$ac_delim
29228 MOUNT!$MOUNT$ac_delim
29230 NICE!$NICE$ac_delim
29233 RMDIR!$RMDIR$ac_delim
29238 TOUCH!$TOUCH$ac_delim
29240 UMOUNT!$UMOUNT$ac_delim
29243 IPTABLES!$IPTABLES$ac_delim
29244 MODPROBE!$MODPROBE$ac_delim
29245 NAMEIF!$NAMEIF$ac_delim
29246 NOHUP!$NOHUP$ac_delim
29247 RMMOD!$RMMOD$ac_delim
29248 VCONFIG!$VCONFIG$ac_delim
29249 WGET!$WGET$ac_delim
29250 FILE!$FILE$ac_delim
29251 GZIP!$GZIP$ac_delim
29252 BZIP2!$BZIP2$ac_delim
29253 CPIO!$CPIO$ac_delim
29254 RESTORE!$RESTORE$ac_delim
29255 RSYNC!$RSYNC$ac_delim
29256 STRACE!$STRACE$ac_delim
29257 DOXYGEN!$DOXYGEN$ac_delim
29258 XSLTP!$XSLTP$ac_delim
29259 XSLTPROC!$XSLTPROC$ac_delim
29260 HAVE_XSLTP_TRUE!$HAVE_XSLTP_TRUE$ac_delim
29261 HAVE_XSLTP_FALSE!$HAVE_XSLTP_FALSE$ac_delim
29262 HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim
29263 HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim
29264 LIB_DEBUG_CPPFLAGS!$LIB_DEBUG_CPPFLAGS$ac_delim
29265 ENSC_USE_EXPENSIVE_TESTS!$ENSC_USE_EXPENSIVE_TESTS$ac_delim
29266 initrddir!$initrddir$ac_delim
29267 RELEASE_CPPFLAGS!$RELEASE_CPPFLAGS$ac_delim
29269 DIET!$DIET$ac_delim
29270 DIETFLAGS!$DIETFLAGS$ac_delim
29271 USE_DIETLIBC_TRUE!$USE_DIETLIBC_TRUE$ac_delim
29272 USE_DIETLIBC_FALSE!$USE_DIETLIBC_FALSE$ac_delim
29273 USE_DIETLIBC_COMPAT_TRUE!$USE_DIETLIBC_COMPAT_TRUE$ac_delim
29274 USE_DIETLIBC_COMPAT_FALSE!$USE_DIETLIBC_COMPAT_FALSE$ac_delim
29275 ENSC_USE_DIETLIBC_TRUE!$ENSC_USE_DIETLIBC_TRUE$ac_delim
29276 ENSC_USE_DIETLIBC_FALSE!$ENSC_USE_DIETLIBC_FALSE$ac_delim
29277 ENSC_USE_GLIBC_TRUE!$ENSC_USE_GLIBC_TRUE$ac_delim
29278 ENSC_USE_GLIBC_FALSE!$ENSC_USE_GLIBC_FALSE$ac_delim
29279 ECHO!$ECHO$ac_delim
29281 RANLIB!$RANLIB$ac_delim
29282 CXXCPP!$CXXCPP$ac_delim
29284 FFLAGS!$FFLAGS$ac_delim
29285 ac_ct_F77!$ac_ct_F77$ac_delim
29286 LIBTOOL!$LIBTOOL$ac_delim
29287 vserverdir!$vserverdir$ac_delim
29288 SVN2CL!$SVN2CL$ac_delim
29289 HAVE_SVN2CL_TRUE!$HAVE_SVN2CL_TRUE$ac_delim
29290 HAVE_SVN2CL_FALSE!$HAVE_SVN2CL_FALSE$ac_delim
29291 ENSC_ENABLE_INTERNAL_HEADERS_TRUE!$ENSC_ENABLE_INTERNAL_HEADERS_TRUE$ac_delim
29292 ENSC_ENABLE_INTERNAL_HEADERS_FALSE!$ENSC_ENABLE_INTERNAL_HEADERS_FALSE$ac_delim
29293 ENSC_HAVE_BEECRYPT_TRUE!$ENSC_HAVE_BEECRYPT_TRUE$ac_delim
29294 ENSC_HAVE_BEECRYPT_FALSE!$ENSC_HAVE_BEECRYPT_FALSE$ac_delim
29295 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE$ac_delim
29296 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE$ac_delim
29297 HAVE_GENTOO_INIT_TRUE!$HAVE_GENTOO_INIT_TRUE$ac_delim
29298 HAVE_GENTOO_INIT_FALSE!$HAVE_GENTOO_INIT_FALSE$ac_delim
29299 HAVE_SYSV_INIT_TRUE!$HAVE_SYSV_INIT_TRUE$ac_delim
29300 HAVE_SYSV_INIT_FALSE!$HAVE_SYSV_INIT_FALSE$ac_delim
29301 LIBOBJS!$LIBOBJS$ac_delim
29302 LTLIBOBJS!$LTLIBOBJS$ac_delim
29305 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
29307 elif $ac_last_try; then
29308 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29309 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29310 { (exit 1); exit 1; }; }
29312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29316 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29317 if test -n "$ac_eof"; then
29318 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29319 ac_eof=`expr $ac_eof + 1`
29322 cat >>$CONFIG_STATUS <<_ACEOF
29323 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
29324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
29327 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29328 s/^/s,@/; s/!/@,|#_!!_#|/
29331 s/'"$ac_delim"'$/,g/; t
29333 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29334 ' >>$CONFIG_STATUS <conf$$subs.sed
29335 rm -f conf$$subs.sed
29336 cat >>$CONFIG_STATUS <<_ACEOF
29343 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29344 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29345 # trailing colons and then remove the whole line if VPATH becomes empty
29346 # (actually we leave an empty line to preserve line numbers).
29347 if test "x$srcdir" = x.; then
29348 ac_vpsub='/^[ ]*VPATH[ ]*=/{
29349 s/:*\$(srcdir):*/:/
29350 s/:*\${srcdir}:*/:/
29352 s/^\([^=]*=[ ]*\):*/\1/
29358 cat >>$CONFIG_STATUS <<\_ACEOF
29359 fi # test -n "$CONFIG_FILES"
29362 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
29365 :[FHLC]) ac_mode=$ac_tag; continue;;
29367 case $ac_mode$ac_tag in
29369 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
29370 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
29371 { (exit 1); exit 1; }; };;
29372 :[FH]-) ac_tag=-:-;;
29373 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29390 -) ac_f="$tmp/stdin";;
29391 *) # Look for the file first in the build tree, then in the source tree
29392 # (if the path is not absolute). The absolute path cannot be DOS-style,
29393 # because $ac_f cannot contain `:'.
29397 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29399 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29400 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29401 { (exit 1); exit 1; }; };;
29403 ac_file_inputs="$ac_file_inputs $ac_f"
29406 # Let's still pretend it is `configure' which instantiates (i.e., don't
29407 # use $as_me), people would be surprised to read:
29408 # /* config.h. Generated by config.status. */
29409 configure_input="Generated from "`IFS=:
29410 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29411 if test x"$ac_file" != x-; then
29412 configure_input="$ac_file. $configure_input"
29413 { echo "$as_me:$LINENO: creating $ac_file" >&5
29414 echo "$as_me: creating $ac_file" >&6;}
29418 *:-:* | *:-) cat >"$tmp/stdin";;
29423 ac_dir=`$as_dirname -- "$ac_file" ||
29424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29425 X"$ac_file" : 'X\(//\)[^/]' \| \
29426 X"$ac_file" : 'X\(//\)$' \| \
29427 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29433 /^X\(\/\/\)[^/].*/{
29448 -*) as_dir=./$as_dir;;
29450 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29454 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29455 *) as_qdir=$as_dir;;
29457 as_dirs="'$as_qdir' $as_dirs"
29458 as_dir=`$as_dirname -- "$as_dir" ||
29459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29460 X"$as_dir" : 'X\(//\)[^/]' \| \
29461 X"$as_dir" : 'X\(//\)$' \| \
29462 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29468 /^X\(\/\/\)[^/].*/{
29481 test -d "$as_dir" && break
29483 test -z "$as_dirs" || eval "mkdir $as_dirs"
29484 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29485 echo "$as_me: error: cannot create directory $as_dir" >&2;}
29486 { (exit 1); exit 1; }; }; }
29490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29492 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29493 # A ".." for each directory in $ac_dir_suffix.
29494 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
29495 case $ac_top_builddir_sub in
29496 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29497 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29500 ac_abs_top_builddir=$ac_pwd
29501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
29502 # for backward compatibility:
29503 ac_top_builddir=$ac_top_build_prefix
29506 .) # We are building in place.
29508 ac_top_srcdir=$ac_top_builddir_sub
29509 ac_abs_top_srcdir=$ac_pwd ;;
29510 [\\/]* | ?:[\\/]* ) # Absolute name.
29511 ac_srcdir=$srcdir$ac_dir_suffix;
29512 ac_top_srcdir=$srcdir
29513 ac_abs_top_srcdir=$srcdir ;;
29514 *) # Relative name.
29515 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29516 ac_top_srcdir=$ac_top_build_prefix$srcdir
29517 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29529 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29530 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29532 ac_MKDIR_P=$MKDIR_P
29534 [\\/$]* | ?:[\\/]* ) ;;
29535 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29539 cat >>$CONFIG_STATUS <<\_ACEOF
29540 # If the template does not know about datarootdir, expand it.
29541 # FIXME: This hack should be removed a few years after 2.60.
29542 ac_datarootdir_hack=; ac_datarootdir_seen=
29544 case `sed -n '/datarootdir/ {
29553 ' $ac_file_inputs` in
29554 *datarootdir*) ac_datarootdir_seen=yes;;
29555 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29556 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29557 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29559 cat >>$CONFIG_STATUS <<_ACEOF
29560 ac_datarootdir_hack='
29561 s&@datadir@&$datadir&g
29562 s&@docdir@&$docdir&g
29563 s&@infodir@&$infodir&g
29564 s&@localedir@&$localedir&g
29565 s&@mandir@&$mandir&g
29566 s&\\\${datarootdir}&$datarootdir&g' ;;
29570 # Neutralize VPATH when `$srcdir' = `.'.
29571 # Shell code in configure.ac might set extrasub.
29572 # FIXME: do we really want to maintain this feature?
29573 cat >>$CONFIG_STATUS <<_ACEOF
29577 cat >>$CONFIG_STATUS <<\_ACEOF
29579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29580 s&@configure_input@&$configure_input&;t t
29581 s&@top_builddir@&$ac_top_builddir_sub&;t t
29582 s&@srcdir@&$ac_srcdir&;t t
29583 s&@abs_srcdir@&$ac_abs_srcdir&;t t
29584 s&@top_srcdir@&$ac_top_srcdir&;t t
29585 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29586 s&@builddir@&$ac_builddir&;t t
29587 s&@abs_builddir@&$ac_abs_builddir&;t t
29588 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29589 s&@INSTALL@&$ac_INSTALL&;t t
29590 s&@MKDIR_P@&$ac_MKDIR_P&;t t
29591 $ac_datarootdir_hack
29592 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
29594 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29595 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
29596 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29597 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29598 which seems to be undefined. Please make sure it is defined." >&5
29599 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29600 which seems to be undefined. Please make sure it is defined." >&2;}
29604 -) cat "$tmp/out"; rm -f "$tmp/out";;
29605 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
29614 # Transform confdefs.h into a sed script `conftest.defines', that
29615 # substitutes the proper values into config.h.in to produce config.h.
29616 rm -f conftest.defines conftest.tail
29617 # First, append a space to every undef/define line, to ease matching.
29618 echo 's/$/ /' >conftest.defines
29619 # Then, protect against being on the right side of a sed subst, or in
29620 # an unquoted here document, in config.status. If some macros were
29621 # called several times there might be several #defines for the same
29622 # symbol, which is useless. But do not sort them, since the last
29623 # AC_DEFINE must be honored.
29624 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29625 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
29626 # NAME is the cpp macro being defined, VALUE is the value it is being given.
29627 # PARAMS is the parameter list in the macro definition--in most cases, it's
29628 # just an empty string.
29629 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
29630 ac_dB='\\)[ (].*,\\1define\\2'
29638 s/^[ ]*#[ ]*define[ ][ ]*//
29643 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
29644 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
29645 ' >>conftest.defines
29647 # Remove the space that was appended to ease matching.
29648 # Then replace #undef with comments. This is necessary, for
29649 # example, in the case of _POSIX_SOURCE, which is predefined and required
29650 # on some systems where configure will not decide to define it.
29651 # (The regexp can be short, since the line contains either #define or #undef.)
29653 s,^[ #]*u.*,/* & */,' >>conftest.defines
29655 # Break up conftest.defines:
29656 ac_max_sed_lines=50
29658 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
29659 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
29660 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
29662 ac_in='$ac_file_inputs'
29663 ac_out='"$tmp/out1"'
29664 ac_nxt='"$tmp/out2"'
29668 # Write a here document:
29669 cat >>$CONFIG_STATUS <<_ACEOF
29670 # First, check the format of the line:
29671 cat >"\$tmp/defines.sed" <<\\CEOF
29672 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
29673 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
29677 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
29679 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
29680 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
29681 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
29682 grep . conftest.tail >/dev/null || break
29683 rm -f conftest.defines
29684 mv conftest.tail conftest.defines
29686 rm -f conftest.defines conftest.tail
29688 echo "ac_result=$ac_in" >>$CONFIG_STATUS
29689 cat >>$CONFIG_STATUS <<\_ACEOF
29690 if test x"$ac_file" != x-; then
29691 echo "/* $configure_input */" >"$tmp/config.h"
29692 cat "$ac_result" >>"$tmp/config.h"
29693 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
29694 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29695 echo "$as_me: $ac_file is unchanged" >&6;}
29698 mv "$tmp/config.h" $ac_file
29701 echo "/* $configure_input */"
29705 # Compute $ac_file's index in $config_headers.
29707 for _am_header in $config_headers :; do
29708 case $_am_header in
29709 $ac_file | $ac_file:* )
29712 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29715 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
29716 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29717 X$ac_file : 'X\(//\)[^/]' \| \
29718 X$ac_file : 'X\(//\)$' \| \
29719 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
29721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29725 /^X\(\/\/\)[^/].*/{
29737 s/.*/./; q'`/stamp-h$_am_stamp_count
29740 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
29741 echo "$as_me: executing $ac_file commands" >&6;}
29746 case $ac_file$ac_mode in
29747 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29748 # Strip MF so we end up with the name of the file.
29749 mf=`echo "$mf" | sed -e 's/:.*$//'`
29750 # Check whether this is an Automake generated Makefile or not.
29751 # We used to match only the files named `Makefile.in', but
29752 # some people rename them; so instead we look at the file content.
29753 # Grep'ing the first line is not enough: some people post-process
29754 # each Makefile.in and add a new line on top of each file to say so.
29755 # Grep'ing the whole file is not good either: AIX grep has a line
29756 # limit of 2048, but all sed's we know have understand at least 4000.
29757 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
29758 dirpart=`$as_dirname -- "$mf" ||
29759 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29760 X"$mf" : 'X\(//\)[^/]' \| \
29761 X"$mf" : 'X\(//\)$' \| \
29762 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29768 /^X\(\/\/\)[^/].*/{
29784 # Extract the definition of DEPDIR, am__include, and am__quote
29785 # from the Makefile without running `make'.
29786 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29787 test -z "$DEPDIR" && continue
29788 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29789 test -z "am__include" && continue
29790 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29791 # When using ansi2knr, U may be empty or an underscore; expand it
29792 U=`sed -n 's/^U = //p' < "$mf"`
29793 # Find all dependency output files, they are included files with
29794 # $(DEPDIR) in their names. We invoke sed twice because it is the
29795 # simplest approach to changing $(DEPDIR) to its actual value in the
29797 for file in `sed -n "
29798 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29799 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29800 # Make sure the directory exists.
29801 test -f "$dirpart/$file" && continue
29802 fdir=`$as_dirname -- "$file" ||
29803 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29804 X"$file" : 'X\(//\)[^/]' \| \
29805 X"$file" : 'X\(//\)$' \| \
29806 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29812 /^X\(\/\/\)[^/].*/{
29825 { as_dir=$dirpart/$fdir
29827 -*) as_dir=./$as_dir;;
29829 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29833 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29834 *) as_qdir=$as_dir;;
29836 as_dirs="'$as_qdir' $as_dirs"
29837 as_dir=`$as_dirname -- "$as_dir" ||
29838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29839 X"$as_dir" : 'X\(//\)[^/]' \| \
29840 X"$as_dir" : 'X\(//\)$' \| \
29841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29847 /^X\(\/\/\)[^/].*/{
29860 test -d "$as_dir" && break
29862 test -z "$as_dirs" || eval "mkdir $as_dirs"
29863 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29864 echo "$as_me: error: cannot create directory $as_dir" >&2;}
29865 { (exit 1); exit 1; }; }; }
29866 # echo "creating $dirpart/$file"
29867 echo '# dummy' > "$dirpart/$file"
29876 { (exit 0); exit 0; }
29878 chmod +x $CONFIG_STATUS
29879 ac_clean_files=$ac_clean_files_save
29882 # configure is writing to config.log, and then calls config.status.
29883 # config.status does its own redirection, appending to config.log.
29884 # Unfortunately, on DOS this fails, as config.log is still kept open
29885 # by configure, so config.status won't be able to write to it; its
29886 # output is simply discarded. So we exec the FD to /dev/null,
29887 # effectively closing config.log, so it can be properly (re)opened and
29888 # appended to by config.status. When coming back to configure, we
29889 # need to make the FD available again.
29890 if test "$no_create" != yes; then
29892 ac_config_status_args=
29893 test "$silent" = yes &&
29894 ac_config_status_args="$ac_config_status_args --quiet"
29896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29899 # would make configure fail if this is the last instruction.
29900 $ac_cs_success || { (exit 1); exit 1; }
29904 { echo "$as_me:$LINENO:
29913 $FEATURES_TXT" >&6;}