2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.212.
5 # Report bugs to <vserver@list.linux-vserver.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
291 echo_test_string=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
311 for dir in $PATH /usr/ucb; do
313 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X/bin/ksh; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL=/bin/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
352 SHELL="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames=${tagnames+${tagnames},}CXX
398 tagnames=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix=/usr/local
411 ac_config_libobj_dir=.
416 SHELL=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME='util-vserver'
425 PACKAGE_TARNAME='util-vserver'
426 PACKAGE_VERSION='0.30.212'
427 PACKAGE_STRING='util-vserver 0.30.212'
428 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
430 ac_unique_file="src/capchroot.c"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os GPG_KEY CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S ENSC_HAVE_CXX_COMPILER_TRUE ENSC_HAVE_CXX_COMPILER_FALSE ENSC_HAVE_C99_COMPILER_TRUE ENSC_HAVE_C99_COMPILER_FALSE ENSC_PATHPROG_SED CAT CHOWN CMP CP DIRNAME EGREP ENV GREP LN MKDIR MKFIFO MKTEMP MOUNT MV NICE PS RM RMDIR SED SH TAC TAR TOUCH TTY UMOUNT WC IP IPTABLES MODPROBE NAMEIF NOHUP RMMOD VCONFIG WGET FILE GZIP BZIP2 CPIO RESTORE RSYNC DOXYGEN XSLTP XSLTPROC HAVE_XSLTP_TRUE HAVE_XSLTP_FALSE HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE LIB_DEBUG_CPPFLAGS ENSC_USE_EXPENSIVE_TESTS initrddir RELEASE_CPPFLAGS DIET DIETFLAGS USE_DIETLIBC_TRUE USE_DIETLIBC_FALSE USE_DIETLIBC_COMPAT_TRUE USE_DIETLIBC_COMPAT_FALSE ENSC_USE_DIETLIBC_TRUE ENSC_USE_DIETLIBC_FALSE ENSC_USE_GLIBC_TRUE ENSC_USE_GLIBC_FALSE ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL vserverdir SVN2CL HAVE_SVN2CL_TRUE HAVE_SVN2CL_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE ENSC_HAVE_BEECRYPT_TRUE ENSC_HAVE_BEECRYPT_FALSE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name=s,x,x,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir='${exec_prefix}/bin'
497 sbindir='${exec_prefix}/sbin'
498 libexecdir='${exec_prefix}/libexec'
499 datadir='${prefix}/share'
500 sysconfdir='${prefix}/etc'
501 sharedstatedir='${prefix}/com'
502 localstatedir='${prefix}/var'
503 libdir='${exec_prefix}/lib'
504 includedir='${prefix}/include'
505 oldincludedir='/usr/include'
506 infodir='${prefix}/info'
507 mandir='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
530 -build | --build | --buil | --bui | --bu)
531 ac_prev=build_alias ;;
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build_alias=$ac_optarg ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev=cache_file ;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file=$ac_optarg ;;
543 cache_file=config.cache ;;
545 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
547 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
549 datadir=$ac_optarg ;;
551 -disable-* | --disable-*)
552 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* | --enable-*)
561 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
575 | --exec | --exe | --ex)
576 ac_prev=exec_prefix ;;
577 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
578 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
579 | --exec=* | --exe=* | --ex=*)
580 exec_prefix=$ac_optarg ;;
582 -gas | --gas | --ga | --g)
583 # Obsolete; use --with-gas.
586 -help | --help | --hel | --he | -h)
588 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
589 ac_init_help=recursive ;;
590 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
591 ac_init_help=short ;;
593 -host | --host | --hos | --ho)
594 ac_prev=host_alias ;;
595 -host=* | --host=* | --hos=* | --ho=*)
596 host_alias=$ac_optarg ;;
598 -includedir | --includedir | --includedi | --included | --include \
599 | --includ | --inclu | --incl | --inc)
600 ac_prev=includedir ;;
601 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
602 | --includ=* | --inclu=* | --incl=* | --inc=*)
603 includedir=$ac_optarg ;;
605 -infodir | --infodir | --infodi | --infod | --info | --inf)
607 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
608 infodir=$ac_optarg ;;
610 -libdir | --libdir | --libdi | --libd)
612 -libdir=* | --libdir=* | --libdi=* | --libd=*)
615 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
616 | --libexe | --libex | --libe)
617 ac_prev=libexecdir ;;
618 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
619 | --libexe=* | --libex=* | --libe=*)
620 libexecdir=$ac_optarg ;;
622 -localstatedir | --localstatedir | --localstatedi | --localstated \
623 | --localstate | --localstat | --localsta | --localst \
624 | --locals | --local | --loca | --loc | --lo)
625 ac_prev=localstatedir ;;
626 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
629 localstatedir=$ac_optarg ;;
631 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
633 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
637 # Obsolete; use --without-fp.
640 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
641 | --no-cr | --no-c | -n)
644 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
645 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
648 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
649 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
650 | --oldin | --oldi | --old | --ol | --o)
651 ac_prev=oldincludedir ;;
652 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
653 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
654 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
655 oldincludedir=$ac_optarg ;;
657 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
659 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
662 -program-prefix | --program-prefix | --program-prefi | --program-pref \
663 | --program-pre | --program-pr | --program-p)
664 ac_prev=program_prefix ;;
665 -program-prefix=* | --program-prefix=* | --program-prefi=* \
666 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
667 program_prefix=$ac_optarg ;;
669 -program-suffix | --program-suffix | --program-suffi | --program-suff \
670 | --program-suf | --program-su | --program-s)
671 ac_prev=program_suffix ;;
672 -program-suffix=* | --program-suffix=* | --program-suffi=* \
673 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
674 program_suffix=$ac_optarg ;;
676 -program-transform-name | --program-transform-name \
677 | --program-transform-nam | --program-transform-na \
678 | --program-transform-n | --program-transform- \
679 | --program-transform | --program-transfor \
680 | --program-transfo | --program-transf \
681 | --program-trans | --program-tran \
682 | --progr-tra | --program-tr | --program-t)
683 ac_prev=program_transform_name ;;
684 -program-transform-name=* | --program-transform-name=* \
685 | --program-transform-nam=* | --program-transform-na=* \
686 | --program-transform-n=* | --program-transform-=* \
687 | --program-transform=* | --program-transfor=* \
688 | --program-transfo=* | --program-transf=* \
689 | --program-trans=* | --program-tran=* \
690 | --progr-tra=* | --program-tr=* | --program-t=*)
691 program_transform_name=$ac_optarg ;;
693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694 | -silent | --silent | --silen | --sile | --sil)
697 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
699 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
701 sbindir=$ac_optarg ;;
703 -sharedstatedir | --sharedstatedir | --sharedstatedi \
704 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
705 | --sharedst | --shareds | --shared | --share | --shar \
707 ac_prev=sharedstatedir ;;
708 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
709 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
710 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
712 sharedstatedir=$ac_optarg ;;
714 -site | --site | --sit)
716 -site=* | --site=* | --sit=*)
719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
724 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
725 | --syscon | --sysco | --sysc | --sys | --sy)
726 ac_prev=sysconfdir ;;
727 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
728 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
729 sysconfdir=$ac_optarg ;;
731 -target | --target | --targe | --targ | --tar | --ta | --t)
732 ac_prev=target_alias ;;
733 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
734 target_alias=$ac_optarg ;;
736 -v | -verbose | --verbose | --verbos | --verbo | --verb)
739 -version | --version | --versio | --versi | --vers | -V)
743 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* | --without-*)
756 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
769 | --x-incl | --x-inc | --x-in | --x-i)
770 ac_prev=x_includes ;;
771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
773 x_includes=$ac_optarg ;;
775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
777 ac_prev=x_libraries ;;
778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780 x_libraries=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var in exec_prefix prefix
817 eval ac_val=$`echo $ac_var`
819 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val=$`echo $ac_var`
831 [\\/$]* | ?:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x; then
846 if test "x$build_alias" = x; then
847 cross_compiling=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix=$host_alias-
858 test "$silent" = yes && exec 6>/dev/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set=${build_alias+set}
898 ac_env_build_alias_value=$build_alias
899 ac_cv_env_build_alias_set=${build_alias+set}
900 ac_cv_env_build_alias_value=$build_alias
901 ac_env_host_alias_set=${host_alias+set}
902 ac_env_host_alias_value=$host_alias
903 ac_cv_env_host_alias_set=${host_alias+set}
904 ac_cv_env_host_alias_value=$host_alias
905 ac_env_target_alias_set=${target_alias+set}
906 ac_env_target_alias_value=$target_alias
907 ac_cv_env_target_alias_set=${target_alias+set}
908 ac_cv_env_target_alias_value=$target_alias
909 ac_env_CXX_set=${CXX+set}
910 ac_env_CXX_value=$CXX
911 ac_cv_env_CXX_set=${CXX+set}
912 ac_cv_env_CXX_value=$CXX
913 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
914 ac_env_CXXFLAGS_value=$CXXFLAGS
915 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
921 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925 ac_env_CC_set=${CC+set}
927 ac_cv_env_CC_set=${CC+set}
928 ac_cv_env_CC_value=$CC
929 ac_env_CFLAGS_set=${CFLAGS+set}
930 ac_env_CFLAGS_value=$CFLAGS
931 ac_cv_env_CFLAGS_set=${CFLAGS+set}
932 ac_cv_env_CFLAGS_value=$CFLAGS
933 ac_env_DIET_set=${DIET+set}
934 ac_env_DIET_value=$DIET
935 ac_cv_env_DIET_set=${DIET+set}
936 ac_cv_env_DIET_value=$DIET
937 ac_env_DIETFLAGS_set=${DIETFLAGS+set}
938 ac_env_DIETFLAGS_value=$DIETFLAGS
939 ac_cv_env_DIETFLAGS_set=${DIETFLAGS+set}
940 ac_cv_env_DIETFLAGS_value=$DIETFLAGS
941 ac_env_CPP_set=${CPP+set}
942 ac_env_CPP_value=$CPP
943 ac_cv_env_CPP_set=${CPP+set}
944 ac_cv_env_CPP_value=$CPP
945 ac_env_CXXCPP_set=${CXXCPP+set}
946 ac_env_CXXCPP_value=$CXXCPP
947 ac_cv_env_CXXCPP_set=${CXXCPP+set}
948 ac_cv_env_CXXCPP_value=$CXXCPP
949 ac_env_F77_set=${F77+set}
950 ac_env_F77_value=$F77
951 ac_cv_env_F77_set=${F77+set}
952 ac_cv_env_F77_value=$F77
953 ac_env_FFLAGS_set=${FFLAGS+set}
954 ac_env_FFLAGS_value=$FFLAGS
955 ac_cv_env_FFLAGS_set=${FFLAGS+set}
956 ac_cv_env_FFLAGS_value=$FFLAGS
959 # Report the --help message.
961 if test "$ac_init_help" = "long"; then
962 # Omit some internal or obsolete options to make the list less imposing.
963 # This message is too long to be a string in the A/UX 3.1 sh.
965 \`configure' configures util-vserver 0.30.212 to adapt to many kinds of systems.
967 Usage: $0 [OPTION]... [VAR=VALUE]...
969 To assign environment variables (e.g., CC, CFLAGS...), specify them as
970 VAR=VALUE. See below for descriptions of some of the useful variables.
972 Defaults for the options are specified in brackets.
975 -h, --help display this help and exit
976 --help=short display options specific to this package
977 --help=recursive display the short help of all the included packages
978 -V, --version display version information and exit
979 -q, --quiet, --silent do not print \`checking...' messages
980 --cache-file=FILE cache test results in FILE [disabled]
981 -C, --config-cache alias for \`--cache-file=config.cache'
982 -n, --no-create do not create output files
983 --srcdir=DIR find the sources in DIR [configure dir or \`..']
988 Installation directories:
989 --prefix=PREFIX install architecture-independent files in PREFIX
991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
994 By default, \`make install' will install all the files in
995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
997 for instance \`--prefix=\$HOME'.
999 For better control, use the options below.
1001 Fine tuning of the installation directories:
1002 --bindir=DIR user executables [EPREFIX/bin]
1003 --sbindir=DIR system admin executables [EPREFIX/sbin]
1004 --libexecdir=DIR program executables [EPREFIX/libexec]
1005 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1006 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1007 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1008 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1009 --libdir=DIR object code libraries [EPREFIX/lib]
1010 --includedir=DIR C header files [PREFIX/include]
1011 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1012 --infodir=DIR info documentation [PREFIX/info]
1013 --mandir=DIR man documentation [PREFIX/man]
1019 --program-prefix=PREFIX prepend PREFIX to installed program names
1020 --program-suffix=SUFFIX append SUFFIX to installed program names
1021 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1024 --build=BUILD configure for building on BUILD [guessed]
1025 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1029 if test -n "$ac_init_help"; then
1030 case $ac_init_help in
1031 short | recursive ) echo "Configuration of util-vserver 0.30.212:";;
1036 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1037 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1038 --enable-maintainer-mode enable make rules and dependencies not useful
1039 (and sometimes confusing) to the casual installer
1040 --disable-dependency-tracking speeds up one-time build
1041 --enable-dependency-tracking do not reject slow dependency extractors
1042 --disable-extra-optimizations
1043 disable certain extra optimizations (default: no)
1044 --enable-lib-debug enable additional debug code in library (default:
1046 --enable-expensive-tests
1047 disable tests which might be expensive on some
1048 systems (default: no)
1049 --enable-release enable release mode (default: no)
1050 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1051 --enable-dietlibc) (default: autodetect dietlibc)
1052 --disable-alternative-syscalls
1053 do not use the alternative _syscallX macros provided
1054 by Herbert Poetzl (default: use them)
1055 --enable-shared[=PKGS]
1056 build shared libraries [default=yes]
1057 --enable-static[=PKGS]
1058 build static libraries [default=yes]
1059 --enable-fast-install[=PKGS]
1060 optimize for fast installation [default=yes]
1061 --disable-libtool-lock avoid locking (might break parallel builds)
1062 --disable-internal-headers
1063 use vserver specific headers from the kernel instead
1064 of the shipped versions (default: no)
1065 --enable-apis=APIS enable support for the given apis; possible values
1066 are: legacy,compat,v11,fscompat,v13obs,v13,net,
1067 ALL,NOLEGACY (default: v13,net,v21)
1070 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1071 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1072 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1078 include additional configurations [automatic]
1079 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1080 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1081 values are 'fast', 'traditional' and 'auto'
1084 Some influential environment variables:
1085 CXX C++ compiler command
1086 CXXFLAGS C++ compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 DIET The 'diet' wrapper (default: diet)
1094 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1096 CXXCPP C++ preprocessor
1097 F77 Fortran 77 compiler command
1098 FFLAGS Fortran 77 compiler flags
1100 Use these variables to override the choices made by `configure' or to help
1101 it to find libraries and programs with nonstandard names/locations.
1103 Report bugs to <vserver@list.linux-vserver.org>.
1107 if test "$ac_init_help" = "recursive"; then
1108 # If there are subdirs, report their specific --help.
1110 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1111 test -d $ac_dir || continue
1114 if test "$ac_dir" != .; then
1115 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1116 # A "../" for each directory in $ac_dir_suffix.
1117 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 ac_dir_suffix= ac_top_builddir=
1123 .) # No --srcdir option. We are building in place.
1125 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 [\\/]* | ?:[\\/]* ) # Absolute path.
1131 ac_srcdir=$srcdir$ac_dir_suffix;
1132 ac_top_srcdir=$srcdir ;;
1134 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1135 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1138 # Do not use `cd foo && pwd` to compute absolute paths, because
1139 # the directories may not exist.
1141 .) ac_abs_builddir="$ac_dir";;
1144 .) ac_abs_builddir=`pwd`;;
1145 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1146 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1149 case $ac_abs_builddir in
1150 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 case ${ac_top_builddir}. in
1153 .) ac_abs_top_builddir=$ac_abs_builddir;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1155 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1158 case $ac_abs_builddir in
1159 .) ac_abs_srcdir=$ac_srcdir;;
1162 .) ac_abs_srcdir=$ac_abs_builddir;;
1163 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1164 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1167 case $ac_abs_builddir in
1168 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 case $ac_top_srcdir in
1171 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1172 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1173 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1178 # Check for guested configure; otherwise get Cygnus style configure.
1179 if test -f $ac_srcdir/configure.gnu; then
1181 $SHELL $ac_srcdir/configure.gnu --help=recursive
1182 elif test -f $ac_srcdir/configure; then
1184 $SHELL $ac_srcdir/configure --help=recursive
1185 elif test -f $ac_srcdir/configure.ac ||
1186 test -f $ac_srcdir/configure.in; then
1188 $ac_configure --help
1190 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1196 test -n "$ac_init_help" && exit 0
1197 if $ac_init_version; then
1199 util-vserver configure 0.30.212
1200 generated by GNU Autoconf 2.59
1202 Copyright (C) 2003 Free Software Foundation, Inc.
1203 This configure script is free software; the Free Software Foundation
1204 gives unlimited permission to copy, distribute and modify it.
1210 This file contains any messages produced by compilers while
1211 running configure, to aid debugging if configure makes a mistake.
1213 It was created by util-vserver $as_me 0.30.212, which was
1214 generated by GNU Autoconf 2.59. Invocation command line was
1225 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1226 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1227 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1228 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1229 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1232 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1235 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1236 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1237 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1238 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1239 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1240 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1248 test -z "$as_dir" && as_dir=.
1249 echo "PATH: $as_dir"
1264 # Keep a trace of the command line.
1265 # Strip out --no-create and --no-recursion so they do not pile up.
1266 # Strip out --silent because we don't want to record it for future runs.
1267 # Also quote any args containing shell meta-characters.
1268 # Make two passes to allow for proper duplicate-argument suppression.
1273 ac_must_keep_next=false
1279 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1280 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1281 | -silent | --silent | --silen | --sile | --sil)
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1290 if test $ac_must_keep_next = true; then
1291 ac_must_keep_next=false # Got value, back to normal.
1294 *=* | --config-cache | -C | -disable-* | --disable-* \
1295 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1296 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1297 | -with-* | --with-* | -without-* | --without-* | --x)
1298 case "$ac_configure_args0 " in
1299 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 -* ) ac_must_keep_next=true ;;
1305 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1306 # Get rid of the leading space.
1312 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1313 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315 # When interrupted or exit'd, cleanup temporary files, and complete
1316 # config.log. We remove comments because anyway the quotes in there
1317 # would cause problems or look ugly.
1318 # WARNING: Be sure not to use single quotes in there, as some shells,
1319 # such as our DU 5.0 friend, will then `close' the trap.
1320 trap 'exit_status=$?
1321 # Save into config.log some information that might help in debugging.
1326 ## ---------------- ##
1327 ## Cache variables. ##
1328 ## ---------------- ##
1331 # The following way of writing the cache mishandles newlines in values,
1334 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1349 ## ----------------- ##
1350 ## Output variables. ##
1351 ## ----------------- ##
1354 for ac_var in $ac_subst_vars
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1361 if test -n "$ac_subst_files"; then
1368 for ac_var in $ac_subst_files
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1376 if test -s confdefs.h; then
1383 sed "/^$/d" confdefs.h | sort
1386 test "$ac_signal" != 0 &&
1387 echo "$as_me: caught signal $ac_signal"
1388 echo "$as_me: exit $exit_status"
1390 rm -f core *.core &&
1391 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 for ac_signal in 1 2 13 15; do
1395 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1400 rm -rf conftest* confdefs.h
1401 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 # Predefined preprocessor variables.
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_NAME "$PACKAGE_NAME"
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_STRING "$PACKAGE_STRING"
1426 cat >>confdefs.h <<_ACEOF
1427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1431 # Let the site file select an alternate cache file if it wants to.
1432 # Prefer explicitly selected file to automatically selected ones.
1433 if test -z "$CONFIG_SITE"; then
1434 if test "x$prefix" != xNONE; then
1435 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 for ac_site_file in $CONFIG_SITE; do
1441 if test -r "$ac_site_file"; then
1442 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1443 echo "$as_me: loading site script $ac_site_file" >&6;}
1444 sed 's/^/| /' "$ac_site_file" >&5
1449 if test -r "$cache_file"; then
1450 # Some versions of bash will fail to source /dev/null (special
1451 # files actually), so we avoid doing that.
1452 if test -f "$cache_file"; then
1453 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1454 echo "$as_me: loading cache $cache_file" >&6;}
1456 [\\/]* | ?:[\\/]* ) . $cache_file;;
1457 *) . ./$cache_file;;
1461 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1462 echo "$as_me: creating cache $cache_file" >&6;}
1466 # Check that the precious variables saved in the cache have kept the same
1468 ac_cache_corrupted=false
1469 for ac_var in `(set) 2>&1 |
1470 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1471 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1472 eval ac_new_set=\$ac_env_${ac_var}_set
1473 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1474 eval ac_new_val="\$ac_env_${ac_var}_value"
1475 case $ac_old_set,$ac_new_set in
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1481 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1482 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1483 ac_cache_corrupted=: ;;
1486 if test "x$ac_old_val" != "x$ac_new_val"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1490 echo "$as_me: former value: $ac_old_val" >&2;}
1491 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1492 echo "$as_me: current value: $ac_new_val" >&2;}
1493 ac_cache_corrupted=:
1496 # Pass precious variables to config.status.
1497 if test "$ac_new_set" = set; then
1499 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1500 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1501 *) ac_arg=$ac_var=$ac_new_val ;;
1503 case " $ac_configure_args " in
1504 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1505 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1509 if $ac_cache_corrupted; then
1510 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1511 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1512 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1513 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1514 { (exit 1); exit 1; }; }
1518 ac_cpp='$CPP $CPPFLAGS'
1519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1550 ac_config_headers="$ac_config_headers config.h"
1553 am__api_version="1.9"
1555 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh; then
1562 ac_install_sh="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool; then
1566 ac_install_sh="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1586 # AmigaOS /C/install, which installs bootblocks on floppy discs
1587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1590 # OS/2's system install, which has a completely different semantic
1591 # ./install, which can be erroneously created by make from ./install.sh.
1592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1594 if test -z "$INSTALL"; then
1595 if test "${ac_cv_path_install+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 # Account for people who put trailing slashes in PATH elements.
1605 ./ | .// | /cC/* | \
1606 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1607 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 # OSF1 and SCO ODT 3.0 have their own names for install.
1611 # Don't use installbsd from OSF since it installs stuff as root
1613 for ac_prog in ginstall scoinst install; do
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1616 if test $ac_prog = install &&
1617 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1620 elif test $ac_prog = install &&
1621 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622 # program-specific install script used by HP pwplus--don't use.
1625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL=$ac_cv_path_install
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL=$ac_install_sh
1647 echo "$as_me:$LINENO: result: $INSTALL" >&5
1648 echo "${ECHO_T}$INSTALL" >&6
1650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1651 # It thinks the first close brace ends the variable substitution.
1652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1658 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1659 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 echo timestamp > conftest.file
1663 # Do `set' in a subshell so we don't clobber the current shell's
1664 # arguments. Must try -L first in case configure is actually a
1665 # symlink; some systems play weird games with the mod time of symlinks
1666 # (eg FreeBSD returns the mod time of the symlink's containing
1669 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1670 if test "$*" = "X"; then
1672 set X `ls -t $srcdir/configure conftest.file`
1675 if test "$*" != "X $srcdir/configure conftest.file" \
1676 && test "$*" != "X conftest.file $srcdir/configure"; then
1678 # If neither matched, then we have a broken ls. This can happen
1679 # if, for instance, CONFIG_SHELL is bash and it inherits a
1680 # broken ls alias from the environment. This has actually
1681 # happened. Such a system could not be considered "sane".
1682 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1683 alias in your environment" >&5
1684 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&2;}
1686 { (exit 1); exit 1; }; }
1689 test "$2" = conftest.file
1695 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1696 Check your system clock" >&5
1697 echo "$as_me: error: newly created file is older than distributed files!
1698 Check your system clock" >&2;}
1699 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: yes" >&5
1702 echo "${ECHO_T}yes" >&6
1703 test "$program_prefix" != NONE &&
1704 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1705 # Use a double $ so make ignores it.
1706 test "$program_suffix" != NONE &&
1707 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1708 # Double any \ or $. echo might interpret backslashes.
1709 # By default was `s,x,x', remove it if useless.
1710 cat <<\_ACEOF >conftest.sed
1711 s/[\\$]/&&/g;s/;s,x,x,$//
1713 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 # expand $ac_aux_dir to an absolute path
1717 am_aux_dir=`cd $ac_aux_dir && pwd`
1719 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1720 # Use eval to expand $SHELL
1721 if eval "$MISSING --run true"; then
1722 am_missing_run="$MISSING --run "
1725 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1726 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1730 # We used to keeping the `.' as first argument, in order to
1731 # allow $(mkdir_p) to be used without argument. As in
1732 # $(mkdir_p) $(somedir)
1733 # where $(somedir) is conditionally defined. However this is wrong
1735 # 1. if the package is installed by a user who cannot write `.'
1736 # make install will fail,
1737 # 2. the above comment should most certainly read
1738 # $(mkdir_p) $(DESTDIR)$(somedir)
1739 # so it does not work when $(somedir) is undefined and
1740 # $(DESTDIR) is not.
1741 # To support the latter case, we have to write
1742 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1743 # so the `.' trick is pointless.
1744 mkdir_p='mkdir -p --'
1746 # On NextStep and OpenStep, the `mkdir' command does not
1747 # recognize any option. It will interpret all options as
1748 # directories to create, and then abort because `.' already
1750 for d in ./-p ./--version;
1752 test -d $d && rmdir $d
1754 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1755 if test -f "$ac_aux_dir/mkinstalldirs"; then
1756 mkdir_p='$(mkinstalldirs)'
1758 mkdir_p='$(install_sh) -d'
1762 for ac_prog in gawk mawk nawk awk
1764 # Extract the first word of "$ac_prog", so it can be a program name with args.
1765 set dummy $ac_prog; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_AWK+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$AWK"; then
1772 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_AWK="$ac_prog"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test -n "$AWK"; then
1792 echo "$as_me:$LINENO: result: $AWK" >&5
1793 echo "${ECHO_T}$AWK" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1799 test -n "$AWK" && break
1802 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1803 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1804 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1805 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 cat >conftest.make <<\_ACEOF
1810 @echo 'ac_maketemp="$(MAKE)"'
1812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1813 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1814 if test -n "$ac_maketemp"; then
1815 eval ac_cv_prog_make_${ac_make}_set=yes
1817 eval ac_cv_prog_make_${ac_make}_set=no
1821 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1822 echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 SET_MAKE="MAKE=${MAKE-make}"
1831 rm -rf .tst 2>/dev/null
1832 mkdir .tst 2>/dev/null
1833 if test -d .tst; then
1838 rmdir .tst 2>/dev/null
1840 # test to see if srcdir already configured
1841 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1842 test -f $srcdir/config.status; then
1843 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1844 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # test whether we have cygpath
1849 if test -z "$CYGPATH_W"; then
1850 if (cygpath --version) >/dev/null 2>/dev/null; then
1851 CYGPATH_W='cygpath -w'
1858 # Define the identity of the package.
1859 PACKAGE='util-vserver'
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE "$PACKAGE"
1868 cat >>confdefs.h <<_ACEOF
1869 #define VERSION "$VERSION"
1872 # Some tools Automake needs.
1874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890 # Installed binaries are usually stripped using `strip' when the user
1891 # run `make install-strip'. However `strip' might not be the right
1892 # tool to use in cross-compilation environments, therefore Automake
1893 # will honor the `STRIP' environment variable to overrule this program.
1894 if test "$cross_compiling" != no; then
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$STRIP"; then
1904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 STRIP=$ac_cv_prog_STRIP
1923 if test -n "$STRIP"; then
1924 echo "$as_me:$LINENO: result: $STRIP" >&5
1925 echo "${ECHO_T}$STRIP" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_STRIP"; then
1934 # Extract the first word of "strip", so it can be a program name with args.
1935 set dummy strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$ac_ct_STRIP"; then
1942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_STRIP="strip"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962 if test -n "$ac_ct_STRIP"; then
1963 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964 echo "${ECHO_T}$ac_ct_STRIP" >&6
1966 echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1972 STRIP="$ac_cv_prog_STRIP"
1976 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978 # We need awk for the "check" target. The system "awk" is bad on
1980 # Always define AMTAR for backward compatibility.
1982 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1990 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1991 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1992 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1993 if test "${enable_maintainer_mode+set}" = set; then
1994 enableval="$enable_maintainer_mode"
1995 USE_MAINTAINER_MODE=$enableval
1997 USE_MAINTAINER_MODE=no
1999 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2000 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2003 if test $USE_MAINTAINER_MODE = yes; then
2004 MAINTAINER_MODE_TRUE=
2005 MAINTAINER_MODE_FALSE='#'
2007 MAINTAINER_MODE_TRUE='#'
2008 MAINTAINER_MODE_FALSE=
2011 MAINT=$MAINTAINER_MODE_TRUE
2015 # Make sure we can run config.sub.
2016 $ac_config_sub sun4 >/dev/null 2>&1 ||
2017 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2018 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2019 { (exit 1); exit 1; }; }
2021 echo "$as_me:$LINENO: checking build system type" >&5
2022 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2023 if test "${ac_cv_build+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 ac_cv_build_alias=$build_alias
2027 test -z "$ac_cv_build_alias" &&
2028 ac_cv_build_alias=`$ac_config_guess`
2029 test -z "$ac_cv_build_alias" &&
2030 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2031 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2032 { (exit 1); exit 1; }; }
2033 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2034 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2035 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2036 { (exit 1); exit 1; }; }
2039 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2040 echo "${ECHO_T}$ac_cv_build" >&6
2042 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2043 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2044 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2047 echo "$as_me:$LINENO: checking host system type" >&5
2048 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2049 if test "${ac_cv_host+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 ac_cv_host_alias=$host_alias
2053 test -z "$ac_cv_host_alias" &&
2054 ac_cv_host_alias=$ac_cv_build_alias
2055 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2056 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2057 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2058 { (exit 1); exit 1; }; }
2061 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2062 echo "${ECHO_T}$ac_cv_host" >&6
2064 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2065 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2066 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2070 GPG_KEY="0xFFD316AC53ACA43A!"
2073 # Checks for programs.
2075 ac_cpp='$CXXCPP $CPPFLAGS'
2076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2079 if test -n "$ac_tool_prefix"; then
2080 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 if test "${ac_cv_prog_CXX+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$CXX"; then
2090 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 if test -n "$CXX"; then
2110 echo "$as_me:$LINENO: result: $CXX" >&5
2111 echo "${ECHO_T}$CXX" >&6
2113 echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6
2117 test -n "$CXX" && break
2120 if test -z "$CXX"; then
2122 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2124 # Extract the first word of "$ac_prog", so it can be a program name with args.
2125 set dummy $ac_prog; ac_word=$2
2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 if test -n "$ac_ct_CXX"; then
2132 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir=.
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141 ac_cv_prog_ac_ct_CXX="$ac_prog"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2151 if test -n "$ac_ct_CXX"; then
2152 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2153 echo "${ECHO_T}$ac_ct_CXX" >&6
2155 echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6
2159 test -n "$ac_ct_CXX" && break
2161 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2167 # Provide some information about the compiler.
2168 echo "$as_me:$LINENO:" \
2169 "checking for C++ compiler version" >&5
2170 ac_compiler=`set X $ac_compile; echo $2`
2171 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2172 (eval $ac_compiler --version </dev/null >&5) 2>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }
2176 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2177 (eval $ac_compiler -v </dev/null >&5) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }
2181 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2182 (eval $ac_compiler -V </dev/null >&5) 2>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }
2187 cat >conftest.$ac_ext <<_ACEOF
2190 cat confdefs.h >>conftest.$ac_ext
2191 cat >>conftest.$ac_ext <<_ACEOF
2192 /* end confdefs.h. */
2202 ac_clean_files_save=$ac_clean_files
2203 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2204 # Try to create an executable without -o first, disregard a.out.
2205 # It will help us diagnose broken compilers, and finding out an intuition
2207 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2208 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2209 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2210 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2211 (eval $ac_link_default) 2>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; then
2215 # Find the output, starting from the most likely. This scheme is
2216 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2219 # Be careful to initialize this variable, since it used to be cached.
2220 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2222 # b.out is created by i960 compilers.
2223 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2225 test -f "$ac_file" || continue
2227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2230 # This is the source file.
2233 # We found the default executable, but exeext='' is most
2237 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2238 # FIXME: I believe we export ac_cv_exeext for Libtool,
2239 # but it would be cool to find out if it's true. Does anybody
2240 # maintain Libtool? --akim.
2248 echo "$as_me: failed program was:" >&5
2249 sed 's/^/| /' conftest.$ac_ext >&5
2251 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2252 See \`config.log' for more details." >&5
2253 echo "$as_me: error: C++ compiler cannot create executables
2254 See \`config.log' for more details." >&2;}
2255 { (exit 77); exit 77; }; }
2258 ac_exeext=$ac_cv_exeext
2259 echo "$as_me:$LINENO: result: $ac_file" >&5
2260 echo "${ECHO_T}$ac_file" >&6
2262 # Check the compiler produces executables we can run. If not, either
2263 # the compiler is broken, or we cross compile.
2264 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2265 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2266 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2267 # If not cross compiling, check that we can run a simple program.
2268 if test "$cross_compiling" != yes; then
2269 if { ac_try='./$ac_file'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 if test "$cross_compiling" = maybe; then
2280 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2281 If you meant to cross compile, use \`--host'.
2282 See \`config.log' for more details." >&5
2283 echo "$as_me: error: cannot run C++ compiled programs.
2284 If you meant to cross compile, use \`--host'.
2285 See \`config.log' for more details." >&2;}
2286 { (exit 1); exit 1; }; }
2290 echo "$as_me:$LINENO: result: yes" >&5
2291 echo "${ECHO_T}yes" >&6
2293 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2294 ac_clean_files=$ac_clean_files_save
2295 # Check the compiler produces executables we can run. If not, either
2296 # the compiler is broken, or we cross compile.
2297 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2298 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2299 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2300 echo "${ECHO_T}$cross_compiling" >&6
2302 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2303 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2305 (eval $ac_link) 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; then
2309 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2310 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2311 # work properly (i.e., refer to `conftest.exe'), while it won't with
2313 for ac_file in conftest.exe conftest conftest.*; do
2314 test -f "$ac_file" || continue
2316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2317 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2324 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2325 See \`config.log' for more details." >&5
2326 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2327 See \`config.log' for more details." >&2;}
2328 { (exit 1); exit 1; }; }
2331 rm -f conftest$ac_cv_exeext
2332 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2333 echo "${ECHO_T}$ac_cv_exeext" >&6
2335 rm -f conftest.$ac_ext
2336 EXEEXT=$ac_cv_exeext
2338 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2339 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2340 if test "${ac_cv_objext+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 cat >conftest.$ac_ext <<_ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2358 rm -f conftest.o conftest.obj
2359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2360 (eval $ac_compile) 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; then
2364 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2372 echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2375 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2376 See \`config.log' for more details." >&5
2377 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2378 See \`config.log' for more details." >&2;}
2379 { (exit 1); exit 1; }; }
2382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2384 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2385 echo "${ECHO_T}$ac_cv_objext" >&6
2386 OBJEXT=$ac_cv_objext
2388 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2389 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2390 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 cat >conftest.$ac_ext <<_ACEOF
2396 cat confdefs.h >>conftest.$ac_ext
2397 cat >>conftest.$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2411 rm -f conftest.$ac_objext
2412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2413 (eval $ac_compile) 2>conftest.er1
2415 grep -v '^ *+' conftest.er1 >conftest.err
2417 cat conftest.err >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } &&
2420 { ac_try='test -z "$ac_cxx_werror_flag"
2421 || test ! -s conftest.err'
2422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; } &&
2427 { ac_try='test -s conftest.$ac_objext'
2428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; }; then
2435 echo "$as_me: failed program was:" >&5
2436 sed 's/^/| /' conftest.$ac_ext >&5
2440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2441 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2444 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2445 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2446 GXX=`test $ac_compiler_gnu = yes && echo yes`
2447 ac_test_CXXFLAGS=${CXXFLAGS+set}
2448 ac_save_CXXFLAGS=$CXXFLAGS
2450 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2451 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2452 if test "${ac_cv_prog_cxx_g+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 cat >conftest.$ac_ext <<_ACEOF
2458 cat confdefs.h >>conftest.$ac_ext
2459 cat >>conftest.$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2470 rm -f conftest.$ac_objext
2471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2472 (eval $ac_compile) 2>conftest.er1
2474 grep -v '^ *+' conftest.er1 >conftest.err
2476 cat conftest.err >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); } &&
2479 { ac_try='test -z "$ac_cxx_werror_flag"
2480 || test ! -s conftest.err'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2492 ac_cv_prog_cxx_g=yes
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2501 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2502 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2503 if test "$ac_test_CXXFLAGS" = set; then
2504 CXXFLAGS=$ac_save_CXXFLAGS
2505 elif test $ac_cv_prog_cxx_g = yes; then
2506 if test "$GXX" = yes; then
2512 if test "$GXX" = yes; then
2518 for ac_declaration in \
2520 'extern "C" void std::exit (int) throw (); using std::exit;' \
2521 'extern "C" void std::exit (int); using std::exit;' \
2522 'extern "C" void exit (int) throw ();' \
2523 'extern "C" void exit (int);' \
2526 cat >conftest.$ac_ext <<_ACEOF
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2542 rm -f conftest.$ac_objext
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>conftest.er1
2546 grep -v '^ *+' conftest.er1 >conftest.err
2548 cat conftest.err >&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); } &&
2551 { ac_try='test -z "$ac_cxx_werror_flag"
2552 || test ! -s conftest.err'
2553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; } &&
2558 { ac_try='test -s conftest.$ac_objext'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; }; then
2566 echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.$ac_ext >&5
2571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2572 cat >conftest.$ac_ext <<_ACEOF
2575 cat confdefs.h >>conftest.$ac_ext
2576 cat >>conftest.$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2587 rm -f conftest.$ac_objext
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>conftest.er1
2591 grep -v '^ *+' conftest.er1 >conftest.err
2593 cat conftest.err >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } &&
2596 { ac_try='test -z "$ac_cxx_werror_flag"
2597 || test ! -s conftest.err'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2618 if test -n "$ac_declaration"; then
2619 echo '#ifdef __cplusplus' >>confdefs.h
2620 echo $ac_declaration >>confdefs.h
2621 echo '#endif' >>confdefs.h
2625 ac_cpp='$CPP $CPPFLAGS'
2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2629 DEPDIR="${am__leading_dot}deps"
2631 ac_config_commands="$ac_config_commands depfiles"
2634 am_make=${MAKE-make}
2635 cat > confinc << 'END'
2640 # If we don't find an include directive, just comment out the code.
2641 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2642 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2646 # First try GNU make style include.
2647 echo "include confinc" > confmf
2648 # We grep out `Entering directory' and `Leaving directory'
2649 # messages which can occur if `w' ends up in MAKEFLAGS.
2650 # In particular we don't look at `^make:' because GNU make might
2651 # be invoked under some other name (usually "gmake"), in which
2652 # case it prints its new name instead of `make'.
2653 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2658 # Now try BSD make style include.
2659 if test "$am__include" = "#"; then
2660 echo '.include "confinc"' > confmf
2661 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2662 am__include=.include
2669 echo "$as_me:$LINENO: result: $_am_result" >&5
2670 echo "${ECHO_T}$_am_result" >&6
2671 rm -f confinc confmf
2673 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2674 if test "${enable_dependency_tracking+set}" = set; then
2675 enableval="$enable_dependency_tracking"
2678 if test "x$enable_dependency_tracking" != xno; then
2679 am_depcomp="$ac_aux_dir/depcomp"
2684 if test "x$enable_dependency_tracking" != xno; then
2695 depcc="$CXX" am_compiler_list=
2697 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2698 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2699 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2703 # We make a subdir and do the tests there. Otherwise we can end up
2704 # making bogus files that we don't know about and never remove. For
2705 # instance it was reported that on HP-UX the gcc test will end up
2706 # making a dummy file named `D' -- because `-MD' means `put the output
2709 # Copy depcomp to subdir because otherwise we won't find it if we're
2710 # using a relative directory.
2711 cp "$am_depcomp" conftest.dir
2713 # We will build objects and dependencies in a subdirectory because
2714 # it helps to detect inapplicable dependency modes. For instance
2715 # both Tru64's cc and ICC support -MD to output dependencies as a
2716 # side effect of compilation, but ICC will put the dependencies in
2717 # the current directory while Tru64 will put them in the object
2721 am_cv_CXX_dependencies_compiler_type=none
2722 if test "$am_compiler_list" = ""; then
2723 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2725 for depmode in $am_compiler_list; do
2726 # Setup a source with many dependencies, because some compilers
2727 # like to wrap large dependency lists on column 80 (with \), and
2728 # we should not choose a depcomp mode which is confused by this.
2730 # We need to recreate these files for each test, as the compiler may
2731 # overwrite some of them when testing with obscure command lines.
2732 # This happens at least with the AIX C compiler.
2734 for i in 1 2 3 4 5 6; do
2735 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2736 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2737 # Solaris 8's {/usr,}/bin/sh.
2738 touch sub/conftst$i.h
2740 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2744 # after this tag, mechanisms are not by side-effect, so they'll
2745 # only be used when explicitly requested
2746 if test "x$enable_dependency_tracking" = xyes; then
2754 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2755 # mode. It turns out that the SunPro C++ compiler does not properly
2756 # handle `-M -o', and we need to detect this.
2757 if depmode=$depmode \
2758 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2759 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2760 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2761 >/dev/null 2>conftest.err &&
2762 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2763 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2764 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2765 # icc doesn't choke on unknown options, it will just issue warnings
2766 # or remarks (even with -Werror). So we grep stderr for any message
2767 # that says an option was ignored or not supported.
2768 # When given -MP, icc 7.0 and 7.1 complain thusly:
2769 # icc: Command line warning: ignoring option '-M'; no argument required
2770 # The diagnosis changed in icc 8.0:
2771 # icc: Command line remark: option '-MP' not supported
2772 if (grep 'ignoring option' conftest.err ||
2773 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2774 am_cv_CXX_dependencies_compiler_type=$depmode
2783 am_cv_CXX_dependencies_compiler_type=none
2787 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2788 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2789 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2794 test "x$enable_dependency_tracking" != xno \
2795 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2796 am__fastdepCXX_TRUE=
2797 am__fastdepCXX_FALSE='#'
2799 am__fastdepCXX_TRUE='#'
2800 am__fastdepCXX_FALSE=
2805 ac_cpp='$CPP $CPPFLAGS'
2806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2811 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2812 echo "$as_me:$LINENO: checking for $ac_word" >&5
2813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2814 if test "${ac_cv_prog_CC+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 if test -n "$CC"; then
2838 echo "$as_me:$LINENO: result: $CC" >&5
2839 echo "${ECHO_T}$CC" >&6
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2846 if test -z "$ac_cv_prog_CC"; then
2848 # Extract the first word of "gcc", so it can be a program name with args.
2849 set dummy gcc; ac_word=$2
2850 echo "$as_me:$LINENO: checking for $ac_word" >&5
2851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 if test -n "$ac_ct_CC"; then
2856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir=.
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2865 ac_cv_prog_ac_ct_CC="gcc"
2866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875 if test -n "$ac_ct_CC"; then
2876 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2877 echo "${ECHO_T}$ac_ct_CC" >&6
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2888 if test -z "$CC"; then
2889 if test -n "$ac_tool_prefix"; then
2890 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2891 set dummy ${ac_tool_prefix}cc; ac_word=$2
2892 echo "$as_me:$LINENO: checking for $ac_word" >&5
2893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2894 if test "${ac_cv_prog_CC+set}" = set; then
2895 echo $ECHO_N "(cached) $ECHO_C" >&6
2897 if test -n "$CC"; then
2898 ac_cv_prog_CC="$CC" # Let the user override the test.
2900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir=.
2905 for ac_exec_ext in '' $ac_executable_extensions; do
2906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2907 ac_cv_prog_CC="${ac_tool_prefix}cc"
2908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$CC"; then
2918 echo "$as_me:$LINENO: result: $CC" >&5
2919 echo "${ECHO_T}$CC" >&6
2921 echo "$as_me:$LINENO: result: no" >&5
2922 echo "${ECHO_T}no" >&6
2926 if test -z "$ac_cv_prog_CC"; then
2928 # Extract the first word of "cc", so it can be a program name with args.
2929 set dummy cc; ac_word=$2
2930 echo "$as_me:$LINENO: checking for $ac_word" >&5
2931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 if test -n "$ac_ct_CC"; then
2936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_CC="cc"
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2955 if test -n "$ac_ct_CC"; then
2956 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2957 echo "${ECHO_T}$ac_ct_CC" >&6
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2969 if test -z "$CC"; then
2970 # Extract the first word of "cc", so it can be a program name with args.
2971 set dummy cc; ac_word=$2
2972 echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974 if test "${ac_cv_prog_CC+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC="$CC" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2989 ac_prog_rejected=yes
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 if test $ac_prog_rejected = yes; then
3000 # We found a bogon in the path, so make sure we never use it.
3001 set dummy $ac_cv_prog_CC
3003 if test $# != 0; then
3004 # We chose a different compiler from the bogus one.
3005 # However, it has the same basename, so the bogon will be chosen
3006 # first if we set CC to just the basename; use the full file name.
3008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3014 if test -n "$CC"; then
3015 echo "$as_me:$LINENO: result: $CC" >&5
3016 echo "${ECHO_T}$CC" >&6
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3023 if test -z "$CC"; then
3024 if test -n "$ac_tool_prefix"; then
3027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${ac_cv_prog_CC+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC="$CC" # Let the user override the test.
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test -n "$CC"; then
3055 echo "$as_me:$LINENO: result: $CC" >&5
3056 echo "${ECHO_T}$CC" >&6
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3062 test -n "$CC" && break
3065 if test -z "$CC"; then
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 if test -n "$ac_ct_CC"; then
3077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_ac_ct_CC="$ac_prog"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3098 echo "${ECHO_T}$ac_ct_CC" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3104 test -n "$ac_ct_CC" && break
3113 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3114 See \`config.log' for more details." >&5
3115 echo "$as_me: error: no acceptable C compiler found in \$PATH
3116 See \`config.log' for more details." >&2;}
3117 { (exit 1); exit 1; }; }
3119 # Provide some information about the compiler.
3120 echo "$as_me:$LINENO:" \
3121 "checking for C compiler version" >&5
3122 ac_compiler=`set X $ac_compile; echo $2`
3123 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3124 (eval $ac_compiler --version </dev/null >&5) 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }
3128 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3129 (eval $ac_compiler -v </dev/null >&5) 2>&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }
3133 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3134 (eval $ac_compiler -V </dev/null >&5) 2>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }
3139 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3140 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3141 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3142 echo $ECHO_N "(cached) $ECHO_C" >&6
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3192 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3195 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3196 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3197 GCC=`test $ac_compiler_gnu = yes && echo yes`
3198 ac_test_CFLAGS=${CFLAGS+set}
3199 ac_save_CFLAGS=$CFLAGS
3201 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3202 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3203 if test "${ac_cv_prog_cc_g+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3221 rm -f conftest.$ac_objext
3222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3223 (eval $ac_compile) 2>conftest.er1
3225 grep -v '^ *+' conftest.er1 >conftest.err
3227 cat conftest.err >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try='test -z "$ac_c_werror_flag"
3231 || test ! -s conftest.err'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; } &&
3237 { ac_try='test -s conftest.$ac_objext'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3252 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3253 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3254 if test "$ac_test_CFLAGS" = set; then
3255 CFLAGS=$ac_save_CFLAGS
3256 elif test $ac_cv_prog_cc_g = yes; then
3257 if test "$GCC" = yes; then
3263 if test "$GCC" = yes; then
3269 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3270 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3271 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 ac_cv_prog_cc_stdc=no
3276 cat >conftest.$ac_ext <<_ACEOF
3279 cat confdefs.h >>conftest.$ac_ext
3280 cat >>conftest.$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3284 #include <sys/types.h>
3285 #include <sys/stat.h>
3286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3287 struct buf { int x; };
3288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3289 static char *e (p, i)
3295 static char *f (char * (*g) (char **, int), char **p, ...)
3300 s = g (p, va_arg (v,int));
3305 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3306 function prototypes and stuff, but not '\xHH' hex character constants.
3307 These don't provoke an error unfortunately, instead are silently treated
3308 as 'x'. The following induces an error, until -std1 is added to get
3309 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3310 array size at least. It's necessary to write '\x00'==0 to get something
3311 that's true only with -std1. */
3312 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3314 int test (int i, double x);
3315 struct s1 {int (*f) (int a);};
3316 struct s2 {int (*f) (double a);};
3317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3328 # Don't try gcc -ansi; that turns off useful extensions and
3329 # breaks some systems' header files.
3330 # AIX -qlanglvl=ansi
3331 # Ultrix and OSF/1 -std1
3332 # HP-UX 10.20 and later -Ae
3333 # HP-UX older versions -Aa -D_HPUX_SOURCE
3334 # SVR4 -Xc -D__EXTENSIONS__
3335 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3337 CC="$ac_save_CC $ac_arg"
3338 rm -f conftest.$ac_objext
3339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3340 (eval $ac_compile) 2>conftest.er1
3342 grep -v '^ *+' conftest.er1 >conftest.err
3344 cat conftest.err >&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } &&
3347 { ac_try='test -z "$ac_c_werror_flag"
3348 || test ! -s conftest.err'
3349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; } &&
3354 { ac_try='test -s conftest.$ac_objext'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; }; then
3360 ac_cv_prog_cc_stdc=$ac_arg
3363 echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3367 rm -f conftest.err conftest.$ac_objext
3369 rm -f conftest.$ac_ext conftest.$ac_objext
3374 case "x$ac_cv_prog_cc_stdc" in
3376 echo "$as_me:$LINENO: result: none needed" >&5
3377 echo "${ECHO_T}none needed" >&6 ;;
3379 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3380 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3381 CC="$CC $ac_cv_prog_cc_stdc" ;;
3384 # Some people use a C++ compiler to compile C. Since we use `exit',
3385 # in C++ we need to declare it. In case someone uses the same compiler
3386 # for both compiling C and C++ we need to have the C++ compiler decide
3387 # the declaration of exit, since it's the most demanding environment.
3388 cat >conftest.$ac_ext <<_ACEOF
3393 rm -f conftest.$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1 >conftest.err
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 for ac_declaration in \
3417 'extern "C" void std::exit (int) throw (); using std::exit;' \
3418 'extern "C" void std::exit (int); using std::exit;' \
3419 'extern "C" void exit (int) throw ();' \
3420 'extern "C" void exit (int);' \
3423 cat >conftest.$ac_ext <<_ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3439 rm -f conftest.$ac_objext
3440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3441 (eval $ac_compile) 2>conftest.er1
3443 grep -v '^ *+' conftest.er1 >conftest.err
3445 cat conftest.err >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } &&
3448 { ac_try='test -z "$ac_c_werror_flag"
3449 || test ! -s conftest.err'
3450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); }; } &&
3455 { ac_try='test -s conftest.$ac_objext'
3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }; }; then
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3469 cat >conftest.$ac_ext <<_ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3484 rm -f conftest.$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1 >conftest.err
3490 cat conftest.err >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try='test -z "$ac_c_werror_flag"
3494 || test ! -s conftest.err'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; } &&
3500 { ac_try='test -s conftest.$ac_objext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3515 if test -n "$ac_declaration"; then
3516 echo '#ifdef __cplusplus' >>confdefs.h
3517 echo $ac_declaration >>confdefs.h
3518 echo '#endif' >>confdefs.h
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.$ac_ext >&5
3526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3533 depcc="$CC" am_compiler_list=
3535 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3536 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3537 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3541 # We make a subdir and do the tests there. Otherwise we can end up
3542 # making bogus files that we don't know about and never remove. For
3543 # instance it was reported that on HP-UX the gcc test will end up
3544 # making a dummy file named `D' -- because `-MD' means `put the output
3547 # Copy depcomp to subdir because otherwise we won't find it if we're
3548 # using a relative directory.
3549 cp "$am_depcomp" conftest.dir
3551 # We will build objects and dependencies in a subdirectory because
3552 # it helps to detect inapplicable dependency modes. For instance
3553 # both Tru64's cc and ICC support -MD to output dependencies as a
3554 # side effect of compilation, but ICC will put the dependencies in
3555 # the current directory while Tru64 will put them in the object
3559 am_cv_CC_dependencies_compiler_type=none
3560 if test "$am_compiler_list" = ""; then
3561 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3563 for depmode in $am_compiler_list; do
3564 # Setup a source with many dependencies, because some compilers
3565 # like to wrap large dependency lists on column 80 (with \), and
3566 # we should not choose a depcomp mode which is confused by this.
3568 # We need to recreate these files for each test, as the compiler may
3569 # overwrite some of them when testing with obscure command lines.
3570 # This happens at least with the AIX C compiler.
3572 for i in 1 2 3 4 5 6; do
3573 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3574 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3575 # Solaris 8's {/usr,}/bin/sh.
3576 touch sub/conftst$i.h
3578 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3582 # after this tag, mechanisms are not by side-effect, so they'll
3583 # only be used when explicitly requested
3584 if test "x$enable_dependency_tracking" = xyes; then
3592 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3593 # mode. It turns out that the SunPro C++ compiler does not properly
3594 # handle `-M -o', and we need to detect this.
3595 if depmode=$depmode \
3596 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3597 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3598 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3599 >/dev/null 2>conftest.err &&
3600 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3601 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3602 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3603 # icc doesn't choke on unknown options, it will just issue warnings
3604 # or remarks (even with -Werror). So we grep stderr for any message
3605 # that says an option was ignored or not supported.
3606 # When given -MP, icc 7.0 and 7.1 complain thusly:
3607 # icc: Command line warning: ignoring option '-M'; no argument required
3608 # The diagnosis changed in icc 8.0:
3609 # icc: Command line remark: option '-MP' not supported
3610 if (grep 'ignoring option' conftest.err ||
3611 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3612 am_cv_CC_dependencies_compiler_type=$depmode
3621 am_cv_CC_dependencies_compiler_type=none
3625 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3626 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3627 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3632 test "x$enable_dependency_tracking" != xno \
3633 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3635 am__fastdepCC_FALSE='#'
3637 am__fastdepCC_TRUE='#'
3638 am__fastdepCC_FALSE=
3642 # Find a good install program. We prefer a C program (faster),
3643 # so one script is as good as another. But avoid the broken or
3644 # incompatible versions:
3645 # SysV /etc/install, /usr/sbin/install
3646 # SunOS /usr/etc/install
3647 # IRIX /sbin/install
3649 # AmigaOS /C/install, which installs bootblocks on floppy discs
3650 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3653 # OS/2's system install, which has a completely different semantic
3654 # ./install, which can be erroneously created by make from ./install.sh.
3655 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3656 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3657 if test -z "$INSTALL"; then
3658 if test "${ac_cv_path_install+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir=.
3666 # Account for people who put trailing slashes in PATH elements.
3668 ./ | .// | /cC/* | \
3669 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3670 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3673 # OSF1 and SCO ODT 3.0 have their own names for install.
3674 # Don't use installbsd from OSF since it installs stuff as root
3676 for ac_prog in ginstall scoinst install; do
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3679 if test $ac_prog = install &&
3680 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3681 # AIX install. It has an incompatible calling convention.
3683 elif test $ac_prog = install &&
3684 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3685 # program-specific install script used by HP pwplus--don't use.
3688 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3700 if test "${ac_cv_path_install+set}" = set; then
3701 INSTALL=$ac_cv_path_install
3703 # As a last resort, use the slow shell script. We don't cache a
3704 # path for INSTALL within a source directory, because that will
3705 # break other packages using the cache if that directory is
3706 # removed, or if the path is relative.
3707 INSTALL=$ac_install_sh
3710 echo "$as_me:$LINENO: result: $INSTALL" >&5
3711 echo "${ECHO_T}$INSTALL" >&6
3713 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3714 # It thinks the first close brace ends the variable substitution.
3715 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3717 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3719 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3721 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3722 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3724 if test "$LN_S" = "ln -s"; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3728 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3729 echo "${ECHO_T}no, using $LN_S" >&6
3732 if test "x$CC" != xcc; then
3733 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3734 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3736 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3737 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3739 set dummy $CC; ac_cc=`echo $2 |
3740 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3741 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3759 # Make sure it works both with $CC and with simple cc.
3760 # We do the test twice because some compilers refuse to overwrite an
3761 # existing .o file with -o, though they will create one.
3762 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3763 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } &&
3768 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); };
3774 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3775 if test "x$CC" != xcc; then
3776 # Test first that cc exists at all.
3777 if { ac_try='cc -c conftest.$ac_ext >&5'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; }; then
3783 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3784 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); } &&
3789 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); };
3798 # cc exists but doesn't like -o.
3799 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3804 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3809 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3810 echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6
3813 echo "$as_me:$LINENO: result: no" >&5
3814 echo "${ECHO_T}no" >&6
3816 cat >>confdefs.h <<\_ACEOF
3817 #define NO_MINUS_C_MINUS_O 1
3822 # FIXME: we rely on the cache variable name because
3823 # there is no other way.
3825 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3826 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3827 # Losing compiler, so override with the script.
3828 # FIXME: It is wrong to rewrite CC.
3829 # But if we don't then we get into trouble of one sort or another.
3830 # A longer-term fix would be to have automake use am__CC in this case,
3831 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3832 CC="$am_aux_dir/compile $CC"
3839 echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
3840 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6
3841 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 ac_cpp='$CXXCPP $CPPFLAGS'
3847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3851 cat >conftest.$ac_ext <<_ACEOF
3856 rm -f conftest.$ac_objext
3857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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 { ac_try='test -z "$ac_cxx_werror_flag"
3866 || test ! -s conftest.err'
3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; } &&
3872 { ac_try='test -s conftest.$ac_objext'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; }; then
3878 ensc_cv_cxx_cxxcompiler=yes
3880 echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3883 ensc_cv_cxx_cxxcompiler=no
3885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3894 echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
3895 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6
3899 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
3900 ENSC_HAVE_CXX_COMPILER_TRUE=
3901 ENSC_HAVE_CXX_COMPILER_FALSE='#'
3903 ENSC_HAVE_CXX_COMPILER_TRUE='#'
3904 ENSC_HAVE_CXX_COMPILER_FALSE=
3908 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
3909 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
3910 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
3917 echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
3918 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6
3919 if test "${ensc_cv_c99_c99compiler+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 cat >conftest.$ac_ext <<_ACEOF
3931 int main(int argc, char *argv) {
3932 struct { int x; } a = { .x = argc };
3938 rm -f conftest.$ac_objext
3939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3940 (eval $ac_compile) 2>conftest.er1
3942 grep -v '^ *+' conftest.er1 >conftest.err
3944 cat conftest.err >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); } &&
3947 { ac_try='test -z "$ac_c_werror_flag"
3948 || test ! -s conftest.err'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; } &&
3954 { ac_try='test -s conftest.$ac_objext'
3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }; }; then
3960 ensc_cv_c99_c99compiler=yes
3962 echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3965 ensc_cv_c99_c99compiler=no
3967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3969 ac_cpp='$CPP $CPPFLAGS'
3970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976 echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
3977 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6
3981 if test x"$ensc_cv_c99_c99compiler" = xyes; then
3982 ENSC_HAVE_C99_COMPILER_TRUE=
3983 ENSC_HAVE_C99_COMPILER_FALSE='#'
3985 ENSC_HAVE_C99_COMPILER_TRUE='#'
3986 ENSC_HAVE_C99_COMPILER_FALSE=
3990 if test x"$ensc_cv_c99_c99compiler" = xno; then
3991 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
3992 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
3997 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4022 # Extract the first word of "$ac_prog", so it can be a program name with args.
4023 set dummy $ac_prog; ac_word=$2
4024 echo "$as_me:$LINENO: checking for $ac_word" >&5
4025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4026 if test "${ac_cv_path_AWK+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $ensc_searchpath
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 if test -n "$AWK"; then
4054 echo "$as_me:$LINENO: result: $AWK" >&5
4055 echo "${ECHO_T}$AWK" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4061 test -n "$AWK" && break
4063 test -n "$AWK" || AWK="$ensc_dflt"
4066 if test -z "${AWK}" && $rq; then
4068 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4069 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4070 { (exit 1); exit 1; }; }
4072 { { echo "$as_me:$LINENO: error:
4073 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4075 echo "$as_me: error:
4076 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4078 { (exit 1); exit 1; }; }
4082 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4103 # Extract the first word of "$ac_prog", so it can be a program name with args.
4104 set dummy $ac_prog; ac_word=$2
4105 echo "$as_me:$LINENO: checking for $ac_word" >&5
4106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4107 if test "${ac_cv_path_CAT+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 for as_dir in $ensc_searchpath
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4122 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 if test -n "$CAT"; then
4135 echo "$as_me:$LINENO: result: $CAT" >&5
4136 echo "${ECHO_T}$CAT" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4142 test -n "$CAT" && break
4144 test -n "$CAT" || CAT="$ensc_dflt"
4147 if test -z "${CAT}" && $rq; then
4149 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4150 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4151 { (exit 1); exit 1; }; }
4153 { { echo "$as_me:$LINENO: error:
4154 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4156 echo "$as_me: error:
4157 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4159 { (exit 1); exit 1; }; }
4163 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4182 for ac_prog in chown
4184 # Extract the first word of "$ac_prog", so it can be a program name with args.
4185 set dummy $ac_prog; ac_word=$2
4186 echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4188 if test "${ac_cv_path_CHOWN+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $ensc_searchpath
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 CHOWN=$ac_cv_path_CHOWN
4215 if test -n "$CHOWN"; then
4216 echo "$as_me:$LINENO: result: $CHOWN" >&5
4217 echo "${ECHO_T}$CHOWN" >&6
4219 echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6
4223 test -n "$CHOWN" && break
4225 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4228 if test -z "${CHOWN}" && $rq; then
4230 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4231 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4232 { (exit 1); exit 1; }; }
4234 { { echo "$as_me:$LINENO: error:
4235 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4237 echo "$as_me: error:
4238 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4240 { (exit 1); exit 1; }; }
4244 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy $ac_prog; ac_word=$2
4267 echo "$as_me:$LINENO: checking for $ac_word" >&5
4268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4269 if test "${ac_cv_path_CMP+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 for as_dir in $ensc_searchpath
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 if test -n "$CMP"; then
4297 echo "$as_me:$LINENO: result: $CMP" >&5
4298 echo "${ECHO_T}$CMP" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4304 test -n "$CMP" && break
4306 test -n "$CMP" || CMP="$ensc_dflt"
4309 if test -z "${CMP}" && $rq; then
4311 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4312 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4313 { (exit 1); exit 1; }; }
4315 { { echo "$as_me:$LINENO: error:
4316 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4318 echo "$as_me: error:
4319 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4321 { (exit 1); exit 1; }; }
4325 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4346 # Extract the first word of "$ac_prog", so it can be a program name with args.
4347 set dummy $ac_prog; ac_word=$2
4348 echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4350 if test "${ac_cv_path_CP+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $ensc_searchpath
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 if test -n "$CP"; then
4378 echo "$as_me:$LINENO: result: $CP" >&5
4379 echo "${ECHO_T}$CP" >&6
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4385 test -n "$CP" && break
4387 test -n "$CP" || CP="$ensc_dflt"
4390 if test -z "${CP}" && $rq; then
4392 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4393 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4394 { (exit 1); exit 1; }; }
4396 { { echo "$as_me:$LINENO: error:
4397 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4399 echo "$as_me: error:
4400 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4402 { (exit 1); exit 1; }; }
4406 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4425 for ac_prog in dirname
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy $ac_prog; ac_word=$2
4429 echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4431 if test "${ac_cv_path_DIRNAME+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $ensc_searchpath
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 DIRNAME=$ac_cv_path_DIRNAME
4458 if test -n "$DIRNAME"; then
4459 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4460 echo "${ECHO_T}$DIRNAME" >&6
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4466 test -n "$DIRNAME" && break
4468 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4471 if test -z "${DIRNAME}" && $rq; then
4473 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4474 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4475 { (exit 1); exit 1; }; }
4477 { { echo "$as_me:$LINENO: error:
4478 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4480 echo "$as_me: error:
4481 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4483 { (exit 1); exit 1; }; }
4487 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4506 for ac_prog in egrep
4508 # Extract the first word of "$ac_prog", so it can be a program name with args.
4509 set dummy $ac_prog; ac_word=$2
4510 echo "$as_me:$LINENO: checking for $ac_word" >&5
4511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4512 if test "${ac_cv_path_EGREP+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $ensc_searchpath
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 EGREP=$ac_cv_path_EGREP
4539 if test -n "$EGREP"; then
4540 echo "$as_me:$LINENO: result: $EGREP" >&5
4541 echo "${ECHO_T}$EGREP" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4547 test -n "$EGREP" && break
4549 test -n "$EGREP" || EGREP="$ensc_dflt"
4552 if test -z "${EGREP}" && $rq; then
4554 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4555 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4556 { (exit 1); exit 1; }; }
4558 { { echo "$as_me:$LINENO: error:
4559 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4561 echo "$as_me: error:
4562 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4564 { (exit 1); exit 1; }; }
4568 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4571 env_old_searchpath="${ensc_searchpath}"
4572 ensc_searchpath="/bin:${ensc_searchpath:-$PATH}"
4591 # Extract the first word of "$ac_prog", so it can be a program name with args.
4592 set dummy $ac_prog; ac_word=$2
4593 echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4595 if test "${ac_cv_path_ENV+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 for as_dir in $ensc_searchpath
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 if test -n "$ENV"; then
4623 echo "$as_me:$LINENO: result: $ENV" >&5
4624 echo "${ECHO_T}$ENV" >&6
4626 echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6
4630 test -n "$ENV" && break
4632 test -n "$ENV" || ENV="$ensc_dflt"
4635 if test -z "${ENV}" && $rq; then
4637 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
4638 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4639 { (exit 1); exit 1; }; }
4641 { { echo "$as_me:$LINENO: error:
4642 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4644 echo "$as_me: error:
4645 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4647 { (exit 1); exit 1; }; }
4651 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
4654 ensc_searchpath="${env_old_searchpath}"
4673 # Extract the first word of "$ac_prog", so it can be a program name with args.
4674 set dummy $ac_prog; ac_word=$2
4675 echo "$as_me:$LINENO: checking for $ac_word" >&5
4676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4677 if test "${ac_cv_path_GREP+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $ensc_searchpath
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 GREP=$ac_cv_path_GREP
4704 if test -n "$GREP"; then
4705 echo "$as_me:$LINENO: result: $GREP" >&5
4706 echo "${ECHO_T}$GREP" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4712 test -n "$GREP" && break
4714 test -n "$GREP" || GREP="$ensc_dflt"
4717 if test -z "${GREP}" && $rq; then
4719 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4720 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4721 { (exit 1); exit 1; }; }
4723 { { echo "$as_me:$LINENO: error:
4724 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4726 echo "$as_me: error:
4727 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4729 { (exit 1); exit 1; }; }
4733 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4754 # Extract the first word of "$ac_prog", so it can be a program name with args.
4755 set dummy $ac_prog; ac_word=$2
4756 echo "$as_me:$LINENO: checking for $ac_word" >&5
4757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4758 if test "${ac_cv_path_LN+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $ensc_searchpath
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 if test -n "$LN"; then
4786 echo "$as_me:$LINENO: result: $LN" >&5
4787 echo "${ECHO_T}$LN" >&6
4789 echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6
4793 test -n "$LN" && break
4795 test -n "$LN" || LN="$ensc_dflt"
4798 if test -z "${LN}" && $rq; then
4800 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
4801 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4802 { (exit 1); exit 1; }; }
4804 { { echo "$as_me:$LINENO: error:
4805 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4807 echo "$as_me: error:
4808 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4810 { (exit 1); exit 1; }; }
4814 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
4833 for ac_prog in mkdir
4835 # Extract the first word of "$ac_prog", so it can be a program name with args.
4836 set dummy $ac_prog; ac_word=$2
4837 echo "$as_me:$LINENO: checking for $ac_word" >&5
4838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4839 if test "${ac_cv_path_MKDIR+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $ensc_searchpath
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 MKDIR=$ac_cv_path_MKDIR
4866 if test -n "$MKDIR"; then
4867 echo "$as_me:$LINENO: result: $MKDIR" >&5
4868 echo "${ECHO_T}$MKDIR" >&6
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4874 test -n "$MKDIR" && break
4876 test -n "$MKDIR" || MKDIR="$ensc_dflt"
4879 if test -z "${MKDIR}" && $rq; then
4881 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
4882 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4883 { (exit 1); exit 1; }; }
4885 { { echo "$as_me:$LINENO: error:
4886 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
4888 echo "$as_me: error:
4889 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
4891 { (exit 1); exit 1; }; }
4895 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
4914 for ac_prog in mkfifo
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_path_MKFIFO+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 for as_dir in $ensc_searchpath
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
4936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 MKFIFO=$ac_cv_path_MKFIFO
4947 if test -n "$MKFIFO"; then
4948 echo "$as_me:$LINENO: result: $MKFIFO" >&5
4949 echo "${ECHO_T}$MKFIFO" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4955 test -n "$MKFIFO" && break
4957 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
4960 if test -z "${MKFIFO}" && $rq; then
4962 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
4963 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4964 { (exit 1); exit 1; }; }
4966 { { echo "$as_me:$LINENO: error:
4967 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
4969 echo "$as_me: error:
4970 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
4972 { (exit 1); exit 1; }; }
4976 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
4995 for ac_prog in mktemp
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_path_MKTEMP+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 for as_dir in $ensc_searchpath
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 MKTEMP=$ac_cv_path_MKTEMP
5028 if test -n "$MKTEMP"; then
5029 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5030 echo "${ECHO_T}$MKTEMP" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5036 test -n "$MKTEMP" && break
5038 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5041 if test -z "${MKTEMP}" && $rq; then
5043 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5044 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5045 { (exit 1); exit 1; }; }
5047 { { echo "$as_me:$LINENO: error:
5048 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5050 echo "$as_me: error:
5051 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5053 { (exit 1); exit 1; }; }
5057 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5076 for ac_prog in mount
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 echo "$as_me:$LINENO: checking for $ac_word" >&5
5081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5082 if test "${ac_cv_path_MOUNT+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $ensc_searchpath
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 MOUNT=$ac_cv_path_MOUNT
5109 if test -n "$MOUNT"; then
5110 echo "$as_me:$LINENO: result: $MOUNT" >&5
5111 echo "${ECHO_T}$MOUNT" >&6
5113 echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6
5117 test -n "$MOUNT" && break
5119 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5122 if test -z "${MOUNT}" && $rq; then
5124 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5125 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5126 { (exit 1); exit 1; }; }
5128 { { echo "$as_me:$LINENO: error:
5129 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5131 echo "$as_me: error:
5132 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5134 { (exit 1); exit 1; }; }
5138 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5159 # Extract the first word of "$ac_prog", so it can be a program name with args.
5160 set dummy $ac_prog; ac_word=$2
5161 echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5163 if test "${ac_cv_path_MV+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $ensc_searchpath
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 if test -n "$MV"; then
5191 echo "$as_me:$LINENO: result: $MV" >&5
5192 echo "${ECHO_T}$MV" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5198 test -n "$MV" && break
5200 test -n "$MV" || MV="$ensc_dflt"
5203 if test -z "${MV}" && $rq; then
5205 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5206 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5207 { (exit 1); exit 1; }; }
5209 { { echo "$as_me:$LINENO: error:
5210 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5212 echo "$as_me: error:
5213 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5215 { (exit 1); exit 1; }; }
5219 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5240 # Extract the first word of "$ac_prog", so it can be a program name with args.
5241 set dummy $ac_prog; ac_word=$2
5242 echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5244 if test "${ac_cv_path_NICE+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $ensc_searchpath
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 NICE=$ac_cv_path_NICE
5271 if test -n "$NICE"; then
5272 echo "$as_me:$LINENO: result: $NICE" >&5
5273 echo "${ECHO_T}$NICE" >&6
5275 echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6
5279 test -n "$NICE" && break
5281 test -n "$NICE" || NICE="$ensc_dflt"
5284 if test -z "${NICE}" && $rq; then
5286 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5287 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5288 { (exit 1); exit 1; }; }
5290 { { echo "$as_me:$LINENO: error:
5291 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5293 echo "$as_me: error:
5294 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5296 { (exit 1); exit 1; }; }
5300 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5321 # Extract the first word of "$ac_prog", so it can be a program name with args.
5322 set dummy $ac_prog; ac_word=$2
5323 echo "$as_me:$LINENO: checking for $ac_word" >&5
5324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5325 if test "${ac_cv_path_PS+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $ensc_searchpath
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 if test -n "$PS"; then
5353 echo "$as_me:$LINENO: result: $PS" >&5
5354 echo "${ECHO_T}$PS" >&6
5356 echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6
5360 test -n "$PS" && break
5362 test -n "$PS" || PS="$ensc_dflt"
5365 if test -z "${PS}" && $rq; then
5367 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5368 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5369 { (exit 1); exit 1; }; }
5371 { { echo "$as_me:$LINENO: error:
5372 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5374 echo "$as_me: error:
5375 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5377 { (exit 1); exit 1; }; }
5381 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5402 # Extract the first word of "$ac_prog", so it can be a program name with args.
5403 set dummy $ac_prog; ac_word=$2
5404 echo "$as_me:$LINENO: checking for $ac_word" >&5
5405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5406 if test "${ac_cv_path_RM+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $ensc_searchpath
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 if test -n "$RM"; then
5434 echo "$as_me:$LINENO: result: $RM" >&5
5435 echo "${ECHO_T}$RM" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5441 test -n "$RM" && break
5443 test -n "$RM" || RM="$ensc_dflt"
5446 if test -z "${RM}" && $rq; then
5448 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5449 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5450 { (exit 1); exit 1; }; }
5452 { { echo "$as_me:$LINENO: error:
5453 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5455 echo "$as_me: error:
5456 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5458 { (exit 1); exit 1; }; }
5462 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5481 for ac_prog in rmdir
5483 # Extract the first word of "$ac_prog", so it can be a program name with args.
5484 set dummy $ac_prog; ac_word=$2
5485 echo "$as_me:$LINENO: checking for $ac_word" >&5
5486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5487 if test "${ac_cv_path_RMDIR+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $ensc_searchpath
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 RMDIR=$ac_cv_path_RMDIR
5514 if test -n "$RMDIR"; then
5515 echo "$as_me:$LINENO: result: $RMDIR" >&5
5516 echo "${ECHO_T}$RMDIR" >&6
5518 echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6
5522 test -n "$RMDIR" && break
5524 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5527 if test -z "${RMDIR}" && $rq; then
5529 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5530 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5531 { (exit 1); exit 1; }; }
5533 { { echo "$as_me:$LINENO: error:
5534 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5536 echo "$as_me: error:
5537 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5539 { (exit 1); exit 1; }; }
5543 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5564 # Extract the first word of "$ac_prog", so it can be a program name with args.
5565 set dummy $ac_prog; ac_word=$2
5566 echo "$as_me:$LINENO: checking for $ac_word" >&5
5567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5568 if test "${ac_cv_path_SED+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $ensc_searchpath
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 if test -n "$SED"; then
5596 echo "$as_me:$LINENO: result: $SED" >&5
5597 echo "${ECHO_T}$SED" >&6
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5603 test -n "$SED" && break
5605 test -n "$SED" || SED="$ensc_dflt"
5608 if test -z "${SED}" && $rq; then
5610 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5611 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5612 { (exit 1); exit 1; }; }
5614 { { echo "$as_me:$LINENO: error:
5615 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5617 echo "$as_me: error:
5618 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5620 { (exit 1); exit 1; }; }
5624 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5645 # Extract the first word of "$ac_prog", so it can be a program name with args.
5646 set dummy $ac_prog; ac_word=$2
5647 echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5649 if test "${ac_cv_path_SH+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $ensc_searchpath
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 if test -n "$SH"; then
5677 echo "$as_me:$LINENO: result: $SH" >&5
5678 echo "${ECHO_T}$SH" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5684 test -n "$SH" && break
5686 test -n "$SH" || SH="$ensc_dflt"
5689 if test -z "${SH}" && $rq; then
5691 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5692 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5693 { (exit 1); exit 1; }; }
5695 { { echo "$as_me:$LINENO: error:
5696 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5698 echo "$as_me: error:
5699 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5701 { (exit 1); exit 1; }; }
5705 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 echo "$as_me:$LINENO: checking for $ac_word" >&5
5729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5730 if test "${ac_cv_path_TAC+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $ensc_searchpath
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
5746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 if test -n "$TAC"; then
5758 echo "$as_me:$LINENO: result: $TAC" >&5
5759 echo "${ECHO_T}$TAC" >&6
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5765 test -n "$TAC" && break
5767 test -n "$TAC" || TAC="$ensc_dflt"
5770 if test -z "${TAC}" && $rq; then
5772 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
5773 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5774 { (exit 1); exit 1; }; }
5776 { { echo "$as_me:$LINENO: error:
5777 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5779 echo "$as_me: error:
5780 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5782 { (exit 1); exit 1; }; }
5786 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
5807 # Extract the first word of "$ac_prog", so it can be a program name with args.
5808 set dummy $ac_prog; ac_word=$2
5809 echo "$as_me:$LINENO: checking for $ac_word" >&5
5810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5811 if test "${ac_cv_path_TAR+set}" = set; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $ensc_searchpath
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 if test -n "$TAR"; then
5839 echo "$as_me:$LINENO: result: $TAR" >&5
5840 echo "${ECHO_T}$TAR" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5846 test -n "$TAR" && break
5848 test -n "$TAR" || TAR="$ensc_dflt"
5851 if test -z "${TAR}" && $rq; then
5853 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
5854 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5855 { (exit 1); exit 1; }; }
5857 { { echo "$as_me:$LINENO: error:
5858 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
5860 echo "$as_me: error:
5861 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
5863 { (exit 1); exit 1; }; }
5867 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
5886 for ac_prog in touch
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy $ac_prog; ac_word=$2
5890 echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5892 if test "${ac_cv_path_TOUCH+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $ensc_searchpath
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 TOUCH=$ac_cv_path_TOUCH
5919 if test -n "$TOUCH"; then
5920 echo "$as_me:$LINENO: result: $TOUCH" >&5
5921 echo "${ECHO_T}$TOUCH" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5927 test -n "$TOUCH" && break
5929 test -n "$TOUCH" || TOUCH="$ensc_dflt"
5932 if test -z "${TOUCH}" && $rq; then
5934 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
5935 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5936 { (exit 1); exit 1; }; }
5938 { { echo "$as_me:$LINENO: error:
5939 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
5941 echo "$as_me: error:
5942 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
5944 { (exit 1); exit 1; }; }
5948 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
5969 # Extract the first word of "$ac_prog", so it can be a program name with args.
5970 set dummy $ac_prog; ac_word=$2
5971 echo "$as_me:$LINENO: checking for $ac_word" >&5
5972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5973 if test "${ac_cv_path_TTY+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $ensc_searchpath
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
5989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 if test -n "$TTY"; then
6001 echo "$as_me:$LINENO: result: $TTY" >&5
6002 echo "${ECHO_T}$TTY" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6008 test -n "$TTY" && break
6010 test -n "$TTY" || TTY="$ensc_dflt"
6013 if test -z "${TTY}" && $rq; then
6015 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6016 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6017 { (exit 1); exit 1; }; }
6019 { { echo "$as_me:$LINENO: error:
6020 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6022 echo "$as_me: error:
6023 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6025 { (exit 1); exit 1; }; }
6029 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6048 for ac_prog in umount
6050 # Extract the first word of "$ac_prog", so it can be a program name with args.
6051 set dummy $ac_prog; ac_word=$2
6052 echo "$as_me:$LINENO: checking for $ac_word" >&5
6053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6054 if test "${ac_cv_path_UMOUNT+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $ensc_searchpath
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 UMOUNT=$ac_cv_path_UMOUNT
6081 if test -n "$UMOUNT"; then
6082 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6083 echo "${ECHO_T}$UMOUNT" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6089 test -n "$UMOUNT" && break
6091 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6094 if test -z "${UMOUNT}" && $rq; then
6096 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6097 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6098 { (exit 1); exit 1; }; }
6100 { { echo "$as_me:$LINENO: error:
6101 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6103 echo "$as_me: error:
6104 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6106 { (exit 1); exit 1; }; }
6110 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6131 # Extract the first word of "$ac_prog", so it can be a program name with args.
6132 set dummy $ac_prog; ac_word=$2
6133 echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6135 if test "${ac_cv_path_WC+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $ensc_searchpath
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 if test -n "$WC"; then
6163 echo "$as_me:$LINENO: result: $WC" >&5
6164 echo "${ECHO_T}$WC" >&6
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6170 test -n "$WC" && break
6172 test -n "$WC" || WC="$ensc_dflt"
6175 if test -z "${WC}" && $rq; then
6177 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6178 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6179 { (exit 1); exit 1; }; }
6181 { { echo "$as_me:$LINENO: error:
6182 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6184 echo "$as_me: error:
6185 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6187 { (exit 1); exit 1; }; }
6191 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6214 # Extract the first word of "$ac_prog", so it can be a program name with args.
6215 set dummy $ac_prog; ac_word=$2
6216 echo "$as_me:$LINENO: checking for $ac_word" >&5
6217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6218 if test "${ac_cv_path_IP+set}" = set; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6223 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $ensc_searchpath
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 if test -n "$IP"; then
6246 echo "$as_me:$LINENO: result: $IP" >&5
6247 echo "${ECHO_T}$IP" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6253 test -n "$IP" && break
6255 test -n "$IP" || IP="$ensc_dflt"
6258 if test -z "${IP}" && $rq; then
6259 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6260 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6261 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6262 { (exit 1); exit 1; }; }
6264 { { echo "$as_me:$LINENO: error:
6265 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6266 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6267 echo "$as_me: error:
6268 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6269 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6270 { (exit 1); exit 1; }; }
6274 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6293 for ac_prog in iptables
6295 # Extract the first word of "$ac_prog", so it can be a program name with args.
6296 set dummy $ac_prog; ac_word=$2
6297 echo "$as_me:$LINENO: checking for $ac_word" >&5
6298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6299 if test "${ac_cv_path_IPTABLES+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 for as_dir in $ensc_searchpath
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 IPTABLES=$ac_cv_path_IPTABLES
6326 if test -n "$IPTABLES"; then
6327 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6328 echo "${ECHO_T}$IPTABLES" >&6
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6334 test -n "$IPTABLES" && break
6336 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6339 if test -z "${IPTABLES}" && $rq; then
6341 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6342 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6343 { (exit 1); exit 1; }; }
6345 { { echo "$as_me:$LINENO: error:
6346 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6348 echo "$as_me: error:
6349 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6351 { (exit 1); exit 1; }; }
6355 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6374 for ac_prog in modprobe
6376 # Extract the first word of "$ac_prog", so it can be a program name with args.
6377 set dummy $ac_prog; ac_word=$2
6378 echo "$as_me:$LINENO: checking for $ac_word" >&5
6379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6380 if test "${ac_cv_path_MODPROBE+set}" = set; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in $ensc_searchpath
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 MODPROBE=$ac_cv_path_MODPROBE
6407 if test -n "$MODPROBE"; then
6408 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6409 echo "${ECHO_T}$MODPROBE" >&6
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6415 test -n "$MODPROBE" && break
6417 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6420 if test -z "${MODPROBE}" && $rq; then
6422 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6423 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6424 { (exit 1); exit 1; }; }
6426 { { echo "$as_me:$LINENO: error:
6427 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6429 echo "$as_me: error:
6430 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6432 { (exit 1); exit 1; }; }
6436 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6455 for ac_prog in nameif
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy $ac_prog; ac_word=$2
6459 echo "$as_me:$LINENO: checking for $ac_word" >&5
6460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6461 if test "${ac_cv_path_NAMEIF+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $ensc_searchpath
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 NAMEIF=$ac_cv_path_NAMEIF
6488 if test -n "$NAMEIF"; then
6489 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6490 echo "${ECHO_T}$NAMEIF" >&6
6492 echo "$as_me:$LINENO: result: no" >&5
6493 echo "${ECHO_T}no" >&6
6496 test -n "$NAMEIF" && break
6498 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6501 if test -z "${NAMEIF}" && $rq; then
6503 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6504 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6505 { (exit 1); exit 1; }; }
6507 { { echo "$as_me:$LINENO: error:
6508 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6510 echo "$as_me: error:
6511 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6513 { (exit 1); exit 1; }; }
6517 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6536 for ac_prog in nohup
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy $ac_prog; ac_word=$2
6540 echo "$as_me:$LINENO: checking for $ac_word" >&5
6541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6542 if test "${ac_cv_path_NOHUP+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $ensc_searchpath
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 NOHUP=$ac_cv_path_NOHUP
6569 if test -n "$NOHUP"; then
6570 echo "$as_me:$LINENO: result: $NOHUP" >&5
6571 echo "${ECHO_T}$NOHUP" >&6
6573 echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6
6577 test -n "$NOHUP" && break
6579 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6582 if test -z "${NOHUP}" && $rq; then
6584 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6585 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6586 { (exit 1); exit 1; }; }
6588 { { echo "$as_me:$LINENO: error:
6589 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6591 echo "$as_me: error:
6592 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6594 { (exit 1); exit 1; }; }
6598 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6617 for ac_prog in rmmod
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 echo "$as_me:$LINENO: checking for $ac_word" >&5
6622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6623 if test "${ac_cv_path_RMMOD+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $ensc_searchpath
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 RMMOD=$ac_cv_path_RMMOD
6650 if test -n "$RMMOD"; then
6651 echo "$as_me:$LINENO: result: $RMMOD" >&5
6652 echo "${ECHO_T}$RMMOD" >&6
6654 echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6
6658 test -n "$RMMOD" && break
6660 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6663 if test -z "${RMMOD}" && $rq; then
6665 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6666 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6667 { (exit 1); exit 1; }; }
6669 { { echo "$as_me:$LINENO: error:
6670 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6672 echo "$as_me: error:
6673 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6675 { (exit 1); exit 1; }; }
6679 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
6698 for ac_prog in vconfig
6700 # Extract the first word of "$ac_prog", so it can be a program name with args.
6701 set dummy $ac_prog; ac_word=$2
6702 echo "$as_me:$LINENO: checking for $ac_word" >&5
6703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6704 if test "${ac_cv_path_VCONFIG+set}" = set; then
6705 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $ensc_searchpath
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
6720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 VCONFIG=$ac_cv_path_VCONFIG
6731 if test -n "$VCONFIG"; then
6732 echo "$as_me:$LINENO: result: $VCONFIG" >&5
6733 echo "${ECHO_T}$VCONFIG" >&6
6735 echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6
6739 test -n "$VCONFIG" && break
6741 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
6744 if test -z "${VCONFIG}" && $rq; then
6745 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
6746 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
6747 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6748 { (exit 1); exit 1; }; }
6750 { { echo "$as_me:$LINENO: error:
6751 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6752 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
6753 echo "$as_me: error:
6754 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6755 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
6756 { (exit 1); exit 1; }; }
6760 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
6781 # Extract the first word of "$ac_prog", so it can be a program name with args.
6782 set dummy $ac_prog; ac_word=$2
6783 echo "$as_me:$LINENO: checking for $ac_word" >&5
6784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6785 if test "${ac_cv_path_WGET+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6790 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $ensc_searchpath
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
6801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 WGET=$ac_cv_path_WGET
6812 if test -n "$WGET"; then
6813 echo "$as_me:$LINENO: result: $WGET" >&5
6814 echo "${ECHO_T}$WGET" >&6
6816 echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6
6820 test -n "$WGET" && break
6822 test -n "$WGET" || WGET="$ensc_dflt"
6825 if test -z "${WGET}" && $rq; then
6827 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
6828 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6829 { (exit 1); exit 1; }; }
6831 { { echo "$as_me:$LINENO: error:
6832 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6834 echo "$as_me: error:
6835 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6837 { (exit 1); exit 1; }; }
6841 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
6848 if test -z "file"; then
6862 # Extract the first word of "$ac_prog", so it can be a program name with args.
6863 set dummy $ac_prog; ac_word=$2
6864 echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6866 if test "${ac_cv_path_FILE+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $ensc_searchpath
6878 test -z "$as_dir" && as_dir=.
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881 ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
6882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 FILE=$ac_cv_path_FILE
6893 if test -n "$FILE"; then
6894 echo "$as_me:$LINENO: result: $FILE" >&5
6895 echo "${ECHO_T}$FILE" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6901 test -n "$FILE" && break
6903 test -n "$FILE" || FILE="$ensc_dflt"
6906 if test -z "${FILE}" && $rq; then
6908 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
6909 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6910 { (exit 1); exit 1; }; }
6912 { { echo "$as_me:$LINENO: error:
6913 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
6915 echo "$as_me: error:
6916 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
6918 { (exit 1); exit 1; }; }
6922 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
6929 if test -z "gzip"; then
6943 # Extract the first word of "$ac_prog", so it can be a program name with args.
6944 set dummy $ac_prog; ac_word=$2
6945 echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6947 if test "${ac_cv_path_GZIP+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $ensc_searchpath
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
6963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 GZIP=$ac_cv_path_GZIP
6974 if test -n "$GZIP"; then
6975 echo "$as_me:$LINENO: result: $GZIP" >&5
6976 echo "${ECHO_T}$GZIP" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6982 test -n "$GZIP" && break
6984 test -n "$GZIP" || GZIP="$ensc_dflt"
6987 if test -z "${GZIP}" && $rq; then
6989 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
6990 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6991 { (exit 1); exit 1; }; }
6993 { { echo "$as_me:$LINENO: error:
6994 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
6996 echo "$as_me: error:
6997 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
6999 { (exit 1); exit 1; }; }
7003 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
7010 if test -z "bzip2"; then
7022 for ac_prog in bzip2
7024 # Extract the first word of "$ac_prog", so it can be a program name with args.
7025 set dummy $ac_prog; ac_word=$2
7026 echo "$as_me:$LINENO: checking for $ac_word" >&5
7027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7028 if test "${ac_cv_path_BZIP2+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $ensc_searchpath
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
7044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 BZIP2=$ac_cv_path_BZIP2
7055 if test -n "$BZIP2"; then
7056 echo "$as_me:$LINENO: result: $BZIP2" >&5
7057 echo "${ECHO_T}$BZIP2" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7063 test -n "$BZIP2" && break
7065 test -n "$BZIP2" || BZIP2="$ensc_dflt"
7068 if test -z "${BZIP2}" && $rq; then
7070 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
7071 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7072 { (exit 1); exit 1; }; }
7074 { { echo "$as_me:$LINENO: error:
7075 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7077 echo "$as_me: error:
7078 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7080 { (exit 1); exit 1; }; }
7084 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
7091 if test -z "cpio"; then
7105 # Extract the first word of "$ac_prog", so it can be a program name with args.
7106 set dummy $ac_prog; ac_word=$2
7107 echo "$as_me:$LINENO: checking for $ac_word" >&5
7108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7109 if test "${ac_cv_path_CPIO+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 for as_dir in $ensc_searchpath
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
7125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 CPIO=$ac_cv_path_CPIO
7136 if test -n "$CPIO"; then
7137 echo "$as_me:$LINENO: result: $CPIO" >&5
7138 echo "${ECHO_T}$CPIO" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7144 test -n "$CPIO" && break
7146 test -n "$CPIO" || CPIO="$ensc_dflt"
7149 if test -z "${CPIO}" && $rq; then
7151 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
7152 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7153 { (exit 1); exit 1; }; }
7155 { { echo "$as_me:$LINENO: error:
7156 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7158 echo "$as_me: error:
7159 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7161 { (exit 1); exit 1; }; }
7165 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
7172 if test -z "restore"; then
7184 for ac_prog in restore
7186 # Extract the first word of "$ac_prog", so it can be a program name with args.
7187 set dummy $ac_prog; ac_word=$2
7188 echo "$as_me:$LINENO: checking for $ac_word" >&5
7189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7190 if test "${ac_cv_path_RESTORE+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $ensc_searchpath
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7205 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 RESTORE=$ac_cv_path_RESTORE
7217 if test -n "$RESTORE"; then
7218 echo "$as_me:$LINENO: result: $RESTORE" >&5
7219 echo "${ECHO_T}$RESTORE" >&6
7221 echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6
7225 test -n "$RESTORE" && break
7227 test -n "$RESTORE" || RESTORE="$ensc_dflt"
7230 if test -z "${RESTORE}" && $rq; then
7232 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
7233 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7234 { (exit 1); exit 1; }; }
7236 { { echo "$as_me:$LINENO: error:
7237 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
7239 echo "$as_me: error:
7240 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
7242 { (exit 1); exit 1; }; }
7246 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
7253 if test -z "rsync"; then
7265 for ac_prog in rsync
7267 # Extract the first word of "$ac_prog", so it can be a program name with args.
7268 set dummy $ac_prog; ac_word=$2
7269 echo "$as_me:$LINENO: checking for $ac_word" >&5
7270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7271 if test "${ac_cv_path_RSYNC+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $ensc_searchpath
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
7287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 RSYNC=$ac_cv_path_RSYNC
7298 if test -n "$RSYNC"; then
7299 echo "$as_me:$LINENO: result: $RSYNC" >&5
7300 echo "${ECHO_T}$RSYNC" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7306 test -n "$RSYNC" && break
7308 test -n "$RSYNC" || RSYNC="$ensc_dflt"
7311 if test -z "${RSYNC}" && $rq; then
7313 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
7314 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7315 { (exit 1); exit 1; }; }
7317 { { echo "$as_me:$LINENO: error:
7318 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
7320 echo "$as_me: error:
7321 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
7323 { (exit 1); exit 1; }; }
7327 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
7335 if test -z ":"; then
7347 for ac_prog in doxygen
7349 # Extract the first word of "$ac_prog", so it can be a program name with args.
7350 set dummy $ac_prog; ac_word=$2
7351 echo "$as_me:$LINENO: checking for $ac_word" >&5
7352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7353 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7358 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 for as_dir in $ensc_searchpath
7365 test -z "$as_dir" && as_dir=.
7366 for ac_exec_ext in '' $ac_executable_extensions; do
7367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7368 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 DOXYGEN=$ac_cv_path_DOXYGEN
7380 if test -n "$DOXYGEN"; then
7381 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7382 echo "${ECHO_T}$DOXYGEN" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7388 test -n "$DOXYGEN" && break
7390 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
7393 if test -z "${DOXYGEN}" && $rq; then
7395 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
7396 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7397 { (exit 1); exit 1; }; }
7399 { { echo "$as_me:$LINENO: error:
7400 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7402 echo "$as_me: error:
7403 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7405 { (exit 1); exit 1; }; }
7409 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
7416 if test -z ":"; then
7428 for ac_prog in xsltp
7430 # Extract the first word of "$ac_prog", so it can be a program name with args.
7431 set dummy $ac_prog; ac_word=$2
7432 echo "$as_me:$LINENO: checking for $ac_word" >&5
7433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7434 if test "${ac_cv_path_XSLTP+set}" = set; then
7435 echo $ECHO_N "(cached) $ECHO_C" >&6
7439 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 for as_dir in $ensc_searchpath
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
7450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 XSLTP=$ac_cv_path_XSLTP
7461 if test -n "$XSLTP"; then
7462 echo "$as_me:$LINENO: result: $XSLTP" >&5
7463 echo "${ECHO_T}$XSLTP" >&6
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7469 test -n "$XSLTP" && break
7471 test -n "$XSLTP" || XSLTP="$ensc_dflt"
7474 if test -z "${XSLTP}" && $rq; then
7476 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
7477 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7478 { (exit 1); exit 1; }; }
7480 { { echo "$as_me:$LINENO: error:
7481 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7483 echo "$as_me: error:
7484 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7486 { (exit 1); exit 1; }; }
7490 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7497 if test -z ":"; then
7509 for ac_prog in xsltproc
7511 # Extract the first word of "$ac_prog", so it can be a program name with args.
7512 set dummy $ac_prog; ac_word=$2
7513 echo "$as_me:$LINENO: checking for $ac_word" >&5
7514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7515 if test "${ac_cv_path_XSLTPROC+set}" = set; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $ensc_searchpath
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 XSLTPROC=$ac_cv_path_XSLTPROC
7542 if test -n "$XSLTPROC"; then
7543 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7544 echo "${ECHO_T}$XSLTPROC" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7550 test -n "$XSLTPROC" && break
7552 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7555 if test -z "${XSLTPROC}" && $rq; then
7557 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7558 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7559 { (exit 1); exit 1; }; }
7561 { { echo "$as_me:$LINENO: error:
7562 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7564 echo "$as_me: error:
7565 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7567 { (exit 1); exit 1; }; }
7571 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7578 if test "$XSLTP" != ':'; then
7580 HAVE_XSLTP_FALSE='#'
7588 if test "$XSLTPROC" != ':'; then
7590 HAVE_XSLTPROC_FALSE='#'
7592 HAVE_XSLTPROC_TRUE='#'
7593 HAVE_XSLTPROC_FALSE=
7597 if test x"$prefix" = x/; then
7603 warn_flags="-Werror -W"
7604 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7605 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7607 ac_cpp='$CPP $CPPFLAGS'
7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7612 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7613 CFLAGS="$warn_flags"
7614 cat >conftest.$ac_ext <<_ACEOF
7617 cat confdefs.h >>conftest.$ac_ext
7618 cat >>conftest.$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 inline static void f(){}
7629 rm -f conftest.$ac_objext
7630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7631 (eval $ac_compile) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1 >conftest.err
7635 cat conftest.err >&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try='test -z "$ac_c_werror_flag"
7639 || test ! -s conftest.err'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; } &&
7645 { ac_try='test -s conftest.$ac_objext'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; }; then
7651 ensc_sys_compilerwarnflags_C=${warn_flags}
7653 echo "$as_me: failed program was:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7656 ensc_sys_compilerwarnflags_C=
7658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7660 ac_cpp='$CPP $CPPFLAGS'
7661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7665 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7667 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
7668 echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7671 echo "$as_me:$LINENO: result: yes" >&5
7672 echo "${ECHO_T}yes" >&6
7679 echo 'void f(){}' > conftest.c
7680 for i in -std=c99 -Wall -pedantic -W
7682 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7683 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7684 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7686 CFLAGS="${CFLAGS} $i"
7687 echo "$as_me:$LINENO: result: yes" >&5
7688 echo "${ECHO_T}yes" >&6
7690 echo "$as_me:$LINENO: result: no" >&5
7691 echo "${ECHO_T}no" >&6
7694 rm -f conftest.c conftest.o
7698 warn_flags="-Werror -W"
7699 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
7700 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
7702 ac_cpp='$CXXCPP $CPPFLAGS'
7703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7707 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
7708 CXXFLAGS="$warn_flags"
7709 cat >conftest.$ac_ext <<_ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715 inline static void f(){}
7724 rm -f conftest.$ac_objext
7725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7726 (eval $ac_compile) 2>conftest.er1
7728 grep -v '^ *+' conftest.er1 >conftest.err
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_cxx_werror_flag"
7734 || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try='test -s conftest.$ac_objext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7746 ensc_sys_compilerwarnflags_CXX=${warn_flags}
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7751 ensc_sys_compilerwarnflags_CXX=
7753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7755 ac_cpp='$CPP $CPPFLAGS'
7756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7760 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7762 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
7763 echo "$as_me:$LINENO: result: no" >&5
7764 echo "${ECHO_T}no" >&6
7766 echo "$as_me:$LINENO: result: yes" >&5
7767 echo "${ECHO_T}yes" >&6
7774 echo 'void f(){}' > conftest.cc
7775 for i in -ansi -Wall -pedantic -W -fmessage-length=0
7777 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7778 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7779 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7781 CXXFLAGS="${CXXFLAGS} $i"
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7789 rm -f conftest.cc conftest.o
7792 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
7793 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
7794 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
7795 if test "${enable_extra_optimizations+set}" = set; then
7796 enableval="$enable_extra_optimizations"
7797 case "$enableval" in
7798 (yes) use_extra_optimizations=1;;
7799 (no) use_extra_optimizations=;;
7800 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
7801 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
7802 { (exit 1); exit 1; }; };;
7805 use_extra_optimizations=1
7808 if test x"$use_extra_optimizations" = x; then
7809 echo "$as_me:$LINENO: result: no" >&5
7810 echo "${ECHO_T}no" >&6
7812 echo "$as_me:$LINENO: result: yes" >&5
7813 echo "${ECHO_T}yes" >&6
7817 echo 'void f(){}' > conftest.c
7818 for i in -funit-at-a-time
7820 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7821 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7822 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7824 CFLAGS="${CFLAGS} $i"
7825 echo "$as_me:$LINENO: result: yes" >&5
7826 echo "${ECHO_T}yes" >&6
7828 echo "$as_me:$LINENO: result: no" >&5
7829 echo "${ECHO_T}no" >&6
7832 rm -f conftest.c conftest.o
7837 echo 'void f(){}' > conftest.cc
7838 for i in -funit-at-a-time
7840 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7841 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7842 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7844 CXXFLAGS="${CXXFLAGS} $i"
7845 echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7852 rm -f conftest.cc conftest.o
7856 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
7857 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
7858 # Check whether --enable-lib-debug or --disable-lib-debug was given.
7859 if test "${enable_lib_debug+set}" = set; then
7860 enableval="$enable_lib_debug"
7861 case "$enableval" in
7862 (yes) use_lib_debug=1;;
7863 (no) use_lib_debug=;;
7864 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
7865 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
7866 { (exit 1); exit 1; }; };;
7872 if test x"$use_lib_debug" = x; then
7873 LIB_DEBUG_CPPFLAGS=-DNDEBUG
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7883 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
7884 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
7885 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
7886 if test "${enable_expensive_tests+set}" = set; then
7887 enableval="$enable_expensive_tests"
7888 case "$enableval" in
7889 (yes|no) use_expensive_tests=$enableval;;
7890 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
7891 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
7892 { (exit 1); exit 1; }; };;
7895 use_expensive_tests=no
7897 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
7898 echo "${ECHO_T}$use_expensive_tests" >&6
7900 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
7905 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
7906 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
7907 echo "$as_me:$LINENO: result: " >&5
7908 echo "${ECHO_T}" >&6
7911 ac_cpp='$CPP $CPPFLAGS'
7912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7916 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
7917 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
7918 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 cat >conftest.$ac_ext <<_ACEOF
7924 cat confdefs.h >>conftest.$ac_ext
7925 cat >>conftest.$ac_ext <<_ACEOF
7926 /* end confdefs.h. */
7928 #include <linux/personality.h>
7934 #ifndef MMAP_PAGE_ZERO
7935 char *p = (char *) MMAP_PAGE_ZERO;
7942 rm -f conftest.$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944 (eval $ac_compile) 2>conftest.er1
7946 grep -v '^ *+' conftest.er1 >conftest.err
7948 cat conftest.err >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); } &&
7951 { ac_try='test -z "$ac_c_werror_flag"
7952 || test ! -s conftest.err'
7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; } &&
7958 { ac_try='test -s conftest.$ac_objext'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; }; then
7964 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
7966 echo "$as_me: failed program was:" >&5
7967 sed 's/^/| /' conftest.$ac_ext >&5
7969 ac_cv_have_decl_MMAP_PAGE_ZERO=no
7971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7973 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
7974 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
7975 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
7977 cat >>confdefs.h <<_ACEOF
7978 #define HAVE_DECL_MMAP_PAGE_ZERO 1
7983 cat >>confdefs.h <<_ACEOF
7984 #define HAVE_DECL_MMAP_PAGE_ZERO 0
7989 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
7990 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
7991 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 cat >conftest.$ac_ext <<_ACEOF
7997 cat confdefs.h >>conftest.$ac_ext
7998 cat >>conftest.$ac_ext <<_ACEOF
7999 /* end confdefs.h. */
8001 #include <linux/personality.h>
8007 #ifndef ADDR_LIMIT_32BIT
8008 char *p = (char *) ADDR_LIMIT_32BIT;
8015 rm -f conftest.$ac_objext
8016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8017 (eval $ac_compile) 2>conftest.er1
8019 grep -v '^ *+' conftest.er1 >conftest.err
8021 cat conftest.err >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } &&
8024 { ac_try='test -z "$ac_c_werror_flag"
8025 || test ! -s conftest.err'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; } &&
8031 { ac_try='test -s conftest.$ac_objext'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; }; then
8037 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8042 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
8044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8046 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
8047 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
8048 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
8050 cat >>confdefs.h <<_ACEOF
8051 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
8056 cat >>confdefs.h <<_ACEOF
8057 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
8062 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
8063 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
8064 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8067 cat >conftest.$ac_ext <<_ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 #include <linux/personality.h>
8081 char *p = (char *) SHORT_INODE;
8088 rm -f conftest.$ac_objext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8090 (eval $ac_compile) 2>conftest.er1
8092 grep -v '^ *+' conftest.er1 >conftest.err
8094 cat conftest.err >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try='test -z "$ac_c_werror_flag"
8098 || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try='test -s conftest.$ac_objext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_have_decl_SHORT_INODE=yes
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_cv_have_decl_SHORT_INODE=no
8117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8119 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
8120 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
8121 if test $ac_cv_have_decl_SHORT_INODE = yes; then
8123 cat >>confdefs.h <<_ACEOF
8124 #define HAVE_DECL_SHORT_INODE 1
8129 cat >>confdefs.h <<_ACEOF
8130 #define HAVE_DECL_SHORT_INODE 0
8135 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
8136 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
8137 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8140 cat >conftest.$ac_ext <<_ACEOF
8143 cat confdefs.h >>conftest.$ac_ext
8144 cat >>conftest.$ac_ext <<_ACEOF
8145 /* end confdefs.h. */
8147 #include <linux/personality.h>
8153 #ifndef WHOLE_SECONDS
8154 char *p = (char *) WHOLE_SECONDS;
8161 rm -f conftest.$ac_objext
8162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8163 (eval $ac_compile) 2>conftest.er1
8165 grep -v '^ *+' conftest.er1 >conftest.err
8167 cat conftest.err >&5
8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169 (exit $ac_status); } &&
8170 { ac_try='test -z "$ac_c_werror_flag"
8171 || test ! -s conftest.err'
8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); }; } &&
8177 { ac_try='test -s conftest.$ac_objext'
8178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); }; }; then
8183 ac_cv_have_decl_WHOLE_SECONDS=yes
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.$ac_ext >&5
8188 ac_cv_have_decl_WHOLE_SECONDS=no
8190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8192 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
8193 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
8194 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
8196 cat >>confdefs.h <<_ACEOF
8197 #define HAVE_DECL_WHOLE_SECONDS 1
8202 cat >>confdefs.h <<_ACEOF
8203 #define HAVE_DECL_WHOLE_SECONDS 0
8208 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
8209 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
8210 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 cat >conftest.$ac_ext <<_ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8220 #include <linux/personality.h>
8226 #ifndef STICKY_TIMEOUTS
8227 char *p = (char *) STICKY_TIMEOUTS;
8234 rm -f conftest.$ac_objext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8236 (eval $ac_compile) 2>conftest.er1
8238 grep -v '^ *+' conftest.er1 >conftest.err
8240 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } &&
8243 { ac_try='test -z "$ac_c_werror_flag"
8244 || test ! -s conftest.err'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try='test -s conftest.$ac_objext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_cv_have_decl_STICKY_TIMEOUTS=yes
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.$ac_ext >&5
8261 ac_cv_have_decl_STICKY_TIMEOUTS=no
8263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8265 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
8266 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
8267 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
8269 cat >>confdefs.h <<_ACEOF
8270 #define HAVE_DECL_STICKY_TIMEOUTS 1
8275 cat >>confdefs.h <<_ACEOF
8276 #define HAVE_DECL_STICKY_TIMEOUTS 0
8281 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
8282 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
8283 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 cat >conftest.$ac_ext <<_ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8293 #include <linux/personality.h>
8299 #ifndef ADDR_LIMIT_3GB
8300 char *p = (char *) ADDR_LIMIT_3GB;
8307 rm -f conftest.$ac_objext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8309 (eval $ac_compile) 2>conftest.er1
8311 grep -v '^ *+' conftest.er1 >conftest.err
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } &&
8316 { ac_try='test -z "$ac_c_werror_flag"
8317 || test ! -s conftest.err'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; } &&
8323 { ac_try='test -s conftest.$ac_objext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8334 ac_cv_have_decl_ADDR_LIMIT_3GB=no
8336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8338 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
8339 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
8340 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
8342 cat >>confdefs.h <<_ACEOF
8343 #define HAVE_DECL_ADDR_LIMIT_3GB 1
8348 cat >>confdefs.h <<_ACEOF
8349 #define HAVE_DECL_ADDR_LIMIT_3GB 0
8357 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
8358 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
8359 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 cat >conftest.$ac_ext <<_ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 #include <linux/personality.h>
8376 char *p = (char *) PER_LINUX;
8383 rm -f conftest.$ac_objext
8384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8385 (eval $ac_compile) 2>conftest.er1
8387 grep -v '^ *+' conftest.er1 >conftest.err
8389 cat conftest.err >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } &&
8392 { ac_try='test -z "$ac_c_werror_flag"
8393 || test ! -s conftest.err'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; } &&
8399 { ac_try='test -s conftest.$ac_objext'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; }; then
8405 ac_cv_have_decl_PER_LINUX=yes
8407 echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.$ac_ext >&5
8410 ac_cv_have_decl_PER_LINUX=no
8412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8414 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
8415 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
8416 if test $ac_cv_have_decl_PER_LINUX = yes; then
8418 cat >>confdefs.h <<_ACEOF
8419 #define HAVE_DECL_PER_LINUX 1
8424 cat >>confdefs.h <<_ACEOF
8425 #define HAVE_DECL_PER_LINUX 0
8430 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
8431 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
8432 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 cat >conftest.$ac_ext <<_ACEOF
8438 cat confdefs.h >>conftest.$ac_ext
8439 cat >>conftest.$ac_ext <<_ACEOF
8440 /* end confdefs.h. */
8442 #include <linux/personality.h>
8448 #ifndef PER_LINUX_32BIT
8449 char *p = (char *) PER_LINUX_32BIT;
8456 rm -f conftest.$ac_objext
8457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8458 (eval $ac_compile) 2>conftest.er1
8460 grep -v '^ *+' conftest.er1 >conftest.err
8462 cat conftest.err >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } &&
8465 { ac_try='test -z "$ac_c_werror_flag"
8466 || test ! -s conftest.err'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; } &&
8472 { ac_try='test -s conftest.$ac_objext'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; }; then
8478 ac_cv_have_decl_PER_LINUX_32BIT=yes
8480 echo "$as_me: failed program was:" >&5
8481 sed 's/^/| /' conftest.$ac_ext >&5
8483 ac_cv_have_decl_PER_LINUX_32BIT=no
8485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8487 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
8488 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
8489 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8491 cat >>confdefs.h <<_ACEOF
8492 #define HAVE_DECL_PER_LINUX_32BIT 1
8497 cat >>confdefs.h <<_ACEOF
8498 #define HAVE_DECL_PER_LINUX_32BIT 0
8503 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8504 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8505 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8506 echo $ECHO_N "(cached) $ECHO_C" >&6
8508 cat >conftest.$ac_ext <<_ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8515 #include <linux/personality.h>
8522 char *p = (char *) PER_SVR4;
8529 rm -f conftest.$ac_objext
8530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8531 (eval $ac_compile) 2>conftest.er1
8533 grep -v '^ *+' conftest.er1 >conftest.err
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } &&
8538 { ac_try='test -z "$ac_c_werror_flag"
8539 || test ! -s conftest.err'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; } &&
8545 { ac_try='test -s conftest.$ac_objext'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; }; then
8551 ac_cv_have_decl_PER_SVR4=yes
8553 echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.$ac_ext >&5
8556 ac_cv_have_decl_PER_SVR4=no
8558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8560 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8561 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8562 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8564 cat >>confdefs.h <<_ACEOF
8565 #define HAVE_DECL_PER_SVR4 1
8570 cat >>confdefs.h <<_ACEOF
8571 #define HAVE_DECL_PER_SVR4 0
8576 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8577 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8578 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8579 echo $ECHO_N "(cached) $ECHO_C" >&6
8581 cat >conftest.$ac_ext <<_ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8588 #include <linux/personality.h>
8595 char *p = (char *) PER_SVR3;
8602 rm -f conftest.$ac_objext
8603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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 { ac_try='test -z "$ac_c_werror_flag"
8612 || test ! -s conftest.err'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; } &&
8618 { ac_try='test -s conftest.$ac_objext'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; }; then
8624 ac_cv_have_decl_PER_SVR3=yes
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_have_decl_PER_SVR3=no
8631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8633 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8634 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8635 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8637 cat >>confdefs.h <<_ACEOF
8638 #define HAVE_DECL_PER_SVR3 1
8643 cat >>confdefs.h <<_ACEOF
8644 #define HAVE_DECL_PER_SVR3 0
8649 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
8650 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
8651 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 cat >conftest.$ac_ext <<_ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8661 #include <linux/personality.h>
8668 char *p = (char *) PER_SCOSVR3;
8675 rm -f conftest.$ac_objext
8676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8677 (eval $ac_compile) 2>conftest.er1
8679 grep -v '^ *+' conftest.er1 >conftest.err
8681 cat conftest.err >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); } &&
8684 { ac_try='test -z "$ac_c_werror_flag"
8685 || test ! -s conftest.err'
8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; } &&
8691 { ac_try='test -s conftest.$ac_objext'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); }; }; then
8697 ac_cv_have_decl_PER_SCOSVR3=yes
8699 echo "$as_me: failed program was:" >&5
8700 sed 's/^/| /' conftest.$ac_ext >&5
8702 ac_cv_have_decl_PER_SCOSVR3=no
8704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8706 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
8707 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
8708 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
8710 cat >>confdefs.h <<_ACEOF
8711 #define HAVE_DECL_PER_SCOSVR3 1
8716 cat >>confdefs.h <<_ACEOF
8717 #define HAVE_DECL_PER_SCOSVR3 0
8722 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
8723 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
8724 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8727 cat >conftest.$ac_ext <<_ACEOF
8730 cat confdefs.h >>conftest.$ac_ext
8731 cat >>conftest.$ac_ext <<_ACEOF
8732 /* end confdefs.h. */
8734 #include <linux/personality.h>
8741 char *p = (char *) PER_OSR5;
8748 rm -f conftest.$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>conftest.er1
8752 grep -v '^ *+' conftest.er1 >conftest.err
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try='test -z "$ac_c_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try='test -s conftest.$ac_objext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 ac_cv_have_decl_PER_OSR5=yes
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.$ac_ext >&5
8775 ac_cv_have_decl_PER_OSR5=no
8777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8779 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
8780 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
8781 if test $ac_cv_have_decl_PER_OSR5 = yes; then
8783 cat >>confdefs.h <<_ACEOF
8784 #define HAVE_DECL_PER_OSR5 1
8789 cat >>confdefs.h <<_ACEOF
8790 #define HAVE_DECL_PER_OSR5 0
8795 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
8796 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
8797 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 cat >conftest.$ac_ext <<_ACEOF
8803 cat confdefs.h >>conftest.$ac_ext
8804 cat >>conftest.$ac_ext <<_ACEOF
8805 /* end confdefs.h. */
8807 #include <linux/personality.h>
8813 #ifndef PER_WYSEV386
8814 char *p = (char *) PER_WYSEV386;
8821 rm -f conftest.$ac_objext
8822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8823 (eval $ac_compile) 2>conftest.er1
8825 grep -v '^ *+' conftest.er1 >conftest.err
8827 cat conftest.err >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); } &&
8830 { ac_try='test -z "$ac_c_werror_flag"
8831 || test ! -s conftest.err'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; } &&
8837 { ac_try='test -s conftest.$ac_objext'
8838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; }; then
8843 ac_cv_have_decl_PER_WYSEV386=yes
8845 echo "$as_me: failed program was:" >&5
8846 sed 's/^/| /' conftest.$ac_ext >&5
8848 ac_cv_have_decl_PER_WYSEV386=no
8850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8852 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
8853 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
8854 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
8856 cat >>confdefs.h <<_ACEOF
8857 #define HAVE_DECL_PER_WYSEV386 1
8862 cat >>confdefs.h <<_ACEOF
8863 #define HAVE_DECL_PER_WYSEV386 0
8868 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
8869 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
8870 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 cat >conftest.$ac_ext <<_ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8880 #include <linux/personality.h>
8887 char *p = (char *) PER_ISCR4;
8894 rm -f conftest.$ac_objext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8896 (eval $ac_compile) 2>conftest.er1
8898 grep -v '^ *+' conftest.er1 >conftest.err
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } &&
8903 { ac_try='test -z "$ac_c_werror_flag"
8904 || test ! -s conftest.err'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; } &&
8910 { ac_try='test -s conftest.$ac_objext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8916 ac_cv_have_decl_PER_ISCR4=yes
8918 echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8921 ac_cv_have_decl_PER_ISCR4=no
8923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8925 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
8926 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
8927 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
8929 cat >>confdefs.h <<_ACEOF
8930 #define HAVE_DECL_PER_ISCR4 1
8935 cat >>confdefs.h <<_ACEOF
8936 #define HAVE_DECL_PER_ISCR4 0
8941 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
8942 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
8943 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 cat >conftest.$ac_ext <<_ACEOF
8949 cat confdefs.h >>conftest.$ac_ext
8950 cat >>conftest.$ac_ext <<_ACEOF
8951 /* end confdefs.h. */
8953 #include <linux/personality.h>
8960 char *p = (char *) PER_BSD;
8967 rm -f conftest.$ac_objext
8968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8969 (eval $ac_compile) 2>conftest.er1
8971 grep -v '^ *+' conftest.er1 >conftest.err
8973 cat conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } &&
8976 { ac_try='test -z "$ac_c_werror_flag"
8977 || test ! -s conftest.err'
8978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest.$ac_objext'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; }; then
8989 ac_cv_have_decl_PER_BSD=yes
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.$ac_ext >&5
8994 ac_cv_have_decl_PER_BSD=no
8996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8998 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
8999 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
9000 if test $ac_cv_have_decl_PER_BSD = yes; then
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_DECL_PER_BSD 1
9008 cat >>confdefs.h <<_ACEOF
9009 #define HAVE_DECL_PER_BSD 0
9014 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
9015 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
9016 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 cat >conftest.$ac_ext <<_ACEOF
9022 cat confdefs.h >>conftest.$ac_ext
9023 cat >>conftest.$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9026 #include <linux/personality.h>
9033 char *p = (char *) PER_SUNOS;
9040 rm -f conftest.$ac_objext
9041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9042 (eval $ac_compile) 2>conftest.er1
9044 grep -v '^ *+' conftest.er1 >conftest.err
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } &&
9049 { ac_try='test -z "$ac_c_werror_flag"
9050 || test ! -s conftest.err'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; } &&
9056 { ac_try='test -s conftest.$ac_objext'
9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; }; then
9062 ac_cv_have_decl_PER_SUNOS=yes
9064 echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.$ac_ext >&5
9067 ac_cv_have_decl_PER_SUNOS=no
9069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9071 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
9072 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
9073 if test $ac_cv_have_decl_PER_SUNOS = yes; then
9075 cat >>confdefs.h <<_ACEOF
9076 #define HAVE_DECL_PER_SUNOS 1
9081 cat >>confdefs.h <<_ACEOF
9082 #define HAVE_DECL_PER_SUNOS 0
9087 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
9088 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
9089 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
9090 echo $ECHO_N "(cached) $ECHO_C" >&6
9092 cat >conftest.$ac_ext <<_ACEOF
9095 cat confdefs.h >>conftest.$ac_ext
9096 cat >>conftest.$ac_ext <<_ACEOF
9097 /* end confdefs.h. */
9099 #include <linux/personality.h>
9106 char *p = (char *) PER_XENIX;
9113 rm -f conftest.$ac_objext
9114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9115 (eval $ac_compile) 2>conftest.er1
9117 grep -v '^ *+' conftest.er1 >conftest.err
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } &&
9122 { ac_try='test -z "$ac_c_werror_flag"
9123 || test ! -s conftest.err'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; } &&
9129 { ac_try='test -s conftest.$ac_objext'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; }; then
9135 ac_cv_have_decl_PER_XENIX=yes
9137 echo "$as_me: failed program was:" >&5
9138 sed 's/^/| /' conftest.$ac_ext >&5
9140 ac_cv_have_decl_PER_XENIX=no
9142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9144 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
9145 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
9146 if test $ac_cv_have_decl_PER_XENIX = yes; then
9148 cat >>confdefs.h <<_ACEOF
9149 #define HAVE_DECL_PER_XENIX 1
9154 cat >>confdefs.h <<_ACEOF
9155 #define HAVE_DECL_PER_XENIX 0
9160 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
9161 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
9162 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 cat >conftest.$ac_ext <<_ACEOF
9168 cat confdefs.h >>conftest.$ac_ext
9169 cat >>conftest.$ac_ext <<_ACEOF
9170 /* end confdefs.h. */
9172 #include <linux/personality.h>
9179 char *p = (char *) PER_LINUX32;
9186 rm -f conftest.$ac_objext
9187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9188 (eval $ac_compile) 2>conftest.er1
9190 grep -v '^ *+' conftest.er1 >conftest.err
9192 cat conftest.err >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); } &&
9195 { ac_try='test -z "$ac_c_werror_flag"
9196 || test ! -s conftest.err'
9197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); }; } &&
9202 { ac_try='test -s conftest.$ac_objext'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; }; then
9208 ac_cv_have_decl_PER_LINUX32=yes
9210 echo "$as_me: failed program was:" >&5
9211 sed 's/^/| /' conftest.$ac_ext >&5
9213 ac_cv_have_decl_PER_LINUX32=no
9215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9217 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
9218 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
9219 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
9221 cat >>confdefs.h <<_ACEOF
9222 #define HAVE_DECL_PER_LINUX32 1
9227 cat >>confdefs.h <<_ACEOF
9228 #define HAVE_DECL_PER_LINUX32 0
9233 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
9234 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
9235 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
9236 echo $ECHO_N "(cached) $ECHO_C" >&6
9238 cat >conftest.$ac_ext <<_ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
9243 /* end confdefs.h. */
9245 #include <linux/personality.h>
9251 #ifndef PER_LINUX32_3GB
9252 char *p = (char *) PER_LINUX32_3GB;
9259 rm -f conftest.$ac_objext
9260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9261 (eval $ac_compile) 2>conftest.er1
9263 grep -v '^ *+' conftest.er1 >conftest.err
9265 cat conftest.err >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); } &&
9268 { ac_try='test -z "$ac_c_werror_flag"
9269 || test ! -s conftest.err'
9270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); }; } &&
9275 { ac_try='test -s conftest.$ac_objext'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; }; then
9281 ac_cv_have_decl_PER_LINUX32_3GB=yes
9283 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5
9286 ac_cv_have_decl_PER_LINUX32_3GB=no
9288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9290 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
9291 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
9292 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
9294 cat >>confdefs.h <<_ACEOF
9295 #define HAVE_DECL_PER_LINUX32_3GB 1
9300 cat >>confdefs.h <<_ACEOF
9301 #define HAVE_DECL_PER_LINUX32_3GB 0
9306 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
9307 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
9308 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
9309 echo $ECHO_N "(cached) $ECHO_C" >&6
9311 cat >conftest.$ac_ext <<_ACEOF
9314 cat confdefs.h >>conftest.$ac_ext
9315 cat >>conftest.$ac_ext <<_ACEOF
9316 /* end confdefs.h. */
9318 #include <linux/personality.h>
9325 char *p = (char *) PER_IRIX32;
9332 rm -f conftest.$ac_objext
9333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9334 (eval $ac_compile) 2>conftest.er1
9336 grep -v '^ *+' conftest.er1 >conftest.err
9338 cat conftest.err >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } &&
9341 { ac_try='test -z "$ac_c_werror_flag"
9342 || test ! -s conftest.err'
9343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); }; } &&
9348 { ac_try='test -s conftest.$ac_objext'
9349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); }; }; then
9354 ac_cv_have_decl_PER_IRIX32=yes
9356 echo "$as_me: failed program was:" >&5
9357 sed 's/^/| /' conftest.$ac_ext >&5
9359 ac_cv_have_decl_PER_IRIX32=no
9361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9363 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
9364 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
9365 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
9367 cat >>confdefs.h <<_ACEOF
9368 #define HAVE_DECL_PER_IRIX32 1
9373 cat >>confdefs.h <<_ACEOF
9374 #define HAVE_DECL_PER_IRIX32 0
9379 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
9380 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
9381 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 cat >conftest.$ac_ext <<_ACEOF
9387 cat confdefs.h >>conftest.$ac_ext
9388 cat >>conftest.$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9391 #include <linux/personality.h>
9398 char *p = (char *) PER_IRIXN32;
9405 rm -f conftest.$ac_objext
9406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9407 (eval $ac_compile) 2>conftest.er1
9409 grep -v '^ *+' conftest.er1 >conftest.err
9411 cat conftest.err >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); } &&
9414 { ac_try='test -z "$ac_c_werror_flag"
9415 || test ! -s conftest.err'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; } &&
9421 { ac_try='test -s conftest.$ac_objext'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; }; then
9427 ac_cv_have_decl_PER_IRIXN32=yes
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9432 ac_cv_have_decl_PER_IRIXN32=no
9434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9436 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
9437 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
9438 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
9440 cat >>confdefs.h <<_ACEOF
9441 #define HAVE_DECL_PER_IRIXN32 1
9446 cat >>confdefs.h <<_ACEOF
9447 #define HAVE_DECL_PER_IRIXN32 0
9452 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
9453 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
9454 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
9455 echo $ECHO_N "(cached) $ECHO_C" >&6
9457 cat >conftest.$ac_ext <<_ACEOF
9460 cat confdefs.h >>conftest.$ac_ext
9461 cat >>conftest.$ac_ext <<_ACEOF
9462 /* end confdefs.h. */
9464 #include <linux/personality.h>
9471 char *p = (char *) PER_IRIX64;
9478 rm -f conftest.$ac_objext
9479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9480 (eval $ac_compile) 2>conftest.er1
9482 grep -v '^ *+' conftest.er1 >conftest.err
9484 cat conftest.err >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } &&
9487 { ac_try='test -z "$ac_c_werror_flag"
9488 || test ! -s conftest.err'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; } &&
9494 { ac_try='test -s conftest.$ac_objext'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; }; then
9500 ac_cv_have_decl_PER_IRIX64=yes
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9505 ac_cv_have_decl_PER_IRIX64=no
9507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9509 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9510 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9511 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9513 cat >>confdefs.h <<_ACEOF
9514 #define HAVE_DECL_PER_IRIX64 1
9519 cat >>confdefs.h <<_ACEOF
9520 #define HAVE_DECL_PER_IRIX64 0
9525 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9526 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9527 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9530 cat >conftest.$ac_ext <<_ACEOF
9533 cat confdefs.h >>conftest.$ac_ext
9534 cat >>conftest.$ac_ext <<_ACEOF
9535 /* end confdefs.h. */
9537 #include <linux/personality.h>
9544 char *p = (char *) PER_RISCOS;
9551 rm -f conftest.$ac_objext
9552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9553 (eval $ac_compile) 2>conftest.er1
9555 grep -v '^ *+' conftest.er1 >conftest.err
9557 cat conftest.err >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); } &&
9560 { ac_try='test -z "$ac_c_werror_flag"
9561 || test ! -s conftest.err'
9562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); }; } &&
9567 { ac_try='test -s conftest.$ac_objext'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; }; then
9573 ac_cv_have_decl_PER_RISCOS=yes
9575 echo "$as_me: failed program was:" >&5
9576 sed 's/^/| /' conftest.$ac_ext >&5
9578 ac_cv_have_decl_PER_RISCOS=no
9580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9582 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9583 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9584 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9586 cat >>confdefs.h <<_ACEOF
9587 #define HAVE_DECL_PER_RISCOS 1
9592 cat >>confdefs.h <<_ACEOF
9593 #define HAVE_DECL_PER_RISCOS 0
9598 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9599 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9600 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9603 cat >conftest.$ac_ext <<_ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9610 #include <linux/personality.h>
9617 char *p = (char *) PER_SOLARIS;
9624 rm -f conftest.$ac_objext
9625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9626 (eval $ac_compile) 2>conftest.er1
9628 grep -v '^ *+' conftest.er1 >conftest.err
9630 cat conftest.err >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } &&
9633 { ac_try='test -z "$ac_c_werror_flag"
9634 || test ! -s conftest.err'
9635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); }; } &&
9640 { ac_try='test -s conftest.$ac_objext'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; }; then
9646 ac_cv_have_decl_PER_SOLARIS=yes
9648 echo "$as_me: failed program was:" >&5
9649 sed 's/^/| /' conftest.$ac_ext >&5
9651 ac_cv_have_decl_PER_SOLARIS=no
9653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9655 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
9656 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
9657 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
9659 cat >>confdefs.h <<_ACEOF
9660 #define HAVE_DECL_PER_SOLARIS 1
9665 cat >>confdefs.h <<_ACEOF
9666 #define HAVE_DECL_PER_SOLARIS 0
9671 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
9672 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
9673 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
9674 echo $ECHO_N "(cached) $ECHO_C" >&6
9676 cat >conftest.$ac_ext <<_ACEOF
9679 cat confdefs.h >>conftest.$ac_ext
9680 cat >>conftest.$ac_ext <<_ACEOF
9681 /* end confdefs.h. */
9683 #include <linux/personality.h>
9690 char *p = (char *) PER_UW7;
9697 rm -f conftest.$ac_objext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9699 (eval $ac_compile) 2>conftest.er1
9701 grep -v '^ *+' conftest.er1 >conftest.err
9703 cat conftest.err >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try='test -z "$ac_c_werror_flag"
9707 || test ! -s conftest.err'
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; } &&
9713 { ac_try='test -s conftest.$ac_objext'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then
9719 ac_cv_have_decl_PER_UW7=yes
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5
9724 ac_cv_have_decl_PER_UW7=no
9726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9728 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
9729 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
9730 if test $ac_cv_have_decl_PER_UW7 = yes; then
9732 cat >>confdefs.h <<_ACEOF
9733 #define HAVE_DECL_PER_UW7 1
9738 cat >>confdefs.h <<_ACEOF
9739 #define HAVE_DECL_PER_UW7 0
9744 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
9745 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
9746 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
9747 echo $ECHO_N "(cached) $ECHO_C" >&6
9749 cat >conftest.$ac_ext <<_ACEOF
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9756 #include <linux/personality.h>
9763 char *p = (char *) PER_HPUX;
9770 rm -f conftest.$ac_objext
9771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9772 (eval $ac_compile) 2>conftest.er1
9774 grep -v '^ *+' conftest.er1 >conftest.err
9776 cat conftest.err >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } &&
9779 { ac_try='test -z "$ac_c_werror_flag"
9780 || test ! -s conftest.err'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; } &&
9786 { ac_try='test -s conftest.$ac_objext'
9787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); }; }; then
9792 ac_cv_have_decl_PER_HPUX=yes
9794 echo "$as_me: failed program was:" >&5
9795 sed 's/^/| /' conftest.$ac_ext >&5
9797 ac_cv_have_decl_PER_HPUX=no
9799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9801 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
9802 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
9803 if test $ac_cv_have_decl_PER_HPUX = yes; then
9805 cat >>confdefs.h <<_ACEOF
9806 #define HAVE_DECL_PER_HPUX 1
9811 cat >>confdefs.h <<_ACEOF
9812 #define HAVE_DECL_PER_HPUX 0
9817 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
9818 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
9819 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 cat >conftest.$ac_ext <<_ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9829 #include <linux/personality.h>
9836 char *p = (char *) PER_OSF4;
9843 rm -f conftest.$ac_objext
9844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9845 (eval $ac_compile) 2>conftest.er1
9847 grep -v '^ *+' conftest.er1 >conftest.err
9849 cat conftest.err >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); } &&
9852 { ac_try='test -z "$ac_c_werror_flag"
9853 || test ! -s conftest.err'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; } &&
9859 { ac_try='test -s conftest.$ac_objext'
9860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); }; }; then
9865 ac_cv_have_decl_PER_OSF4=yes
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9870 ac_cv_have_decl_PER_OSF4=no
9872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9874 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
9875 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
9876 if test $ac_cv_have_decl_PER_OSF4 = yes; then
9878 cat >>confdefs.h <<_ACEOF
9879 #define HAVE_DECL_PER_OSF4 1
9884 cat >>confdefs.h <<_ACEOF
9885 #define HAVE_DECL_PER_OSF4 0
9893 ac_cpp='$CPP $CPPFLAGS'
9894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 echo "$as_me:$LINENO: checking for initrddir" >&5
9904 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
9906 # Check whether --with-initrddir or --without-initrddir was given.
9907 if test "${with_initrddir+set}" = set; then
9908 withval="$with_initrddir"
9910 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
9911 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
9912 { (exit 1); exit 1; }; };;
9913 *) ensc_initrddir=$withval;;
9916 ensc_initrddir='$(sysconfdir)/init.d'
9919 if test "initrddir"; then
9920 initrddir=$ensc_initrddir
9924 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
9925 echo "${ECHO_T}$ensc_initrddir" >&6
9928 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
9929 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
9930 # Check whether --enable-release or --disable-release was given.
9931 if test "${enable_release+set}" = set; then
9932 enableval="$enable_release"
9933 case "$enableval" in
9934 yes) ensc_release_mode=yes;;
9935 no) ensc_release_mode=no;;
9936 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
9937 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
9938 { (exit 1); exit 1; }; };;
9941 ensc_release_mode=no
9944 if test x"$ensc_release_mode" = xno; then
9947 RELEASE_CPPFLAGS='-DNDEBUG'
9951 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
9952 echo "${ECHO_T}$ensc_release_mode" >&6
9957 (i*86|athlon) min_diet_ver=0.25;;
9958 (ia64|hppa*) min_diet_ver=0.29;;
9959 (sparc*) min_diet_ver=0.30;;
9960 (*) min_diet_ver=0.28;;
9964 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
9965 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
9973 # Check whether --enable-dietlibc or --disable-dietlibc was given.
9974 if test "${enable_dietlibc+set}" = set; then
9975 enableval="$enable_dietlibc"
9976 case "$enableval" in
9977 (yes) use_dietlibc=forced;;
9978 (no) use_dietlibc=forced_no;;
9979 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
9980 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
9981 { (exit 1); exit 1; }; };;
9984 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
9987 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
9988 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
9989 _dietlibc_ver=${_dietlibc_ver##*diet version }
9990 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
9991 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
9992 _dietlibc_ver_min=${_dietlibc_ver##*.}
9993 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
9994 _dietlibc_cmp="$min_diet_ver"
9995 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
9996 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
9998 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
10000 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
10001 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
10003 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
10005 ENSC_VERSION_DIETLIBC=
10009 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
10010 ensc_have_dietlibc=no
10012 case x"$use_dietlibc" in
10018 USE_DIETLIBC_FALSE='#'
10020 USE_DIETLIBC_TRUE='#'
10021 USE_DIETLIBC_FALSE=
10024 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
10025 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
10026 ensc_have_dietlibc=yes
10033 USE_DIETLIBC_FALSE='#'
10035 USE_DIETLIBC_TRUE='#'
10036 USE_DIETLIBC_FALSE=
10039 echo "$as_me:$LINENO: result: yes (forced)" >&5
10040 echo "${ECHO_T}yes (forced)" >&6
10041 ensc_have_dietlibc=yes
10048 USE_DIETLIBC_FALSE='#'
10050 USE_DIETLIBC_TRUE='#'
10051 USE_DIETLIBC_FALSE=
10054 echo "$as_me:$LINENO: result: no (detected)" >&5
10055 echo "${ECHO_T}no (detected)" >&6
10062 USE_DIETLIBC_FALSE='#'
10064 USE_DIETLIBC_TRUE='#'
10065 USE_DIETLIBC_FALSE=
10068 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
10069 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
10076 USE_DIETLIBC_FALSE='#'
10078 USE_DIETLIBC_TRUE='#'
10079 USE_DIETLIBC_FALSE=
10082 echo "$as_me:$LINENO: result: no (forced)" >&5
10083 echo "${ECHO_T}no (forced)" >&6
10086 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
10087 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
10088 { (exit 1); exit 1; }; }
10092 if test x"$ensc_have_dietlibc" != xno; then
10097 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
10098 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
10099 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
10104 _ensc_dietlibc_c99_old_CC=$CC
10107 CC="${DIET:-diet} $CC"
10110 ac_cpp='$CPP $CPPFLAGS'
10111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10115 cat >conftest.$ac_ext <<_ACEOF
10118 rm -f conftest.$ac_objext
10119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10120 (eval $ac_compile) 2>conftest.er1
10122 grep -v '^ *+' conftest.er1 >conftest.err
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } &&
10127 { ac_try='test -z "$ac_c_werror_flag"
10128 || test ! -s conftest.err'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; } &&
10134 { ac_try='test -s conftest.$ac_objext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then
10141 cat >conftest.$ac_ext <<_ACEOF
10143 #include <stdint.h>
10144 #include <sys/cdefs.h>
10145 #if defined(inline)
10146 # error 'inline' badly defined
10148 volatile uint64_t a;
10151 rm -f conftest.$ac_objext
10152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10153 (eval $ac_compile) 2>conftest.er1
10155 grep -v '^ *+' conftest.er1 >conftest.err
10157 cat conftest.err >&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); } &&
10160 { ac_try='test -z "$ac_c_werror_flag"
10161 || test ! -s conftest.err'
10162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10163 (eval $ac_try) 2>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); }; } &&
10167 { ac_try='test -s conftest.$ac_objext'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10173 ensc_cv_c_dietlibc_c99=yes
10175 echo "$as_me: failed program was:" >&5
10176 sed 's/^/| /' conftest.$ac_ext >&5
10178 ensc_cv_c_dietlibc_c99=no
10180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10185 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
10187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10189 ac_cpp='$CPP $CPPFLAGS'
10190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10195 CC=$_ensc_dietlibc_c99_old_CC
10196 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
10199 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
10200 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
10202 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
10203 cat >>confdefs.h <<\_ACEOF
10204 #define ENSC_DIETLIBC_C99 1
10212 if test x"$ensc_have_dietlibc" = xno; then
10213 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10214 echo "$as_me: WARNING: *** ***" >&2;}
10215 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
10216 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
10217 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
10218 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
10219 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
10220 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
10221 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
10222 echo "$as_me: WARNING: *** there. ***" >&2;}
10223 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10224 echo "$as_me: WARNING: *** ***" >&2;}
10228 USE_DIETLIBC_COMPAT_TRUE=
10229 USE_DIETLIBC_COMPAT_FALSE='#'
10231 USE_DIETLIBC_COMPAT_TRUE='#'
10232 USE_DIETLIBC_COMPAT_FALSE=
10236 # HACK: libtool does not have cmdline options to build only
10237 # dynamic libraries; this can be done with the
10238 # '--disable-static' ./configure option only. As our static
10239 # libraries will be build with dietlibc, we have to do set
10240 # this option which is evaluated by 'AC_PROG_LIBTOOL'
10241 # below. Therefore, this macro must not be called earlier.
10248 if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
10249 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10250 echo "$as_me: WARNING: *** ***" >&2;}
10251 { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&5
10252 echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
10254 echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
10255 { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added ***" >&5
10256 echo "$as_me: WARNING: *** and lib/__nice.c added ***" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10258 echo "$as_me: WARNING: *** ***" >&2;}
10262 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
10263 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
10264 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
10265 if test "${enable_alternative_syscalls+set}" = set; then
10266 enableval="$enable_alternative_syscalls"
10268 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
10269 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
10270 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
10271 { (exit 1); exit 1; }; };;
10274 ensc_use_alternative_syscall_macros=yes
10277 case $ensc_use_alternative_syscall_macros in
10279 cat >>confdefs.h <<\_ACEOF
10280 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
10285 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
10286 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
10291 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
10292 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
10293 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 ac_cpp='$CPP $CPPFLAGS'
10299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10303 ensc_dietlibc_need_compat_old_CC=$CC
10304 CC="${DIET:-diet} $CC"
10305 cat >conftest.$ac_ext <<_ACEOF
10309 cat confdefs.h >>conftest.$ac_ext
10310 cat >>conftest.$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10313 #include "$srcdir/lib/syscall-wrap.h"
10316 #define __NR_foo0 42
10317 #define __NR_foo1 42
10318 #define __NR_foo2 42
10319 #define __NR_foo3 42
10320 #define __NR_foo4 42
10321 #define __NR_foo5 42
10322 inline static _syscall0(int, foo0)
10323 inline static _syscall1(int, foo1, int, a)
10324 inline static _syscall2(int, foo2, int, a, int, b)
10325 inline static _syscall3(int, foo3, int, a, int, b, int, c)
10326 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
10327 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
10332 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
10337 rm -f conftest.$ac_objext conftest$ac_exeext
10338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10339 (eval $ac_link) 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 { ac_try='test -z "$ac_c_werror_flag"
10347 || test ! -s conftest.err'
10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349 (eval $ac_try) 2>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; } &&
10353 { ac_try='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then
10359 ensc_cv_c_dietlibc_compat=no
10361 echo "$as_me: failed program was:" >&5
10362 sed 's/^/| /' conftest.$ac_ext >&5
10364 ensc_cv_c_dietlibc_compat=yes
10366 rm -f conftest.err conftest.$ac_objext \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CC=$ensc_dietlibc_need_compat_old_CC
10370 ac_cpp='$CPP $CPPFLAGS'
10371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10377 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
10378 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
10380 if test x"USE_DIETLIBC_COMPAT" != x; then
10383 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
10384 USE_DIETLIBC_COMPAT_TRUE=
10385 USE_DIETLIBC_COMPAT_FALSE='#'
10387 USE_DIETLIBC_COMPAT_TRUE='#'
10388 USE_DIETLIBC_COMPAT_FALSE=
10397 if test x"$ensc_have_dietlibc" = xyes; then
10398 ENSC_USE_DIETLIBC_TRUE=
10399 ENSC_USE_DIETLIBC_FALSE='#'
10401 ENSC_USE_DIETLIBC_TRUE='#'
10402 ENSC_USE_DIETLIBC_FALSE=
10408 ENSC_USE_GLIBC_TRUE=
10409 ENSC_USE_GLIBC_FALSE='#'
10411 ENSC_USE_GLIBC_TRUE='#'
10412 ENSC_USE_GLIBC_FALSE=
10416 # HACK: see comments at 'enable_static' above
10417 # Check whether --enable-shared or --disable-shared was given.
10418 if test "${enable_shared+set}" = set; then
10419 enableval="$enable_shared"
10420 p=${PACKAGE-default}
10422 yes) enable_shared=yes ;;
10423 no) enable_shared=no ;;
10426 # Look at the argument we got. We use all the common list separators.
10427 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10428 for pkg in $enableval; do
10430 if test "X$pkg" = "X$p"; then
10441 # Check whether --enable-static or --disable-static was given.
10442 if test "${enable_static+set}" = set; then
10443 enableval="$enable_static"
10444 p=${PACKAGE-default}
10446 yes) enable_static=yes ;;
10447 no) enable_static=no ;;
10450 # Look at the argument we got. We use all the common list separators.
10451 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10452 for pkg in $enableval; do
10454 if test "X$pkg" = "X$p"; then
10465 # Check whether --enable-fast-install or --disable-fast-install was given.
10466 if test "${enable_fast_install+set}" = set; then
10467 enableval="$enable_fast_install"
10468 p=${PACKAGE-default}
10470 yes) enable_fast_install=yes ;;
10471 no) enable_fast_install=no ;;
10473 enable_fast_install=no
10474 # Look at the argument we got. We use all the common list separators.
10475 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10476 for pkg in $enableval; do
10478 if test "X$pkg" = "X$p"; then
10479 enable_fast_install=yes
10486 enable_fast_install=yes
10489 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
10490 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
10491 if test "${lt_cv_path_SED+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 # Loop through the user's path and test for sed and gsed.
10495 # Then use that list of sed's as ones to test for truncation.
10496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497 for as_dir in $PATH
10500 test -z "$as_dir" && as_dir=.
10501 for lt_ac_prog in sed gsed; do
10502 for ac_exec_ext in '' $ac_executable_extensions; do
10503 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10504 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10511 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10512 # along with /bin/sed that truncates output.
10513 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10514 test ! -f $lt_ac_sed && continue
10515 cat /dev/null > conftest.in
10517 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10518 # Check for GNU sed and select it if it is found.
10519 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10520 lt_cv_path_SED=$lt_ac_sed
10524 cat conftest.in conftest.in >conftest.tmp
10525 mv conftest.tmp conftest.in
10526 cp conftest.in conftest.nl
10528 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10529 cmp -s conftest.out conftest.nl || break
10530 # 10000 chars as input seems more than enough
10531 test $lt_ac_count -gt 10 && break
10532 lt_ac_count=`expr $lt_ac_count + 1`
10533 if test $lt_ac_count -gt $lt_ac_max; then
10534 lt_ac_max=$lt_ac_count
10535 lt_cv_path_SED=$lt_ac_sed
10542 SED=$lt_cv_path_SED
10543 echo "$as_me:$LINENO: result: $SED" >&5
10544 echo "${ECHO_T}$SED" >&6
10546 echo "$as_me:$LINENO: checking for egrep" >&5
10547 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10548 if test "${ac_cv_prog_egrep+set}" = set; then
10549 echo $ECHO_N "(cached) $ECHO_C" >&6
10551 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10552 then ac_cv_prog_egrep='grep -E'
10553 else ac_cv_prog_egrep='egrep'
10556 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10557 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10558 EGREP=$ac_cv_prog_egrep
10562 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10563 if test "${with_gnu_ld+set}" = set; then
10564 withval="$with_gnu_ld"
10565 test "$withval" = no || with_gnu_ld=yes
10570 if test "$GCC" = yes; then
10571 # Check if gcc -print-prog-name=ld gives a path.
10572 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10573 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10576 # gcc leaves a trailing carriage return which upsets mingw
10577 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10579 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10582 # Accept absolute paths.
10584 re_direlt='/[^/][^/]*/\.\./'
10585 # Canonicalize the pathname of ld
10586 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10587 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10588 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10590 test -z "$LD" && LD="$ac_prog"
10593 # If it fails, then pretend we aren't using GCC.
10597 # If it is relative, then search for the first ld in PATH.
10598 with_gnu_ld=unknown
10601 elif test "$with_gnu_ld" = yes; then
10602 echo "$as_me:$LINENO: checking for GNU ld" >&5
10603 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10605 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10606 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10608 if test "${lt_cv_path_LD+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 if test -z "$LD"; then
10612 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10613 for ac_dir in $PATH; do
10615 test -z "$ac_dir" && ac_dir=.
10616 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10617 lt_cv_path_LD="$ac_dir/$ac_prog"
10618 # Check to see if the program is GNU ld. I'd rather use --version,
10619 # but apparently some variants of GNU ld only accept -v.
10620 # Break only if it was the GNU/non-GNU ld that we prefer.
10621 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10622 *GNU* | *'with BFD'*)
10623 test "$with_gnu_ld" != no && break
10626 test "$with_gnu_ld" != yes && break
10633 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10637 LD="$lt_cv_path_LD"
10638 if test -n "$LD"; then
10639 echo "$as_me:$LINENO: result: $LD" >&5
10640 echo "${ECHO_T}$LD" >&6
10642 echo "$as_me:$LINENO: result: no" >&5
10643 echo "${ECHO_T}no" >&6
10645 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10646 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10647 { (exit 1); exit 1; }; }
10648 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10649 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10650 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10654 case `$LD -v 2>&1 </dev/null` in
10655 *GNU* | *'with BFD'*)
10656 lt_cv_prog_gnu_ld=yes
10659 lt_cv_prog_gnu_ld=no
10663 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10664 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10665 with_gnu_ld=$lt_cv_prog_gnu_ld
10668 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10669 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10670 if test "${lt_cv_ld_reload_flag+set}" = set; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 lt_cv_ld_reload_flag='-r'
10675 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10676 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10677 reload_flag=$lt_cv_ld_reload_flag
10678 case $reload_flag in
10680 *) reload_flag=" $reload_flag" ;;
10682 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10685 if test "$GCC" = yes; then
10686 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
10688 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10693 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10694 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10695 if test "${lt_cv_path_NM+set}" = set; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 if test -n "$NM"; then
10699 # Let the user override the test.
10700 lt_cv_path_NM="$NM"
10702 lt_nm_to_check="${ac_tool_prefix}nm"
10703 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10704 lt_nm_to_check="$lt_nm_to_check nm"
10706 for lt_tmp_nm in $lt_nm_to_check; do
10707 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10708 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10710 test -z "$ac_dir" && ac_dir=.
10711 tmp_nm="$ac_dir/$lt_tmp_nm"
10712 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10713 # Check to see if the nm accepts a BSD-compat flag.
10714 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10715 # nm: unknown option "B" ignored
10716 # Tru64's nm complains that /dev/null is an invalid object file
10717 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10718 */dev/null* | *'Invalid file or object type'*)
10719 lt_cv_path_NM="$tmp_nm -B"
10723 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10725 lt_cv_path_NM="$tmp_nm -p"
10729 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10730 continue # so that we can try to find one that supports BSD flags
10739 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10742 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10743 echo "${ECHO_T}$lt_cv_path_NM" >&6
10744 NM="$lt_cv_path_NM"
10746 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10747 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10748 if test "${lt_cv_deplibs_check_method+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 lt_cv_file_magic_cmd='$MAGIC_CMD'
10752 lt_cv_file_magic_test_file=
10753 lt_cv_deplibs_check_method='unknown'
10754 # Need to set the preceding variable on all platforms that support
10755 # interlibrary dependencies.
10756 # 'none' -- dependencies not supported.
10757 # `unknown' -- same as none, but documents that we really don't know.
10758 # 'pass_all' -- all dependencies passed with no checks.
10759 # 'test_compile' -- check by making test program.
10760 # 'file_magic [[regex]]' -- check by looking for files in library path
10761 # which responds to the $file_magic_cmd with a given extended regex.
10762 # If you have `file' or equivalent on your system and you're not sure
10763 # whether `pass_all' will *always* work, you probably want this one.
10767 lt_cv_deplibs_check_method=pass_all
10771 lt_cv_deplibs_check_method=pass_all
10775 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10776 lt_cv_file_magic_cmd='/usr/bin/file -L'
10777 lt_cv_file_magic_test_file=/shlib/libc.so
10781 # func_win32_libid is a shell function defined in ltmain.sh
10782 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10783 lt_cv_file_magic_cmd='func_win32_libid'
10787 # Base MSYS/MinGW do not provide the 'file' command needed by
10788 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10789 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10790 lt_cv_file_magic_cmd='$OBJDUMP -f'
10793 darwin* | rhapsody*)
10794 lt_cv_deplibs_check_method=pass_all
10797 freebsd* | kfreebsd*-gnu | dragonfly*)
10798 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10801 # Not sure whether the presence of OpenBSD here was a mistake.
10802 # Let's accept both of them until this is cleared up.
10803 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10804 lt_cv_file_magic_cmd=/usr/bin/file
10805 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10809 lt_cv_deplibs_check_method=pass_all
10814 lt_cv_deplibs_check_method=pass_all
10817 hpux10.20* | hpux11*)
10818 lt_cv_file_magic_cmd=/usr/bin/file
10821 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10822 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10825 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]'
10826 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10829 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10830 lt_cv_file_magic_test_file=/usr/lib/libc.sl
10836 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
10837 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
10840 irix5* | irix6* | nonstopux*)
10842 *-32|*"-32 ") libmagic=32-bit;;
10843 *-n32|*"-n32 ") libmagic=N32;;
10844 *-64|*"-64 ") libmagic=64-bit;;
10845 *) libmagic=never-match;;
10847 lt_cv_deplibs_check_method=pass_all
10850 # This must be Linux ELF.
10852 lt_cv_deplibs_check_method=pass_all
10856 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10857 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10859 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10864 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10865 lt_cv_file_magic_cmd=/usr/bin/file
10866 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10870 lt_cv_deplibs_check_method=unknown
10874 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10875 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10877 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10881 osf3* | osf4* | osf5*)
10882 lt_cv_deplibs_check_method=pass_all
10886 lt_cv_deplibs_check_method=pass_all
10890 case $host_vendor in
10892 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]'
10893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10896 lt_cv_deplibs_check_method=pass_all
10899 lt_cv_file_magic_cmd='/bin/file'
10900 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10903 lt_cv_file_magic_cmd='/bin/file'
10904 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10905 lt_cv_file_magic_test_file=/lib/libc.so
10908 lt_cv_deplibs_check_method=pass_all
10911 lt_cv_deplibs_check_method=pass_all
10916 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10917 lt_cv_deplibs_check_method=pass_all
10922 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10923 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10924 file_magic_cmd=$lt_cv_file_magic_cmd
10925 deplibs_check_method=$lt_cv_deplibs_check_method
10926 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10931 # If no C compiler was specified, use CC.
10934 # If no C compiler flags were specified, use CFLAGS.
10935 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10937 # Allow CC to be a program name with arguments.
10940 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10941 if test "${enable_libtool_lock+set}" = set; then
10942 enableval="$enable_libtool_lock"
10945 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10947 # Some flags need to be propagated to the compiler or linker for good
10951 # Find out which ABI we are using.
10952 echo 'int i;' > conftest.$ac_ext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10954 (eval $ac_compile) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; then
10958 case `/usr/bin/file conftest.$ac_objext` in
10960 HPUX_IA64_MODE="32"
10963 HPUX_IA64_MODE="64"
10970 # Find out which ABI we are using.
10971 echo '#line 10971 "configure"' > conftest.$ac_ext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10973 (eval $ac_compile) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; then
10977 if test "$lt_cv_prog_gnu_ld" = yes; then
10978 case `/usr/bin/file conftest.$ac_objext` in
10980 LD="${LD-ld} -melf32bsmip"
10983 LD="${LD-ld} -melf32bmipn32"
10986 LD="${LD-ld} -melf64bmip"
10990 case `/usr/bin/file conftest.$ac_objext` in
11006 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
11007 # Find out which ABI we are using.
11008 echo 'int i;' > conftest.$ac_ext
11009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11010 (eval $ac_compile) 2>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); }; then
11014 case `/usr/bin/file conftest.o` in
11018 LD="${LD-ld} -m elf_i386"
11020 ppc64-*linux*|powerpc64-*linux*)
11021 LD="${LD-ld} -m elf32ppclinux"
11024 LD="${LD-ld} -m elf_s390"
11027 LD="${LD-ld} -m elf32_sparc"
11034 LD="${LD-ld} -m elf_x86_64"
11036 ppc*-*linux*|powerpc*-*linux*)
11037 LD="${LD-ld} -m elf64ppc"
11040 LD="${LD-ld} -m elf64_s390"
11043 LD="${LD-ld} -m elf64_sparc"
11053 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11054 SAVE_CFLAGS="$CFLAGS"
11055 CFLAGS="$CFLAGS -belf"
11056 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11057 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
11058 if test "${lt_cv_cc_needs_belf+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 ac_cpp='$CPP $CPPFLAGS'
11063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11067 cat >conftest.$ac_ext <<_ACEOF
11070 cat confdefs.h >>conftest.$ac_ext
11071 cat >>conftest.$ac_ext <<_ACEOF
11072 /* end confdefs.h. */
11082 rm -f conftest.$ac_objext conftest$ac_exeext
11083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11084 (eval $ac_link) 2>conftest.er1
11086 grep -v '^ *+' conftest.er1 >conftest.err
11088 cat conftest.err >&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try='test -z "$ac_c_werror_flag"
11092 || test ! -s conftest.err'
11093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11094 (eval $ac_try) 2>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }; } &&
11098 { ac_try='test -s conftest$ac_exeext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 lt_cv_cc_needs_belf=yes
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.$ac_ext >&5
11109 lt_cv_cc_needs_belf=no
11111 rm -f conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11114 ac_cpp='$CPP $CPPFLAGS'
11115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11120 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11121 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
11122 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11123 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11124 CFLAGS="$SAVE_CFLAGS"
11128 # Find out which ABI we are using.
11129 echo 'int i;' > conftest.$ac_ext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11131 (eval $ac_compile) 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; then
11135 case `/usr/bin/file conftest.o` in
11137 case $lt_cv_prog_gnu_ld in
11138 yes*) LD="${LD-ld} -m elf64_sparc" ;;
11139 *) LD="${LD-ld} -64" ;;
11150 need_locks="$enable_libtool_lock"
11154 ac_cpp='$CPP $CPPFLAGS'
11155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11158 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11159 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11160 # On Suns, sometimes $CPP names a directory.
11161 if test -n "$CPP" && test -d "$CPP"; then
11164 if test -z "$CPP"; then
11165 if test "${ac_cv_prog_CPP+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 # Double quotes because CPP needs to be expanded
11169 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11171 ac_preproc_ok=false
11172 for ac_c_preproc_warn_flag in '' yes
11174 # Use a header file that comes with gcc, so configuring glibc
11175 # with a fresh cross-compiler works.
11176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11177 # <limits.h> exists even on freestanding compilers.
11178 # On the NeXT, cc -E runs the code through the compiler's parser,
11179 # not just through cpp. "Syntax error" is here to catch this case.
11180 cat >conftest.$ac_ext <<_ACEOF
11183 cat confdefs.h >>conftest.$ac_ext
11184 cat >>conftest.$ac_ext <<_ACEOF
11185 /* end confdefs.h. */
11187 # include <limits.h>
11189 # include <assert.h>
11193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11196 grep -v '^ *+' conftest.er1 >conftest.err
11198 cat conftest.err >&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); } >/dev/null; then
11201 if test -s conftest.err; then
11202 ac_cpp_err=$ac_c_preproc_warn_flag
11203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11210 if test -z "$ac_cpp_err"; then
11213 echo "$as_me: failed program was:" >&5
11214 sed 's/^/| /' conftest.$ac_ext >&5
11216 # Broken: fails on valid input.
11219 rm -f conftest.err conftest.$ac_ext
11221 # OK, works on sane cases. Now check whether non-existent headers
11222 # can be detected and how.
11223 cat >conftest.$ac_ext <<_ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 #include <ac_nonexistent.h>
11231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11234 grep -v '^ *+' conftest.er1 >conftest.err
11236 cat conftest.err >&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } >/dev/null; then
11239 if test -s conftest.err; then
11240 ac_cpp_err=$ac_c_preproc_warn_flag
11241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11248 if test -z "$ac_cpp_err"; then
11249 # Broken: success on invalid input.
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.$ac_ext >&5
11255 # Passes both tests.
11259 rm -f conftest.err conftest.$ac_ext
11262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11263 rm -f conftest.err conftest.$ac_ext
11264 if $ac_preproc_ok; then
11269 ac_cv_prog_CPP=$CPP
11272 CPP=$ac_cv_prog_CPP
11274 ac_cv_prog_CPP=$CPP
11276 echo "$as_me:$LINENO: result: $CPP" >&5
11277 echo "${ECHO_T}$CPP" >&6
11278 ac_preproc_ok=false
11279 for ac_c_preproc_warn_flag in '' yes
11281 # Use a header file that comes with gcc, so configuring glibc
11282 # with a fresh cross-compiler works.
11283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11284 # <limits.h> exists even on freestanding compilers.
11285 # On the NeXT, cc -E runs the code through the compiler's parser,
11286 # not just through cpp. "Syntax error" is here to catch this case.
11287 cat >conftest.$ac_ext <<_ACEOF
11290 cat confdefs.h >>conftest.$ac_ext
11291 cat >>conftest.$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11294 # include <limits.h>
11296 # include <assert.h>
11300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11303 grep -v '^ *+' conftest.er1 >conftest.err
11305 cat conftest.err >&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } >/dev/null; then
11308 if test -s conftest.err; then
11309 ac_cpp_err=$ac_c_preproc_warn_flag
11310 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11317 if test -z "$ac_cpp_err"; then
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 # Broken: fails on valid input.
11326 rm -f conftest.err conftest.$ac_ext
11328 # OK, works on sane cases. Now check whether non-existent headers
11329 # can be detected and how.
11330 cat >conftest.$ac_ext <<_ACEOF
11333 cat confdefs.h >>conftest.$ac_ext
11334 cat >>conftest.$ac_ext <<_ACEOF
11335 /* end confdefs.h. */
11336 #include <ac_nonexistent.h>
11338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11341 grep -v '^ *+' conftest.er1 >conftest.err
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } >/dev/null; then
11346 if test -s conftest.err; then
11347 ac_cpp_err=$ac_c_preproc_warn_flag
11348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11355 if test -z "$ac_cpp_err"; then
11356 # Broken: success on invalid input.
11359 echo "$as_me: failed program was:" >&5
11360 sed 's/^/| /' conftest.$ac_ext >&5
11362 # Passes both tests.
11366 rm -f conftest.err conftest.$ac_ext
11369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11370 rm -f conftest.err conftest.$ac_ext
11371 if $ac_preproc_ok; then
11374 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11375 See \`config.log' for more details." >&5
11376 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11377 See \`config.log' for more details." >&2;}
11378 { (exit 1); exit 1; }; }
11382 ac_cpp='$CPP $CPPFLAGS'
11383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11388 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11389 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11390 if test "${ac_cv_header_stdc+set}" = set; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 cat >conftest.$ac_ext <<_ACEOF
11396 cat confdefs.h >>conftest.$ac_ext
11397 cat >>conftest.$ac_ext <<_ACEOF
11398 /* end confdefs.h. */
11399 #include <stdlib.h>
11400 #include <stdarg.h>
11401 #include <string.h>
11412 rm -f conftest.$ac_objext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11414 (eval $ac_compile) 2>conftest.er1
11416 grep -v '^ *+' conftest.er1 >conftest.err
11418 cat conftest.err >&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; } &&
11428 { ac_try='test -s conftest.$ac_objext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 ac_cv_header_stdc=yes
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_cv_header_stdc=no
11441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11443 if test $ac_cv_header_stdc = yes; then
11444 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11445 cat >conftest.$ac_ext <<_ACEOF
11448 cat confdefs.h >>conftest.$ac_ext
11449 cat >>conftest.$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11451 #include <string.h>
11454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11455 $EGREP "memchr" >/dev/null 2>&1; then
11458 ac_cv_header_stdc=no
11464 if test $ac_cv_header_stdc = yes; then
11465 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11466 cat >conftest.$ac_ext <<_ACEOF
11469 cat confdefs.h >>conftest.$ac_ext
11470 cat >>conftest.$ac_ext <<_ACEOF
11471 /* end confdefs.h. */
11472 #include <stdlib.h>
11475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11476 $EGREP "free" >/dev/null 2>&1; then
11479 ac_cv_header_stdc=no
11485 if test $ac_cv_header_stdc = yes; then
11486 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11487 if test "$cross_compiling" = yes; then
11490 cat >conftest.$ac_ext <<_ACEOF
11493 cat confdefs.h >>conftest.$ac_ext
11494 cat >>conftest.$ac_ext <<_ACEOF
11495 /* end confdefs.h. */
11497 #if ((' ' & 0x0FF) == 0x020)
11498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11501 # define ISLOWER(c) \
11502 (('a' <= (c) && (c) <= 'i') \
11503 || ('j' <= (c) && (c) <= 'r') \
11504 || ('s' <= (c) && (c) <= 'z'))
11505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11513 for (i = 0; i < 256; i++)
11514 if (XOR (islower (i), ISLOWER (i))
11515 || toupper (i) != TOUPPER (i))
11520 rm -f conftest$ac_exeext
11521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11522 (eval $ac_link) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11533 echo "$as_me: program exited with status $ac_status" >&5
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11537 ( exit $ac_status )
11538 ac_cv_header_stdc=no
11540 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11544 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11545 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11546 if test $ac_cv_header_stdc = yes; then
11548 cat >>confdefs.h <<\_ACEOF
11549 #define STDC_HEADERS 1
11554 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11564 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11565 inttypes.h stdint.h unistd.h
11567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11568 echo "$as_me:$LINENO: checking for $ac_header" >&5
11569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 cat >conftest.$ac_ext <<_ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 $ac_includes_default
11581 #include <$ac_header>
11583 rm -f conftest.$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11587 grep -v '^ *+' conftest.er1 >conftest.err
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try='test -z "$ac_c_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11605 eval "$as_ac_Header=yes"
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11610 eval "$as_ac_Header=no"
11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11617 cat >>confdefs.h <<_ACEOF
11618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11627 for ac_header in dlfcn.h
11629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11631 echo "$as_me:$LINENO: checking for $ac_header" >&5
11632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11639 # Is the header compilable?
11640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11642 cat >conftest.$ac_ext <<_ACEOF
11645 cat confdefs.h >>conftest.$ac_ext
11646 cat >>conftest.$ac_ext <<_ACEOF
11647 /* end confdefs.h. */
11648 $ac_includes_default
11649 #include <$ac_header>
11651 rm -f conftest.$ac_objext
11652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>conftest.er1
11655 grep -v '^ *+' conftest.er1 >conftest.err
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try='test -z "$ac_c_werror_flag"
11661 || test ! -s conftest.err'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; } &&
11667 { ac_try='test -s conftest.$ac_objext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 ac_header_compiler=yes
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.$ac_ext >&5
11678 ac_header_compiler=no
11680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11682 echo "${ECHO_T}$ac_header_compiler" >&6
11684 # Is the header present?
11685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11687 cat >conftest.$ac_ext <<_ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 #include <$ac_header>
11695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11698 grep -v '^ *+' conftest.er1 >conftest.err
11700 cat conftest.err >&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); } >/dev/null; then
11703 if test -s conftest.err; then
11704 ac_cpp_err=$ac_c_preproc_warn_flag
11705 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11712 if test -z "$ac_cpp_err"; then
11713 ac_header_preproc=yes
11715 echo "$as_me: failed program was:" >&5
11716 sed 's/^/| /' conftest.$ac_ext >&5
11718 ac_header_preproc=no
11720 rm -f conftest.err conftest.$ac_ext
11721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11722 echo "${ECHO_T}$ac_header_preproc" >&6
11724 # So? What about this header?
11725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11731 ac_header_preproc=yes
11734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11748 ## --------------------------------------------- ##
11749 ## Report this to vserver@list.linux-vserver.org ##
11750 ## --------------------------------------------- ##
11753 sed "s/^/$as_me: WARNING: /" >&2
11756 echo "$as_me:$LINENO: checking for $ac_header" >&5
11757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 eval "$as_ac_Header=\$ac_header_preproc"
11763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11768 cat >>confdefs.h <<_ACEOF
11769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11778 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11779 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11780 (test "X$CXX" != "Xg++"))) ; then
11782 ac_cpp='$CXXCPP $CPPFLAGS'
11783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11786 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11787 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
11788 if test -z "$CXXCPP"; then
11789 if test "${ac_cv_prog_CXXCPP+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 # Double quotes because CXXCPP needs to be expanded
11793 for CXXCPP in "$CXX -E" "/lib/cpp"
11795 ac_preproc_ok=false
11796 for ac_cxx_preproc_warn_flag in '' yes
11798 # Use a header file that comes with gcc, so configuring glibc
11799 # with a fresh cross-compiler works.
11800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11801 # <limits.h> exists even on freestanding compilers.
11802 # On the NeXT, cc -E runs the code through the compiler's parser,
11803 # not just through cpp. "Syntax error" is here to catch this case.
11804 cat >conftest.$ac_ext <<_ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11811 # include <limits.h>
11813 # include <assert.h>
11817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1 >conftest.err
11822 cat conftest.err >&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } >/dev/null; then
11825 if test -s conftest.err; then
11826 ac_cpp_err=$ac_cxx_preproc_warn_flag
11827 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11834 if test -z "$ac_cpp_err"; then
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.$ac_ext >&5
11840 # Broken: fails on valid input.
11843 rm -f conftest.err conftest.$ac_ext
11845 # OK, works on sane cases. Now check whether non-existent headers
11846 # can be detected and how.
11847 cat >conftest.$ac_ext <<_ACEOF
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853 #include <ac_nonexistent.h>
11855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11858 grep -v '^ *+' conftest.er1 >conftest.err
11860 cat conftest.err >&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } >/dev/null; then
11863 if test -s conftest.err; then
11864 ac_cpp_err=$ac_cxx_preproc_warn_flag
11865 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11872 if test -z "$ac_cpp_err"; then
11873 # Broken: success on invalid input.
11876 echo "$as_me: failed program was:" >&5
11877 sed 's/^/| /' conftest.$ac_ext >&5
11879 # Passes both tests.
11883 rm -f conftest.err conftest.$ac_ext
11886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11887 rm -f conftest.err conftest.$ac_ext
11888 if $ac_preproc_ok; then
11893 ac_cv_prog_CXXCPP=$CXXCPP
11896 CXXCPP=$ac_cv_prog_CXXCPP
11898 ac_cv_prog_CXXCPP=$CXXCPP
11900 echo "$as_me:$LINENO: result: $CXXCPP" >&5
11901 echo "${ECHO_T}$CXXCPP" >&6
11902 ac_preproc_ok=false
11903 for ac_cxx_preproc_warn_flag in '' yes
11905 # Use a header file that comes with gcc, so configuring glibc
11906 # with a fresh cross-compiler works.
11907 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11908 # <limits.h> exists even on freestanding compilers.
11909 # On the NeXT, cc -E runs the code through the compiler's parser,
11910 # not just through cpp. "Syntax error" is here to catch this case.
11911 cat >conftest.$ac_ext <<_ACEOF
11914 cat confdefs.h >>conftest.$ac_ext
11915 cat >>conftest.$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11918 # include <limits.h>
11920 # include <assert.h>
11924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11927 grep -v '^ *+' conftest.er1 >conftest.err
11929 cat conftest.err >&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); } >/dev/null; then
11932 if test -s conftest.err; then
11933 ac_cpp_err=$ac_cxx_preproc_warn_flag
11934 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11941 if test -z "$ac_cpp_err"; then
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.$ac_ext >&5
11947 # Broken: fails on valid input.
11950 rm -f conftest.err conftest.$ac_ext
11952 # OK, works on sane cases. Now check whether non-existent headers
11953 # can be detected and how.
11954 cat >conftest.$ac_ext <<_ACEOF
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 #include <ac_nonexistent.h>
11962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1 >conftest.err
11967 cat conftest.err >&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } >/dev/null; then
11970 if test -s conftest.err; then
11971 ac_cpp_err=$ac_cxx_preproc_warn_flag
11972 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11979 if test -z "$ac_cpp_err"; then
11980 # Broken: success on invalid input.
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11986 # Passes both tests.
11990 rm -f conftest.err conftest.$ac_ext
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then
11998 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11999 See \`config.log' for more details." >&5
12000 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12001 See \`config.log' for more details." >&2;}
12002 { (exit 1); exit 1; }; }
12006 ac_cpp='$CXXCPP $CPPFLAGS'
12007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12014 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12015 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12016 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12017 if test -n "$ac_tool_prefix"; then
12018 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
12020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12021 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12022 echo "$as_me:$LINENO: checking for $ac_word" >&5
12023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12024 if test "${ac_cv_prog_F77+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 if test -n "$F77"; then
12028 ac_cv_prog_F77="$F77" # Let the user override the test.
12030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12031 for as_dir in $PATH
12034 test -z "$as_dir" && as_dir=.
12035 for ac_exec_ext in '' $ac_executable_extensions; do
12036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 F77=$ac_cv_prog_F77
12047 if test -n "$F77"; then
12048 echo "$as_me:$LINENO: result: $F77" >&5
12049 echo "${ECHO_T}$F77" >&6
12051 echo "$as_me:$LINENO: result: no" >&5
12052 echo "${ECHO_T}no" >&6
12055 test -n "$F77" && break
12058 if test -z "$F77"; then
12060 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
12062 # Extract the first word of "$ac_prog", so it can be a program name with args.
12063 set dummy $ac_prog; ac_word=$2
12064 echo "$as_me:$LINENO: checking for $ac_word" >&5
12065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12066 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 if test -n "$ac_ct_F77"; then
12070 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
12072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12073 for as_dir in $PATH
12076 test -z "$as_dir" && as_dir=.
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12079 ac_cv_prog_ac_ct_F77="$ac_prog"
12080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 ac_ct_F77=$ac_cv_prog_ac_ct_F77
12089 if test -n "$ac_ct_F77"; then
12090 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
12091 echo "${ECHO_T}$ac_ct_F77" >&6
12093 echo "$as_me:$LINENO: result: no" >&5
12094 echo "${ECHO_T}no" >&6
12097 test -n "$ac_ct_F77" && break
12104 # Provide some information about the compiler.
12105 echo "$as_me:12105:" \
12106 "checking for Fortran 77 compiler version" >&5
12107 ac_compiler=`set X $ac_compile; echo $2`
12108 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12109 (eval $ac_compiler --version </dev/null >&5) 2>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); }
12113 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12114 (eval $ac_compiler -v </dev/null >&5) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }
12118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12119 (eval $ac_compiler -V </dev/null >&5) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }
12125 # If we don't use `.F' as extension, the preprocessor is not run on the
12126 # input file. (Note that this only needs to work for GNU compilers.)
12127 ac_save_ext=$ac_ext
12129 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
12130 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
12131 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12134 cat >conftest.$ac_ext <<_ACEOF
12142 rm -f conftest.$ac_objext
12143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12144 (eval $ac_compile) 2>conftest.er1
12146 grep -v '^ *+' conftest.er1 >conftest.err
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } &&
12151 { ac_try='test -z "$ac_f77_werror_flag"
12152 || test ! -s conftest.err'
12153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12154 (eval $ac_try) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; } &&
12158 { ac_try='test -s conftest.$ac_objext'
12159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12160 (eval $ac_try) 2>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); }; }; then
12164 ac_compiler_gnu=yes
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.$ac_ext >&5
12171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12172 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
12175 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
12176 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
12177 ac_ext=$ac_save_ext
12178 ac_test_FFLAGS=${FFLAGS+set}
12179 ac_save_FFLAGS=$FFLAGS
12181 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
12182 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
12183 if test "${ac_cv_prog_f77_g+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 cat >conftest.$ac_ext <<_ACEOF
12192 rm -f conftest.$ac_objext
12193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12194 (eval $ac_compile) 2>conftest.er1
12196 grep -v '^ *+' conftest.er1 >conftest.err
12198 cat conftest.err >&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } &&
12201 { ac_try='test -z "$ac_f77_werror_flag"
12202 || test ! -s conftest.err'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; } &&
12208 { ac_try='test -s conftest.$ac_objext'
12209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12210 (eval $ac_try) 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; }; then
12214 ac_cv_prog_f77_g=yes
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 ac_cv_prog_f77_g=no
12221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12224 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
12225 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
12226 if test "$ac_test_FFLAGS" = set; then
12227 FFLAGS=$ac_save_FFLAGS
12228 elif test $ac_cv_prog_f77_g = yes; then
12229 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12235 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12242 G77=`test $ac_compiler_gnu = yes && echo yes`
12244 ac_cpp='$CPP $CPPFLAGS'
12245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12251 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
12253 # find the maximum length of command line arguments
12254 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
12255 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
12256 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 # On DJGPP, this test can blow up pretty badly due to problems in libc
12265 # (any single argument exceeding 2000 bytes causes a buffer overrun
12266 # during glob expansion). Even if it were fixed, the result of this
12267 # check would be larger than it should be.
12268 lt_cv_sys_max_cmd_len=12288; # 12K is about right
12272 # Under GNU Hurd, this test is not required because there is
12273 # no limit to the length of command line arguments.
12274 # Libtool will interpret -1 as no limit whatsoever
12275 lt_cv_sys_max_cmd_len=-1;
12279 # On Win9x/ME, this test blows up -- it succeeds, but takes
12280 # about 5 minutes as the teststring grows exponentially.
12281 # Worse, since 9x/ME are not pre-emptively multitasking,
12282 # you end up with a "frozen" computer, even though with patience
12283 # the test eventually succeeds (with a max line length of 256k).
12284 # Instead, let's just punt: use the minimum linelength reported by
12285 # all of the supported platforms: 8192 (on NT/2K/XP).
12286 lt_cv_sys_max_cmd_len=8192;
12290 # On AmigaOS with pdksh, this test takes hours, literally.
12291 # So we just punt and use a minimum line length of 8192.
12292 lt_cv_sys_max_cmd_len=8192;
12295 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
12296 # This has been around since 386BSD, at least. Likely further.
12297 if test -x /sbin/sysctl; then
12298 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
12299 elif test -x /usr/sbin/sysctl; then
12300 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
12302 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
12304 # And add a safety zone
12305 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
12306 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12310 # We know the value 262144 and hardcode it with a safety zone (like BSD)
12311 lt_cv_sys_max_cmd_len=196608
12315 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
12316 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
12317 # nice to cause kernel panics so lets avoid the loop below.
12318 # First set a reasonable default.
12319 lt_cv_sys_max_cmd_len=16384
12321 if test -x /sbin/sysconfig; then
12322 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
12323 *1*) lt_cv_sys_max_cmd_len=-1 ;;
12328 lt_cv_sys_max_cmd_len=102400
12330 sysv5* | sco5v6* | sysv4.2uw2*)
12331 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
12332 if test -n "$kargmax"; then
12333 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
12335 lt_cv_sys_max_cmd_len=32768
12339 # If test is not a shell built-in, we'll probably end up computing a
12340 # maximum length that is only half of the actual maximum length, but
12342 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
12343 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
12344 = "XX$teststring") >/dev/null 2>&1 &&
12345 new_result=`expr "X$teststring" : ".*" 2>&1` &&
12346 lt_cv_sys_max_cmd_len=$new_result &&
12347 test $i != 17 # 1/2 MB should be enough
12350 teststring=$teststring$teststring
12353 # Add a significant safety factor because C++ compilers can tack on massive
12354 # amounts of additional arguments before passing them to the linker.
12355 # It appears as though 1/2 is a usable value.
12356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12362 if test -n $lt_cv_sys_max_cmd_len ; then
12363 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12364 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
12366 echo "$as_me:$LINENO: result: none" >&5
12367 echo "${ECHO_T}none" >&6
12373 # Check for command to grab the raw symbol name followed by C symbol from nm.
12374 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
12375 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
12376 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 # These are sane defaults that work on at least a few old systems.
12381 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
12383 # Character class describing NM global symbol codes.
12384 symcode='[BCDEGRST]'
12386 # Regexp to match symbols that can be accessed directly from C.
12387 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
12389 # Transform an extracted symbol line into a proper C declaration
12390 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
12392 # Transform an extracted symbol line into symbol name and symbol address
12393 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'"
12395 # Define system-specific variables.
12400 cygwin* | mingw* | pw32*)
12401 symcode='[ABCDGISTW]'
12403 hpux*) # Its linker distinguishes data from code symbols
12404 if test "$host_cpu" = ia64; then
12405 symcode='[ABCDEGRST]'
12407 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12408 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'"
12411 if test "$host_cpu" = ia64; then
12412 symcode='[ABCDGIRSTW]'
12413 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12414 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'"
12417 irix* | nonstopux*)
12418 symcode='[BCDEGRST]'
12421 symcode='[BCDEGQRST]'
12432 sysv5* | sco5v6* | unixware* | OpenUNIX*)
12440 # Handle CRLF in mingw tool chain
12444 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
12448 # If we're using GNU nm, then use its standard symbol codes.
12449 case `$NM -V 2>&1` in
12450 *GNU* | *'with BFD'*)
12451 symcode='[ABCDGIRSTW]' ;;
12454 # Try without a prefix undercore, then with it.
12455 for ac_symprfx in "" "_"; do
12457 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
12458 symxfrm="\\1 $ac_symprfx\\2 \\2"
12460 # Write the raw and C identifiers.
12461 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
12463 # Check to see that the pipe works correctly.
12467 cat > conftest.$ac_ext <<EOF
12472 void nm_test_func(){}
12476 int main(){nm_test_var='a';nm_test_func();return(0);}
12479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12480 (eval $ac_compile) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; then
12484 # Now try to grab the symbols.
12486 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
12487 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } && test -s "$nlist"; then
12491 # Try sorting and uniquifying the output.
12492 if sort "$nlist" | uniq > "$nlist"T; then
12493 mv -f "$nlist"T "$nlist"
12498 # Make sure that we snagged all the symbols we need.
12499 if grep ' nm_test_var$' "$nlist" >/dev/null; then
12500 if grep ' nm_test_func$' "$nlist" >/dev/null; then
12501 cat <<EOF > conftest.$ac_ext
12507 # Now generate the symbol file.
12508 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
12510 cat <<EOF >> conftest.$ac_ext
12511 #if defined (__STDC__) && __STDC__
12512 # define lt_ptr_t void *
12514 # define lt_ptr_t char *
12518 /* The mapping between symbol names and symbols. */
12523 lt_preloaded_symbols[] =
12526 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
12527 cat <<\EOF >> conftest.$ac_ext
12535 # Now try linking the two files.
12536 mv conftest.$ac_objext conftstm.$ac_objext
12537 lt_save_LIBS="$LIBS"
12538 lt_save_CFLAGS="$CFLAGS"
12539 LIBS="conftstm.$ac_objext"
12540 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } && test -s conftest${ac_exeext}; then
12548 LIBS="$lt_save_LIBS"
12549 CFLAGS="$lt_save_CFLAGS"
12551 echo "cannot find nm_test_func in $nlist" >&5
12554 echo "cannot find nm_test_var in $nlist" >&5
12557 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12560 echo "$progname: failed program was:" >&5
12561 cat conftest.$ac_ext >&5
12563 rm -f conftest* conftst*
12565 # Do not use the global_symbol_pipe unless it works.
12566 if test "$pipe_works" = yes; then
12569 lt_cv_sys_global_symbol_pipe=
12575 if test -z "$lt_cv_sys_global_symbol_pipe"; then
12576 lt_cv_sys_global_symbol_to_cdecl=
12578 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12579 echo "$as_me:$LINENO: result: failed" >&5
12580 echo "${ECHO_T}failed" >&6
12582 echo "$as_me:$LINENO: result: ok" >&5
12583 echo "${ECHO_T}ok" >&6
12586 echo "$as_me:$LINENO: checking for objdir" >&5
12587 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12588 if test "${lt_cv_objdir+set}" = set; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 rm -f .libs 2>/dev/null
12592 mkdir .libs 2>/dev/null
12593 if test -d .libs; then
12596 # MS-DOS does not allow filenames that begin with a dot.
12599 rmdir .libs 2>/dev/null
12601 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12602 echo "${ECHO_T}$lt_cv_objdir" >&6
12603 objdir=$lt_cv_objdir
12611 # AIX sometimes has problems with the GCC collect2 program. For some
12612 # reason, if we set the COLLECT_NAMES environment variable, the problems
12613 # vanish in a puff of smoke.
12614 if test "X${COLLECT_NAMES+set}" != Xset; then
12616 export COLLECT_NAMES
12621 # Sed substitution that helps us do robust quoting. It backslashifies
12622 # metacharacters that are still active within double-quoted strings.
12623 Xsed='sed -e 1s/^X//'
12624 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12626 # Same as above, but do not quote variable references.
12627 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12629 # Sed substitution to delay expansion of an escaped shell variable in a
12630 # double_quote_subst'ed string.
12631 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12633 # Sed substitution to avoid accidental globbing in evaled expressions
12634 no_glob_subst='s/\*/\\\*/g'
12639 # Global variables:
12640 default_ofile=libtool
12641 can_build_shared=yes
12643 # All known linkers require a `.a' archive for static linking (except MSVC,
12644 # which needs '.lib').
12646 ltmain="$ac_aux_dir/ltmain.sh"
12647 ofile="$default_ofile"
12648 with_gnu_ld="$lt_cv_prog_gnu_ld"
12650 if test -n "$ac_tool_prefix"; then
12651 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12652 set dummy ${ac_tool_prefix}ar; ac_word=$2
12653 echo "$as_me:$LINENO: checking for $ac_word" >&5
12654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12655 if test "${ac_cv_prog_AR+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 if test -n "$AR"; then
12659 ac_cv_prog_AR="$AR" # Let the user override the test.
12661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12662 for as_dir in $PATH
12665 test -z "$as_dir" && as_dir=.
12666 for ac_exec_ext in '' $ac_executable_extensions; do
12667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12668 ac_cv_prog_AR="${ac_tool_prefix}ar"
12669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12678 if test -n "$AR"; then
12679 echo "$as_me:$LINENO: result: $AR" >&5
12680 echo "${ECHO_T}$AR" >&6
12682 echo "$as_me:$LINENO: result: no" >&5
12683 echo "${ECHO_T}no" >&6
12687 if test -z "$ac_cv_prog_AR"; then
12689 # Extract the first word of "ar", so it can be a program name with args.
12690 set dummy ar; ac_word=$2
12691 echo "$as_me:$LINENO: checking for $ac_word" >&5
12692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12693 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 if test -n "$ac_ct_AR"; then
12697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 for ac_exec_ext in '' $ac_executable_extensions; do
12705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12706 ac_cv_prog_ac_ct_AR="ar"
12707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12713 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
12716 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12717 if test -n "$ac_ct_AR"; then
12718 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12719 echo "${ECHO_T}$ac_ct_AR" >&6
12721 echo "$as_me:$LINENO: result: no" >&5
12722 echo "${ECHO_T}no" >&6
12727 AR="$ac_cv_prog_AR"
12730 if test -n "$ac_tool_prefix"; then
12731 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12732 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12733 echo "$as_me:$LINENO: checking for $ac_word" >&5
12734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12735 if test "${ac_cv_prog_RANLIB+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 if test -n "$RANLIB"; then
12739 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12742 for as_dir in $PATH
12745 test -z "$as_dir" && as_dir=.
12746 for ac_exec_ext in '' $ac_executable_extensions; do
12747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12748 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12757 RANLIB=$ac_cv_prog_RANLIB
12758 if test -n "$RANLIB"; then
12759 echo "$as_me:$LINENO: result: $RANLIB" >&5
12760 echo "${ECHO_T}$RANLIB" >&6
12762 echo "$as_me:$LINENO: result: no" >&5
12763 echo "${ECHO_T}no" >&6
12767 if test -z "$ac_cv_prog_RANLIB"; then
12768 ac_ct_RANLIB=$RANLIB
12769 # Extract the first word of "ranlib", so it can be a program name with args.
12770 set dummy ranlib; ac_word=$2
12771 echo "$as_me:$LINENO: checking for $ac_word" >&5
12772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12773 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 if test -n "$ac_ct_RANLIB"; then
12777 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12780 for as_dir in $PATH
12783 test -z "$as_dir" && as_dir=.
12784 for ac_exec_ext in '' $ac_executable_extensions; do
12785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12786 ac_cv_prog_ac_ct_RANLIB="ranlib"
12787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12796 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12797 if test -n "$ac_ct_RANLIB"; then
12798 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12799 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12801 echo "$as_me:$LINENO: result: no" >&5
12802 echo "${ECHO_T}no" >&6
12805 RANLIB=$ac_ct_RANLIB
12807 RANLIB="$ac_cv_prog_RANLIB"
12810 if test -n "$ac_tool_prefix"; then
12811 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12812 set dummy ${ac_tool_prefix}strip; ac_word=$2
12813 echo "$as_me:$LINENO: checking for $ac_word" >&5
12814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12815 if test "${ac_cv_prog_STRIP+set}" = set; then
12816 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 if test -n "$STRIP"; then
12819 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12822 for as_dir in $PATH
12825 test -z "$as_dir" && as_dir=.
12826 for ac_exec_ext in '' $ac_executable_extensions; do
12827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12828 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12837 STRIP=$ac_cv_prog_STRIP
12838 if test -n "$STRIP"; then
12839 echo "$as_me:$LINENO: result: $STRIP" >&5
12840 echo "${ECHO_T}$STRIP" >&6
12842 echo "$as_me:$LINENO: result: no" >&5
12843 echo "${ECHO_T}no" >&6
12847 if test -z "$ac_cv_prog_STRIP"; then
12849 # Extract the first word of "strip", so it can be a program name with args.
12850 set dummy strip; ac_word=$2
12851 echo "$as_me:$LINENO: checking for $ac_word" >&5
12852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12853 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 if test -n "$ac_ct_STRIP"; then
12857 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12860 for as_dir in $PATH
12863 test -z "$as_dir" && as_dir=.
12864 for ac_exec_ext in '' $ac_executable_extensions; do
12865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12866 ac_cv_prog_ac_ct_STRIP="strip"
12867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12873 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12876 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12877 if test -n "$ac_ct_STRIP"; then
12878 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12879 echo "${ECHO_T}$ac_ct_STRIP" >&6
12881 echo "$as_me:$LINENO: result: no" >&5
12882 echo "${ECHO_T}no" >&6
12887 STRIP="$ac_cv_prog_STRIP"
12892 old_CFLAGS="$CFLAGS"
12894 # Set sane defaults for various variables
12895 test -z "$AR" && AR=ar
12896 test -z "$AR_FLAGS" && AR_FLAGS=cru
12897 test -z "$AS" && AS=as
12898 test -z "$CC" && CC=cc
12899 test -z "$LTCC" && LTCC=$CC
12900 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12901 test -z "$DLLTOOL" && DLLTOOL=dlltool
12902 test -z "$LD" && LD=ld
12903 test -z "$LN_S" && LN_S="ln -s"
12904 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12905 test -z "$NM" && NM=nm
12906 test -z "$SED" && SED=sed
12907 test -z "$OBJDUMP" && OBJDUMP=objdump
12908 test -z "$RANLIB" && RANLIB=:
12909 test -z "$STRIP" && STRIP=:
12910 test -z "$ac_objext" && ac_objext=o
12912 # Determine commands to create old-style static archives.
12913 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12914 old_postinstall_cmds='chmod 644 $oldlib'
12915 old_postuninstall_cmds=
12917 if test -n "$RANLIB"; then
12920 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
12923 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
12926 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12929 for cc_temp in $compiler""; do
12931 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12932 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12937 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12940 # Only perform the check for file, if the check method requires it
12941 case $deplibs_check_method in
12943 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12944 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12945 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
12946 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12954 lt_save_MAGIC_CMD="$MAGIC_CMD"
12955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12956 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12957 for ac_dir in $ac_dummy; do
12959 test -z "$ac_dir" && ac_dir=.
12960 if test -f $ac_dir/${ac_tool_prefix}file; then
12961 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12962 if test -n "$file_magic_test_file"; then
12963 case $deplibs_check_method in
12965 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12966 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12967 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12968 $EGREP "$file_magic_regex" > /dev/null; then
12973 *** Warning: the command libtool uses to detect shared libraries,
12974 *** $file_magic_cmd, produces output that libtool cannot recognize.
12975 *** The result is that libtool may fail to recognize shared libraries
12976 *** as such. This will affect the creation of libtool libraries that
12977 *** depend on shared libraries, but programs linked with such libtool
12978 *** libraries will work regardless of this problem. Nevertheless, you
12979 *** may want to report the problem to your system manager and/or to
12980 *** bug-libtool@gnu.org
12990 MAGIC_CMD="$lt_save_MAGIC_CMD"
12995 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12996 if test -n "$MAGIC_CMD"; then
12997 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12998 echo "${ECHO_T}$MAGIC_CMD" >&6
13000 echo "$as_me:$LINENO: result: no" >&5
13001 echo "${ECHO_T}no" >&6
13004 if test -z "$lt_cv_path_MAGIC_CMD"; then
13005 if test -n "$ac_tool_prefix"; then
13006 echo "$as_me:$LINENO: checking for file" >&5
13007 echo $ECHO_N "checking for file... $ECHO_C" >&6
13008 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13009 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13016 lt_save_MAGIC_CMD="$MAGIC_CMD"
13017 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13018 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13019 for ac_dir in $ac_dummy; do
13021 test -z "$ac_dir" && ac_dir=.
13022 if test -f $ac_dir/file; then
13023 lt_cv_path_MAGIC_CMD="$ac_dir/file"
13024 if test -n "$file_magic_test_file"; then
13025 case $deplibs_check_method in
13027 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13029 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13030 $EGREP "$file_magic_regex" > /dev/null; then
13035 *** Warning: the command libtool uses to detect shared libraries,
13036 *** $file_magic_cmd, produces output that libtool cannot recognize.
13037 *** The result is that libtool may fail to recognize shared libraries
13038 *** as such. This will affect the creation of libtool libraries that
13039 *** depend on shared libraries, but programs linked with such libtool
13040 *** libraries will work regardless of this problem. Nevertheless, you
13041 *** may want to report the problem to your system manager and/or to
13042 *** bug-libtool@gnu.org
13052 MAGIC_CMD="$lt_save_MAGIC_CMD"
13057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13058 if test -n "$MAGIC_CMD"; then
13059 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13060 echo "${ECHO_T}$MAGIC_CMD" >&6
13062 echo "$as_me:$LINENO: result: no" >&5
13063 echo "${ECHO_T}no" >&6
13076 enable_win32_dll=no
13078 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
13079 if test "${enable_libtool_lock+set}" = set; then
13080 enableval="$enable_libtool_lock"
13083 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13086 # Check whether --with-pic or --without-pic was given.
13087 if test "${with_pic+set}" = set; then
13088 withval="$with_pic"
13089 pic_mode="$withval"
13093 test -z "$pic_mode" && pic_mode=default
13095 # Use C for the default configuration in the libtool script
13099 ac_cpp='$CPP $CPPFLAGS'
13100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13105 # Source file extension for C test sources.
13108 # Object file extension for compiled C test sources.
13112 # Code to be used in simple compile tests
13113 lt_simple_compile_test_code="int some_variable = 0;\n"
13115 # Code to be used in simple link tests
13116 lt_simple_link_test_code='int main(){return(0);}\n'
13119 # If no C compiler was specified, use CC.
13122 # If no C compiler flags were specified, use CFLAGS.
13123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13125 # Allow CC to be a program name with arguments.
13129 # save warnings/boilerplate of simple test code
13130 ac_outfile=conftest.$ac_objext
13131 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13133 _lt_compiler_boilerplate=`cat conftest.err`
13136 ac_outfile=conftest.$ac_objext
13137 printf "$lt_simple_link_test_code" >conftest.$ac_ext
13138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13139 _lt_linker_boilerplate=`cat conftest.err`
13144 lt_prog_compiler_no_builtin_flag=
13146 if test "$GCC" = yes; then
13147 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
13150 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13151 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
13152 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 lt_cv_prog_compiler_rtti_exceptions=no
13156 ac_outfile=conftest.$ac_objext
13157 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13158 lt_compiler_flag="-fno-rtti -fno-exceptions"
13159 # Insert the option either (1) after the last *FLAGS variable, or
13160 # (2) before a word containing "conftest.", or (3) at the end.
13161 # Note that $ac_compile itself does not contain backslashes and begins
13162 # with a dollar sign (not a hyphen), so the echo should work correctly.
13163 # The option is referenced via a variable to avoid confusing sed.
13164 lt_compile=`echo "$ac_compile" | $SED \
13165 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13166 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13167 -e 's:$: $lt_compiler_flag:'`
13168 (eval echo "\"\$as_me:13168: $lt_compile\"" >&5)
13169 (eval "$lt_compile" 2>conftest.err)
13171 cat conftest.err >&5
13172 echo "$as_me:13172: \$? = $ac_status" >&5
13173 if (exit $ac_status) && test -s "$ac_outfile"; then
13174 # The compiler can only warn and ignore the option if not recognized
13175 # So say no if there are warnings other than the usual output.
13176 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13177 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13178 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13179 lt_cv_prog_compiler_rtti_exceptions=yes
13185 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13186 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
13188 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
13189 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13196 lt_prog_compiler_wl=
13197 lt_prog_compiler_pic=
13198 lt_prog_compiler_static=
13200 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13201 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13203 if test "$GCC" = yes; then
13204 lt_prog_compiler_wl='-Wl,'
13205 lt_prog_compiler_static='-static'
13209 # All AIX code is PIC.
13210 if test "$host_cpu" = ia64; then
13211 # AIX 5 now supports IA64 processor
13212 lt_prog_compiler_static='-Bstatic'
13217 # FIXME: we need at least 68020 code to build shared libraries, but
13218 # adding the `-m68020' flag to GCC prevents building anything better,
13220 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13223 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13224 # PIC is the default for these OSes.
13227 mingw* | pw32* | os2*)
13228 # This hack is so that the source file can tell whether it is being
13229 # built for inclusion in a dll (and should export symbols for example).
13230 lt_prog_compiler_pic='-DDLL_EXPORT'
13233 darwin* | rhapsody*)
13234 # PIC is the default on this platform
13235 # Common symbols not allowed in MH_DYLIB files
13236 lt_prog_compiler_pic='-fno-common'
13240 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13241 # Instead, we relocate shared libraries at runtime.
13245 # Just because we use GCC doesn't mean we suddenly get shared libraries
13246 # on systems that don't support them.
13247 lt_prog_compiler_can_build_shared=no
13252 if test -d /usr/nec; then
13253 lt_prog_compiler_pic=-Kconform_pic
13258 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13259 # not for PA HP-UX.
13265 lt_prog_compiler_pic='-fPIC'
13271 lt_prog_compiler_pic='-fPIC'
13275 # PORTME Check for flag to pass linker flags through the system compiler.
13278 lt_prog_compiler_wl='-Wl,'
13279 if test "$host_cpu" = ia64; then
13280 # AIX 5 now supports IA64 processor
13281 lt_prog_compiler_static='-Bstatic'
13283 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13287 # PIC is the default on this platform
13288 # Common symbols not allowed in MH_DYLIB files
13289 case $cc_basename in
13291 lt_prog_compiler_pic='-qnocommon'
13292 lt_prog_compiler_wl='-Wl,'
13297 mingw* | pw32* | os2*)
13298 # This hack is so that the source file can tell whether it is being
13299 # built for inclusion in a dll (and should export symbols for example).
13300 lt_prog_compiler_pic='-DDLL_EXPORT'
13303 hpux9* | hpux10* | hpux11*)
13304 lt_prog_compiler_wl='-Wl,'
13305 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13306 # not for PA HP-UX.
13312 lt_prog_compiler_pic='+Z'
13315 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13316 lt_prog_compiler_static='${wl}-a ${wl}archive'
13319 irix5* | irix6* | nonstopux*)
13320 lt_prog_compiler_wl='-Wl,'
13321 # PIC (with -KPIC) is the default.
13322 lt_prog_compiler_static='-non_shared'
13326 lt_prog_compiler_pic='-KPIC'
13327 lt_prog_compiler_static='-Bstatic'
13331 case $cc_basename in
13333 lt_prog_compiler_wl='-Wl,'
13334 lt_prog_compiler_pic='-KPIC'
13335 lt_prog_compiler_static='-static'
13337 pgcc* | pgf77* | pgf90* | pgf95*)
13338 # Portland Group compilers (*not* the Pentium gcc compiler,
13339 # which looks to be a dead project)
13340 lt_prog_compiler_wl='-Wl,'
13341 lt_prog_compiler_pic='-fpic'
13342 lt_prog_compiler_static='-Bstatic'
13345 lt_prog_compiler_wl='-Wl,'
13346 # All Alpha code is PIC.
13347 lt_prog_compiler_static='-non_shared'
13352 osf3* | osf4* | osf5*)
13353 lt_prog_compiler_wl='-Wl,'
13354 # All OSF/1 code is PIC.
13355 lt_prog_compiler_static='-non_shared'
13359 lt_prog_compiler_pic='-KPIC'
13360 lt_prog_compiler_static='-Bstatic'
13361 case $cc_basename in
13362 f77* | f90* | f95*)
13363 lt_prog_compiler_wl='-Qoption ld ';;
13365 lt_prog_compiler_wl='-Wl,';;
13370 lt_prog_compiler_wl='-Qoption ld '
13371 lt_prog_compiler_pic='-PIC'
13372 lt_prog_compiler_static='-Bstatic'
13375 sysv4 | sysv4.2uw2* | sysv4.3*)
13376 lt_prog_compiler_wl='-Wl,'
13377 lt_prog_compiler_pic='-KPIC'
13378 lt_prog_compiler_static='-Bstatic'
13382 if test -d /usr/nec ;then
13383 lt_prog_compiler_pic='-Kconform_pic'
13384 lt_prog_compiler_static='-Bstatic'
13388 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13389 lt_prog_compiler_wl='-Wl,'
13390 lt_prog_compiler_pic='-KPIC'
13391 lt_prog_compiler_static='-Bstatic'
13395 lt_prog_compiler_wl='-Wl,'
13396 lt_prog_compiler_can_build_shared=no
13400 lt_prog_compiler_pic='-pic'
13401 lt_prog_compiler_static='-Bstatic'
13405 lt_prog_compiler_can_build_shared=no
13410 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
13411 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
13414 # Check to make sure the PIC flag actually works.
13416 if test -n "$lt_prog_compiler_pic"; then
13418 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13419 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
13420 if test "${lt_prog_compiler_pic_works+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 lt_prog_compiler_pic_works=no
13424 ac_outfile=conftest.$ac_objext
13425 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13426 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
13427 # Insert the option either (1) after the last *FLAGS variable, or
13428 # (2) before a word containing "conftest.", or (3) at the end.
13429 # Note that $ac_compile itself does not contain backslashes and begins
13430 # with a dollar sign (not a hyphen), so the echo should work correctly.
13431 # The option is referenced via a variable to avoid confusing sed.
13432 lt_compile=`echo "$ac_compile" | $SED \
13433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13435 -e 's:$: $lt_compiler_flag:'`
13436 (eval echo "\"\$as_me:13436: $lt_compile\"" >&5)
13437 (eval "$lt_compile" 2>conftest.err)
13439 cat conftest.err >&5
13440 echo "$as_me:13440: \$? = $ac_status" >&5
13441 if (exit $ac_status) && test -s "$ac_outfile"; then
13442 # The compiler can only warn and ignore the option if not recognized
13443 # So say no if there are warnings other than the usual output.
13444 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13445 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13446 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13447 lt_prog_compiler_pic_works=yes
13453 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
13454 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
13456 if test x"$lt_prog_compiler_pic_works" = xyes; then
13457 case $lt_prog_compiler_pic in
13459 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13462 lt_prog_compiler_pic=
13463 lt_prog_compiler_can_build_shared=no
13468 # For platforms which do not support PIC, -DPIC is meaningless:
13470 lt_prog_compiler_pic=
13473 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13478 # Check to make sure the static flag actually works.
13480 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13481 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13482 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13483 if test "${lt_prog_compiler_static_works+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 lt_prog_compiler_static_works=no
13487 save_LDFLAGS="$LDFLAGS"
13488 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13489 printf "$lt_simple_link_test_code" > conftest.$ac_ext
13490 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13491 # The linker can only warn and ignore the option if not recognized
13492 # So say no if there are warnings
13493 if test -s conftest.err; then
13494 # Append any errors to the config.log.
13495 cat conftest.err 1>&5
13496 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13497 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13498 if diff conftest.exp conftest.er2 >/dev/null; then
13499 lt_prog_compiler_static_works=yes
13502 lt_prog_compiler_static_works=yes
13506 LDFLAGS="$save_LDFLAGS"
13509 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
13510 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
13512 if test x"$lt_prog_compiler_static_works" = xyes; then
13515 lt_prog_compiler_static=
13519 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13520 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13521 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 lt_cv_prog_compiler_c_o=no
13525 $rm -r conftest 2>/dev/null
13529 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13531 lt_compiler_flag="-o out/conftest2.$ac_objext"
13532 # Insert the option either (1) after the last *FLAGS variable, or
13533 # (2) before a word containing "conftest.", or (3) at the end.
13534 # Note that $ac_compile itself does not contain backslashes and begins
13535 # with a dollar sign (not a hyphen), so the echo should work correctly.
13536 lt_compile=`echo "$ac_compile" | $SED \
13537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13539 -e 's:$: $lt_compiler_flag:'`
13540 (eval echo "\"\$as_me:13540: $lt_compile\"" >&5)
13541 (eval "$lt_compile" 2>out/conftest.err)
13543 cat out/conftest.err >&5
13544 echo "$as_me:13544: \$? = $ac_status" >&5
13545 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13547 # The compiler can only warn and ignore the option if not recognized
13548 # So say no if there are warnings
13549 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13550 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13551 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13552 lt_cv_prog_compiler_c_o=yes
13557 # SGI C++ compiler will create directory out/ii_files/ for
13558 # template instantiation
13559 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13560 $rm out/* && rmdir out
13566 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
13567 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
13570 hard_links="nottested"
13571 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
13572 # do not overwrite the value of need_locks provided by the user
13573 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13574 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13579 ln conftest.a conftest.b 2>&5 || hard_links=no
13580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13581 echo "$as_me:$LINENO: result: $hard_links" >&5
13582 echo "${ECHO_T}$hard_links" >&6
13583 if test "$hard_links" = no; then
13584 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13585 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13592 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13593 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13596 allow_undefined_flag=
13597 enable_shared_with_static_runtimes=no
13599 archive_expsym_cmds=
13600 old_archive_From_new_cmds=
13601 old_archive_from_expsyms_cmds=
13602 export_dynamic_flag_spec=
13603 whole_archive_flag_spec=
13604 thread_safe_flag_spec=
13605 hardcode_libdir_flag_spec=
13606 hardcode_libdir_flag_spec_ld=
13607 hardcode_libdir_separator=
13609 hardcode_minus_L=no
13610 hardcode_shlibpath_var=unsupported
13611 link_all_deplibs=unknown
13612 hardcode_automatic=no
13614 module_expsym_cmds=
13615 always_export_symbols=no
13616 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13617 # include_expsyms should be a list of space-separated symbols to be *always*
13618 # included in the symbol list
13620 # exclude_expsyms can be an extended regexp of symbols to exclude
13621 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13622 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13623 # as well as any symbol that contains `d'.
13624 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
13625 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13626 # platforms (ab)use it in PIC code, but their linkers get confused if
13627 # the symbol is explicitly referenced. Since portable code cannot
13628 # rely on this symbol name, it's probably fine to never include it in
13629 # preloaded symbol tables.
13630 extract_expsyms_cmds=
13631 # Just being paranoid about ensuring that cc_basename is set.
13632 for cc_temp in $compiler""; do
13634 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13635 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13640 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13643 cygwin* | mingw* | pw32*)
13644 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13645 # When not using gcc, we currently assume that we are using
13646 # Microsoft Visual C++.
13647 if test "$GCC" != yes; then
13652 # we just hope/assume this is gcc and not c89 (= MSVC++)
13661 if test "$with_gnu_ld" = yes; then
13662 # If archive_cmds runs LD, not CC, wlarc should be empty
13665 # Set some defaults for GNU ld with shared library support. These
13666 # are reset later if shared libraries are not supported. Putting them
13667 # here allows them to be overridden if necessary.
13668 runpath_var=LD_RUN_PATH
13669 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13670 export_dynamic_flag_spec='${wl}--export-dynamic'
13671 # ancient GNU ld didn't support --whole-archive et. al.
13672 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13673 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13675 whole_archive_flag_spec=
13677 supports_anon_versioning=no
13678 case `$LD -v 2>/dev/null` in
13679 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13680 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13681 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13682 *\ 2.11.*) ;; # other 2.11 versions
13683 *) supports_anon_versioning=yes ;;
13686 # See if GNU ld supports shared libraries.
13688 aix3* | aix4* | aix5*)
13689 # On AIX/PPC, the GNU linker is very broken
13690 if test "$host_cpu" != ia64; then
13694 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13695 *** to be unable to reliably create shared libraries on AIX.
13696 *** Therefore, libtool is disabling shared libraries support. If you
13697 *** really care for shared libraries, you may want to modify your PATH
13698 *** so that a non-GNU linker is found, and then restart.
13705 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)'
13706 hardcode_libdir_flag_spec='-L$libdir'
13707 hardcode_minus_L=yes
13709 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13710 # that the semantics of dynamic libraries on AmigaOS, at least up
13711 # to version 4, is to share data among multiple programs linked
13712 # with the same dynamic library. Since this doesn't match the
13713 # behavior of shared libraries on other platforms, we can't use
13719 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13720 allow_undefined_flag=unsupported
13721 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13722 # support --undefined. This deserves some investigation. FIXME
13723 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13729 cygwin* | mingw* | pw32*)
13730 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13731 # as there is no search path for DLLs.
13732 hardcode_libdir_flag_spec='-L$libdir'
13733 allow_undefined_flag=unsupported
13734 always_export_symbols=no
13735 enable_shared_with_static_runtimes=yes
13736 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13738 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13740 # If the export-symbols file already is a .def file (1st line
13741 # is EXPORTS), use it as is; otherwise, prepend...
13742 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13743 cp $export_symbols $output_objdir/$soname.def;
13745 echo EXPORTS > $output_objdir/$soname.def;
13746 cat $export_symbols >> $output_objdir/$soname.def;
13748 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13756 hardcode_shlibpath_var=no
13757 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13758 export_dynamic_flag_spec='${wl}-E'
13759 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13760 # Instead, shared libraries are loaded at an image base (0x10000000 by
13761 # default) and relocated if they conflict, which is a slow very memory
13762 # consuming and fragmenting process. To avoid this, we pick a random,
13763 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13764 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13765 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13766 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'
13770 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13772 case $cc_basename,$host_cpu in
13773 pgcc*) # Portland Group C compiler
13774 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'
13775 tmp_addflag=' $pic_flag'
13777 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13778 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'
13779 tmp_addflag=' $pic_flag -Mnomain' ;;
13780 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13781 tmp_addflag=' -i_dynamic' ;;
13782 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13783 tmp_addflag=' -i_dynamic -nofor_main' ;;
13784 ifc* | ifort*) # Intel Fortran compiler
13785 tmp_addflag=' -nofor_main' ;;
13787 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13789 if test $supports_anon_versioning = yes; then
13790 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13791 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13792 $echo "local: *; };" >> $output_objdir/$libname.ver~
13793 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13801 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13802 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13805 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13806 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13811 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13815 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13816 *** create shared libraries on Solaris systems. Therefore, libtool
13817 *** is disabling shared libraries support. We urge you to upgrade GNU
13818 *** binutils to release 2.9.1 or newer. Another option is to modify
13819 *** your PATH or compiler configuration so that the native linker is
13820 *** used, and then restart.
13823 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13824 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13825 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13832 case `$LD -v 2>&1` in
13833 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13837 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13838 *** reliably create shared libraries on SCO systems. Therefore, libtool
13839 *** is disabling shared libraries support. We urge you to upgrade GNU
13840 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13841 *** your PATH or compiler configuration so that the native linker is
13842 *** used, and then restart.
13847 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13848 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13849 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13850 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13859 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13861 hardcode_direct=yes
13862 hardcode_shlibpath_var=no
13866 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13867 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13868 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13875 if test "$ld_shlibs" = no; then
13877 hardcode_libdir_flag_spec=
13878 export_dynamic_flag_spec=
13879 whole_archive_flag_spec=
13882 # PORTME fill in a description of your system's linker (not GNU ld)
13885 allow_undefined_flag=unsupported
13886 always_export_symbols=yes
13887 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'
13888 # Note: this linker hardcodes the directories in LIBPATH if there
13889 # are no directories specified by -L.
13890 hardcode_minus_L=yes
13891 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13892 # Neither direct hardcoding nor static linking is supported with a
13894 hardcode_direct=unsupported
13899 if test "$host_cpu" = ia64; then
13900 # On IA64, the linker does run time linking by default, so we don't
13901 # have to do anything special.
13902 aix_use_runtimelinking=no
13903 exp_sym_flag='-Bexport'
13906 # If we're using GNU nm, then we don't want the "-C" option.
13907 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13908 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13909 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'
13911 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'
13913 aix_use_runtimelinking=no
13915 # Test if we are trying to use run time linking or normal
13916 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13917 # need to do runtime linking.
13918 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13919 for ld_flag in $LDFLAGS; do
13920 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13921 aix_use_runtimelinking=yes
13928 exp_sym_flag='-bexport'
13929 no_entry_flag='-bnoentry'
13932 # When large executables or shared objects are built, AIX ld can
13933 # have problems creating the table of contents. If linking a library
13934 # or program results in "error TOC overflow" add -mminimal-toc to
13935 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13936 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13939 hardcode_direct=yes
13940 hardcode_libdir_separator=':'
13941 link_all_deplibs=yes
13943 if test "$GCC" = yes; then
13944 case $host_os in aix4.[012]|aix4.[012].*)
13945 # We only want to do this on AIX 4.2 and lower, the check
13946 # below for broken collect2 doesn't work under 4.3+
13947 collect2name=`${CC} -print-prog-name=collect2`
13948 if test -f "$collect2name" && \
13949 strings "$collect2name" | grep resolve_lib_name >/dev/null
13951 # We have reworked collect2
13952 hardcode_direct=yes
13954 # We have old collect2
13955 hardcode_direct=unsupported
13956 # It fails to find uninstalled libraries when the uninstalled
13957 # path is not listed in the libpath. Setting hardcode_minus_L
13958 # to unsupported forces relinking
13959 hardcode_minus_L=yes
13960 hardcode_libdir_flag_spec='-L$libdir'
13961 hardcode_libdir_separator=
13965 shared_flag='-shared'
13966 if test "$aix_use_runtimelinking" = yes; then
13967 shared_flag="$shared_flag "'${wl}-G'
13971 if test "$host_cpu" = ia64; then
13972 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13973 # chokes on -Wl,-G. The following line is correct:
13976 if test "$aix_use_runtimelinking" = yes; then
13977 shared_flag='${wl}-G'
13979 shared_flag='${wl}-bM:SRE'
13984 # It seems that -bexpall does not export symbols beginning with
13985 # underscore (_), so it is better to generate a list of symbols to export.
13986 always_export_symbols=yes
13987 if test "$aix_use_runtimelinking" = yes; then
13988 # Warning - without using the other runtime loading flags (-brtl),
13989 # -berok will link without error, but may produce a broken library.
13990 allow_undefined_flag='-berok'
13991 # Determine the default libpath from the value encoded in an empty executable.
13992 cat >conftest.$ac_ext <<_ACEOF
13995 cat confdefs.h >>conftest.$ac_ext
13996 cat >>conftest.$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
14007 rm -f conftest.$ac_objext conftest$ac_exeext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14009 (eval $ac_link) 2>conftest.er1
14011 grep -v '^ *+' conftest.er1 >conftest.err
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } &&
14016 { ac_try='test -z "$ac_c_werror_flag"
14017 || test ! -s conftest.err'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; } &&
14023 { ac_try='test -s conftest$ac_exeext'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14030 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14032 # Check for a 64-bit object if we didn't find anything.
14033 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; }
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14040 rm -f conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14044 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14045 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"
14047 if test "$host_cpu" = ia64; then
14048 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
14049 allow_undefined_flag="-z nodefs"
14050 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"
14052 # Determine the default libpath from the value encoded in an empty executable.
14053 cat >conftest.$ac_ext <<_ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14068 rm -f conftest.$ac_objext conftest$ac_exeext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14070 (eval $ac_link) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1 >conftest.err
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try='test -z "$ac_c_werror_flag"
14078 || test ! -s conftest.err'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } &&
14084 { ac_try='test -s conftest$ac_exeext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14091 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14093 # Check for a 64-bit object if we didn't find anything.
14094 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; }
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.$ac_ext >&5
14101 rm -f conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14105 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14106 # Warning - without using the other run time loading flags,
14107 # -berok will link without error, but may produce a broken library.
14108 no_undefined_flag=' ${wl}-bernotok'
14109 allow_undefined_flag=' ${wl}-berok'
14110 # Exported symbols can be pulled into shared objects from archives
14111 whole_archive_flag_spec='$convenience'
14112 archive_cmds_need_lc=yes
14113 # This is similar to how AIX traditionally builds its shared libraries.
14114 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'
14120 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)'
14121 hardcode_libdir_flag_spec='-L$libdir'
14122 hardcode_minus_L=yes
14123 # see comment about different semantics on the GNU ld section
14128 export_dynamic_flag_spec=-rdynamic
14131 cygwin* | mingw* | pw32*)
14132 # When not using gcc, we currently assume that we are using
14133 # Microsoft Visual C++.
14134 # hardcode_libdir_flag_spec is actually meaningless, as there is
14135 # no search path for DLLs.
14136 hardcode_libdir_flag_spec=' '
14137 allow_undefined_flag=unsupported
14138 # Tell ltmain to make .lib files, not .a files.
14140 # Tell ltmain to make .dll files, not .so files.
14142 # FIXME: Setting linknames here is a bad hack.
14143 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14144 # The linker will automatically build a .lib file if we build a DLL.
14145 old_archive_From_new_cmds='true'
14146 # FIXME: Should let the user specify the lib program.
14147 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
14148 fix_srcfile_path='`cygpath -w "$srcfile"`'
14149 enable_shared_with_static_runtimes=yes
14152 darwin* | rhapsody*)
14154 rhapsody* | darwin1.[012])
14155 allow_undefined_flag='${wl}-undefined ${wl}suppress'
14158 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14159 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14161 case ${MACOSX_DEPLOYMENT_TARGET} in
14163 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14166 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
14172 archive_cmds_need_lc=no
14174 hardcode_automatic=yes
14175 hardcode_shlibpath_var=unsupported
14176 whole_archive_flag_spec=''
14177 link_all_deplibs=yes
14178 if test "$GCC" = yes ; then
14179 output_verbose_link_cmd='echo'
14180 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14181 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14182 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14183 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}'
14184 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}'
14186 case $cc_basename in
14188 output_verbose_link_cmd='echo'
14189 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14190 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14191 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14192 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}'
14193 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}'
14203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14204 hardcode_libdir_flag_spec='-L$libdir'
14205 hardcode_shlibpath_var=no
14212 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14213 # support. Future versions do this automatically, but an explicit c++rt0.o
14214 # does not break anything, and helps significantly (at the cost of a little
14217 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14218 hardcode_libdir_flag_spec='-R$libdir'
14219 hardcode_direct=yes
14220 hardcode_shlibpath_var=no
14223 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14225 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14226 hardcode_direct=yes
14227 hardcode_minus_L=yes
14228 hardcode_shlibpath_var=no
14231 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14232 freebsd* | kfreebsd*-gnu | dragonfly*)
14233 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14234 hardcode_libdir_flag_spec='-R$libdir'
14235 hardcode_direct=yes
14236 hardcode_shlibpath_var=no
14240 if test "$GCC" = yes; then
14241 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'
14243 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'
14245 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14246 hardcode_libdir_separator=:
14247 hardcode_direct=yes
14249 # hardcode_minus_L: Not really in the search PATH,
14250 # but as the default location of the library.
14251 hardcode_minus_L=yes
14252 export_dynamic_flag_spec='${wl}-E'
14256 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14257 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14259 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14261 if test "$with_gnu_ld" = no; then
14262 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14263 hardcode_libdir_separator=:
14265 hardcode_direct=yes
14266 export_dynamic_flag_spec='${wl}-E'
14268 # hardcode_minus_L: Not really in the search PATH,
14269 # but as the default location of the library.
14270 hardcode_minus_L=yes
14275 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14278 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14281 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14284 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14290 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14293 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14296 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14300 if test "$with_gnu_ld" = no; then
14301 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14302 hardcode_libdir_separator=:
14306 hardcode_libdir_flag_spec_ld='+b $libdir'
14308 hardcode_shlibpath_var=no
14311 hardcode_direct=yes
14312 export_dynamic_flag_spec='${wl}-E'
14314 # hardcode_minus_L: Not really in the search PATH,
14315 # but as the default location of the library.
14316 hardcode_minus_L=yes
14322 irix5* | irix6* | nonstopux*)
14323 if test "$GCC" = yes; then
14324 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'
14326 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'
14327 hardcode_libdir_flag_spec_ld='-rpath $libdir'
14329 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14330 hardcode_libdir_separator=:
14331 link_all_deplibs=yes
14335 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14336 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14338 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14340 hardcode_libdir_flag_spec='-R$libdir'
14341 hardcode_direct=yes
14342 hardcode_shlibpath_var=no
14346 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14347 hardcode_direct=yes
14348 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14349 hardcode_libdir_separator=:
14350 hardcode_shlibpath_var=no
14354 hardcode_direct=yes
14355 hardcode_shlibpath_var=no
14356 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14357 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14358 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14359 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14360 export_dynamic_flag_spec='${wl}-E'
14363 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14364 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14365 hardcode_libdir_flag_spec='-R$libdir'
14368 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14369 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14376 hardcode_libdir_flag_spec='-L$libdir'
14377 hardcode_minus_L=yes
14378 allow_undefined_flag=unsupported
14379 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'
14380 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14384 if test "$GCC" = yes; then
14385 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
14386 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'
14388 allow_undefined_flag=' -expect_unresolved \*'
14389 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'
14391 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14392 hardcode_libdir_separator=:
14395 osf4* | osf5*) # as osf3* with the addition of -msym flag
14396 if test "$GCC" = yes; then
14397 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
14398 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'
14399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14401 allow_undefined_flag=' -expect_unresolved \*'
14402 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'
14403 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14404 $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'
14406 # Both c and cxx compiler support -rpath directly
14407 hardcode_libdir_flag_spec='-rpath $libdir'
14409 hardcode_libdir_separator=:
14413 no_undefined_flag=' -z text'
14414 if test "$GCC" = yes; then
14416 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14417 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14418 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14421 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14422 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14423 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14425 hardcode_libdir_flag_spec='-R$libdir'
14426 hardcode_shlibpath_var=no
14428 solaris2.[0-5] | solaris2.[0-5].*) ;;
14430 # The compiler driver will combine linker options so we
14431 # cannot just pass the convience library names through
14432 # without $wl, iff we do not link with $LD.
14433 # Luckily, gcc supports the same syntax we need for Sun Studio.
14434 # Supported since Solaris 2.6 (maybe 2.5.1?)
14437 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
14439 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' ;;
14442 link_all_deplibs=yes
14446 if test "x$host_vendor" = xsequent; then
14447 # Use $CC to link under sequent, because it throws in some extra .o
14448 # files that make .init and .fini sections work.
14449 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14451 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14453 hardcode_libdir_flag_spec='-L$libdir'
14454 hardcode_direct=yes
14455 hardcode_minus_L=yes
14456 hardcode_shlibpath_var=no
14460 case $host_vendor in
14462 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14463 hardcode_direct=yes # is this really true???
14466 ## LD is ld it makes a PLAMLIB
14467 ## CC just makes a GrossModule.
14468 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14469 reload_cmds='$CC -r -o $output$reload_objs'
14473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14474 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14477 runpath_var='LD_RUN_PATH'
14478 hardcode_shlibpath_var=no
14482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14483 hardcode_shlibpath_var=no
14484 export_dynamic_flag_spec='-Bexport'
14488 if test -d /usr/nec; then
14489 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14490 hardcode_shlibpath_var=no
14491 runpath_var=LD_RUN_PATH
14492 hardcode_runpath_var=yes
14497 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14498 no_undefined_flag='${wl}-z,text'
14499 archive_cmds_need_lc=no
14500 hardcode_shlibpath_var=no
14501 runpath_var='LD_RUN_PATH'
14503 if test "$GCC" = yes; then
14504 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14505 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14507 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14508 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14512 sysv5* | sco3.2v5* | sco5v6*)
14513 # Note: We can NOT use -z defs as we might desire, because we do not
14514 # link with -lc, and that would cause any symbols used from libc to
14515 # always be unresolved, which means just about no library would
14516 # ever link correctly. If we're not using GNU ld we use -z text
14517 # though, which does catch some bad symbols but isn't as heavy-handed
14519 no_undefined_flag='${wl}-z,text'
14520 allow_undefined_flag='${wl}-z,nodefs'
14521 archive_cmds_need_lc=no
14522 hardcode_shlibpath_var=no
14523 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14524 hardcode_libdir_separator=':'
14525 link_all_deplibs=yes
14526 export_dynamic_flag_spec='${wl}-Bexport'
14527 runpath_var='LD_RUN_PATH'
14529 if test "$GCC" = yes; then
14530 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14531 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14533 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14534 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14540 hardcode_libdir_flag_spec='-L$libdir'
14541 hardcode_shlibpath_var=no
14550 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
14551 echo "${ECHO_T}$ld_shlibs" >&6
14552 test "$ld_shlibs" = no && can_build_shared=no
14555 # Do we need to explicitly link libc?
14557 case "x$archive_cmds_need_lc" in
14559 # Assume -lc should be added
14560 archive_cmds_need_lc=yes
14562 if test "$enable_shared" = yes && test "$GCC" = yes; then
14563 case $archive_cmds in
14565 # FIXME: we may have to deal with multi-command sequences.
14568 # Test whether the compiler implicitly links with -lc since on some
14569 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14570 # to ld, don't add -lc before -lgcc.
14571 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14572 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14574 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14577 (eval $ac_compile) 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } 2>conftest.err; then
14583 libobjs=conftest.$ac_objext
14585 wl=$lt_prog_compiler_wl
14586 pic_flag=$lt_prog_compiler_pic
14592 lt_save_allow_undefined_flag=$allow_undefined_flag
14593 allow_undefined_flag=
14594 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14595 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }
14600 archive_cmds_need_lc=no
14602 archive_cmds_need_lc=yes
14604 allow_undefined_flag=$lt_save_allow_undefined_flag
14606 cat conftest.err 1>&5
14609 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
14610 echo "${ECHO_T}$archive_cmds_need_lc" >&6
14617 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14618 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14619 library_names_spec=
14620 libname_spec='lib$name'
14624 postuninstall_cmds=
14628 shlibpath_overrides_runpath=unknown
14630 dynamic_linker="$host_os ld.so"
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14632 if test "$GCC" = yes; then
14633 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14634 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14635 # if the path contains ";" then we assume it to be the separator
14636 # otherwise default to the standard path separator (i.e. ":") - it is
14637 # assumed that no part of a normal pathname contains ";" but that should
14638 # okay in the real world where ";" in dirpaths is itself problematic.
14639 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14641 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14644 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14646 need_lib_prefix=unknown
14647 hardcode_into_libs=no
14649 # when you set need_version to no, make sure it does not cause -set_version
14650 # flags to be left without arguments
14651 need_version=unknown
14656 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14657 shlibpath_var=LIBPATH
14659 # AIX 3 has no versioning support, so we append a major version to the name.
14660 soname_spec='${libname}${release}${shared_ext}$major'
14667 hardcode_into_libs=yes
14668 if test "$host_cpu" = ia64; then
14669 # AIX 5 supports IA64
14670 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14671 shlibpath_var=LD_LIBRARY_PATH
14673 # With GCC up to 2.95.x, collect2 would create an import file
14674 # for dependence libraries. The import file would start with
14675 # the line `#! .'. This would cause the generated library to
14676 # depend on `.', always an invalid library. This was fixed in
14677 # development snapshots of GCC prior to 3.0.
14679 aix4 | aix4.[01] | aix4.[01].*)
14680 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14682 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14685 can_build_shared=no
14689 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14690 # soname into executable. Probably we can add versioning support to
14691 # collect2, so additional links can be useful in future.
14692 if test "$aix_use_runtimelinking" = yes; then
14693 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14694 # instead of lib<name>.a to let people know that these are not
14695 # typical AIX shared libraries.
14696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14698 # We preserve .a as extension for shared libraries through AIX4.2
14699 # and later when we are not doing run time linking.
14700 library_names_spec='${libname}${release}.a $libname.a'
14701 soname_spec='${libname}${release}${shared_ext}$major'
14703 shlibpath_var=LIBPATH
14708 library_names_spec='$libname.ixlibrary $libname.a'
14709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14710 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'
14714 library_names_spec='${libname}${shared_ext}'
14715 dynamic_linker="$host_os ld.so"
14716 shlibpath_var=LIBRARY_PATH
14722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 soname_spec='${libname}${release}${shared_ext}$major'
14724 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14725 shlibpath_var=LD_LIBRARY_PATH
14726 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14727 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14728 # the default ld.so.conf also contains /usr/contrib/lib and
14729 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14730 # libtool to hard-code these into programs
14733 cygwin* | mingw* | pw32*)
14734 version_type=windows
14739 case $GCC,$host_os in
14740 yes,cygwin* | yes,mingw* | yes,pw32*)
14741 library_names_spec='$libname.dll.a'
14742 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14743 postinstall_cmds='base_file=`basename \${file}`~
14744 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14745 dldir=$destdir/`dirname \$dlpath`~
14746 test -d \$dldir || mkdir -p \$dldir~
14747 $install_prog $dir/$dlname \$dldir/$dlname~
14748 chmod a+x \$dldir/$dlname'
14749 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14750 dlpath=$dir/\$dldll~
14752 shlibpath_overrides_runpath=yes
14756 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14757 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14758 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14761 # MinGW DLLs use traditional 'lib' prefix
14762 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14763 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14764 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14765 # It is most probably a Windows format PATH printed by
14766 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14767 # path with ; separators, and with drive letters. We can handle the
14768 # drive letters (cygwin fileutils understands them), so leave them,
14769 # especially as we might pass files found there to a mingw objdump,
14770 # which wouldn't understand a cygwinified path. Ahh.
14771 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14773 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14777 # pw32 DLLs use 'pw' prefix rather than 'lib'
14778 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14784 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14787 dynamic_linker='Win32 ld.exe'
14788 # FIXME: first we should search . and the directory the executable is in
14792 darwin* | rhapsody*)
14793 dynamic_linker="$host_os dyld"
14794 version_type=darwin
14797 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14798 soname_spec='${libname}${release}${major}$shared_ext'
14799 shlibpath_overrides_runpath=yes
14800 shlibpath_var=DYLD_LIBRARY_PATH
14801 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14802 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14803 if test "$GCC" = yes; then
14804 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"`
14806 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14808 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14816 soname_spec='${libname}${release}${shared_ext}$major'
14817 shlibpath_var=LD_LIBRARY_PATH
14828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14829 soname_spec='${libname}${release}${shared_ext}$major'
14830 shlibpath_var=LD_LIBRARY_PATH
14831 shlibpath_overrides_runpath=no
14832 hardcode_into_libs=yes
14833 dynamic_linker='GNU ld.so'
14836 freebsd* | dragonfly*)
14837 # DragonFly does not have aout. When/if they implement a new
14838 # versioning mechanism, adjust this.
14839 if test -x /usr/bin/objformat; then
14840 objformat=`/usr/bin/objformat`
14843 freebsd[123]*) objformat=aout ;;
14844 *) objformat=elf ;;
14847 version_type=freebsd-$objformat
14848 case $version_type in
14850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14855 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14859 shlibpath_var=LD_LIBRARY_PATH
14862 shlibpath_overrides_runpath=yes
14864 freebsd3.[01]* | freebsdelf3.[01]*)
14865 shlibpath_overrides_runpath=yes
14866 hardcode_into_libs=yes
14868 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14869 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14870 shlibpath_overrides_runpath=no
14871 hardcode_into_libs=yes
14873 freebsd*) # from 4.6 on
14874 shlibpath_overrides_runpath=yes
14875 hardcode_into_libs=yes
14884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14885 soname_spec='${libname}${release}${shared_ext}$major'
14886 shlibpath_var=LD_LIBRARY_PATH
14887 hardcode_into_libs=yes
14890 hpux9* | hpux10* | hpux11*)
14891 # Give a soname corresponding to the major version so that dld.sl refuses to
14892 # link against other versions.
14899 hardcode_into_libs=yes
14900 dynamic_linker="$host_os dld.so"
14901 shlibpath_var=LD_LIBRARY_PATH
14902 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14904 soname_spec='${libname}${release}${shared_ext}$major'
14905 if test "X$HPUX_IA64_MODE" = X32; then
14906 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14908 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14910 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14914 hardcode_into_libs=yes
14915 dynamic_linker="$host_os dld.sl"
14916 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14917 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14919 soname_spec='${libname}${release}${shared_ext}$major'
14920 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14921 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14925 dynamic_linker="$host_os dld.sl"
14926 shlibpath_var=SHLIB_PATH
14927 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929 soname_spec='${libname}${release}${shared_ext}$major'
14932 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14933 postinstall_cmds='chmod 555 $lib'
14940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14941 soname_spec='${libname}${release}${shared_ext}$major'
14942 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14943 shlibpath_var=LD_LIBRARY_PATH
14944 shlibpath_overrides_runpath=no
14945 hardcode_into_libs=yes
14948 irix5* | irix6* | nonstopux*)
14950 nonstopux*) version_type=nonstopux ;;
14952 if test "$lt_cv_prog_gnu_ld" = yes; then
14960 soname_spec='${libname}${release}${shared_ext}$major'
14961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14963 irix5* | nonstopux*)
14964 libsuff= shlibsuff=
14967 case $LD in # libtool.m4 will add one of these switches to LD
14968 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14969 libsuff= shlibsuff= libmagic=32-bit;;
14970 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14971 libsuff=32 shlibsuff=N32 libmagic=N32;;
14972 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14973 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14974 *) libsuff= shlibsuff= libmagic=never-match;;
14978 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14979 shlibpath_overrides_runpath=no
14980 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14981 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14982 hardcode_into_libs=yes
14985 # No shared lib support for Linux oldld, aout, or coff.
14986 linux*oldld* | linux*aout* | linux*coff*)
14990 # This must be Linux ELF.
14995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14996 soname_spec='${libname}${release}${shared_ext}$major'
14997 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14998 shlibpath_var=LD_LIBRARY_PATH
14999 shlibpath_overrides_runpath=no
15000 # This implies no fast_install, which is unacceptable.
15001 # Some rework will be needed to allow for fast_install
15002 # before this can be enabled.
15003 hardcode_into_libs=yes
15005 # find out which ABI we are using
15007 case "$host_cpu" in
15008 x86_64*|s390x*|powerpc64*)
15009 echo '#line 15009 "configure"' > conftest.$ac_ext
15010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15011 (eval $ac_compile) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; then
15015 case `/usr/bin/file conftest.$ac_objext` in
15018 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15026 # Append ld.so.conf contents to the search path
15027 if test -f /etc/ld.so.conf; then
15028 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15029 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15032 # We used to test for /lib/ld.so.1 and disable shared libraries on
15033 # powerpc, because MkLinux only supported shared libraries with the
15034 # GNU dynamic linker. Since this was broken with cross compilers,
15035 # most powerpc-linux boxes support dynamic linking these days and
15036 # people can always --disable-shared, the test was removed, and we
15037 # assume the GNU/Linux dynamic linker is in use.
15038 dynamic_linker='GNU/Linux ld.so'
15045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15046 soname_spec='${libname}${release}${shared_ext}$major'
15047 shlibpath_var=LD_LIBRARY_PATH
15048 shlibpath_overrides_runpath=no
15049 hardcode_into_libs=yes
15050 dynamic_linker='GNU ld.so'
15057 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15059 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15060 dynamic_linker='NetBSD (a.out) ld.so'
15062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15063 soname_spec='${libname}${release}${shared_ext}$major'
15064 dynamic_linker='NetBSD ld.elf_so'
15066 shlibpath_var=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath=yes
15068 hardcode_into_libs=yes
15073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15074 shlibpath_var=LD_LIBRARY_PATH
15075 shlibpath_overrides_runpath=yes
15082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15083 soname_spec='${libname}${release}${shared_ext}$major'
15084 shlibpath_var=LD_LIBRARY_PATH
15085 shlibpath_overrides_runpath=yes
15090 sys_lib_dlsearch_path_spec="/usr/lib"
15092 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15094 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15095 *) need_version=no ;;
15097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15098 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15099 shlibpath_var=LD_LIBRARY_PATH
15100 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15102 openbsd2.[89] | openbsd2.[89].*)
15103 shlibpath_overrides_runpath=no
15106 shlibpath_overrides_runpath=yes
15110 shlibpath_overrides_runpath=yes
15115 libname_spec='$name'
15118 library_names_spec='$libname${shared_ext} $libname.a'
15119 dynamic_linker='OS/2 ld.exe'
15120 shlibpath_var=LIBPATH
15123 osf3* | osf4* | osf5*)
15127 soname_spec='${libname}${release}${shared_ext}$major'
15128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15129 shlibpath_var=LD_LIBRARY_PATH
15130 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15131 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15139 soname_spec='${libname}${release}${shared_ext}$major'
15140 shlibpath_var=LD_LIBRARY_PATH
15141 shlibpath_overrides_runpath=yes
15142 hardcode_into_libs=yes
15143 # ldd complains unless libraries are executable
15144 postinstall_cmds='chmod +x $lib'
15149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15150 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15151 shlibpath_var=LD_LIBRARY_PATH
15152 shlibpath_overrides_runpath=yes
15153 if test "$with_gnu_ld" = yes; then
15161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162 soname_spec='${libname}${release}${shared_ext}$major'
15163 shlibpath_var=LD_LIBRARY_PATH
15164 case $host_vendor in
15166 shlibpath_overrides_runpath=no
15168 export_dynamic_flag_spec='${wl}-Blargedynsym'
15169 runpath_var=LD_RUN_PATH
15177 shlibpath_overrides_runpath=no
15178 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15184 if test -d /usr/nec ;then
15186 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15187 soname_spec='$libname${shared_ext}.$major'
15188 shlibpath_var=LD_LIBRARY_PATH
15192 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15193 version_type=freebsd-elf
15196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15197 soname_spec='${libname}${release}${shared_ext}$major'
15198 shlibpath_var=LD_LIBRARY_PATH
15199 hardcode_into_libs=yes
15200 if test "$with_gnu_ld" = yes; then
15201 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15202 shlibpath_overrides_runpath=no
15204 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15205 shlibpath_overrides_runpath=yes
15208 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15212 sys_lib_dlsearch_path_spec='/usr/lib'
15217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15218 soname_spec='${libname}${release}${shared_ext}$major'
15219 shlibpath_var=LD_LIBRARY_PATH
15226 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15227 echo "${ECHO_T}$dynamic_linker" >&6
15228 test "$dynamic_linker" = no && can_build_shared=no
15230 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15231 if test "$GCC" = yes; then
15232 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15235 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15236 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15238 if test -n "$hardcode_libdir_flag_spec" || \
15239 test -n "$runpath_var" || \
15240 test "X$hardcode_automatic" = "Xyes" ; then
15242 # We can hardcode non-existant directories.
15243 if test "$hardcode_direct" != no &&
15244 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15245 # have to relink, otherwise we might link with an installed library
15246 # when we should be linking with a yet-to-be-installed one
15247 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
15248 test "$hardcode_minus_L" != no; then
15249 # Linking always hardcodes the temporary library directory.
15250 hardcode_action=relink
15252 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15253 hardcode_action=immediate
15256 # We cannot hardcode anything, or else we can only hardcode existing
15258 hardcode_action=unsupported
15260 echo "$as_me:$LINENO: result: $hardcode_action" >&5
15261 echo "${ECHO_T}$hardcode_action" >&6
15263 if test "$hardcode_action" = relink; then
15264 # Fast installation is not supported
15265 enable_fast_install=no
15266 elif test "$shlibpath_overrides_runpath" = yes ||
15267 test "$enable_shared" = no; then
15268 # Fast installation is not necessary
15269 enable_fast_install=needless
15274 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15275 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15276 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15277 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15278 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15279 echo "$as_me:$LINENO: result: yes" >&5
15280 echo "${ECHO_T}yes" >&6
15282 # FIXME - insert some real tests, host_os isn't really good enough
15285 if test -n "$STRIP" ; then
15286 striplib="$STRIP -x"
15287 echo "$as_me:$LINENO: result: yes" >&5
15288 echo "${ECHO_T}yes" >&6
15290 echo "$as_me:$LINENO: result: no" >&5
15291 echo "${ECHO_T}no" >&6
15295 echo "$as_me:$LINENO: result: no" >&5
15296 echo "${ECHO_T}no" >&6
15301 if test "x$enable_dlopen" != xyes; then
15302 enable_dlopen=unknown
15303 enable_dlopen_self=unknown
15304 enable_dlopen_self_static=unknown
15311 lt_cv_dlopen="load_add_on"
15313 lt_cv_dlopen_self=yes
15317 lt_cv_dlopen="LoadLibrary"
15322 lt_cv_dlopen="dlopen"
15327 # if libdl is installed we need to link against it
15328 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15329 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15330 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15331 echo $ECHO_N "(cached) $ECHO_C" >&6
15333 ac_check_lib_save_LIBS=$LIBS
15335 cat >conftest.$ac_ext <<_ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15342 /* Override any gcc2 internal prototype to avoid an error. */
15346 /* We use char because int might match the return type of a gcc2
15347 builtin and then its argument prototype would still apply. */
15357 rm -f conftest.$ac_objext conftest$ac_exeext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15359 (eval $ac_link) 2>conftest.er1
15361 grep -v '^ *+' conftest.er1 >conftest.err
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } &&
15366 { ac_try='test -z "$ac_c_werror_flag"
15367 || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try='test -s conftest$ac_exeext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15379 ac_cv_lib_dl_dlopen=yes
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.$ac_ext >&5
15384 ac_cv_lib_dl_dlopen=no
15386 rm -f conftest.err conftest.$ac_objext \
15387 conftest$ac_exeext conftest.$ac_ext
15388 LIBS=$ac_check_lib_save_LIBS
15390 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15391 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15392 if test $ac_cv_lib_dl_dlopen = yes; then
15393 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15396 lt_cv_dlopen="dyld"
15398 lt_cv_dlopen_self=yes
15405 echo "$as_me:$LINENO: checking for shl_load" >&5
15406 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15407 if test "${ac_cv_func_shl_load+set}" = set; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 cat >conftest.$ac_ext <<_ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15418 #define shl_load innocuous_shl_load
15420 /* System header to define __stub macros and hopefully few prototypes,
15421 which can conflict with char shl_load (); below.
15422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15423 <limits.h> exists even on freestanding compilers. */
15426 # include <limits.h>
15428 # include <assert.h>
15433 /* Override any gcc2 internal prototype to avoid an error. */
15438 /* We use char because int might match the return type of a gcc2
15439 builtin and then its argument prototype would still apply. */
15441 /* The GNU C library defines this for functions which it implements
15442 to always fail with ENOSYS. Some functions are actually named
15443 something starting with __ and the normal name is an alias. */
15444 #if defined (__stub_shl_load) || defined (__stub___shl_load)
15447 char (*f) () = shl_load;
15456 return f != shl_load;
15461 rm -f conftest.$ac_objext conftest$ac_exeext
15462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15463 (eval $ac_link) 2>conftest.er1
15465 grep -v '^ *+' conftest.er1 >conftest.err
15467 cat conftest.err >&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try='test -z "$ac_c_werror_flag"
15471 || test ! -s conftest.err'
15472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15473 (eval $ac_try) 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); }; } &&
15477 { ac_try='test -s conftest$ac_exeext'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; }; then
15483 ac_cv_func_shl_load=yes
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 ac_cv_func_shl_load=no
15490 rm -f conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext conftest.$ac_ext
15493 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15494 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15495 if test $ac_cv_func_shl_load = yes; then
15496 lt_cv_dlopen="shl_load"
15498 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15499 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15500 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 ac_check_lib_save_LIBS=$LIBS
15505 cat >conftest.$ac_ext <<_ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15512 /* Override any gcc2 internal prototype to avoid an error. */
15516 /* We use char because int might match the return type of a gcc2
15517 builtin and then its argument prototype would still apply. */
15527 rm -f conftest.$ac_objext conftest$ac_exeext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15529 (eval $ac_link) 2>conftest.er1
15531 grep -v '^ *+' conftest.er1 >conftest.err
15533 cat conftest.err >&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } &&
15536 { ac_try='test -z "$ac_c_werror_flag"
15537 || test ! -s conftest.err'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; } &&
15543 { ac_try='test -s conftest$ac_exeext'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; }; then
15549 ac_cv_lib_dld_shl_load=yes
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.$ac_ext >&5
15554 ac_cv_lib_dld_shl_load=no
15556 rm -f conftest.err conftest.$ac_objext \
15557 conftest$ac_exeext conftest.$ac_ext
15558 LIBS=$ac_check_lib_save_LIBS
15560 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15561 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15562 if test $ac_cv_lib_dld_shl_load = yes; then
15563 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15565 echo "$as_me:$LINENO: checking for dlopen" >&5
15566 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15567 if test "${ac_cv_func_dlopen+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15570 cat >conftest.$ac_ext <<_ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15578 #define dlopen innocuous_dlopen
15580 /* System header to define __stub macros and hopefully few prototypes,
15581 which can conflict with char dlopen (); below.
15582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15583 <limits.h> exists even on freestanding compilers. */
15586 # include <limits.h>
15588 # include <assert.h>
15593 /* Override any gcc2 internal prototype to avoid an error. */
15598 /* We use char because int might match the return type of a gcc2
15599 builtin and then its argument prototype would still apply. */
15601 /* The GNU C library defines this for functions which it implements
15602 to always fail with ENOSYS. Some functions are actually named
15603 something starting with __ and the normal name is an alias. */
15604 #if defined (__stub_dlopen) || defined (__stub___dlopen)
15607 char (*f) () = dlopen;
15616 return f != dlopen;
15621 rm -f conftest.$ac_objext conftest$ac_exeext
15622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15623 (eval $ac_link) 2>conftest.er1
15625 grep -v '^ *+' conftest.er1 >conftest.err
15627 cat conftest.err >&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try='test -z "$ac_c_werror_flag"
15631 || test ! -s conftest.err'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; } &&
15637 { ac_try='test -s conftest$ac_exeext'
15638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 (eval $ac_try) 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; }; then
15643 ac_cv_func_dlopen=yes
15645 echo "$as_me: failed program was:" >&5
15646 sed 's/^/| /' conftest.$ac_ext >&5
15648 ac_cv_func_dlopen=no
15650 rm -f conftest.err conftest.$ac_objext \
15651 conftest$ac_exeext conftest.$ac_ext
15653 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15654 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15655 if test $ac_cv_func_dlopen = yes; then
15656 lt_cv_dlopen="dlopen"
15658 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15659 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15660 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15661 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 ac_check_lib_save_LIBS=$LIBS
15665 cat >conftest.$ac_ext <<_ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15672 /* Override any gcc2 internal prototype to avoid an error. */
15676 /* We use char because int might match the return type of a gcc2
15677 builtin and then its argument prototype would still apply. */
15687 rm -f conftest.$ac_objext conftest$ac_exeext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15689 (eval $ac_link) 2>conftest.er1
15691 grep -v '^ *+' conftest.er1 >conftest.err
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_c_werror_flag"
15697 || test ! -s conftest.err'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; } &&
15703 { ac_try='test -s conftest$ac_exeext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 ac_cv_lib_dl_dlopen=yes
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15714 ac_cv_lib_dl_dlopen=no
15716 rm -f conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_lib_save_LIBS
15720 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15721 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15722 if test $ac_cv_lib_dl_dlopen = yes; then
15723 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15725 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15726 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15727 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15728 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 ac_check_lib_save_LIBS=$LIBS
15731 LIBS="-lsvld $LIBS"
15732 cat >conftest.$ac_ext <<_ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15739 /* Override any gcc2 internal prototype to avoid an error. */
15743 /* We use char because int might match the return type of a gcc2
15744 builtin and then its argument prototype would still apply. */
15754 rm -f conftest.$ac_objext conftest$ac_exeext
15755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15756 (eval $ac_link) 2>conftest.er1
15758 grep -v '^ *+' conftest.er1 >conftest.err
15760 cat conftest.err >&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try='test -z "$ac_c_werror_flag"
15764 || test ! -s conftest.err'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; } &&
15770 { ac_try='test -s conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_lib_svld_dlopen=yes
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15781 ac_cv_lib_svld_dlopen=no
15783 rm -f conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 LIBS=$ac_check_lib_save_LIBS
15787 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15788 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15789 if test $ac_cv_lib_svld_dlopen = yes; then
15790 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15792 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15793 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15794 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15795 echo $ECHO_N "(cached) $ECHO_C" >&6
15797 ac_check_lib_save_LIBS=$LIBS
15799 cat >conftest.$ac_ext <<_ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15806 /* Override any gcc2 internal prototype to avoid an error. */
15810 /* We use char because int might match the return type of a gcc2
15811 builtin and then its argument prototype would still apply. */
15821 rm -f conftest.$ac_objext conftest$ac_exeext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15823 (eval $ac_link) 2>conftest.er1
15825 grep -v '^ *+' conftest.er1 >conftest.err
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } &&
15830 { ac_try='test -z "$ac_c_werror_flag"
15831 || test ! -s conftest.err'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; } &&
15837 { ac_try='test -s conftest$ac_exeext'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_lib_dld_dld_link=yes
15845 echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15848 ac_cv_lib_dld_dld_link=no
15850 rm -f conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext conftest.$ac_ext
15852 LIBS=$ac_check_lib_save_LIBS
15854 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15855 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15856 if test $ac_cv_lib_dld_dld_link = yes; then
15857 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15878 if test "x$lt_cv_dlopen" != xno; then
15884 case $lt_cv_dlopen in
15886 save_CPPFLAGS="$CPPFLAGS"
15887 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15889 save_LDFLAGS="$LDFLAGS"
15890 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15893 LIBS="$lt_cv_dlopen_libs $LIBS"
15895 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15896 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15897 if test "${lt_cv_dlopen_self+set}" = set; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 if test "$cross_compiling" = yes; then :
15901 lt_cv_dlopen_self=cross
15903 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15904 lt_status=$lt_dlunknown
15905 cat > conftest.$ac_ext <<EOF
15906 #line 15906 "configure"
15907 #include "confdefs.h"
15916 # define LT_DLGLOBAL RTLD_GLOBAL
15919 # define LT_DLGLOBAL DL_GLOBAL
15921 # define LT_DLGLOBAL 0
15925 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15926 find out it does not work in some platform. */
15927 #ifndef LT_DLLAZY_OR_NOW
15929 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15932 # define LT_DLLAZY_OR_NOW DL_LAZY
15935 # define LT_DLLAZY_OR_NOW RTLD_NOW
15938 # define LT_DLLAZY_OR_NOW DL_NOW
15940 # define LT_DLLAZY_OR_NOW 0
15948 extern "C" void exit (int);
15951 void fnord() { int i=42;}
15954 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15955 int status = $lt_dlunknown;
15959 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15960 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15961 /* dlclose (self); */
15969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15970 (eval $ac_link) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15974 (./conftest; exit; ) >&5 2>/dev/null
15976 case x$lt_status in
15977 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15978 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15979 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15982 # compilation failed
15983 lt_cv_dlopen_self=no
15990 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15991 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15993 if test "x$lt_cv_dlopen_self" = xyes; then
15994 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15995 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15996 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15997 if test "${lt_cv_dlopen_self_static+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 if test "$cross_compiling" = yes; then :
16001 lt_cv_dlopen_self_static=cross
16003 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16004 lt_status=$lt_dlunknown
16005 cat > conftest.$ac_ext <<EOF
16006 #line 16006 "configure"
16007 #include "confdefs.h"
16016 # define LT_DLGLOBAL RTLD_GLOBAL
16019 # define LT_DLGLOBAL DL_GLOBAL
16021 # define LT_DLGLOBAL 0
16025 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16026 find out it does not work in some platform. */
16027 #ifndef LT_DLLAZY_OR_NOW
16029 # define LT_DLLAZY_OR_NOW RTLD_LAZY
16032 # define LT_DLLAZY_OR_NOW DL_LAZY
16035 # define LT_DLLAZY_OR_NOW RTLD_NOW
16038 # define LT_DLLAZY_OR_NOW DL_NOW
16040 # define LT_DLLAZY_OR_NOW 0
16048 extern "C" void exit (int);
16051 void fnord() { int i=42;}
16054 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16055 int status = $lt_dlunknown;
16059 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16060 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16061 /* dlclose (self); */
16069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16070 (eval $ac_link) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16074 (./conftest; exit; ) >&5 2>/dev/null
16076 case x$lt_status in
16077 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16078 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16079 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16082 # compilation failed
16083 lt_cv_dlopen_self_static=no
16090 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16091 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
16094 CPPFLAGS="$save_CPPFLAGS"
16095 LDFLAGS="$save_LDFLAGS"
16100 case $lt_cv_dlopen_self in
16101 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16102 *) enable_dlopen_self=unknown ;;
16105 case $lt_cv_dlopen_self_static in
16106 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16107 *) enable_dlopen_self_static=unknown ;;
16112 # Report which library types will actually be built
16113 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16114 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16115 echo "$as_me:$LINENO: result: $can_build_shared" >&5
16116 echo "${ECHO_T}$can_build_shared" >&6
16118 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16119 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
16120 test "$can_build_shared" = "no" && enable_shared=no
16122 # On AIX, shared libraries and static libraries use the same namespace, and
16123 # are all built from PIC.
16126 test "$enable_shared" = yes && enable_static=no
16127 if test -n "$RANLIB"; then
16128 archive_cmds="$archive_cmds~\$RANLIB \$lib"
16129 postinstall_cmds='$RANLIB $lib'
16134 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16135 test "$enable_shared" = yes && enable_static=no
16139 echo "$as_me:$LINENO: result: $enable_shared" >&5
16140 echo "${ECHO_T}$enable_shared" >&6
16142 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16143 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
16144 # Make sure either enable_shared or enable_static is yes.
16145 test "$enable_shared" = yes || enable_static=yes
16146 echo "$as_me:$LINENO: result: $enable_static" >&5
16147 echo "${ECHO_T}$enable_static" >&6
16149 # The else clause should only fire when bootstrapping the
16150 # libtool distribution, otherwise you forgot to ship ltmain.sh
16151 # with your package, and you will get complaints that there are
16152 # no rules to generate ltmain.sh.
16153 if test -f "$ltmain"; then
16154 # See if we are running on zsh, and set the options which allow our commands through
16155 # without removal of \ escapes.
16156 if test -n "${ZSH_VERSION+set}" ; then
16157 setopt NO_GLOB_SUBST
16159 # Now quote all the things that may contain metacharacters while being
16160 # careful not to overquote the AC_SUBSTed values. We take copies of the
16161 # variables and quote the copies for generation of the libtool script.
16162 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16164 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16165 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16166 deplibs_check_method reload_flag reload_cmds need_locks \
16167 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16168 lt_cv_sys_global_symbol_to_c_name_address \
16169 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16170 old_postinstall_cmds old_postuninstall_cmds \
16174 lt_prog_compiler_wl \
16175 lt_prog_compiler_pic \
16176 lt_prog_compiler_static \
16177 lt_prog_compiler_no_builtin_flag \
16178 export_dynamic_flag_spec \
16179 thread_safe_flag_spec \
16180 whole_archive_flag_spec \
16181 enable_shared_with_static_runtimes \
16183 old_archive_from_new_cmds \
16188 compiler_lib_search_path \
16190 archive_expsym_cmds \
16192 postuninstall_cmds \
16193 old_archive_from_expsyms_cmds \
16194 allow_undefined_flag \
16195 no_undefined_flag \
16196 export_symbols_cmds \
16197 hardcode_libdir_flag_spec \
16198 hardcode_libdir_flag_spec_ld \
16199 hardcode_libdir_separator \
16200 hardcode_automatic \
16202 module_expsym_cmds \
16203 lt_cv_prog_compiler_c_o \
16205 include_expsyms; do
16208 old_archive_cmds | \
16209 old_archive_from_new_cmds | \
16211 archive_expsym_cmds | \
16213 module_expsym_cmds | \
16214 old_archive_from_expsyms_cmds | \
16215 export_symbols_cmds | \
16216 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16217 postinstall_cmds | postuninstall_cmds | \
16218 old_postinstall_cmds | old_postuninstall_cmds | \
16219 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16220 # Double-quote double-evaled strings.
16221 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16224 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16230 *'\$0 --fallback-echo"')
16231 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16235 cfgfile="${ofile}T"
16236 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
16238 { echo "$as_me:$LINENO: creating $ofile" >&5
16239 echo "$as_me: creating $ofile" >&6;}
16241 cat <<__EOF__ >> "$cfgfile"
16244 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16245 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
16246 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16248 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
16249 # Free Software Foundation, Inc.
16251 # This file is part of GNU Libtool:
16252 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16254 # This program is free software; you can redistribute it and/or modify
16255 # it under the terms of the GNU General Public License as published by
16256 # the Free Software Foundation; either version 2 of the License, or
16257 # (at your option) any later version.
16259 # This program is distributed in the hope that it will be useful, but
16260 # WITHOUT ANY WARRANTY; without even the implied warranty of
16261 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16262 # General Public License for more details.
16264 # You should have received a copy of the GNU General Public License
16265 # along with this program; if not, write to the Free Software
16266 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16268 # As a special exception to the GNU General Public License, if you
16269 # distribute this file as part of a program that contains a
16270 # configuration script generated by Autoconf, you may include it under
16271 # the same distribution terms that you use for the rest of that program.
16273 # A sed program that does not truncate output.
16276 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16277 Xsed="$SED -e 1s/^X//"
16279 # The HP-UX ksh and POSIX shell print the target directory to stdout
16280 # if CDPATH is set.
16281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16283 # The names of the tagged configurations supported by this script.
16286 # ### BEGIN LIBTOOL CONFIG
16288 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16290 # Shell to use when invoking shell scripts.
16293 # Whether or not to build shared libraries.
16294 build_libtool_libs=$enable_shared
16296 # Whether or not to build static libraries.
16297 build_old_libs=$enable_static
16299 # Whether or not to add -lc for building shared libraries.
16300 build_libtool_need_lc=$archive_cmds_need_lc
16302 # Whether or not to disallow shared libs when runtime libs are static
16303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16305 # Whether or not to optimize for fast installation.
16306 fast_install=$enable_fast_install
16309 host_alias=$host_alias
16313 # The build system.
16314 build_alias=$build_alias
16318 # An echo program that does not interpret backslashes.
16323 AR_FLAGS=$lt_AR_FLAGS
16328 # LTCC compiler flags.
16329 LTCFLAGS=$lt_LTCFLAGS
16331 # A language-specific compiler.
16334 # Is the compiler the GNU C compiler?
16340 # The linker used to build libraries.
16343 # Whether we need hard or soft links.
16346 # A BSD-compatible nm program.
16349 # A symbol stripping program
16352 # Used to examine libraries when file_magic_cmd begins "file"
16353 MAGIC_CMD=$MAGIC_CMD
16355 # Used on cygwin: DLL creation program.
16358 # Used on cygwin: object dumper.
16361 # Used on cygwin: assembler.
16364 # The name of the directory that contains temporary libtool files.
16367 # How to create reloadable object files.
16368 reload_flag=$lt_reload_flag
16369 reload_cmds=$lt_reload_cmds
16371 # How to pass a linker flag through the compiler.
16372 wl=$lt_lt_prog_compiler_wl
16374 # Object file suffix (normally "o").
16375 objext="$ac_objext"
16377 # Old archive suffix (normally "a").
16380 # Shared library suffix (normally ".so").
16381 shrext_cmds='$shrext_cmds'
16383 # Executable file suffix (normally "").
16386 # Additional compiler flags for building library objects.
16387 pic_flag=$lt_lt_prog_compiler_pic
16390 # What is the maximum length of a command?
16391 max_cmd_len=$lt_cv_sys_max_cmd_len
16393 # Does compiler simultaneously support -c and -o options?
16394 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16396 # Must we lock files when doing compilation?
16397 need_locks=$lt_need_locks
16399 # Do we need the lib prefix for modules?
16400 need_lib_prefix=$need_lib_prefix
16402 # Do we need a version for libraries?
16403 need_version=$need_version
16405 # Whether dlopen is supported.
16406 dlopen_support=$enable_dlopen
16408 # Whether dlopen of programs is supported.
16409 dlopen_self=$enable_dlopen_self
16411 # Whether dlopen of statically linked programs is supported.
16412 dlopen_self_static=$enable_dlopen_self_static
16414 # Compiler flag to prevent dynamic linking.
16415 link_static_flag=$lt_lt_prog_compiler_static
16417 # Compiler flag to turn off builtin functions.
16418 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16420 # Compiler flag to allow reflexive dlopens.
16421 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16423 # Compiler flag to generate shared objects directly from archives.
16424 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16426 # Compiler flag to generate thread-safe objects.
16427 thread_safe_flag_spec=$lt_thread_safe_flag_spec
16429 # Library versioning type.
16430 version_type=$version_type
16432 # Format of library name prefix.
16433 libname_spec=$lt_libname_spec
16435 # List of archive names. First name is the real one, the rest are links.
16436 # The last name is the one that the linker finds with -lNAME.
16437 library_names_spec=$lt_library_names_spec
16439 # The coded name of the library, if different from the real name.
16440 soname_spec=$lt_soname_spec
16442 # Commands used to build and install an old-style archive.
16444 old_archive_cmds=$lt_old_archive_cmds
16445 old_postinstall_cmds=$lt_old_postinstall_cmds
16446 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16448 # Create an old-style archive from a shared archive.
16449 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16451 # Create a temporary old-style archive to link instead of a shared archive.
16452 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16454 # Commands used to build and install a shared archive.
16455 archive_cmds=$lt_archive_cmds
16456 archive_expsym_cmds=$lt_archive_expsym_cmds
16457 postinstall_cmds=$lt_postinstall_cmds
16458 postuninstall_cmds=$lt_postuninstall_cmds
16460 # Commands used to build a loadable module (assumed same as above if empty)
16461 module_cmds=$lt_module_cmds
16462 module_expsym_cmds=$lt_module_expsym_cmds
16464 # Commands to strip libraries.
16465 old_striplib=$lt_old_striplib
16466 striplib=$lt_striplib
16468 # Dependencies to place before the objects being linked to create a
16470 predep_objects=$lt_predep_objects
16472 # Dependencies to place after the objects being linked to create a
16474 postdep_objects=$lt_postdep_objects
16476 # Dependencies to place before the objects being linked to create a
16478 predeps=$lt_predeps
16480 # Dependencies to place after the objects being linked to create a
16482 postdeps=$lt_postdeps
16484 # The library search path used internally by the compiler when linking
16485 # a shared library.
16486 compiler_lib_search_path=$lt_compiler_lib_search_path
16488 # Method to check whether dependent libraries are shared objects.
16489 deplibs_check_method=$lt_deplibs_check_method
16491 # Command to use when deplibs_check_method == file_magic.
16492 file_magic_cmd=$lt_file_magic_cmd
16494 # Flag that allows shared libraries with undefined symbols to be built.
16495 allow_undefined_flag=$lt_allow_undefined_flag
16497 # Flag that forces no undefined symbols.
16498 no_undefined_flag=$lt_no_undefined_flag
16500 # Commands used to finish a libtool library installation in a directory.
16501 finish_cmds=$lt_finish_cmds
16503 # Same as above, but a single script fragment to be evaled but not shown.
16504 finish_eval=$lt_finish_eval
16506 # Take the output of nm and produce a listing of raw symbols and C names.
16507 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16509 # Transform the output of nm in a proper C declaration
16510 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16512 # Transform the output of nm in a C name address pair
16513 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16515 # This is the shared library runtime path variable.
16516 runpath_var=$runpath_var
16518 # This is the shared library path variable.
16519 shlibpath_var=$shlibpath_var
16521 # Is shlibpath searched before the hard-coded library search path?
16522 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16524 # How to hardcode a shared library path into an executable.
16525 hardcode_action=$hardcode_action
16527 # Whether we should hardcode library paths into libraries.
16528 hardcode_into_libs=$hardcode_into_libs
16530 # Flag to hardcode \$libdir into a binary during linking.
16531 # This must work even if \$libdir does not exist.
16532 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16534 # If ld is used when linking, flag to hardcode \$libdir into
16535 # a binary during linking. This must work even if \$libdir does
16537 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16539 # Whether we need a single -rpath flag with a separated argument.
16540 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16542 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16543 # resulting binary.
16544 hardcode_direct=$hardcode_direct
16546 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16547 # resulting binary.
16548 hardcode_minus_L=$hardcode_minus_L
16550 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16551 # the resulting binary.
16552 hardcode_shlibpath_var=$hardcode_shlibpath_var
16554 # Set to yes if building a shared library automatically hardcodes DIR into the library
16555 # and all subsequent libraries and executables linked against it.
16556 hardcode_automatic=$hardcode_automatic
16558 # Variables whose values should be saved in libtool wrapper scripts and
16559 # restored at relink time.
16560 variables_saved_for_relink="$variables_saved_for_relink"
16562 # Whether libtool must link a program against all its dependency libraries.
16563 link_all_deplibs=$link_all_deplibs
16565 # Compile-time system search path for libraries
16566 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16568 # Run-time system search path for libraries
16569 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16571 # Fix the shell variable \$srcfile for the compiler.
16572 fix_srcfile_path="$fix_srcfile_path"
16574 # Set to yes if exported symbols are required.
16575 always_export_symbols=$always_export_symbols
16577 # The commands to list exported symbols.
16578 export_symbols_cmds=$lt_export_symbols_cmds
16580 # The commands to extract the exported symbol list from a shared archive.
16581 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16583 # Symbols that should not be listed in the preloaded symbols.
16584 exclude_expsyms=$lt_exclude_expsyms
16586 # Symbols that must always be exported.
16587 include_expsyms=$lt_include_expsyms
16589 # ### END LIBTOOL CONFIG
16596 cat <<\EOF >> "$cfgfile"
16598 # AIX sometimes has problems with the GCC collect2 program. For some
16599 # reason, if we set the COLLECT_NAMES environment variable, the problems
16600 # vanish in a puff of smoke.
16601 if test "X${COLLECT_NAMES+set}" != Xset; then
16603 export COLLECT_NAMES
16609 # We use sed instead of cat because bash on DJGPP gets confused if
16610 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16611 # text mode, it properly converts lines to CR/LF. This bash problem
16612 # is reportedly fixed, but why not run on old versions too?
16613 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
16615 mv -f "$cfgfile" "$ofile" || \
16616 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16620 # If there is no Makefile yet, we rely on a make rule to execute
16621 # `config.status --recheck' to rerun these tests and create the
16622 # libtool script then.
16623 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16624 if test -f "$ltmain_in"; then
16625 test -f Makefile && make "$ltmain"
16631 ac_cpp='$CPP $CPPFLAGS'
16632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16639 # Check whether --with-tags or --without-tags was given.
16640 if test "${with_tags+set}" = set; then
16641 withval="$with_tags"
16642 tagnames="$withval"
16645 if test -f "$ltmain" && test -n "$tagnames"; then
16646 if test ! -f "${ofile}"; then
16647 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
16648 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
16651 if test -z "$LTCC"; then
16652 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16653 if test -z "$LTCC"; then
16654 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
16655 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
16657 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
16658 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
16661 if test -z "$LTCFLAGS"; then
16662 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
16665 # Extract list of available tagged configurations in $ofile.
16666 # Note that this assumes the entire list is on one line.
16667 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16669 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16670 for tagname in $tagnames; do
16672 # Check whether tagname contains only valid characters
16673 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
16675 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
16676 echo "$as_me: error: invalid tag name: $tagname" >&2;}
16677 { (exit 1); exit 1; }; }
16681 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
16683 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
16684 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
16685 { (exit 1); exit 1; }; }
16688 # Update the list of available tags.
16689 if test -n "$tagname"; then
16690 echo appending configuration tag \"$tagname\" to $ofile
16694 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16695 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16696 (test "X$CXX" != "Xg++"))) ; then
16698 ac_cpp='$CXXCPP $CPPFLAGS'
16699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16706 archive_cmds_need_lc_CXX=no
16707 allow_undefined_flag_CXX=
16708 always_export_symbols_CXX=no
16709 archive_expsym_cmds_CXX=
16710 export_dynamic_flag_spec_CXX=
16711 hardcode_direct_CXX=no
16712 hardcode_libdir_flag_spec_CXX=
16713 hardcode_libdir_flag_spec_ld_CXX=
16714 hardcode_libdir_separator_CXX=
16715 hardcode_minus_L_CXX=no
16716 hardcode_shlibpath_var_CXX=unsupported
16717 hardcode_automatic_CXX=no
16719 module_expsym_cmds_CXX=
16720 link_all_deplibs_CXX=unknown
16721 old_archive_cmds_CXX=$old_archive_cmds
16722 no_undefined_flag_CXX=
16723 whole_archive_flag_spec_CXX=
16724 enable_shared_with_static_runtimes_CXX=no
16726 # Dependencies to place before and after the object being linked:
16727 predep_objects_CXX=
16728 postdep_objects_CXX=
16731 compiler_lib_search_path_CXX=
16733 # Source file extension for C++ test sources.
16736 # Object file extension for compiled C++ test sources.
16740 # Code to be used in simple compile tests
16741 lt_simple_compile_test_code="int some_variable = 0;\n"
16743 # Code to be used in simple link tests
16744 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
16746 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16748 # If no C compiler was specified, use CC.
16751 # If no C compiler flags were specified, use CFLAGS.
16752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16754 # Allow CC to be a program name with arguments.
16758 # save warnings/boilerplate of simple test code
16759 ac_outfile=conftest.$ac_objext
16760 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16761 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16762 _lt_compiler_boilerplate=`cat conftest.err`
16765 ac_outfile=conftest.$ac_objext
16766 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16767 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16768 _lt_linker_boilerplate=`cat conftest.err`
16772 # Allow CC to be a program name with arguments.
16777 lt_save_with_gnu_ld=$with_gnu_ld
16778 lt_save_path_LD=$lt_cv_path_LD
16779 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16780 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16782 $as_unset lt_cv_prog_gnu_ld
16784 if test -n "${lt_cv_path_LDCXX+set}"; then
16785 lt_cv_path_LD=$lt_cv_path_LDCXX
16787 $as_unset lt_cv_path_LD
16789 test -z "${LDCXX+set}" || LD=$LDCXX
16793 for cc_temp in $compiler""; do
16795 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16796 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16801 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16804 # We don't want -fno-exception wen compiling C++ code, so set the
16805 # no_builtin_flag separately
16806 if test "$GXX" = yes; then
16807 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16809 lt_prog_compiler_no_builtin_flag_CXX=
16812 if test "$GXX" = yes; then
16813 # Set up default GNU C++ configuration
16816 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16817 if test "${with_gnu_ld+set}" = set; then
16818 withval="$with_gnu_ld"
16819 test "$withval" = no || with_gnu_ld=yes
16824 if test "$GCC" = yes; then
16825 # Check if gcc -print-prog-name=ld gives a path.
16826 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16827 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16830 # gcc leaves a trailing carriage return which upsets mingw
16831 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16833 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16836 # Accept absolute paths.
16838 re_direlt='/[^/][^/]*/\.\./'
16839 # Canonicalize the pathname of ld
16840 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16841 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16842 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16844 test -z "$LD" && LD="$ac_prog"
16847 # If it fails, then pretend we aren't using GCC.
16851 # If it is relative, then search for the first ld in PATH.
16852 with_gnu_ld=unknown
16855 elif test "$with_gnu_ld" = yes; then
16856 echo "$as_me:$LINENO: checking for GNU ld" >&5
16857 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16859 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16860 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16862 if test "${lt_cv_path_LD+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 if test -z "$LD"; then
16866 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16867 for ac_dir in $PATH; do
16869 test -z "$ac_dir" && ac_dir=.
16870 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16871 lt_cv_path_LD="$ac_dir/$ac_prog"
16872 # Check to see if the program is GNU ld. I'd rather use --version,
16873 # but apparently some variants of GNU ld only accept -v.
16874 # Break only if it was the GNU/non-GNU ld that we prefer.
16875 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16876 *GNU* | *'with BFD'*)
16877 test "$with_gnu_ld" != no && break
16880 test "$with_gnu_ld" != yes && break
16887 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16891 LD="$lt_cv_path_LD"
16892 if test -n "$LD"; then
16893 echo "$as_me:$LINENO: result: $LD" >&5
16894 echo "${ECHO_T}$LD" >&6
16896 echo "$as_me:$LINENO: result: no" >&5
16897 echo "${ECHO_T}no" >&6
16899 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16900 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16901 { (exit 1); exit 1; }; }
16902 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16903 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16904 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16908 case `$LD -v 2>&1 </dev/null` in
16909 *GNU* | *'with BFD'*)
16910 lt_cv_prog_gnu_ld=yes
16913 lt_cv_prog_gnu_ld=no
16917 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16918 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
16919 with_gnu_ld=$lt_cv_prog_gnu_ld
16923 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16924 # archiving commands below assume that GNU ld is being used.
16925 if test "$with_gnu_ld" = yes; then
16926 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16927 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'
16929 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16930 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16932 # If archive_cmds runs LD, not CC, wlarc should be empty
16933 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16934 # investigate it a little bit more. (MM)
16937 # ancient GNU ld didn't support --whole-archive et. al.
16938 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16939 grep 'no-whole-archive' > /dev/null; then
16940 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16942 whole_archive_flag_spec_CXX=
16948 # A generic and very simple default shared library creation
16949 # command for GNU C++ for the case where it uses the native
16950 # linker, instead of GNU ld. If possible, this setting should
16951 # overridden to take advantage of the native linker features on
16952 # the platform it is being used on.
16953 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16956 # Commands to make compiler produce verbose output that lists
16957 # what "hidden" libraries, object files and flags are used when
16958 # linking a shared library.
16959 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16967 # PORTME: fill in a description of your system's C++ link characteristics
16968 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16969 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16973 # FIXME: insert proper C++ library support
16977 if test "$host_cpu" = ia64; then
16978 # On IA64, the linker does run time linking by default, so we don't
16979 # have to do anything special.
16980 aix_use_runtimelinking=no
16981 exp_sym_flag='-Bexport'
16984 aix_use_runtimelinking=no
16986 # Test if we are trying to use run time linking or normal
16987 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16988 # need to do runtime linking.
16989 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16990 for ld_flag in $LDFLAGS; do
16993 aix_use_runtimelinking=yes
17001 exp_sym_flag='-bexport'
17002 no_entry_flag='-bnoentry'
17005 # When large executables or shared objects are built, AIX ld can
17006 # have problems creating the table of contents. If linking a library
17007 # or program results in "error TOC overflow" add -mminimal-toc to
17008 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17009 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17011 archive_cmds_CXX=''
17012 hardcode_direct_CXX=yes
17013 hardcode_libdir_separator_CXX=':'
17014 link_all_deplibs_CXX=yes
17016 if test "$GXX" = yes; then
17017 case $host_os in aix4.[012]|aix4.[012].*)
17018 # We only want to do this on AIX 4.2 and lower, the check
17019 # below for broken collect2 doesn't work under 4.3+
17020 collect2name=`${CC} -print-prog-name=collect2`
17021 if test -f "$collect2name" && \
17022 strings "$collect2name" | grep resolve_lib_name >/dev/null
17024 # We have reworked collect2
17025 hardcode_direct_CXX=yes
17027 # We have old collect2
17028 hardcode_direct_CXX=unsupported
17029 # It fails to find uninstalled libraries when the uninstalled
17030 # path is not listed in the libpath. Setting hardcode_minus_L
17031 # to unsupported forces relinking
17032 hardcode_minus_L_CXX=yes
17033 hardcode_libdir_flag_spec_CXX='-L$libdir'
17034 hardcode_libdir_separator_CXX=
17038 shared_flag='-shared'
17039 if test "$aix_use_runtimelinking" = yes; then
17040 shared_flag="$shared_flag "'${wl}-G'
17044 if test "$host_cpu" = ia64; then
17045 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17046 # chokes on -Wl,-G. The following line is correct:
17049 if test "$aix_use_runtimelinking" = yes; then
17050 shared_flag='${wl}-G'
17052 shared_flag='${wl}-bM:SRE'
17057 # It seems that -bexpall does not export symbols beginning with
17058 # underscore (_), so it is better to generate a list of symbols to export.
17059 always_export_symbols_CXX=yes
17060 if test "$aix_use_runtimelinking" = yes; then
17061 # Warning - without using the other runtime loading flags (-brtl),
17062 # -berok will link without error, but may produce a broken library.
17063 allow_undefined_flag_CXX='-berok'
17064 # Determine the default libpath from the value encoded in an empty executable.
17065 cat >conftest.$ac_ext <<_ACEOF
17068 cat confdefs.h >>conftest.$ac_ext
17069 cat >>conftest.$ac_ext <<_ACEOF
17070 /* end confdefs.h. */
17080 rm -f conftest.$ac_objext conftest$ac_exeext
17081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17082 (eval $ac_link) 2>conftest.er1
17084 grep -v '^ *+' conftest.er1 >conftest.err
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } &&
17089 { ac_try='test -z "$ac_cxx_werror_flag"
17090 || test ! -s conftest.err'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; } &&
17096 { ac_try='test -s conftest$ac_exeext'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; }; then
17103 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17105 # Check for a 64-bit object if we didn't find anything.
17106 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; }
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17113 rm -f conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17117 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17119 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"
17121 if test "$host_cpu" = ia64; then
17122 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17123 allow_undefined_flag_CXX="-z nodefs"
17124 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"
17126 # Determine the default libpath from the value encoded in an empty executable.
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17142 rm -f conftest.$ac_objext conftest$ac_exeext
17143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17144 (eval $ac_link) 2>conftest.er1
17146 grep -v '^ *+' conftest.er1 >conftest.err
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } &&
17151 { ac_try='test -z "$ac_cxx_werror_flag"
17152 || test ! -s conftest.err'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; } &&
17158 { ac_try='test -s conftest$ac_exeext'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17165 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17167 # Check for a 64-bit object if we didn't find anything.
17168 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; }
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17175 rm -f conftest.err conftest.$ac_objext \
17176 conftest$ac_exeext conftest.$ac_ext
17177 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17179 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17180 # Warning - without using the other run time loading flags,
17181 # -berok will link without error, but may produce a broken library.
17182 no_undefined_flag_CXX=' ${wl}-bernotok'
17183 allow_undefined_flag_CXX=' ${wl}-berok'
17184 # Exported symbols can be pulled into shared objects from archives
17185 whole_archive_flag_spec_CXX='$convenience'
17186 archive_cmds_need_lc_CXX=yes
17187 # This is similar to how AIX traditionally builds its shared libraries.
17188 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'
17194 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17195 allow_undefined_flag_CXX=unsupported
17196 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17197 # support --undefined. This deserves some investigation. FIXME
17198 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17205 case $cc_basename in
17207 # FIXME: insert proper C++ library support
17213 cygwin* | mingw* | pw32*)
17214 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17215 # as there is no search path for DLLs.
17216 hardcode_libdir_flag_spec_CXX='-L$libdir'
17217 allow_undefined_flag_CXX=unsupported
17218 always_export_symbols_CXX=no
17219 enable_shared_with_static_runtimes_CXX=yes
17221 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17222 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'
17223 # If the export-symbols file already is a .def file (1st line
17224 # is EXPORTS), use it as is; otherwise, prepend...
17225 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17226 cp $export_symbols $output_objdir/$soname.def;
17228 echo EXPORTS > $output_objdir/$soname.def;
17229 cat $export_symbols >> $output_objdir/$soname.def;
17231 $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'
17236 darwin* | rhapsody*)
17238 rhapsody* | darwin1.[012])
17239 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
17242 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17243 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17245 case ${MACOSX_DEPLOYMENT_TARGET} in
17247 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17250 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
17256 archive_cmds_need_lc_CXX=no
17257 hardcode_direct_CXX=no
17258 hardcode_automatic_CXX=yes
17259 hardcode_shlibpath_var_CXX=unsupported
17260 whole_archive_flag_spec_CXX=''
17261 link_all_deplibs_CXX=yes
17263 if test "$GXX" = yes ; then
17264 lt_int_apple_cc_single_mod=no
17265 output_verbose_link_cmd='echo'
17266 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
17267 lt_int_apple_cc_single_mod=yes
17269 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17270 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17272 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'
17274 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17275 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17276 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17277 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}'
17279 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}'
17281 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}'
17283 case $cc_basename in
17285 output_verbose_link_cmd='echo'
17286 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'
17287 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17288 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17289 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}'
17290 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}'
17300 case $cc_basename in
17302 # FIXME: insert proper C++ library support
17306 # Green Hills C++ Compiler
17307 # FIXME: insert proper C++ library support
17311 # FIXME: insert proper C++ library support
17317 # C++ shared libraries reported to be fairly broken before switch to ELF
17321 archive_cmds_need_lc_CXX=no
17323 freebsd* | kfreebsd*-gnu | dragonfly*)
17324 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17331 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17332 hardcode_libdir_separator_CXX=:
17333 export_dynamic_flag_spec_CXX='${wl}-E'
17334 hardcode_direct_CXX=yes
17335 hardcode_minus_L_CXX=yes # Not in the search PATH,
17336 # but as the default
17337 # location of the library.
17339 case $cc_basename in
17341 # FIXME: insert proper C++ library support
17345 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'
17346 # Commands to make compiler produce verbose output that lists
17347 # what "hidden" libraries, object files and flags are used when
17348 # linking a shared library.
17350 # There doesn't appear to be a way to prevent this compiler from
17351 # explicitly linking system object files so we need to strip them
17352 # from the output so that they don't get included in the library
17354 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'
17357 if test "$GXX" = yes; then
17358 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'
17360 # FIXME: insert proper C++ library support
17367 if test $with_gnu_ld = no; then
17368 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17369 hardcode_libdir_separator_CXX=:
17373 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
17376 export_dynamic_flag_spec_CXX='${wl}-E'
17382 hardcode_direct_CXX=no
17383 hardcode_shlibpath_var_CXX=no
17386 hardcode_direct_CXX=yes
17387 hardcode_minus_L_CXX=yes # Not in the search PATH,
17388 # but as the default
17389 # location of the library.
17393 case $cc_basename in
17395 # FIXME: insert proper C++ library support
17401 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17404 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17407 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17410 # Commands to make compiler produce verbose output that lists
17411 # what "hidden" libraries, object files and flags are used when
17412 # linking a shared library.
17414 # There doesn't appear to be a way to prevent this compiler from
17415 # explicitly linking system object files so we need to strip them
17416 # from the output so that they don't get included in the library
17418 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'
17421 if test "$GXX" = yes; then
17422 if test $with_gnu_ld = no; then
17425 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17428 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17431 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'
17436 # FIXME: insert proper C++ library support
17443 hardcode_direct_CXX=no
17444 hardcode_shlibpath_var_CXX=no
17445 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17446 export_dynamic_flag_spec_CXX='${wl}-E'
17447 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17448 # Instead, shared libraries are loaded at an image base (0x10000000 by
17449 # default) and relocated if they conflict, which is a slow very memory
17450 # consuming and fragmenting process. To avoid this, we pick a random,
17451 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17452 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17453 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'
17454 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'
17457 case $cc_basename in
17460 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'
17462 # Archives containing C++ object files must be created using
17463 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17464 # necessary to make sure instantiated templates are included
17466 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17469 if test "$GXX" = yes; then
17470 if test "$with_gnu_ld" = no; then
17471 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'
17473 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'
17476 link_all_deplibs_CXX=yes
17479 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17480 hardcode_libdir_separator_CXX=:
17483 case $cc_basename in
17485 # Kuck and Associates, Inc. (KAI) C++ Compiler
17487 # KCC will only create a shared library if the output file
17488 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17489 # to its proper name (with version) after linking.
17490 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'
17491 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'
17492 # Commands to make compiler produce verbose output that lists
17493 # what "hidden" libraries, object files and flags are used when
17494 # linking a shared library.
17496 # There doesn't appear to be a way to prevent this compiler from
17497 # explicitly linking system object files so we need to strip them
17498 # from the output so that they don't get included in the library
17500 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'
17502 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
17503 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17505 # Archives containing C++ object files must be created using
17506 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17507 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17512 # version 8.0 and above of icpc choke on multiply defined symbols
17513 # if we add $predep_objects and $postdep_objects, however 7.1 and
17514 # earlier do not add the objects themselves.
17515 case `$CC -V 2>&1` in
17517 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17518 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'
17520 *) # Version 8.0 or newer
17523 ia64*) tmp_idyn=' -i_dynamic';;
17525 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17526 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'
17529 archive_cmds_need_lc_CXX=no
17530 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17531 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17532 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17535 # Portland Group C++ compiler
17536 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17537 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'
17539 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
17540 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17541 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'
17545 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17546 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'
17548 runpath_var=LD_RUN_PATH
17549 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17550 hardcode_libdir_separator_CXX=:
17552 # Commands to make compiler produce verbose output that lists
17553 # what "hidden" libraries, object files and flags are used when
17554 # linking a shared library.
17556 # There doesn't appear to be a way to prevent this compiler from
17557 # explicitly linking system object files so we need to strip them
17558 # from the output so that they don't get included in the library
17560 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'
17565 # FIXME: insert proper C++ library support
17569 # FIXME: insert proper C++ library support
17573 case $cc_basename in
17575 # FIXME: insert proper C++ library support
17579 # FIXME: insert proper C++ library support
17585 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17586 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17588 hardcode_libdir_flag_spec_CXX='-R$libdir'
17589 hardcode_direct_CXX=yes
17590 hardcode_shlibpath_var_CXX=no
17592 # Workaround some broken pre-1.5 toolchains
17593 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17596 # C++ shared libraries are fairly broken
17600 hardcode_direct_CXX=yes
17601 hardcode_shlibpath_var_CXX=no
17602 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17603 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17604 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17605 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17606 export_dynamic_flag_spec_CXX='${wl}-E'
17607 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17609 output_verbose_link_cmd='echo'
17612 case $cc_basename in
17614 # Kuck and Associates, Inc. (KAI) C++ Compiler
17616 # KCC will only create a shared library if the output file
17617 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17618 # to its proper name (with version) after linking.
17619 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'
17621 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17622 hardcode_libdir_separator_CXX=:
17624 # Archives containing C++ object files must be created using
17625 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17626 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17630 # Rational C++ 2.4.1
17631 # FIXME: insert proper C++ library support
17635 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17636 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'
17638 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17639 hardcode_libdir_separator_CXX=:
17641 # Commands to make compiler produce verbose output that lists
17642 # what "hidden" libraries, object files and flags are used when
17643 # linking a shared library.
17645 # There doesn't appear to be a way to prevent this compiler from
17646 # explicitly linking system object files so we need to strip them
17647 # from the output so that they don't get included in the library
17649 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'
17652 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17653 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17654 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'
17656 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17657 hardcode_libdir_separator_CXX=:
17659 # Commands to make compiler produce verbose output that lists
17660 # what "hidden" libraries, object files and flags are used when
17661 # linking a shared library.
17662 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17665 # FIXME: insert proper C++ library support
17672 case $cc_basename in
17674 # Kuck and Associates, Inc. (KAI) C++ Compiler
17676 # KCC will only create a shared library if the output file
17677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17678 # to its proper name (with version) after linking.
17679 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'
17681 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17682 hardcode_libdir_separator_CXX=:
17684 # Archives containing C++ object files must be created using
17685 # the KAI C++ compiler.
17686 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
17689 # Rational C++ 2.4.1
17690 # FIXME: insert proper C++ library support
17694 allow_undefined_flag_CXX=' -expect_unresolved \*'
17695 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'
17696 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17697 echo "-hidden">> $lib.exp~
17698 $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~
17701 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17702 hardcode_libdir_separator_CXX=:
17704 # Commands to make compiler produce verbose output that lists
17705 # what "hidden" libraries, object files and flags are used when
17706 # linking a shared library.
17708 # There doesn't appear to be a way to prevent this compiler from
17709 # explicitly linking system object files so we need to strip them
17710 # from the output so that they don't get included in the library
17712 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'
17715 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17716 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17717 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'
17719 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17720 hardcode_libdir_separator_CXX=:
17722 # Commands to make compiler produce verbose output that lists
17723 # what "hidden" libraries, object files and flags are used when
17724 # linking a shared library.
17725 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17728 # FIXME: insert proper C++ library support
17735 # FIXME: insert proper C++ library support
17739 case $cc_basename in
17742 # FIXME: insert proper C++ library support
17747 # FIXME: insert proper C++ library support
17751 # FIXME: insert proper C++ library support
17757 case $cc_basename in
17759 # Sun C++ 4.2, 5.x and Centerline C++
17760 archive_cmds_need_lc_CXX=yes
17761 no_undefined_flag_CXX=' -zdefs'
17762 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17763 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17764 $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'
17766 hardcode_libdir_flag_spec_CXX='-R$libdir'
17767 hardcode_shlibpath_var_CXX=no
17769 solaris2.[0-5] | solaris2.[0-5].*) ;;
17771 # The C++ compiler is used as linker so we must use $wl
17772 # flag to pass the commands to the underlying system
17773 # linker. We must also pass each convience library through
17774 # to the system linker between allextract/defaultextract.
17775 # The C++ compiler will combine linker options so we
17776 # cannot just pass the convience library names through
17778 # Supported since Solaris 2.6 (maybe 2.5.1?)
17779 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'
17782 link_all_deplibs_CXX=yes
17784 output_verbose_link_cmd='echo'
17786 # Archives containing C++ object files must be created using
17787 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17788 # necessary to make sure instantiated templates are included
17790 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17793 # Green Hills C++ Compiler
17794 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17796 # The C++ compiler must be used to create the archive.
17797 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17800 # GNU C++ compiler with Solaris linker
17801 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17802 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17803 if $CC --version | grep -v '^2\.7' > /dev/null; then
17804 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17805 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17806 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17808 # Commands to make compiler produce verbose output that lists
17809 # what "hidden" libraries, object files and flags are used when
17810 # linking a shared library.
17811 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17813 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17815 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17816 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17817 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17819 # Commands to make compiler produce verbose output that lists
17820 # what "hidden" libraries, object files and flags are used when
17821 # linking a shared library.
17822 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17825 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17830 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17831 no_undefined_flag_CXX='${wl}-z,text'
17832 archive_cmds_need_lc_CXX=no
17833 hardcode_shlibpath_var_CXX=no
17834 runpath_var='LD_RUN_PATH'
17836 case $cc_basename in
17838 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17839 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17842 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17843 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17847 sysv5* | sco3.2v5* | sco5v6*)
17848 # Note: We can NOT use -z defs as we might desire, because we do not
17849 # link with -lc, and that would cause any symbols used from libc to
17850 # always be unresolved, which means just about no library would
17851 # ever link correctly. If we're not using GNU ld we use -z text
17852 # though, which does catch some bad symbols but isn't as heavy-handed
17854 # For security reasons, it is highly recommended that you always
17855 # use absolute paths for naming shared libraries, and exclude the
17856 # DT_RUNPATH tag from executables and libraries. But doing so
17857 # requires that you compile everything twice, which is a pain.
17858 # So that behaviour is only enabled if SCOABSPATH is set to a
17859 # non-empty value in the environment. Most likely only useful for
17860 # creating official distributions of packages.
17861 # This is a hack until libtool officially supports absolute path
17862 # names for shared libraries.
17863 no_undefined_flag_CXX='${wl}-z,text'
17864 allow_undefined_flag_CXX='${wl}-z,nodefs'
17865 archive_cmds_need_lc_CXX=no
17866 hardcode_shlibpath_var_CXX=no
17867 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17868 hardcode_libdir_separator_CXX=':'
17869 link_all_deplibs_CXX=yes
17870 export_dynamic_flag_spec_CXX='${wl}-Bexport'
17871 runpath_var='LD_RUN_PATH'
17873 case $cc_basename in
17875 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17876 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17879 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17880 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17885 case $cc_basename in
17887 # NonStop-UX NCC 3.20
17888 # FIXME: insert proper C++ library support
17892 # FIXME: insert proper C++ library support
17898 # FIXME: insert proper C++ library support
17902 # FIXME: insert proper C++ library support
17906 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17907 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17908 test "$ld_shlibs_CXX" = no && can_build_shared=no
17914 cat > conftest.$ac_ext <<EOF
17918 Foo (void) { a = 0; }
17924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17925 (eval $ac_compile) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; then
17929 # Parse the compiler output and extract the necessary
17930 # objects, libraries and library flags.
17932 # Sentinel used to keep track of whether or not we are before
17933 # the conftest object file.
17934 pre_test_object_deps_done=no
17936 # The `*' in the case matches for architectures that use `case' in
17937 # $output_verbose_cmd can trigger glob expansion during the loop
17938 # eval without this substitution.
17939 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
17941 for p in `eval $output_verbose_link_cmd`; do
17945 # Some compilers place space between "-{L,R}" and the path.
17946 # Remove the space.
17947 if test $p = "-L" \
17948 || test $p = "-R"; then
17955 if test "$pre_test_object_deps_done" = no; then
17958 # Internal compiler library paths should come after those
17959 # provided the user. The postdeps already come after the
17960 # user supplied libs so there is no need to process them.
17961 if test -z "$compiler_lib_search_path_CXX"; then
17962 compiler_lib_search_path_CXX="${prev}${p}"
17964 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17967 # The "-l" case would never come before the object being
17968 # linked, so don't bother handling this case.
17971 if test -z "$postdeps_CXX"; then
17972 postdeps_CXX="${prev}${p}"
17974 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17980 # This assumes that the test object file only shows up
17981 # once in the compiler output.
17982 if test "$p" = "conftest.$objext"; then
17983 pre_test_object_deps_done=yes
17987 if test "$pre_test_object_deps_done" = no; then
17988 if test -z "$predep_objects_CXX"; then
17989 predep_objects_CXX="$p"
17991 predep_objects_CXX="$predep_objects_CXX $p"
17994 if test -z "$postdep_objects_CXX"; then
17995 postdep_objects_CXX="$p"
17997 postdep_objects_CXX="$postdep_objects_CXX $p"
18002 *) ;; # Ignore the rest.
18010 echo "libtool.m4: error: problem compiling CXX test program"
18013 $rm -f confest.$objext
18015 # PORTME: override above test on systems where it is broken
18018 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18019 # hack all around it, let's just trust "g++" to DTRT.
18020 predep_objects_CXX=
18021 postdep_objects_CXX=
18026 case $cc_basename in
18028 # Adding this requires a known-good setup of shared libraries for
18029 # Sun compiler versions before 5.6, else PIC objects from an old
18030 # archive will be linked into the output, leading to subtle bugs.
18031 postdeps_CXX='-lCstd -lCrun'
18038 case " $postdeps_CXX " in
18039 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18042 lt_prog_compiler_wl_CXX=
18043 lt_prog_compiler_pic_CXX=
18044 lt_prog_compiler_static_CXX=
18046 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18047 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18049 # C++ specific cases for pic, static, wl, etc.
18050 if test "$GXX" = yes; then
18051 lt_prog_compiler_wl_CXX='-Wl,'
18052 lt_prog_compiler_static_CXX='-static'
18056 # All AIX code is PIC.
18057 if test "$host_cpu" = ia64; then
18058 # AIX 5 now supports IA64 processor
18059 lt_prog_compiler_static_CXX='-Bstatic'
18063 # FIXME: we need at least 68020 code to build shared libraries, but
18064 # adding the `-m68020' flag to GCC prevents building anything better,
18066 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18068 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18069 # PIC is the default for these OSes.
18071 mingw* | os2* | pw32*)
18072 # This hack is so that the source file can tell whether it is being
18073 # built for inclusion in a dll (and should export symbols for example).
18074 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18076 darwin* | rhapsody*)
18077 # PIC is the default on this platform
18078 # Common symbols not allowed in MH_DYLIB files
18079 lt_prog_compiler_pic_CXX='-fno-common'
18082 # DJGPP does not support shared libraries at all
18083 lt_prog_compiler_pic_CXX=
18086 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18087 # Instead, we relocate shared libraries at runtime.
18090 if test -d /usr/nec; then
18091 lt_prog_compiler_pic_CXX=-Kconform_pic
18095 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18096 # not for PA HP-UX.
18101 lt_prog_compiler_pic_CXX='-fPIC'
18106 lt_prog_compiler_pic_CXX='-fPIC'
18112 # All AIX code is PIC.
18113 if test "$host_cpu" = ia64; then
18114 # AIX 5 now supports IA64 processor
18115 lt_prog_compiler_static_CXX='-Bstatic'
18117 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18121 case $cc_basename in
18123 # Green Hills C++ Compiler
18124 # _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"
18129 # PIC is the default on this platform
18130 # Common symbols not allowed in MH_DYLIB files
18131 case $cc_basename in
18133 lt_prog_compiler_pic_CXX='-qnocommon'
18134 lt_prog_compiler_wl_CXX='-Wl,'
18139 case $cc_basename in
18141 lt_prog_compiler_pic_CXX='-KPIC'
18144 # Green Hills C++ Compiler
18145 lt_prog_compiler_pic_CXX='-pic'
18151 freebsd* | kfreebsd*-gnu | dragonfly*)
18152 # FreeBSD uses GNU C++
18154 hpux9* | hpux10* | hpux11*)
18155 case $cc_basename in
18157 lt_prog_compiler_wl_CXX='-Wl,'
18158 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18159 if test "$host_cpu" != ia64; then
18160 lt_prog_compiler_pic_CXX='+Z'
18164 lt_prog_compiler_wl_CXX='-Wl,'
18165 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18171 lt_prog_compiler_pic_CXX='+Z'
18180 # This is c89, which is MS Visual C++ (no shared libs)
18181 # Anyone wants to do a port?
18183 irix5* | irix6* | nonstopux*)
18184 case $cc_basename in
18186 lt_prog_compiler_wl_CXX='-Wl,'
18187 lt_prog_compiler_static_CXX='-non_shared'
18188 # CC pic flag -KPIC is the default.
18195 case $cc_basename in
18198 lt_prog_compiler_wl_CXX='--backend -Wl,'
18199 lt_prog_compiler_pic_CXX='-fPIC'
18203 lt_prog_compiler_wl_CXX='-Wl,'
18204 lt_prog_compiler_pic_CXX='-KPIC'
18205 lt_prog_compiler_static_CXX='-static'
18208 # Portland Group C++ compiler.
18209 lt_prog_compiler_wl_CXX='-Wl,'
18210 lt_prog_compiler_pic_CXX='-fpic'
18211 lt_prog_compiler_static_CXX='-Bstatic'
18215 # Make sure the PIC flag is empty. It appears that all Alpha
18216 # Linux and Compaq Tru64 Unix objects are PIC.
18217 lt_prog_compiler_pic_CXX=
18218 lt_prog_compiler_static_CXX='-non_shared'
18229 case $cc_basename in
18231 lt_prog_compiler_pic_CXX='-W c,exportall'
18239 osf3* | osf4* | osf5*)
18240 case $cc_basename in
18242 lt_prog_compiler_wl_CXX='--backend -Wl,'
18245 # Rational C++ 2.4.1
18246 lt_prog_compiler_pic_CXX='-pic'
18249 # Digital/Compaq C++
18250 lt_prog_compiler_wl_CXX='-Wl,'
18251 # Make sure the PIC flag is empty. It appears that all Alpha
18252 # Linux and Compaq Tru64 Unix objects are PIC.
18253 lt_prog_compiler_pic_CXX=
18254 lt_prog_compiler_static_CXX='-non_shared'
18263 case $cc_basename in
18265 # Sun C++ 4.2, 5.x and Centerline C++
18266 lt_prog_compiler_pic_CXX='-KPIC'
18267 lt_prog_compiler_static_CXX='-Bstatic'
18268 lt_prog_compiler_wl_CXX='-Qoption ld '
18271 # Green Hills C++ Compiler
18272 lt_prog_compiler_pic_CXX='-PIC'
18279 case $cc_basename in
18282 lt_prog_compiler_pic_CXX='-pic'
18283 lt_prog_compiler_static_CXX='-Bstatic'
18287 lt_prog_compiler_pic_CXX='-pic'
18294 case $cc_basename in
18296 # NonStop-UX NCC 3.20
18297 lt_prog_compiler_pic_CXX='-KPIC'
18303 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18304 case $cc_basename in
18306 lt_prog_compiler_wl_CXX='-Wl,'
18307 lt_prog_compiler_pic_CXX='-KPIC'
18308 lt_prog_compiler_static_CXX='-Bstatic'
18315 lt_prog_compiler_can_build_shared_CXX=no
18320 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
18321 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
18324 # Check to make sure the PIC flag actually works.
18326 if test -n "$lt_prog_compiler_pic_CXX"; then
18328 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18329 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
18330 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
18331 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 lt_prog_compiler_pic_works_CXX=no
18334 ac_outfile=conftest.$ac_objext
18335 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18336 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
18337 # Insert the option either (1) after the last *FLAGS variable, or
18338 # (2) before a word containing "conftest.", or (3) at the end.
18339 # Note that $ac_compile itself does not contain backslashes and begins
18340 # with a dollar sign (not a hyphen), so the echo should work correctly.
18341 # The option is referenced via a variable to avoid confusing sed.
18342 lt_compile=`echo "$ac_compile" | $SED \
18343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18345 -e 's:$: $lt_compiler_flag:'`
18346 (eval echo "\"\$as_me:18346: $lt_compile\"" >&5)
18347 (eval "$lt_compile" 2>conftest.err)
18349 cat conftest.err >&5
18350 echo "$as_me:18350: \$? = $ac_status" >&5
18351 if (exit $ac_status) && test -s "$ac_outfile"; then
18352 # The compiler can only warn and ignore the option if not recognized
18353 # So say no if there are warnings other than the usual output.
18354 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18356 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18357 lt_prog_compiler_pic_works_CXX=yes
18363 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
18364 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
18366 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
18367 case $lt_prog_compiler_pic_CXX in
18369 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18372 lt_prog_compiler_pic_CXX=
18373 lt_prog_compiler_can_build_shared_CXX=no
18378 # For platforms which do not support PIC, -DPIC is meaningless:
18380 lt_prog_compiler_pic_CXX=
18383 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18388 # Check to make sure the static flag actually works.
18390 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18391 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18392 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
18393 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18396 lt_prog_compiler_static_works_CXX=no
18397 save_LDFLAGS="$LDFLAGS"
18398 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18399 printf "$lt_simple_link_test_code" > conftest.$ac_ext
18400 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18401 # The linker can only warn and ignore the option if not recognized
18402 # So say no if there are warnings
18403 if test -s conftest.err; then
18404 # Append any errors to the config.log.
18405 cat conftest.err 1>&5
18406 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18407 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18408 if diff conftest.exp conftest.er2 >/dev/null; then
18409 lt_prog_compiler_static_works_CXX=yes
18412 lt_prog_compiler_static_works_CXX=yes
18416 LDFLAGS="$save_LDFLAGS"
18419 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
18420 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
18422 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
18425 lt_prog_compiler_static_CXX=
18429 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18430 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18431 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18434 lt_cv_prog_compiler_c_o_CXX=no
18435 $rm -r conftest 2>/dev/null
18439 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18441 lt_compiler_flag="-o out/conftest2.$ac_objext"
18442 # Insert the option either (1) after the last *FLAGS variable, or
18443 # (2) before a word containing "conftest.", or (3) at the end.
18444 # Note that $ac_compile itself does not contain backslashes and begins
18445 # with a dollar sign (not a hyphen), so the echo should work correctly.
18446 lt_compile=`echo "$ac_compile" | $SED \
18447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18449 -e 's:$: $lt_compiler_flag:'`
18450 (eval echo "\"\$as_me:18450: $lt_compile\"" >&5)
18451 (eval "$lt_compile" 2>out/conftest.err)
18453 cat out/conftest.err >&5
18454 echo "$as_me:18454: \$? = $ac_status" >&5
18455 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18457 # The compiler can only warn and ignore the option if not recognized
18458 # So say no if there are warnings
18459 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18460 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18461 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18462 lt_cv_prog_compiler_c_o_CXX=yes
18467 # SGI C++ compiler will create directory out/ii_files/ for
18468 # template instantiation
18469 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18470 $rm out/* && rmdir out
18476 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18477 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
18480 hard_links="nottested"
18481 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
18482 # do not overwrite the value of need_locks provided by the user
18483 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18484 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18487 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18489 ln conftest.a conftest.b 2>&5 || hard_links=no
18490 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18491 echo "$as_me:$LINENO: result: $hard_links" >&5
18492 echo "${ECHO_T}$hard_links" >&6
18493 if test "$hard_links" = no; then
18494 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18495 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18502 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18503 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18505 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18508 # If we're using GNU nm, then we don't want the "-C" option.
18509 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18510 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18511 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'
18513 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'
18517 export_symbols_cmds_CXX="$ltdll_cmds"
18520 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'
18523 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18527 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18528 echo "${ECHO_T}$ld_shlibs_CXX" >&6
18529 test "$ld_shlibs_CXX" = no && can_build_shared=no
18532 # Do we need to explicitly link libc?
18534 case "x$archive_cmds_need_lc_CXX" in
18536 # Assume -lc should be added
18537 archive_cmds_need_lc_CXX=yes
18539 if test "$enable_shared" = yes && test "$GCC" = yes; then
18540 case $archive_cmds_CXX in
18542 # FIXME: we may have to deal with multi-command sequences.
18545 # Test whether the compiler implicitly links with -lc since on some
18546 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18547 # to ld, don't add -lc before -lgcc.
18548 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18549 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18551 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } 2>conftest.err; then
18560 libobjs=conftest.$ac_objext
18562 wl=$lt_prog_compiler_wl_CXX
18563 pic_flag=$lt_prog_compiler_pic_CXX
18569 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18570 allow_undefined_flag_CXX=
18571 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18572 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }
18577 archive_cmds_need_lc_CXX=no
18579 archive_cmds_need_lc_CXX=yes
18581 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18583 cat conftest.err 1>&5
18586 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
18587 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
18594 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18595 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18596 library_names_spec=
18597 libname_spec='lib$name'
18601 postuninstall_cmds=
18605 shlibpath_overrides_runpath=unknown
18607 dynamic_linker="$host_os ld.so"
18608 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18609 if test "$GCC" = yes; then
18610 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18611 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18612 # if the path contains ";" then we assume it to be the separator
18613 # otherwise default to the standard path separator (i.e. ":") - it is
18614 # assumed that no part of a normal pathname contains ";" but that should
18615 # okay in the real world where ";" in dirpaths is itself problematic.
18616 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18618 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18621 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18623 need_lib_prefix=unknown
18624 hardcode_into_libs=no
18626 # when you set need_version to no, make sure it does not cause -set_version
18627 # flags to be left without arguments
18628 need_version=unknown
18633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18634 shlibpath_var=LIBPATH
18636 # AIX 3 has no versioning support, so we append a major version to the name.
18637 soname_spec='${libname}${release}${shared_ext}$major'
18644 hardcode_into_libs=yes
18645 if test "$host_cpu" = ia64; then
18646 # AIX 5 supports IA64
18647 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18648 shlibpath_var=LD_LIBRARY_PATH
18650 # With GCC up to 2.95.x, collect2 would create an import file
18651 # for dependence libraries. The import file would start with
18652 # the line `#! .'. This would cause the generated library to
18653 # depend on `.', always an invalid library. This was fixed in
18654 # development snapshots of GCC prior to 3.0.
18656 aix4 | aix4.[01] | aix4.[01].*)
18657 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18659 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18662 can_build_shared=no
18666 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18667 # soname into executable. Probably we can add versioning support to
18668 # collect2, so additional links can be useful in future.
18669 if test "$aix_use_runtimelinking" = yes; then
18670 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18671 # instead of lib<name>.a to let people know that these are not
18672 # typical AIX shared libraries.
18673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18675 # We preserve .a as extension for shared libraries through AIX4.2
18676 # and later when we are not doing run time linking.
18677 library_names_spec='${libname}${release}.a $libname.a'
18678 soname_spec='${libname}${release}${shared_ext}$major'
18680 shlibpath_var=LIBPATH
18685 library_names_spec='$libname.ixlibrary $libname.a'
18686 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18687 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'
18691 library_names_spec='${libname}${shared_ext}'
18692 dynamic_linker="$host_os ld.so"
18693 shlibpath_var=LIBRARY_PATH
18699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18700 soname_spec='${libname}${release}${shared_ext}$major'
18701 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18702 shlibpath_var=LD_LIBRARY_PATH
18703 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18704 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18705 # the default ld.so.conf also contains /usr/contrib/lib and
18706 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18707 # libtool to hard-code these into programs
18710 cygwin* | mingw* | pw32*)
18711 version_type=windows
18716 case $GCC,$host_os in
18717 yes,cygwin* | yes,mingw* | yes,pw32*)
18718 library_names_spec='$libname.dll.a'
18719 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18720 postinstall_cmds='base_file=`basename \${file}`~
18721 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18722 dldir=$destdir/`dirname \$dlpath`~
18723 test -d \$dldir || mkdir -p \$dldir~
18724 $install_prog $dir/$dlname \$dldir/$dlname~
18725 chmod a+x \$dldir/$dlname'
18726 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18727 dlpath=$dir/\$dldll~
18729 shlibpath_overrides_runpath=yes
18733 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18734 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18735 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18738 # MinGW DLLs use traditional 'lib' prefix
18739 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18740 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18741 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18742 # It is most probably a Windows format PATH printed by
18743 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18744 # path with ; separators, and with drive letters. We can handle the
18745 # drive letters (cygwin fileutils understands them), so leave them,
18746 # especially as we might pass files found there to a mingw objdump,
18747 # which wouldn't understand a cygwinified path. Ahh.
18748 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18750 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18754 # pw32 DLLs use 'pw' prefix rather than 'lib'
18755 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18761 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18764 dynamic_linker='Win32 ld.exe'
18765 # FIXME: first we should search . and the directory the executable is in
18769 darwin* | rhapsody*)
18770 dynamic_linker="$host_os dyld"
18771 version_type=darwin
18774 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18775 soname_spec='${libname}${release}${major}$shared_ext'
18776 shlibpath_overrides_runpath=yes
18777 shlibpath_var=DYLD_LIBRARY_PATH
18778 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18779 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18780 if test "$GCC" = yes; then
18781 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"`
18783 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18785 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18793 soname_spec='${libname}${release}${shared_ext}$major'
18794 shlibpath_var=LD_LIBRARY_PATH
18805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18806 soname_spec='${libname}${release}${shared_ext}$major'
18807 shlibpath_var=LD_LIBRARY_PATH
18808 shlibpath_overrides_runpath=no
18809 hardcode_into_libs=yes
18810 dynamic_linker='GNU ld.so'
18813 freebsd* | dragonfly*)
18814 # DragonFly does not have aout. When/if they implement a new
18815 # versioning mechanism, adjust this.
18816 if test -x /usr/bin/objformat; then
18817 objformat=`/usr/bin/objformat`
18820 freebsd[123]*) objformat=aout ;;
18821 *) objformat=elf ;;
18824 version_type=freebsd-$objformat
18825 case $version_type in
18827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18832 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18836 shlibpath_var=LD_LIBRARY_PATH
18839 shlibpath_overrides_runpath=yes
18841 freebsd3.[01]* | freebsdelf3.[01]*)
18842 shlibpath_overrides_runpath=yes
18843 hardcode_into_libs=yes
18845 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18846 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18847 shlibpath_overrides_runpath=no
18848 hardcode_into_libs=yes
18850 freebsd*) # from 4.6 on
18851 shlibpath_overrides_runpath=yes
18852 hardcode_into_libs=yes
18861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18862 soname_spec='${libname}${release}${shared_ext}$major'
18863 shlibpath_var=LD_LIBRARY_PATH
18864 hardcode_into_libs=yes
18867 hpux9* | hpux10* | hpux11*)
18868 # Give a soname corresponding to the major version so that dld.sl refuses to
18869 # link against other versions.
18876 hardcode_into_libs=yes
18877 dynamic_linker="$host_os dld.so"
18878 shlibpath_var=LD_LIBRARY_PATH
18879 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18881 soname_spec='${libname}${release}${shared_ext}$major'
18882 if test "X$HPUX_IA64_MODE" = X32; then
18883 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18885 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18887 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18891 hardcode_into_libs=yes
18892 dynamic_linker="$host_os dld.sl"
18893 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18894 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18896 soname_spec='${libname}${release}${shared_ext}$major'
18897 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18898 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18902 dynamic_linker="$host_os dld.sl"
18903 shlibpath_var=SHLIB_PATH
18904 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18906 soname_spec='${libname}${release}${shared_ext}$major'
18909 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18910 postinstall_cmds='chmod 555 $lib'
18917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18918 soname_spec='${libname}${release}${shared_ext}$major'
18919 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18920 shlibpath_var=LD_LIBRARY_PATH
18921 shlibpath_overrides_runpath=no
18922 hardcode_into_libs=yes
18925 irix5* | irix6* | nonstopux*)
18927 nonstopux*) version_type=nonstopux ;;
18929 if test "$lt_cv_prog_gnu_ld" = yes; then
18937 soname_spec='${libname}${release}${shared_ext}$major'
18938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18940 irix5* | nonstopux*)
18941 libsuff= shlibsuff=
18944 case $LD in # libtool.m4 will add one of these switches to LD
18945 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18946 libsuff= shlibsuff= libmagic=32-bit;;
18947 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18948 libsuff=32 shlibsuff=N32 libmagic=N32;;
18949 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18950 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18951 *) libsuff= shlibsuff= libmagic=never-match;;
18955 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18956 shlibpath_overrides_runpath=no
18957 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18958 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18959 hardcode_into_libs=yes
18962 # No shared lib support for Linux oldld, aout, or coff.
18963 linux*oldld* | linux*aout* | linux*coff*)
18967 # This must be Linux ELF.
18972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18973 soname_spec='${libname}${release}${shared_ext}$major'
18974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18975 shlibpath_var=LD_LIBRARY_PATH
18976 shlibpath_overrides_runpath=no
18977 # This implies no fast_install, which is unacceptable.
18978 # Some rework will be needed to allow for fast_install
18979 # before this can be enabled.
18980 hardcode_into_libs=yes
18982 # find out which ABI we are using
18984 case "$host_cpu" in
18985 x86_64*|s390x*|powerpc64*)
18986 echo '#line 18986 "configure"' > conftest.$ac_ext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988 (eval $ac_compile) 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; then
18992 case `/usr/bin/file conftest.$ac_objext` in
18995 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19003 # Append ld.so.conf contents to the search path
19004 if test -f /etc/ld.so.conf; then
19005 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19006 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19009 # We used to test for /lib/ld.so.1 and disable shared libraries on
19010 # powerpc, because MkLinux only supported shared libraries with the
19011 # GNU dynamic linker. Since this was broken with cross compilers,
19012 # most powerpc-linux boxes support dynamic linking these days and
19013 # people can always --disable-shared, the test was removed, and we
19014 # assume the GNU/Linux dynamic linker is in use.
19015 dynamic_linker='GNU/Linux ld.so'
19022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19023 soname_spec='${libname}${release}${shared_ext}$major'
19024 shlibpath_var=LD_LIBRARY_PATH
19025 shlibpath_overrides_runpath=no
19026 hardcode_into_libs=yes
19027 dynamic_linker='GNU ld.so'
19034 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19036 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19037 dynamic_linker='NetBSD (a.out) ld.so'
19039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19040 soname_spec='${libname}${release}${shared_ext}$major'
19041 dynamic_linker='NetBSD ld.elf_so'
19043 shlibpath_var=LD_LIBRARY_PATH
19044 shlibpath_overrides_runpath=yes
19045 hardcode_into_libs=yes
19050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19051 shlibpath_var=LD_LIBRARY_PATH
19052 shlibpath_overrides_runpath=yes
19059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19060 soname_spec='${libname}${release}${shared_ext}$major'
19061 shlibpath_var=LD_LIBRARY_PATH
19062 shlibpath_overrides_runpath=yes
19067 sys_lib_dlsearch_path_spec="/usr/lib"
19069 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19071 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19072 *) need_version=no ;;
19074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19075 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19076 shlibpath_var=LD_LIBRARY_PATH
19077 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19079 openbsd2.[89] | openbsd2.[89].*)
19080 shlibpath_overrides_runpath=no
19083 shlibpath_overrides_runpath=yes
19087 shlibpath_overrides_runpath=yes
19092 libname_spec='$name'
19095 library_names_spec='$libname${shared_ext} $libname.a'
19096 dynamic_linker='OS/2 ld.exe'
19097 shlibpath_var=LIBPATH
19100 osf3* | osf4* | osf5*)
19104 soname_spec='${libname}${release}${shared_ext}$major'
19105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19106 shlibpath_var=LD_LIBRARY_PATH
19107 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19108 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19116 soname_spec='${libname}${release}${shared_ext}$major'
19117 shlibpath_var=LD_LIBRARY_PATH
19118 shlibpath_overrides_runpath=yes
19119 hardcode_into_libs=yes
19120 # ldd complains unless libraries are executable
19121 postinstall_cmds='chmod +x $lib'
19126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19127 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19128 shlibpath_var=LD_LIBRARY_PATH
19129 shlibpath_overrides_runpath=yes
19130 if test "$with_gnu_ld" = yes; then
19138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19139 soname_spec='${libname}${release}${shared_ext}$major'
19140 shlibpath_var=LD_LIBRARY_PATH
19141 case $host_vendor in
19143 shlibpath_overrides_runpath=no
19145 export_dynamic_flag_spec='${wl}-Blargedynsym'
19146 runpath_var=LD_RUN_PATH
19154 shlibpath_overrides_runpath=no
19155 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19161 if test -d /usr/nec ;then
19163 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19164 soname_spec='$libname${shared_ext}.$major'
19165 shlibpath_var=LD_LIBRARY_PATH
19169 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19170 version_type=freebsd-elf
19173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19174 soname_spec='${libname}${release}${shared_ext}$major'
19175 shlibpath_var=LD_LIBRARY_PATH
19176 hardcode_into_libs=yes
19177 if test "$with_gnu_ld" = yes; then
19178 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19179 shlibpath_overrides_runpath=no
19181 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19182 shlibpath_overrides_runpath=yes
19185 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19189 sys_lib_dlsearch_path_spec='/usr/lib'
19194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19195 soname_spec='${libname}${release}${shared_ext}$major'
19196 shlibpath_var=LD_LIBRARY_PATH
19203 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19204 echo "${ECHO_T}$dynamic_linker" >&6
19205 test "$dynamic_linker" = no && can_build_shared=no
19207 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19208 if test "$GCC" = yes; then
19209 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19212 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19213 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19214 hardcode_action_CXX=
19215 if test -n "$hardcode_libdir_flag_spec_CXX" || \
19216 test -n "$runpath_var_CXX" || \
19217 test "X$hardcode_automatic_CXX" = "Xyes" ; then
19219 # We can hardcode non-existant directories.
19220 if test "$hardcode_direct_CXX" != no &&
19221 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19222 # have to relink, otherwise we might link with an installed library
19223 # when we should be linking with a yet-to-be-installed one
19224 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
19225 test "$hardcode_minus_L_CXX" != no; then
19226 # Linking always hardcodes the temporary library directory.
19227 hardcode_action_CXX=relink
19229 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19230 hardcode_action_CXX=immediate
19233 # We cannot hardcode anything, or else we can only hardcode existing
19235 hardcode_action_CXX=unsupported
19237 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
19238 echo "${ECHO_T}$hardcode_action_CXX" >&6
19240 if test "$hardcode_action_CXX" = relink; then
19241 # Fast installation is not supported
19242 enable_fast_install=no
19243 elif test "$shlibpath_overrides_runpath" = yes ||
19244 test "$enable_shared" = no; then
19245 # Fast installation is not necessary
19246 enable_fast_install=needless
19250 # The else clause should only fire when bootstrapping the
19251 # libtool distribution, otherwise you forgot to ship ltmain.sh
19252 # with your package, and you will get complaints that there are
19253 # no rules to generate ltmain.sh.
19254 if test -f "$ltmain"; then
19255 # See if we are running on zsh, and set the options which allow our commands through
19256 # without removal of \ escapes.
19257 if test -n "${ZSH_VERSION+set}" ; then
19258 setopt NO_GLOB_SUBST
19260 # Now quote all the things that may contain metacharacters while being
19261 # careful not to overquote the AC_SUBSTed values. We take copies of the
19262 # variables and quote the copies for generation of the libtool script.
19263 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19265 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19266 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19267 deplibs_check_method reload_flag reload_cmds need_locks \
19268 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19269 lt_cv_sys_global_symbol_to_c_name_address \
19270 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19271 old_postinstall_cmds old_postuninstall_cmds \
19275 lt_prog_compiler_wl_CXX \
19276 lt_prog_compiler_pic_CXX \
19277 lt_prog_compiler_static_CXX \
19278 lt_prog_compiler_no_builtin_flag_CXX \
19279 export_dynamic_flag_spec_CXX \
19280 thread_safe_flag_spec_CXX \
19281 whole_archive_flag_spec_CXX \
19282 enable_shared_with_static_runtimes_CXX \
19283 old_archive_cmds_CXX \
19284 old_archive_from_new_cmds_CXX \
19285 predep_objects_CXX \
19286 postdep_objects_CXX \
19289 compiler_lib_search_path_CXX \
19291 archive_expsym_cmds_CXX \
19292 postinstall_cmds_CXX \
19293 postuninstall_cmds_CXX \
19294 old_archive_from_expsyms_cmds_CXX \
19295 allow_undefined_flag_CXX \
19296 no_undefined_flag_CXX \
19297 export_symbols_cmds_CXX \
19298 hardcode_libdir_flag_spec_CXX \
19299 hardcode_libdir_flag_spec_ld_CXX \
19300 hardcode_libdir_separator_CXX \
19301 hardcode_automatic_CXX \
19303 module_expsym_cmds_CXX \
19304 lt_cv_prog_compiler_c_o_CXX \
19305 exclude_expsyms_CXX \
19306 include_expsyms_CXX; do
19309 old_archive_cmds_CXX | \
19310 old_archive_from_new_cmds_CXX | \
19311 archive_cmds_CXX | \
19312 archive_expsym_cmds_CXX | \
19313 module_cmds_CXX | \
19314 module_expsym_cmds_CXX | \
19315 old_archive_from_expsyms_cmds_CXX | \
19316 export_symbols_cmds_CXX | \
19317 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19318 postinstall_cmds | postuninstall_cmds | \
19319 old_postinstall_cmds | old_postuninstall_cmds | \
19320 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19321 # Double-quote double-evaled strings.
19322 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19325 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19331 *'\$0 --fallback-echo"')
19332 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19338 cat <<__EOF__ >> "$cfgfile"
19339 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19341 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19343 # Shell to use when invoking shell scripts.
19346 # Whether or not to build shared libraries.
19347 build_libtool_libs=$enable_shared
19349 # Whether or not to build static libraries.
19350 build_old_libs=$enable_static
19352 # Whether or not to add -lc for building shared libraries.
19353 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19355 # Whether or not to disallow shared libs when runtime libs are static
19356 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19358 # Whether or not to optimize for fast installation.
19359 fast_install=$enable_fast_install
19362 host_alias=$host_alias
19366 # The build system.
19367 build_alias=$build_alias
19371 # An echo program that does not interpret backslashes.
19376 AR_FLAGS=$lt_AR_FLAGS
19381 # LTCC compiler flags.
19382 LTCFLAGS=$lt_LTCFLAGS
19384 # A language-specific compiler.
19385 CC=$lt_compiler_CXX
19387 # Is the compiler the GNU C compiler?
19393 # The linker used to build libraries.
19396 # Whether we need hard or soft links.
19399 # A BSD-compatible nm program.
19402 # A symbol stripping program
19405 # Used to examine libraries when file_magic_cmd begins "file"
19406 MAGIC_CMD=$MAGIC_CMD
19408 # Used on cygwin: DLL creation program.
19411 # Used on cygwin: object dumper.
19414 # Used on cygwin: assembler.
19417 # The name of the directory that contains temporary libtool files.
19420 # How to create reloadable object files.
19421 reload_flag=$lt_reload_flag
19422 reload_cmds=$lt_reload_cmds
19424 # How to pass a linker flag through the compiler.
19425 wl=$lt_lt_prog_compiler_wl_CXX
19427 # Object file suffix (normally "o").
19428 objext="$ac_objext"
19430 # Old archive suffix (normally "a").
19433 # Shared library suffix (normally ".so").
19434 shrext_cmds='$shrext_cmds'
19436 # Executable file suffix (normally "").
19439 # Additional compiler flags for building library objects.
19440 pic_flag=$lt_lt_prog_compiler_pic_CXX
19443 # What is the maximum length of a command?
19444 max_cmd_len=$lt_cv_sys_max_cmd_len
19446 # Does compiler simultaneously support -c and -o options?
19447 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19449 # Must we lock files when doing compilation?
19450 need_locks=$lt_need_locks
19452 # Do we need the lib prefix for modules?
19453 need_lib_prefix=$need_lib_prefix
19455 # Do we need a version for libraries?
19456 need_version=$need_version
19458 # Whether dlopen is supported.
19459 dlopen_support=$enable_dlopen
19461 # Whether dlopen of programs is supported.
19462 dlopen_self=$enable_dlopen_self
19464 # Whether dlopen of statically linked programs is supported.
19465 dlopen_self_static=$enable_dlopen_self_static
19467 # Compiler flag to prevent dynamic linking.
19468 link_static_flag=$lt_lt_prog_compiler_static_CXX
19470 # Compiler flag to turn off builtin functions.
19471 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19473 # Compiler flag to allow reflexive dlopens.
19474 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19476 # Compiler flag to generate shared objects directly from archives.
19477 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19479 # Compiler flag to generate thread-safe objects.
19480 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
19482 # Library versioning type.
19483 version_type=$version_type
19485 # Format of library name prefix.
19486 libname_spec=$lt_libname_spec
19488 # List of archive names. First name is the real one, the rest are links.
19489 # The last name is the one that the linker finds with -lNAME.
19490 library_names_spec=$lt_library_names_spec
19492 # The coded name of the library, if different from the real name.
19493 soname_spec=$lt_soname_spec
19495 # Commands used to build and install an old-style archive.
19497 old_archive_cmds=$lt_old_archive_cmds_CXX
19498 old_postinstall_cmds=$lt_old_postinstall_cmds
19499 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19501 # Create an old-style archive from a shared archive.
19502 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19504 # Create a temporary old-style archive to link instead of a shared archive.
19505 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19507 # Commands used to build and install a shared archive.
19508 archive_cmds=$lt_archive_cmds_CXX
19509 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19510 postinstall_cmds=$lt_postinstall_cmds
19511 postuninstall_cmds=$lt_postuninstall_cmds
19513 # Commands used to build a loadable module (assumed same as above if empty)
19514 module_cmds=$lt_module_cmds_CXX
19515 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19517 # Commands to strip libraries.
19518 old_striplib=$lt_old_striplib
19519 striplib=$lt_striplib
19521 # Dependencies to place before the objects being linked to create a
19523 predep_objects=$lt_predep_objects_CXX
19525 # Dependencies to place after the objects being linked to create a
19527 postdep_objects=$lt_postdep_objects_CXX
19529 # Dependencies to place before the objects being linked to create a
19531 predeps=$lt_predeps_CXX
19533 # Dependencies to place after the objects being linked to create a
19535 postdeps=$lt_postdeps_CXX
19537 # The library search path used internally by the compiler when linking
19538 # a shared library.
19539 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19541 # Method to check whether dependent libraries are shared objects.
19542 deplibs_check_method=$lt_deplibs_check_method
19544 # Command to use when deplibs_check_method == file_magic.
19545 file_magic_cmd=$lt_file_magic_cmd
19547 # Flag that allows shared libraries with undefined symbols to be built.
19548 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19550 # Flag that forces no undefined symbols.
19551 no_undefined_flag=$lt_no_undefined_flag_CXX
19553 # Commands used to finish a libtool library installation in a directory.
19554 finish_cmds=$lt_finish_cmds
19556 # Same as above, but a single script fragment to be evaled but not shown.
19557 finish_eval=$lt_finish_eval
19559 # Take the output of nm and produce a listing of raw symbols and C names.
19560 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19562 # Transform the output of nm in a proper C declaration
19563 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19565 # Transform the output of nm in a C name address pair
19566 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19568 # This is the shared library runtime path variable.
19569 runpath_var=$runpath_var
19571 # This is the shared library path variable.
19572 shlibpath_var=$shlibpath_var
19574 # Is shlibpath searched before the hard-coded library search path?
19575 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19577 # How to hardcode a shared library path into an executable.
19578 hardcode_action=$hardcode_action_CXX
19580 # Whether we should hardcode library paths into libraries.
19581 hardcode_into_libs=$hardcode_into_libs
19583 # Flag to hardcode \$libdir into a binary during linking.
19584 # This must work even if \$libdir does not exist.
19585 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19587 # If ld is used when linking, flag to hardcode \$libdir into
19588 # a binary during linking. This must work even if \$libdir does
19590 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19592 # Whether we need a single -rpath flag with a separated argument.
19593 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19595 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19596 # resulting binary.
19597 hardcode_direct=$hardcode_direct_CXX
19599 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19600 # resulting binary.
19601 hardcode_minus_L=$hardcode_minus_L_CXX
19603 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19604 # the resulting binary.
19605 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19607 # Set to yes if building a shared library automatically hardcodes DIR into the library
19608 # and all subsequent libraries and executables linked against it.
19609 hardcode_automatic=$hardcode_automatic_CXX
19611 # Variables whose values should be saved in libtool wrapper scripts and
19612 # restored at relink time.
19613 variables_saved_for_relink="$variables_saved_for_relink"
19615 # Whether libtool must link a program against all its dependency libraries.
19616 link_all_deplibs=$link_all_deplibs_CXX
19618 # Compile-time system search path for libraries
19619 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19621 # Run-time system search path for libraries
19622 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19624 # Fix the shell variable \$srcfile for the compiler.
19625 fix_srcfile_path="$fix_srcfile_path_CXX"
19627 # Set to yes if exported symbols are required.
19628 always_export_symbols=$always_export_symbols_CXX
19630 # The commands to list exported symbols.
19631 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19633 # The commands to extract the exported symbol list from a shared archive.
19634 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19636 # Symbols that should not be listed in the preloaded symbols.
19637 exclude_expsyms=$lt_exclude_expsyms_CXX
19639 # Symbols that must always be exported.
19640 include_expsyms=$lt_include_expsyms_CXX
19642 # ### END LIBTOOL TAG CONFIG: $tagname
19648 # If there is no Makefile yet, we rely on a make rule to execute
19649 # `config.status --recheck' to rerun these tests and create the
19650 # libtool script then.
19651 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19652 if test -f "$ltmain_in"; then
19653 test -f Makefile && make "$ltmain"
19659 ac_cpp='$CPP $CPPFLAGS'
19660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19668 with_gnu_ldcxx=$with_gnu_ld
19669 with_gnu_ld=$lt_save_with_gnu_ld
19670 lt_cv_path_LDCXX=$lt_cv_path_LD
19671 lt_cv_path_LD=$lt_save_path_LD
19672 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19673 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19681 if test -n "$F77" && test "X$F77" != "Xno"; then
19684 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19685 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19686 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19689 archive_cmds_need_lc_F77=no
19690 allow_undefined_flag_F77=
19691 always_export_symbols_F77=no
19692 archive_expsym_cmds_F77=
19693 export_dynamic_flag_spec_F77=
19694 hardcode_direct_F77=no
19695 hardcode_libdir_flag_spec_F77=
19696 hardcode_libdir_flag_spec_ld_F77=
19697 hardcode_libdir_separator_F77=
19698 hardcode_minus_L_F77=no
19699 hardcode_automatic_F77=no
19701 module_expsym_cmds_F77=
19702 link_all_deplibs_F77=unknown
19703 old_archive_cmds_F77=$old_archive_cmds
19704 no_undefined_flag_F77=
19705 whole_archive_flag_spec_F77=
19706 enable_shared_with_static_runtimes_F77=no
19708 # Source file extension for f77 test sources.
19711 # Object file extension for compiled f77 test sources.
19715 # Code to be used in simple compile tests
19716 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19718 # Code to be used in simple link tests
19719 lt_simple_link_test_code=" program t\n end\n"
19721 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19723 # If no C compiler was specified, use CC.
19726 # If no C compiler flags were specified, use CFLAGS.
19727 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19729 # Allow CC to be a program name with arguments.
19733 # save warnings/boilerplate of simple test code
19734 ac_outfile=conftest.$ac_objext
19735 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19736 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19737 _lt_compiler_boilerplate=`cat conftest.err`
19740 ac_outfile=conftest.$ac_objext
19741 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19742 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19743 _lt_linker_boilerplate=`cat conftest.err`
19747 # Allow CC to be a program name with arguments.
19752 for cc_temp in $compiler""; do
19754 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19755 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19760 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19763 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19764 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19765 echo "$as_me:$LINENO: result: $can_build_shared" >&5
19766 echo "${ECHO_T}$can_build_shared" >&6
19768 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19769 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19770 test "$can_build_shared" = "no" && enable_shared=no
19772 # On AIX, shared libraries and static libraries use the same namespace, and
19773 # are all built from PIC.
19776 test "$enable_shared" = yes && enable_static=no
19777 if test -n "$RANLIB"; then
19778 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19779 postinstall_cmds='$RANLIB $lib'
19783 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19784 test "$enable_shared" = yes && enable_static=no
19788 echo "$as_me:$LINENO: result: $enable_shared" >&5
19789 echo "${ECHO_T}$enable_shared" >&6
19791 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19792 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19793 # Make sure either enable_shared or enable_static is yes.
19794 test "$enable_shared" = yes || enable_static=yes
19795 echo "$as_me:$LINENO: result: $enable_static" >&5
19796 echo "${ECHO_T}$enable_static" >&6
19801 lt_prog_compiler_wl_F77=
19802 lt_prog_compiler_pic_F77=
19803 lt_prog_compiler_static_F77=
19805 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19806 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
19808 if test "$GCC" = yes; then
19809 lt_prog_compiler_wl_F77='-Wl,'
19810 lt_prog_compiler_static_F77='-static'
19814 # All AIX code is PIC.
19815 if test "$host_cpu" = ia64; then
19816 # AIX 5 now supports IA64 processor
19817 lt_prog_compiler_static_F77='-Bstatic'
19822 # FIXME: we need at least 68020 code to build shared libraries, but
19823 # adding the `-m68020' flag to GCC prevents building anything better,
19825 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
19828 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19829 # PIC is the default for these OSes.
19832 mingw* | pw32* | os2*)
19833 # This hack is so that the source file can tell whether it is being
19834 # built for inclusion in a dll (and should export symbols for example).
19835 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19838 darwin* | rhapsody*)
19839 # PIC is the default on this platform
19840 # Common symbols not allowed in MH_DYLIB files
19841 lt_prog_compiler_pic_F77='-fno-common'
19845 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19846 # Instead, we relocate shared libraries at runtime.
19850 # Just because we use GCC doesn't mean we suddenly get shared libraries
19851 # on systems that don't support them.
19852 lt_prog_compiler_can_build_shared_F77=no
19857 if test -d /usr/nec; then
19858 lt_prog_compiler_pic_F77=-Kconform_pic
19863 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19864 # not for PA HP-UX.
19870 lt_prog_compiler_pic_F77='-fPIC'
19876 lt_prog_compiler_pic_F77='-fPIC'
19880 # PORTME Check for flag to pass linker flags through the system compiler.
19883 lt_prog_compiler_wl_F77='-Wl,'
19884 if test "$host_cpu" = ia64; then
19885 # AIX 5 now supports IA64 processor
19886 lt_prog_compiler_static_F77='-Bstatic'
19888 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
19892 # PIC is the default on this platform
19893 # Common symbols not allowed in MH_DYLIB files
19894 case $cc_basename in
19896 lt_prog_compiler_pic_F77='-qnocommon'
19897 lt_prog_compiler_wl_F77='-Wl,'
19902 mingw* | pw32* | os2*)
19903 # This hack is so that the source file can tell whether it is being
19904 # built for inclusion in a dll (and should export symbols for example).
19905 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19908 hpux9* | hpux10* | hpux11*)
19909 lt_prog_compiler_wl_F77='-Wl,'
19910 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19911 # not for PA HP-UX.
19917 lt_prog_compiler_pic_F77='+Z'
19920 # Is there a better lt_prog_compiler_static that works with the bundled CC?
19921 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
19924 irix5* | irix6* | nonstopux*)
19925 lt_prog_compiler_wl_F77='-Wl,'
19926 # PIC (with -KPIC) is the default.
19927 lt_prog_compiler_static_F77='-non_shared'
19931 lt_prog_compiler_pic_F77='-KPIC'
19932 lt_prog_compiler_static_F77='-Bstatic'
19936 case $cc_basename in
19938 lt_prog_compiler_wl_F77='-Wl,'
19939 lt_prog_compiler_pic_F77='-KPIC'
19940 lt_prog_compiler_static_F77='-static'
19942 pgcc* | pgf77* | pgf90* | pgf95*)
19943 # Portland Group compilers (*not* the Pentium gcc compiler,
19944 # which looks to be a dead project)
19945 lt_prog_compiler_wl_F77='-Wl,'
19946 lt_prog_compiler_pic_F77='-fpic'
19947 lt_prog_compiler_static_F77='-Bstatic'
19950 lt_prog_compiler_wl_F77='-Wl,'
19951 # All Alpha code is PIC.
19952 lt_prog_compiler_static_F77='-non_shared'
19957 osf3* | osf4* | osf5*)
19958 lt_prog_compiler_wl_F77='-Wl,'
19959 # All OSF/1 code is PIC.
19960 lt_prog_compiler_static_F77='-non_shared'
19964 lt_prog_compiler_pic_F77='-KPIC'
19965 lt_prog_compiler_static_F77='-Bstatic'
19966 case $cc_basename in
19967 f77* | f90* | f95*)
19968 lt_prog_compiler_wl_F77='-Qoption ld ';;
19970 lt_prog_compiler_wl_F77='-Wl,';;
19975 lt_prog_compiler_wl_F77='-Qoption ld '
19976 lt_prog_compiler_pic_F77='-PIC'
19977 lt_prog_compiler_static_F77='-Bstatic'
19980 sysv4 | sysv4.2uw2* | sysv4.3*)
19981 lt_prog_compiler_wl_F77='-Wl,'
19982 lt_prog_compiler_pic_F77='-KPIC'
19983 lt_prog_compiler_static_F77='-Bstatic'
19987 if test -d /usr/nec ;then
19988 lt_prog_compiler_pic_F77='-Kconform_pic'
19989 lt_prog_compiler_static_F77='-Bstatic'
19993 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19994 lt_prog_compiler_wl_F77='-Wl,'
19995 lt_prog_compiler_pic_F77='-KPIC'
19996 lt_prog_compiler_static_F77='-Bstatic'
20000 lt_prog_compiler_wl_F77='-Wl,'
20001 lt_prog_compiler_can_build_shared_F77=no
20005 lt_prog_compiler_pic_F77='-pic'
20006 lt_prog_compiler_static_F77='-Bstatic'
20010 lt_prog_compiler_can_build_shared_F77=no
20015 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20016 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
20019 # Check to make sure the PIC flag actually works.
20021 if test -n "$lt_prog_compiler_pic_F77"; then
20023 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20024 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
20025 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
20026 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 lt_prog_compiler_pic_works_F77=no
20029 ac_outfile=conftest.$ac_objext
20030 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20031 lt_compiler_flag="$lt_prog_compiler_pic_F77"
20032 # Insert the option either (1) after the last *FLAGS variable, or
20033 # (2) before a word containing "conftest.", or (3) at the end.
20034 # Note that $ac_compile itself does not contain backslashes and begins
20035 # with a dollar sign (not a hyphen), so the echo should work correctly.
20036 # The option is referenced via a variable to avoid confusing sed.
20037 lt_compile=`echo "$ac_compile" | $SED \
20038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20040 -e 's:$: $lt_compiler_flag:'`
20041 (eval echo "\"\$as_me:20041: $lt_compile\"" >&5)
20042 (eval "$lt_compile" 2>conftest.err)
20044 cat conftest.err >&5
20045 echo "$as_me:20045: \$? = $ac_status" >&5
20046 if (exit $ac_status) && test -s "$ac_outfile"; then
20047 # The compiler can only warn and ignore the option if not recognized
20048 # So say no if there are warnings other than the usual output.
20049 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20050 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20051 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20052 lt_prog_compiler_pic_works_F77=yes
20058 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
20059 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
20061 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
20062 case $lt_prog_compiler_pic_F77 in
20064 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
20067 lt_prog_compiler_pic_F77=
20068 lt_prog_compiler_can_build_shared_F77=no
20073 # For platforms which do not support PIC, -DPIC is meaningless:
20075 lt_prog_compiler_pic_F77=
20078 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
20083 # Check to make sure the static flag actually works.
20085 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
20086 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20087 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
20088 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20091 lt_prog_compiler_static_works_F77=no
20092 save_LDFLAGS="$LDFLAGS"
20093 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20094 printf "$lt_simple_link_test_code" > conftest.$ac_ext
20095 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20096 # The linker can only warn and ignore the option if not recognized
20097 # So say no if there are warnings
20098 if test -s conftest.err; then
20099 # Append any errors to the config.log.
20100 cat conftest.err 1>&5
20101 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20102 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20103 if diff conftest.exp conftest.er2 >/dev/null; then
20104 lt_prog_compiler_static_works_F77=yes
20107 lt_prog_compiler_static_works_F77=yes
20111 LDFLAGS="$save_LDFLAGS"
20114 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
20115 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
20117 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
20120 lt_prog_compiler_static_F77=
20124 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20125 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
20126 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 lt_cv_prog_compiler_c_o_F77=no
20130 $rm -r conftest 2>/dev/null
20134 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20136 lt_compiler_flag="-o out/conftest2.$ac_objext"
20137 # Insert the option either (1) after the last *FLAGS variable, or
20138 # (2) before a word containing "conftest.", or (3) at the end.
20139 # Note that $ac_compile itself does not contain backslashes and begins
20140 # with a dollar sign (not a hyphen), so the echo should work correctly.
20141 lt_compile=`echo "$ac_compile" | $SED \
20142 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20143 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20144 -e 's:$: $lt_compiler_flag:'`
20145 (eval echo "\"\$as_me:20145: $lt_compile\"" >&5)
20146 (eval "$lt_compile" 2>out/conftest.err)
20148 cat out/conftest.err >&5
20149 echo "$as_me:20149: \$? = $ac_status" >&5
20150 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20152 # The compiler can only warn and ignore the option if not recognized
20153 # So say no if there are warnings
20154 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20155 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20156 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20157 lt_cv_prog_compiler_c_o_F77=yes
20162 # SGI C++ compiler will create directory out/ii_files/ for
20163 # template instantiation
20164 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20165 $rm out/* && rmdir out
20171 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20172 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
20175 hard_links="nottested"
20176 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20177 # do not overwrite the value of need_locks provided by the user
20178 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20179 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20182 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20184 ln conftest.a conftest.b 2>&5 || hard_links=no
20185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20186 echo "$as_me:$LINENO: result: $hard_links" >&5
20187 echo "${ECHO_T}$hard_links" >&6
20188 if test "$hard_links" = no; then
20189 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20190 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20197 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20198 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20201 allow_undefined_flag_F77=
20202 enable_shared_with_static_runtimes_F77=no
20204 archive_expsym_cmds_F77=
20205 old_archive_From_new_cmds_F77=
20206 old_archive_from_expsyms_cmds_F77=
20207 export_dynamic_flag_spec_F77=
20208 whole_archive_flag_spec_F77=
20209 thread_safe_flag_spec_F77=
20210 hardcode_libdir_flag_spec_F77=
20211 hardcode_libdir_flag_spec_ld_F77=
20212 hardcode_libdir_separator_F77=
20213 hardcode_direct_F77=no
20214 hardcode_minus_L_F77=no
20215 hardcode_shlibpath_var_F77=unsupported
20216 link_all_deplibs_F77=unknown
20217 hardcode_automatic_F77=no
20219 module_expsym_cmds_F77=
20220 always_export_symbols_F77=no
20221 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20222 # include_expsyms should be a list of space-separated symbols to be *always*
20223 # included in the symbol list
20224 include_expsyms_F77=
20225 # exclude_expsyms can be an extended regexp of symbols to exclude
20226 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20227 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20228 # as well as any symbol that contains `d'.
20229 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
20230 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20231 # platforms (ab)use it in PIC code, but their linkers get confused if
20232 # the symbol is explicitly referenced. Since portable code cannot
20233 # rely on this symbol name, it's probably fine to never include it in
20234 # preloaded symbol tables.
20235 extract_expsyms_cmds=
20236 # Just being paranoid about ensuring that cc_basename is set.
20237 for cc_temp in $compiler""; do
20239 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20240 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20245 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20248 cygwin* | mingw* | pw32*)
20249 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20250 # When not using gcc, we currently assume that we are using
20251 # Microsoft Visual C++.
20252 if test "$GCC" != yes; then
20257 # we just hope/assume this is gcc and not c89 (= MSVC++)
20266 if test "$with_gnu_ld" = yes; then
20267 # If archive_cmds runs LD, not CC, wlarc should be empty
20270 # Set some defaults for GNU ld with shared library support. These
20271 # are reset later if shared libraries are not supported. Putting them
20272 # here allows them to be overridden if necessary.
20273 runpath_var=LD_RUN_PATH
20274 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20275 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20276 # ancient GNU ld didn't support --whole-archive et. al.
20277 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20278 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20280 whole_archive_flag_spec_F77=
20282 supports_anon_versioning=no
20283 case `$LD -v 2>/dev/null` in
20284 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20285 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20286 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20287 *\ 2.11.*) ;; # other 2.11 versions
20288 *) supports_anon_versioning=yes ;;
20291 # See if GNU ld supports shared libraries.
20293 aix3* | aix4* | aix5*)
20294 # On AIX/PPC, the GNU linker is very broken
20295 if test "$host_cpu" != ia64; then
20299 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20300 *** to be unable to reliably create shared libraries on AIX.
20301 *** Therefore, libtool is disabling shared libraries support. If you
20302 *** really care for shared libraries, you may want to modify your PATH
20303 *** so that a non-GNU linker is found, and then restart.
20310 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)'
20311 hardcode_libdir_flag_spec_F77='-L$libdir'
20312 hardcode_minus_L_F77=yes
20314 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20315 # that the semantics of dynamic libraries on AmigaOS, at least up
20316 # to version 4, is to share data among multiple programs linked
20317 # with the same dynamic library. Since this doesn't match the
20318 # behavior of shared libraries on other platforms, we can't use
20324 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20325 allow_undefined_flag_F77=unsupported
20326 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20327 # support --undefined. This deserves some investigation. FIXME
20328 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20334 cygwin* | mingw* | pw32*)
20335 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
20336 # as there is no search path for DLLs.
20337 hardcode_libdir_flag_spec_F77='-L$libdir'
20338 allow_undefined_flag_F77=unsupported
20339 always_export_symbols_F77=no
20340 enable_shared_with_static_runtimes_F77=yes
20341 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20343 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20344 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20345 # If the export-symbols file already is a .def file (1st line
20346 # is EXPORTS), use it as is; otherwise, prepend...
20347 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20348 cp $export_symbols $output_objdir/$soname.def;
20350 echo EXPORTS > $output_objdir/$soname.def;
20351 cat $export_symbols >> $output_objdir/$soname.def;
20353 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20360 hardcode_direct_F77=no
20361 hardcode_shlibpath_var_F77=no
20362 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20363 export_dynamic_flag_spec_F77='${wl}-E'
20364 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20365 # Instead, shared libraries are loaded at an image base (0x10000000 by
20366 # default) and relocated if they conflict, which is a slow very memory
20367 # consuming and fragmenting process. To avoid this, we pick a random,
20368 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20369 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20370 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'
20371 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'
20375 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20377 case $cc_basename,$host_cpu in
20378 pgcc*) # Portland Group C compiler
20379 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'
20380 tmp_addflag=' $pic_flag'
20382 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
20383 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'
20384 tmp_addflag=' $pic_flag -Mnomain' ;;
20385 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
20386 tmp_addflag=' -i_dynamic' ;;
20387 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
20388 tmp_addflag=' -i_dynamic -nofor_main' ;;
20389 ifc* | ifort*) # Intel Fortran compiler
20390 tmp_addflag=' -nofor_main' ;;
20392 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20394 if test $supports_anon_versioning = yes; then
20395 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
20396 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20397 $echo "local: *; };" >> $output_objdir/$libname.ver~
20398 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20406 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20407 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20410 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20411 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20416 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20420 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20421 *** create shared libraries on Solaris systems. Therefore, libtool
20422 *** is disabling shared libraries support. We urge you to upgrade GNU
20423 *** binutils to release 2.9.1 or newer. Another option is to modify
20424 *** your PATH or compiler configuration so that the native linker is
20425 *** used, and then restart.
20428 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20429 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20430 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20436 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
20437 case `$LD -v 2>&1` in
20438 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
20442 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
20443 *** reliably create shared libraries on SCO systems. Therefore, libtool
20444 *** is disabling shared libraries support. We urge you to upgrade GNU
20445 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
20446 *** your PATH or compiler configuration so that the native linker is
20447 *** used, and then restart.
20452 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20453 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
20454 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
20455 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
20464 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20466 hardcode_direct_F77=yes
20467 hardcode_shlibpath_var_F77=no
20471 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20472 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20473 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20480 if test "$ld_shlibs_F77" = no; then
20482 hardcode_libdir_flag_spec_F77=
20483 export_dynamic_flag_spec_F77=
20484 whole_archive_flag_spec_F77=
20487 # PORTME fill in a description of your system's linker (not GNU ld)
20490 allow_undefined_flag_F77=unsupported
20491 always_export_symbols_F77=yes
20492 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'
20493 # Note: this linker hardcodes the directories in LIBPATH if there
20494 # are no directories specified by -L.
20495 hardcode_minus_L_F77=yes
20496 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
20497 # Neither direct hardcoding nor static linking is supported with a
20499 hardcode_direct_F77=unsupported
20504 if test "$host_cpu" = ia64; then
20505 # On IA64, the linker does run time linking by default, so we don't
20506 # have to do anything special.
20507 aix_use_runtimelinking=no
20508 exp_sym_flag='-Bexport'
20511 # If we're using GNU nm, then we don't want the "-C" option.
20512 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20513 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20514 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'
20516 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'
20518 aix_use_runtimelinking=no
20520 # Test if we are trying to use run time linking or normal
20521 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20522 # need to do runtime linking.
20523 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20524 for ld_flag in $LDFLAGS; do
20525 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20526 aix_use_runtimelinking=yes
20533 exp_sym_flag='-bexport'
20534 no_entry_flag='-bnoentry'
20537 # When large executables or shared objects are built, AIX ld can
20538 # have problems creating the table of contents. If linking a library
20539 # or program results in "error TOC overflow" add -mminimal-toc to
20540 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20541 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20543 archive_cmds_F77=''
20544 hardcode_direct_F77=yes
20545 hardcode_libdir_separator_F77=':'
20546 link_all_deplibs_F77=yes
20548 if test "$GCC" = yes; then
20549 case $host_os in aix4.[012]|aix4.[012].*)
20550 # We only want to do this on AIX 4.2 and lower, the check
20551 # below for broken collect2 doesn't work under 4.3+
20552 collect2name=`${CC} -print-prog-name=collect2`
20553 if test -f "$collect2name" && \
20554 strings "$collect2name" | grep resolve_lib_name >/dev/null
20556 # We have reworked collect2
20557 hardcode_direct_F77=yes
20559 # We have old collect2
20560 hardcode_direct_F77=unsupported
20561 # It fails to find uninstalled libraries when the uninstalled
20562 # path is not listed in the libpath. Setting hardcode_minus_L
20563 # to unsupported forces relinking
20564 hardcode_minus_L_F77=yes
20565 hardcode_libdir_flag_spec_F77='-L$libdir'
20566 hardcode_libdir_separator_F77=
20570 shared_flag='-shared'
20571 if test "$aix_use_runtimelinking" = yes; then
20572 shared_flag="$shared_flag "'${wl}-G'
20576 if test "$host_cpu" = ia64; then
20577 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20578 # chokes on -Wl,-G. The following line is correct:
20581 if test "$aix_use_runtimelinking" = yes; then
20582 shared_flag='${wl}-G'
20584 shared_flag='${wl}-bM:SRE'
20589 # It seems that -bexpall does not export symbols beginning with
20590 # underscore (_), so it is better to generate a list of symbols to export.
20591 always_export_symbols_F77=yes
20592 if test "$aix_use_runtimelinking" = yes; then
20593 # Warning - without using the other runtime loading flags (-brtl),
20594 # -berok will link without error, but may produce a broken library.
20595 allow_undefined_flag_F77='-berok'
20596 # Determine the default libpath from the value encoded in an empty executable.
20597 cat >conftest.$ac_ext <<_ACEOF
20602 rm -f conftest.$ac_objext conftest$ac_exeext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20604 (eval $ac_link) 2>conftest.er1
20606 grep -v '^ *+' conftest.er1 >conftest.err
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try='test -z "$ac_f77_werror_flag"
20612 || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try='test -s conftest$ac_exeext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20627 # Check for a 64-bit object if we didn't find anything.
20628 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; }
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20635 rm -f conftest.err conftest.$ac_objext \
20636 conftest$ac_exeext conftest.$ac_ext
20637 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20639 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20640 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"
20642 if test "$host_cpu" = ia64; then
20643 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
20644 allow_undefined_flag_F77="-z nodefs"
20645 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"
20647 # Determine the default libpath from the value encoded in an empty executable.
20648 cat >conftest.$ac_ext <<_ACEOF
20653 rm -f conftest.$ac_objext conftest$ac_exeext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20655 (eval $ac_link) 2>conftest.er1
20657 grep -v '^ *+' conftest.er1 >conftest.err
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try='test -z "$ac_f77_werror_flag"
20663 || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest$ac_exeext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20676 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20678 # Check for a 64-bit object if we didn't find anything.
20679 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; }
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20686 rm -f conftest.err conftest.$ac_objext \
20687 conftest$ac_exeext conftest.$ac_ext
20688 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20690 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20691 # Warning - without using the other run time loading flags,
20692 # -berok will link without error, but may produce a broken library.
20693 no_undefined_flag_F77=' ${wl}-bernotok'
20694 allow_undefined_flag_F77=' ${wl}-berok'
20695 # Exported symbols can be pulled into shared objects from archives
20696 whole_archive_flag_spec_F77='$convenience'
20697 archive_cmds_need_lc_F77=yes
20698 # This is similar to how AIX traditionally builds its shared libraries.
20699 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'
20705 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)'
20706 hardcode_libdir_flag_spec_F77='-L$libdir'
20707 hardcode_minus_L_F77=yes
20708 # see comment about different semantics on the GNU ld section
20713 export_dynamic_flag_spec_F77=-rdynamic
20716 cygwin* | mingw* | pw32*)
20717 # When not using gcc, we currently assume that we are using
20718 # Microsoft Visual C++.
20719 # hardcode_libdir_flag_spec is actually meaningless, as there is
20720 # no search path for DLLs.
20721 hardcode_libdir_flag_spec_F77=' '
20722 allow_undefined_flag_F77=unsupported
20723 # Tell ltmain to make .lib files, not .a files.
20725 # Tell ltmain to make .dll files, not .so files.
20727 # FIXME: Setting linknames here is a bad hack.
20728 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20729 # The linker will automatically build a .lib file if we build a DLL.
20730 old_archive_From_new_cmds_F77='true'
20731 # FIXME: Should let the user specify the lib program.
20732 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20733 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
20734 enable_shared_with_static_runtimes_F77=yes
20737 darwin* | rhapsody*)
20739 rhapsody* | darwin1.[012])
20740 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
20743 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20744 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20746 case ${MACOSX_DEPLOYMENT_TARGET} in
20748 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20751 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
20757 archive_cmds_need_lc_F77=no
20758 hardcode_direct_F77=no
20759 hardcode_automatic_F77=yes
20760 hardcode_shlibpath_var_F77=unsupported
20761 whole_archive_flag_spec_F77=''
20762 link_all_deplibs_F77=yes
20763 if test "$GCC" = yes ; then
20764 output_verbose_link_cmd='echo'
20765 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20766 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20767 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20768 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}'
20769 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}'
20771 case $cc_basename in
20773 output_verbose_link_cmd='echo'
20774 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
20775 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20776 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20777 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}'
20778 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}'
20788 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20789 hardcode_libdir_flag_spec_F77='-L$libdir'
20790 hardcode_shlibpath_var_F77=no
20797 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20798 # support. Future versions do this automatically, but an explicit c++rt0.o
20799 # does not break anything, and helps significantly (at the cost of a little
20802 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20803 hardcode_libdir_flag_spec_F77='-R$libdir'
20804 hardcode_direct_F77=yes
20805 hardcode_shlibpath_var_F77=no
20808 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20810 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20811 hardcode_direct_F77=yes
20812 hardcode_minus_L_F77=yes
20813 hardcode_shlibpath_var_F77=no
20816 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20817 freebsd* | kfreebsd*-gnu | dragonfly*)
20818 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20819 hardcode_libdir_flag_spec_F77='-R$libdir'
20820 hardcode_direct_F77=yes
20821 hardcode_shlibpath_var_F77=no
20825 if test "$GCC" = yes; then
20826 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'
20828 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'
20830 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20831 hardcode_libdir_separator_F77=:
20832 hardcode_direct_F77=yes
20834 # hardcode_minus_L: Not really in the search PATH,
20835 # but as the default location of the library.
20836 hardcode_minus_L_F77=yes
20837 export_dynamic_flag_spec_F77='${wl}-E'
20841 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20842 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20844 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20846 if test "$with_gnu_ld" = no; then
20847 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20848 hardcode_libdir_separator_F77=:
20850 hardcode_direct_F77=yes
20851 export_dynamic_flag_spec_F77='${wl}-E'
20853 # hardcode_minus_L: Not really in the search PATH,
20854 # but as the default location of the library.
20855 hardcode_minus_L_F77=yes
20860 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20863 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20866 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20869 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20875 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20878 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20881 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20885 if test "$with_gnu_ld" = no; then
20886 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20887 hardcode_libdir_separator_F77=:
20891 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
20892 hardcode_direct_F77=no
20893 hardcode_shlibpath_var_F77=no
20896 hardcode_direct_F77=yes
20897 export_dynamic_flag_spec_F77='${wl}-E'
20899 # hardcode_minus_L: Not really in the search PATH,
20900 # but as the default location of the library.
20901 hardcode_minus_L_F77=yes
20907 irix5* | irix6* | nonstopux*)
20908 if test "$GCC" = yes; then
20909 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'
20911 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'
20912 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
20914 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20915 hardcode_libdir_separator_F77=:
20916 link_all_deplibs_F77=yes
20920 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20921 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20923 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20925 hardcode_libdir_flag_spec_F77='-R$libdir'
20926 hardcode_direct_F77=yes
20927 hardcode_shlibpath_var_F77=no
20931 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20932 hardcode_direct_F77=yes
20933 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20934 hardcode_libdir_separator_F77=:
20935 hardcode_shlibpath_var_F77=no
20939 hardcode_direct_F77=yes
20940 hardcode_shlibpath_var_F77=no
20941 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20942 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20943 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20944 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20945 export_dynamic_flag_spec_F77='${wl}-E'
20948 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20949 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20950 hardcode_libdir_flag_spec_F77='-R$libdir'
20953 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20954 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20961 hardcode_libdir_flag_spec_F77='-L$libdir'
20962 hardcode_minus_L_F77=yes
20963 allow_undefined_flag_F77=unsupported
20964 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'
20965 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20969 if test "$GCC" = yes; then
20970 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20971 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'
20973 allow_undefined_flag_F77=' -expect_unresolved \*'
20974 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'
20976 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20977 hardcode_libdir_separator_F77=:
20980 osf4* | osf5*) # as osf3* with the addition of -msym flag
20981 if test "$GCC" = yes; then
20982 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20983 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'
20984 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20986 allow_undefined_flag_F77=' -expect_unresolved \*'
20987 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'
20988 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~
20989 $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'
20991 # Both c and cxx compiler support -rpath directly
20992 hardcode_libdir_flag_spec_F77='-rpath $libdir'
20994 hardcode_libdir_separator_F77=:
20998 no_undefined_flag_F77=' -z text'
20999 if test "$GCC" = yes; then
21001 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21002 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21003 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
21006 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21007 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21008 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21010 hardcode_libdir_flag_spec_F77='-R$libdir'
21011 hardcode_shlibpath_var_F77=no
21013 solaris2.[0-5] | solaris2.[0-5].*) ;;
21015 # The compiler driver will combine linker options so we
21016 # cannot just pass the convience library names through
21017 # without $wl, iff we do not link with $LD.
21018 # Luckily, gcc supports the same syntax we need for Sun Studio.
21019 # Supported since Solaris 2.6 (maybe 2.5.1?)
21022 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
21024 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' ;;
21027 link_all_deplibs_F77=yes
21031 if test "x$host_vendor" = xsequent; then
21032 # Use $CC to link under sequent, because it throws in some extra .o
21033 # files that make .init and .fini sections work.
21034 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21036 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21038 hardcode_libdir_flag_spec_F77='-L$libdir'
21039 hardcode_direct_F77=yes
21040 hardcode_minus_L_F77=yes
21041 hardcode_shlibpath_var_F77=no
21045 case $host_vendor in
21047 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21048 hardcode_direct_F77=yes # is this really true???
21051 ## LD is ld it makes a PLAMLIB
21052 ## CC just makes a GrossModule.
21053 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21054 reload_cmds_F77='$CC -r -o $output$reload_objs'
21055 hardcode_direct_F77=no
21058 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21059 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
21062 runpath_var='LD_RUN_PATH'
21063 hardcode_shlibpath_var_F77=no
21067 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21068 hardcode_shlibpath_var_F77=no
21069 export_dynamic_flag_spec_F77='-Bexport'
21073 if test -d /usr/nec; then
21074 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21075 hardcode_shlibpath_var_F77=no
21076 runpath_var=LD_RUN_PATH
21077 hardcode_runpath_var=yes
21082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
21083 no_undefined_flag_F77='${wl}-z,text'
21084 archive_cmds_need_lc_F77=no
21085 hardcode_shlibpath_var_F77=no
21086 runpath_var='LD_RUN_PATH'
21088 if test "$GCC" = yes; then
21089 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21090 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21092 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21093 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21097 sysv5* | sco3.2v5* | sco5v6*)
21098 # Note: We can NOT use -z defs as we might desire, because we do not
21099 # link with -lc, and that would cause any symbols used from libc to
21100 # always be unresolved, which means just about no library would
21101 # ever link correctly. If we're not using GNU ld we use -z text
21102 # though, which does catch some bad symbols but isn't as heavy-handed
21104 no_undefined_flag_F77='${wl}-z,text'
21105 allow_undefined_flag_F77='${wl}-z,nodefs'
21106 archive_cmds_need_lc_F77=no
21107 hardcode_shlibpath_var_F77=no
21108 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21109 hardcode_libdir_separator_F77=':'
21110 link_all_deplibs_F77=yes
21111 export_dynamic_flag_spec_F77='${wl}-Bexport'
21112 runpath_var='LD_RUN_PATH'
21114 if test "$GCC" = yes; then
21115 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21116 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21118 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21119 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21124 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21125 hardcode_libdir_flag_spec_F77='-L$libdir'
21126 hardcode_shlibpath_var_F77=no
21135 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
21136 echo "${ECHO_T}$ld_shlibs_F77" >&6
21137 test "$ld_shlibs_F77" = no && can_build_shared=no
21140 # Do we need to explicitly link libc?
21142 case "x$archive_cmds_need_lc_F77" in
21144 # Assume -lc should be added
21145 archive_cmds_need_lc_F77=yes
21147 if test "$enable_shared" = yes && test "$GCC" = yes; then
21148 case $archive_cmds_F77 in
21150 # FIXME: we may have to deal with multi-command sequences.
21153 # Test whether the compiler implicitly links with -lc since on some
21154 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21155 # to ld, don't add -lc before -lgcc.
21156 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21157 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21159 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21162 (eval $ac_compile) 2>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } 2>conftest.err; then
21168 libobjs=conftest.$ac_objext
21170 wl=$lt_prog_compiler_wl_F77
21171 pic_flag=$lt_prog_compiler_pic_F77
21177 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
21178 allow_undefined_flag_F77=
21179 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21180 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }
21185 archive_cmds_need_lc_F77=no
21187 archive_cmds_need_lc_F77=yes
21189 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
21191 cat conftest.err 1>&5
21194 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
21195 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
21202 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21203 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21204 library_names_spec=
21205 libname_spec='lib$name'
21209 postuninstall_cmds=
21213 shlibpath_overrides_runpath=unknown
21215 dynamic_linker="$host_os ld.so"
21216 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21217 if test "$GCC" = yes; then
21218 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21219 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21220 # if the path contains ";" then we assume it to be the separator
21221 # otherwise default to the standard path separator (i.e. ":") - it is
21222 # assumed that no part of a normal pathname contains ";" but that should
21223 # okay in the real world where ";" in dirpaths is itself problematic.
21224 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21226 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21229 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21231 need_lib_prefix=unknown
21232 hardcode_into_libs=no
21234 # when you set need_version to no, make sure it does not cause -set_version
21235 # flags to be left without arguments
21236 need_version=unknown
21241 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21242 shlibpath_var=LIBPATH
21244 # AIX 3 has no versioning support, so we append a major version to the name.
21245 soname_spec='${libname}${release}${shared_ext}$major'
21252 hardcode_into_libs=yes
21253 if test "$host_cpu" = ia64; then
21254 # AIX 5 supports IA64
21255 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21256 shlibpath_var=LD_LIBRARY_PATH
21258 # With GCC up to 2.95.x, collect2 would create an import file
21259 # for dependence libraries. The import file would start with
21260 # the line `#! .'. This would cause the generated library to
21261 # depend on `.', always an invalid library. This was fixed in
21262 # development snapshots of GCC prior to 3.0.
21264 aix4 | aix4.[01] | aix4.[01].*)
21265 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21267 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21270 can_build_shared=no
21274 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21275 # soname into executable. Probably we can add versioning support to
21276 # collect2, so additional links can be useful in future.
21277 if test "$aix_use_runtimelinking" = yes; then
21278 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21279 # instead of lib<name>.a to let people know that these are not
21280 # typical AIX shared libraries.
21281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21283 # We preserve .a as extension for shared libraries through AIX4.2
21284 # and later when we are not doing run time linking.
21285 library_names_spec='${libname}${release}.a $libname.a'
21286 soname_spec='${libname}${release}${shared_ext}$major'
21288 shlibpath_var=LIBPATH
21293 library_names_spec='$libname.ixlibrary $libname.a'
21294 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21295 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'
21299 library_names_spec='${libname}${shared_ext}'
21300 dynamic_linker="$host_os ld.so"
21301 shlibpath_var=LIBRARY_PATH
21307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21308 soname_spec='${libname}${release}${shared_ext}$major'
21309 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21310 shlibpath_var=LD_LIBRARY_PATH
21311 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21312 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21313 # the default ld.so.conf also contains /usr/contrib/lib and
21314 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21315 # libtool to hard-code these into programs
21318 cygwin* | mingw* | pw32*)
21319 version_type=windows
21324 case $GCC,$host_os in
21325 yes,cygwin* | yes,mingw* | yes,pw32*)
21326 library_names_spec='$libname.dll.a'
21327 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21328 postinstall_cmds='base_file=`basename \${file}`~
21329 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21330 dldir=$destdir/`dirname \$dlpath`~
21331 test -d \$dldir || mkdir -p \$dldir~
21332 $install_prog $dir/$dlname \$dldir/$dlname~
21333 chmod a+x \$dldir/$dlname'
21334 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21335 dlpath=$dir/\$dldll~
21337 shlibpath_overrides_runpath=yes
21341 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21342 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21343 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21346 # MinGW DLLs use traditional 'lib' prefix
21347 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21348 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21349 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21350 # It is most probably a Windows format PATH printed by
21351 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21352 # path with ; separators, and with drive letters. We can handle the
21353 # drive letters (cygwin fileutils understands them), so leave them,
21354 # especially as we might pass files found there to a mingw objdump,
21355 # which wouldn't understand a cygwinified path. Ahh.
21356 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21358 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21362 # pw32 DLLs use 'pw' prefix rather than 'lib'
21363 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21369 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21372 dynamic_linker='Win32 ld.exe'
21373 # FIXME: first we should search . and the directory the executable is in
21377 darwin* | rhapsody*)
21378 dynamic_linker="$host_os dyld"
21379 version_type=darwin
21382 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21383 soname_spec='${libname}${release}${major}$shared_ext'
21384 shlibpath_overrides_runpath=yes
21385 shlibpath_var=DYLD_LIBRARY_PATH
21386 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21387 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21388 if test "$GCC" = yes; then
21389 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"`
21391 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21393 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21401 soname_spec='${libname}${release}${shared_ext}$major'
21402 shlibpath_var=LD_LIBRARY_PATH
21413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21414 soname_spec='${libname}${release}${shared_ext}$major'
21415 shlibpath_var=LD_LIBRARY_PATH
21416 shlibpath_overrides_runpath=no
21417 hardcode_into_libs=yes
21418 dynamic_linker='GNU ld.so'
21421 freebsd* | dragonfly*)
21422 # DragonFly does not have aout. When/if they implement a new
21423 # versioning mechanism, adjust this.
21424 if test -x /usr/bin/objformat; then
21425 objformat=`/usr/bin/objformat`
21428 freebsd[123]*) objformat=aout ;;
21429 *) objformat=elf ;;
21432 version_type=freebsd-$objformat
21433 case $version_type in
21435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21440 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21444 shlibpath_var=LD_LIBRARY_PATH
21447 shlibpath_overrides_runpath=yes
21449 freebsd3.[01]* | freebsdelf3.[01]*)
21450 shlibpath_overrides_runpath=yes
21451 hardcode_into_libs=yes
21453 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21454 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21455 shlibpath_overrides_runpath=no
21456 hardcode_into_libs=yes
21458 freebsd*) # from 4.6 on
21459 shlibpath_overrides_runpath=yes
21460 hardcode_into_libs=yes
21469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21470 soname_spec='${libname}${release}${shared_ext}$major'
21471 shlibpath_var=LD_LIBRARY_PATH
21472 hardcode_into_libs=yes
21475 hpux9* | hpux10* | hpux11*)
21476 # Give a soname corresponding to the major version so that dld.sl refuses to
21477 # link against other versions.
21484 hardcode_into_libs=yes
21485 dynamic_linker="$host_os dld.so"
21486 shlibpath_var=LD_LIBRARY_PATH
21487 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21489 soname_spec='${libname}${release}${shared_ext}$major'
21490 if test "X$HPUX_IA64_MODE" = X32; then
21491 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21493 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21495 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21499 hardcode_into_libs=yes
21500 dynamic_linker="$host_os dld.sl"
21501 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21502 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21504 soname_spec='${libname}${release}${shared_ext}$major'
21505 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21506 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21510 dynamic_linker="$host_os dld.sl"
21511 shlibpath_var=SHLIB_PATH
21512 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21514 soname_spec='${libname}${release}${shared_ext}$major'
21517 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21518 postinstall_cmds='chmod 555 $lib'
21525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21526 soname_spec='${libname}${release}${shared_ext}$major'
21527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21528 shlibpath_var=LD_LIBRARY_PATH
21529 shlibpath_overrides_runpath=no
21530 hardcode_into_libs=yes
21533 irix5* | irix6* | nonstopux*)
21535 nonstopux*) version_type=nonstopux ;;
21537 if test "$lt_cv_prog_gnu_ld" = yes; then
21545 soname_spec='${libname}${release}${shared_ext}$major'
21546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21548 irix5* | nonstopux*)
21549 libsuff= shlibsuff=
21552 case $LD in # libtool.m4 will add one of these switches to LD
21553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21554 libsuff= shlibsuff= libmagic=32-bit;;
21555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21556 libsuff=32 shlibsuff=N32 libmagic=N32;;
21557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21559 *) libsuff= shlibsuff= libmagic=never-match;;
21563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21564 shlibpath_overrides_runpath=no
21565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21567 hardcode_into_libs=yes
21570 # No shared lib support for Linux oldld, aout, or coff.
21571 linux*oldld* | linux*aout* | linux*coff*)
21575 # This must be Linux ELF.
21580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21581 soname_spec='${libname}${release}${shared_ext}$major'
21582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21583 shlibpath_var=LD_LIBRARY_PATH
21584 shlibpath_overrides_runpath=no
21585 # This implies no fast_install, which is unacceptable.
21586 # Some rework will be needed to allow for fast_install
21587 # before this can be enabled.
21588 hardcode_into_libs=yes
21590 # find out which ABI we are using
21592 case "$host_cpu" in
21593 x86_64*|s390x*|powerpc64*)
21594 echo '#line 21594 "configure"' > conftest.$ac_ext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21596 (eval $ac_compile) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; then
21600 case `/usr/bin/file conftest.$ac_objext` in
21603 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
21611 # Append ld.so.conf contents to the search path
21612 if test -f /etc/ld.so.conf; then
21613 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
21614 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
21617 # We used to test for /lib/ld.so.1 and disable shared libraries on
21618 # powerpc, because MkLinux only supported shared libraries with the
21619 # GNU dynamic linker. Since this was broken with cross compilers,
21620 # most powerpc-linux boxes support dynamic linking these days and
21621 # people can always --disable-shared, the test was removed, and we
21622 # assume the GNU/Linux dynamic linker is in use.
21623 dynamic_linker='GNU/Linux ld.so'
21630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21631 soname_spec='${libname}${release}${shared_ext}$major'
21632 shlibpath_var=LD_LIBRARY_PATH
21633 shlibpath_overrides_runpath=no
21634 hardcode_into_libs=yes
21635 dynamic_linker='GNU ld.so'
21642 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21644 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21645 dynamic_linker='NetBSD (a.out) ld.so'
21647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21648 soname_spec='${libname}${release}${shared_ext}$major'
21649 dynamic_linker='NetBSD ld.elf_so'
21651 shlibpath_var=LD_LIBRARY_PATH
21652 shlibpath_overrides_runpath=yes
21653 hardcode_into_libs=yes
21658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21659 shlibpath_var=LD_LIBRARY_PATH
21660 shlibpath_overrides_runpath=yes
21667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21668 soname_spec='${libname}${release}${shared_ext}$major'
21669 shlibpath_var=LD_LIBRARY_PATH
21670 shlibpath_overrides_runpath=yes
21675 sys_lib_dlsearch_path_spec="/usr/lib"
21677 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21679 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21680 *) need_version=no ;;
21682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21683 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21684 shlibpath_var=LD_LIBRARY_PATH
21685 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21687 openbsd2.[89] | openbsd2.[89].*)
21688 shlibpath_overrides_runpath=no
21691 shlibpath_overrides_runpath=yes
21695 shlibpath_overrides_runpath=yes
21700 libname_spec='$name'
21703 library_names_spec='$libname${shared_ext} $libname.a'
21704 dynamic_linker='OS/2 ld.exe'
21705 shlibpath_var=LIBPATH
21708 osf3* | osf4* | osf5*)
21712 soname_spec='${libname}${release}${shared_ext}$major'
21713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21714 shlibpath_var=LD_LIBRARY_PATH
21715 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21716 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21724 soname_spec='${libname}${release}${shared_ext}$major'
21725 shlibpath_var=LD_LIBRARY_PATH
21726 shlibpath_overrides_runpath=yes
21727 hardcode_into_libs=yes
21728 # ldd complains unless libraries are executable
21729 postinstall_cmds='chmod +x $lib'
21734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21735 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21736 shlibpath_var=LD_LIBRARY_PATH
21737 shlibpath_overrides_runpath=yes
21738 if test "$with_gnu_ld" = yes; then
21746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21747 soname_spec='${libname}${release}${shared_ext}$major'
21748 shlibpath_var=LD_LIBRARY_PATH
21749 case $host_vendor in
21751 shlibpath_overrides_runpath=no
21753 export_dynamic_flag_spec='${wl}-Blargedynsym'
21754 runpath_var=LD_RUN_PATH
21762 shlibpath_overrides_runpath=no
21763 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21769 if test -d /usr/nec ;then
21771 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21772 soname_spec='$libname${shared_ext}.$major'
21773 shlibpath_var=LD_LIBRARY_PATH
21777 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21778 version_type=freebsd-elf
21781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21782 soname_spec='${libname}${release}${shared_ext}$major'
21783 shlibpath_var=LD_LIBRARY_PATH
21784 hardcode_into_libs=yes
21785 if test "$with_gnu_ld" = yes; then
21786 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21787 shlibpath_overrides_runpath=no
21789 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21790 shlibpath_overrides_runpath=yes
21793 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21797 sys_lib_dlsearch_path_spec='/usr/lib'
21802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21803 soname_spec='${libname}${release}${shared_ext}$major'
21804 shlibpath_var=LD_LIBRARY_PATH
21811 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21812 echo "${ECHO_T}$dynamic_linker" >&6
21813 test "$dynamic_linker" = no && can_build_shared=no
21815 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21816 if test "$GCC" = yes; then
21817 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21820 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21821 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21822 hardcode_action_F77=
21823 if test -n "$hardcode_libdir_flag_spec_F77" || \
21824 test -n "$runpath_var_F77" || \
21825 test "X$hardcode_automatic_F77" = "Xyes" ; then
21827 # We can hardcode non-existant directories.
21828 if test "$hardcode_direct_F77" != no &&
21829 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21830 # have to relink, otherwise we might link with an installed library
21831 # when we should be linking with a yet-to-be-installed one
21832 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21833 test "$hardcode_minus_L_F77" != no; then
21834 # Linking always hardcodes the temporary library directory.
21835 hardcode_action_F77=relink
21837 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21838 hardcode_action_F77=immediate
21841 # We cannot hardcode anything, or else we can only hardcode existing
21843 hardcode_action_F77=unsupported
21845 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
21846 echo "${ECHO_T}$hardcode_action_F77" >&6
21848 if test "$hardcode_action_F77" = relink; then
21849 # Fast installation is not supported
21850 enable_fast_install=no
21851 elif test "$shlibpath_overrides_runpath" = yes ||
21852 test "$enable_shared" = no; then
21853 # Fast installation is not necessary
21854 enable_fast_install=needless
21858 # The else clause should only fire when bootstrapping the
21859 # libtool distribution, otherwise you forgot to ship ltmain.sh
21860 # with your package, and you will get complaints that there are
21861 # no rules to generate ltmain.sh.
21862 if test -f "$ltmain"; then
21863 # See if we are running on zsh, and set the options which allow our commands through
21864 # without removal of \ escapes.
21865 if test -n "${ZSH_VERSION+set}" ; then
21866 setopt NO_GLOB_SUBST
21868 # Now quote all the things that may contain metacharacters while being
21869 # careful not to overquote the AC_SUBSTed values. We take copies of the
21870 # variables and quote the copies for generation of the libtool script.
21871 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21873 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21874 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21875 deplibs_check_method reload_flag reload_cmds need_locks \
21876 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21877 lt_cv_sys_global_symbol_to_c_name_address \
21878 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21879 old_postinstall_cmds old_postuninstall_cmds \
21883 lt_prog_compiler_wl_F77 \
21884 lt_prog_compiler_pic_F77 \
21885 lt_prog_compiler_static_F77 \
21886 lt_prog_compiler_no_builtin_flag_F77 \
21887 export_dynamic_flag_spec_F77 \
21888 thread_safe_flag_spec_F77 \
21889 whole_archive_flag_spec_F77 \
21890 enable_shared_with_static_runtimes_F77 \
21891 old_archive_cmds_F77 \
21892 old_archive_from_new_cmds_F77 \
21893 predep_objects_F77 \
21894 postdep_objects_F77 \
21897 compiler_lib_search_path_F77 \
21899 archive_expsym_cmds_F77 \
21900 postinstall_cmds_F77 \
21901 postuninstall_cmds_F77 \
21902 old_archive_from_expsyms_cmds_F77 \
21903 allow_undefined_flag_F77 \
21904 no_undefined_flag_F77 \
21905 export_symbols_cmds_F77 \
21906 hardcode_libdir_flag_spec_F77 \
21907 hardcode_libdir_flag_spec_ld_F77 \
21908 hardcode_libdir_separator_F77 \
21909 hardcode_automatic_F77 \
21911 module_expsym_cmds_F77 \
21912 lt_cv_prog_compiler_c_o_F77 \
21913 exclude_expsyms_F77 \
21914 include_expsyms_F77; do
21917 old_archive_cmds_F77 | \
21918 old_archive_from_new_cmds_F77 | \
21919 archive_cmds_F77 | \
21920 archive_expsym_cmds_F77 | \
21921 module_cmds_F77 | \
21922 module_expsym_cmds_F77 | \
21923 old_archive_from_expsyms_cmds_F77 | \
21924 export_symbols_cmds_F77 | \
21925 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21926 postinstall_cmds | postuninstall_cmds | \
21927 old_postinstall_cmds | old_postuninstall_cmds | \
21928 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21929 # Double-quote double-evaled strings.
21930 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21933 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21939 *'\$0 --fallback-echo"')
21940 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21946 cat <<__EOF__ >> "$cfgfile"
21947 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21949 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21951 # Shell to use when invoking shell scripts.
21954 # Whether or not to build shared libraries.
21955 build_libtool_libs=$enable_shared
21957 # Whether or not to build static libraries.
21958 build_old_libs=$enable_static
21960 # Whether or not to add -lc for building shared libraries.
21961 build_libtool_need_lc=$archive_cmds_need_lc_F77
21963 # Whether or not to disallow shared libs when runtime libs are static
21964 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
21966 # Whether or not to optimize for fast installation.
21967 fast_install=$enable_fast_install
21970 host_alias=$host_alias
21974 # The build system.
21975 build_alias=$build_alias
21979 # An echo program that does not interpret backslashes.
21984 AR_FLAGS=$lt_AR_FLAGS
21989 # LTCC compiler flags.
21990 LTCFLAGS=$lt_LTCFLAGS
21992 # A language-specific compiler.
21993 CC=$lt_compiler_F77
21995 # Is the compiler the GNU C compiler?
22001 # The linker used to build libraries.
22004 # Whether we need hard or soft links.
22007 # A BSD-compatible nm program.
22010 # A symbol stripping program
22013 # Used to examine libraries when file_magic_cmd begins "file"
22014 MAGIC_CMD=$MAGIC_CMD
22016 # Used on cygwin: DLL creation program.
22019 # Used on cygwin: object dumper.
22022 # Used on cygwin: assembler.
22025 # The name of the directory that contains temporary libtool files.
22028 # How to create reloadable object files.
22029 reload_flag=$lt_reload_flag
22030 reload_cmds=$lt_reload_cmds
22032 # How to pass a linker flag through the compiler.
22033 wl=$lt_lt_prog_compiler_wl_F77
22035 # Object file suffix (normally "o").
22036 objext="$ac_objext"
22038 # Old archive suffix (normally "a").
22041 # Shared library suffix (normally ".so").
22042 shrext_cmds='$shrext_cmds'
22044 # Executable file suffix (normally "").
22047 # Additional compiler flags for building library objects.
22048 pic_flag=$lt_lt_prog_compiler_pic_F77
22051 # What is the maximum length of a command?
22052 max_cmd_len=$lt_cv_sys_max_cmd_len
22054 # Does compiler simultaneously support -c and -o options?
22055 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
22057 # Must we lock files when doing compilation?
22058 need_locks=$lt_need_locks
22060 # Do we need the lib prefix for modules?
22061 need_lib_prefix=$need_lib_prefix
22063 # Do we need a version for libraries?
22064 need_version=$need_version
22066 # Whether dlopen is supported.
22067 dlopen_support=$enable_dlopen
22069 # Whether dlopen of programs is supported.
22070 dlopen_self=$enable_dlopen_self
22072 # Whether dlopen of statically linked programs is supported.
22073 dlopen_self_static=$enable_dlopen_self_static
22075 # Compiler flag to prevent dynamic linking.
22076 link_static_flag=$lt_lt_prog_compiler_static_F77
22078 # Compiler flag to turn off builtin functions.
22079 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
22081 # Compiler flag to allow reflexive dlopens.
22082 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
22084 # Compiler flag to generate shared objects directly from archives.
22085 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
22087 # Compiler flag to generate thread-safe objects.
22088 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
22090 # Library versioning type.
22091 version_type=$version_type
22093 # Format of library name prefix.
22094 libname_spec=$lt_libname_spec
22096 # List of archive names. First name is the real one, the rest are links.
22097 # The last name is the one that the linker finds with -lNAME.
22098 library_names_spec=$lt_library_names_spec
22100 # The coded name of the library, if different from the real name.
22101 soname_spec=$lt_soname_spec
22103 # Commands used to build and install an old-style archive.
22105 old_archive_cmds=$lt_old_archive_cmds_F77
22106 old_postinstall_cmds=$lt_old_postinstall_cmds
22107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22109 # Create an old-style archive from a shared archive.
22110 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
22112 # Create a temporary old-style archive to link instead of a shared archive.
22113 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
22115 # Commands used to build and install a shared archive.
22116 archive_cmds=$lt_archive_cmds_F77
22117 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
22118 postinstall_cmds=$lt_postinstall_cmds
22119 postuninstall_cmds=$lt_postuninstall_cmds
22121 # Commands used to build a loadable module (assumed same as above if empty)
22122 module_cmds=$lt_module_cmds_F77
22123 module_expsym_cmds=$lt_module_expsym_cmds_F77
22125 # Commands to strip libraries.
22126 old_striplib=$lt_old_striplib
22127 striplib=$lt_striplib
22129 # Dependencies to place before the objects being linked to create a
22131 predep_objects=$lt_predep_objects_F77
22133 # Dependencies to place after the objects being linked to create a
22135 postdep_objects=$lt_postdep_objects_F77
22137 # Dependencies to place before the objects being linked to create a
22139 predeps=$lt_predeps_F77
22141 # Dependencies to place after the objects being linked to create a
22143 postdeps=$lt_postdeps_F77
22145 # The library search path used internally by the compiler when linking
22146 # a shared library.
22147 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
22149 # Method to check whether dependent libraries are shared objects.
22150 deplibs_check_method=$lt_deplibs_check_method
22152 # Command to use when deplibs_check_method == file_magic.
22153 file_magic_cmd=$lt_file_magic_cmd
22155 # Flag that allows shared libraries with undefined symbols to be built.
22156 allow_undefined_flag=$lt_allow_undefined_flag_F77
22158 # Flag that forces no undefined symbols.
22159 no_undefined_flag=$lt_no_undefined_flag_F77
22161 # Commands used to finish a libtool library installation in a directory.
22162 finish_cmds=$lt_finish_cmds
22164 # Same as above, but a single script fragment to be evaled but not shown.
22165 finish_eval=$lt_finish_eval
22167 # Take the output of nm and produce a listing of raw symbols and C names.
22168 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22170 # Transform the output of nm in a proper C declaration
22171 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22173 # Transform the output of nm in a C name address pair
22174 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22176 # This is the shared library runtime path variable.
22177 runpath_var=$runpath_var
22179 # This is the shared library path variable.
22180 shlibpath_var=$shlibpath_var
22182 # Is shlibpath searched before the hard-coded library search path?
22183 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22185 # How to hardcode a shared library path into an executable.
22186 hardcode_action=$hardcode_action_F77
22188 # Whether we should hardcode library paths into libraries.
22189 hardcode_into_libs=$hardcode_into_libs
22191 # Flag to hardcode \$libdir into a binary during linking.
22192 # This must work even if \$libdir does not exist.
22193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
22195 # If ld is used when linking, flag to hardcode \$libdir into
22196 # a binary during linking. This must work even if \$libdir does
22198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
22200 # Whether we need a single -rpath flag with a separated argument.
22201 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
22203 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22204 # resulting binary.
22205 hardcode_direct=$hardcode_direct_F77
22207 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22208 # resulting binary.
22209 hardcode_minus_L=$hardcode_minus_L_F77
22211 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22212 # the resulting binary.
22213 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
22215 # Set to yes if building a shared library automatically hardcodes DIR into the library
22216 # and all subsequent libraries and executables linked against it.
22217 hardcode_automatic=$hardcode_automatic_F77
22219 # Variables whose values should be saved in libtool wrapper scripts and
22220 # restored at relink time.
22221 variables_saved_for_relink="$variables_saved_for_relink"
22223 # Whether libtool must link a program against all its dependency libraries.
22224 link_all_deplibs=$link_all_deplibs_F77
22226 # Compile-time system search path for libraries
22227 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22229 # Run-time system search path for libraries
22230 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22232 # Fix the shell variable \$srcfile for the compiler.
22233 fix_srcfile_path="$fix_srcfile_path_F77"
22235 # Set to yes if exported symbols are required.
22236 always_export_symbols=$always_export_symbols_F77
22238 # The commands to list exported symbols.
22239 export_symbols_cmds=$lt_export_symbols_cmds_F77
22241 # The commands to extract the exported symbol list from a shared archive.
22242 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22244 # Symbols that should not be listed in the preloaded symbols.
22245 exclude_expsyms=$lt_exclude_expsyms_F77
22247 # Symbols that must always be exported.
22248 include_expsyms=$lt_include_expsyms_F77
22250 # ### END LIBTOOL TAG CONFIG: $tagname
22256 # If there is no Makefile yet, we rely on a make rule to execute
22257 # `config.status --recheck' to rerun these tests and create the
22258 # libtool script then.
22259 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22260 if test -f "$ltmain_in"; then
22261 test -f Makefile && make "$ltmain"
22267 ac_cpp='$CPP $CPPFLAGS'
22268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22280 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
22284 # Source file extension for Java test sources.
22287 # Object file extension for compiled Java test sources.
22291 # Code to be used in simple compile tests
22292 lt_simple_compile_test_code="class foo {}\n"
22294 # Code to be used in simple link tests
22295 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
22297 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22299 # If no C compiler was specified, use CC.
22302 # If no C compiler flags were specified, use CFLAGS.
22303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22305 # Allow CC to be a program name with arguments.
22309 # save warnings/boilerplate of simple test code
22310 ac_outfile=conftest.$ac_objext
22311 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
22312 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22313 _lt_compiler_boilerplate=`cat conftest.err`
22316 ac_outfile=conftest.$ac_objext
22317 printf "$lt_simple_link_test_code" >conftest.$ac_ext
22318 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22319 _lt_linker_boilerplate=`cat conftest.err`
22323 # Allow CC to be a program name with arguments.
22328 for cc_temp in $compiler""; do
22330 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22331 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22336 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22339 # GCJ did not exist at the time GCC didn't implicitly link libc in.
22340 archive_cmds_need_lc_GCJ=no
22342 old_archive_cmds_GCJ=$old_archive_cmds
22345 lt_prog_compiler_no_builtin_flag_GCJ=
22347 if test "$GCC" = yes; then
22348 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
22351 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22352 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
22353 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 lt_cv_prog_compiler_rtti_exceptions=no
22357 ac_outfile=conftest.$ac_objext
22358 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22359 lt_compiler_flag="-fno-rtti -fno-exceptions"
22360 # Insert the option either (1) after the last *FLAGS variable, or
22361 # (2) before a word containing "conftest.", or (3) at the end.
22362 # Note that $ac_compile itself does not contain backslashes and begins
22363 # with a dollar sign (not a hyphen), so the echo should work correctly.
22364 # The option is referenced via a variable to avoid confusing sed.
22365 lt_compile=`echo "$ac_compile" | $SED \
22366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22368 -e 's:$: $lt_compiler_flag:'`
22369 (eval echo "\"\$as_me:22369: $lt_compile\"" >&5)
22370 (eval "$lt_compile" 2>conftest.err)
22372 cat conftest.err >&5
22373 echo "$as_me:22373: \$? = $ac_status" >&5
22374 if (exit $ac_status) && test -s "$ac_outfile"; then
22375 # The compiler can only warn and ignore the option if not recognized
22376 # So say no if there are warnings other than the usual output.
22377 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
22378 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22379 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22380 lt_cv_prog_compiler_rtti_exceptions=yes
22386 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
22387 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
22389 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
22390 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
22397 lt_prog_compiler_wl_GCJ=
22398 lt_prog_compiler_pic_GCJ=
22399 lt_prog_compiler_static_GCJ=
22401 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22402 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22404 if test "$GCC" = yes; then
22405 lt_prog_compiler_wl_GCJ='-Wl,'
22406 lt_prog_compiler_static_GCJ='-static'
22410 # All AIX code is PIC.
22411 if test "$host_cpu" = ia64; then
22412 # AIX 5 now supports IA64 processor
22413 lt_prog_compiler_static_GCJ='-Bstatic'
22418 # FIXME: we need at least 68020 code to build shared libraries, but
22419 # adding the `-m68020' flag to GCC prevents building anything better,
22421 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
22424 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22425 # PIC is the default for these OSes.
22428 mingw* | pw32* | os2*)
22429 # This hack is so that the source file can tell whether it is being
22430 # built for inclusion in a dll (and should export symbols for example).
22431 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22434 darwin* | rhapsody*)
22435 # PIC is the default on this platform
22436 # Common symbols not allowed in MH_DYLIB files
22437 lt_prog_compiler_pic_GCJ='-fno-common'
22441 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
22442 # Instead, we relocate shared libraries at runtime.
22446 # Just because we use GCC doesn't mean we suddenly get shared libraries
22447 # on systems that don't support them.
22448 lt_prog_compiler_can_build_shared_GCJ=no
22453 if test -d /usr/nec; then
22454 lt_prog_compiler_pic_GCJ=-Kconform_pic
22459 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22460 # not for PA HP-UX.
22466 lt_prog_compiler_pic_GCJ='-fPIC'
22472 lt_prog_compiler_pic_GCJ='-fPIC'
22476 # PORTME Check for flag to pass linker flags through the system compiler.
22479 lt_prog_compiler_wl_GCJ='-Wl,'
22480 if test "$host_cpu" = ia64; then
22481 # AIX 5 now supports IA64 processor
22482 lt_prog_compiler_static_GCJ='-Bstatic'
22484 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
22488 # PIC is the default on this platform
22489 # Common symbols not allowed in MH_DYLIB files
22490 case $cc_basename in
22492 lt_prog_compiler_pic_GCJ='-qnocommon'
22493 lt_prog_compiler_wl_GCJ='-Wl,'
22498 mingw* | pw32* | os2*)
22499 # This hack is so that the source file can tell whether it is being
22500 # built for inclusion in a dll (and should export symbols for example).
22501 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22504 hpux9* | hpux10* | hpux11*)
22505 lt_prog_compiler_wl_GCJ='-Wl,'
22506 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22507 # not for PA HP-UX.
22513 lt_prog_compiler_pic_GCJ='+Z'
22516 # Is there a better lt_prog_compiler_static that works with the bundled CC?
22517 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22520 irix5* | irix6* | nonstopux*)
22521 lt_prog_compiler_wl_GCJ='-Wl,'
22522 # PIC (with -KPIC) is the default.
22523 lt_prog_compiler_static_GCJ='-non_shared'
22527 lt_prog_compiler_pic_GCJ='-KPIC'
22528 lt_prog_compiler_static_GCJ='-Bstatic'
22532 case $cc_basename in
22534 lt_prog_compiler_wl_GCJ='-Wl,'
22535 lt_prog_compiler_pic_GCJ='-KPIC'
22536 lt_prog_compiler_static_GCJ='-static'
22538 pgcc* | pgf77* | pgf90* | pgf95*)
22539 # Portland Group compilers (*not* the Pentium gcc compiler,
22540 # which looks to be a dead project)
22541 lt_prog_compiler_wl_GCJ='-Wl,'
22542 lt_prog_compiler_pic_GCJ='-fpic'
22543 lt_prog_compiler_static_GCJ='-Bstatic'
22546 lt_prog_compiler_wl_GCJ='-Wl,'
22547 # All Alpha code is PIC.
22548 lt_prog_compiler_static_GCJ='-non_shared'
22553 osf3* | osf4* | osf5*)
22554 lt_prog_compiler_wl_GCJ='-Wl,'
22555 # All OSF/1 code is PIC.
22556 lt_prog_compiler_static_GCJ='-non_shared'
22560 lt_prog_compiler_pic_GCJ='-KPIC'
22561 lt_prog_compiler_static_GCJ='-Bstatic'
22562 case $cc_basename in
22563 f77* | f90* | f95*)
22564 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
22566 lt_prog_compiler_wl_GCJ='-Wl,';;
22571 lt_prog_compiler_wl_GCJ='-Qoption ld '
22572 lt_prog_compiler_pic_GCJ='-PIC'
22573 lt_prog_compiler_static_GCJ='-Bstatic'
22576 sysv4 | sysv4.2uw2* | sysv4.3*)
22577 lt_prog_compiler_wl_GCJ='-Wl,'
22578 lt_prog_compiler_pic_GCJ='-KPIC'
22579 lt_prog_compiler_static_GCJ='-Bstatic'
22583 if test -d /usr/nec ;then
22584 lt_prog_compiler_pic_GCJ='-Kconform_pic'
22585 lt_prog_compiler_static_GCJ='-Bstatic'
22589 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
22590 lt_prog_compiler_wl_GCJ='-Wl,'
22591 lt_prog_compiler_pic_GCJ='-KPIC'
22592 lt_prog_compiler_static_GCJ='-Bstatic'
22596 lt_prog_compiler_wl_GCJ='-Wl,'
22597 lt_prog_compiler_can_build_shared_GCJ=no
22601 lt_prog_compiler_pic_GCJ='-pic'
22602 lt_prog_compiler_static_GCJ='-Bstatic'
22606 lt_prog_compiler_can_build_shared_GCJ=no
22611 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22612 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22615 # Check to make sure the PIC flag actually works.
22617 if test -n "$lt_prog_compiler_pic_GCJ"; then
22619 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22620 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22621 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22624 lt_prog_compiler_pic_works_GCJ=no
22625 ac_outfile=conftest.$ac_objext
22626 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22627 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22628 # Insert the option either (1) after the last *FLAGS variable, or
22629 # (2) before a word containing "conftest.", or (3) at the end.
22630 # Note that $ac_compile itself does not contain backslashes and begins
22631 # with a dollar sign (not a hyphen), so the echo should work correctly.
22632 # The option is referenced via a variable to avoid confusing sed.
22633 lt_compile=`echo "$ac_compile" | $SED \
22634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22636 -e 's:$: $lt_compiler_flag:'`
22637 (eval echo "\"\$as_me:22637: $lt_compile\"" >&5)
22638 (eval "$lt_compile" 2>conftest.err)
22640 cat conftest.err >&5
22641 echo "$as_me:22641: \$? = $ac_status" >&5
22642 if (exit $ac_status) && test -s "$ac_outfile"; then
22643 # The compiler can only warn and ignore the option if not recognized
22644 # So say no if there are warnings other than the usual output.
22645 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
22646 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22647 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22648 lt_prog_compiler_pic_works_GCJ=yes
22654 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22655 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22657 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22658 case $lt_prog_compiler_pic_GCJ in
22660 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22663 lt_prog_compiler_pic_GCJ=
22664 lt_prog_compiler_can_build_shared_GCJ=no
22669 # For platforms which do not support PIC, -DPIC is meaningless:
22671 lt_prog_compiler_pic_GCJ=
22674 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22679 # Check to make sure the static flag actually works.
22681 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
22682 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
22683 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
22684 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 lt_prog_compiler_static_works_GCJ=no
22688 save_LDFLAGS="$LDFLAGS"
22689 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
22690 printf "$lt_simple_link_test_code" > conftest.$ac_ext
22691 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
22692 # The linker can only warn and ignore the option if not recognized
22693 # So say no if there are warnings
22694 if test -s conftest.err; then
22695 # Append any errors to the config.log.
22696 cat conftest.err 1>&5
22697 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
22698 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22699 if diff conftest.exp conftest.er2 >/dev/null; then
22700 lt_prog_compiler_static_works_GCJ=yes
22703 lt_prog_compiler_static_works_GCJ=yes
22707 LDFLAGS="$save_LDFLAGS"
22710 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
22711 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
22713 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
22716 lt_prog_compiler_static_GCJ=
22720 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22721 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22722 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22723 echo $ECHO_N "(cached) $ECHO_C" >&6
22725 lt_cv_prog_compiler_c_o_GCJ=no
22726 $rm -r conftest 2>/dev/null
22730 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22732 lt_compiler_flag="-o out/conftest2.$ac_objext"
22733 # Insert the option either (1) after the last *FLAGS variable, or
22734 # (2) before a word containing "conftest.", or (3) at the end.
22735 # Note that $ac_compile itself does not contain backslashes and begins
22736 # with a dollar sign (not a hyphen), so the echo should work correctly.
22737 lt_compile=`echo "$ac_compile" | $SED \
22738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22740 -e 's:$: $lt_compiler_flag:'`
22741 (eval echo "\"\$as_me:22741: $lt_compile\"" >&5)
22742 (eval "$lt_compile" 2>out/conftest.err)
22744 cat out/conftest.err >&5
22745 echo "$as_me:22745: \$? = $ac_status" >&5
22746 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22748 # The compiler can only warn and ignore the option if not recognized
22749 # So say no if there are warnings
22750 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
22751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22753 lt_cv_prog_compiler_c_o_GCJ=yes
22758 # SGI C++ compiler will create directory out/ii_files/ for
22759 # template instantiation
22760 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22761 $rm out/* && rmdir out
22767 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22768 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22771 hard_links="nottested"
22772 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22773 # do not overwrite the value of need_locks provided by the user
22774 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22775 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22778 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22780 ln conftest.a conftest.b 2>&5 || hard_links=no
22781 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22782 echo "$as_me:$LINENO: result: $hard_links" >&5
22783 echo "${ECHO_T}$hard_links" >&6
22784 if test "$hard_links" = no; then
22785 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22786 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22793 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22794 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22797 allow_undefined_flag_GCJ=
22798 enable_shared_with_static_runtimes_GCJ=no
22800 archive_expsym_cmds_GCJ=
22801 old_archive_From_new_cmds_GCJ=
22802 old_archive_from_expsyms_cmds_GCJ=
22803 export_dynamic_flag_spec_GCJ=
22804 whole_archive_flag_spec_GCJ=
22805 thread_safe_flag_spec_GCJ=
22806 hardcode_libdir_flag_spec_GCJ=
22807 hardcode_libdir_flag_spec_ld_GCJ=
22808 hardcode_libdir_separator_GCJ=
22809 hardcode_direct_GCJ=no
22810 hardcode_minus_L_GCJ=no
22811 hardcode_shlibpath_var_GCJ=unsupported
22812 link_all_deplibs_GCJ=unknown
22813 hardcode_automatic_GCJ=no
22815 module_expsym_cmds_GCJ=
22816 always_export_symbols_GCJ=no
22817 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22818 # include_expsyms should be a list of space-separated symbols to be *always*
22819 # included in the symbol list
22820 include_expsyms_GCJ=
22821 # exclude_expsyms can be an extended regexp of symbols to exclude
22822 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22823 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22824 # as well as any symbol that contains `d'.
22825 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22826 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22827 # platforms (ab)use it in PIC code, but their linkers get confused if
22828 # the symbol is explicitly referenced. Since portable code cannot
22829 # rely on this symbol name, it's probably fine to never include it in
22830 # preloaded symbol tables.
22831 extract_expsyms_cmds=
22832 # Just being paranoid about ensuring that cc_basename is set.
22833 for cc_temp in $compiler""; do
22835 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22836 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22841 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22844 cygwin* | mingw* | pw32*)
22845 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22846 # When not using gcc, we currently assume that we are using
22847 # Microsoft Visual C++.
22848 if test "$GCC" != yes; then
22853 # we just hope/assume this is gcc and not c89 (= MSVC++)
22862 if test "$with_gnu_ld" = yes; then
22863 # If archive_cmds runs LD, not CC, wlarc should be empty
22866 # Set some defaults for GNU ld with shared library support. These
22867 # are reset later if shared libraries are not supported. Putting them
22868 # here allows them to be overridden if necessary.
22869 runpath_var=LD_RUN_PATH
22870 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
22871 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
22872 # ancient GNU ld didn't support --whole-archive et. al.
22873 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22874 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22876 whole_archive_flag_spec_GCJ=
22878 supports_anon_versioning=no
22879 case `$LD -v 2>/dev/null` in
22880 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22881 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22882 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22883 *\ 2.11.*) ;; # other 2.11 versions
22884 *) supports_anon_versioning=yes ;;
22887 # See if GNU ld supports shared libraries.
22889 aix3* | aix4* | aix5*)
22890 # On AIX/PPC, the GNU linker is very broken
22891 if test "$host_cpu" != ia64; then
22895 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22896 *** to be unable to reliably create shared libraries on AIX.
22897 *** Therefore, libtool is disabling shared libraries support. If you
22898 *** really care for shared libraries, you may want to modify your PATH
22899 *** so that a non-GNU linker is found, and then restart.
22906 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)'
22907 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22908 hardcode_minus_L_GCJ=yes
22910 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22911 # that the semantics of dynamic libraries on AmigaOS, at least up
22912 # to version 4, is to share data among multiple programs linked
22913 # with the same dynamic library. Since this doesn't match the
22914 # behavior of shared libraries on other platforms, we can't use
22920 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22921 allow_undefined_flag_GCJ=unsupported
22922 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22923 # support --undefined. This deserves some investigation. FIXME
22924 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22930 cygwin* | mingw* | pw32*)
22931 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22932 # as there is no search path for DLLs.
22933 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22934 allow_undefined_flag_GCJ=unsupported
22935 always_export_symbols_GCJ=no
22936 enable_shared_with_static_runtimes_GCJ=yes
22937 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22939 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22940 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22941 # If the export-symbols file already is a .def file (1st line
22942 # is EXPORTS), use it as is; otherwise, prepend...
22943 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22944 cp $export_symbols $output_objdir/$soname.def;
22946 echo EXPORTS > $output_objdir/$soname.def;
22947 cat $export_symbols >> $output_objdir/$soname.def;
22949 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22956 hardcode_direct_GCJ=no
22957 hardcode_shlibpath_var_GCJ=no
22958 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
22959 export_dynamic_flag_spec_GCJ='${wl}-E'
22960 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22961 # Instead, shared libraries are loaded at an image base (0x10000000 by
22962 # default) and relocated if they conflict, which is a slow very memory
22963 # consuming and fragmenting process. To avoid this, we pick a random,
22964 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22965 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22966 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'
22967 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'
22971 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22973 case $cc_basename,$host_cpu in
22974 pgcc*) # Portland Group C compiler
22975 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'
22976 tmp_addflag=' $pic_flag'
22978 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
22979 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'
22980 tmp_addflag=' $pic_flag -Mnomain' ;;
22981 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22982 tmp_addflag=' -i_dynamic' ;;
22983 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22984 tmp_addflag=' -i_dynamic -nofor_main' ;;
22985 ifc* | ifort*) # Intel Fortran compiler
22986 tmp_addflag=' -nofor_main' ;;
22988 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22990 if test $supports_anon_versioning = yes; then
22991 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
22992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22993 $echo "local: *; };" >> $output_objdir/$libname.ver~
22994 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23002 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23003 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23006 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23007 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23012 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
23016 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
23017 *** create shared libraries on Solaris systems. Therefore, libtool
23018 *** is disabling shared libraries support. We urge you to upgrade GNU
23019 *** binutils to release 2.9.1 or newer. Another option is to modify
23020 *** your PATH or compiler configuration so that the native linker is
23021 *** used, and then restart.
23024 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23025 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23026 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23032 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
23033 case `$LD -v 2>&1` in
23034 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
23038 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
23039 *** reliably create shared libraries on SCO systems. Therefore, libtool
23040 *** is disabling shared libraries support. We urge you to upgrade GNU
23041 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
23042 *** your PATH or compiler configuration so that the native linker is
23043 *** used, and then restart.
23048 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23049 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
23050 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
23051 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
23060 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23062 hardcode_direct_GCJ=yes
23063 hardcode_shlibpath_var_GCJ=no
23067 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23068 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23069 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23076 if test "$ld_shlibs_GCJ" = no; then
23078 hardcode_libdir_flag_spec_GCJ=
23079 export_dynamic_flag_spec_GCJ=
23080 whole_archive_flag_spec_GCJ=
23083 # PORTME fill in a description of your system's linker (not GNU ld)
23086 allow_undefined_flag_GCJ=unsupported
23087 always_export_symbols_GCJ=yes
23088 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'
23089 # Note: this linker hardcodes the directories in LIBPATH if there
23090 # are no directories specified by -L.
23091 hardcode_minus_L_GCJ=yes
23092 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
23093 # Neither direct hardcoding nor static linking is supported with a
23095 hardcode_direct_GCJ=unsupported
23100 if test "$host_cpu" = ia64; then
23101 # On IA64, the linker does run time linking by default, so we don't
23102 # have to do anything special.
23103 aix_use_runtimelinking=no
23104 exp_sym_flag='-Bexport'
23107 # If we're using GNU nm, then we don't want the "-C" option.
23108 # -C means demangle to AIX nm, but means don't demangle with GNU nm
23109 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
23110 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'
23112 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'
23114 aix_use_runtimelinking=no
23116 # Test if we are trying to use run time linking or normal
23117 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23118 # need to do runtime linking.
23119 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23120 for ld_flag in $LDFLAGS; do
23121 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23122 aix_use_runtimelinking=yes
23129 exp_sym_flag='-bexport'
23130 no_entry_flag='-bnoentry'
23133 # When large executables or shared objects are built, AIX ld can
23134 # have problems creating the table of contents. If linking a library
23135 # or program results in "error TOC overflow" add -mminimal-toc to
23136 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23137 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23139 archive_cmds_GCJ=''
23140 hardcode_direct_GCJ=yes
23141 hardcode_libdir_separator_GCJ=':'
23142 link_all_deplibs_GCJ=yes
23144 if test "$GCC" = yes; then
23145 case $host_os in aix4.[012]|aix4.[012].*)
23146 # We only want to do this on AIX 4.2 and lower, the check
23147 # below for broken collect2 doesn't work under 4.3+
23148 collect2name=`${CC} -print-prog-name=collect2`
23149 if test -f "$collect2name" && \
23150 strings "$collect2name" | grep resolve_lib_name >/dev/null
23152 # We have reworked collect2
23153 hardcode_direct_GCJ=yes
23155 # We have old collect2
23156 hardcode_direct_GCJ=unsupported
23157 # It fails to find uninstalled libraries when the uninstalled
23158 # path is not listed in the libpath. Setting hardcode_minus_L
23159 # to unsupported forces relinking
23160 hardcode_minus_L_GCJ=yes
23161 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23162 hardcode_libdir_separator_GCJ=
23166 shared_flag='-shared'
23167 if test "$aix_use_runtimelinking" = yes; then
23168 shared_flag="$shared_flag "'${wl}-G'
23172 if test "$host_cpu" = ia64; then
23173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
23174 # chokes on -Wl,-G. The following line is correct:
23177 if test "$aix_use_runtimelinking" = yes; then
23178 shared_flag='${wl}-G'
23180 shared_flag='${wl}-bM:SRE'
23185 # It seems that -bexpall does not export symbols beginning with
23186 # underscore (_), so it is better to generate a list of symbols to export.
23187 always_export_symbols_GCJ=yes
23188 if test "$aix_use_runtimelinking" = yes; then
23189 # Warning - without using the other runtime loading flags (-brtl),
23190 # -berok will link without error, but may produce a broken library.
23191 allow_undefined_flag_GCJ='-berok'
23192 # Determine the default libpath from the value encoded in an empty executable.
23193 cat >conftest.$ac_ext <<_ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23208 rm -f conftest.$ac_objext conftest$ac_exeext
23209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23210 (eval $ac_link) 2>conftest.er1
23212 grep -v '^ *+' conftest.er1 >conftest.err
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try='test -z "$ac_c_werror_flag"
23218 || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23231 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23233 # Check for a 64-bit object if we didn't find anything.
23234 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; }
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23241 rm -f conftest.err conftest.$ac_objext \
23242 conftest$ac_exeext conftest.$ac_ext
23243 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23245 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23246 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"
23248 if test "$host_cpu" = ia64; then
23249 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
23250 allow_undefined_flag_GCJ="-z nodefs"
23251 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"
23253 # Determine the default libpath from the value encoded in an empty executable.
23254 cat >conftest.$ac_ext <<_ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23269 rm -f conftest.$ac_objext conftest$ac_exeext
23270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23271 (eval $ac_link) 2>conftest.er1
23273 grep -v '^ *+' conftest.er1 >conftest.err
23275 cat conftest.err >&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } &&
23278 { ac_try='test -z "$ac_c_werror_flag"
23279 || test ! -s conftest.err'
23280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23281 (eval $ac_try) 2>&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); }; } &&
23285 { ac_try='test -s conftest$ac_exeext'
23286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 (eval $ac_try) 2>&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; }; then
23292 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23294 # Check for a 64-bit object if we didn't find anything.
23295 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; }
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23302 rm -f conftest.err conftest.$ac_objext \
23303 conftest$ac_exeext conftest.$ac_ext
23304 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23306 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23307 # Warning - without using the other run time loading flags,
23308 # -berok will link without error, but may produce a broken library.
23309 no_undefined_flag_GCJ=' ${wl}-bernotok'
23310 allow_undefined_flag_GCJ=' ${wl}-berok'
23311 # Exported symbols can be pulled into shared objects from archives
23312 whole_archive_flag_spec_GCJ='$convenience'
23313 archive_cmds_need_lc_GCJ=yes
23314 # This is similar to how AIX traditionally builds its shared libraries.
23315 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'
23321 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)'
23322 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23323 hardcode_minus_L_GCJ=yes
23324 # see comment about different semantics on the GNU ld section
23329 export_dynamic_flag_spec_GCJ=-rdynamic
23332 cygwin* | mingw* | pw32*)
23333 # When not using gcc, we currently assume that we are using
23334 # Microsoft Visual C++.
23335 # hardcode_libdir_flag_spec is actually meaningless, as there is
23336 # no search path for DLLs.
23337 hardcode_libdir_flag_spec_GCJ=' '
23338 allow_undefined_flag_GCJ=unsupported
23339 # Tell ltmain to make .lib files, not .a files.
23341 # Tell ltmain to make .dll files, not .so files.
23343 # FIXME: Setting linknames here is a bad hack.
23344 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23345 # The linker will automatically build a .lib file if we build a DLL.
23346 old_archive_From_new_cmds_GCJ='true'
23347 # FIXME: Should let the user specify the lib program.
23348 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
23349 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
23350 enable_shared_with_static_runtimes_GCJ=yes
23353 darwin* | rhapsody*)
23355 rhapsody* | darwin1.[012])
23356 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
23359 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23360 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23362 case ${MACOSX_DEPLOYMENT_TARGET} in
23364 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23367 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
23373 archive_cmds_need_lc_GCJ=no
23374 hardcode_direct_GCJ=no
23375 hardcode_automatic_GCJ=yes
23376 hardcode_shlibpath_var_GCJ=unsupported
23377 whole_archive_flag_spec_GCJ=''
23378 link_all_deplibs_GCJ=yes
23379 if test "$GCC" = yes ; then
23380 output_verbose_link_cmd='echo'
23381 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
23382 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23383 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
23384 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}'
23385 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}'
23387 case $cc_basename in
23389 output_verbose_link_cmd='echo'
23390 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
23391 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23392 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
23393 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}'
23394 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}'
23404 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23405 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23406 hardcode_shlibpath_var_GCJ=no
23413 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23414 # support. Future versions do this automatically, but an explicit c++rt0.o
23415 # does not break anything, and helps significantly (at the cost of a little
23418 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23419 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23420 hardcode_direct_GCJ=yes
23421 hardcode_shlibpath_var_GCJ=no
23424 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23426 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23427 hardcode_direct_GCJ=yes
23428 hardcode_minus_L_GCJ=yes
23429 hardcode_shlibpath_var_GCJ=no
23432 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23433 freebsd* | kfreebsd*-gnu | dragonfly*)
23434 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23435 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23436 hardcode_direct_GCJ=yes
23437 hardcode_shlibpath_var_GCJ=no
23441 if test "$GCC" = yes; then
23442 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'
23444 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'
23446 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23447 hardcode_libdir_separator_GCJ=:
23448 hardcode_direct_GCJ=yes
23450 # hardcode_minus_L: Not really in the search PATH,
23451 # but as the default location of the library.
23452 hardcode_minus_L_GCJ=yes
23453 export_dynamic_flag_spec_GCJ='${wl}-E'
23457 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23458 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23460 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23462 if test "$with_gnu_ld" = no; then
23463 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23464 hardcode_libdir_separator_GCJ=:
23466 hardcode_direct_GCJ=yes
23467 export_dynamic_flag_spec_GCJ='${wl}-E'
23469 # hardcode_minus_L: Not really in the search PATH,
23470 # but as the default location of the library.
23471 hardcode_minus_L_GCJ=yes
23476 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23479 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23482 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23485 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23491 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23494 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23497 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23501 if test "$with_gnu_ld" = no; then
23502 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23503 hardcode_libdir_separator_GCJ=:
23507 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
23508 hardcode_direct_GCJ=no
23509 hardcode_shlibpath_var_GCJ=no
23512 hardcode_direct_GCJ=yes
23513 export_dynamic_flag_spec_GCJ='${wl}-E'
23515 # hardcode_minus_L: Not really in the search PATH,
23516 # but as the default location of the library.
23517 hardcode_minus_L_GCJ=yes
23523 irix5* | irix6* | nonstopux*)
23524 if test "$GCC" = yes; then
23525 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'
23527 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'
23528 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
23530 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23531 hardcode_libdir_separator_GCJ=:
23532 link_all_deplibs_GCJ=yes
23536 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23537 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23539 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23541 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23542 hardcode_direct_GCJ=yes
23543 hardcode_shlibpath_var_GCJ=no
23547 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23548 hardcode_direct_GCJ=yes
23549 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23550 hardcode_libdir_separator_GCJ=:
23551 hardcode_shlibpath_var_GCJ=no
23555 hardcode_direct_GCJ=yes
23556 hardcode_shlibpath_var_GCJ=no
23557 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23558 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23559 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
23560 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23561 export_dynamic_flag_spec_GCJ='${wl}-E'
23564 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23565 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23566 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23569 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23570 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23577 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23578 hardcode_minus_L_GCJ=yes
23579 allow_undefined_flag_GCJ=unsupported
23580 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'
23581 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23585 if test "$GCC" = yes; then
23586 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23587 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'
23589 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23590 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'
23592 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23593 hardcode_libdir_separator_GCJ=:
23596 osf4* | osf5*) # as osf3* with the addition of -msym flag
23597 if test "$GCC" = yes; then
23598 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23599 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'
23600 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23602 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23603 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'
23604 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~
23605 $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'
23607 # Both c and cxx compiler support -rpath directly
23608 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
23610 hardcode_libdir_separator_GCJ=:
23614 no_undefined_flag_GCJ=' -z text'
23615 if test "$GCC" = yes; then
23617 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23618 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23619 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23622 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23623 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23624 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23626 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23627 hardcode_shlibpath_var_GCJ=no
23629 solaris2.[0-5] | solaris2.[0-5].*) ;;
23631 # The compiler driver will combine linker options so we
23632 # cannot just pass the convience library names through
23633 # without $wl, iff we do not link with $LD.
23634 # Luckily, gcc supports the same syntax we need for Sun Studio.
23635 # Supported since Solaris 2.6 (maybe 2.5.1?)
23638 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
23640 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' ;;
23643 link_all_deplibs_GCJ=yes
23647 if test "x$host_vendor" = xsequent; then
23648 # Use $CC to link under sequent, because it throws in some extra .o
23649 # files that make .init and .fini sections work.
23650 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23652 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23654 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23655 hardcode_direct_GCJ=yes
23656 hardcode_minus_L_GCJ=yes
23657 hardcode_shlibpath_var_GCJ=no
23661 case $host_vendor in
23663 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23664 hardcode_direct_GCJ=yes # is this really true???
23667 ## LD is ld it makes a PLAMLIB
23668 ## CC just makes a GrossModule.
23669 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23670 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
23671 hardcode_direct_GCJ=no
23674 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23675 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
23678 runpath_var='LD_RUN_PATH'
23679 hardcode_shlibpath_var_GCJ=no
23683 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23684 hardcode_shlibpath_var_GCJ=no
23685 export_dynamic_flag_spec_GCJ='-Bexport'
23689 if test -d /usr/nec; then
23690 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23691 hardcode_shlibpath_var_GCJ=no
23692 runpath_var=LD_RUN_PATH
23693 hardcode_runpath_var=yes
23698 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
23699 no_undefined_flag_GCJ='${wl}-z,text'
23700 archive_cmds_need_lc_GCJ=no
23701 hardcode_shlibpath_var_GCJ=no
23702 runpath_var='LD_RUN_PATH'
23704 if test "$GCC" = yes; then
23705 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23706 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23708 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23709 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23713 sysv5* | sco3.2v5* | sco5v6*)
23714 # Note: We can NOT use -z defs as we might desire, because we do not
23715 # link with -lc, and that would cause any symbols used from libc to
23716 # always be unresolved, which means just about no library would
23717 # ever link correctly. If we're not using GNU ld we use -z text
23718 # though, which does catch some bad symbols but isn't as heavy-handed
23720 no_undefined_flag_GCJ='${wl}-z,text'
23721 allow_undefined_flag_GCJ='${wl}-z,nodefs'
23722 archive_cmds_need_lc_GCJ=no
23723 hardcode_shlibpath_var_GCJ=no
23724 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
23725 hardcode_libdir_separator_GCJ=':'
23726 link_all_deplibs_GCJ=yes
23727 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
23728 runpath_var='LD_RUN_PATH'
23730 if test "$GCC" = yes; then
23731 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23732 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23734 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23735 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23740 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23741 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23742 hardcode_shlibpath_var_GCJ=no
23751 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
23752 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
23753 test "$ld_shlibs_GCJ" = no && can_build_shared=no
23756 # Do we need to explicitly link libc?
23758 case "x$archive_cmds_need_lc_GCJ" in
23760 # Assume -lc should be added
23761 archive_cmds_need_lc_GCJ=yes
23763 if test "$enable_shared" = yes && test "$GCC" = yes; then
23764 case $archive_cmds_GCJ in
23766 # FIXME: we may have to deal with multi-command sequences.
23769 # Test whether the compiler implicitly links with -lc since on some
23770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23771 # to ld, don't add -lc before -lgcc.
23772 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23773 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23775 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23778 (eval $ac_compile) 2>&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } 2>conftest.err; then
23784 libobjs=conftest.$ac_objext
23786 wl=$lt_prog_compiler_wl_GCJ
23787 pic_flag=$lt_prog_compiler_pic_GCJ
23793 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
23794 allow_undefined_flag_GCJ=
23795 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23796 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }
23801 archive_cmds_need_lc_GCJ=no
23803 archive_cmds_need_lc_GCJ=yes
23805 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
23807 cat conftest.err 1>&5
23810 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
23811 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
23818 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23819 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23820 library_names_spec=
23821 libname_spec='lib$name'
23825 postuninstall_cmds=
23829 shlibpath_overrides_runpath=unknown
23831 dynamic_linker="$host_os ld.so"
23832 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23833 if test "$GCC" = yes; then
23834 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23835 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23836 # if the path contains ";" then we assume it to be the separator
23837 # otherwise default to the standard path separator (i.e. ":") - it is
23838 # assumed that no part of a normal pathname contains ";" but that should
23839 # okay in the real world where ";" in dirpaths is itself problematic.
23840 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23842 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23845 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23847 need_lib_prefix=unknown
23848 hardcode_into_libs=no
23850 # when you set need_version to no, make sure it does not cause -set_version
23851 # flags to be left without arguments
23852 need_version=unknown
23857 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23858 shlibpath_var=LIBPATH
23860 # AIX 3 has no versioning support, so we append a major version to the name.
23861 soname_spec='${libname}${release}${shared_ext}$major'
23868 hardcode_into_libs=yes
23869 if test "$host_cpu" = ia64; then
23870 # AIX 5 supports IA64
23871 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23872 shlibpath_var=LD_LIBRARY_PATH
23874 # With GCC up to 2.95.x, collect2 would create an import file
23875 # for dependence libraries. The import file would start with
23876 # the line `#! .'. This would cause the generated library to
23877 # depend on `.', always an invalid library. This was fixed in
23878 # development snapshots of GCC prior to 3.0.
23880 aix4 | aix4.[01] | aix4.[01].*)
23881 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23883 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23886 can_build_shared=no
23890 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23891 # soname into executable. Probably we can add versioning support to
23892 # collect2, so additional links can be useful in future.
23893 if test "$aix_use_runtimelinking" = yes; then
23894 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23895 # instead of lib<name>.a to let people know that these are not
23896 # typical AIX shared libraries.
23897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23899 # We preserve .a as extension for shared libraries through AIX4.2
23900 # and later when we are not doing run time linking.
23901 library_names_spec='${libname}${release}.a $libname.a'
23902 soname_spec='${libname}${release}${shared_ext}$major'
23904 shlibpath_var=LIBPATH
23909 library_names_spec='$libname.ixlibrary $libname.a'
23910 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23911 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'
23915 library_names_spec='${libname}${shared_ext}'
23916 dynamic_linker="$host_os ld.so"
23917 shlibpath_var=LIBRARY_PATH
23923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23924 soname_spec='${libname}${release}${shared_ext}$major'
23925 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23926 shlibpath_var=LD_LIBRARY_PATH
23927 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23928 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23929 # the default ld.so.conf also contains /usr/contrib/lib and
23930 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23931 # libtool to hard-code these into programs
23934 cygwin* | mingw* | pw32*)
23935 version_type=windows
23940 case $GCC,$host_os in
23941 yes,cygwin* | yes,mingw* | yes,pw32*)
23942 library_names_spec='$libname.dll.a'
23943 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23944 postinstall_cmds='base_file=`basename \${file}`~
23945 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23946 dldir=$destdir/`dirname \$dlpath`~
23947 test -d \$dldir || mkdir -p \$dldir~
23948 $install_prog $dir/$dlname \$dldir/$dlname~
23949 chmod a+x \$dldir/$dlname'
23950 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23951 dlpath=$dir/\$dldll~
23953 shlibpath_overrides_runpath=yes
23957 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23958 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23959 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23962 # MinGW DLLs use traditional 'lib' prefix
23963 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23964 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23965 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23966 # It is most probably a Windows format PATH printed by
23967 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23968 # path with ; separators, and with drive letters. We can handle the
23969 # drive letters (cygwin fileutils understands them), so leave them,
23970 # especially as we might pass files found there to a mingw objdump,
23971 # which wouldn't understand a cygwinified path. Ahh.
23972 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23974 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23978 # pw32 DLLs use 'pw' prefix rather than 'lib'
23979 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23985 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23988 dynamic_linker='Win32 ld.exe'
23989 # FIXME: first we should search . and the directory the executable is in
23993 darwin* | rhapsody*)
23994 dynamic_linker="$host_os dyld"
23995 version_type=darwin
23998 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23999 soname_spec='${libname}${release}${major}$shared_ext'
24000 shlibpath_overrides_runpath=yes
24001 shlibpath_var=DYLD_LIBRARY_PATH
24002 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24003 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
24004 if test "$GCC" = yes; then
24005 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"`
24007 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
24009 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
24017 soname_spec='${libname}${release}${shared_ext}$major'
24018 shlibpath_var=LD_LIBRARY_PATH
24029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24030 soname_spec='${libname}${release}${shared_ext}$major'
24031 shlibpath_var=LD_LIBRARY_PATH
24032 shlibpath_overrides_runpath=no
24033 hardcode_into_libs=yes
24034 dynamic_linker='GNU ld.so'
24037 freebsd* | dragonfly*)
24038 # DragonFly does not have aout. When/if they implement a new
24039 # versioning mechanism, adjust this.
24040 if test -x /usr/bin/objformat; then
24041 objformat=`/usr/bin/objformat`
24044 freebsd[123]*) objformat=aout ;;
24045 *) objformat=elf ;;
24048 version_type=freebsd-$objformat
24049 case $version_type in
24051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24056 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
24060 shlibpath_var=LD_LIBRARY_PATH
24063 shlibpath_overrides_runpath=yes
24065 freebsd3.[01]* | freebsdelf3.[01]*)
24066 shlibpath_overrides_runpath=yes
24067 hardcode_into_libs=yes
24069 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24070 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24071 shlibpath_overrides_runpath=no
24072 hardcode_into_libs=yes
24074 freebsd*) # from 4.6 on
24075 shlibpath_overrides_runpath=yes
24076 hardcode_into_libs=yes
24085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
24086 soname_spec='${libname}${release}${shared_ext}$major'
24087 shlibpath_var=LD_LIBRARY_PATH
24088 hardcode_into_libs=yes
24091 hpux9* | hpux10* | hpux11*)
24092 # Give a soname corresponding to the major version so that dld.sl refuses to
24093 # link against other versions.
24100 hardcode_into_libs=yes
24101 dynamic_linker="$host_os dld.so"
24102 shlibpath_var=LD_LIBRARY_PATH
24103 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24105 soname_spec='${libname}${release}${shared_ext}$major'
24106 if test "X$HPUX_IA64_MODE" = X32; then
24107 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24109 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24111 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24115 hardcode_into_libs=yes
24116 dynamic_linker="$host_os dld.sl"
24117 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24118 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24120 soname_spec='${libname}${release}${shared_ext}$major'
24121 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24122 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24126 dynamic_linker="$host_os dld.sl"
24127 shlibpath_var=SHLIB_PATH
24128 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24130 soname_spec='${libname}${release}${shared_ext}$major'
24133 # HP-UX runs *really* slowly unless shared libraries are mode 555.
24134 postinstall_cmds='chmod 555 $lib'
24141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24142 soname_spec='${libname}${release}${shared_ext}$major'
24143 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24144 shlibpath_var=LD_LIBRARY_PATH
24145 shlibpath_overrides_runpath=no
24146 hardcode_into_libs=yes
24149 irix5* | irix6* | nonstopux*)
24151 nonstopux*) version_type=nonstopux ;;
24153 if test "$lt_cv_prog_gnu_ld" = yes; then
24161 soname_spec='${libname}${release}${shared_ext}$major'
24162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
24164 irix5* | nonstopux*)
24165 libsuff= shlibsuff=
24168 case $LD in # libtool.m4 will add one of these switches to LD
24169 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24170 libsuff= shlibsuff= libmagic=32-bit;;
24171 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24172 libsuff=32 shlibsuff=N32 libmagic=N32;;
24173 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24174 libsuff=64 shlibsuff=64 libmagic=64-bit;;
24175 *) libsuff= shlibsuff= libmagic=never-match;;
24179 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
24180 shlibpath_overrides_runpath=no
24181 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
24182 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
24183 hardcode_into_libs=yes
24186 # No shared lib support for Linux oldld, aout, or coff.
24187 linux*oldld* | linux*aout* | linux*coff*)
24191 # This must be Linux ELF.
24196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24197 soname_spec='${libname}${release}${shared_ext}$major'
24198 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24199 shlibpath_var=LD_LIBRARY_PATH
24200 shlibpath_overrides_runpath=no
24201 # This implies no fast_install, which is unacceptable.
24202 # Some rework will be needed to allow for fast_install
24203 # before this can be enabled.
24204 hardcode_into_libs=yes
24206 # find out which ABI we are using
24208 case "$host_cpu" in
24209 x86_64*|s390x*|powerpc64*)
24210 echo '#line 24210 "configure"' > conftest.$ac_ext
24211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24212 (eval $ac_compile) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; then
24216 case `/usr/bin/file conftest.$ac_objext` in
24219 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24227 # Append ld.so.conf contents to the search path
24228 if test -f /etc/ld.so.conf; then
24229 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
24230 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24233 # We used to test for /lib/ld.so.1 and disable shared libraries on
24234 # powerpc, because MkLinux only supported shared libraries with the
24235 # GNU dynamic linker. Since this was broken with cross compilers,
24236 # most powerpc-linux boxes support dynamic linking these days and
24237 # people can always --disable-shared, the test was removed, and we
24238 # assume the GNU/Linux dynamic linker is in use.
24239 dynamic_linker='GNU/Linux ld.so'
24246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24247 soname_spec='${libname}${release}${shared_ext}$major'
24248 shlibpath_var=LD_LIBRARY_PATH
24249 shlibpath_overrides_runpath=no
24250 hardcode_into_libs=yes
24251 dynamic_linker='GNU ld.so'
24258 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24260 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24261 dynamic_linker='NetBSD (a.out) ld.so'
24263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24264 soname_spec='${libname}${release}${shared_ext}$major'
24265 dynamic_linker='NetBSD ld.elf_so'
24267 shlibpath_var=LD_LIBRARY_PATH
24268 shlibpath_overrides_runpath=yes
24269 hardcode_into_libs=yes
24274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24275 shlibpath_var=LD_LIBRARY_PATH
24276 shlibpath_overrides_runpath=yes
24283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24284 soname_spec='${libname}${release}${shared_ext}$major'
24285 shlibpath_var=LD_LIBRARY_PATH
24286 shlibpath_overrides_runpath=yes
24291 sys_lib_dlsearch_path_spec="/usr/lib"
24293 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
24295 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
24296 *) need_version=no ;;
24298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24299 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24300 shlibpath_var=LD_LIBRARY_PATH
24301 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24303 openbsd2.[89] | openbsd2.[89].*)
24304 shlibpath_overrides_runpath=no
24307 shlibpath_overrides_runpath=yes
24311 shlibpath_overrides_runpath=yes
24316 libname_spec='$name'
24319 library_names_spec='$libname${shared_ext} $libname.a'
24320 dynamic_linker='OS/2 ld.exe'
24321 shlibpath_var=LIBPATH
24324 osf3* | osf4* | osf5*)
24328 soname_spec='${libname}${release}${shared_ext}$major'
24329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24330 shlibpath_var=LD_LIBRARY_PATH
24331 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24332 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24340 soname_spec='${libname}${release}${shared_ext}$major'
24341 shlibpath_var=LD_LIBRARY_PATH
24342 shlibpath_overrides_runpath=yes
24343 hardcode_into_libs=yes
24344 # ldd complains unless libraries are executable
24345 postinstall_cmds='chmod +x $lib'
24350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24351 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24352 shlibpath_var=LD_LIBRARY_PATH
24353 shlibpath_overrides_runpath=yes
24354 if test "$with_gnu_ld" = yes; then
24362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24363 soname_spec='${libname}${release}${shared_ext}$major'
24364 shlibpath_var=LD_LIBRARY_PATH
24365 case $host_vendor in
24367 shlibpath_overrides_runpath=no
24369 export_dynamic_flag_spec='${wl}-Blargedynsym'
24370 runpath_var=LD_RUN_PATH
24378 shlibpath_overrides_runpath=no
24379 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24385 if test -d /usr/nec ;then
24387 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24388 soname_spec='$libname${shared_ext}.$major'
24389 shlibpath_var=LD_LIBRARY_PATH
24393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24394 version_type=freebsd-elf
24397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24398 soname_spec='${libname}${release}${shared_ext}$major'
24399 shlibpath_var=LD_LIBRARY_PATH
24400 hardcode_into_libs=yes
24401 if test "$with_gnu_ld" = yes; then
24402 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24403 shlibpath_overrides_runpath=no
24405 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24406 shlibpath_overrides_runpath=yes
24409 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24413 sys_lib_dlsearch_path_spec='/usr/lib'
24418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24419 soname_spec='${libname}${release}${shared_ext}$major'
24420 shlibpath_var=LD_LIBRARY_PATH
24427 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24428 echo "${ECHO_T}$dynamic_linker" >&6
24429 test "$dynamic_linker" = no && can_build_shared=no
24431 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24432 if test "$GCC" = yes; then
24433 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24436 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24437 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24438 hardcode_action_GCJ=
24439 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
24440 test -n "$runpath_var_GCJ" || \
24441 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
24443 # We can hardcode non-existant directories.
24444 if test "$hardcode_direct_GCJ" != no &&
24445 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24446 # have to relink, otherwise we might link with an installed library
24447 # when we should be linking with a yet-to-be-installed one
24448 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
24449 test "$hardcode_minus_L_GCJ" != no; then
24450 # Linking always hardcodes the temporary library directory.
24451 hardcode_action_GCJ=relink
24453 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24454 hardcode_action_GCJ=immediate
24457 # We cannot hardcode anything, or else we can only hardcode existing
24459 hardcode_action_GCJ=unsupported
24461 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
24462 echo "${ECHO_T}$hardcode_action_GCJ" >&6
24464 if test "$hardcode_action_GCJ" = relink; then
24465 # Fast installation is not supported
24466 enable_fast_install=no
24467 elif test "$shlibpath_overrides_runpath" = yes ||
24468 test "$enable_shared" = no; then
24469 # Fast installation is not necessary
24470 enable_fast_install=needless
24474 # The else clause should only fire when bootstrapping the
24475 # libtool distribution, otherwise you forgot to ship ltmain.sh
24476 # with your package, and you will get complaints that there are
24477 # no rules to generate ltmain.sh.
24478 if test -f "$ltmain"; then
24479 # See if we are running on zsh, and set the options which allow our commands through
24480 # without removal of \ escapes.
24481 if test -n "${ZSH_VERSION+set}" ; then
24482 setopt NO_GLOB_SUBST
24484 # Now quote all the things that may contain metacharacters while being
24485 # careful not to overquote the AC_SUBSTed values. We take copies of the
24486 # variables and quote the copies for generation of the libtool script.
24487 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
24489 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24490 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24491 deplibs_check_method reload_flag reload_cmds need_locks \
24492 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24493 lt_cv_sys_global_symbol_to_c_name_address \
24494 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24495 old_postinstall_cmds old_postuninstall_cmds \
24499 lt_prog_compiler_wl_GCJ \
24500 lt_prog_compiler_pic_GCJ \
24501 lt_prog_compiler_static_GCJ \
24502 lt_prog_compiler_no_builtin_flag_GCJ \
24503 export_dynamic_flag_spec_GCJ \
24504 thread_safe_flag_spec_GCJ \
24505 whole_archive_flag_spec_GCJ \
24506 enable_shared_with_static_runtimes_GCJ \
24507 old_archive_cmds_GCJ \
24508 old_archive_from_new_cmds_GCJ \
24509 predep_objects_GCJ \
24510 postdep_objects_GCJ \
24513 compiler_lib_search_path_GCJ \
24515 archive_expsym_cmds_GCJ \
24516 postinstall_cmds_GCJ \
24517 postuninstall_cmds_GCJ \
24518 old_archive_from_expsyms_cmds_GCJ \
24519 allow_undefined_flag_GCJ \
24520 no_undefined_flag_GCJ \
24521 export_symbols_cmds_GCJ \
24522 hardcode_libdir_flag_spec_GCJ \
24523 hardcode_libdir_flag_spec_ld_GCJ \
24524 hardcode_libdir_separator_GCJ \
24525 hardcode_automatic_GCJ \
24527 module_expsym_cmds_GCJ \
24528 lt_cv_prog_compiler_c_o_GCJ \
24529 exclude_expsyms_GCJ \
24530 include_expsyms_GCJ; do
24533 old_archive_cmds_GCJ | \
24534 old_archive_from_new_cmds_GCJ | \
24535 archive_cmds_GCJ | \
24536 archive_expsym_cmds_GCJ | \
24537 module_cmds_GCJ | \
24538 module_expsym_cmds_GCJ | \
24539 old_archive_from_expsyms_cmds_GCJ | \
24540 export_symbols_cmds_GCJ | \
24541 extract_expsyms_cmds | reload_cmds | finish_cmds | \
24542 postinstall_cmds | postuninstall_cmds | \
24543 old_postinstall_cmds | old_postuninstall_cmds | \
24544 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
24545 # Double-quote double-evaled strings.
24546 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24549 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24555 *'\$0 --fallback-echo"')
24556 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24562 cat <<__EOF__ >> "$cfgfile"
24563 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
24565 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24567 # Shell to use when invoking shell scripts.
24570 # Whether or not to build shared libraries.
24571 build_libtool_libs=$enable_shared
24573 # Whether or not to build static libraries.
24574 build_old_libs=$enable_static
24576 # Whether or not to add -lc for building shared libraries.
24577 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
24579 # Whether or not to disallow shared libs when runtime libs are static
24580 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
24582 # Whether or not to optimize for fast installation.
24583 fast_install=$enable_fast_install
24586 host_alias=$host_alias
24590 # The build system.
24591 build_alias=$build_alias
24595 # An echo program that does not interpret backslashes.
24600 AR_FLAGS=$lt_AR_FLAGS
24605 # LTCC compiler flags.
24606 LTCFLAGS=$lt_LTCFLAGS
24608 # A language-specific compiler.
24609 CC=$lt_compiler_GCJ
24611 # Is the compiler the GNU C compiler?
24617 # The linker used to build libraries.
24620 # Whether we need hard or soft links.
24623 # A BSD-compatible nm program.
24626 # A symbol stripping program
24629 # Used to examine libraries when file_magic_cmd begins "file"
24630 MAGIC_CMD=$MAGIC_CMD
24632 # Used on cygwin: DLL creation program.
24635 # Used on cygwin: object dumper.
24638 # Used on cygwin: assembler.
24641 # The name of the directory that contains temporary libtool files.
24644 # How to create reloadable object files.
24645 reload_flag=$lt_reload_flag
24646 reload_cmds=$lt_reload_cmds
24648 # How to pass a linker flag through the compiler.
24649 wl=$lt_lt_prog_compiler_wl_GCJ
24651 # Object file suffix (normally "o").
24652 objext="$ac_objext"
24654 # Old archive suffix (normally "a").
24657 # Shared library suffix (normally ".so").
24658 shrext_cmds='$shrext_cmds'
24660 # Executable file suffix (normally "").
24663 # Additional compiler flags for building library objects.
24664 pic_flag=$lt_lt_prog_compiler_pic_GCJ
24667 # What is the maximum length of a command?
24668 max_cmd_len=$lt_cv_sys_max_cmd_len
24670 # Does compiler simultaneously support -c and -o options?
24671 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
24673 # Must we lock files when doing compilation?
24674 need_locks=$lt_need_locks
24676 # Do we need the lib prefix for modules?
24677 need_lib_prefix=$need_lib_prefix
24679 # Do we need a version for libraries?
24680 need_version=$need_version
24682 # Whether dlopen is supported.
24683 dlopen_support=$enable_dlopen
24685 # Whether dlopen of programs is supported.
24686 dlopen_self=$enable_dlopen_self
24688 # Whether dlopen of statically linked programs is supported.
24689 dlopen_self_static=$enable_dlopen_self_static
24691 # Compiler flag to prevent dynamic linking.
24692 link_static_flag=$lt_lt_prog_compiler_static_GCJ
24694 # Compiler flag to turn off builtin functions.
24695 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
24697 # Compiler flag to allow reflexive dlopens.
24698 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
24700 # Compiler flag to generate shared objects directly from archives.
24701 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
24703 # Compiler flag to generate thread-safe objects.
24704 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
24706 # Library versioning type.
24707 version_type=$version_type
24709 # Format of library name prefix.
24710 libname_spec=$lt_libname_spec
24712 # List of archive names. First name is the real one, the rest are links.
24713 # The last name is the one that the linker finds with -lNAME.
24714 library_names_spec=$lt_library_names_spec
24716 # The coded name of the library, if different from the real name.
24717 soname_spec=$lt_soname_spec
24719 # Commands used to build and install an old-style archive.
24721 old_archive_cmds=$lt_old_archive_cmds_GCJ
24722 old_postinstall_cmds=$lt_old_postinstall_cmds
24723 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24725 # Create an old-style archive from a shared archive.
24726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
24728 # Create a temporary old-style archive to link instead of a shared archive.
24729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
24731 # Commands used to build and install a shared archive.
24732 archive_cmds=$lt_archive_cmds_GCJ
24733 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
24734 postinstall_cmds=$lt_postinstall_cmds
24735 postuninstall_cmds=$lt_postuninstall_cmds
24737 # Commands used to build a loadable module (assumed same as above if empty)
24738 module_cmds=$lt_module_cmds_GCJ
24739 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
24741 # Commands to strip libraries.
24742 old_striplib=$lt_old_striplib
24743 striplib=$lt_striplib
24745 # Dependencies to place before the objects being linked to create a
24747 predep_objects=$lt_predep_objects_GCJ
24749 # Dependencies to place after the objects being linked to create a
24751 postdep_objects=$lt_postdep_objects_GCJ
24753 # Dependencies to place before the objects being linked to create a
24755 predeps=$lt_predeps_GCJ
24757 # Dependencies to place after the objects being linked to create a
24759 postdeps=$lt_postdeps_GCJ
24761 # The library search path used internally by the compiler when linking
24762 # a shared library.
24763 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
24765 # Method to check whether dependent libraries are shared objects.
24766 deplibs_check_method=$lt_deplibs_check_method
24768 # Command to use when deplibs_check_method == file_magic.
24769 file_magic_cmd=$lt_file_magic_cmd
24771 # Flag that allows shared libraries with undefined symbols to be built.
24772 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
24774 # Flag that forces no undefined symbols.
24775 no_undefined_flag=$lt_no_undefined_flag_GCJ
24777 # Commands used to finish a libtool library installation in a directory.
24778 finish_cmds=$lt_finish_cmds
24780 # Same as above, but a single script fragment to be evaled but not shown.
24781 finish_eval=$lt_finish_eval
24783 # Take the output of nm and produce a listing of raw symbols and C names.
24784 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24786 # Transform the output of nm in a proper C declaration
24787 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24789 # Transform the output of nm in a C name address pair
24790 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24792 # This is the shared library runtime path variable.
24793 runpath_var=$runpath_var
24795 # This is the shared library path variable.
24796 shlibpath_var=$shlibpath_var
24798 # Is shlibpath searched before the hard-coded library search path?
24799 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24801 # How to hardcode a shared library path into an executable.
24802 hardcode_action=$hardcode_action_GCJ
24804 # Whether we should hardcode library paths into libraries.
24805 hardcode_into_libs=$hardcode_into_libs
24807 # Flag to hardcode \$libdir into a binary during linking.
24808 # This must work even if \$libdir does not exist.
24809 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
24811 # If ld is used when linking, flag to hardcode \$libdir into
24812 # a binary during linking. This must work even if \$libdir does
24814 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
24816 # Whether we need a single -rpath flag with a separated argument.
24817 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
24819 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24820 # resulting binary.
24821 hardcode_direct=$hardcode_direct_GCJ
24823 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24824 # resulting binary.
24825 hardcode_minus_L=$hardcode_minus_L_GCJ
24827 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24828 # the resulting binary.
24829 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
24831 # Set to yes if building a shared library automatically hardcodes DIR into the library
24832 # and all subsequent libraries and executables linked against it.
24833 hardcode_automatic=$hardcode_automatic_GCJ
24835 # Variables whose values should be saved in libtool wrapper scripts and
24836 # restored at relink time.
24837 variables_saved_for_relink="$variables_saved_for_relink"
24839 # Whether libtool must link a program against all its dependency libraries.
24840 link_all_deplibs=$link_all_deplibs_GCJ
24842 # Compile-time system search path for libraries
24843 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24845 # Run-time system search path for libraries
24846 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24848 # Fix the shell variable \$srcfile for the compiler.
24849 fix_srcfile_path="$fix_srcfile_path_GCJ"
24851 # Set to yes if exported symbols are required.
24852 always_export_symbols=$always_export_symbols_GCJ
24854 # The commands to list exported symbols.
24855 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
24857 # The commands to extract the exported symbol list from a shared archive.
24858 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24860 # Symbols that should not be listed in the preloaded symbols.
24861 exclude_expsyms=$lt_exclude_expsyms_GCJ
24863 # Symbols that must always be exported.
24864 include_expsyms=$lt_include_expsyms_GCJ
24866 # ### END LIBTOOL TAG CONFIG: $tagname
24872 # If there is no Makefile yet, we rely on a make rule to execute
24873 # `config.status --recheck' to rerun these tests and create the
24874 # libtool script then.
24875 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24876 if test -f "$ltmain_in"; then
24877 test -f Makefile && make "$ltmain"
24883 ac_cpp='$CPP $CPPFLAGS'
24884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24899 # Source file extension for RC test sources.
24902 # Object file extension for compiled RC test sources.
24906 # Code to be used in simple compile tests
24907 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
24909 # Code to be used in simple link tests
24910 lt_simple_link_test_code="$lt_simple_compile_test_code"
24912 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24914 # If no C compiler was specified, use CC.
24917 # If no C compiler flags were specified, use CFLAGS.
24918 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24920 # Allow CC to be a program name with arguments.
24924 # save warnings/boilerplate of simple test code
24925 ac_outfile=conftest.$ac_objext
24926 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
24927 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24928 _lt_compiler_boilerplate=`cat conftest.err`
24931 ac_outfile=conftest.$ac_objext
24932 printf "$lt_simple_link_test_code" >conftest.$ac_ext
24933 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24934 _lt_linker_boilerplate=`cat conftest.err`
24938 # Allow CC to be a program name with arguments.
24943 for cc_temp in $compiler""; do
24945 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24946 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24951 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24953 lt_cv_prog_compiler_c_o_RC=yes
24955 # The else clause should only fire when bootstrapping the
24956 # libtool distribution, otherwise you forgot to ship ltmain.sh
24957 # with your package, and you will get complaints that there are
24958 # no rules to generate ltmain.sh.
24959 if test -f "$ltmain"; then
24960 # See if we are running on zsh, and set the options which allow our commands through
24961 # without removal of \ escapes.
24962 if test -n "${ZSH_VERSION+set}" ; then
24963 setopt NO_GLOB_SUBST
24965 # Now quote all the things that may contain metacharacters while being
24966 # careful not to overquote the AC_SUBSTed values. We take copies of the
24967 # variables and quote the copies for generation of the libtool script.
24968 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
24970 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24971 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24972 deplibs_check_method reload_flag reload_cmds need_locks \
24973 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24974 lt_cv_sys_global_symbol_to_c_name_address \
24975 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24976 old_postinstall_cmds old_postuninstall_cmds \
24980 lt_prog_compiler_wl_RC \
24981 lt_prog_compiler_pic_RC \
24982 lt_prog_compiler_static_RC \
24983 lt_prog_compiler_no_builtin_flag_RC \
24984 export_dynamic_flag_spec_RC \
24985 thread_safe_flag_spec_RC \
24986 whole_archive_flag_spec_RC \
24987 enable_shared_with_static_runtimes_RC \
24988 old_archive_cmds_RC \
24989 old_archive_from_new_cmds_RC \
24990 predep_objects_RC \
24991 postdep_objects_RC \
24994 compiler_lib_search_path_RC \
24996 archive_expsym_cmds_RC \
24997 postinstall_cmds_RC \
24998 postuninstall_cmds_RC \
24999 old_archive_from_expsyms_cmds_RC \
25000 allow_undefined_flag_RC \
25001 no_undefined_flag_RC \
25002 export_symbols_cmds_RC \
25003 hardcode_libdir_flag_spec_RC \
25004 hardcode_libdir_flag_spec_ld_RC \
25005 hardcode_libdir_separator_RC \
25006 hardcode_automatic_RC \
25008 module_expsym_cmds_RC \
25009 lt_cv_prog_compiler_c_o_RC \
25010 exclude_expsyms_RC \
25011 include_expsyms_RC; do
25014 old_archive_cmds_RC | \
25015 old_archive_from_new_cmds_RC | \
25016 archive_cmds_RC | \
25017 archive_expsym_cmds_RC | \
25019 module_expsym_cmds_RC | \
25020 old_archive_from_expsyms_cmds_RC | \
25021 export_symbols_cmds_RC | \
25022 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25023 postinstall_cmds | postuninstall_cmds | \
25024 old_postinstall_cmds | old_postuninstall_cmds | \
25025 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25026 # Double-quote double-evaled strings.
25027 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25030 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25036 *'\$0 --fallback-echo"')
25037 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25043 cat <<__EOF__ >> "$cfgfile"
25044 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25046 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25048 # Shell to use when invoking shell scripts.
25051 # Whether or not to build shared libraries.
25052 build_libtool_libs=$enable_shared
25054 # Whether or not to build static libraries.
25055 build_old_libs=$enable_static
25057 # Whether or not to add -lc for building shared libraries.
25058 build_libtool_need_lc=$archive_cmds_need_lc_RC
25060 # Whether or not to disallow shared libs when runtime libs are static
25061 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25063 # Whether or not to optimize for fast installation.
25064 fast_install=$enable_fast_install
25067 host_alias=$host_alias
25071 # The build system.
25072 build_alias=$build_alias
25076 # An echo program that does not interpret backslashes.
25081 AR_FLAGS=$lt_AR_FLAGS
25086 # LTCC compiler flags.
25087 LTCFLAGS=$lt_LTCFLAGS
25089 # A language-specific compiler.
25092 # Is the compiler the GNU C compiler?
25098 # The linker used to build libraries.
25101 # Whether we need hard or soft links.
25104 # A BSD-compatible nm program.
25107 # A symbol stripping program
25110 # Used to examine libraries when file_magic_cmd begins "file"
25111 MAGIC_CMD=$MAGIC_CMD
25113 # Used on cygwin: DLL creation program.
25116 # Used on cygwin: object dumper.
25119 # Used on cygwin: assembler.
25122 # The name of the directory that contains temporary libtool files.
25125 # How to create reloadable object files.
25126 reload_flag=$lt_reload_flag
25127 reload_cmds=$lt_reload_cmds
25129 # How to pass a linker flag through the compiler.
25130 wl=$lt_lt_prog_compiler_wl_RC
25132 # Object file suffix (normally "o").
25133 objext="$ac_objext"
25135 # Old archive suffix (normally "a").
25138 # Shared library suffix (normally ".so").
25139 shrext_cmds='$shrext_cmds'
25141 # Executable file suffix (normally "").
25144 # Additional compiler flags for building library objects.
25145 pic_flag=$lt_lt_prog_compiler_pic_RC
25148 # What is the maximum length of a command?
25149 max_cmd_len=$lt_cv_sys_max_cmd_len
25151 # Does compiler simultaneously support -c and -o options?
25152 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25154 # Must we lock files when doing compilation?
25155 need_locks=$lt_need_locks
25157 # Do we need the lib prefix for modules?
25158 need_lib_prefix=$need_lib_prefix
25160 # Do we need a version for libraries?
25161 need_version=$need_version
25163 # Whether dlopen is supported.
25164 dlopen_support=$enable_dlopen
25166 # Whether dlopen of programs is supported.
25167 dlopen_self=$enable_dlopen_self
25169 # Whether dlopen of statically linked programs is supported.
25170 dlopen_self_static=$enable_dlopen_self_static
25172 # Compiler flag to prevent dynamic linking.
25173 link_static_flag=$lt_lt_prog_compiler_static_RC
25175 # Compiler flag to turn off builtin functions.
25176 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25178 # Compiler flag to allow reflexive dlopens.
25179 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25181 # Compiler flag to generate shared objects directly from archives.
25182 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25184 # Compiler flag to generate thread-safe objects.
25185 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25187 # Library versioning type.
25188 version_type=$version_type
25190 # Format of library name prefix.
25191 libname_spec=$lt_libname_spec
25193 # List of archive names. First name is the real one, the rest are links.
25194 # The last name is the one that the linker finds with -lNAME.
25195 library_names_spec=$lt_library_names_spec
25197 # The coded name of the library, if different from the real name.
25198 soname_spec=$lt_soname_spec
25200 # Commands used to build and install an old-style archive.
25202 old_archive_cmds=$lt_old_archive_cmds_RC
25203 old_postinstall_cmds=$lt_old_postinstall_cmds
25204 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25206 # Create an old-style archive from a shared archive.
25207 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25209 # Create a temporary old-style archive to link instead of a shared archive.
25210 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25212 # Commands used to build and install a shared archive.
25213 archive_cmds=$lt_archive_cmds_RC
25214 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25215 postinstall_cmds=$lt_postinstall_cmds
25216 postuninstall_cmds=$lt_postuninstall_cmds
25218 # Commands used to build a loadable module (assumed same as above if empty)
25219 module_cmds=$lt_module_cmds_RC
25220 module_expsym_cmds=$lt_module_expsym_cmds_RC
25222 # Commands to strip libraries.
25223 old_striplib=$lt_old_striplib
25224 striplib=$lt_striplib
25226 # Dependencies to place before the objects being linked to create a
25228 predep_objects=$lt_predep_objects_RC
25230 # Dependencies to place after the objects being linked to create a
25232 postdep_objects=$lt_postdep_objects_RC
25234 # Dependencies to place before the objects being linked to create a
25236 predeps=$lt_predeps_RC
25238 # Dependencies to place after the objects being linked to create a
25240 postdeps=$lt_postdeps_RC
25242 # The library search path used internally by the compiler when linking
25243 # a shared library.
25244 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25246 # Method to check whether dependent libraries are shared objects.
25247 deplibs_check_method=$lt_deplibs_check_method
25249 # Command to use when deplibs_check_method == file_magic.
25250 file_magic_cmd=$lt_file_magic_cmd
25252 # Flag that allows shared libraries with undefined symbols to be built.
25253 allow_undefined_flag=$lt_allow_undefined_flag_RC
25255 # Flag that forces no undefined symbols.
25256 no_undefined_flag=$lt_no_undefined_flag_RC
25258 # Commands used to finish a libtool library installation in a directory.
25259 finish_cmds=$lt_finish_cmds
25261 # Same as above, but a single script fragment to be evaled but not shown.
25262 finish_eval=$lt_finish_eval
25264 # Take the output of nm and produce a listing of raw symbols and C names.
25265 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25267 # Transform the output of nm in a proper C declaration
25268 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25270 # Transform the output of nm in a C name address pair
25271 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25273 # This is the shared library runtime path variable.
25274 runpath_var=$runpath_var
25276 # This is the shared library path variable.
25277 shlibpath_var=$shlibpath_var
25279 # Is shlibpath searched before the hard-coded library search path?
25280 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25282 # How to hardcode a shared library path into an executable.
25283 hardcode_action=$hardcode_action_RC
25285 # Whether we should hardcode library paths into libraries.
25286 hardcode_into_libs=$hardcode_into_libs
25288 # Flag to hardcode \$libdir into a binary during linking.
25289 # This must work even if \$libdir does not exist.
25290 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25292 # If ld is used when linking, flag to hardcode \$libdir into
25293 # a binary during linking. This must work even if \$libdir does
25295 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
25297 # Whether we need a single -rpath flag with a separated argument.
25298 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
25300 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25301 # resulting binary.
25302 hardcode_direct=$hardcode_direct_RC
25304 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25305 # resulting binary.
25306 hardcode_minus_L=$hardcode_minus_L_RC
25308 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25309 # the resulting binary.
25310 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
25312 # Set to yes if building a shared library automatically hardcodes DIR into the library
25313 # and all subsequent libraries and executables linked against it.
25314 hardcode_automatic=$hardcode_automatic_RC
25316 # Variables whose values should be saved in libtool wrapper scripts and
25317 # restored at relink time.
25318 variables_saved_for_relink="$variables_saved_for_relink"
25320 # Whether libtool must link a program against all its dependency libraries.
25321 link_all_deplibs=$link_all_deplibs_RC
25323 # Compile-time system search path for libraries
25324 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25326 # Run-time system search path for libraries
25327 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25329 # Fix the shell variable \$srcfile for the compiler.
25330 fix_srcfile_path="$fix_srcfile_path_RC"
25332 # Set to yes if exported symbols are required.
25333 always_export_symbols=$always_export_symbols_RC
25335 # The commands to list exported symbols.
25336 export_symbols_cmds=$lt_export_symbols_cmds_RC
25338 # The commands to extract the exported symbol list from a shared archive.
25339 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25341 # Symbols that should not be listed in the preloaded symbols.
25342 exclude_expsyms=$lt_exclude_expsyms_RC
25344 # Symbols that must always be exported.
25345 include_expsyms=$lt_include_expsyms_RC
25347 # ### END LIBTOOL TAG CONFIG: $tagname
25353 # If there is no Makefile yet, we rely on a make rule to execute
25354 # `config.status --recheck' to rerun these tests and create the
25355 # libtool script then.
25356 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25357 if test -f "$ltmain_in"; then
25358 test -f Makefile && make "$ltmain"
25364 ac_cpp='$CPP $CPPFLAGS'
25365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25374 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
25375 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
25376 { (exit 1); exit 1; }; }
25380 # Append the new tag name to the list of available tags.
25381 if test -n "$tagname" ; then
25382 available_tags="$available_tags $tagname"
25388 # Now substitute the updated list of available tags.
25389 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
25390 mv "${ofile}T" "$ofile"
25394 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
25395 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
25396 { (exit 1); exit 1; }; }
25402 # This can be used to rebuild libtool when needed
25403 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
25405 # Always use our own libtool.
25406 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
25408 # Prevent multiple expansion
25432 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
25433 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
25435 # Check whether --with-vrootdir or --without-vrootdir was given.
25436 if test "${with_vrootdir+set}" = set; then
25437 withval="$with_vrootdir"
25439 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
25440 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
25441 { (exit 1); exit 1; }; };;
25442 *) ensc_uv_path_vrootdir=$withval;;
25445 ensc_uv_path_vrootdir=/vservers
25447 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
25448 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
25450 if test x"vserverdir" != x; then
25451 vserverdir=$ensc_uv_path_vrootdir
25456 for ac_prog in svn2cl
25458 # Extract the first word of "$ac_prog", so it can be a program name with args.
25459 set dummy $ac_prog; ac_word=$2
25460 echo "$as_me:$LINENO: checking for $ac_word" >&5
25461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25462 if test "${ac_cv_prog_SVN2CL+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 if test -n "$SVN2CL"; then
25466 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
25468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25469 for as_dir in $PATH
25472 test -z "$as_dir" && as_dir=.
25473 for ac_exec_ext in '' $ac_executable_extensions; do
25474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25475 ac_cv_prog_SVN2CL="$ac_prog"
25476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25484 SVN2CL=$ac_cv_prog_SVN2CL
25485 if test -n "$SVN2CL"; then
25486 echo "$as_me:$LINENO: result: $SVN2CL" >&5
25487 echo "${ECHO_T}$SVN2CL" >&6
25489 echo "$as_me:$LINENO: result: no" >&5
25490 echo "${ECHO_T}no" >&6
25493 test -n "$SVN2CL" && break
25498 if test x"$SVN2CL" != x; then
25500 HAVE_SVN2CL_FALSE='#'
25502 HAVE_SVN2CL_TRUE='#'
25509 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
25510 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
25511 # Check whether --enable-internal-headers or --disable-internal-headers was given.
25512 if test "${enable_internal_headers+set}" = set; then
25513 enableval="$enable_internal_headers"
25514 case "$enableval" in
25516 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
25517 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
25518 { (exit 1); exit 1; }; };;
25521 enable_internal_headers=yes
25526 if test x"$enable_internal_headers" = xyes; then
25527 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
25528 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
25530 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
25531 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
25534 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
25535 echo "${ECHO_T}$enable_internal_headers" >&6
25558 echo "$as_me:$LINENO: checking for supported APIs" >&5
25559 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
25560 # Check whether --enable-apis or --disable-apis was given.
25561 if test "${enable_apis+set}" = set; then
25562 enableval="$enable_apis"
25565 enable_apis=v13,net,v21
25568 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21'
25569 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21'
25570 enable_api_oldproc=
25575 for i in $enable_apis; do
25577 (compat) cat >>confdefs.h <<\_ACEOF
25578 #define VC_ENABLE_API_COMPAT 1
25581 enable_api_oldproc=${enable_api_oldproc:-1}
25582 enable_api_olduts=${enable_api_olduts:-1}
25584 (legacy) cat >>confdefs.h <<\_ACEOF
25585 #define VC_ENABLE_API_LEGACY 1
25588 enable_api_oldproc=${enable_api_oldproc:-1}
25589 enable_api_olduts=${enable_api_olduts:-1}
25591 (v11) cat >>confdefs.h <<\_ACEOF
25592 #define VC_ENABLE_API_V11 1
25595 enable_api_oldproc=${enable_api_oldproc:-1}
25596 enable_api_olduts=${enable_api_olduts:-1}
25598 (fscompat) cat >>confdefs.h <<\_ACEOF
25599 #define VC_ENABLE_API_FSCOMPAT 1
25602 (v13obs) cat >>confdefs.h <<\_ACEOF
25603 #define VC_ENABLE_API_V13OBS 1
25606 cat >>confdefs.h <<\_ACEOF
25607 #define VC_ENABLE_API_V13 1
25610 (v13) cat >>confdefs.h <<\_ACEOF
25611 #define VC_ENABLE_API_V13 1
25614 (net) cat >>confdefs.h <<\_ACEOF
25615 #define VC_ENABLE_API_NET 1
25618 (v21) cat >>confdefs.h <<\_ACEOF
25619 #define VC_ENABLE_API_V21 1
25622 (oldproc) enable_api_oldproc=2;;
25623 (olduts) enable_api_olduts=2;;
25624 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
25625 echo "$as_me: error: '$i' is not a supported API" >&2;}
25626 { (exit 1); exit 1; }; };;
25630 if test x"$enable_api_oldproc" != x; then
25631 cat >>confdefs.h <<\_ACEOF
25632 #define VC_ENABLE_API_OLDPROC 1
25635 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
25637 if test x"$enable_api_olduts" != x; then
25638 cat >>confdefs.h <<\_ACEOF
25639 #define VC_ENABLE_API_OLDUTS 1
25642 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
25644 echo "$as_me:$LINENO: result: $enable_apis" >&5
25645 echo "${ECHO_T}$enable_apis" >&6
25652 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
25653 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
25654 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 ac_cpp='$CPP $CPPFLAGS'
25660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25664 cat >conftest.$ac_ext <<_ACEOF
25666 #ifdef ENSC_SYSCALL_FALLBACK
25667 # include ENSC_SYSCALL_FALLBACK
25669 # include <asm/unistd.h>
25671 #ifdef __NR_vserver
25672 ensc_syscall_tmp_nr=__NR_vserver;
25673 ensc_syscall_tmp_src=ENSC_MARK
25677 ensc_syscall_tmp_nr=
25678 ensc_syscall_tmp_src=
25679 test x"$ensc_syscall_tmp_nr" != x || \
25680 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
25681 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
25682 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=.*)$')
25683 test "$ensc_syscall_tmp_nr" || {
25684 ensc_syscall_tmp_nr=273
25685 ensc_syscall_tmp_src=default
25688 if test x"$ensc_syscall_tmp_nr" = x; then
25689 { { 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
25690 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;}
25691 { (exit 1); exit 1; }; }
25694 ac_cpp='$CPP $CPPFLAGS'
25695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25700 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
25703 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
25704 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
25706 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
25707 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
25709 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
25711 cat >>confdefs.h <<_ACEOF
25712 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
25720 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
25721 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
25723 # Check whether --with-syscall or --without-syscall was given.
25724 if test "${with_syscall+set}" = set; then
25725 withval="$with_syscall"
25730 echo "$as_me:$LINENO: result: $with_syscall" >&5
25731 echo "${ECHO_T}$with_syscall" >&6
25733 case x"$with_syscall" in
25735 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
25736 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
25737 if test "${ensc_cv_test_syscall+set}" = set; then
25738 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 ac_cpp='$CPP $CPPFLAGS'
25743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25747 cat >conftest.$ac_ext <<_ACEOF
25750 cat confdefs.h >>conftest.$ac_ext
25751 cat >>conftest.$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25754 #include "$srcdir/lib/syscall-wrap.h"
25757 #define __NR_foo0 300
25758 #define __NR_foo1 301
25759 #define __NR_foo2 302
25760 #define __NR_foo3 303
25761 #define __NR_foo4 304
25762 #define __NR_foo5 305
25763 inline static _syscall0(int, foo0)
25764 inline static _syscall1(int, foo1, int, a)
25765 inline static _syscall2(int, foo2, int, a, int, b)
25766 inline static _syscall3(int, foo3, int, a, int, b, int, c)
25767 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
25768 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
25780 rm -f conftest.$ac_objext
25781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25782 (eval $ac_compile) 2>conftest.er1
25784 grep -v '^ *+' conftest.er1 >conftest.err
25786 cat conftest.err >&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } &&
25789 { ac_try='test -z "$ac_c_werror_flag"
25790 || test ! -s conftest.err'
25791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25792 (eval $ac_try) 2>&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); }; } &&
25796 { ac_try='test -s conftest.$ac_objext'
25797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25798 (eval $ac_try) 2>&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; }; then
25802 ensc_cv_test_syscall=fast
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.$ac_ext >&5
25807 ensc_cv_test_syscall=traditional
25809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25819 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
25820 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
25821 with_syscall=$ensc_cv_test_syscall
25823 (xfast|xtraditional)
25826 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
25827 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
25828 { (exit 1); exit 1; }; }
25832 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
25833 with_syscall='alternative'
25836 if test x"$with_syscall" = xtraditional; then
25838 cat >>confdefs.h <<\_ACEOF
25839 #define ENSC_SYSCALL_TRADITIONAL 1
25850 ac_cpp='$CXXCPP $CPPFLAGS'
25851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25855 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
25856 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
25857 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
25858 echo $ECHO_N "(cached) $ECHO_C" >&6
25861 cat >conftest.$ac_ext <<_ACEOF
25864 cat confdefs.h >>conftest.$ac_ext
25865 cat >>conftest.$ac_ext <<_ACEOF
25866 /* end confdefs.h. */
25867 #include <ext2fs/ext2_fs.h>
25868 int main() { return 0; }
25870 rm -f conftest.$ac_objext
25871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25872 (eval $ac_compile) 2>conftest.er1
25874 grep -v '^ *+' conftest.er1 >conftest.err
25876 cat conftest.err >&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); } &&
25879 { ac_try='test -z "$ac_cxx_werror_flag"
25880 || test ! -s conftest.err'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; } &&
25886 { ac_try='test -s conftest.$ac_objext'
25887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888 (eval $ac_try) 2>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); }; }; then
25892 ensc_cv_test_ext2fs_header=e2fsprogs
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25898 cat >conftest.$ac_ext <<_ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904 #include <linux/ext2_fs.h>
25905 int main() { return 0; }
25907 rm -f conftest.$ac_objext
25908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25909 (eval $ac_compile) 2>conftest.er1
25911 grep -v '^ *+' conftest.er1 >conftest.err
25913 cat conftest.err >&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); } &&
25916 { ac_try='test -z "$ac_cxx_werror_flag"
25917 || test ! -s conftest.err'
25918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919 (eval $ac_try) 2>&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); }; } &&
25923 { ac_try='test -s conftest.$ac_objext'
25924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925 (eval $ac_try) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); }; }; then
25929 ensc_cv_test_ext2fs_header=kernel
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.$ac_ext >&5
25935 ensc_cv_test_ext2fs_header=none
25937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25941 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
25942 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
25944 case x"$ensc_cv_test_ext2fs_header" in
25946 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
25947 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
25948 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
25949 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
25953 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
25955 # Is the header compilable?
25956 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
25957 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
25958 cat >conftest.$ac_ext <<_ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964 $ac_includes_default
25965 #include <ext2fs/ext2_fs.h>
25967 rm -f conftest.$ac_objext
25968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25969 (eval $ac_compile) 2>conftest.er1
25971 grep -v '^ *+' conftest.er1 >conftest.err
25973 cat conftest.err >&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); } &&
25976 { ac_try='test -z "$ac_cxx_werror_flag"
25977 || test ! -s conftest.err'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; } &&
25983 { ac_try='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 ac_header_compiler=yes
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.$ac_ext >&5
25994 ac_header_compiler=no
25996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25998 echo "${ECHO_T}$ac_header_compiler" >&6
26000 # Is the header present?
26001 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26002 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26003 cat >conftest.$ac_ext <<_ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009 #include <ext2fs/ext2_fs.h>
26011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26014 grep -v '^ *+' conftest.er1 >conftest.err
26016 cat conftest.err >&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } >/dev/null; then
26019 if test -s conftest.err; then
26020 ac_cpp_err=$ac_cxx_preproc_warn_flag
26021 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26028 if test -z "$ac_cpp_err"; then
26029 ac_header_preproc=yes
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26034 ac_header_preproc=no
26036 rm -f conftest.err conftest.$ac_ext
26037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26038 echo "${ECHO_T}$ac_header_preproc" >&6
26040 # So? What about this header?
26041 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26043 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26044 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26045 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26046 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26047 ac_header_preproc=yes
26050 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26051 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26053 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26054 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26055 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26056 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26057 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26058 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26059 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26060 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26061 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26064 ## --------------------------------------------- ##
26065 ## Report this to vserver@list.linux-vserver.org ##
26066 ## --------------------------------------------- ##
26069 sed "s/^/$as_me: WARNING: /" >&2
26072 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26073 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26074 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26075 echo $ECHO_N "(cached) $ECHO_C" >&6
26077 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26079 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26080 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26083 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26085 cat >>confdefs.h <<\_ACEOF
26086 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26090 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26091 See \`config.log' for more details." >&5
26092 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26093 See \`config.log' for more details." >&2;}
26094 { (exit 1); exit 1; }; }
26100 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26101 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26102 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26103 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26104 echo $ECHO_N "(cached) $ECHO_C" >&6
26106 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26107 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26109 # Is the header compilable?
26110 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26111 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26112 cat >conftest.$ac_ext <<_ACEOF
26115 cat confdefs.h >>conftest.$ac_ext
26116 cat >>conftest.$ac_ext <<_ACEOF
26117 /* end confdefs.h. */
26118 $ac_includes_default
26119 #include <linux/ext2_fs.h>
26121 rm -f conftest.$ac_objext
26122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26123 (eval $ac_compile) 2>conftest.er1
26125 grep -v '^ *+' conftest.er1 >conftest.err
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } &&
26130 { ac_try='test -z "$ac_cxx_werror_flag"
26131 || test ! -s conftest.err'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; } &&
26137 { ac_try='test -s conftest.$ac_objext'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; }; then
26143 ac_header_compiler=yes
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.$ac_ext >&5
26148 ac_header_compiler=no
26150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26152 echo "${ECHO_T}$ac_header_compiler" >&6
26154 # Is the header present?
26155 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26156 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26157 cat >conftest.$ac_ext <<_ACEOF
26160 cat confdefs.h >>conftest.$ac_ext
26161 cat >>conftest.$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26163 #include <linux/ext2_fs.h>
26165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26168 grep -v '^ *+' conftest.er1 >conftest.err
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } >/dev/null; then
26173 if test -s conftest.err; then
26174 ac_cpp_err=$ac_cxx_preproc_warn_flag
26175 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26182 if test -z "$ac_cpp_err"; then
26183 ac_header_preproc=yes
26185 echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26188 ac_header_preproc=no
26190 rm -f conftest.err conftest.$ac_ext
26191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26192 echo "${ECHO_T}$ac_header_preproc" >&6
26194 # So? What about this header?
26195 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26197 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26198 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26199 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26200 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26201 ac_header_preproc=yes
26204 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
26205 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
26206 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
26207 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26208 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
26209 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
26210 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26211 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26212 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
26213 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26214 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
26215 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26218 ## --------------------------------------------- ##
26219 ## Report this to vserver@list.linux-vserver.org ##
26220 ## --------------------------------------------- ##
26223 sed "s/^/$as_me: WARNING: /" >&2
26226 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26227 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26228 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26229 echo $ECHO_N "(cached) $ECHO_C" >&6
26231 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
26233 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26234 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26237 if test $ac_cv_header_linux_ext2_fs_h = yes; then
26239 cat >>confdefs.h <<\_ACEOF
26240 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
26244 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
26245 See \`config.log' for more details." >&5
26246 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
26247 See \`config.log' for more details." >&2;}
26248 { (exit 1); exit 1; }; }
26254 { { echo "$as_me:$LINENO: error:
26255 ext2fs headers were not found, or they are not usable. This can have
26256 the following reasons:
26258 * you have neither the e2fsprogs nor the kernel headers installed
26260 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26261 and you do not have e2fsprogs headers installed; please try to install
26262 - e2fsprogs-devel (for Red Hat), or
26263 - lib*ext2fs2-devel (for Mandriva), or
26264 - e2fslibs-dev (for Debian)
26267 * kernel headers are broken and your e2fsprogs headers are too old;
26268 until version 1.27 (inclusive), they are using reserved C++ keywords
26270 * kernel headers are broken and your e2fsprogs headers are too new;
26271 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26272 C++, for details and a solution see
26273 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26276 In the latter two cases you have the following options:
26277 * fix the headers manually, or
26278 * install a stable version of e2fsprogs (e.g. 1.34), or
26279 * use good kernel headers (from linux 2.4.x)
26281 See \`config.log' for more details." >&5
26282 echo "$as_me: error:
26283 ext2fs headers were not found, or they are not usable. This can have
26284 the following reasons:
26286 * you have neither the e2fsprogs nor the kernel headers installed
26288 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26289 and you do not have e2fsprogs headers installed; please try to install
26290 - e2fsprogs-devel (for Red Hat), or
26291 - lib*ext2fs2-devel (for Mandriva), or
26292 - e2fslibs-dev (for Debian)
26295 * kernel headers are broken and your e2fsprogs headers are too old;
26296 until version 1.27 (inclusive), they are using reserved C++ keywords
26298 * kernel headers are broken and your e2fsprogs headers are too new;
26299 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26300 C++, for details and a solution see
26301 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26304 In the latter two cases you have the following options:
26305 * fix the headers manually, or
26306 * install a stable version of e2fsprogs (e.g. 1.34), or
26307 * use good kernel headers (from linux 2.4.x)
26309 See \`config.log' for more details." >&2;}
26310 { (exit 1); exit 1; }; }
26314 ac_cpp='$CPP $CPPFLAGS'
26315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26321 for ac_func in vserver
26323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26324 echo "$as_me:$LINENO: checking for $ac_func" >&5
26325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26326 if eval "test \"\${$as_ac_var+set}\" = set"; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26329 cat >conftest.$ac_ext <<_ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26337 #define $ac_func innocuous_$ac_func
26339 /* System header to define __stub macros and hopefully few prototypes,
26340 which can conflict with char $ac_func (); below.
26341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26342 <limits.h> exists even on freestanding compilers. */
26345 # include <limits.h>
26347 # include <assert.h>
26352 /* Override any gcc2 internal prototype to avoid an error. */
26357 /* We use char because int might match the return type of a gcc2
26358 builtin and then its argument prototype would still apply. */
26360 /* The GNU C library defines this for functions which it implements
26361 to always fail with ENOSYS. Some functions are actually named
26362 something starting with __ and the normal name is an alias. */
26363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26366 char (*f) () = $ac_func;
26375 return f != $ac_func;
26380 rm -f conftest.$ac_objext conftest$ac_exeext
26381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26382 (eval $ac_link) 2>conftest.er1
26384 grep -v '^ *+' conftest.er1 >conftest.err
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } &&
26389 { ac_try='test -z "$ac_c_werror_flag"
26390 || test ! -s conftest.err'
26391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26392 (eval $ac_try) 2>&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); }; } &&
26396 { ac_try='test -s conftest$ac_exeext'
26397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398 (eval $ac_try) 2>&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 eval "$as_ac_var=yes"
26404 echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26407 eval "$as_ac_var=no"
26409 rm -f conftest.err conftest.$ac_objext \
26410 conftest$ac_exeext conftest.$ac_ext
26412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26414 if test `eval echo '${'$as_ac_var'}'` = yes; then
26415 cat >>confdefs.h <<_ACEOF
26416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26422 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
26423 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
26424 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
26425 echo $ECHO_N "(cached) $ECHO_C" >&6
26427 cat >conftest.$ac_ext <<_ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433 #include <linux/fs.h>
26439 char *p = (char *) MS_MOVE;
26446 rm -f conftest.$ac_objext
26447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26448 (eval $ac_compile) 2>conftest.er1
26450 grep -v '^ *+' conftest.er1 >conftest.err
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try='test -z "$ac_c_werror_flag"
26456 || test ! -s conftest.err'
26457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458 (eval $ac_try) 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; } &&
26462 { ac_try='test -s conftest.$ac_objext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 ac_cv_have_decl_MS_MOVE=yes
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26473 ac_cv_have_decl_MS_MOVE=no
26475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26477 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
26478 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
26479 if test $ac_cv_have_decl_MS_MOVE = yes; then
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE_DECL_MS_MOVE 1
26487 cat >>confdefs.h <<_ACEOF
26488 #define HAVE_DECL_MS_MOVE 0
26495 echo "$as_me:$LINENO: checking for xid_t" >&5
26496 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
26497 if test "${ac_cv_type_xid_t+set}" = set; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26500 cat >conftest.$ac_ext <<_ACEOF
26503 cat confdefs.h >>conftest.$ac_ext
26504 cat >>conftest.$ac_ext <<_ACEOF
26505 /* end confdefs.h. */
26506 #include <sys/types.h>
26513 if (sizeof (xid_t))
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26523 grep -v '^ *+' conftest.er1 >conftest.err
26525 cat conftest.err >&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try='test -z "$ac_c_werror_flag"
26529 || test ! -s conftest.err'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; } &&
26535 { ac_try='test -s conftest.$ac_objext'
26536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537 (eval $ac_try) 2>&5
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }; }; then
26541 ac_cv_type_xid_t=yes
26543 echo "$as_me: failed program was:" >&5
26544 sed 's/^/| /' conftest.$ac_ext >&5
26546 ac_cv_type_xid_t=no
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26550 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
26551 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
26552 if test $ac_cv_type_xid_t = yes; then
26554 cat >>confdefs.h <<_ACEOF
26555 #define HAVE_XID_T 1
26561 echo "$as_me:$LINENO: checking for nid_t" >&5
26562 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
26563 if test "${ac_cv_type_nid_t+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 cat >conftest.$ac_ext <<_ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 #include <sys/types.h>
26579 if (sizeof (nid_t))
26585 rm -f conftest.$ac_objext
26586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26587 (eval $ac_compile) 2>conftest.er1
26589 grep -v '^ *+' conftest.er1 >conftest.err
26591 cat conftest.err >&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } &&
26594 { ac_try='test -z "$ac_c_werror_flag"
26595 || test ! -s conftest.err'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; } &&
26601 { ac_try='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 ac_cv_type_nid_t=yes
26609 echo "$as_me: failed program was:" >&5
26610 sed 's/^/| /' conftest.$ac_ext >&5
26612 ac_cv_type_nid_t=no
26614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26616 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
26617 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
26618 if test $ac_cv_type_nid_t = yes; then
26620 cat >>confdefs.h <<_ACEOF
26621 #define HAVE_NID_T 1
26629 for ac_header in sys/capability.h
26631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26633 echo "$as_me:$LINENO: checking for $ac_header" >&5
26634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26641 # Is the header compilable?
26642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26644 cat >conftest.$ac_ext <<_ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 $ac_includes_default
26651 #include <$ac_header>
26653 rm -f conftest.$ac_objext
26654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26655 (eval $ac_compile) 2>conftest.er1
26657 grep -v '^ *+' conftest.er1 >conftest.err
26659 cat conftest.err >&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); } &&
26662 { ac_try='test -z "$ac_c_werror_flag"
26663 || test ! -s conftest.err'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; } &&
26669 { ac_try='test -s conftest.$ac_objext'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; }; then
26675 ac_header_compiler=yes
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26680 ac_header_compiler=no
26682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26684 echo "${ECHO_T}$ac_header_compiler" >&6
26686 # Is the header present?
26687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26689 cat >conftest.$ac_ext <<_ACEOF
26692 cat confdefs.h >>conftest.$ac_ext
26693 cat >>conftest.$ac_ext <<_ACEOF
26694 /* end confdefs.h. */
26695 #include <$ac_header>
26697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26700 grep -v '^ *+' conftest.er1 >conftest.err
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } >/dev/null; then
26705 if test -s conftest.err; then
26706 ac_cpp_err=$ac_c_preproc_warn_flag
26707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26714 if test -z "$ac_cpp_err"; then
26715 ac_header_preproc=yes
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.$ac_ext >&5
26720 ac_header_preproc=no
26722 rm -f conftest.err conftest.$ac_ext
26723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26724 echo "${ECHO_T}$ac_header_preproc" >&6
26726 # So? What about this header?
26727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26733 ac_header_preproc=yes
26736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26750 ## --------------------------------------------- ##
26751 ## Report this to vserver@list.linux-vserver.org ##
26752 ## --------------------------------------------- ##
26755 sed "s/^/$as_me: WARNING: /" >&2
26758 echo "$as_me:$LINENO: checking for $ac_header" >&5
26759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 eval "$as_ac_Header=\$ac_header_preproc"
26765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26770 cat >>confdefs.h <<_ACEOF
26771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26779 if test x"$ensc_have_dietlibc" = xno; then
26780 echo "$as_me:$LINENO: checking for openpty" >&5
26781 echo $ECHO_N "checking for openpty... $ECHO_C" >&6
26782 if test "${ac_cv_func_openpty+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 cat >conftest.$ac_ext <<_ACEOF
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26791 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
26792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26793 #define openpty innocuous_openpty
26795 /* System header to define __stub macros and hopefully few prototypes,
26796 which can conflict with char openpty (); below.
26797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26798 <limits.h> exists even on freestanding compilers. */
26801 # include <limits.h>
26803 # include <assert.h>
26808 /* Override any gcc2 internal prototype to avoid an error. */
26813 /* We use char because int might match the return type of a gcc2
26814 builtin and then its argument prototype would still apply. */
26816 /* The GNU C library defines this for functions which it implements
26817 to always fail with ENOSYS. Some functions are actually named
26818 something starting with __ and the normal name is an alias. */
26819 #if defined (__stub_openpty) || defined (__stub___openpty)
26822 char (*f) () = openpty;
26831 return f != openpty;
26836 rm -f conftest.$ac_objext conftest$ac_exeext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26838 (eval $ac_link) 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 { ac_try='test -z "$ac_c_werror_flag"
26846 || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try='test -s conftest$ac_exeext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 ac_cv_func_openpty=yes
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26863 ac_cv_func_openpty=no
26865 rm -f conftest.err conftest.$ac_objext \
26866 conftest$ac_exeext conftest.$ac_ext
26868 echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
26869 echo "${ECHO_T}$ac_cv_func_openpty" >&6
26870 if test $ac_cv_func_openpty = yes; then
26874 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
26875 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
26876 if test "${ac_cv_lib_util_openpty+set}" = set; then
26877 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 ac_check_lib_save_LIBS=$LIBS
26880 LIBS="-lutil $LIBS"
26881 cat >conftest.$ac_ext <<_ACEOF
26884 cat confdefs.h >>conftest.$ac_ext
26885 cat >>conftest.$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26888 /* Override any gcc2 internal prototype to avoid an error. */
26892 /* We use char because int might match the return type of a gcc2
26893 builtin and then its argument prototype would still apply. */
26903 rm -f conftest.$ac_objext conftest$ac_exeext
26904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26905 (eval $ac_link) 2>conftest.er1
26907 grep -v '^ *+' conftest.er1 >conftest.err
26909 cat conftest.err >&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } &&
26912 { ac_try='test -z "$ac_c_werror_flag"
26913 || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 ac_cv_lib_util_openpty=yes
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26930 ac_cv_lib_util_openpty=no
26932 rm -f conftest.err conftest.$ac_objext \
26933 conftest$ac_exeext conftest.$ac_ext
26934 LIBS=$ac_check_lib_save_LIBS
26936 echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
26937 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
26938 if test $ac_cv_lib_util_openpty = yes; then
26939 cat >>confdefs.h <<_ACEOF
26940 #define HAVE_LIBUTIL 1
26943 LIBS="-lutil $LIBS"
26946 { { echo "$as_me:$LINENO: error:
26948 **** openpty could not be found
26950 echo "$as_me: error:
26952 **** openpty could not be found
26954 { (exit 1); exit 1; }; }
26962 if test x"$ensc_cv_c99_c99compiler" = xyes; then
26963 ensc_have_beecrypt=yes
26965 if test x"$ensc_have_beecrypt" = xyes; then
26966 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
26967 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
26968 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
26969 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
26973 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
26975 # Is the header compilable?
26976 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
26977 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
26978 cat >conftest.$ac_ext <<_ACEOF
26981 cat confdefs.h >>conftest.$ac_ext
26982 cat >>conftest.$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 $ac_includes_default
26985 #include <beecrypt/beecrypt.h>
26987 rm -f conftest.$ac_objext
26988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26989 (eval $ac_compile) 2>conftest.er1
26991 grep -v '^ *+' conftest.er1 >conftest.err
26993 cat conftest.err >&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } &&
26996 { ac_try='test -z "$ac_c_werror_flag"
26997 || test ! -s conftest.err'
26998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26999 (eval $ac_try) 2>&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); }; } &&
27003 { ac_try='test -s conftest.$ac_objext'
27004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27005 (eval $ac_try) 2>&5
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); }; }; then
27009 ac_header_compiler=yes
27011 echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.$ac_ext >&5
27014 ac_header_compiler=no
27016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27018 echo "${ECHO_T}$ac_header_compiler" >&6
27020 # Is the header present?
27021 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27022 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
27023 cat >conftest.$ac_ext <<_ACEOF
27026 cat confdefs.h >>conftest.$ac_ext
27027 cat >>conftest.$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27029 #include <beecrypt/beecrypt.h>
27031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27034 grep -v '^ *+' conftest.er1 >conftest.err
27036 cat conftest.err >&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } >/dev/null; then
27039 if test -s conftest.err; then
27040 ac_cpp_err=$ac_c_preproc_warn_flag
27041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27048 if test -z "$ac_cpp_err"; then
27049 ac_header_preproc=yes
27051 echo "$as_me: failed program was:" >&5
27052 sed 's/^/| /' conftest.$ac_ext >&5
27054 ac_header_preproc=no
27056 rm -f conftest.err conftest.$ac_ext
27057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27058 echo "${ECHO_T}$ac_header_preproc" >&6
27060 # So? What about this header?
27061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27063 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27064 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27065 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27066 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27067 ac_header_preproc=yes
27070 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27071 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27072 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27073 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27074 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27075 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27076 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27077 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27078 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27079 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27080 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27081 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27084 ## --------------------------------------------- ##
27085 ## Report this to vserver@list.linux-vserver.org ##
27086 ## --------------------------------------------- ##
27089 sed "s/^/$as_me: WARNING: /" >&2
27092 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27093 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27094 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27099 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27100 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27103 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27106 ensc_have_beecrypt=no
27112 if test x"$ensc_have_beecrypt" = xyes; then
27113 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27114 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27115 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 ac_check_lib_save_LIBS=$LIBS
27119 LIBS="-lbeecrypt $LIBS"
27120 cat >conftest.$ac_ext <<_ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 /* Override any gcc2 internal prototype to avoid an error. */
27131 /* We use char because int might match the return type of a gcc2
27132 builtin and then its argument prototype would still apply. */
27133 char hashFunctionContextInit ();
27137 hashFunctionContextInit ();
27142 rm -f conftest.$ac_objext conftest$ac_exeext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27144 (eval $ac_link) 2>conftest.er1
27146 grep -v '^ *+' conftest.er1 >conftest.err
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } &&
27151 { ac_try='test -z "$ac_c_werror_flag"
27152 || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try='test -s conftest$ac_exeext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27169 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27171 rm -f conftest.err conftest.$ac_objext \
27172 conftest$ac_exeext conftest.$ac_ext
27173 LIBS=$ac_check_lib_save_LIBS
27175 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27176 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27177 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27180 ensc_have_beecrypt=no
27185 if test x"$ensc_have_beecrypt" != xyes; then
27186 { echo "$as_me:$LINENO: WARNING:
27188 **** 'beecrypt' could not be found;
27189 **** this will disable the build of 'vhashify'
27191 echo "$as_me: WARNING:
27193 **** 'beecrypt' could not be found;
27194 **** this will disable the build of 'vhashify'
27198 ensc_have_beecrypt=no
27203 if test x"$ensc_have_beecrypt" = xyes; then
27204 ENSC_HAVE_BEECRYPT_TRUE=
27205 ENSC_HAVE_BEECRYPT_FALSE='#'
27207 ENSC_HAVE_BEECRYPT_TRUE='#'
27208 ENSC_HAVE_BEECRYPT_FALSE=
27214 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27215 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27217 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27218 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27224 cat >>confdefs.h <<\_ACEOF
27225 #define UTMP_GID 22
27231 cat >>confdefs.h <<\_ACEOF
27232 #define HAVE_GROWING_STACK 1
27238 cat >>confdefs.h <<\_ACEOF
27239 #define _FILE_OFFSET_BITS 64
27243 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27244 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27245 ensc_diet_msg=" (you have been warned)"
27246 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27247 ensc_diet_compat_msg=" (using -lcompat)"
27248 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27249 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27250 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27251 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27252 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27258 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27260 cat >confcache <<\_ACEOF
27261 # This file is a shell script that caches the results of configure
27262 # tests run on this system so they can be shared between configure
27263 # scripts and configure runs, see configure's option --config-cache.
27264 # It is not useful on other systems. If it contains results you don't
27265 # want to keep, you may remove or edit it.
27267 # config.status only pays attention to the cache file if you give it
27268 # the --recheck option to rerun configure.
27270 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27271 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27272 # following values.
27276 # The following way of writing the cache mishandles newlines in values,
27277 # but we know of no workaround that is simple, portable, and efficient.
27278 # So, don't put newlines in cache variables' values.
27279 # Ultrix sh set writes to stderr and can't be redirected directly,
27280 # and sets the high bit in the cache file unless we assign to the vars.
27283 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27285 # `set' does not quote correctly, so add quotes (double-quote
27286 # substitution turns \\\\ into \\, and sed turns \\ into \).
27289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27292 # `set' quotes correctly as required by POSIX, so do not add quotes.
27294 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27303 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27305 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27306 if test -w $cache_file; then
27307 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27308 cat confcache >$cache_file
27310 echo "not updating unwritable cache $cache_file"
27315 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27316 # Let make expand exec_prefix.
27317 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27319 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27320 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27321 # trailing colons and then remove the whole line if VPATH becomes empty
27322 # (actually we leave an empty line to preserve line numbers).
27323 if test "x$srcdir" = x.; then
27324 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27325 s/:*\$(srcdir):*/:/;
27326 s/:*\${srcdir}:*/:/;
27328 s/^\([^=]*=[ ]*\):*/\1/;
27334 DEFS=-DHAVE_CONFIG_H
27338 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27339 # 1. Remove the extension, and $U if already installed.
27340 ac_i=`echo "$ac_i" |
27341 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27343 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27344 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
27346 LIBOBJS=$ac_libobjs
27348 LTLIBOBJS=$ac_ltlibobjs
27351 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27352 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27353 Usually this means the macro was only invoked conditionally." >&5
27354 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27355 Usually this means the macro was only invoked conditionally." >&2;}
27356 { (exit 1); exit 1; }; }
27358 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27359 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27360 Usually this means the macro was only invoked conditionally." >&5
27361 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27362 Usually this means the macro was only invoked conditionally." >&2;}
27363 { (exit 1); exit 1; }; }
27365 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27366 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27367 Usually this means the macro was only invoked conditionally." >&5
27368 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27369 Usually this means the macro was only invoked conditionally." >&2;}
27370 { (exit 1); exit 1; }; }
27372 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27373 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27374 Usually this means the macro was only invoked conditionally." >&5
27375 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27376 Usually this means the macro was only invoked conditionally." >&2;}
27377 { (exit 1); exit 1; }; }
27379 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
27380 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27381 Usually this means the macro was only invoked conditionally." >&5
27382 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27383 Usually this means the macro was only invoked conditionally." >&2;}
27384 { (exit 1); exit 1; }; }
27386 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
27387 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27388 Usually this means the macro was only invoked conditionally." >&5
27389 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27390 Usually this means the macro was only invoked conditionally." >&2;}
27391 { (exit 1); exit 1; }; }
27393 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
27394 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
27395 Usually this means the macro was only invoked conditionally." >&5
27396 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
27397 Usually this means the macro was only invoked conditionally." >&2;}
27398 { (exit 1); exit 1; }; }
27400 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
27401 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
27402 Usually this means the macro was only invoked conditionally." >&5
27403 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
27404 Usually this means the macro was only invoked conditionally." >&2;}
27405 { (exit 1); exit 1; }; }
27407 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27408 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27409 Usually this means the macro was only invoked conditionally." >&5
27410 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27411 Usually this means the macro was only invoked conditionally." >&2;}
27412 { (exit 1); exit 1; }; }
27414 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27415 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27416 Usually this means the macro was only invoked conditionally." >&5
27417 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27418 Usually this means the macro was only invoked conditionally." >&2;}
27419 { (exit 1); exit 1; }; }
27421 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27422 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27423 Usually this means the macro was only invoked conditionally." >&5
27424 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27425 Usually this means the macro was only invoked conditionally." >&2;}
27426 { (exit 1); exit 1; }; }
27428 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27429 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27430 Usually this means the macro was only invoked conditionally." >&5
27431 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27432 Usually this means the macro was only invoked conditionally." >&2;}
27433 { (exit 1); exit 1; }; }
27435 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27436 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27437 Usually this means the macro was only invoked conditionally." >&5
27438 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27439 Usually this means the macro was only invoked conditionally." >&2;}
27440 { (exit 1); exit 1; }; }
27442 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27443 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27444 Usually this means the macro was only invoked conditionally." >&5
27445 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27446 Usually this means the macro was only invoked conditionally." >&2;}
27447 { (exit 1); exit 1; }; }
27449 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27450 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27451 Usually this means the macro was only invoked conditionally." >&5
27452 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27453 Usually this means the macro was only invoked conditionally." >&2;}
27454 { (exit 1); exit 1; }; }
27456 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
27457 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27458 Usually this means the macro was only invoked conditionally." >&5
27459 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27460 Usually this means the macro was only invoked conditionally." >&2;}
27461 { (exit 1); exit 1; }; }
27463 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
27464 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27465 Usually this means the macro was only invoked conditionally." >&5
27466 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27467 Usually this means the macro was only invoked conditionally." >&2;}
27468 { (exit 1); exit 1; }; }
27470 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
27471 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
27472 Usually this means the macro was only invoked conditionally." >&5
27473 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
27474 Usually this means the macro was only invoked conditionally." >&2;}
27475 { (exit 1); exit 1; }; }
27477 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
27478 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27479 Usually this means the macro was only invoked conditionally." >&5
27480 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27481 Usually this means the macro was only invoked conditionally." >&2;}
27482 { (exit 1); exit 1; }; }
27484 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
27485 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27486 Usually this means the macro was only invoked conditionally." >&5
27487 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27488 Usually this means the macro was only invoked conditionally." >&2;}
27489 { (exit 1); exit 1; }; }
27491 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
27492 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27493 Usually this means the macro was only invoked conditionally." >&5
27494 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27495 Usually this means the macro was only invoked conditionally." >&2;}
27496 { (exit 1); exit 1; }; }
27501 CC: $CC, $($CC --version | sed -e '1p;d')
27502 CXX: $CXX, $($CXX --version | sed -e '1p;d')
27503 CPPFLAGS: '$CPPFLAGS'
27505 CXXFLAGS: '$CXXFLAGS'
27506 build/host: $build/$host
27507 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
27508 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
27509 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
27510 Available APIs: $enable_apis
27511 ext2fs Source: $ensc_cv_test_ext2fs_header
27512 syscall(2) invocation: $with_syscall
27513 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
27517 sysconf-Directory: $sysconfdir
27518 cfg-Directory: $sysconfdir/vservers
27519 initrd-Directory: $initrddir
27520 pkgstate-Directory: $localstatedir/run/vservers
27521 vserver-Rootdir: $vserverdir
27523 echo "$FEATURES_TXT" >FEATURES.txt
27526 : ${CONFIG_STATUS=./config.status}
27527 ac_clean_files_save=$ac_clean_files
27528 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27529 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
27530 echo "$as_me: creating $CONFIG_STATUS" >&6;}
27531 cat >$CONFIG_STATUS <<_ACEOF
27533 # Generated by $as_me.
27534 # Run this file to recreate the current configuration.
27535 # Compiler output produced by configure, useful for debugging
27536 # configure, is in config.log if it exists.
27539 ac_cs_recheck=false
27541 SHELL=\${CONFIG_SHELL-$SHELL}
27544 cat >>$CONFIG_STATUS <<\_ACEOF
27545 ## --------------------- ##
27546 ## M4sh Initialization. ##
27547 ## --------------------- ##
27549 # Be Bourne compatible
27550 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27553 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27554 # is contrary to our usage. Disable this feature.
27555 alias -g '${1+"$@"}'='"$@"'
27556 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27559 DUALCASE=1; export DUALCASE # for MKS sh
27561 # Support unset when possible.
27562 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27569 # Work around bugs in pre-3.0 UWIN ksh.
27570 $as_unset ENV MAIL MAILPATH
27577 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
27578 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
27579 LC_TELEPHONE LC_TIME
27581 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27582 eval $as_var=C; export $as_var
27588 # Required to use basename.
27589 if expr a : '\(a\)' >/dev/null 2>&1; then
27595 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
27596 as_basename=basename
27602 # Name of the executable.
27603 as_me=`$as_basename "$0" ||
27604 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27605 X"$0" : 'X\(//\)$' \| \
27606 X"$0" : 'X\(/\)$' \| \
27607 . : '\(.\)' 2>/dev/null ||
27609 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
27610 /^X\/\(\/\/\)$/{ s//\1/; q; }
27611 /^X\/\(\/\).*/{ s//\1/; q; }
27615 # PATH needs CR, and LINENO needs CR and PATH.
27616 # Avoid depending upon Character Ranges.
27617 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27618 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27619 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27620 as_cr_digits='0123456789'
27621 as_cr_alnum=$as_cr_Letters$as_cr_digits
27623 # The user is always right.
27624 if test "${PATH_SEPARATOR+set}" != set; then
27625 echo "#! /bin/sh" >conf$$.sh
27626 echo "exit 0" >>conf$$.sh
27628 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27637 as_lineno_1=$LINENO
27638 as_lineno_2=$LINENO
27639 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27640 test "x$as_lineno_1" != "x$as_lineno_2" &&
27641 test "x$as_lineno_3" = "x$as_lineno_2" || {
27642 # Find who we are. Look in the path if we contain no path at all
27645 *[\\/]* ) as_myself=$0 ;;
27646 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27647 for as_dir in $PATH
27650 test -z "$as_dir" && as_dir=.
27651 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27656 # We did not find ourselves, most probably we were run as `sh COMMAND'
27657 # in which case we are not to be found in the path.
27658 if test "x$as_myself" = x; then
27661 if test ! -f "$as_myself"; then
27662 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
27663 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
27664 { (exit 1); exit 1; }; }
27666 case $CONFIG_SHELL in
27668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27669 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
27672 test -z "$as_dir" && as_dir=.
27673 for as_base in sh bash ksh sh5; do
27676 if ("$as_dir/$as_base" -c '
27677 as_lineno_1=$LINENO
27678 as_lineno_2=$LINENO
27679 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27680 test "x$as_lineno_1" != "x$as_lineno_2" &&
27681 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
27682 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
27683 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
27684 CONFIG_SHELL=$as_dir/$as_base
27685 export CONFIG_SHELL
27686 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
27694 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27695 # uniformly replaced by the line number. The first 'sed' inserts a
27696 # line-number line before each line; the second 'sed' does the real
27697 # work. The second script uses 'N' to pair each line-number line
27698 # with the numbered line, and appends trailing '-' during
27699 # substitution so that $LINENO is not a special case at line end.
27700 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27701 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
27702 sed '=' <$as_myself |
27707 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
27710 s,^['$as_cr_digits']*\n,,
27711 ' >$as_me.lineno &&
27712 chmod +x $as_me.lineno ||
27713 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
27714 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
27715 { (exit 1); exit 1; }; }
27717 # Don't try to exec as it changes $[0], causing all sort of problems
27718 # (the dirname of $[0] is not the place where we might find the
27719 # original and so on. Autoconf is especially sensible to this).
27721 # Exit status is that of the last command.
27726 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
27727 *c*,-n*) ECHO_N= ECHO_C='
27729 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
27730 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
27733 if expr a : '\(a\)' >/dev/null 2>&1; then
27739 rm -f conf$$ conf$$.exe conf$$.file
27741 if ln -s conf$$.file conf$$ 2>/dev/null; then
27742 # We could just check for DJGPP; but this test a) works b) is more generic
27743 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
27744 if test -f conf$$.exe; then
27745 # Don't use ln at all; we don't have any links
27750 elif ln conf$$.file conf$$ 2>/dev/null; then
27755 rm -f conf$$ conf$$.exe conf$$.file
27757 if mkdir -p . 2>/dev/null; then
27760 test -d ./-p && rmdir ./-p
27764 as_executable_p="test -f"
27766 # Sed expression to map a string onto a valid CPP name.
27767 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27769 # Sed expression to map a string onto a valid variable name.
27770 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27774 # We need space, tab and new line, in precisely that order.
27784 # Open the log real soon, to keep \$[0] and so on meaningful, and to
27785 # report actual input values of CONFIG_FILES etc. instead of their
27786 # values after options handling. Logging --version etc. is OK.
27790 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27791 ## Running $as_me. ##
27796 This file was extended by util-vserver $as_me 0.30.212, which was
27797 generated by GNU Autoconf 2.59. Invocation command line was
27799 CONFIG_FILES = $CONFIG_FILES
27800 CONFIG_HEADERS = $CONFIG_HEADERS
27801 CONFIG_LINKS = $CONFIG_LINKS
27802 CONFIG_COMMANDS = $CONFIG_COMMANDS
27806 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
27810 # Files that config.status was made for.
27811 if test -n "$ac_config_files"; then
27812 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
27815 if test -n "$ac_config_headers"; then
27816 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
27819 if test -n "$ac_config_links"; then
27820 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
27823 if test -n "$ac_config_commands"; then
27824 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
27827 cat >>$CONFIG_STATUS <<\_ACEOF
27830 \`$as_me' instantiates files from templates according to the
27831 current configuration.
27833 Usage: $0 [OPTIONS] [FILE]...
27835 -h, --help print this help, then exit
27836 -V, --version print version number, then exit
27837 -q, --quiet do not print progress messages
27838 -d, --debug don't remove temporary files
27839 --recheck update $as_me by reconfiguring in the same conditions
27840 --file=FILE[:TEMPLATE]
27841 instantiate the configuration file FILE
27842 --header=FILE[:TEMPLATE]
27843 instantiate the configuration header FILE
27845 Configuration files:
27848 Configuration headers:
27851 Configuration commands:
27854 Report bugs to <bug-autoconf@gnu.org>."
27857 cat >>$CONFIG_STATUS <<_ACEOF
27859 util-vserver config.status 0.30.212
27860 configured by $0, generated by GNU Autoconf 2.59,
27861 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
27863 Copyright (C) 2003 Free Software Foundation, Inc.
27864 This config.status script is free software; the Free Software Foundation
27865 gives unlimited permission to copy, distribute and modify it."
27870 cat >>$CONFIG_STATUS <<\_ACEOF
27871 # If no file are specified by the user, then we need to provide default
27872 # value. By we need to know if files were specified by the user.
27878 ac_option=`expr "x$1" : 'x\([^=]*\)='`
27879 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
27887 *) # This is not an option, so the user has probably given explicit
27890 ac_need_defaults=false;;
27894 # Handling of the options.
27896 cat >>$CONFIG_STATUS <<\_ACEOF
27897 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27899 --version | --vers* | -V )
27900 echo "$ac_cs_version"; exit 0 ;;
27902 # Conflict between --help and --header
27903 { { echo "$as_me:$LINENO: error: ambiguous option: $1
27904 Try \`$0 --help' for more information." >&5
27905 echo "$as_me: error: ambiguous option: $1
27906 Try \`$0 --help' for more information." >&2;}
27907 { (exit 1); exit 1; }; };;
27908 --help | --hel | -h )
27909 echo "$ac_cs_usage"; exit 0 ;;
27910 --debug | --d* | -d )
27912 --file | --fil | --fi | --f )
27914 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
27915 ac_need_defaults=false;;
27916 --header | --heade | --head | --hea )
27918 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
27919 ac_need_defaults=false;;
27920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27921 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27924 # This is an error.
27925 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
27926 Try \`$0 --help' for more information." >&5
27927 echo "$as_me: error: unrecognized option: $1
27928 Try \`$0 --help' for more information." >&2;}
27929 { (exit 1); exit 1; }; } ;;
27931 *) ac_config_targets="$ac_config_targets $1" ;;
27937 ac_configure_extra_args=
27939 if $ac_cs_silent; then
27941 ac_configure_extra_args="$ac_configure_extra_args --silent"
27945 cat >>$CONFIG_STATUS <<_ACEOF
27946 if \$ac_cs_recheck; then
27947 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
27948 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27953 cat >>$CONFIG_STATUS <<_ACEOF
27955 # INIT-COMMANDS section.
27958 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27964 cat >>$CONFIG_STATUS <<\_ACEOF
27965 for ac_config_target in $ac_config_targets
27967 case "$ac_config_target" in
27968 # Handling of arguments.
27969 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
27970 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27971 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
27972 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
27973 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27974 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27975 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
27976 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
27977 { (exit 1); exit 1; }; };;
27981 # If the user did not use the arguments to specify the items to instantiate,
27982 # then the envvar interface is used. Set only those that are not.
27983 # We use the long form for the default assignment because of an extremely
27984 # bizarre bug on SunOS 4.1.3.
27985 if $ac_need_defaults; then
27986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27991 # Have a temporary directory for convenience. Make it in the build tree
27992 # simply because there is no reason to put it here, and in addition,
27993 # creating and moving files from /tmp can sometimes cause problems.
27994 # Create a temporary directory, and hook for its removal unless debugging.
27997 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
27998 trap '{ (exit 1); exit 1; }' 1 2 13 15
28001 # Create a (secure) tmp directory for tmp files.
28004 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28005 test -n "$tmp" && test -d "$tmp"
28008 tmp=./confstat$$-$RANDOM
28009 (umask 077 && mkdir $tmp)
28012 echo "$me: cannot create a temporary directory in ." >&2
28013 { (exit 1); exit 1; }
28018 cat >>$CONFIG_STATUS <<_ACEOF
28021 # CONFIG_FILES section.
28024 # No need to generate the scripts if there are no CONFIG_FILES.
28025 # This happens for instance when ./config.status config.h
28026 if test -n "\$CONFIG_FILES"; then
28027 # Protect against being on the right side of a sed subst in config.status.
28028 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28029 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28030 s,@SHELL@,$SHELL,;t t
28031 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28032 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28033 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28034 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28035 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
28036 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
28037 s,@exec_prefix@,$exec_prefix,;t t
28038 s,@prefix@,$prefix,;t t
28039 s,@program_transform_name@,$program_transform_name,;t t
28040 s,@bindir@,$bindir,;t t
28041 s,@sbindir@,$sbindir,;t t
28042 s,@libexecdir@,$libexecdir,;t t
28043 s,@datadir@,$datadir,;t t
28044 s,@sysconfdir@,$sysconfdir,;t t
28045 s,@sharedstatedir@,$sharedstatedir,;t t
28046 s,@localstatedir@,$localstatedir,;t t
28047 s,@libdir@,$libdir,;t t
28048 s,@includedir@,$includedir,;t t
28049 s,@oldincludedir@,$oldincludedir,;t t
28050 s,@infodir@,$infodir,;t t
28051 s,@mandir@,$mandir,;t t
28052 s,@build_alias@,$build_alias,;t t
28053 s,@host_alias@,$host_alias,;t t
28054 s,@target_alias@,$target_alias,;t t
28055 s,@DEFS@,$DEFS,;t t
28056 s,@ECHO_C@,$ECHO_C,;t t
28057 s,@ECHO_N@,$ECHO_N,;t t
28058 s,@ECHO_T@,$ECHO_T,;t t
28059 s,@LIBS@,$LIBS,;t t
28060 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28061 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28062 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28063 s,@CYGPATH_W@,$CYGPATH_W,;t t
28064 s,@PACKAGE@,$PACKAGE,;t t
28065 s,@VERSION@,$VERSION,;t t
28066 s,@ACLOCAL@,$ACLOCAL,;t t
28067 s,@AUTOCONF@,$AUTOCONF,;t t
28068 s,@AUTOMAKE@,$AUTOMAKE,;t t
28069 s,@AUTOHEADER@,$AUTOHEADER,;t t
28070 s,@MAKEINFO@,$MAKEINFO,;t t
28071 s,@install_sh@,$install_sh,;t t
28072 s,@STRIP@,$STRIP,;t t
28073 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28074 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28075 s,@mkdir_p@,$mkdir_p,;t t
28077 s,@SET_MAKE@,$SET_MAKE,;t t
28078 s,@am__leading_dot@,$am__leading_dot,;t t
28079 s,@AMTAR@,$AMTAR,;t t
28080 s,@am__tar@,$am__tar,;t t
28081 s,@am__untar@,$am__untar,;t t
28082 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28083 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28084 s,@MAINT@,$MAINT,;t t
28085 s,@build@,$build,;t t
28086 s,@build_cpu@,$build_cpu,;t t
28087 s,@build_vendor@,$build_vendor,;t t
28088 s,@build_os@,$build_os,;t t
28089 s,@host@,$host,;t t
28090 s,@host_cpu@,$host_cpu,;t t
28091 s,@host_vendor@,$host_vendor,;t t
28092 s,@host_os@,$host_os,;t t
28093 s,@GPG_KEY@,$GPG_KEY,;t t
28095 s,@CXXFLAGS@,$CXXFLAGS,;t t
28096 s,@LDFLAGS@,$LDFLAGS,;t t
28097 s,@CPPFLAGS@,$CPPFLAGS,;t t
28098 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28099 s,@EXEEXT@,$EXEEXT,;t t
28100 s,@OBJEXT@,$OBJEXT,;t t
28101 s,@DEPDIR@,$DEPDIR,;t t
28102 s,@am__include@,$am__include,;t t
28103 s,@am__quote@,$am__quote,;t t
28104 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28105 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28106 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28107 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28108 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28109 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28111 s,@CFLAGS@,$CFLAGS,;t t
28112 s,@ac_ct_CC@,$ac_ct_CC,;t t
28113 s,@CCDEPMODE@,$CCDEPMODE,;t t
28114 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28115 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28116 s,@LN_S@,$LN_S,;t t
28117 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28118 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28119 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28120 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28121 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28123 s,@CHOWN@,$CHOWN,;t t
28126 s,@DIRNAME@,$DIRNAME,;t t
28127 s,@EGREP@,$EGREP,;t t
28129 s,@GREP@,$GREP,;t t
28131 s,@MKDIR@,$MKDIR,;t t
28132 s,@MKFIFO@,$MKFIFO,;t t
28133 s,@MKTEMP@,$MKTEMP,;t t
28134 s,@MOUNT@,$MOUNT,;t t
28136 s,@NICE@,$NICE,;t t
28139 s,@RMDIR@,$RMDIR,;t t
28144 s,@TOUCH@,$TOUCH,;t t
28146 s,@UMOUNT@,$UMOUNT,;t t
28149 s,@IPTABLES@,$IPTABLES,;t t
28150 s,@MODPROBE@,$MODPROBE,;t t
28151 s,@NAMEIF@,$NAMEIF,;t t
28152 s,@NOHUP@,$NOHUP,;t t
28153 s,@RMMOD@,$RMMOD,;t t
28154 s,@VCONFIG@,$VCONFIG,;t t
28155 s,@WGET@,$WGET,;t t
28156 s,@FILE@,$FILE,;t t
28157 s,@GZIP@,$GZIP,;t t
28158 s,@BZIP2@,$BZIP2,;t t
28159 s,@CPIO@,$CPIO,;t t
28160 s,@RESTORE@,$RESTORE,;t t
28161 s,@RSYNC@,$RSYNC,;t t
28162 s,@DOXYGEN@,$DOXYGEN,;t t
28163 s,@XSLTP@,$XSLTP,;t t
28164 s,@XSLTPROC@,$XSLTPROC,;t t
28165 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28166 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28167 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28168 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28169 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28170 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28171 s,@initrddir@,$initrddir,;t t
28172 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28173 s,@DIET@,$DIET,;t t
28174 s,@DIETFLAGS@,$DIETFLAGS,;t t
28175 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28176 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28177 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28178 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28179 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28180 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28181 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28182 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28183 s,@ECHO@,$ECHO,;t t
28185 s,@ac_ct_AR@,$ac_ct_AR,;t t
28186 s,@RANLIB@,$RANLIB,;t t
28187 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28189 s,@CXXCPP@,$CXXCPP,;t t
28191 s,@FFLAGS@,$FFLAGS,;t t
28192 s,@ac_ct_F77@,$ac_ct_F77,;t t
28193 s,@LIBTOOL@,$LIBTOOL,;t t
28194 s,@vserverdir@,$vserverdir,;t t
28195 s,@SVN2CL@,$SVN2CL,;t t
28196 s,@HAVE_SVN2CL_TRUE@,$HAVE_SVN2CL_TRUE,;t t
28197 s,@HAVE_SVN2CL_FALSE@,$HAVE_SVN2CL_FALSE,;t t
28198 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28199 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28200 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28201 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28202 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28203 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28204 s,@LIBOBJS@,$LIBOBJS,;t t
28205 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28210 cat >>$CONFIG_STATUS <<\_ACEOF
28211 # Split the substitutions into bite-sized pieces for seds with
28212 # small command number limits, like on Digital OSF/1 and HP-UX.
28213 ac_max_sed_lines=48
28214 ac_sed_frag=1 # Number of current file.
28215 ac_beg=1 # First line for current file.
28216 ac_end=$ac_max_sed_lines # Line after last line for current file.
28219 while $ac_more_lines; do
28220 if test $ac_beg -gt 1; then
28221 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28223 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28225 if test ! -s $tmp/subs.frag; then
28226 ac_more_lines=false
28228 # The purpose of the label and of the branching condition is to
28229 # speed up the sed processing (if there are no `@' at all, there
28230 # is no need to browse any of the substitutions).
28231 # These are the two extra sed commands mentioned above.
28233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28234 if test -z "$ac_sed_cmds"; then
28235 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28237 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28239 ac_sed_frag=`expr $ac_sed_frag + 1`
28241 ac_end=`expr $ac_end + $ac_max_sed_lines`
28244 if test -z "$ac_sed_cmds"; then
28247 fi # test -n "$CONFIG_FILES"
28250 cat >>$CONFIG_STATUS <<\_ACEOF
28251 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28252 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28254 - | *:- | *:-:* ) # input from stdin
28256 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28257 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28258 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28259 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28260 * ) ac_file_in=$ac_file.in ;;
28263 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28264 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28266 X"$ac_file" : 'X\(//\)[^/]' \| \
28267 X"$ac_file" : 'X\(//\)$' \| \
28268 X"$ac_file" : 'X\(/\)' \| \
28269 . : '\(.\)' 2>/dev/null ||
28271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28273 /^X\(\/\/\)$/{ s//\1/; q; }
28274 /^X\(\/\).*/{ s//\1/; q; }
28276 { if $as_mkdir_p; then
28281 while test ! -d "$as_dir"; do
28282 as_dirs="$as_dir $as_dirs"
28283 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28285 X"$as_dir" : 'X\(//\)[^/]' \| \
28286 X"$as_dir" : 'X\(//\)$' \| \
28287 X"$as_dir" : 'X\(/\)' \| \
28288 . : '\(.\)' 2>/dev/null ||
28290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28291 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28292 /^X\(\/\/\)$/{ s//\1/; q; }
28293 /^X\(\/\).*/{ s//\1/; q; }
28296 test ! -n "$as_dirs" || mkdir $as_dirs
28297 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28298 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28299 { (exit 1); exit 1; }; }; }
28303 if test "$ac_dir" != .; then
28304 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28305 # A "../" for each directory in $ac_dir_suffix.
28306 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28308 ac_dir_suffix= ac_top_builddir=
28312 .) # No --srcdir option. We are building in place.
28314 if test -z "$ac_top_builddir"; then
28317 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28319 [\\/]* | ?:[\\/]* ) # Absolute path.
28320 ac_srcdir=$srcdir$ac_dir_suffix;
28321 ac_top_srcdir=$srcdir ;;
28322 *) # Relative path.
28323 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28324 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28327 # Do not use `cd foo && pwd` to compute absolute paths, because
28328 # the directories may not exist.
28330 .) ac_abs_builddir="$ac_dir";;
28333 .) ac_abs_builddir=`pwd`;;
28334 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28335 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28338 case $ac_abs_builddir in
28339 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28341 case ${ac_top_builddir}. in
28342 .) ac_abs_top_builddir=$ac_abs_builddir;;
28343 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28344 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28347 case $ac_abs_builddir in
28348 .) ac_abs_srcdir=$ac_srcdir;;
28351 .) ac_abs_srcdir=$ac_abs_builddir;;
28352 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28353 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28356 case $ac_abs_builddir in
28357 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28359 case $ac_top_srcdir in
28360 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28361 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28362 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28368 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28369 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
28372 if test x"$ac_file" != x-; then
28373 { echo "$as_me:$LINENO: creating $ac_file" >&5
28374 echo "$as_me: creating $ac_file" >&6;}
28377 # Let's still pretend it is `configure' which instantiates (i.e., don't
28378 # use $as_me), people would be surprised to read:
28379 # /* config.h. Generated by config.status. */
28380 if test x"$ac_file" = x-; then
28383 configure_input="$ac_file. "
28385 configure_input=$configure_input"Generated from `echo $ac_file_in |
28386 sed 's,.*/,,'` by configure."
28388 # First look for the input files in the build tree, otherwise in the
28390 ac_file_inputs=`IFS=:
28391 for f in $ac_file_in; do
28393 -) echo $tmp/stdin ;;
28395 # Absolute (can't be DOS-style, as IFS=:)
28396 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28397 echo "$as_me: error: cannot find input file: $f" >&2;}
28398 { (exit 1); exit 1; }; }
28401 if test -f "$f"; then
28404 elif test -f "$srcdir/$f"; then
28409 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28410 echo "$as_me: error: cannot find input file: $f" >&2;}
28411 { (exit 1); exit 1; }; }
28414 done` || { (exit 1); exit 1; }
28416 cat >>$CONFIG_STATUS <<_ACEOF
28420 cat >>$CONFIG_STATUS <<\_ACEOF
28422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28423 s,@configure_input@,$configure_input,;t t
28424 s,@srcdir@,$ac_srcdir,;t t
28425 s,@abs_srcdir@,$ac_abs_srcdir,;t t
28426 s,@top_srcdir@,$ac_top_srcdir,;t t
28427 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
28428 s,@builddir@,$ac_builddir,;t t
28429 s,@abs_builddir@,$ac_abs_builddir,;t t
28430 s,@top_builddir@,$ac_top_builddir,;t t
28431 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
28432 s,@INSTALL@,$ac_INSTALL,;t t
28433 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
28435 if test x"$ac_file" != x-; then
28436 mv $tmp/out $ac_file
28444 cat >>$CONFIG_STATUS <<\_ACEOF
28447 # CONFIG_HEADER section.
28450 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
28451 # NAME is the cpp macro being defined and VALUE is the value it is being given.
28453 # ac_d sets the value in "#define NAME VALUE" lines.
28454 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
28455 ac_dB='[ ].*$,\1#\2'
28458 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
28459 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
28460 ac_uB='$,\1#\2define\3'
28464 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
28465 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28467 - | *:- | *:-:* ) # input from stdin
28469 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28470 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28471 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28472 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28473 * ) ac_file_in=$ac_file.in ;;
28476 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
28477 echo "$as_me: creating $ac_file" >&6;}
28479 # First look for the input files in the build tree, otherwise in the
28481 ac_file_inputs=`IFS=:
28482 for f in $ac_file_in; do
28484 -) echo $tmp/stdin ;;
28486 # Absolute (can't be DOS-style, as IFS=:)
28487 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28488 echo "$as_me: error: cannot find input file: $f" >&2;}
28489 { (exit 1); exit 1; }; }
28490 # Do quote $f, to prevent DOS paths from being IFS'd.
28493 if test -f "$f"; then
28496 elif test -f "$srcdir/$f"; then
28501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28502 echo "$as_me: error: cannot find input file: $f" >&2;}
28503 { (exit 1); exit 1; }; }
28506 done` || { (exit 1); exit 1; }
28507 # Remove the trailing spaces.
28508 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
28512 # Transform confdefs.h into two sed scripts, `conftest.defines' and
28513 # `conftest.undefs', that substitutes the proper values into
28514 # config.h.in to produce config.h. The first handles `#define'
28515 # templates, and the second `#undef' templates.
28516 # And first: Protect against being on the right side of a sed subst in
28517 # config.status. Protect against being in an unquoted here document
28518 # in config.status.
28519 rm -f conftest.defines conftest.undefs
28520 # Using a here document instead of a string reduces the quoting nightmare.
28521 # Putting comments in sed scripts is not portable.
28523 # `end' is used to avoid that the second main sed command (meant for
28524 # 0-ary CPP macros) applies to n-ary macro definitions.
28525 # See the Autoconf documentation for `clear'.
28526 cat >confdef2sed.sed <<\_ACEOF
28531 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
28533 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
28536 # If some macros were called several times there might be several times
28537 # the same #defines, which is useless. Nevertheless, we may not want to
28538 # sort them, since we want the *last* AC-DEFINE to be honored.
28539 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
28540 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
28541 rm -f confdef2sed.sed
28543 # This sed command replaces #undef with comments. This is necessary, for
28544 # example, in the case of _POSIX_SOURCE, which is predefined and required
28545 # on some systems where configure will not decide to define it.
28546 cat >>conftest.undefs <<\_ACEOF
28547 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
28550 # Break up conftest.defines because some shells have a limit on the size
28551 # of here documents, and old seds have small limits too (100 cmds).
28552 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
28553 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
28554 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
28555 echo ' :' >>$CONFIG_STATUS
28556 rm -f conftest.tail
28557 while grep . conftest.defines >/dev/null
28559 # Write a limited-size here document to $tmp/defines.sed.
28560 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
28561 # Speed up: don't consider the non `#define' lines.
28562 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
28563 # Work around the forget-to-reset-the-flag bug.
28564 echo 't clr' >>$CONFIG_STATUS
28565 echo ': clr' >>$CONFIG_STATUS
28566 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
28568 sed -f $tmp/defines.sed $tmp/in >$tmp/out
28570 mv $tmp/out $tmp/in
28572 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
28573 rm -f conftest.defines
28574 mv conftest.tail conftest.defines
28576 rm -f conftest.defines
28577 echo ' fi # grep' >>$CONFIG_STATUS
28578 echo >>$CONFIG_STATUS
28580 # Break up conftest.undefs because some shells have a limit on the size
28581 # of here documents, and old seds have small limits too (100 cmds).
28582 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
28583 rm -f conftest.tail
28584 while grep . conftest.undefs >/dev/null
28586 # Write a limited-size here document to $tmp/undefs.sed.
28587 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
28588 # Speed up: don't consider the non `#undef'
28589 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
28590 # Work around the forget-to-reset-the-flag bug.
28591 echo 't clr' >>$CONFIG_STATUS
28592 echo ': clr' >>$CONFIG_STATUS
28593 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
28595 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
28597 mv $tmp/out $tmp/in
28599 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
28600 rm -f conftest.undefs
28601 mv conftest.tail conftest.undefs
28603 rm -f conftest.undefs
28605 cat >>$CONFIG_STATUS <<\_ACEOF
28606 # Let's still pretend it is `configure' which instantiates (i.e., don't
28607 # use $as_me), people would be surprised to read:
28608 # /* config.h. Generated by config.status. */
28609 if test x"$ac_file" = x-; then
28610 echo "/* Generated by configure. */" >$tmp/config.h
28612 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
28614 cat $tmp/in >>$tmp/config.h
28616 if test x"$ac_file" != x-; then
28617 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
28618 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28619 echo "$as_me: $ac_file is unchanged" >&6;}
28621 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28622 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28623 X"$ac_file" : 'X\(//\)[^/]' \| \
28624 X"$ac_file" : 'X\(//\)$' \| \
28625 X"$ac_file" : 'X\(/\)' \| \
28626 . : '\(.\)' 2>/dev/null ||
28628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28629 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28630 /^X\(\/\/\)$/{ s//\1/; q; }
28631 /^X\(\/\).*/{ s//\1/; q; }
28633 { if $as_mkdir_p; then
28638 while test ! -d "$as_dir"; do
28639 as_dirs="$as_dir $as_dirs"
28640 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28642 X"$as_dir" : 'X\(//\)[^/]' \| \
28643 X"$as_dir" : 'X\(//\)$' \| \
28644 X"$as_dir" : 'X\(/\)' \| \
28645 . : '\(.\)' 2>/dev/null ||
28647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28649 /^X\(\/\/\)$/{ s//\1/; q; }
28650 /^X\(\/\).*/{ s//\1/; q; }
28653 test ! -n "$as_dirs" || mkdir $as_dirs
28654 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28655 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28656 { (exit 1); exit 1; }; }; }
28659 mv $tmp/config.h $ac_file
28663 rm -f $tmp/config.h
28665 # Compute $ac_file's index in $config_headers.
28667 for _am_header in $config_headers :; do
28668 case $_am_header in
28669 $ac_file | $ac_file:* )
28672 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28675 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
28676 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28677 X$ac_file : 'X\(//\)[^/]' \| \
28678 X$ac_file : 'X\(//\)$' \| \
28679 X$ac_file : 'X\(/\)' \| \
28680 . : '\(.\)' 2>/dev/null ||
28682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28684 /^X\(\/\/\)$/{ s//\1/; q; }
28685 /^X\(\/\).*/{ s//\1/; q; }
28686 s/.*/./; q'`/stamp-h$_am_stamp_count
28689 cat >>$CONFIG_STATUS <<\_ACEOF
28692 # CONFIG_COMMANDS section.
28694 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
28695 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
28696 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
28697 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
28698 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28699 X"$ac_dest" : 'X\(//\)[^/]' \| \
28700 X"$ac_dest" : 'X\(//\)$' \| \
28701 X"$ac_dest" : 'X\(/\)' \| \
28702 . : '\(.\)' 2>/dev/null ||
28704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28706 /^X\(\/\/\)$/{ s//\1/; q; }
28707 /^X\(\/\).*/{ s//\1/; q; }
28709 { if $as_mkdir_p; then
28714 while test ! -d "$as_dir"; do
28715 as_dirs="$as_dir $as_dirs"
28716 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28717 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28718 X"$as_dir" : 'X\(//\)[^/]' \| \
28719 X"$as_dir" : 'X\(//\)$' \| \
28720 X"$as_dir" : 'X\(/\)' \| \
28721 . : '\(.\)' 2>/dev/null ||
28723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28725 /^X\(\/\/\)$/{ s//\1/; q; }
28726 /^X\(\/\).*/{ s//\1/; q; }
28729 test ! -n "$as_dirs" || mkdir $as_dirs
28730 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28731 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28732 { (exit 1); exit 1; }; }; }
28736 if test "$ac_dir" != .; then
28737 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28738 # A "../" for each directory in $ac_dir_suffix.
28739 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28741 ac_dir_suffix= ac_top_builddir=
28745 .) # No --srcdir option. We are building in place.
28747 if test -z "$ac_top_builddir"; then
28750 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28752 [\\/]* | ?:[\\/]* ) # Absolute path.
28753 ac_srcdir=$srcdir$ac_dir_suffix;
28754 ac_top_srcdir=$srcdir ;;
28755 *) # Relative path.
28756 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28757 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28760 # Do not use `cd foo && pwd` to compute absolute paths, because
28761 # the directories may not exist.
28763 .) ac_abs_builddir="$ac_dir";;
28766 .) ac_abs_builddir=`pwd`;;
28767 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28768 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28771 case $ac_abs_builddir in
28772 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28774 case ${ac_top_builddir}. in
28775 .) ac_abs_top_builddir=$ac_abs_builddir;;
28776 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28777 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28780 case $ac_abs_builddir in
28781 .) ac_abs_srcdir=$ac_srcdir;;
28784 .) ac_abs_srcdir=$ac_abs_builddir;;
28785 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28786 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28789 case $ac_abs_builddir in
28790 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28792 case $ac_top_srcdir in
28793 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28794 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28795 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28800 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
28801 echo "$as_me: executing $ac_dest commands" >&6;}
28803 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28804 # Strip MF so we end up with the name of the file.
28805 mf=`echo "$mf" | sed -e 's/:.*$//'`
28806 # Check whether this is an Automake generated Makefile or not.
28807 # We used to match only the files named `Makefile.in', but
28808 # some people rename them; so instead we look at the file content.
28809 # Grep'ing the first line is not enough: some people post-process
28810 # each Makefile.in and add a new line on top of each file to say so.
28811 # So let's grep whole file.
28812 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
28813 dirpart=`(dirname "$mf") 2>/dev/null ||
28814 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28815 X"$mf" : 'X\(//\)[^/]' \| \
28816 X"$mf" : 'X\(//\)$' \| \
28817 X"$mf" : 'X\(/\)' \| \
28818 . : '\(.\)' 2>/dev/null ||
28820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28822 /^X\(\/\/\)$/{ s//\1/; q; }
28823 /^X\(\/\).*/{ s//\1/; q; }
28828 # Extract the definition of DEPDIR, am__include, and am__quote
28829 # from the Makefile without running `make'.
28830 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28831 test -z "$DEPDIR" && continue
28832 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28833 test -z "am__include" && continue
28834 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28835 # When using ansi2knr, U may be empty or an underscore; expand it
28836 U=`sed -n 's/^U = //p' < "$mf"`
28837 # Find all dependency output files, they are included files with
28838 # $(DEPDIR) in their names. We invoke sed twice because it is the
28839 # simplest approach to changing $(DEPDIR) to its actual value in the
28841 for file in `sed -n "
28842 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28843 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28844 # Make sure the directory exists.
28845 test -f "$dirpart/$file" && continue
28846 fdir=`(dirname "$file") 2>/dev/null ||
28847 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28848 X"$file" : 'X\(//\)[^/]' \| \
28849 X"$file" : 'X\(//\)$' \| \
28850 X"$file" : 'X\(/\)' \| \
28851 . : '\(.\)' 2>/dev/null ||
28853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28854 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28855 /^X\(\/\/\)$/{ s//\1/; q; }
28856 /^X\(\/\).*/{ s//\1/; q; }
28858 { if $as_mkdir_p; then
28859 mkdir -p $dirpart/$fdir
28861 as_dir=$dirpart/$fdir
28863 while test ! -d "$as_dir"; do
28864 as_dirs="$as_dir $as_dirs"
28865 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28867 X"$as_dir" : 'X\(//\)[^/]' \| \
28868 X"$as_dir" : 'X\(//\)$' \| \
28869 X"$as_dir" : 'X\(/\)' \| \
28870 . : '\(.\)' 2>/dev/null ||
28872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28874 /^X\(\/\/\)$/{ s//\1/; q; }
28875 /^X\(\/\).*/{ s//\1/; q; }
28878 test ! -n "$as_dirs" || mkdir $as_dirs
28879 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
28880 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
28881 { (exit 1); exit 1; }; }; }
28883 # echo "creating $dirpart/$file"
28884 echo '# dummy' > "$dirpart/$file"
28892 cat >>$CONFIG_STATUS <<\_ACEOF
28894 { (exit 0); exit 0; }
28896 chmod +x $CONFIG_STATUS
28897 ac_clean_files=$ac_clean_files_save
28900 # configure is writing to config.log, and then calls config.status.
28901 # config.status does its own redirection, appending to config.log.
28902 # Unfortunately, on DOS this fails, as config.log is still kept open
28903 # by configure, so config.status won't be able to write to it; its
28904 # output is simply discarded. So we exec the FD to /dev/null,
28905 # effectively closing config.log, so it can be properly (re)opened and
28906 # appended to by config.status. When coming back to configure, we
28907 # need to make the FD available again.
28908 if test "$no_create" != yes; then
28910 ac_config_status_args=
28911 test "$silent" = yes &&
28912 ac_config_status_args="$ac_config_status_args --quiet"
28914 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28916 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28917 # would make configure fail if this is the last instruction.
28918 $ac_cs_success || { (exit 1); exit 1; }
28922 { echo "$as_me:$LINENO:
28931 $FEATURES_TXT" >&6;}