2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.208.
5 # Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
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 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
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.208'
427 PACKAGE_STRING='util-vserver 0.30.208'
428 PACKAGE_BUGREPORT='enrico.scholz@informatik.tu-chemnitz.de'
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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir 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 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 kernelincludedir vserverdir CVS2CL_TAG CVS2CL HAVE_CVS2CL_TRUE HAVE_CVS2CL_FALSE RCS2LOG HAVE_RCS2LOG_TRUE HAVE_RCS2LOG_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.208 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.208:";;
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 --disable-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,v13,fscompat,net,ALL
1067 (default: all except 'legacy')
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-kerneldir=DIR assume kernelsources in DIR (default:
1080 /lib/modules/<current>/build)
1081 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1082 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1083 values are 'fast', 'traditional' and 'auto'
1086 Some influential environment variables:
1087 CXX C++ compiler command
1088 CXXFLAGS C++ compiler flags
1089 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1090 nonstandard directory <lib dir>
1091 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1092 headers in a nonstandard directory <include dir>
1093 CC C compiler command
1094 CFLAGS C compiler flags
1095 DIET The 'diet' wrapper (default: diet)
1096 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1098 CXXCPP C++ preprocessor
1099 F77 Fortran 77 compiler command
1100 FFLAGS Fortran 77 compiler flags
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1105 Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix= ac_top_builddir=
1125 .) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .) ac_abs_builddir="$ac_dir";;
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 util-vserver configure 0.30.208
1202 generated by GNU Autoconf 2.59
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by util-vserver $as_me 0.30.208, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next=true ;;
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1552 ac_config_headers="$ac_config_headers config.h"
1555 am__api_version="1.8"
1557 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1558 if test -f $ac_dir/install-sh; then
1560 ac_install_sh="$ac_aux_dir/install-sh -c"
1562 elif test -f $ac_dir/install.sh; then
1564 ac_install_sh="$ac_aux_dir/install.sh -c"
1566 elif test -f $ac_dir/shtool; then
1568 ac_install_sh="$ac_aux_dir/shtool install -c"
1572 if test -z "$ac_aux_dir"; then
1573 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1574 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1575 { (exit 1); exit 1; }; }
1577 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1578 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1579 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1674 set X `ls -t $srcdir/configure conftest.file`
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # Keeping the `.' argument allows $(mkdir_p) to be used without
1733 # argument. Indeed, we sometimes output rules like
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined.
1736 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1737 # expensive solution, as it forces Make to start a sub-shell.)
1738 mkdir_p='mkdir -p -- .'
1740 # On NextStep and OpenStep, the `mkdir' command does not
1741 # recognize any option. It will interpret all options as
1742 # directories to create, and then abort because `.' already
1744 for d in ./-p ./--version;
1746 test -d $d && rmdir $d
1748 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1749 if test -f "$ac_aux_dir/mkinstalldirs"; then
1750 mkdir_p='$(mkinstalldirs)'
1752 mkdir_p='$(install_sh) -d'
1756 for ac_prog in gawk mawk nawk awk
1758 # Extract the first word of "$ac_prog", so it can be a program name with args.
1759 set dummy $ac_prog; ac_word=$2
1760 echo "$as_me:$LINENO: checking for $ac_word" >&5
1761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1762 if test "${ac_cv_prog_AWK+set}" = set; then
1763 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 if test -n "$AWK"; then
1766 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1772 test -z "$as_dir" && as_dir=.
1773 for ac_exec_ext in '' $ac_executable_extensions; do
1774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775 ac_cv_prog_AWK="$ac_prog"
1776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 if test -n "$AWK"; then
1786 echo "$as_me:$LINENO: result: $AWK" >&5
1787 echo "${ECHO_T}$AWK" >&6
1789 echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6
1793 test -n "$AWK" && break
1796 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1798 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1799 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 cat >conftest.make <<\_ACEOF
1804 @echo 'ac_maketemp="$(MAKE)"'
1806 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1807 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1808 if test -n "$ac_maketemp"; then
1809 eval ac_cv_prog_make_${ac_make}_set=yes
1811 eval ac_cv_prog_make_${ac_make}_set=no
1815 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1816 echo "$as_me:$LINENO: result: yes" >&5
1817 echo "${ECHO_T}yes" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1822 SET_MAKE="MAKE=${MAKE-make}"
1825 rm -rf .tst 2>/dev/null
1826 mkdir .tst 2>/dev/null
1827 if test -d .tst; then
1832 rmdir .tst 2>/dev/null
1834 # test to see if srcdir already configured
1835 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1836 test -f $srcdir/config.status; then
1837 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1838 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1839 { (exit 1); exit 1; }; }
1842 # test whether we have cygpath
1843 if test -z "$CYGPATH_W"; then
1844 if (cygpath --version) >/dev/null 2>/dev/null; then
1845 CYGPATH_W='cygpath -w'
1852 # Define the identity of the package.
1853 PACKAGE='util-vserver'
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE "$PACKAGE"
1862 cat >>confdefs.h <<_ACEOF
1863 #define VERSION "$VERSION"
1866 # Some tools Automake needs.
1868 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1871 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1874 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1877 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1880 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1883 AMTAR=${AMTAR-"${am_missing_run}tar"}
1885 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1887 # Installed binaries are usually stripped using `strip' when the user
1888 # run `make install-strip'. However `strip' might not be the right
1889 # tool to use in cross-compilation environments, therefore Automake
1890 # will honor the `STRIP' environment variable to overrule this program.
1891 if test "$cross_compiling" != no; then
1892 if test -n "$ac_tool_prefix"; then
1893 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1894 set dummy ${ac_tool_prefix}strip; ac_word=$2
1895 echo "$as_me:$LINENO: checking for $ac_word" >&5
1896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897 if test "${ac_cv_prog_STRIP+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 if test -n "$STRIP"; then
1901 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 STRIP=$ac_cv_prog_STRIP
1920 if test -n "$STRIP"; then
1921 echo "$as_me:$LINENO: result: $STRIP" >&5
1922 echo "${ECHO_T}$STRIP" >&6
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1929 if test -z "$ac_cv_prog_STRIP"; then
1931 # Extract the first word of "strip", so it can be a program name with args.
1932 set dummy strip; ac_word=$2
1933 echo "$as_me:$LINENO: checking for $ac_word" >&5
1934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1935 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 if test -n "$ac_ct_STRIP"; then
1939 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 test -z "$as_dir" && as_dir=.
1946 for ac_exec_ext in '' $ac_executable_extensions; do
1947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948 ac_cv_prog_ac_ct_STRIP="strip"
1949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1958 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1959 if test -n "$ac_ct_STRIP"; then
1960 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1961 echo "${ECHO_T}$ac_ct_STRIP" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1969 STRIP="$ac_cv_prog_STRIP"
1973 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1975 # We need awk for the "check" target. The system "awk" is bad on
1980 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1981 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1982 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1983 if test "${enable_maintainer_mode+set}" = set; then
1984 enableval="$enable_maintainer_mode"
1985 USE_MAINTAINER_MODE=$enableval
1987 USE_MAINTAINER_MODE=no
1989 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1990 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1993 if test $USE_MAINTAINER_MODE = yes; then
1994 MAINTAINER_MODE_TRUE=
1995 MAINTAINER_MODE_FALSE='#'
1997 MAINTAINER_MODE_TRUE='#'
1998 MAINTAINER_MODE_FALSE=
2001 MAINT=$MAINTAINER_MODE_TRUE
2005 # Make sure we can run config.sub.
2006 $ac_config_sub sun4 >/dev/null 2>&1 ||
2007 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2008 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2009 { (exit 1); exit 1; }; }
2011 echo "$as_me:$LINENO: checking build system type" >&5
2012 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2013 if test "${ac_cv_build+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 ac_cv_build_alias=$build_alias
2017 test -z "$ac_cv_build_alias" &&
2018 ac_cv_build_alias=`$ac_config_guess`
2019 test -z "$ac_cv_build_alias" &&
2020 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2021 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2022 { (exit 1); exit 1; }; }
2023 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2024 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2025 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2026 { (exit 1); exit 1; }; }
2029 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2030 echo "${ECHO_T}$ac_cv_build" >&6
2032 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2033 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2034 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2037 echo "$as_me:$LINENO: checking host system type" >&5
2038 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2039 if test "${ac_cv_host+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 ac_cv_host_alias=$host_alias
2043 test -z "$ac_cv_host_alias" &&
2044 ac_cv_host_alias=$ac_cv_build_alias
2045 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2046 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2047 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2048 { (exit 1); exit 1; }; }
2051 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2052 echo "${ECHO_T}$ac_cv_host" >&6
2054 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2055 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2056 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2060 GPG_KEY="0xFFD316AC53ACA43A!"
2063 # Checks for programs.
2065 ac_cpp='$CXXCPP $CPPFLAGS'
2066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2069 if test -n "$ac_tool_prefix"; then
2070 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2072 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2073 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076 if test "${ac_cv_prog_CXX+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test -n "$CXX"; then
2080 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 if test -n "$CXX"; then
2100 echo "$as_me:$LINENO: result: $CXX" >&5
2101 echo "${ECHO_T}$CXX" >&6
2103 echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6
2107 test -n "$CXX" && break
2110 if test -z "$CXX"; then
2112 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2114 # Extract the first word of "$ac_prog", so it can be a program name with args.
2115 set dummy $ac_prog; ac_word=$2
2116 echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2118 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$ac_ct_CXX"; then
2122 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir=.
2129 for ac_exec_ext in '' $ac_executable_extensions; do
2130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 ac_cv_prog_ac_ct_CXX="$ac_prog"
2132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2141 if test -n "$ac_ct_CXX"; then
2142 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2143 echo "${ECHO_T}$ac_ct_CXX" >&6
2145 echo "$as_me:$LINENO: result: no" >&5
2146 echo "${ECHO_T}no" >&6
2149 test -n "$ac_ct_CXX" && break
2151 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2157 # Provide some information about the compiler.
2158 echo "$as_me:$LINENO:" \
2159 "checking for C++ compiler version" >&5
2160 ac_compiler=`set X $ac_compile; echo $2`
2161 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2162 (eval $ac_compiler --version </dev/null >&5) 2>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }
2166 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2167 (eval $ac_compiler -v </dev/null >&5) 2>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }
2171 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2172 (eval $ac_compiler -V </dev/null >&5) 2>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }
2177 cat >conftest.$ac_ext <<_ACEOF
2180 cat confdefs.h >>conftest.$ac_ext
2181 cat >>conftest.$ac_ext <<_ACEOF
2182 /* end confdefs.h. */
2192 ac_clean_files_save=$ac_clean_files
2193 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2194 # Try to create an executable without -o first, disregard a.out.
2195 # It will help us diagnose broken compilers, and finding out an intuition
2197 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2198 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2199 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2200 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2201 (eval $ac_link_default) 2>&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); }; then
2205 # Find the output, starting from the most likely. This scheme is
2206 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2209 # Be careful to initialize this variable, since it used to be cached.
2210 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2212 # b.out is created by i960 compilers.
2213 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2215 test -f "$ac_file" || continue
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2220 # This is the source file.
2223 # We found the default executable, but exeext='' is most
2227 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2228 # FIXME: I believe we export ac_cv_exeext for Libtool,
2229 # but it would be cool to find out if it's true. Does anybody
2230 # maintain Libtool? --akim.
2238 echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2241 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2242 See \`config.log' for more details." >&5
2243 echo "$as_me: error: C++ compiler cannot create executables
2244 See \`config.log' for more details." >&2;}
2245 { (exit 77); exit 77; }; }
2248 ac_exeext=$ac_cv_exeext
2249 echo "$as_me:$LINENO: result: $ac_file" >&5
2250 echo "${ECHO_T}$ac_file" >&6
2252 # Check the compiler produces executables we can run. If not, either
2253 # the compiler is broken, or we cross compile.
2254 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2255 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2256 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2257 # If not cross compiling, check that we can run a simple program.
2258 if test "$cross_compiling" != yes; then
2259 if { ac_try='./$ac_file'
2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; }; then
2267 if test "$cross_compiling" = maybe; then
2270 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2271 If you meant to cross compile, use \`--host'.
2272 See \`config.log' for more details." >&5
2273 echo "$as_me: error: cannot run C++ compiled programs.
2274 If you meant to cross compile, use \`--host'.
2275 See \`config.log' for more details." >&2;}
2276 { (exit 1); exit 1; }; }
2280 echo "$as_me:$LINENO: result: yes" >&5
2281 echo "${ECHO_T}yes" >&6
2283 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2284 ac_clean_files=$ac_clean_files_save
2285 # Check the compiler produces executables we can run. If not, either
2286 # the compiler is broken, or we cross compile.
2287 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2288 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2289 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2290 echo "${ECHO_T}$cross_compiling" >&6
2292 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2293 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2295 (eval $ac_link) 2>&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }; then
2299 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2300 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2301 # work properly (i.e., refer to `conftest.exe'), while it won't with
2303 for ac_file in conftest.exe conftest conftest.*; do
2304 test -f "$ac_file" || continue
2306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2307 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2314 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2315 See \`config.log' for more details." >&5
2316 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2317 See \`config.log' for more details." >&2;}
2318 { (exit 1); exit 1; }; }
2321 rm -f conftest$ac_cv_exeext
2322 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2323 echo "${ECHO_T}$ac_cv_exeext" >&6
2325 rm -f conftest.$ac_ext
2326 EXEEXT=$ac_cv_exeext
2328 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2329 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2330 if test "${ac_cv_objext+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 cat >conftest.$ac_ext <<_ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2348 rm -f conftest.o conftest.obj
2349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2350 (eval $ac_compile) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; then
2354 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2357 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2362 echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.$ac_ext >&5
2365 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2374 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2375 echo "${ECHO_T}$ac_cv_objext" >&6
2376 OBJEXT=$ac_cv_objext
2378 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2379 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2380 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 cat >conftest.$ac_ext <<_ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2401 rm -f conftest.$ac_objext
2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2403 (eval $ac_compile) 2>conftest.er1
2405 grep -v '^ *+' conftest.er1 >conftest.err
2407 cat conftest.err >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); } &&
2410 { ac_try='test -z "$ac_cxx_werror_flag"
2411 || test ! -s conftest.err'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; } &&
2417 { ac_try='test -s conftest.$ac_objext'
2418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; }; then
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2431 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2434 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2435 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2436 GXX=`test $ac_compiler_gnu = yes && echo yes`
2437 ac_test_CXXFLAGS=${CXXFLAGS+set}
2438 ac_save_CXXFLAGS=$CXXFLAGS
2440 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2441 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2442 if test "${ac_cv_prog_cxx_g+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 cat >conftest.$ac_ext <<_ACEOF
2448 cat confdefs.h >>conftest.$ac_ext
2449 cat >>conftest.$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2460 rm -f conftest.$ac_objext
2461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2462 (eval $ac_compile) 2>conftest.er1
2464 grep -v '^ *+' conftest.er1 >conftest.err
2466 cat conftest.err >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } &&
2469 { ac_try='test -z "$ac_cxx_werror_flag"
2470 || test ! -s conftest.err'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; } &&
2476 { ac_try='test -s conftest.$ac_objext'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; }; then
2482 ac_cv_prog_cxx_g=yes
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2491 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2492 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2493 if test "$ac_test_CXXFLAGS" = set; then
2494 CXXFLAGS=$ac_save_CXXFLAGS
2495 elif test $ac_cv_prog_cxx_g = yes; then
2496 if test "$GXX" = yes; then
2502 if test "$GXX" = yes; then
2508 for ac_declaration in \
2510 'extern "C" void std::exit (int) throw (); using std::exit;' \
2511 'extern "C" void std::exit (int); using std::exit;' \
2512 'extern "C" void exit (int) throw ();' \
2513 'extern "C" void exit (int);' \
2516 cat >conftest.$ac_ext <<_ACEOF
2519 cat confdefs.h >>conftest.$ac_ext
2520 cat >>conftest.$ac_ext <<_ACEOF
2521 /* end confdefs.h. */
2532 rm -f conftest.$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1 >conftest.err
2538 cat conftest.err >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try='test -z "$ac_cxx_werror_flag"
2542 || test ! -s conftest.err'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; } &&
2548 { ac_try='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2562 cat >conftest.$ac_ext <<_ACEOF
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2577 rm -f conftest.$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579 (eval $ac_compile) 2>conftest.er1
2581 grep -v '^ *+' conftest.er1 >conftest.err
2583 cat conftest.err >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try='test -z "$ac_cxx_werror_flag"
2587 || test ! -s conftest.err'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; } &&
2593 { ac_try='test -s conftest.$ac_objext'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; }; then
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2608 if test -n "$ac_declaration"; then
2609 echo '#ifdef __cplusplus' >>confdefs.h
2610 echo $ac_declaration >>confdefs.h
2611 echo '#endif' >>confdefs.h
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2619 DEPDIR="${am__leading_dot}deps"
2621 ac_config_commands="$ac_config_commands depfiles"
2624 am_make=${MAKE-make}
2625 cat > confinc << 'END'
2630 # If we don't find an include directive, just comment out the code.
2631 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2632 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2636 # First try GNU make style include.
2637 echo "include confinc" > confmf
2638 # We grep out `Entering directory' and `Leaving directory'
2639 # messages which can occur if `w' ends up in MAKEFLAGS.
2640 # In particular we don't look at `^make:' because GNU make might
2641 # be invoked under some other name (usually "gmake"), in which
2642 # case it prints its new name instead of `make'.
2643 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2648 # Now try BSD make style include.
2649 if test "$am__include" = "#"; then
2650 echo '.include "confinc"' > confmf
2651 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2652 am__include=.include
2659 echo "$as_me:$LINENO: result: $_am_result" >&5
2660 echo "${ECHO_T}$_am_result" >&6
2661 rm -f confinc confmf
2663 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2664 if test "${enable_dependency_tracking+set}" = set; then
2665 enableval="$enable_dependency_tracking"
2668 if test "x$enable_dependency_tracking" != xno; then
2669 am_depcomp="$ac_aux_dir/depcomp"
2674 if test "x$enable_dependency_tracking" != xno; then
2685 depcc="$CXX" am_compiler_list=
2687 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2688 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2689 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2693 # We make a subdir and do the tests there. Otherwise we can end up
2694 # making bogus files that we don't know about and never remove. For
2695 # instance it was reported that on HP-UX the gcc test will end up
2696 # making a dummy file named `D' -- because `-MD' means `put the output
2699 # Copy depcomp to subdir because otherwise we won't find it if we're
2700 # using a relative directory.
2701 cp "$am_depcomp" conftest.dir
2703 # We will build objects and dependencies in a subdirectory because
2704 # it helps to detect inapplicable dependency modes. For instance
2705 # both Tru64's cc and ICC support -MD to output dependencies as a
2706 # side effect of compilation, but ICC will put the dependencies in
2707 # the current directory while Tru64 will put them in the object
2711 am_cv_CXX_dependencies_compiler_type=none
2712 if test "$am_compiler_list" = ""; then
2713 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2715 for depmode in $am_compiler_list; do
2716 # Setup a source with many dependencies, because some compilers
2717 # like to wrap large dependency lists on column 80 (with \), and
2718 # we should not choose a depcomp mode which is confused by this.
2720 # We need to recreate these files for each test, as the compiler may
2721 # overwrite some of them when testing with obscure command lines.
2722 # This happens at least with the AIX C compiler.
2724 for i in 1 2 3 4 5 6; do
2725 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2726 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2727 # Solaris 8's {/usr,}/bin/sh.
2728 touch sub/conftst$i.h
2730 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2734 # after this tag, mechanisms are not by side-effect, so they'll
2735 # only be used when explicitly requested
2736 if test "x$enable_dependency_tracking" = xyes; then
2744 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2745 # mode. It turns out that the SunPro C++ compiler does not properly
2746 # handle `-M -o', and we need to detect this.
2747 if depmode=$depmode \
2748 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2749 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2750 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2751 >/dev/null 2>conftest.err &&
2752 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2753 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2754 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2755 # icc doesn't choke on unknown options, it will just issue warnings
2756 # (even with -Werror). So we grep stderr for any message
2757 # that says an option was ignored.
2758 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2759 am_cv_CXX_dependencies_compiler_type=$depmode
2768 am_cv_CXX_dependencies_compiler_type=none
2772 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2773 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2774 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2779 test "x$enable_dependency_tracking" != xno \
2780 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2781 am__fastdepCXX_TRUE=
2782 am__fastdepCXX_FALSE='#'
2784 am__fastdepCXX_TRUE='#'
2785 am__fastdepCXX_FALSE=
2790 ac_cpp='$CPP $CPPFLAGS'
2791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2794 if test -n "$ac_tool_prefix"; then
2795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2796 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2797 echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799 if test "${ac_cv_prog_CC+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC="$CC" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 if test -n "$CC"; then
2823 echo "$as_me:$LINENO: result: $CC" >&5
2824 echo "${ECHO_T}$CC" >&6
2826 echo "$as_me:$LINENO: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2831 if test -z "$ac_cv_prog_CC"; then
2833 # Extract the first word of "gcc", so it can be a program name with args.
2834 set dummy gcc; ac_word=$2
2835 echo "$as_me:$LINENO: checking for $ac_word" >&5
2836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_ac_ct_CC="gcc"
2851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2860 if test -n "$ac_ct_CC"; then
2861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2862 echo "${ECHO_T}$ac_ct_CC" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2873 if test -z "$CC"; then
2874 if test -n "$ac_tool_prefix"; then
2875 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2876 set dummy ${ac_tool_prefix}cc; ac_word=$2
2877 echo "$as_me:$LINENO: checking for $ac_word" >&5
2878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2879 if test "${ac_cv_prog_CC+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 if test -n "$CC"; then
2883 ac_cv_prog_CC="$CC" # Let the user override the test.
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_prog_CC="${ac_tool_prefix}cc"
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 echo "$as_me:$LINENO: result: $CC" >&5
2904 echo "${ECHO_T}$CC" >&6
2906 echo "$as_me:$LINENO: result: no" >&5
2907 echo "${ECHO_T}no" >&6
2911 if test -z "$ac_cv_prog_CC"; then
2913 # Extract the first word of "cc", so it can be a program name with args.
2914 set dummy cc; ac_word=$2
2915 echo "$as_me:$LINENO: checking for $ac_word" >&5
2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 if test -n "$ac_ct_CC"; then
2921 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_ac_ct_CC="cc"
2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2940 if test -n "$ac_ct_CC"; then
2941 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2942 echo "${ECHO_T}$ac_ct_CC" >&6
2944 echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6
2954 if test -z "$CC"; then
2955 # Extract the first word of "cc", so it can be a program name with args.
2956 set dummy cc; ac_word=$2
2957 echo "$as_me:$LINENO: checking for $ac_word" >&5
2958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2959 if test "${ac_cv_prog_CC+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 if test -n "$CC"; then
2963 ac_cv_prog_CC="$CC" # Let the user override the test.
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2974 ac_prog_rejected=yes
2978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 if test $ac_prog_rejected = yes; then
2985 # We found a bogon in the path, so make sure we never use it.
2986 set dummy $ac_cv_prog_CC
2988 if test $# != 0; then
2989 # We chose a different compiler from the bogus one.
2990 # However, it has the same basename, so the bogon will be chosen
2991 # first if we set CC to just the basename; use the full file name.
2993 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2999 if test -n "$CC"; then
3000 echo "$as_me:$LINENO: result: $CC" >&5
3001 echo "${ECHO_T}$CC" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3008 if test -z "$CC"; then
3009 if test -n "$ac_tool_prefix"; then
3012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3014 echo "$as_me:$LINENO: checking for $ac_word" >&5
3015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3016 if test "${ac_cv_prog_CC+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 if test -n "$CC"; then
3020 ac_cv_prog_CC="$CC" # Let the user override the test.
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir=.
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3029 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 if test -n "$CC"; then
3040 echo "$as_me:$LINENO: result: $CC" >&5
3041 echo "${ECHO_T}$CC" >&6
3043 echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6
3047 test -n "$CC" && break
3050 if test -z "$CC"; then
3054 # Extract the first word of "$ac_prog", so it can be a program name with args.
3055 set dummy $ac_prog; ac_word=$2
3056 echo "$as_me:$LINENO: checking for $ac_word" >&5
3057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 if test -n "$ac_ct_CC"; then
3062 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3071 ac_cv_prog_ac_ct_CC="$ac_prog"
3072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3081 if test -n "$ac_ct_CC"; then
3082 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3083 echo "${ECHO_T}$ac_ct_CC" >&6
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3089 test -n "$ac_ct_CC" && break
3098 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3099 See \`config.log' for more details." >&5
3100 echo "$as_me: error: no acceptable C compiler found in \$PATH
3101 See \`config.log' for more details." >&2;}
3102 { (exit 1); exit 1; }; }
3104 # Provide some information about the compiler.
3105 echo "$as_me:$LINENO:" \
3106 "checking for C compiler version" >&5
3107 ac_compiler=`set X $ac_compile; echo $2`
3108 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3109 (eval $ac_compiler --version </dev/null >&5) 2>&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }
3113 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3114 (eval $ac_compiler -v </dev/null >&5) 2>&5
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); }
3118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3119 (eval $ac_compiler -V </dev/null >&5) 2>&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }
3124 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3125 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3126 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3127 echo $ECHO_N "(cached) $ECHO_C" >&6
3129 cat >conftest.$ac_ext <<_ACEOF
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3147 rm -f conftest.$ac_objext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 (eval $ac_compile) 2>conftest.er1
3151 grep -v '^ *+' conftest.er1 >conftest.err
3153 cat conftest.err >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try='test -z "$ac_c_werror_flag"
3157 || test ! -s conftest.err'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; } &&
3163 { ac_try='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3180 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3182 GCC=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CFLAGS=${CFLAGS+set}
3184 ac_save_CFLAGS=$CFLAGS
3186 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3187 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3188 if test "${ac_cv_prog_cc_g+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3191 cat >conftest.$ac_ext <<_ACEOF
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3206 rm -f conftest.$ac_objext
3207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208 (eval $ac_compile) 2>conftest.er1
3210 grep -v '^ *+' conftest.er1 >conftest.err
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try='test -z "$ac_c_werror_flag"
3216 || test ! -s conftest.err'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try='test -s conftest.$ac_objext'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3237 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3238 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3239 if test "$ac_test_CFLAGS" = set; then
3240 CFLAGS=$ac_save_CFLAGS
3241 elif test $ac_cv_prog_cc_g = yes; then
3242 if test "$GCC" = yes; then
3248 if test "$GCC" = yes; then
3254 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3255 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3256 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 ac_cv_prog_cc_stdc=no
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 #include <sys/types.h>
3270 #include <sys/stat.h>
3271 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3272 struct buf { int x; };
3273 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3274 static char *e (p, i)
3280 static char *f (char * (*g) (char **, int), char **p, ...)
3285 s = g (p, va_arg (v,int));
3290 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3291 function prototypes and stuff, but not '\xHH' hex character constants.
3292 These don't provoke an error unfortunately, instead are silently treated
3293 as 'x'. The following induces an error, until -std1 is added to get
3294 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3295 array size at least. It's necessary to write '\x00'==0 to get something
3296 that's true only with -std1. */
3297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3299 int test (int i, double x);
3300 struct s1 {int (*f) (int a);};
3301 struct s2 {int (*f) (double a);};
3302 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3308 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3313 # Don't try gcc -ansi; that turns off useful extensions and
3314 # breaks some systems' header files.
3315 # AIX -qlanglvl=ansi
3316 # Ultrix and OSF/1 -std1
3317 # HP-UX 10.20 and later -Ae
3318 # HP-UX older versions -Aa -D_HPUX_SOURCE
3319 # SVR4 -Xc -D__EXTENSIONS__
3320 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3322 CC="$ac_save_CC $ac_arg"
3323 rm -f conftest.$ac_objext
3324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3325 (eval $ac_compile) 2>conftest.er1
3327 grep -v '^ *+' conftest.er1 >conftest.err
3329 cat conftest.err >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); } &&
3332 { ac_try='test -z "$ac_c_werror_flag"
3333 || test ! -s conftest.err'
3334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }; } &&
3339 { ac_try='test -s conftest.$ac_objext'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; }; then
3345 ac_cv_prog_cc_stdc=$ac_arg
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3352 rm -f conftest.err conftest.$ac_objext
3354 rm -f conftest.$ac_ext conftest.$ac_objext
3359 case "x$ac_cv_prog_cc_stdc" in
3361 echo "$as_me:$LINENO: result: none needed" >&5
3362 echo "${ECHO_T}none needed" >&6 ;;
3364 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3365 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3366 CC="$CC $ac_cv_prog_cc_stdc" ;;
3369 # Some people use a C++ compiler to compile C. Since we use `exit',
3370 # in C++ we need to declare it. In case someone uses the same compiler
3371 # for both compiling C and C++ we need to have the C++ compiler decide
3372 # the declaration of exit, since it's the most demanding environment.
3373 cat >conftest.$ac_ext <<_ACEOF
3378 rm -f conftest.$ac_objext
3379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3380 (eval $ac_compile) 2>conftest.er1
3382 grep -v '^ *+' conftest.er1 >conftest.err
3384 cat conftest.err >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } &&
3387 { ac_try='test -z "$ac_c_werror_flag"
3388 || test ! -s conftest.err'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; } &&
3394 { ac_try='test -s conftest.$ac_objext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 for ac_declaration in \
3402 'extern "C" void std::exit (int) throw (); using std::exit;' \
3403 'extern "C" void std::exit (int); using std::exit;' \
3404 'extern "C" void exit (int) throw ();' \
3405 'extern "C" void exit (int);' \
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3424 rm -f conftest.$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3469 rm -f conftest.$ac_objext
3470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3471 (eval $ac_compile) 2>conftest.er1
3473 grep -v '^ *+' conftest.er1 >conftest.err
3475 cat conftest.err >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } &&
3478 { ac_try='test -z "$ac_c_werror_flag"
3479 || test ! -s conftest.err'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; } &&
3485 { ac_try='test -s conftest.$ac_objext'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; }; then
3493 echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.$ac_ext >&5
3497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3500 if test -n "$ac_declaration"; then
3501 echo '#ifdef __cplusplus' >>confdefs.h
3502 echo $ac_declaration >>confdefs.h
3503 echo '#endif' >>confdefs.h
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3513 ac_cpp='$CPP $CPPFLAGS'
3514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3518 depcc="$CC" am_compiler_list=
3520 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3521 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3522 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3526 # We make a subdir and do the tests there. Otherwise we can end up
3527 # making bogus files that we don't know about and never remove. For
3528 # instance it was reported that on HP-UX the gcc test will end up
3529 # making a dummy file named `D' -- because `-MD' means `put the output
3532 # Copy depcomp to subdir because otherwise we won't find it if we're
3533 # using a relative directory.
3534 cp "$am_depcomp" conftest.dir
3536 # We will build objects and dependencies in a subdirectory because
3537 # it helps to detect inapplicable dependency modes. For instance
3538 # both Tru64's cc and ICC support -MD to output dependencies as a
3539 # side effect of compilation, but ICC will put the dependencies in
3540 # the current directory while Tru64 will put them in the object
3544 am_cv_CC_dependencies_compiler_type=none
3545 if test "$am_compiler_list" = ""; then
3546 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3548 for depmode in $am_compiler_list; do
3549 # Setup a source with many dependencies, because some compilers
3550 # like to wrap large dependency lists on column 80 (with \), and
3551 # we should not choose a depcomp mode which is confused by this.
3553 # We need to recreate these files for each test, as the compiler may
3554 # overwrite some of them when testing with obscure command lines.
3555 # This happens at least with the AIX C compiler.
3557 for i in 1 2 3 4 5 6; do
3558 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3559 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3560 # Solaris 8's {/usr,}/bin/sh.
3561 touch sub/conftst$i.h
3563 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3567 # after this tag, mechanisms are not by side-effect, so they'll
3568 # only be used when explicitly requested
3569 if test "x$enable_dependency_tracking" = xyes; then
3577 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3578 # mode. It turns out that the SunPro C++ compiler does not properly
3579 # handle `-M -o', and we need to detect this.
3580 if depmode=$depmode \
3581 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3582 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3583 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3584 >/dev/null 2>conftest.err &&
3585 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3586 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3587 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3588 # icc doesn't choke on unknown options, it will just issue warnings
3589 # (even with -Werror). So we grep stderr for any message
3590 # that says an option was ignored.
3591 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3592 am_cv_CC_dependencies_compiler_type=$depmode
3601 am_cv_CC_dependencies_compiler_type=none
3605 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3606 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3607 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3612 test "x$enable_dependency_tracking" != xno \
3613 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3615 am__fastdepCC_FALSE='#'
3617 am__fastdepCC_TRUE='#'
3618 am__fastdepCC_FALSE=
3622 # Find a good install program. We prefer a C program (faster),
3623 # so one script is as good as another. But avoid the broken or
3624 # incompatible versions:
3625 # SysV /etc/install, /usr/sbin/install
3626 # SunOS /usr/etc/install
3627 # IRIX /sbin/install
3629 # AmigaOS /C/install, which installs bootblocks on floppy discs
3630 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3631 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3632 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3633 # OS/2's system install, which has a completely different semantic
3634 # ./install, which can be erroneously created by make from ./install.sh.
3635 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3636 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3637 if test -z "$INSTALL"; then
3638 if test "${ac_cv_path_install+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 test -z "$as_dir" && as_dir=.
3646 # Account for people who put trailing slashes in PATH elements.
3648 ./ | .// | /cC/* | \
3649 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3650 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3653 # OSF1 and SCO ODT 3.0 have their own names for install.
3654 # Don't use installbsd from OSF since it installs stuff as root
3656 for ac_prog in ginstall scoinst install; do
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3659 if test $ac_prog = install &&
3660 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3661 # AIX install. It has an incompatible calling convention.
3663 elif test $ac_prog = install &&
3664 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3665 # program-specific install script used by HP pwplus--don't use.
3668 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3680 if test "${ac_cv_path_install+set}" = set; then
3681 INSTALL=$ac_cv_path_install
3683 # As a last resort, use the slow shell script. We don't cache a
3684 # path for INSTALL within a source directory, because that will
3685 # break other packages using the cache if that directory is
3686 # removed, or if the path is relative.
3687 INSTALL=$ac_install_sh
3690 echo "$as_me:$LINENO: result: $INSTALL" >&5
3691 echo "${ECHO_T}$INSTALL" >&6
3693 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3694 # It thinks the first close brace ends the variable substitution.
3695 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3697 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3699 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3701 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3702 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3704 if test "$LN_S" = "ln -s"; then
3705 echo "$as_me:$LINENO: result: yes" >&5
3706 echo "${ECHO_T}yes" >&6
3708 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3709 echo "${ECHO_T}no, using $LN_S" >&6
3712 if test "x$CC" != xcc; then
3713 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3714 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3716 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3717 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3719 set dummy $CC; ac_cc=`echo $2 |
3720 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3721 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3722 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3739 # Make sure it works both with $CC and with simple cc.
3740 # We do the test twice because some compilers refuse to overwrite an
3741 # existing .o file with -o, though they will create one.
3742 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3743 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } &&
3748 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); };
3754 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3755 if test "x$CC" != xcc; then
3756 # Test first that cc exists at all.
3757 if { ac_try='cc -c conftest.$ac_ext >&5'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; }; then
3763 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3764 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); };
3778 # cc exists but doesn't like -o.
3779 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3784 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3789 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3790 echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3796 cat >>confdefs.h <<\_ACEOF
3797 #define NO_MINUS_C_MINUS_O 1
3802 # FIXME: we rely on the cache variable name because
3803 # there is no other way.
3805 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3806 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3807 # Losing compiler, so override with the script.
3808 # FIXME: It is wrong to rewrite CC.
3809 # But if we don't then we get into trouble of one sort or another.
3810 # A longer-term fix would be to have automake use am__CC in this case,
3811 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3812 CC="$am_aux_dir/compile $CC"
3819 if test -n "$PYTHON"; then
3820 # If the user set $PYTHON, use it and don't search something else.
3821 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
3822 echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6
3823 prog="import sys, string
3824 # split strings by '.' and convert to numeric. Append some zeros
3825 # because we need at least 4 digits for the hex conversion.
3826 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
3828 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3829 sys.exit(sys.hexversion < minverhex)"
3830 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3831 ($PYTHON -c "$prog") >&5 2>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3838 { { echo "$as_me:$LINENO: error: too old" >&5
3839 echo "$as_me: error: too old" >&2;}
3840 { (exit 1); exit 1; }; }
3844 # Otherwise, try each interpreter until we find one that satisfies
3846 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
3847 echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6
3848 if test "${am_cv_pathless_PYTHON+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 for am_cv_pathless_PYTHON in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
3853 test "$am_cv_pathless_PYTHON" = none && break
3854 prog="import sys, string
3855 # split strings by '.' and convert to numeric. Append some zeros
3856 # because we need at least 4 digits for the hex conversion.
3857 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
3859 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3860 sys.exit(sys.hexversion < minverhex)"
3861 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3862 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; then
3871 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
3872 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
3873 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3874 if test "$am_cv_pathless_PYTHON" = none; then
3877 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3878 set dummy $am_cv_pathless_PYTHON; ac_word=$2
3879 echo "$as_me:$LINENO: checking for $ac_word" >&5
3880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3881 if test "${ac_cv_path_PYTHON+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 PYTHON=$ac_cv_path_PYTHON
3908 if test -n "$PYTHON"; then
3909 echo "$as_me:$LINENO: result: $PYTHON" >&5
3910 echo "${ECHO_T}$PYTHON" >&6
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3917 am_display_PYTHON=$am_cv_pathless_PYTHON
3921 if test "$PYTHON" = :; then
3922 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
3923 echo "$as_me: error: no suitable Python interpreter found" >&2;}
3924 { (exit 1); exit 1; }; }
3928 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
3929 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
3930 if test "${am_cv_python_version+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
3935 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
3936 echo "${ECHO_T}$am_cv_python_version" >&6
3937 PYTHON_VERSION=$am_cv_python_version
3941 PYTHON_PREFIX='${prefix}'
3943 PYTHON_EXEC_PREFIX='${exec_prefix}'
3947 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
3948 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
3949 if test "${am_cv_python_platform+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
3954 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
3955 echo "${ECHO_T}$am_cv_python_platform" >&6
3956 PYTHON_PLATFORM=$am_cv_python_platform
3961 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
3962 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
3963 if test "${am_cv_python_pythondir+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
3967 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
3969 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
3970 echo "${ECHO_T}$am_cv_python_pythondir" >&6
3971 pythondir=$am_cv_python_pythondir
3975 pkgpythondir=\${pythondir}/$PACKAGE
3978 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
3979 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
3980 if test "${am_cv_python_pyexecdir+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
3984 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
3986 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
3987 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
3988 pyexecdir=$am_cv_python_pyexecdir
3992 pkgpyexecdir=\${pyexecdir}/$PACKAGE
4003 echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4004 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6
4005 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 ac_cpp='$CXXCPP $CPPFLAGS'
4011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4015 cat >conftest.$ac_ext <<_ACEOF
4020 rm -f conftest.$ac_objext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4022 (eval $ac_compile) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -z "$ac_cxx_werror_flag"
4030 || test ! -s conftest.err'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; } &&
4036 { ac_try='test -s conftest.$ac_objext'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; }; then
4042 ensc_cv_cxx_cxxcompiler=yes
4044 echo "$as_me: failed program was:" >&5
4045 sed 's/^/| /' conftest.$ac_ext >&5
4047 ensc_cv_cxx_cxxcompiler=no
4049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4051 ac_cpp='$CPP $CPPFLAGS'
4052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058 echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4059 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6
4063 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4064 ENSC_HAVE_CXX_COMPILER_TRUE=
4065 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4067 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4068 ENSC_HAVE_CXX_COMPILER_FALSE=
4072 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4073 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4074 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4081 echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4082 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6
4083 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4093 cat >conftest.$ac_ext <<_ACEOF
4095 int main(int argc, char *argv) {
4096 struct { int x; } a = { .x = argc };
4102 rm -f conftest.$ac_objext
4103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4104 (eval $ac_compile) 2>conftest.er1
4106 grep -v '^ *+' conftest.er1 >conftest.err
4108 cat conftest.err >&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); } &&
4111 { ac_try='test -z "$ac_c_werror_flag"
4112 || test ! -s conftest.err'
4113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); }; } &&
4118 { ac_try='test -s conftest.$ac_objext'
4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); }; }; then
4124 ensc_cv_c99_c99compiler=yes
4126 echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 ensc_cv_c99_c99compiler=no
4131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4133 ac_cpp='$CPP $CPPFLAGS'
4134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4141 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6
4145 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4146 ENSC_HAVE_C99_COMPILER_TRUE=
4147 ENSC_HAVE_C99_COMPILER_FALSE='#'
4149 ENSC_HAVE_C99_COMPILER_TRUE='#'
4150 ENSC_HAVE_C99_COMPILER_FALSE=
4154 if test x"$ensc_cv_c99_c99compiler" = xno; then
4155 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4156 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4161 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4186 # Extract the first word of "$ac_prog", so it can be a program name with args.
4187 set dummy $ac_prog; ac_word=$2
4188 echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4190 if test "${ac_cv_path_AWK+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $ensc_searchpath
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 if test -n "$AWK"; then
4218 echo "$as_me:$LINENO: result: $AWK" >&5
4219 echo "${ECHO_T}$AWK" >&6
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4225 test -n "$AWK" && break
4227 test -n "$AWK" || AWK="$ensc_dflt"
4230 if test -z "${AWK}" && $rq; then
4232 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4233 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4234 { (exit 1); exit 1; }; }
4236 { { echo "$as_me:$LINENO: error:
4237 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4239 echo "$as_me: error:
4240 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4242 { (exit 1); exit 1; }; }
4246 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy $ac_prog; ac_word=$2
4269 echo "$as_me:$LINENO: checking for $ac_word" >&5
4270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4271 if test "${ac_cv_path_CAT+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $ensc_searchpath
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CAT"; then
4299 echo "$as_me:$LINENO: result: $CAT" >&5
4300 echo "${ECHO_T}$CAT" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4306 test -n "$CAT" && break
4308 test -n "$CAT" || CAT="$ensc_dflt"
4311 if test -z "${CAT}" && $rq; then
4313 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4314 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4315 { (exit 1); exit 1; }; }
4317 { { echo "$as_me:$LINENO: error:
4318 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4320 echo "$as_me: error:
4321 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4323 { (exit 1); exit 1; }; }
4327 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4346 for ac_prog in chown
4348 # Extract the first word of "$ac_prog", so it can be a program name with args.
4349 set dummy $ac_prog; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_path_CHOWN+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $ensc_searchpath
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 CHOWN=$ac_cv_path_CHOWN
4379 if test -n "$CHOWN"; then
4380 echo "$as_me:$LINENO: result: $CHOWN" >&5
4381 echo "${ECHO_T}$CHOWN" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4387 test -n "$CHOWN" && break
4389 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4392 if test -z "${CHOWN}" && $rq; then
4394 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4395 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4396 { (exit 1); exit 1; }; }
4398 { { echo "$as_me:$LINENO: error:
4399 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4401 echo "$as_me: error:
4402 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4404 { (exit 1); exit 1; }; }
4408 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4429 # Extract the first word of "$ac_prog", so it can be a program name with args.
4430 set dummy $ac_prog; ac_word=$2
4431 echo "$as_me:$LINENO: checking for $ac_word" >&5
4432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4433 if test "${ac_cv_path_CMP+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $ensc_searchpath
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 if test -n "$CMP"; then
4461 echo "$as_me:$LINENO: result: $CMP" >&5
4462 echo "${ECHO_T}$CMP" >&6
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4468 test -n "$CMP" && break
4470 test -n "$CMP" || CMP="$ensc_dflt"
4473 if test -z "${CMP}" && $rq; then
4475 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4476 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4477 { (exit 1); exit 1; }; }
4479 { { echo "$as_me:$LINENO: error:
4480 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4482 echo "$as_me: error:
4483 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4485 { (exit 1); exit 1; }; }
4489 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy $ac_prog; ac_word=$2
4512 echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4514 if test "${ac_cv_path_CP+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $ensc_searchpath
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 if test -n "$CP"; then
4542 echo "$as_me:$LINENO: result: $CP" >&5
4543 echo "${ECHO_T}$CP" >&6
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4549 test -n "$CP" && break
4551 test -n "$CP" || CP="$ensc_dflt"
4554 if test -z "${CP}" && $rq; then
4556 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4557 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4558 { (exit 1); exit 1; }; }
4560 { { echo "$as_me:$LINENO: error:
4561 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4563 echo "$as_me: error:
4564 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4566 { (exit 1); exit 1; }; }
4570 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4589 for ac_prog in dirname
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_DIRNAME+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 ac_cv_path_DIRNAME="$DIRNAME" # 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_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 DIRNAME=$ac_cv_path_DIRNAME
4622 if test -n "$DIRNAME"; then
4623 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4624 echo "${ECHO_T}$DIRNAME" >&6
4626 echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6
4630 test -n "$DIRNAME" && break
4632 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4635 if test -z "${DIRNAME}" && $rq; then
4637 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4638 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4639 { (exit 1); exit 1; }; }
4641 { { echo "$as_me:$LINENO: error:
4642 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4644 echo "$as_me: error:
4645 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4647 { (exit 1); exit 1; }; }
4651 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4670 for ac_prog in egrep
4672 # Extract the first word of "$ac_prog", so it can be a program name with args.
4673 set dummy $ac_prog; ac_word=$2
4674 echo "$as_me:$LINENO: checking for $ac_word" >&5
4675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4676 if test "${ac_cv_path_EGREP+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $ensc_searchpath
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 EGREP=$ac_cv_path_EGREP
4703 if test -n "$EGREP"; then
4704 echo "$as_me:$LINENO: result: $EGREP" >&5
4705 echo "${ECHO_T}$EGREP" >&6
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4711 test -n "$EGREP" && break
4713 test -n "$EGREP" || EGREP="$ensc_dflt"
4716 if test -z "${EGREP}" && $rq; then
4718 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4719 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4720 { (exit 1); exit 1; }; }
4722 { { echo "$as_me:$LINENO: error:
4723 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4725 echo "$as_me: error:
4726 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4728 { (exit 1); exit 1; }; }
4732 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy $ac_prog; ac_word=$2
4755 echo "$as_me:$LINENO: checking for $ac_word" >&5
4756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4757 if test "${ac_cv_path_ENV+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $ensc_searchpath
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
4773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 if test -n "$ENV"; then
4785 echo "$as_me:$LINENO: result: $ENV" >&5
4786 echo "${ECHO_T}$ENV" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4792 test -n "$ENV" && break
4794 test -n "$ENV" || ENV="$ensc_dflt"
4797 if test -z "${ENV}" && $rq; then
4799 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
4800 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4801 { (exit 1); exit 1; }; }
4803 { { echo "$as_me:$LINENO: error:
4804 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4806 echo "$as_me: error:
4807 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4809 { (exit 1); exit 1; }; }
4813 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
4834 # Extract the first word of "$ac_prog", so it can be a program name with args.
4835 set dummy $ac_prog; ac_word=$2
4836 echo "$as_me:$LINENO: checking for $ac_word" >&5
4837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4838 if test "${ac_cv_path_GREP+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $ensc_searchpath
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 GREP=$ac_cv_path_GREP
4865 if test -n "$GREP"; then
4866 echo "$as_me:$LINENO: result: $GREP" >&5
4867 echo "${ECHO_T}$GREP" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4873 test -n "$GREP" && break
4875 test -n "$GREP" || GREP="$ensc_dflt"
4878 if test -z "${GREP}" && $rq; then
4880 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4881 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4882 { (exit 1); exit 1; }; }
4884 { { echo "$as_me:$LINENO: error:
4885 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4887 echo "$as_me: error:
4888 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4890 { (exit 1); exit 1; }; }
4894 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy $ac_prog; ac_word=$2
4917 echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4919 if test "${ac_cv_path_LN+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $ensc_searchpath
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 if test -n "$LN"; then
4947 echo "$as_me:$LINENO: result: $LN" >&5
4948 echo "${ECHO_T}$LN" >&6
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4954 test -n "$LN" && break
4956 test -n "$LN" || LN="$ensc_dflt"
4959 if test -z "${LN}" && $rq; then
4961 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
4962 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4963 { (exit 1); exit 1; }; }
4965 { { echo "$as_me:$LINENO: error:
4966 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4968 echo "$as_me: error:
4969 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4971 { (exit 1); exit 1; }; }
4975 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
4994 for ac_prog in mkdir
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5000 if test "${ac_cv_path_MKDIR+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $ensc_searchpath
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 MKDIR=$ac_cv_path_MKDIR
5027 if test -n "$MKDIR"; then
5028 echo "$as_me:$LINENO: result: $MKDIR" >&5
5029 echo "${ECHO_T}$MKDIR" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5035 test -n "$MKDIR" && break
5037 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5040 if test -z "${MKDIR}" && $rq; then
5042 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5043 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5044 { (exit 1); exit 1; }; }
5046 { { echo "$as_me:$LINENO: error:
5047 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5049 echo "$as_me: error:
5050 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5052 { (exit 1); exit 1; }; }
5056 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5075 for ac_prog in mkfifo
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy $ac_prog; ac_word=$2
5079 echo "$as_me:$LINENO: checking for $ac_word" >&5
5080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5081 if test "${ac_cv_path_MKFIFO+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $ensc_searchpath
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 MKFIFO=$ac_cv_path_MKFIFO
5108 if test -n "$MKFIFO"; then
5109 echo "$as_me:$LINENO: result: $MKFIFO" >&5
5110 echo "${ECHO_T}$MKFIFO" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5116 test -n "$MKFIFO" && break
5118 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5121 if test -z "${MKFIFO}" && $rq; then
5123 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5124 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5125 { (exit 1); exit 1; }; }
5127 { { echo "$as_me:$LINENO: error:
5128 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5130 echo "$as_me: error:
5131 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5133 { (exit 1); exit 1; }; }
5137 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5156 for ac_prog in mktemp
5158 # Extract the first word of "$ac_prog", so it can be a program name with args.
5159 set dummy $ac_prog; ac_word=$2
5160 echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5162 if test "${ac_cv_path_MKTEMP+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $ensc_searchpath
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 MKTEMP=$ac_cv_path_MKTEMP
5189 if test -n "$MKTEMP"; then
5190 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5191 echo "${ECHO_T}$MKTEMP" >&6
5193 echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6
5197 test -n "$MKTEMP" && break
5199 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5202 if test -z "${MKTEMP}" && $rq; then
5204 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5205 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5206 { (exit 1); exit 1; }; }
5208 { { echo "$as_me:$LINENO: error:
5209 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5211 echo "$as_me: error:
5212 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5214 { (exit 1); exit 1; }; }
5218 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5237 for ac_prog in mount
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5243 if test "${ac_cv_path_MOUNT+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $ensc_searchpath
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 MOUNT=$ac_cv_path_MOUNT
5270 if test -n "$MOUNT"; then
5271 echo "$as_me:$LINENO: result: $MOUNT" >&5
5272 echo "${ECHO_T}$MOUNT" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5278 test -n "$MOUNT" && break
5280 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5283 if test -z "${MOUNT}" && $rq; then
5285 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5286 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5287 { (exit 1); exit 1; }; }
5289 { { echo "$as_me:$LINENO: error:
5290 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5292 echo "$as_me: error:
5293 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5295 { (exit 1); exit 1; }; }
5299 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5320 # Extract the first word of "$ac_prog", so it can be a program name with args.
5321 set dummy $ac_prog; ac_word=$2
5322 echo "$as_me:$LINENO: checking for $ac_word" >&5
5323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5324 if test "${ac_cv_path_MV+set}" = set; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $ensc_searchpath
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 if test -n "$MV"; then
5352 echo "$as_me:$LINENO: result: $MV" >&5
5353 echo "${ECHO_T}$MV" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5359 test -n "$MV" && break
5361 test -n "$MV" || MV="$ensc_dflt"
5364 if test -z "${MV}" && $rq; then
5366 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5367 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5368 { (exit 1); exit 1; }; }
5370 { { echo "$as_me:$LINENO: error:
5371 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5373 echo "$as_me: error:
5374 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5376 { (exit 1); exit 1; }; }
5380 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402 set dummy $ac_prog; ac_word=$2
5403 echo "$as_me:$LINENO: checking for $ac_word" >&5
5404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5405 if test "${ac_cv_path_NICE+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $ensc_searchpath
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 NICE=$ac_cv_path_NICE
5432 if test -n "$NICE"; then
5433 echo "$as_me:$LINENO: result: $NICE" >&5
5434 echo "${ECHO_T}$NICE" >&6
5436 echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6
5440 test -n "$NICE" && break
5442 test -n "$NICE" || NICE="$ensc_dflt"
5445 if test -z "${NICE}" && $rq; then
5447 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5448 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5449 { (exit 1); exit 1; }; }
5451 { { echo "$as_me:$LINENO: error:
5452 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5454 echo "$as_me: error:
5455 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5457 { (exit 1); exit 1; }; }
5461 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5482 # Extract the first word of "$ac_prog", so it can be a program name with args.
5483 set dummy $ac_prog; ac_word=$2
5484 echo "$as_me:$LINENO: checking for $ac_word" >&5
5485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5486 if test "${ac_cv_path_PS+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $ensc_searchpath
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 if test -n "$PS"; then
5514 echo "$as_me:$LINENO: result: $PS" >&5
5515 echo "${ECHO_T}$PS" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5521 test -n "$PS" && break
5523 test -n "$PS" || PS="$ensc_dflt"
5526 if test -z "${PS}" && $rq; then
5528 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5529 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5530 { (exit 1); exit 1; }; }
5532 { { echo "$as_me:$LINENO: error:
5533 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5535 echo "$as_me: error:
5536 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5538 { (exit 1); exit 1; }; }
5542 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 echo "$as_me:$LINENO: checking for $ac_word" >&5
5566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5567 if test "${ac_cv_path_RM+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $ensc_searchpath
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 if test -n "$RM"; then
5595 echo "$as_me:$LINENO: result: $RM" >&5
5596 echo "${ECHO_T}$RM" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5602 test -n "$RM" && break
5604 test -n "$RM" || RM="$ensc_dflt"
5607 if test -z "${RM}" && $rq; then
5609 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5610 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5611 { (exit 1); exit 1; }; }
5613 { { echo "$as_me:$LINENO: error:
5614 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5616 echo "$as_me: error:
5617 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5619 { (exit 1); exit 1; }; }
5623 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5642 for ac_prog in rmdir
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy $ac_prog; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_path_RMDIR+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $ensc_searchpath
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 RMDIR=$ac_cv_path_RMDIR
5675 if test -n "$RMDIR"; then
5676 echo "$as_me:$LINENO: result: $RMDIR" >&5
5677 echo "${ECHO_T}$RMDIR" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5683 test -n "$RMDIR" && break
5685 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5688 if test -z "${RMDIR}" && $rq; then
5690 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5691 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5692 { (exit 1); exit 1; }; }
5694 { { echo "$as_me:$LINENO: error:
5695 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5697 echo "$as_me: error:
5698 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5700 { (exit 1); exit 1; }; }
5704 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy $ac_prog; ac_word=$2
5727 echo "$as_me:$LINENO: checking for $ac_word" >&5
5728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5729 if test "${ac_cv_path_SED+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $ensc_searchpath
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 if test -n "$SED"; then
5757 echo "$as_me:$LINENO: result: $SED" >&5
5758 echo "${ECHO_T}$SED" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5764 test -n "$SED" && break
5766 test -n "$SED" || SED="$ensc_dflt"
5769 if test -z "${SED}" && $rq; then
5771 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5772 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5773 { (exit 1); exit 1; }; }
5775 { { echo "$as_me:$LINENO: error:
5776 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5778 echo "$as_me: error:
5779 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5781 { (exit 1); exit 1; }; }
5785 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810 if test "${ac_cv_path_SH+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $ensc_searchpath
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 if test -n "$SH"; then
5838 echo "$as_me:$LINENO: result: $SH" >&5
5839 echo "${ECHO_T}$SH" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5845 test -n "$SH" && break
5847 test -n "$SH" || SH="$ensc_dflt"
5850 if test -z "${SH}" && $rq; then
5852 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5853 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5854 { (exit 1); exit 1; }; }
5856 { { echo "$as_me:$LINENO: error:
5857 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5859 echo "$as_me: error:
5860 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5862 { (exit 1); exit 1; }; }
5866 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5891 if test "${ac_cv_path_TAC+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $ensc_searchpath
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
5907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 if test -n "$TAC"; then
5919 echo "$as_me:$LINENO: result: $TAC" >&5
5920 echo "${ECHO_T}$TAC" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5926 test -n "$TAC" && break
5928 test -n "$TAC" || TAC="$ensc_dflt"
5931 if test -z "${TAC}" && $rq; then
5933 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
5934 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5935 { (exit 1); exit 1; }; }
5937 { { echo "$as_me:$LINENO: error:
5938 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5940 echo "$as_me: error:
5941 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5943 { (exit 1); exit 1; }; }
5947 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
5968 # Extract the first word of "$ac_prog", so it can be a program name with args.
5969 set dummy $ac_prog; ac_word=$2
5970 echo "$as_me:$LINENO: checking for $ac_word" >&5
5971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5972 if test "${ac_cv_path_TAR+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $ensc_searchpath
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 if test -n "$TAR"; then
6000 echo "$as_me:$LINENO: result: $TAR" >&5
6001 echo "${ECHO_T}$TAR" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6007 test -n "$TAR" && break
6009 test -n "$TAR" || TAR="$ensc_dflt"
6012 if test -z "${TAR}" && $rq; then
6014 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6015 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6016 { (exit 1); exit 1; }; }
6018 { { echo "$as_me:$LINENO: error:
6019 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6021 echo "$as_me: error:
6022 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6024 { (exit 1); exit 1; }; }
6028 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6047 for ac_prog in touch
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 echo "$as_me:$LINENO: checking for $ac_word" >&5
6052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6053 if test "${ac_cv_path_TOUCH+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $ensc_searchpath
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 TOUCH=$ac_cv_path_TOUCH
6080 if test -n "$TOUCH"; then
6081 echo "$as_me:$LINENO: result: $TOUCH" >&5
6082 echo "${ECHO_T}$TOUCH" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6088 test -n "$TOUCH" && break
6090 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6093 if test -z "${TOUCH}" && $rq; then
6095 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6096 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6097 { (exit 1); exit 1; }; }
6099 { { echo "$as_me:$LINENO: error:
6100 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6102 echo "$as_me: error:
6103 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6105 { (exit 1); exit 1; }; }
6109 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6130 # Extract the first word of "$ac_prog", so it can be a program name with args.
6131 set dummy $ac_prog; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_path_TTY+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 for as_dir in $ensc_searchpath
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6149 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 if test -n "$TTY"; then
6162 echo "$as_me:$LINENO: result: $TTY" >&5
6163 echo "${ECHO_T}$TTY" >&6
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6169 test -n "$TTY" && break
6171 test -n "$TTY" || TTY="$ensc_dflt"
6174 if test -z "${TTY}" && $rq; then
6176 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6177 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6178 { (exit 1); exit 1; }; }
6180 { { echo "$as_me:$LINENO: error:
6181 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6183 echo "$as_me: error:
6184 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6186 { (exit 1); exit 1; }; }
6190 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6209 for ac_prog in umount
6211 # Extract the first word of "$ac_prog", so it can be a program name with args.
6212 set dummy $ac_prog; ac_word=$2
6213 echo "$as_me:$LINENO: checking for $ac_word" >&5
6214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6215 if test "${ac_cv_path_UMOUNT+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6224 for as_dir in $ensc_searchpath
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6230 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 UMOUNT=$ac_cv_path_UMOUNT
6242 if test -n "$UMOUNT"; then
6243 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6244 echo "${ECHO_T}$UMOUNT" >&6
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6250 test -n "$UMOUNT" && break
6252 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6255 if test -z "${UMOUNT}" && $rq; then
6257 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6258 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6259 { (exit 1); exit 1; }; }
6261 { { echo "$as_me:$LINENO: error:
6262 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6264 echo "$as_me: error:
6265 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6267 { (exit 1); exit 1; }; }
6271 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6292 # Extract the first word of "$ac_prog", so it can be a program name with args.
6293 set dummy $ac_prog; ac_word=$2
6294 echo "$as_me:$LINENO: checking for $ac_word" >&5
6295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6296 if test "${ac_cv_path_WC+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $ensc_searchpath
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6311 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 if test -n "$WC"; then
6324 echo "$as_me:$LINENO: result: $WC" >&5
6325 echo "${ECHO_T}$WC" >&6
6327 echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6
6331 test -n "$WC" && break
6333 test -n "$WC" || WC="$ensc_dflt"
6336 if test -z "${WC}" && $rq; then
6338 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6339 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6340 { (exit 1); exit 1; }; }
6342 { { echo "$as_me:$LINENO: error:
6343 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6345 echo "$as_me: error:
6346 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6348 { (exit 1); exit 1; }; }
6352 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6375 # Extract the first word of "$ac_prog", so it can be a program name with args.
6376 set dummy $ac_prog; ac_word=$2
6377 echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6379 if test "${ac_cv_path_IP+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6384 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in $ensc_searchpath
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6394 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 if test -n "$IP"; then
6407 echo "$as_me:$LINENO: result: $IP" >&5
6408 echo "${ECHO_T}$IP" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6414 test -n "$IP" && break
6416 test -n "$IP" || IP="$ensc_dflt"
6419 if test -z "${IP}" && $rq; then
6420 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6421 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6422 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6423 { (exit 1); exit 1; }; }
6425 { { echo "$as_me:$LINENO: error:
6426 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6427 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6428 echo "$as_me: error:
6429 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6430 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6431 { (exit 1); exit 1; }; }
6435 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6454 for ac_prog in iptables
6456 # Extract the first word of "$ac_prog", so it can be a program name with args.
6457 set dummy $ac_prog; ac_word=$2
6458 echo "$as_me:$LINENO: checking for $ac_word" >&5
6459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6460 if test "${ac_cv_path_IPTABLES+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $ensc_searchpath
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 IPTABLES=$ac_cv_path_IPTABLES
6487 if test -n "$IPTABLES"; then
6488 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6489 echo "${ECHO_T}$IPTABLES" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6495 test -n "$IPTABLES" && break
6497 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6500 if test -z "${IPTABLES}" && $rq; then
6502 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6503 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6504 { (exit 1); exit 1; }; }
6506 { { echo "$as_me:$LINENO: error:
6507 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6509 echo "$as_me: error:
6510 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6512 { (exit 1); exit 1; }; }
6516 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6535 for ac_prog in modprobe
6537 # Extract the first word of "$ac_prog", so it can be a program name with args.
6538 set dummy $ac_prog; ac_word=$2
6539 echo "$as_me:$LINENO: checking for $ac_word" >&5
6540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6541 if test "${ac_cv_path_MODPROBE+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $ensc_searchpath
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 MODPROBE=$ac_cv_path_MODPROBE
6568 if test -n "$MODPROBE"; then
6569 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6570 echo "${ECHO_T}$MODPROBE" >&6
6572 echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6
6576 test -n "$MODPROBE" && break
6578 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6581 if test -z "${MODPROBE}" && $rq; then
6583 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6584 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6585 { (exit 1); exit 1; }; }
6587 { { echo "$as_me:$LINENO: error:
6588 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6590 echo "$as_me: error:
6591 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6593 { (exit 1); exit 1; }; }
6597 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6616 for ac_prog in nameif
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6622 if test "${ac_cv_path_NAMEIF+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $ensc_searchpath
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 NAMEIF=$ac_cv_path_NAMEIF
6649 if test -n "$NAMEIF"; then
6650 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6651 echo "${ECHO_T}$NAMEIF" >&6
6653 echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6
6657 test -n "$NAMEIF" && break
6659 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6662 if test -z "${NAMEIF}" && $rq; then
6664 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6665 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6666 { (exit 1); exit 1; }; }
6668 { { echo "$as_me:$LINENO: error:
6669 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6671 echo "$as_me: error:
6672 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6674 { (exit 1); exit 1; }; }
6678 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6697 for ac_prog in nohup
6699 # Extract the first word of "$ac_prog", so it can be a program name with args.
6700 set dummy $ac_prog; ac_word=$2
6701 echo "$as_me:$LINENO: checking for $ac_word" >&5
6702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6703 if test "${ac_cv_path_NOHUP+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $ensc_searchpath
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 NOHUP=$ac_cv_path_NOHUP
6730 if test -n "$NOHUP"; then
6731 echo "$as_me:$LINENO: result: $NOHUP" >&5
6732 echo "${ECHO_T}$NOHUP" >&6
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6738 test -n "$NOHUP" && break
6740 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6743 if test -z "${NOHUP}" && $rq; then
6745 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6746 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6747 { (exit 1); exit 1; }; }
6749 { { echo "$as_me:$LINENO: error:
6750 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6752 echo "$as_me: error:
6753 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6755 { (exit 1); exit 1; }; }
6759 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6778 for ac_prog in rmmod
6780 # Extract the first word of "$ac_prog", so it can be a program name with args.
6781 set dummy $ac_prog; ac_word=$2
6782 echo "$as_me:$LINENO: checking for $ac_word" >&5
6783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6784 if test "${ac_cv_path_RMMOD+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 for as_dir in $ensc_searchpath
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 RMMOD=$ac_cv_path_RMMOD
6811 if test -n "$RMMOD"; then
6812 echo "$as_me:$LINENO: result: $RMMOD" >&5
6813 echo "${ECHO_T}$RMMOD" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6819 test -n "$RMMOD" && break
6821 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6824 if test -z "${RMMOD}" && $rq; then
6826 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6827 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6828 { (exit 1); exit 1; }; }
6830 { { echo "$as_me:$LINENO: error:
6831 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6833 echo "$as_me: error:
6834 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6836 { (exit 1); exit 1; }; }
6840 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
6859 for ac_prog in vconfig
6861 # Extract the first word of "$ac_prog", so it can be a program name with args.
6862 set dummy $ac_prog; ac_word=$2
6863 echo "$as_me:$LINENO: checking for $ac_word" >&5
6864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6865 if test "${ac_cv_path_VCONFIG+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 for as_dir in $ensc_searchpath
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6880 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
6881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 VCONFIG=$ac_cv_path_VCONFIG
6892 if test -n "$VCONFIG"; then
6893 echo "$as_me:$LINENO: result: $VCONFIG" >&5
6894 echo "${ECHO_T}$VCONFIG" >&6
6896 echo "$as_me:$LINENO: result: no" >&5
6897 echo "${ECHO_T}no" >&6
6900 test -n "$VCONFIG" && break
6902 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
6905 if test -z "${VCONFIG}" && $rq; then
6906 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
6907 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
6908 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6909 { (exit 1); exit 1; }; }
6911 { { echo "$as_me:$LINENO: error:
6912 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6913 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
6914 echo "$as_me: error:
6915 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6916 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
6917 { (exit 1); exit 1; }; }
6921 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
6942 # Extract the first word of "$ac_prog", so it can be a program name with args.
6943 set dummy $ac_prog; ac_word=$2
6944 echo "$as_me:$LINENO: checking for $ac_word" >&5
6945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6946 if test "${ac_cv_path_WGET+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6951 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $ensc_searchpath
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
6962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 WGET=$ac_cv_path_WGET
6973 if test -n "$WGET"; then
6974 echo "$as_me:$LINENO: result: $WGET" >&5
6975 echo "${ECHO_T}$WGET" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6981 test -n "$WGET" && break
6983 test -n "$WGET" || WGET="$ensc_dflt"
6986 if test -z "${WGET}" && $rq; then
6988 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
6989 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6990 { (exit 1); exit 1; }; }
6992 { { echo "$as_me:$LINENO: error:
6993 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6995 echo "$as_me: error:
6996 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6998 { (exit 1); exit 1; }; }
7002 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7010 if test -z ":"; then
7022 for ac_prog in doxygen
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_DOXYGEN+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_cv_path_DOXYGEN="$DOXYGEN" # 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_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 DOXYGEN=$ac_cv_path_DOXYGEN
7055 if test -n "$DOXYGEN"; then
7056 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7057 echo "${ECHO_T}$DOXYGEN" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7063 test -n "$DOXYGEN" && break
7065 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
7068 if test -z "${DOXYGEN}" && $rq; then
7070 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
7071 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7072 { (exit 1); exit 1; }; }
7074 { { echo "$as_me:$LINENO: error:
7075 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7077 echo "$as_me: error:
7078 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7080 { (exit 1); exit 1; }; }
7084 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
7091 if test -z ":"; then
7103 for ac_prog in xsltp
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_XSLTP+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 ac_cv_path_XSLTP="$XSLTP" # 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_XSLTP="$as_dir/$ac_word$ac_exec_ext"
7125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 XSLTP=$ac_cv_path_XSLTP
7136 if test -n "$XSLTP"; then
7137 echo "$as_me:$LINENO: result: $XSLTP" >&5
7138 echo "${ECHO_T}$XSLTP" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7144 test -n "$XSLTP" && break
7146 test -n "$XSLTP" || XSLTP="$ensc_dflt"
7149 if test -z "${XSLTP}" && $rq; then
7151 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
7152 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7153 { (exit 1); exit 1; }; }
7155 { { echo "$as_me:$LINENO: error:
7156 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7158 echo "$as_me: error:
7159 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7161 { (exit 1); exit 1; }; }
7165 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7172 if test -z ":"; then
7184 for ac_prog in xsltproc
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_XSLTPROC+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 ac_cv_path_XSLTPROC="$XSLTPROC" # 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_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 XSLTPROC=$ac_cv_path_XSLTPROC
7217 if test -n "$XSLTPROC"; then
7218 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7219 echo "${ECHO_T}$XSLTPROC" >&6
7221 echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6
7225 test -n "$XSLTPROC" && break
7227 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7230 if test -z "${XSLTPROC}" && $rq; then
7232 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7233 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7234 { (exit 1); exit 1; }; }
7236 { { echo "$as_me:$LINENO: error:
7237 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7239 echo "$as_me: error:
7240 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7242 { (exit 1); exit 1; }; }
7246 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7253 if test "$XSLTP" != ':'; then
7255 HAVE_XSLTP_FALSE='#'
7263 if test "$XSLTPROC" != ':'; then
7265 HAVE_XSLTPROC_FALSE='#'
7267 HAVE_XSLTPROC_TRUE='#'
7268 HAVE_XSLTPROC_FALSE=
7275 warn_flags="-Werror -W"
7276 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7277 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7279 ac_cpp='$CPP $CPPFLAGS'
7280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7284 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7285 CFLAGS="$warn_flags"
7286 cat >conftest.$ac_ext <<_ACEOF
7289 cat confdefs.h >>conftest.$ac_ext
7290 cat >>conftest.$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7292 inline static void f(){}
7301 rm -f conftest.$ac_objext
7302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7303 (eval $ac_compile) 2>conftest.er1
7305 grep -v '^ *+' conftest.er1 >conftest.err
7307 cat conftest.err >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); } &&
7310 { ac_try='test -z "$ac_c_werror_flag"
7311 || test ! -s conftest.err'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; } &&
7317 { ac_try='test -s conftest.$ac_objext'
7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; }; then
7323 ensc_sys_compilerwarnflags_C=${warn_flags}
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 ensc_sys_compilerwarnflags_C=
7330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7332 ac_cpp='$CPP $CPPFLAGS'
7333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7337 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7339 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6
7351 echo 'void f(){}' > conftest.c
7352 for i in -std=c99 -Wall -pedantic -W
7354 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7355 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7356 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7358 CFLAGS="${CFLAGS} $i"
7359 echo "$as_me:$LINENO: result: yes" >&5
7360 echo "${ECHO_T}yes" >&6
7362 echo "$as_me:$LINENO: result: no" >&5
7363 echo "${ECHO_T}no" >&6
7366 rm -f conftest.c conftest.o
7370 warn_flags="-Werror -W"
7371 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
7372 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
7374 ac_cpp='$CXXCPP $CPPFLAGS'
7375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7379 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
7380 CXXFLAGS="$warn_flags"
7381 cat >conftest.$ac_ext <<_ACEOF
7384 cat confdefs.h >>conftest.$ac_ext
7385 cat >>conftest.$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 inline static void f(){}
7396 rm -f conftest.$ac_objext
7397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7398 (eval $ac_compile) 2>conftest.er1
7400 grep -v '^ *+' conftest.er1 >conftest.err
7402 cat conftest.err >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } &&
7405 { ac_try='test -z "$ac_cxx_werror_flag"
7406 || test ! -s conftest.err'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; } &&
7412 { ac_try='test -s conftest.$ac_objext'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; }; then
7418 ensc_sys_compilerwarnflags_CXX=${warn_flags}
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.$ac_ext >&5
7423 ensc_sys_compilerwarnflags_CXX=
7425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7427 ac_cpp='$CPP $CPPFLAGS'
7428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7432 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7434 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7438 echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6
7446 echo 'void f(){}' > conftest.cc
7447 for i in -ansi -Wall -pedantic -W -fmessage-length=0
7449 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7450 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7451 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7453 CXXFLAGS="${CXXFLAGS} $i"
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7461 rm -f conftest.cc conftest.o
7464 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
7465 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
7466 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
7467 if test "${enable_extra_optimizations+set}" = set; then
7468 enableval="$enable_extra_optimizations"
7469 case "$enableval" in
7470 (yes) use_extra_optimizations=1;;
7471 (no) use_extra_optimizations=;;
7472 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
7473 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
7474 { (exit 1); exit 1; }; };;
7477 use_extra_optimizations=1
7480 if test x"$use_extra_optimizations" = x; then
7481 echo "$as_me:$LINENO: result: no" >&5
7482 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: result: yes" >&5
7485 echo "${ECHO_T}yes" >&6
7489 echo 'void f(){}' > conftest.c
7490 for i in -funit-at-a-time
7492 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7493 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7494 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7496 CFLAGS="${CFLAGS} $i"
7497 echo "$as_me:$LINENO: result: yes" >&5
7498 echo "${ECHO_T}yes" >&6
7500 echo "$as_me:$LINENO: result: no" >&5
7501 echo "${ECHO_T}no" >&6
7504 rm -f conftest.c conftest.o
7509 echo 'void f(){}' > conftest.cc
7510 for i in -funit-at-a-time
7512 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7513 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7514 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7516 CXXFLAGS="${CXXFLAGS} $i"
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7524 rm -f conftest.cc conftest.o
7528 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
7529 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
7530 # Check whether --enable-lib-debug or --disable-lib-debug was given.
7531 if test "${enable_lib_debug+set}" = set; then
7532 enableval="$enable_lib_debug"
7533 case "$enableval" in
7534 (yes) use_lib_debug=1;;
7535 (no) use_lib_debug=;;
7536 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
7537 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
7538 { (exit 1); exit 1; }; };;
7544 if test x"$use_lib_debug" = x; then
7545 LIB_DEBUG_CPPFLAGS=-DNDEBUG
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7555 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
7556 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
7557 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
7558 if test "${enable_expensive_tests+set}" = set; then
7559 enableval="$enable_expensive_tests"
7560 case "$enableval" in
7561 (yes|no) use_expensive_tests=$enableval;;
7562 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&5
7563 echo "$as_me: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&2;}
7564 { (exit 1); exit 1; }; };;
7567 use_expensive_tests=yes
7569 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
7570 echo "${ECHO_T}$use_expensive_tests" >&6
7572 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
7577 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
7578 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
7579 echo "$as_me:$LINENO: result: " >&5
7580 echo "${ECHO_T}" >&6
7583 ac_cpp='$CPP $CPPFLAGS'
7584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7588 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
7589 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
7590 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
7591 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 cat >conftest.$ac_ext <<_ACEOF
7596 cat confdefs.h >>conftest.$ac_ext
7597 cat >>conftest.$ac_ext <<_ACEOF
7598 /* end confdefs.h. */
7600 #include <linux/personality.h>
7606 #ifndef MMAP_PAGE_ZERO
7607 char *p = (char *) MMAP_PAGE_ZERO;
7614 rm -f conftest.$ac_objext
7615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7616 (eval $ac_compile) 2>conftest.er1
7618 grep -v '^ *+' conftest.er1 >conftest.err
7620 cat conftest.err >&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); } &&
7623 { ac_try='test -z "$ac_c_werror_flag"
7624 || test ! -s conftest.err'
7625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); }; } &&
7630 { ac_try='test -s conftest.$ac_objext'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 ac_cv_have_decl_MMAP_PAGE_ZERO=no
7643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7645 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
7646 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
7647 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define HAVE_DECL_MMAP_PAGE_ZERO 1
7655 cat >>confdefs.h <<_ACEOF
7656 #define HAVE_DECL_MMAP_PAGE_ZERO 0
7661 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
7662 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
7663 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
7664 echo $ECHO_N "(cached) $ECHO_C" >&6
7666 cat >conftest.$ac_ext <<_ACEOF
7669 cat confdefs.h >>conftest.$ac_ext
7670 cat >>conftest.$ac_ext <<_ACEOF
7671 /* end confdefs.h. */
7673 #include <linux/personality.h>
7679 #ifndef ADDR_LIMIT_32BIT
7680 char *p = (char *) ADDR_LIMIT_32BIT;
7687 rm -f conftest.$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>conftest.er1
7691 grep -v '^ *+' conftest.er1 >conftest.err
7693 cat conftest.err >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try='test -z "$ac_c_werror_flag"
7697 || test ! -s conftest.err'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; } &&
7703 { ac_try='test -s conftest.$ac_objext'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; }; then
7709 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
7711 echo "$as_me: failed program was:" >&5
7712 sed 's/^/| /' conftest.$ac_ext >&5
7714 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
7716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7718 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
7719 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
7720 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
7722 cat >>confdefs.h <<_ACEOF
7723 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
7728 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
7734 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
7735 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
7736 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
7737 echo $ECHO_N "(cached) $ECHO_C" >&6
7739 cat >conftest.$ac_ext <<_ACEOF
7742 cat confdefs.h >>conftest.$ac_ext
7743 cat >>conftest.$ac_ext <<_ACEOF
7744 /* end confdefs.h. */
7746 #include <linux/personality.h>
7753 char *p = (char *) SHORT_INODE;
7760 rm -f conftest.$ac_objext
7761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7762 (eval $ac_compile) 2>conftest.er1
7764 grep -v '^ *+' conftest.er1 >conftest.err
7766 cat conftest.err >&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); } &&
7769 { ac_try='test -z "$ac_c_werror_flag"
7770 || test ! -s conftest.err'
7771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); }; } &&
7776 { ac_try='test -s conftest.$ac_objext'
7777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); }; }; then
7782 ac_cv_have_decl_SHORT_INODE=yes
7784 echo "$as_me: failed program was:" >&5
7785 sed 's/^/| /' conftest.$ac_ext >&5
7787 ac_cv_have_decl_SHORT_INODE=no
7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7791 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
7792 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
7793 if test $ac_cv_have_decl_SHORT_INODE = yes; then
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_DECL_SHORT_INODE 1
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_DECL_SHORT_INODE 0
7807 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
7808 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
7809 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7812 cat >conftest.$ac_ext <<_ACEOF
7815 cat confdefs.h >>conftest.$ac_ext
7816 cat >>conftest.$ac_ext <<_ACEOF
7817 /* end confdefs.h. */
7819 #include <linux/personality.h>
7825 #ifndef WHOLE_SECONDS
7826 char *p = (char *) WHOLE_SECONDS;
7833 rm -f conftest.$ac_objext
7834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7835 (eval $ac_compile) 2>conftest.er1
7837 grep -v '^ *+' conftest.er1 >conftest.err
7839 cat conftest.err >&5
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); } &&
7842 { ac_try='test -z "$ac_c_werror_flag"
7843 || test ! -s conftest.err'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; } &&
7849 { ac_try='test -s conftest.$ac_objext'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; }; then
7855 ac_cv_have_decl_WHOLE_SECONDS=yes
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7860 ac_cv_have_decl_WHOLE_SECONDS=no
7862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7864 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
7865 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
7866 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_DECL_WHOLE_SECONDS 1
7874 cat >>confdefs.h <<_ACEOF
7875 #define HAVE_DECL_WHOLE_SECONDS 0
7880 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
7881 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
7882 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 cat >conftest.$ac_ext <<_ACEOF
7888 cat confdefs.h >>conftest.$ac_ext
7889 cat >>conftest.$ac_ext <<_ACEOF
7890 /* end confdefs.h. */
7892 #include <linux/personality.h>
7898 #ifndef STICKY_TIMEOUTS
7899 char *p = (char *) STICKY_TIMEOUTS;
7906 rm -f conftest.$ac_objext
7907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7908 (eval $ac_compile) 2>conftest.er1
7910 grep -v '^ *+' conftest.er1 >conftest.err
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -z "$ac_c_werror_flag"
7916 || test ! -s conftest.err'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; } &&
7922 { ac_try='test -s conftest.$ac_objext'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 ac_cv_have_decl_STICKY_TIMEOUTS=yes
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.$ac_ext >&5
7933 ac_cv_have_decl_STICKY_TIMEOUTS=no
7935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7937 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
7938 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
7939 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
7941 cat >>confdefs.h <<_ACEOF
7942 #define HAVE_DECL_STICKY_TIMEOUTS 1
7947 cat >>confdefs.h <<_ACEOF
7948 #define HAVE_DECL_STICKY_TIMEOUTS 0
7953 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
7954 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
7955 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 cat >conftest.$ac_ext <<_ACEOF
7961 cat confdefs.h >>conftest.$ac_ext
7962 cat >>conftest.$ac_ext <<_ACEOF
7963 /* end confdefs.h. */
7965 #include <linux/personality.h>
7971 #ifndef ADDR_LIMIT_3GB
7972 char *p = (char *) ADDR_LIMIT_3GB;
7979 rm -f conftest.$ac_objext
7980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7981 (eval $ac_compile) 2>conftest.er1
7983 grep -v '^ *+' conftest.er1 >conftest.err
7985 cat conftest.err >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } &&
7988 { ac_try='test -z "$ac_c_werror_flag"
7989 || test ! -s conftest.err'
7990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); }; } &&
7995 { ac_try='test -s conftest.$ac_objext'
7996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); }; }; then
8001 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8006 ac_cv_have_decl_ADDR_LIMIT_3GB=no
8008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8010 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
8011 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
8012 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
8014 cat >>confdefs.h <<_ACEOF
8015 #define HAVE_DECL_ADDR_LIMIT_3GB 1
8020 cat >>confdefs.h <<_ACEOF
8021 #define HAVE_DECL_ADDR_LIMIT_3GB 0
8029 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
8030 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
8031 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 cat >conftest.$ac_ext <<_ACEOF
8037 cat confdefs.h >>conftest.$ac_ext
8038 cat >>conftest.$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8041 #include <linux/personality.h>
8048 char *p = (char *) PER_LINUX;
8055 rm -f conftest.$ac_objext
8056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8057 (eval $ac_compile) 2>conftest.er1
8059 grep -v '^ *+' conftest.er1 >conftest.err
8061 cat conftest.err >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try='test -z "$ac_c_werror_flag"
8065 || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try='test -s conftest.$ac_objext'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 ac_cv_have_decl_PER_LINUX=yes
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8082 ac_cv_have_decl_PER_LINUX=no
8084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8086 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
8087 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
8088 if test $ac_cv_have_decl_PER_LINUX = yes; then
8090 cat >>confdefs.h <<_ACEOF
8091 #define HAVE_DECL_PER_LINUX 1
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_DECL_PER_LINUX 0
8102 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
8103 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
8104 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 cat >conftest.$ac_ext <<_ACEOF
8110 cat confdefs.h >>conftest.$ac_ext
8111 cat >>conftest.$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8114 #include <linux/personality.h>
8120 #ifndef PER_LINUX_32BIT
8121 char *p = (char *) PER_LINUX_32BIT;
8128 rm -f conftest.$ac_objext
8129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8130 (eval $ac_compile) 2>conftest.er1
8132 grep -v '^ *+' conftest.er1 >conftest.err
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try='test -z "$ac_c_werror_flag"
8138 || test ! -s conftest.err'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; } &&
8144 { ac_try='test -s conftest.$ac_objext'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; }; then
8150 ac_cv_have_decl_PER_LINUX_32BIT=yes
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_cv_have_decl_PER_LINUX_32BIT=no
8157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8159 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
8160 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
8161 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8163 cat >>confdefs.h <<_ACEOF
8164 #define HAVE_DECL_PER_LINUX_32BIT 1
8169 cat >>confdefs.h <<_ACEOF
8170 #define HAVE_DECL_PER_LINUX_32BIT 0
8175 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8176 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8177 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 cat >conftest.$ac_ext <<_ACEOF
8183 cat confdefs.h >>conftest.$ac_ext
8184 cat >>conftest.$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8187 #include <linux/personality.h>
8194 char *p = (char *) PER_SVR4;
8201 rm -f conftest.$ac_objext
8202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8203 (eval $ac_compile) 2>conftest.er1
8205 grep -v '^ *+' conftest.er1 >conftest.err
8207 cat conftest.err >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); } &&
8210 { ac_try='test -z "$ac_c_werror_flag"
8211 || test ! -s conftest.err'
8212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); }; } &&
8217 { ac_try='test -s conftest.$ac_objext'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; }; then
8223 ac_cv_have_decl_PER_SVR4=yes
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8228 ac_cv_have_decl_PER_SVR4=no
8230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8232 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8233 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8234 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8236 cat >>confdefs.h <<_ACEOF
8237 #define HAVE_DECL_PER_SVR4 1
8242 cat >>confdefs.h <<_ACEOF
8243 #define HAVE_DECL_PER_SVR4 0
8248 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8249 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8250 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 cat >conftest.$ac_ext <<_ACEOF
8256 cat confdefs.h >>conftest.$ac_ext
8257 cat >>conftest.$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8260 #include <linux/personality.h>
8267 char *p = (char *) PER_SVR3;
8274 rm -f conftest.$ac_objext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8276 (eval $ac_compile) 2>conftest.er1
8278 grep -v '^ *+' conftest.er1 >conftest.err
8280 cat conftest.err >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try='test -z "$ac_c_werror_flag"
8284 || test ! -s conftest.err'
8285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); }; } &&
8290 { ac_try='test -s conftest.$ac_objext'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; }; then
8296 ac_cv_have_decl_PER_SVR3=yes
8298 echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8301 ac_cv_have_decl_PER_SVR3=no
8303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8305 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8306 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8307 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8309 cat >>confdefs.h <<_ACEOF
8310 #define HAVE_DECL_PER_SVR3 1
8315 cat >>confdefs.h <<_ACEOF
8316 #define HAVE_DECL_PER_SVR3 0
8321 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
8322 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
8323 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 cat >conftest.$ac_ext <<_ACEOF
8329 cat confdefs.h >>conftest.$ac_ext
8330 cat >>conftest.$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8333 #include <linux/personality.h>
8340 char *p = (char *) PER_SCOSVR3;
8347 rm -f conftest.$ac_objext
8348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8349 (eval $ac_compile) 2>conftest.er1
8351 grep -v '^ *+' conftest.er1 >conftest.err
8353 cat conftest.err >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } &&
8356 { ac_try='test -z "$ac_c_werror_flag"
8357 || test ! -s conftest.err'
8358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); }; } &&
8363 { ac_try='test -s conftest.$ac_objext'
8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; }; then
8369 ac_cv_have_decl_PER_SCOSVR3=yes
8371 echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.$ac_ext >&5
8374 ac_cv_have_decl_PER_SCOSVR3=no
8376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8378 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
8379 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
8380 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
8382 cat >>confdefs.h <<_ACEOF
8383 #define HAVE_DECL_PER_SCOSVR3 1
8388 cat >>confdefs.h <<_ACEOF
8389 #define HAVE_DECL_PER_SCOSVR3 0
8394 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
8395 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
8396 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
8397 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 cat >conftest.$ac_ext <<_ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8406 #include <linux/personality.h>
8413 char *p = (char *) PER_OSR5;
8420 rm -f conftest.$ac_objext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8422 (eval $ac_compile) 2>conftest.er1
8424 grep -v '^ *+' conftest.er1 >conftest.err
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try='test -z "$ac_c_werror_flag"
8430 || test ! -s conftest.err'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; } &&
8436 { ac_try='test -s conftest.$ac_objext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 ac_cv_have_decl_PER_OSR5=yes
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.$ac_ext >&5
8447 ac_cv_have_decl_PER_OSR5=no
8449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8451 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
8452 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
8453 if test $ac_cv_have_decl_PER_OSR5 = yes; then
8455 cat >>confdefs.h <<_ACEOF
8456 #define HAVE_DECL_PER_OSR5 1
8461 cat >>confdefs.h <<_ACEOF
8462 #define HAVE_DECL_PER_OSR5 0
8467 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
8468 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
8469 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 cat >conftest.$ac_ext <<_ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8479 #include <linux/personality.h>
8485 #ifndef PER_WYSEV386
8486 char *p = (char *) PER_WYSEV386;
8493 rm -f conftest.$ac_objext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8495 (eval $ac_compile) 2>conftest.er1
8497 grep -v '^ *+' conftest.er1 >conftest.err
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try='test -z "$ac_c_werror_flag"
8503 || test ! -s conftest.err'
8504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; } &&
8509 { ac_try='test -s conftest.$ac_objext'
8510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }; }; then
8515 ac_cv_have_decl_PER_WYSEV386=yes
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.$ac_ext >&5
8520 ac_cv_have_decl_PER_WYSEV386=no
8522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8524 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
8525 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
8526 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
8528 cat >>confdefs.h <<_ACEOF
8529 #define HAVE_DECL_PER_WYSEV386 1
8534 cat >>confdefs.h <<_ACEOF
8535 #define HAVE_DECL_PER_WYSEV386 0
8540 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
8541 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
8542 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 cat >conftest.$ac_ext <<_ACEOF
8548 cat confdefs.h >>conftest.$ac_ext
8549 cat >>conftest.$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8552 #include <linux/personality.h>
8559 char *p = (char *) PER_ISCR4;
8566 rm -f conftest.$ac_objext
8567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8568 (eval $ac_compile) 2>conftest.er1
8570 grep -v '^ *+' conftest.er1 >conftest.err
8572 cat conftest.err >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } &&
8575 { ac_try='test -z "$ac_c_werror_flag"
8576 || test ! -s conftest.err'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; } &&
8582 { ac_try='test -s conftest.$ac_objext'
8583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); }; }; then
8588 ac_cv_have_decl_PER_ISCR4=yes
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.$ac_ext >&5
8593 ac_cv_have_decl_PER_ISCR4=no
8595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8597 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
8598 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
8599 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
8601 cat >>confdefs.h <<_ACEOF
8602 #define HAVE_DECL_PER_ISCR4 1
8607 cat >>confdefs.h <<_ACEOF
8608 #define HAVE_DECL_PER_ISCR4 0
8613 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
8614 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
8615 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8618 cat >conftest.$ac_ext <<_ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8625 #include <linux/personality.h>
8632 char *p = (char *) PER_BSD;
8639 rm -f conftest.$ac_objext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8641 (eval $ac_compile) 2>conftest.er1
8643 grep -v '^ *+' conftest.er1 >conftest.err
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -z "$ac_c_werror_flag"
8649 || test ! -s conftest.err'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; } &&
8655 { ac_try='test -s conftest.$ac_objext'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then
8661 ac_cv_have_decl_PER_BSD=yes
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8666 ac_cv_have_decl_PER_BSD=no
8668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8670 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
8671 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
8672 if test $ac_cv_have_decl_PER_BSD = yes; then
8674 cat >>confdefs.h <<_ACEOF
8675 #define HAVE_DECL_PER_BSD 1
8680 cat >>confdefs.h <<_ACEOF
8681 #define HAVE_DECL_PER_BSD 0
8686 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
8687 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
8688 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 cat >conftest.$ac_ext <<_ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8698 #include <linux/personality.h>
8705 char *p = (char *) PER_SUNOS;
8712 rm -f conftest.$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1 >conftest.err
8718 cat conftest.err >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try='test -z "$ac_c_werror_flag"
8722 || test ! -s conftest.err'
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; } &&
8728 { ac_try='test -s conftest.$ac_objext'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; }; then
8734 ac_cv_have_decl_PER_SUNOS=yes
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.$ac_ext >&5
8739 ac_cv_have_decl_PER_SUNOS=no
8741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8743 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
8744 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
8745 if test $ac_cv_have_decl_PER_SUNOS = yes; then
8747 cat >>confdefs.h <<_ACEOF
8748 #define HAVE_DECL_PER_SUNOS 1
8753 cat >>confdefs.h <<_ACEOF
8754 #define HAVE_DECL_PER_SUNOS 0
8759 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
8760 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
8761 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
8762 echo $ECHO_N "(cached) $ECHO_C" >&6
8764 cat >conftest.$ac_ext <<_ACEOF
8767 cat confdefs.h >>conftest.$ac_ext
8768 cat >>conftest.$ac_ext <<_ACEOF
8769 /* end confdefs.h. */
8771 #include <linux/personality.h>
8778 char *p = (char *) PER_XENIX;
8785 rm -f conftest.$ac_objext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787 (eval $ac_compile) 2>conftest.er1
8789 grep -v '^ *+' conftest.er1 >conftest.err
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try='test -z "$ac_c_werror_flag"
8795 || test ! -s conftest.err'
8796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); }; } &&
8801 { ac_try='test -s conftest.$ac_objext'
8802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); }; }; then
8807 ac_cv_have_decl_PER_XENIX=yes
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 ac_cv_have_decl_PER_XENIX=no
8814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8816 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
8817 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
8818 if test $ac_cv_have_decl_PER_XENIX = yes; then
8820 cat >>confdefs.h <<_ACEOF
8821 #define HAVE_DECL_PER_XENIX 1
8826 cat >>confdefs.h <<_ACEOF
8827 #define HAVE_DECL_PER_XENIX 0
8832 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
8833 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
8834 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 cat >conftest.$ac_ext <<_ACEOF
8840 cat confdefs.h >>conftest.$ac_ext
8841 cat >>conftest.$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8844 #include <linux/personality.h>
8851 char *p = (char *) PER_LINUX32;
8858 rm -f conftest.$ac_objext
8859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8860 (eval $ac_compile) 2>conftest.er1
8862 grep -v '^ *+' conftest.er1 >conftest.err
8864 cat conftest.err >&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); } &&
8867 { ac_try='test -z "$ac_c_werror_flag"
8868 || test ! -s conftest.err'
8869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); }; } &&
8874 { ac_try='test -s conftest.$ac_objext'
8875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879 (exit $ac_status); }; }; then
8880 ac_cv_have_decl_PER_LINUX32=yes
8882 echo "$as_me: failed program was:" >&5
8883 sed 's/^/| /' conftest.$ac_ext >&5
8885 ac_cv_have_decl_PER_LINUX32=no
8887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8889 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
8890 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
8891 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
8893 cat >>confdefs.h <<_ACEOF
8894 #define HAVE_DECL_PER_LINUX32 1
8899 cat >>confdefs.h <<_ACEOF
8900 #define HAVE_DECL_PER_LINUX32 0
8905 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
8906 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
8907 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 cat >conftest.$ac_ext <<_ACEOF
8913 cat confdefs.h >>conftest.$ac_ext
8914 cat >>conftest.$ac_ext <<_ACEOF
8915 /* end confdefs.h. */
8917 #include <linux/personality.h>
8923 #ifndef PER_LINUX32_3GB
8924 char *p = (char *) PER_LINUX32_3GB;
8931 rm -f conftest.$ac_objext
8932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8933 (eval $ac_compile) 2>conftest.er1
8935 grep -v '^ *+' conftest.er1 >conftest.err
8937 cat conftest.err >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try='test -z "$ac_c_werror_flag"
8941 || test ! -s conftest.err'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; } &&
8947 { ac_try='test -s conftest.$ac_objext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 ac_cv_have_decl_PER_LINUX32_3GB=yes
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.$ac_ext >&5
8958 ac_cv_have_decl_PER_LINUX32_3GB=no
8960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8962 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
8963 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
8964 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_DECL_PER_LINUX32_3GB 1
8972 cat >>confdefs.h <<_ACEOF
8973 #define HAVE_DECL_PER_LINUX32_3GB 0
8978 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
8979 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
8980 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8983 cat >conftest.$ac_ext <<_ACEOF
8986 cat confdefs.h >>conftest.$ac_ext
8987 cat >>conftest.$ac_ext <<_ACEOF
8988 /* end confdefs.h. */
8990 #include <linux/personality.h>
8997 char *p = (char *) PER_IRIX32;
9004 rm -f conftest.$ac_objext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9006 (eval $ac_compile) 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -z "$ac_c_werror_flag"
9014 || test ! -s conftest.err'
9015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); }; } &&
9020 { ac_try='test -s conftest.$ac_objext'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; }; then
9026 ac_cv_have_decl_PER_IRIX32=yes
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9031 ac_cv_have_decl_PER_IRIX32=no
9033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9035 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
9036 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
9037 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
9039 cat >>confdefs.h <<_ACEOF
9040 #define HAVE_DECL_PER_IRIX32 1
9045 cat >>confdefs.h <<_ACEOF
9046 #define HAVE_DECL_PER_IRIX32 0
9051 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
9052 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
9053 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9056 cat >conftest.$ac_ext <<_ACEOF
9059 cat confdefs.h >>conftest.$ac_ext
9060 cat >>conftest.$ac_ext <<_ACEOF
9061 /* end confdefs.h. */
9063 #include <linux/personality.h>
9070 char *p = (char *) PER_IRIXN32;
9077 rm -f conftest.$ac_objext
9078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9079 (eval $ac_compile) 2>conftest.er1
9081 grep -v '^ *+' conftest.er1 >conftest.err
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); } &&
9086 { ac_try='test -z "$ac_c_werror_flag"
9087 || test ! -s conftest.err'
9088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); }; } &&
9093 { ac_try='test -s conftest.$ac_objext'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; }; then
9099 ac_cv_have_decl_PER_IRIXN32=yes
9101 echo "$as_me: failed program was:" >&5
9102 sed 's/^/| /' conftest.$ac_ext >&5
9104 ac_cv_have_decl_PER_IRIXN32=no
9106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9108 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
9109 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
9110 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
9112 cat >>confdefs.h <<_ACEOF
9113 #define HAVE_DECL_PER_IRIXN32 1
9118 cat >>confdefs.h <<_ACEOF
9119 #define HAVE_DECL_PER_IRIXN32 0
9124 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
9125 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
9126 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
9127 echo $ECHO_N "(cached) $ECHO_C" >&6
9129 cat >conftest.$ac_ext <<_ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9136 #include <linux/personality.h>
9143 char *p = (char *) PER_IRIX64;
9150 rm -f conftest.$ac_objext
9151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9152 (eval $ac_compile) 2>conftest.er1
9154 grep -v '^ *+' conftest.er1 >conftest.err
9156 cat conftest.err >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); } &&
9159 { ac_try='test -z "$ac_c_werror_flag"
9160 || test ! -s conftest.err'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; } &&
9166 { ac_try='test -s conftest.$ac_objext'
9167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); }; }; then
9172 ac_cv_have_decl_PER_IRIX64=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.$ac_ext >&5
9177 ac_cv_have_decl_PER_IRIX64=no
9179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9181 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9182 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9183 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9185 cat >>confdefs.h <<_ACEOF
9186 #define HAVE_DECL_PER_IRIX64 1
9191 cat >>confdefs.h <<_ACEOF
9192 #define HAVE_DECL_PER_IRIX64 0
9197 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9198 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9199 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 cat >conftest.$ac_ext <<_ACEOF
9205 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9209 #include <linux/personality.h>
9216 char *p = (char *) PER_RISCOS;
9223 rm -f conftest.$ac_objext
9224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9225 (eval $ac_compile) 2>conftest.er1
9227 grep -v '^ *+' conftest.er1 >conftest.err
9229 cat conftest.err >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } &&
9232 { ac_try='test -z "$ac_c_werror_flag"
9233 || test ! -s conftest.err'
9234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; } &&
9239 { ac_try='test -s conftest.$ac_objext'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 ac_cv_have_decl_PER_RISCOS=yes
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 ac_cv_have_decl_PER_RISCOS=no
9252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9254 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9255 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9256 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9258 cat >>confdefs.h <<_ACEOF
9259 #define HAVE_DECL_PER_RISCOS 1
9264 cat >>confdefs.h <<_ACEOF
9265 #define HAVE_DECL_PER_RISCOS 0
9270 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9271 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9272 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 cat >conftest.$ac_ext <<_ACEOF
9278 cat confdefs.h >>conftest.$ac_ext
9279 cat >>conftest.$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9282 #include <linux/personality.h>
9289 char *p = (char *) PER_SOLARIS;
9296 rm -f conftest.$ac_objext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9298 (eval $ac_compile) 2>conftest.er1
9300 grep -v '^ *+' conftest.er1 >conftest.err
9302 cat conftest.err >&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } &&
9305 { ac_try='test -z "$ac_c_werror_flag"
9306 || test ! -s conftest.err'
9307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); }; } &&
9312 { ac_try='test -s conftest.$ac_objext'
9313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); }; }; then
9318 ac_cv_have_decl_PER_SOLARIS=yes
9320 echo "$as_me: failed program was:" >&5
9321 sed 's/^/| /' conftest.$ac_ext >&5
9323 ac_cv_have_decl_PER_SOLARIS=no
9325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9327 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
9328 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
9329 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
9331 cat >>confdefs.h <<_ACEOF
9332 #define HAVE_DECL_PER_SOLARIS 1
9337 cat >>confdefs.h <<_ACEOF
9338 #define HAVE_DECL_PER_SOLARIS 0
9343 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
9344 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
9345 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 cat >conftest.$ac_ext <<_ACEOF
9351 cat confdefs.h >>conftest.$ac_ext
9352 cat >>conftest.$ac_ext <<_ACEOF
9353 /* end confdefs.h. */
9355 #include <linux/personality.h>
9362 char *p = (char *) PER_UW7;
9369 rm -f conftest.$ac_objext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9371 (eval $ac_compile) 2>conftest.er1
9373 grep -v '^ *+' conftest.er1 >conftest.err
9375 cat conftest.err >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try='test -z "$ac_c_werror_flag"
9379 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 ac_cv_have_decl_PER_UW7=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 ac_cv_have_decl_PER_UW7=no
9398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9400 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
9401 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
9402 if test $ac_cv_have_decl_PER_UW7 = yes; then
9404 cat >>confdefs.h <<_ACEOF
9405 #define HAVE_DECL_PER_UW7 1
9410 cat >>confdefs.h <<_ACEOF
9411 #define HAVE_DECL_PER_UW7 0
9416 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
9417 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
9418 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 cat >conftest.$ac_ext <<_ACEOF
9424 cat confdefs.h >>conftest.$ac_ext
9425 cat >>conftest.$ac_ext <<_ACEOF
9426 /* end confdefs.h. */
9428 #include <linux/personality.h>
9435 char *p = (char *) PER_HPUX;
9442 rm -f conftest.$ac_objext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9444 (eval $ac_compile) 2>conftest.er1
9446 grep -v '^ *+' conftest.er1 >conftest.err
9448 cat conftest.err >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } &&
9451 { ac_try='test -z "$ac_c_werror_flag"
9452 || test ! -s conftest.err'
9453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; } &&
9458 { ac_try='test -s conftest.$ac_objext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 ac_cv_have_decl_PER_HPUX=yes
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9469 ac_cv_have_decl_PER_HPUX=no
9471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9473 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
9474 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
9475 if test $ac_cv_have_decl_PER_HPUX = yes; then
9477 cat >>confdefs.h <<_ACEOF
9478 #define HAVE_DECL_PER_HPUX 1
9483 cat >>confdefs.h <<_ACEOF
9484 #define HAVE_DECL_PER_HPUX 0
9489 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
9490 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
9491 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
9492 echo $ECHO_N "(cached) $ECHO_C" >&6
9494 cat >conftest.$ac_ext <<_ACEOF
9497 cat confdefs.h >>conftest.$ac_ext
9498 cat >>conftest.$ac_ext <<_ACEOF
9499 /* end confdefs.h. */
9501 #include <linux/personality.h>
9508 char *p = (char *) PER_OSF4;
9515 rm -f conftest.$ac_objext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9517 (eval $ac_compile) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest.$ac_objext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9537 ac_cv_have_decl_PER_OSF4=yes
9539 echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.$ac_ext >&5
9542 ac_cv_have_decl_PER_OSF4=no
9544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9546 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
9547 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
9548 if test $ac_cv_have_decl_PER_OSF4 = yes; then
9550 cat >>confdefs.h <<_ACEOF
9551 #define HAVE_DECL_PER_OSF4 1
9556 cat >>confdefs.h <<_ACEOF
9557 #define HAVE_DECL_PER_OSF4 0
9565 ac_cpp='$CPP $CPPFLAGS'
9566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9575 echo "$as_me:$LINENO: checking for initrddir" >&5
9576 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
9578 # Check whether --with-initrddir or --without-initrddir was given.
9579 if test "${with_initrddir+set}" = set; then
9580 withval="$with_initrddir"
9582 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
9583 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
9584 { (exit 1); exit 1; }; };;
9585 *) ensc_initrddir=$withval;;
9588 ensc_initrddir='$(sysconfdir)/init.d'
9591 if test "initrddir"; then
9592 initrddir=$ensc_initrddir
9596 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
9597 echo "${ECHO_T}$ensc_initrddir" >&6
9600 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
9601 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
9602 # Check whether --enable-release or --disable-release was given.
9603 if test "${enable_release+set}" = set; then
9604 enableval="$enable_release"
9605 case "$enableval" in
9606 yes) ensc_release_mode=yes;;
9607 no) ensc_release_mode=no;;
9608 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
9609 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
9610 { (exit 1); exit 1; }; };;
9613 ensc_release_mode=no
9616 if test x"$ensc_release_mode" = xno; then
9619 RELEASE_CPPFLAGS='-DNDEBUG'
9623 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
9624 echo "${ECHO_T}$ensc_release_mode" >&6
9629 (i*86|athlon) min_diet_ver=0.25;;
9630 (ia64|hppa*) min_diet_ver=0.29;;
9631 (*) min_diet_ver=0.28;;
9635 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
9636 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
9644 # Check whether --enable-dietlibc or --disable-dietlibc was given.
9645 if test "${enable_dietlibc+set}" = set; then
9646 enableval="$enable_dietlibc"
9647 case "$enableval" in
9648 (yes) use_dietlibc=forced;;
9649 (no) use_dietlibc=forced_no;;
9650 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
9651 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
9652 { (exit 1); exit 1; }; };;
9655 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
9658 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
9659 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
9660 _dietlibc_ver=${_dietlibc_ver##*diet version }
9661 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
9662 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
9663 _dietlibc_ver_min=${_dietlibc_ver##*.}
9664 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
9665 _dietlibc_cmp="$min_diet_ver"
9666 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
9667 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
9669 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
9671 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
9672 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
9674 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
9676 ENSC_VERSION_DIETLIBC=
9680 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
9681 ensc_have_dietlibc=no
9683 case x"$use_dietlibc" in
9689 USE_DIETLIBC_FALSE='#'
9691 USE_DIETLIBC_TRUE='#'
9695 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
9696 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
9697 ensc_have_dietlibc=yes
9704 USE_DIETLIBC_FALSE='#'
9706 USE_DIETLIBC_TRUE='#'
9710 echo "$as_me:$LINENO: result: yes (forced)" >&5
9711 echo "${ECHO_T}yes (forced)" >&6
9712 ensc_have_dietlibc=yes
9719 USE_DIETLIBC_FALSE='#'
9721 USE_DIETLIBC_TRUE='#'
9725 echo "$as_me:$LINENO: result: no (detected)" >&5
9726 echo "${ECHO_T}no (detected)" >&6
9733 USE_DIETLIBC_FALSE='#'
9735 USE_DIETLIBC_TRUE='#'
9739 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
9740 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
9747 USE_DIETLIBC_FALSE='#'
9749 USE_DIETLIBC_TRUE='#'
9753 echo "$as_me:$LINENO: result: no (forced)" >&5
9754 echo "${ECHO_T}no (forced)" >&6
9757 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
9758 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
9759 { (exit 1); exit 1; }; }
9763 if test x"$ensc_have_dietlibc" != xno; then
9768 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
9769 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
9770 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
9775 _ensc_dietlibc_c99_old_CC=$CC
9778 CC="${DIET:-diet} $CC"
9781 ac_cpp='$CPP $CPPFLAGS'
9782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9786 cat >conftest.$ac_ext <<_ACEOF
9789 rm -f conftest.$ac_objext
9790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9791 (eval $ac_compile) 2>conftest.er1
9793 grep -v '^ *+' conftest.er1 >conftest.err
9795 cat conftest.err >&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try='test -z "$ac_c_werror_flag"
9799 || test ! -s conftest.err'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; } &&
9805 { ac_try='test -s conftest.$ac_objext'
9806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); }; }; then
9812 cat >conftest.$ac_ext <<_ACEOF
9815 #include <sys/cdefs.h>
9817 # error 'inline' badly defined
9819 volatile uint64_t a;
9822 rm -f conftest.$ac_objext
9823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9824 (eval $ac_compile) 2>conftest.er1
9826 grep -v '^ *+' conftest.er1 >conftest.err
9828 cat conftest.err >&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); } &&
9831 { ac_try='test -z "$ac_c_werror_flag"
9832 || test ! -s conftest.err'
9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; } &&
9838 { ac_try='test -s conftest.$ac_objext'
9839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); }; }; then
9844 ensc_cv_c_dietlibc_c99=yes
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9849 ensc_cv_c_dietlibc_c99=no
9851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9853 echo "$as_me: failed program was:" >&5
9854 sed 's/^/| /' conftest.$ac_ext >&5
9856 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
9858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9860 ac_cpp='$CPP $CPPFLAGS'
9861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9866 CC=$_ensc_dietlibc_c99_old_CC
9867 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
9870 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
9871 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
9873 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
9874 cat >>confdefs.h <<\_ACEOF
9875 #define ENSC_DIETLIBC_C99 1
9883 if test x"$ensc_have_dietlibc" = xno; then
9884 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9885 echo "$as_me: WARNING: *** ***" >&2;}
9886 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
9887 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
9888 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
9889 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
9890 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
9891 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
9893 echo "$as_me: WARNING: *** there. ***" >&2;}
9894 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9895 echo "$as_me: WARNING: *** ***" >&2;}
9899 USE_DIETLIBC_COMPAT_TRUE=
9900 USE_DIETLIBC_COMPAT_FALSE='#'
9902 USE_DIETLIBC_COMPAT_TRUE='#'
9903 USE_DIETLIBC_COMPAT_FALSE=
9907 # HACK: libtool does not have cmdline options to build only
9908 # dynamic libraries; this can be done with the
9909 # '--disable-static' ./configure option only. As our static
9910 # libraries will be build with dietlibc, we have to do set
9911 # this option which is evaluated by 'AC_PROG_LIBTOOL'
9912 # below. Therefore, this macro must not be called earlier.
9919 if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
9920 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9921 echo "$as_me: WARNING: *** ***" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&5
9923 echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&2;}
9924 { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
9925 echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
9926 { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added ***" >&5
9927 echo "$as_me: WARNING: *** and lib/__nice.c added ***" >&2;}
9928 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9929 echo "$as_me: WARNING: *** ***" >&2;}
9933 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
9934 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
9935 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
9936 if test "${enable_alternative_syscalls+set}" = set; then
9937 enableval="$enable_alternative_syscalls"
9939 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
9940 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
9941 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
9942 { (exit 1); exit 1; }; };;
9945 ensc_use_alternative_syscall_macros=yes
9948 case $ensc_use_alternative_syscall_macros in
9950 cat >>confdefs.h <<\_ACEOF
9951 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
9956 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
9957 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
9962 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
9963 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
9964 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
9965 echo $ECHO_N "(cached) $ECHO_C" >&6
9969 ac_cpp='$CPP $CPPFLAGS'
9970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9974 ensc_dietlibc_need_compat_old_CC=$CC
9975 CC="${DIET:-diet} $CC"
9976 cat >conftest.$ac_ext <<_ACEOF
9980 cat confdefs.h >>conftest.$ac_ext
9981 cat >>conftest.$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9984 #include "$srcdir/lib/syscall-wrap.h"
9987 #define __NR_foo0 42
9988 #define __NR_foo1 42
9989 #define __NR_foo2 42
9990 #define __NR_foo3 42
9991 #define __NR_foo4 42
9992 #define __NR_foo5 42
9993 inline static _syscall0(int, foo0)
9994 inline static _syscall1(int, foo1, int, a)
9995 inline static _syscall2(int, foo2, int, a, int, b)
9996 inline static _syscall3(int, foo3, int, a, int, b, int, c)
9997 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
9998 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
10003 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
10008 rm -f conftest.$ac_objext conftest$ac_exeext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10010 (eval $ac_link) 2>conftest.er1
10012 grep -v '^ *+' conftest.er1 >conftest.err
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try='test -z "$ac_c_werror_flag"
10018 || test ! -s conftest.err'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try='test -s conftest$ac_exeext'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; }; then
10030 ensc_cv_c_dietlibc_compat=no
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10035 ensc_cv_c_dietlibc_compat=yes
10037 rm -f conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CC=$ensc_dietlibc_need_compat_old_CC
10041 ac_cpp='$CPP $CPPFLAGS'
10042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10048 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
10049 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
10051 if test x"USE_DIETLIBC_COMPAT" != x; then
10054 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
10055 USE_DIETLIBC_COMPAT_TRUE=
10056 USE_DIETLIBC_COMPAT_FALSE='#'
10058 USE_DIETLIBC_COMPAT_TRUE='#'
10059 USE_DIETLIBC_COMPAT_FALSE=
10068 if test x"$ensc_have_dietlibc" = xyes; then
10069 ENSC_USE_DIETLIBC_TRUE=
10070 ENSC_USE_DIETLIBC_FALSE='#'
10072 ENSC_USE_DIETLIBC_TRUE='#'
10073 ENSC_USE_DIETLIBC_FALSE=
10079 ENSC_USE_GLIBC_TRUE=
10080 ENSC_USE_GLIBC_FALSE='#'
10082 ENSC_USE_GLIBC_TRUE='#'
10083 ENSC_USE_GLIBC_FALSE=
10087 # HACK: see comments at 'enable_static' above
10088 # Check whether --enable-shared or --disable-shared was given.
10089 if test "${enable_shared+set}" = set; then
10090 enableval="$enable_shared"
10091 p=${PACKAGE-default}
10093 yes) enable_shared=yes ;;
10094 no) enable_shared=no ;;
10097 # Look at the argument we got. We use all the common list separators.
10098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10099 for pkg in $enableval; do
10101 if test "X$pkg" = "X$p"; then
10112 # Check whether --enable-static or --disable-static was given.
10113 if test "${enable_static+set}" = set; then
10114 enableval="$enable_static"
10115 p=${PACKAGE-default}
10117 yes) enable_static=yes ;;
10118 no) enable_static=no ;;
10121 # Look at the argument we got. We use all the common list separators.
10122 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10123 for pkg in $enableval; do
10125 if test "X$pkg" = "X$p"; then
10136 # Check whether --enable-fast-install or --disable-fast-install was given.
10137 if test "${enable_fast_install+set}" = set; then
10138 enableval="$enable_fast_install"
10139 p=${PACKAGE-default}
10141 yes) enable_fast_install=yes ;;
10142 no) enable_fast_install=no ;;
10144 enable_fast_install=no
10145 # Look at the argument we got. We use all the common list separators.
10146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10147 for pkg in $enableval; do
10149 if test "X$pkg" = "X$p"; then
10150 enable_fast_install=yes
10157 enable_fast_install=yes
10160 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
10161 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
10162 if test "${lt_cv_path_SED+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 # Loop through the user's path and test for sed and gsed.
10166 # Then use that list of sed's as ones to test for truncation.
10167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10168 for as_dir in $PATH
10171 test -z "$as_dir" && as_dir=.
10172 for lt_ac_prog in sed gsed; do
10173 for ac_exec_ext in '' $ac_executable_extensions; do
10174 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10175 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10182 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10183 # along with /bin/sed that truncates output.
10184 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10185 test ! -f $lt_ac_sed && break
10186 cat /dev/null > conftest.in
10188 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10189 # Check for GNU sed and select it if it is found.
10190 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10191 lt_cv_path_SED=$lt_ac_sed
10195 cat conftest.in conftest.in >conftest.tmp
10196 mv conftest.tmp conftest.in
10197 cp conftest.in conftest.nl
10199 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10200 cmp -s conftest.out conftest.nl || break
10201 # 10000 chars as input seems more than enough
10202 test $lt_ac_count -gt 10 && break
10203 lt_ac_count=`expr $lt_ac_count + 1`
10204 if test $lt_ac_count -gt $lt_ac_max; then
10205 lt_ac_max=$lt_ac_count
10206 lt_cv_path_SED=$lt_ac_sed
10210 SED=$lt_cv_path_SED
10214 echo "$as_me:$LINENO: result: $SED" >&5
10215 echo "${ECHO_T}$SED" >&6
10217 echo "$as_me:$LINENO: checking for egrep" >&5
10218 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10219 if test "${ac_cv_prog_egrep+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10223 then ac_cv_prog_egrep='grep -E'
10224 else ac_cv_prog_egrep='egrep'
10227 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10228 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10229 EGREP=$ac_cv_prog_egrep
10233 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10234 if test "${with_gnu_ld+set}" = set; then
10235 withval="$with_gnu_ld"
10236 test "$withval" = no || with_gnu_ld=yes
10241 if test "$GCC" = yes; then
10242 # Check if gcc -print-prog-name=ld gives a path.
10243 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10244 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10247 # gcc leaves a trailing carriage return which upsets mingw
10248 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10250 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10253 # Accept absolute paths.
10255 re_direlt='/[^/][^/]*/\.\./'
10256 # Canonicalize the pathname of ld
10257 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10258 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10259 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10261 test -z "$LD" && LD="$ac_prog"
10264 # If it fails, then pretend we aren't using GCC.
10268 # If it is relative, then search for the first ld in PATH.
10269 with_gnu_ld=unknown
10272 elif test "$with_gnu_ld" = yes; then
10273 echo "$as_me:$LINENO: checking for GNU ld" >&5
10274 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10276 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10277 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10279 if test "${lt_cv_path_LD+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 if test -z "$LD"; then
10283 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10284 for ac_dir in $PATH; do
10286 test -z "$ac_dir" && ac_dir=.
10287 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10288 lt_cv_path_LD="$ac_dir/$ac_prog"
10289 # Check to see if the program is GNU ld. I'd rather use --version,
10290 # but apparently some GNU ld's only accept -v.
10291 # Break only if it was the GNU/non-GNU ld that we prefer.
10292 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10293 *GNU* | *'with BFD'*)
10294 test "$with_gnu_ld" != no && break
10297 test "$with_gnu_ld" != yes && break
10304 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10308 LD="$lt_cv_path_LD"
10309 if test -n "$LD"; then
10310 echo "$as_me:$LINENO: result: $LD" >&5
10311 echo "${ECHO_T}$LD" >&6
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10316 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10317 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10318 { (exit 1); exit 1; }; }
10319 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10320 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10321 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10322 echo $ECHO_N "(cached) $ECHO_C" >&6
10324 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10325 case `$LD -v 2>&1 </dev/null` in
10326 *GNU* | *'with BFD'*)
10327 lt_cv_prog_gnu_ld=yes
10330 lt_cv_prog_gnu_ld=no
10334 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10335 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10336 with_gnu_ld=$lt_cv_prog_gnu_ld
10339 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10340 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10341 if test "${lt_cv_ld_reload_flag+set}" = set; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10344 lt_cv_ld_reload_flag='-r'
10346 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10347 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10348 reload_flag=$lt_cv_ld_reload_flag
10349 case $reload_flag in
10351 *) reload_flag=" $reload_flag" ;;
10353 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10355 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10356 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10357 if test "${lt_cv_path_NM+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 if test -n "$NM"; then
10361 # Let the user override the test.
10362 lt_cv_path_NM="$NM"
10364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10365 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10367 test -z "$ac_dir" && ac_dir=.
10368 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10369 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10370 # Check to see if the nm accepts a BSD-compat flag.
10371 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10372 # nm: unknown option "B" ignored
10373 # Tru64's nm complains that /dev/null is an invalid object file
10374 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10375 */dev/null* | *'Invalid file or object type'*)
10376 lt_cv_path_NM="$tmp_nm -B"
10380 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10382 lt_cv_path_NM="$tmp_nm -p"
10386 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10387 continue # so that we can try to find one that supports BSD flags
10394 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10397 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10398 echo "${ECHO_T}$lt_cv_path_NM" >&6
10399 NM="$lt_cv_path_NM"
10401 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10402 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10403 if test "${lt_cv_deplibs_check_method+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 lt_cv_file_magic_cmd='$MAGIC_CMD'
10407 lt_cv_file_magic_test_file=
10408 lt_cv_deplibs_check_method='unknown'
10409 # Need to set the preceding variable on all platforms that support
10410 # interlibrary dependencies.
10411 # 'none' -- dependencies not supported.
10412 # `unknown' -- same as none, but documents that we really don't know.
10413 # 'pass_all' -- all dependencies passed with no checks.
10414 # 'test_compile' -- check by making test program.
10415 # 'file_magic [[regex]]' -- check by looking for files in library path
10416 # which responds to the $file_magic_cmd with a given extended regex.
10417 # If you have `file' or equivalent on your system and you're not sure
10418 # whether `pass_all' will *always* work, you probably want this one.
10422 lt_cv_deplibs_check_method=pass_all
10426 lt_cv_deplibs_check_method=pass_all
10430 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10431 lt_cv_file_magic_cmd='/usr/bin/file -L'
10432 lt_cv_file_magic_test_file=/shlib/libc.so
10436 # func_win32_libid is a shell function defined in ltmain.sh
10437 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10438 lt_cv_file_magic_cmd='func_win32_libid'
10442 # Base MSYS/MinGW do not provide the 'file' command needed by
10443 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10444 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10445 lt_cv_file_magic_cmd='$OBJDUMP -f'
10448 darwin* | rhapsody*)
10449 lt_cv_deplibs_check_method=pass_all
10452 freebsd* | kfreebsd*-gnu)
10453 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10456 # Not sure whether the presence of OpenBSD here was a mistake.
10457 # Let's accept both of them until this is cleared up.
10458 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10459 lt_cv_file_magic_cmd=/usr/bin/file
10460 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10464 lt_cv_deplibs_check_method=pass_all
10469 lt_cv_deplibs_check_method=pass_all
10472 hpux10.20* | hpux11*)
10473 lt_cv_file_magic_cmd=/usr/bin/file
10474 case "$host_cpu" in
10476 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10477 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10480 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]'
10481 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10484 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10485 lt_cv_file_magic_test_file=/usr/lib/libc.sl
10490 irix5* | irix6* | nonstopux*)
10492 *-32|*"-32 ") libmagic=32-bit;;
10493 *-n32|*"-n32 ") libmagic=N32;;
10494 *-64|*"-64 ") libmagic=64-bit;;
10495 *) libmagic=never-match;;
10497 lt_cv_deplibs_check_method=pass_all
10500 # This must be Linux ELF.
10503 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
10504 lt_cv_deplibs_check_method=pass_all ;;
10506 # glibc up to 2.1.1 does not perform some relocations on ARM
10507 # this will be overridden with pass_all, but let us keep it just in case
10508 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
10510 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
10511 lt_cv_deplibs_check_method=pass_all
10515 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10516 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10518 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10523 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10524 lt_cv_file_magic_cmd=/usr/bin/file
10525 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10529 lt_cv_deplibs_check_method=unknown
10533 lt_cv_file_magic_cmd=/usr/bin/file
10534 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10535 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10536 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
10538 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
10542 osf3* | osf4* | osf5*)
10543 lt_cv_deplibs_check_method=pass_all
10547 lt_cv_deplibs_check_method=pass_all
10551 lt_cv_deplibs_check_method=pass_all
10554 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10555 case $host_vendor in
10557 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]'
10558 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10561 lt_cv_deplibs_check_method=pass_all
10564 lt_cv_file_magic_cmd='/bin/file'
10565 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10568 lt_cv_file_magic_cmd='/bin/file'
10569 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10570 lt_cv_file_magic_test_file=/lib/libc.so
10573 lt_cv_deplibs_check_method=pass_all
10578 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
10579 lt_cv_deplibs_check_method=pass_all
10584 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10585 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10586 file_magic_cmd=$lt_cv_file_magic_cmd
10587 deplibs_check_method=$lt_cv_deplibs_check_method
10588 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10593 # If no C compiler was specified, use CC.
10596 # Allow CC to be a program name with arguments.
10599 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10600 if test "${enable_libtool_lock+set}" = set; then
10601 enableval="$enable_libtool_lock"
10604 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10606 # Some flags need to be propagated to the compiler or linker for good
10610 # Find out which ABI we are using.
10611 echo 'int i;' > conftest.$ac_ext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10613 (eval $ac_compile) 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; then
10617 case `/usr/bin/file conftest.$ac_objext` in
10619 HPUX_IA64_MODE="32"
10622 HPUX_IA64_MODE="64"
10629 # Find out which ABI we are using.
10630 echo '#line 10630 "configure"' > conftest.$ac_ext
10631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10632 (eval $ac_compile) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; then
10636 if test "$lt_cv_prog_gnu_ld" = yes; then
10637 case `/usr/bin/file conftest.$ac_objext` in
10639 LD="${LD-ld} -melf32bsmip"
10642 LD="${LD-ld} -melf32bmipn32"
10645 LD="${LD-ld} -melf64bmip"
10649 case `/usr/bin/file conftest.$ac_objext` in
10665 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10666 # Find out which ABI we are using.
10667 echo 'int i;' > conftest.$ac_ext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10669 (eval $ac_compile) 2>&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }; then
10673 case "`/usr/bin/file conftest.o`" in
10677 LD="${LD-ld} -m elf_i386"
10679 ppc64-*linux*|powerpc64-*linux*)
10680 LD="${LD-ld} -m elf32ppclinux"
10683 LD="${LD-ld} -m elf_s390"
10686 LD="${LD-ld} -m elf32_sparc"
10693 LD="${LD-ld} -m elf_x86_64"
10695 ppc*-*linux*|powerpc*-*linux*)
10696 LD="${LD-ld} -m elf64ppc"
10699 LD="${LD-ld} -m elf64_s390"
10702 LD="${LD-ld} -m elf64_sparc"
10712 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10713 SAVE_CFLAGS="$CFLAGS"
10714 CFLAGS="$CFLAGS -belf"
10715 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10716 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10717 if test "${lt_cv_cc_needs_belf+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 ac_cpp='$CPP $CPPFLAGS'
10722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10726 cat >conftest.$ac_ext <<_ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10741 rm -f conftest.$ac_objext conftest$ac_exeext
10742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10743 (eval $ac_link) 2>conftest.er1
10745 grep -v '^ *+' conftest.er1 >conftest.err
10747 cat conftest.err >&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } &&
10750 { ac_try='test -z "$ac_c_werror_flag"
10751 || test ! -s conftest.err'
10752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); }; } &&
10757 { ac_try='test -s conftest$ac_exeext'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; }; then
10763 lt_cv_cc_needs_belf=yes
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10768 lt_cv_cc_needs_belf=no
10770 rm -f conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10773 ac_cpp='$CPP $CPPFLAGS'
10774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10779 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10780 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10781 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10782 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10783 CFLAGS="$SAVE_CFLAGS"
10789 need_locks="$enable_libtool_lock"
10793 ac_cpp='$CPP $CPPFLAGS'
10794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10797 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10798 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10799 # On Suns, sometimes $CPP names a directory.
10800 if test -n "$CPP" && test -d "$CPP"; then
10803 if test -z "$CPP"; then
10804 if test "${ac_cv_prog_CPP+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 # Double quotes because CPP needs to be expanded
10808 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10810 ac_preproc_ok=false
10811 for ac_c_preproc_warn_flag in '' yes
10813 # Use a header file that comes with gcc, so configuring glibc
10814 # with a fresh cross-compiler works.
10815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10816 # <limits.h> exists even on freestanding compilers.
10817 # On the NeXT, cc -E runs the code through the compiler's parser,
10818 # not just through cpp. "Syntax error" is here to catch this case.
10819 cat >conftest.$ac_ext <<_ACEOF
10822 cat confdefs.h >>conftest.$ac_ext
10823 cat >>conftest.$ac_ext <<_ACEOF
10824 /* end confdefs.h. */
10826 # include <limits.h>
10828 # include <assert.h>
10832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10835 grep -v '^ *+' conftest.er1 >conftest.err
10837 cat conftest.err >&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } >/dev/null; then
10840 if test -s conftest.err; then
10841 ac_cpp_err=$ac_c_preproc_warn_flag
10842 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10849 if test -z "$ac_cpp_err"; then
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 # Broken: fails on valid input.
10858 rm -f conftest.err conftest.$ac_ext
10860 # OK, works on sane cases. Now check whether non-existent headers
10861 # can be detected and how.
10862 cat >conftest.$ac_ext <<_ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10868 #include <ac_nonexistent.h>
10870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10873 grep -v '^ *+' conftest.er1 >conftest.err
10875 cat conftest.err >&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); } >/dev/null; then
10878 if test -s conftest.err; then
10879 ac_cpp_err=$ac_c_preproc_warn_flag
10880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10887 if test -z "$ac_cpp_err"; then
10888 # Broken: success on invalid input.
10891 echo "$as_me: failed program was:" >&5
10892 sed 's/^/| /' conftest.$ac_ext >&5
10894 # Passes both tests.
10898 rm -f conftest.err conftest.$ac_ext
10901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10902 rm -f conftest.err conftest.$ac_ext
10903 if $ac_preproc_ok; then
10908 ac_cv_prog_CPP=$CPP
10911 CPP=$ac_cv_prog_CPP
10913 ac_cv_prog_CPP=$CPP
10915 echo "$as_me:$LINENO: result: $CPP" >&5
10916 echo "${ECHO_T}$CPP" >&6
10917 ac_preproc_ok=false
10918 for ac_c_preproc_warn_flag in '' yes
10920 # Use a header file that comes with gcc, so configuring glibc
10921 # with a fresh cross-compiler works.
10922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10923 # <limits.h> exists even on freestanding compilers.
10924 # On the NeXT, cc -E runs the code through the compiler's parser,
10925 # not just through cpp. "Syntax error" is here to catch this case.
10926 cat >conftest.$ac_ext <<_ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10933 # include <limits.h>
10935 # include <assert.h>
10939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10942 grep -v '^ *+' conftest.er1 >conftest.err
10944 cat conftest.err >&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } >/dev/null; then
10947 if test -s conftest.err; then
10948 ac_cpp_err=$ac_c_preproc_warn_flag
10949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10956 if test -z "$ac_cpp_err"; then
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10962 # Broken: fails on valid input.
10965 rm -f conftest.err conftest.$ac_ext
10967 # OK, works on sane cases. Now check whether non-existent headers
10968 # can be detected and how.
10969 cat >conftest.$ac_ext <<_ACEOF
10972 cat confdefs.h >>conftest.$ac_ext
10973 cat >>conftest.$ac_ext <<_ACEOF
10974 /* end confdefs.h. */
10975 #include <ac_nonexistent.h>
10977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10980 grep -v '^ *+' conftest.er1 >conftest.err
10982 cat conftest.err >&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } >/dev/null; then
10985 if test -s conftest.err; then
10986 ac_cpp_err=$ac_c_preproc_warn_flag
10987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10994 if test -z "$ac_cpp_err"; then
10995 # Broken: success on invalid input.
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11001 # Passes both tests.
11005 rm -f conftest.err conftest.$ac_ext
11008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11009 rm -f conftest.err conftest.$ac_ext
11010 if $ac_preproc_ok; then
11013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11014 See \`config.log' for more details." >&5
11015 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11016 See \`config.log' for more details." >&2;}
11017 { (exit 1); exit 1; }; }
11021 ac_cpp='$CPP $CPPFLAGS'
11022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11027 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11028 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11029 if test "${ac_cv_header_stdc+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 cat >conftest.$ac_ext <<_ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 #include <stdlib.h>
11039 #include <stdarg.h>
11040 #include <string.h>
11051 rm -f conftest.$ac_objext
11052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11053 (eval $ac_compile) 2>conftest.er1
11055 grep -v '^ *+' conftest.er1 >conftest.err
11057 cat conftest.err >&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); } &&
11060 { ac_try='test -z "$ac_c_werror_flag"
11061 || test ! -s conftest.err'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; } &&
11067 { ac_try='test -s conftest.$ac_objext'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11073 ac_cv_header_stdc=yes
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11078 ac_cv_header_stdc=no
11080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11082 if test $ac_cv_header_stdc = yes; then
11083 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11084 cat >conftest.$ac_ext <<_ACEOF
11087 cat confdefs.h >>conftest.$ac_ext
11088 cat >>conftest.$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 #include <string.h>
11093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11094 $EGREP "memchr" >/dev/null 2>&1; then
11097 ac_cv_header_stdc=no
11103 if test $ac_cv_header_stdc = yes; then
11104 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11105 cat >conftest.$ac_ext <<_ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111 #include <stdlib.h>
11114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11115 $EGREP "free" >/dev/null 2>&1; then
11118 ac_cv_header_stdc=no
11124 if test $ac_cv_header_stdc = yes; then
11125 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11126 if test "$cross_compiling" = yes; then
11129 cat >conftest.$ac_ext <<_ACEOF
11132 cat confdefs.h >>conftest.$ac_ext
11133 cat >>conftest.$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11136 #if ((' ' & 0x0FF) == 0x020)
11137 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11138 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11140 # define ISLOWER(c) \
11141 (('a' <= (c) && (c) <= 'i') \
11142 || ('j' <= (c) && (c) <= 'r') \
11143 || ('s' <= (c) && (c) <= 'z'))
11144 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11147 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11152 for (i = 0; i < 256; i++)
11153 if (XOR (islower (i), ISLOWER (i))
11154 || toupper (i) != TOUPPER (i))
11159 rm -f conftest$ac_exeext
11160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11161 (eval $ac_link) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11172 echo "$as_me: program exited with status $ac_status" >&5
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11176 ( exit $ac_status )
11177 ac_cv_header_stdc=no
11179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11183 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11184 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11185 if test $ac_cv_header_stdc = yes; then
11187 cat >>confdefs.h <<\_ACEOF
11188 #define STDC_HEADERS 1
11193 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11203 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11204 inttypes.h stdint.h unistd.h
11206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11207 echo "$as_me:$LINENO: checking for $ac_header" >&5
11208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11210 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 cat >conftest.$ac_ext <<_ACEOF
11215 cat confdefs.h >>conftest.$ac_ext
11216 cat >>conftest.$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11218 $ac_includes_default
11220 #include <$ac_header>
11222 rm -f conftest.$ac_objext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11224 (eval $ac_compile) 2>conftest.er1
11226 grep -v '^ *+' conftest.er1 >conftest.err
11228 cat conftest.err >&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } &&
11231 { ac_try='test -z "$ac_c_werror_flag"
11232 || test ! -s conftest.err'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; } &&
11238 { ac_try='test -s conftest.$ac_objext'
11239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11240 (eval $ac_try) 2>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); }; }; then
11244 eval "$as_ac_Header=yes"
11246 echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.$ac_ext >&5
11249 eval "$as_ac_Header=no"
11251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11256 cat >>confdefs.h <<_ACEOF
11257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11266 for ac_header in dlfcn.h
11268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11270 echo "$as_me:$LINENO: checking for $ac_header" >&5
11271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11273 echo $ECHO_N "(cached) $ECHO_C" >&6
11275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11278 # Is the header compilable?
11279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11281 cat >conftest.$ac_ext <<_ACEOF
11284 cat confdefs.h >>conftest.$ac_ext
11285 cat >>conftest.$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11287 $ac_includes_default
11288 #include <$ac_header>
11290 rm -f conftest.$ac_objext
11291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11292 (eval $ac_compile) 2>conftest.er1
11294 grep -v '^ *+' conftest.er1 >conftest.err
11296 cat conftest.err >&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } &&
11299 { ac_try='test -z "$ac_c_werror_flag"
11300 || test ! -s conftest.err'
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; } &&
11306 { ac_try='test -s conftest.$ac_objext'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; }; then
11312 ac_header_compiler=yes
11314 echo "$as_me: failed program was:" >&5
11315 sed 's/^/| /' conftest.$ac_ext >&5
11317 ac_header_compiler=no
11319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11321 echo "${ECHO_T}$ac_header_compiler" >&6
11323 # Is the header present?
11324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11326 cat >conftest.$ac_ext <<_ACEOF
11329 cat confdefs.h >>conftest.$ac_ext
11330 cat >>conftest.$ac_ext <<_ACEOF
11331 /* end confdefs.h. */
11332 #include <$ac_header>
11334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11337 grep -v '^ *+' conftest.er1 >conftest.err
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } >/dev/null; then
11342 if test -s conftest.err; then
11343 ac_cpp_err=$ac_c_preproc_warn_flag
11344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11351 if test -z "$ac_cpp_err"; then
11352 ac_header_preproc=yes
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.$ac_ext >&5
11357 ac_header_preproc=no
11359 rm -f conftest.err conftest.$ac_ext
11360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11361 echo "${ECHO_T}$ac_header_preproc" >&6
11363 # So? What about this header?
11364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11370 ac_header_preproc=yes
11373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11387 ## ------------------------------------------------------ ##
11388 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
11389 ## ------------------------------------------------------ ##
11392 sed "s/^/$as_me: WARNING: /" >&2
11395 echo "$as_me:$LINENO: checking for $ac_header" >&5
11396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 eval "$as_ac_Header=\$ac_header_preproc"
11402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11407 cat >>confdefs.h <<_ACEOF
11408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11416 ac_cpp='$CXXCPP $CPPFLAGS'
11417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11420 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11421 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
11422 if test -z "$CXXCPP"; then
11423 if test "${ac_cv_prog_CXXCPP+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 # Double quotes because CXXCPP needs to be expanded
11427 for CXXCPP in "$CXX -E" "/lib/cpp"
11429 ac_preproc_ok=false
11430 for ac_cxx_preproc_warn_flag in '' yes
11432 # Use a header file that comes with gcc, so configuring glibc
11433 # with a fresh cross-compiler works.
11434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11435 # <limits.h> exists even on freestanding compilers.
11436 # On the NeXT, cc -E runs the code through the compiler's parser,
11437 # not just through cpp. "Syntax error" is here to catch this case.
11438 cat >conftest.$ac_ext <<_ACEOF
11441 cat confdefs.h >>conftest.$ac_ext
11442 cat >>conftest.$ac_ext <<_ACEOF
11443 /* end confdefs.h. */
11445 # include <limits.h>
11447 # include <assert.h>
11451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11454 grep -v '^ *+' conftest.er1 >conftest.err
11456 cat conftest.err >&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } >/dev/null; then
11459 if test -s conftest.err; then
11460 ac_cpp_err=$ac_cxx_preproc_warn_flag
11461 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11468 if test -z "$ac_cpp_err"; then
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 # Broken: fails on valid input.
11477 rm -f conftest.err conftest.$ac_ext
11479 # OK, works on sane cases. Now check whether non-existent headers
11480 # can be detected and how.
11481 cat >conftest.$ac_ext <<_ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 #include <ac_nonexistent.h>
11489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11492 grep -v '^ *+' conftest.er1 >conftest.err
11494 cat conftest.err >&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } >/dev/null; then
11497 if test -s conftest.err; then
11498 ac_cpp_err=$ac_cxx_preproc_warn_flag
11499 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11506 if test -z "$ac_cpp_err"; then
11507 # Broken: success on invalid input.
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11513 # Passes both tests.
11517 rm -f conftest.err conftest.$ac_ext
11520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11521 rm -f conftest.err conftest.$ac_ext
11522 if $ac_preproc_ok; then
11527 ac_cv_prog_CXXCPP=$CXXCPP
11530 CXXCPP=$ac_cv_prog_CXXCPP
11532 ac_cv_prog_CXXCPP=$CXXCPP
11534 echo "$as_me:$LINENO: result: $CXXCPP" >&5
11535 echo "${ECHO_T}$CXXCPP" >&6
11536 ac_preproc_ok=false
11537 for ac_cxx_preproc_warn_flag in '' yes
11539 # Use a header file that comes with gcc, so configuring glibc
11540 # with a fresh cross-compiler works.
11541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11542 # <limits.h> exists even on freestanding compilers.
11543 # On the NeXT, cc -E runs the code through the compiler's parser,
11544 # not just through cpp. "Syntax error" is here to catch this case.
11545 cat >conftest.$ac_ext <<_ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11552 # include <limits.h>
11554 # include <assert.h>
11558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11561 grep -v '^ *+' conftest.er1 >conftest.err
11563 cat conftest.err >&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } >/dev/null; then
11566 if test -s conftest.err; then
11567 ac_cpp_err=$ac_cxx_preproc_warn_flag
11568 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11575 if test -z "$ac_cpp_err"; then
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11581 # Broken: fails on valid input.
11584 rm -f conftest.err conftest.$ac_ext
11586 # OK, works on sane cases. Now check whether non-existent headers
11587 # can be detected and how.
11588 cat >conftest.$ac_ext <<_ACEOF
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 #include <ac_nonexistent.h>
11596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11599 grep -v '^ *+' conftest.er1 >conftest.err
11601 cat conftest.err >&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } >/dev/null; then
11604 if test -s conftest.err; then
11605 ac_cpp_err=$ac_cxx_preproc_warn_flag
11606 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11613 if test -z "$ac_cpp_err"; then
11614 # Broken: success on invalid input.
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 # Passes both tests.
11624 rm -f conftest.err conftest.$ac_ext
11627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11628 rm -f conftest.err conftest.$ac_ext
11629 if $ac_preproc_ok; then
11632 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11633 See \`config.log' for more details." >&5
11634 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11635 See \`config.log' for more details." >&2;}
11636 { (exit 1); exit 1; }; }
11640 ac_cpp='$CXXCPP $CPPFLAGS'
11641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11646 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11647 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11648 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11649 if test -n "$ac_tool_prefix"; then
11650 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11654 echo "$as_me:$LINENO: checking for $ac_word" >&5
11655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11656 if test "${ac_cv_prog_F77+set}" = set; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 if test -n "$F77"; then
11660 ac_cv_prog_F77="$F77" # Let the user override the test.
11662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11663 for as_dir in $PATH
11666 test -z "$as_dir" && as_dir=.
11667 for ac_exec_ext in '' $ac_executable_extensions; do
11668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11669 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
11670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11678 F77=$ac_cv_prog_F77
11679 if test -n "$F77"; then
11680 echo "$as_me:$LINENO: result: $F77" >&5
11681 echo "${ECHO_T}$F77" >&6
11683 echo "$as_me:$LINENO: result: no" >&5
11684 echo "${ECHO_T}no" >&6
11687 test -n "$F77" && break
11690 if test -z "$F77"; then
11692 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11694 # Extract the first word of "$ac_prog", so it can be a program name with args.
11695 set dummy $ac_prog; ac_word=$2
11696 echo "$as_me:$LINENO: checking for $ac_word" >&5
11697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11698 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 if test -n "$ac_ct_F77"; then
11702 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
11704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11705 for as_dir in $PATH
11708 test -z "$as_dir" && as_dir=.
11709 for ac_exec_ext in '' $ac_executable_extensions; do
11710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11711 ac_cv_prog_ac_ct_F77="$ac_prog"
11712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11720 ac_ct_F77=$ac_cv_prog_ac_ct_F77
11721 if test -n "$ac_ct_F77"; then
11722 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11723 echo "${ECHO_T}$ac_ct_F77" >&6
11725 echo "$as_me:$LINENO: result: no" >&5
11726 echo "${ECHO_T}no" >&6
11729 test -n "$ac_ct_F77" && break
11736 # Provide some information about the compiler.
11737 echo "$as_me:11737:" \
11738 "checking for Fortran 77 compiler version" >&5
11739 ac_compiler=`set X $ac_compile; echo $2`
11740 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11741 (eval $ac_compiler --version </dev/null >&5) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }
11745 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11746 (eval $ac_compiler -v </dev/null >&5) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }
11750 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11751 (eval $ac_compiler -V </dev/null >&5) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }
11757 # If we don't use `.F' as extension, the preprocessor is not run on the
11758 # input file. (Note that this only needs to work for GNU compilers.)
11759 ac_save_ext=$ac_ext
11761 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11762 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
11763 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 cat >conftest.$ac_ext <<_ACEOF
11774 rm -f conftest.$ac_objext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11776 (eval $ac_compile) 2>conftest.er1
11778 grep -v '^ *+' conftest.er1 >conftest.err
11780 cat conftest.err >&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } &&
11783 { ac_try='test -z "$ac_f77_werror_flag"
11784 || test ! -s conftest.err'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; } &&
11790 { ac_try='test -s conftest.$ac_objext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_compiler_gnu=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11804 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11807 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11808 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
11809 ac_ext=$ac_save_ext
11810 ac_test_FFLAGS=${FFLAGS+set}
11811 ac_save_FFLAGS=$FFLAGS
11813 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11814 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
11815 if test "${ac_cv_prog_f77_g+set}" = set; then
11816 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 cat >conftest.$ac_ext <<_ACEOF
11824 rm -f conftest.$ac_objext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11826 (eval $ac_compile) 2>conftest.er1
11828 grep -v '^ *+' conftest.er1 >conftest.err
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try='test -z "$ac_f77_werror_flag"
11834 || test ! -s conftest.err'
11835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 (eval $ac_try) 2>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }; } &&
11840 { ac_try='test -s conftest.$ac_objext'
11841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11842 (eval $ac_try) 2>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); }; }; then
11846 ac_cv_prog_f77_g=yes
11848 echo "$as_me: failed program was:" >&5
11849 sed 's/^/| /' conftest.$ac_ext >&5
11851 ac_cv_prog_f77_g=no
11853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11856 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11857 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
11858 if test "$ac_test_FFLAGS" = set; then
11859 FFLAGS=$ac_save_FFLAGS
11860 elif test $ac_cv_prog_f77_g = yes; then
11861 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11867 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11874 G77=`test $ac_compiler_gnu = yes && echo yes`
11876 ac_cpp='$CPP $CPPFLAGS'
11877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11883 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11885 # find the maximum length of command line arguments
11886 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11887 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
11888 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 # On DJGPP, this test can blow up pretty badly due to problems in libc
11897 # (any single argument exceeding 2000 bytes causes a buffer overrun
11898 # during glob expansion). Even if it were fixed, the result of this
11899 # check would be larger than it should be.
11900 lt_cv_sys_max_cmd_len=12288; # 12K is about right
11904 # Under GNU Hurd, this test is not required because there is
11905 # no limit to the length of command line arguments.
11906 # Libtool will interpret -1 as no limit whatsoever
11907 lt_cv_sys_max_cmd_len=-1;
11911 # On Win9x/ME, this test blows up -- it succeeds, but takes
11912 # about 5 minutes as the teststring grows exponentially.
11913 # Worse, since 9x/ME are not pre-emptively multitasking,
11914 # you end up with a "frozen" computer, even though with patience
11915 # the test eventually succeeds (with a max line length of 256k).
11916 # Instead, let's just punt: use the minimum linelength reported by
11917 # all of the supported platforms: 8192 (on NT/2K/XP).
11918 lt_cv_sys_max_cmd_len=8192;
11922 # On AmigaOS with pdksh, this test takes hours, literally.
11923 # So we just punt and use a minimum line length of 8192.
11924 lt_cv_sys_max_cmd_len=8192;
11928 # If test is not a shell built-in, we'll probably end up computing a
11929 # maximum length that is only half of the actual maximum length, but
11931 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
11932 = "XX$teststring") >/dev/null 2>&1 &&
11933 new_result=`expr "X$teststring" : ".*" 2>&1` &&
11934 lt_cv_sys_max_cmd_len=$new_result &&
11935 test $i != 17 # 1/2 MB should be enough
11938 teststring=$teststring$teststring
11941 # Add a significant safety factor because C++ compilers can tack on massive
11942 # amounts of additional arguments before passing them to the linker.
11943 # It appears as though 1/2 is a usable value.
11944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
11950 if test -n $lt_cv_sys_max_cmd_len ; then
11951 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11952 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
11954 echo "$as_me:$LINENO: result: none" >&5
11955 echo "${ECHO_T}none" >&6
11961 # Check for command to grab the raw symbol name followed by C symbol from nm.
11962 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11963 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
11964 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 # These are sane defaults that work on at least a few old systems.
11969 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
11971 # Character class describing NM global symbol codes.
11972 symcode='[BCDEGRST]'
11974 # Regexp to match symbols that can be accessed directly from C.
11975 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11977 # Transform the above into a raw symbol and a C symbol.
11978 symxfrm='\1 \2\3 \3'
11980 # Transform an extracted symbol line into a proper C declaration
11981 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
11983 # Transform an extracted symbol line into symbol name and symbol address
11984 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'"
11986 # Define system-specific variables.
11991 cygwin* | mingw* | pw32*)
11992 symcode='[ABCDGISTW]'
11994 hpux*) # Its linker distinguishes data from code symbols
11995 if test "$host_cpu" = ia64; then
11996 symcode='[ABCDEGRST]'
11998 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11999 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'"
12001 irix* | nonstopux*)
12002 symcode='[BCDEGRST]'
12005 symcode='[BCDEGQRST]'
12015 # Handle CRLF in mingw tool chain
12019 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
12023 # If we're using GNU nm, then use its standard symbol codes.
12024 case `$NM -V 2>&1` in
12025 *GNU* | *'with BFD'*)
12026 symcode='[ABCDGIRSTW]' ;;
12029 # Try without a prefix undercore, then with it.
12030 for ac_symprfx in "" "_"; do
12032 # Write the raw and C identifiers.
12033 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
12035 # Check to see that the pipe works correctly.
12039 cat > conftest.$ac_ext <<EOF
12044 void nm_test_func(){}
12048 int main(){nm_test_var='a';nm_test_func();return(0);}
12051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12052 (eval $ac_compile) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; then
12056 # Now try to grab the symbols.
12058 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
12059 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } && test -s "$nlist"; then
12063 # Try sorting and uniquifying the output.
12064 if sort "$nlist" | uniq > "$nlist"T; then
12065 mv -f "$nlist"T "$nlist"
12070 # Make sure that we snagged all the symbols we need.
12071 if grep ' nm_test_var$' "$nlist" >/dev/null; then
12072 if grep ' nm_test_func$' "$nlist" >/dev/null; then
12073 cat <<EOF > conftest.$ac_ext
12079 # Now generate the symbol file.
12080 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
12082 cat <<EOF >> conftest.$ac_ext
12083 #if defined (__STDC__) && __STDC__
12084 # define lt_ptr_t void *
12086 # define lt_ptr_t char *
12090 /* The mapping between symbol names and symbols. */
12095 lt_preloaded_symbols[] =
12098 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
12099 cat <<\EOF >> conftest.$ac_ext
12107 # Now try linking the two files.
12108 mv conftest.$ac_objext conftstm.$ac_objext
12109 lt_save_LIBS="$LIBS"
12110 lt_save_CFLAGS="$CFLAGS"
12111 LIBS="conftstm.$ac_objext"
12112 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && test -s conftest${ac_exeext}; then
12120 LIBS="$lt_save_LIBS"
12121 CFLAGS="$lt_save_CFLAGS"
12123 echo "cannot find nm_test_func in $nlist" >&5
12126 echo "cannot find nm_test_var in $nlist" >&5
12129 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12132 echo "$progname: failed program was:" >&5
12133 cat conftest.$ac_ext >&5
12135 rm -f conftest* conftst*
12137 # Do not use the global_symbol_pipe unless it works.
12138 if test "$pipe_works" = yes; then
12141 lt_cv_sys_global_symbol_pipe=
12147 if test -z "$lt_cv_sys_global_symbol_pipe"; then
12148 lt_cv_sys_global_symbol_to_cdecl=
12150 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12151 echo "$as_me:$LINENO: result: failed" >&5
12152 echo "${ECHO_T}failed" >&6
12154 echo "$as_me:$LINENO: result: ok" >&5
12155 echo "${ECHO_T}ok" >&6
12158 echo "$as_me:$LINENO: checking for objdir" >&5
12159 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12160 if test "${lt_cv_objdir+set}" = set; then
12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 rm -f .libs 2>/dev/null
12164 mkdir .libs 2>/dev/null
12165 if test -d .libs; then
12168 # MS-DOS does not allow filenames that begin with a dot.
12171 rmdir .libs 2>/dev/null
12173 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12174 echo "${ECHO_T}$lt_cv_objdir" >&6
12175 objdir=$lt_cv_objdir
12183 # AIX sometimes has problems with the GCC collect2 program. For some
12184 # reason, if we set the COLLECT_NAMES environment variable, the problems
12185 # vanish in a puff of smoke.
12186 if test "X${COLLECT_NAMES+set}" != Xset; then
12188 export COLLECT_NAMES
12193 # Sed substitution that helps us do robust quoting. It backslashifies
12194 # metacharacters that are still active within double-quoted strings.
12195 Xsed='sed -e s/^X//'
12196 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12198 # Same as above, but do not quote variable references.
12199 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12201 # Sed substitution to delay expansion of an escaped shell variable in a
12202 # double_quote_subst'ed string.
12203 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12205 # Sed substitution to avoid accidental globbing in evaled expressions
12206 no_glob_subst='s/\*/\\\*/g'
12211 # Global variables:
12212 default_ofile=libtool
12213 can_build_shared=yes
12215 # All known linkers require a `.a' archive for static linking (except M$VC,
12216 # which needs '.lib').
12218 ltmain="$ac_aux_dir/ltmain.sh"
12219 ofile="$default_ofile"
12220 with_gnu_ld="$lt_cv_prog_gnu_ld"
12222 if test -n "$ac_tool_prefix"; then
12223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12224 set dummy ${ac_tool_prefix}ar; ac_word=$2
12225 echo "$as_me:$LINENO: checking for $ac_word" >&5
12226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12227 if test "${ac_cv_prog_AR+set}" = set; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 if test -n "$AR"; then
12231 ac_cv_prog_AR="$AR" # Let the user override the test.
12233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12234 for as_dir in $PATH
12237 test -z "$as_dir" && as_dir=.
12238 for ac_exec_ext in '' $ac_executable_extensions; do
12239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12240 ac_cv_prog_AR="${ac_tool_prefix}ar"
12241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12250 if test -n "$AR"; then
12251 echo "$as_me:$LINENO: result: $AR" >&5
12252 echo "${ECHO_T}$AR" >&6
12254 echo "$as_me:$LINENO: result: no" >&5
12255 echo "${ECHO_T}no" >&6
12259 if test -z "$ac_cv_prog_AR"; then
12261 # Extract the first word of "ar", so it can be a program name with args.
12262 set dummy ar; ac_word=$2
12263 echo "$as_me:$LINENO: checking for $ac_word" >&5
12264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12265 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12266 echo $ECHO_N "(cached) $ECHO_C" >&6
12268 if test -n "$ac_ct_AR"; then
12269 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12272 for as_dir in $PATH
12275 test -z "$as_dir" && as_dir=.
12276 for ac_exec_ext in '' $ac_executable_extensions; do
12277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12278 ac_cv_prog_ac_ct_AR="ar"
12279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12285 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
12288 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12289 if test -n "$ac_ct_AR"; then
12290 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12291 echo "${ECHO_T}$ac_ct_AR" >&6
12293 echo "$as_me:$LINENO: result: no" >&5
12294 echo "${ECHO_T}no" >&6
12299 AR="$ac_cv_prog_AR"
12302 if test -n "$ac_tool_prefix"; then
12303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12304 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12305 echo "$as_me:$LINENO: checking for $ac_word" >&5
12306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12307 if test "${ac_cv_prog_RANLIB+set}" = set; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 if test -n "$RANLIB"; then
12311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12314 for as_dir in $PATH
12317 test -z "$as_dir" && as_dir=.
12318 for ac_exec_ext in '' $ac_executable_extensions; do
12319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12329 RANLIB=$ac_cv_prog_RANLIB
12330 if test -n "$RANLIB"; then
12331 echo "$as_me:$LINENO: result: $RANLIB" >&5
12332 echo "${ECHO_T}$RANLIB" >&6
12334 echo "$as_me:$LINENO: result: no" >&5
12335 echo "${ECHO_T}no" >&6
12339 if test -z "$ac_cv_prog_RANLIB"; then
12340 ac_ct_RANLIB=$RANLIB
12341 # Extract the first word of "ranlib", so it can be a program name with args.
12342 set dummy ranlib; ac_word=$2
12343 echo "$as_me:$LINENO: checking for $ac_word" >&5
12344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12346 echo $ECHO_N "(cached) $ECHO_C" >&6
12348 if test -n "$ac_ct_RANLIB"; then
12349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12352 for as_dir in $PATH
12355 test -z "$as_dir" && as_dir=.
12356 for ac_exec_ext in '' $ac_executable_extensions; do
12357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12358 ac_cv_prog_ac_ct_RANLIB="ranlib"
12359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12369 if test -n "$ac_ct_RANLIB"; then
12370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12371 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12373 echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6
12377 RANLIB=$ac_ct_RANLIB
12379 RANLIB="$ac_cv_prog_RANLIB"
12382 if test -n "$ac_tool_prefix"; then
12383 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12384 set dummy ${ac_tool_prefix}strip; ac_word=$2
12385 echo "$as_me:$LINENO: checking for $ac_word" >&5
12386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12387 if test "${ac_cv_prog_STRIP+set}" = set; then
12388 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 if test -n "$STRIP"; then
12391 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12394 for as_dir in $PATH
12397 test -z "$as_dir" && as_dir=.
12398 for ac_exec_ext in '' $ac_executable_extensions; do
12399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12400 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12409 STRIP=$ac_cv_prog_STRIP
12410 if test -n "$STRIP"; then
12411 echo "$as_me:$LINENO: result: $STRIP" >&5
12412 echo "${ECHO_T}$STRIP" >&6
12414 echo "$as_me:$LINENO: result: no" >&5
12415 echo "${ECHO_T}no" >&6
12419 if test -z "$ac_cv_prog_STRIP"; then
12421 # Extract the first word of "strip", so it can be a program name with args.
12422 set dummy strip; ac_word=$2
12423 echo "$as_me:$LINENO: checking for $ac_word" >&5
12424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12425 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 if test -n "$ac_ct_STRIP"; then
12429 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12432 for as_dir in $PATH
12435 test -z "$as_dir" && as_dir=.
12436 for ac_exec_ext in '' $ac_executable_extensions; do
12437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12438 ac_cv_prog_ac_ct_STRIP="strip"
12439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12445 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12448 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12449 if test -n "$ac_ct_STRIP"; then
12450 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12451 echo "${ECHO_T}$ac_ct_STRIP" >&6
12453 echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6
12459 STRIP="$ac_cv_prog_STRIP"
12464 old_CFLAGS="$CFLAGS"
12466 # Set sane defaults for various variables
12467 test -z "$AR" && AR=ar
12468 test -z "$AR_FLAGS" && AR_FLAGS=cru
12469 test -z "$AS" && AS=as
12470 test -z "$CC" && CC=cc
12471 test -z "$LTCC" && LTCC=$CC
12472 test -z "$DLLTOOL" && DLLTOOL=dlltool
12473 test -z "$LD" && LD=ld
12474 test -z "$LN_S" && LN_S="ln -s"
12475 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12476 test -z "$NM" && NM=nm
12477 test -z "$SED" && SED=sed
12478 test -z "$OBJDUMP" && OBJDUMP=objdump
12479 test -z "$RANLIB" && RANLIB=:
12480 test -z "$STRIP" && STRIP=:
12481 test -z "$ac_objext" && ac_objext=o
12483 # Determine commands to create old-style static archives.
12484 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12485 old_postinstall_cmds='chmod 644 $oldlib'
12486 old_postuninstall_cmds=
12488 if test -n "$RANLIB"; then
12491 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12494 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12497 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12500 # Only perform the check for file, if the check method requires it
12501 case $deplibs_check_method in
12503 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12504 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12505 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
12506 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12514 lt_save_MAGIC_CMD="$MAGIC_CMD"
12515 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12516 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12517 for ac_dir in $ac_dummy; do
12519 test -z "$ac_dir" && ac_dir=.
12520 if test -f $ac_dir/${ac_tool_prefix}file; then
12521 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12522 if test -n "$file_magic_test_file"; then
12523 case $deplibs_check_method in
12525 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12527 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12528 $EGREP "$file_magic_regex" > /dev/null; then
12533 *** Warning: the command libtool uses to detect shared libraries,
12534 *** $file_magic_cmd, produces output that libtool cannot recognize.
12535 *** The result is that libtool may fail to recognize shared libraries
12536 *** as such. This will affect the creation of libtool libraries that
12537 *** depend on shared libraries, but programs linked with such libtool
12538 *** libraries will work regardless of this problem. Nevertheless, you
12539 *** may want to report the problem to your system manager and/or to
12540 *** bug-libtool@gnu.org
12550 MAGIC_CMD="$lt_save_MAGIC_CMD"
12555 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12556 if test -n "$MAGIC_CMD"; then
12557 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12558 echo "${ECHO_T}$MAGIC_CMD" >&6
12560 echo "$as_me:$LINENO: result: no" >&5
12561 echo "${ECHO_T}no" >&6
12564 if test -z "$lt_cv_path_MAGIC_CMD"; then
12565 if test -n "$ac_tool_prefix"; then
12566 echo "$as_me:$LINENO: checking for file" >&5
12567 echo $ECHO_N "checking for file... $ECHO_C" >&6
12568 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12576 lt_save_MAGIC_CMD="$MAGIC_CMD"
12577 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12578 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12579 for ac_dir in $ac_dummy; do
12581 test -z "$ac_dir" && ac_dir=.
12582 if test -f $ac_dir/file; then
12583 lt_cv_path_MAGIC_CMD="$ac_dir/file"
12584 if test -n "$file_magic_test_file"; then
12585 case $deplibs_check_method in
12587 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12588 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12589 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12590 $EGREP "$file_magic_regex" > /dev/null; then
12595 *** Warning: the command libtool uses to detect shared libraries,
12596 *** $file_magic_cmd, produces output that libtool cannot recognize.
12597 *** The result is that libtool may fail to recognize shared libraries
12598 *** as such. This will affect the creation of libtool libraries that
12599 *** depend on shared libraries, but programs linked with such libtool
12600 *** libraries will work regardless of this problem. Nevertheless, you
12601 *** may want to report the problem to your system manager and/or to
12602 *** bug-libtool@gnu.org
12612 MAGIC_CMD="$lt_save_MAGIC_CMD"
12617 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12618 if test -n "$MAGIC_CMD"; then
12619 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12620 echo "${ECHO_T}$MAGIC_CMD" >&6
12622 echo "$as_me:$LINENO: result: no" >&5
12623 echo "${ECHO_T}no" >&6
12636 enable_win32_dll=no
12638 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
12639 if test "${enable_libtool_lock+set}" = set; then
12640 enableval="$enable_libtool_lock"
12643 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12646 # Check whether --with-pic or --without-pic was given.
12647 if test "${with_pic+set}" = set; then
12648 withval="$with_pic"
12649 pic_mode="$withval"
12653 test -z "$pic_mode" && pic_mode=default
12655 # Use C for the default configuration in the libtool script
12659 ac_cpp='$CPP $CPPFLAGS'
12660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12665 # Source file extension for C test sources.
12668 # Object file extension for compiled C test sources.
12672 # Code to be used in simple compile tests
12673 lt_simple_compile_test_code="int some_variable = 0;\n"
12675 # Code to be used in simple link tests
12676 lt_simple_link_test_code='int main(){return(0);}\n'
12679 # If no C compiler was specified, use CC.
12682 # Allow CC to be a program name with arguments.
12687 # Check for any special shared library compilation flags.
12690 if test "$GCC" = no; then
12693 lt_prog_cc_shlib='-belf'
12697 if test -n "$lt_prog_cc_shlib"; then
12698 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12699 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12700 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12702 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12703 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12704 lt_cv_prog_cc_can_build_shared=no
12710 # Check to make sure the static flag actually works.
12712 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12713 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
12714 if test "${lt_prog_compiler_static_works+set}" = set; then
12715 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 lt_prog_compiler_static_works=no
12718 save_LDFLAGS="$LDFLAGS"
12719 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12720 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12721 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12722 # The compiler can only warn and ignore the option if not recognized
12723 # So say no if there are warnings
12724 if test -s conftest.err; then
12725 # Append any errors to the config.log.
12726 cat conftest.err 1>&5
12728 lt_prog_compiler_static_works=yes
12732 LDFLAGS="$save_LDFLAGS"
12735 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12736 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
12738 if test x"$lt_prog_compiler_static_works" = xyes; then
12741 lt_prog_compiler_static=
12747 lt_prog_compiler_no_builtin_flag=
12749 if test "$GCC" = yes; then
12750 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12753 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12754 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12755 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 lt_cv_prog_compiler_rtti_exceptions=no
12759 ac_outfile=conftest.$ac_objext
12760 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12761 lt_compiler_flag="-fno-rtti -fno-exceptions"
12762 # Insert the option either (1) after the last *FLAGS variable, or
12763 # (2) before a word containing "conftest.", or (3) at the end.
12764 # Note that $ac_compile itself does not contain backslashes and begins
12765 # with a dollar sign (not a hyphen), so the echo should work correctly.
12766 # The option is referenced via a variable to avoid confusing sed.
12767 lt_compile=`echo "$ac_compile" | $SED \
12768 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12770 -e 's:$: $lt_compiler_flag:'`
12771 (eval echo "\"\$as_me:12771: $lt_compile\"" >&5)
12772 (eval "$lt_compile" 2>conftest.err)
12774 cat conftest.err >&5
12775 echo "$as_me:12775: \$? = $ac_status" >&5
12776 if (exit $ac_status) && test -s "$ac_outfile"; then
12777 # The compiler can only warn and ignore the option if not recognized
12778 # So say no if there are warnings
12779 if test ! -s conftest.err; then
12780 lt_cv_prog_compiler_rtti_exceptions=yes
12786 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12787 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12789 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12790 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12797 lt_prog_compiler_wl=
12798 lt_prog_compiler_pic=
12799 lt_prog_compiler_static=
12801 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12802 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12804 if test "$GCC" = yes; then
12805 lt_prog_compiler_wl='-Wl,'
12806 lt_prog_compiler_static='-static'
12810 # All AIX code is PIC.
12811 if test "$host_cpu" = ia64; then
12812 # AIX 5 now supports IA64 processor
12813 lt_prog_compiler_static='-Bstatic'
12818 # FIXME: we need at least 68020 code to build shared libraries, but
12819 # adding the `-m68020' flag to GCC prevents building anything better,
12821 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12824 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12825 # PIC is the default for these OSes.
12828 mingw* | pw32* | os2*)
12829 # This hack is so that the source file can tell whether it is being
12830 # built for inclusion in a dll (and should export symbols for example).
12831 lt_prog_compiler_pic='-DDLL_EXPORT'
12834 darwin* | rhapsody*)
12835 # PIC is the default on this platform
12836 # Common symbols not allowed in MH_DYLIB files
12837 lt_prog_compiler_pic='-fno-common'
12841 # Just because we use GCC doesn't mean we suddenly get shared libraries
12842 # on systems that don't support them.
12843 lt_prog_compiler_can_build_shared=no
12848 if test -d /usr/nec; then
12849 lt_prog_compiler_pic=-Kconform_pic
12854 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12855 # not for PA HP-UX.
12856 case "$host_cpu" in
12861 lt_prog_compiler_pic='-fPIC'
12867 lt_prog_compiler_pic='-fPIC'
12871 # PORTME Check for flag to pass linker flags through the system compiler.
12874 lt_prog_compiler_wl='-Wl,'
12875 if test "$host_cpu" = ia64; then
12876 # AIX 5 now supports IA64 processor
12877 lt_prog_compiler_static='-Bstatic'
12879 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12883 mingw* | pw32* | os2*)
12884 # This hack is so that the source file can tell whether it is being
12885 # built for inclusion in a dll (and should export symbols for example).
12886 lt_prog_compiler_pic='-DDLL_EXPORT'
12889 hpux9* | hpux10* | hpux11*)
12890 lt_prog_compiler_wl='-Wl,'
12891 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12892 # not for PA HP-UX.
12893 case "$host_cpu" in
12898 lt_prog_compiler_pic='+Z'
12901 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12902 lt_prog_compiler_static='${wl}-a ${wl}archive'
12905 irix5* | irix6* | nonstopux*)
12906 lt_prog_compiler_wl='-Wl,'
12907 # PIC (with -KPIC) is the default.
12908 lt_prog_compiler_static='-non_shared'
12912 lt_prog_compiler_pic='-KPIC'
12913 lt_prog_compiler_static='-Bstatic'
12919 lt_prog_compiler_wl='-Wl,'
12920 lt_prog_compiler_pic='-KPIC'
12921 lt_prog_compiler_static='-static'
12924 lt_prog_compiler_wl='-Wl,'
12925 # All Alpha code is PIC.
12926 lt_prog_compiler_static='-non_shared'
12931 osf3* | osf4* | osf5*)
12932 lt_prog_compiler_wl='-Wl,'
12933 # All OSF/1 code is PIC.
12934 lt_prog_compiler_static='-non_shared'
12938 lt_prog_compiler_pic='-Kpic'
12939 lt_prog_compiler_static='-dn'
12943 lt_prog_compiler_wl='-Wl,'
12944 lt_prog_compiler_pic='-KPIC'
12945 lt_prog_compiler_static='-Bstatic'
12949 lt_prog_compiler_wl='-Qoption ld '
12950 lt_prog_compiler_pic='-PIC'
12951 lt_prog_compiler_static='-Bstatic'
12954 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12955 lt_prog_compiler_wl='-Wl,'
12956 lt_prog_compiler_pic='-KPIC'
12957 lt_prog_compiler_static='-Bstatic'
12961 if test -d /usr/nec ;then
12962 lt_prog_compiler_pic='-Kconform_pic'
12963 lt_prog_compiler_static='-Bstatic'
12968 lt_prog_compiler_pic='-pic'
12969 lt_prog_compiler_static='-Bstatic'
12973 lt_prog_compiler_can_build_shared=no
12978 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12979 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
12982 # Check to make sure the PIC flag actually works.
12984 if test -n "$lt_prog_compiler_pic"; then
12986 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12987 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
12988 if test "${lt_prog_compiler_pic_works+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12991 lt_prog_compiler_pic_works=no
12992 ac_outfile=conftest.$ac_objext
12993 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12994 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12995 # Insert the option either (1) after the last *FLAGS variable, or
12996 # (2) before a word containing "conftest.", or (3) at the end.
12997 # Note that $ac_compile itself does not contain backslashes and begins
12998 # with a dollar sign (not a hyphen), so the echo should work correctly.
12999 # The option is referenced via a variable to avoid confusing sed.
13000 lt_compile=`echo "$ac_compile" | $SED \
13001 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13003 -e 's:$: $lt_compiler_flag:'`
13004 (eval echo "\"\$as_me:13004: $lt_compile\"" >&5)
13005 (eval "$lt_compile" 2>conftest.err)
13007 cat conftest.err >&5
13008 echo "$as_me:13008: \$? = $ac_status" >&5
13009 if (exit $ac_status) && test -s "$ac_outfile"; then
13010 # The compiler can only warn and ignore the option if not recognized
13011 # So say no if there are warnings
13012 if test ! -s conftest.err; then
13013 lt_prog_compiler_pic_works=yes
13019 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
13020 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
13022 if test x"$lt_prog_compiler_pic_works" = xyes; then
13023 case $lt_prog_compiler_pic in
13025 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13028 lt_prog_compiler_pic=
13029 lt_prog_compiler_can_build_shared=no
13034 # For platforms which do not support PIC, -DPIC is meaningless:
13036 lt_prog_compiler_pic=
13039 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13043 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13044 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13045 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 lt_cv_prog_compiler_c_o=no
13049 $rm -r conftest 2>/dev/null
13053 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13055 lt_compiler_flag="-o out/conftest2.$ac_objext"
13056 # Insert the option either (1) after the last *FLAGS variable, or
13057 # (2) before a word containing "conftest.", or (3) at the end.
13058 # Note that $ac_compile itself does not contain backslashes and begins
13059 # with a dollar sign (not a hyphen), so the echo should work correctly.
13060 lt_compile=`echo "$ac_compile" | $SED \
13061 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13063 -e 's:$: $lt_compiler_flag:'`
13064 (eval echo "\"\$as_me:13064: $lt_compile\"" >&5)
13065 (eval "$lt_compile" 2>out/conftest.err)
13067 cat out/conftest.err >&5
13068 echo "$as_me:13068: \$? = $ac_status" >&5
13069 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13071 # The compiler can only warn and ignore the option if not recognized
13072 # So say no if there are warnings
13073 if test ! -s out/conftest.err; then
13074 lt_cv_prog_compiler_c_o=yes
13079 # SGI C++ compiler will create directory out/ii_files/ for
13080 # template instantiation
13081 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13082 $rm out/* && rmdir out
13088 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
13089 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
13092 hard_links="nottested"
13093 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
13094 # do not overwrite the value of need_locks provided by the user
13095 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13096 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13099 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13101 ln conftest.a conftest.b 2>&5 || hard_links=no
13102 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13103 echo "$as_me:$LINENO: result: $hard_links" >&5
13104 echo "${ECHO_T}$hard_links" >&6
13105 if test "$hard_links" = no; then
13106 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13107 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13114 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13115 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13118 allow_undefined_flag=
13119 enable_shared_with_static_runtimes=no
13121 archive_expsym_cmds=
13122 old_archive_From_new_cmds=
13123 old_archive_from_expsyms_cmds=
13124 export_dynamic_flag_spec=
13125 whole_archive_flag_spec=
13126 thread_safe_flag_spec=
13127 hardcode_libdir_flag_spec=
13128 hardcode_libdir_flag_spec_ld=
13129 hardcode_libdir_separator=
13131 hardcode_minus_L=no
13132 hardcode_shlibpath_var=unsupported
13133 link_all_deplibs=unknown
13134 hardcode_automatic=no
13136 module_expsym_cmds=
13137 always_export_symbols=no
13138 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13139 # include_expsyms should be a list of space-separated symbols to be *always*
13140 # included in the symbol list
13142 # exclude_expsyms can be an extended regexp of symbols to exclude
13143 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13144 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13145 # as well as any symbol that contains `d'.
13146 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
13147 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13148 # platforms (ab)use it in PIC code, but their linkers get confused if
13149 # the symbol is explicitly referenced. Since portable code cannot
13150 # rely on this symbol name, it's probably fine to never include it in
13151 # preloaded symbol tables.
13152 extract_expsyms_cmds=
13155 cygwin* | mingw* | pw32*)
13156 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13157 # When not using gcc, we currently assume that we are using
13158 # Microsoft Visual C++.
13159 if test "$GCC" != yes; then
13169 if test "$with_gnu_ld" = yes; then
13170 # If archive_cmds runs LD, not CC, wlarc should be empty
13173 # See if GNU ld supports shared libraries.
13175 aix3* | aix4* | aix5*)
13176 # On AIX/PPC, the GNU linker is very broken
13177 if test "$host_cpu" != ia64; then
13181 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13182 *** to be unable to reliably create shared libraries on AIX.
13183 *** Therefore, libtool is disabling shared libraries support. If you
13184 *** really care for shared libraries, you may want to modify your PATH
13185 *** so that a non-GNU linker is found, and then restart.
13192 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)'
13193 hardcode_libdir_flag_spec='-L$libdir'
13194 hardcode_minus_L=yes
13196 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13197 # that the semantics of dynamic libraries on AmigaOS, at least up
13198 # to version 4, is to share data among multiple programs linked
13199 # with the same dynamic library. Since this doesn't match the
13200 # behavior of shared libraries on other platforms, we can't use
13206 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13207 allow_undefined_flag=unsupported
13208 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13209 # support --undefined. This deserves some investigation. FIXME
13210 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13216 cygwin* | mingw* | pw32*)
13217 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13218 # as there is no search path for DLLs.
13219 hardcode_libdir_flag_spec='-L$libdir'
13220 allow_undefined_flag=unsupported
13221 always_export_symbols=no
13222 enable_shared_with_static_runtimes=yes
13223 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13225 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13226 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13227 # If the export-symbols file already is a .def file (1st line
13228 # is EXPORTS), use it as is; otherwise, prepend...
13229 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13230 cp $export_symbols $output_objdir/$soname.def;
13232 echo EXPORTS > $output_objdir/$soname.def;
13233 cat $export_symbols >> $output_objdir/$soname.def;
13235 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13242 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13243 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13246 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13247 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13252 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13256 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13257 *** create shared libraries on Solaris systems. Therefore, libtool
13258 *** is disabling shared libraries support. We urge you to upgrade GNU
13259 *** binutils to release 2.9.1 or newer. Another option is to modify
13260 *** your PATH or compiler configuration so that the native linker is
13261 *** used, and then restart.
13264 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13265 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13266 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13273 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13275 hardcode_direct=yes
13276 hardcode_shlibpath_var=no
13280 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13281 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13282 archive_cmds="$tmp_archive_cmds"
13283 supports_anon_versioning=no
13284 case `$LD -v 2>/dev/null` in
13285 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13286 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13287 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13288 *\ 2.11.*) ;; # other 2.11 versions
13289 *) supports_anon_versioning=yes ;;
13291 if test $supports_anon_versioning = yes; then
13292 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13293 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13294 $echo "local: *; };" >> $output_objdir/$libname.ver~
13295 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13297 archive_expsym_cmds="$tmp_archive_cmds"
13305 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13306 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13307 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13314 if test "$ld_shlibs" = yes; then
13315 runpath_var=LD_RUN_PATH
13316 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13317 export_dynamic_flag_spec='${wl}--export-dynamic'
13318 # ancient GNU ld didn't support --whole-archive et. al.
13319 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13320 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13322 whole_archive_flag_spec=
13326 # PORTME fill in a description of your system's linker (not GNU ld)
13329 allow_undefined_flag=unsupported
13330 always_export_symbols=yes
13331 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'
13332 # Note: this linker hardcodes the directories in LIBPATH if there
13333 # are no directories specified by -L.
13334 hardcode_minus_L=yes
13335 if test "$GCC" = yes && test -z "$link_static_flag"; then
13336 # Neither direct hardcoding nor static linking is supported with a
13338 hardcode_direct=unsupported
13343 if test "$host_cpu" = ia64; then
13344 # On IA64, the linker does run time linking by default, so we don't
13345 # have to do anything special.
13346 aix_use_runtimelinking=no
13347 exp_sym_flag='-Bexport'
13350 # If we're using GNU nm, then we don't want the "-C" option.
13351 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13352 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13353 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'
13355 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'
13357 aix_use_runtimelinking=no
13359 # Test if we are trying to use run time linking or normal
13360 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13361 # need to do runtime linking.
13362 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13363 for ld_flag in $LDFLAGS; do
13364 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13365 aix_use_runtimelinking=yes
13371 exp_sym_flag='-bexport'
13372 no_entry_flag='-bnoentry'
13375 # When large executables or shared objects are built, AIX ld can
13376 # have problems creating the table of contents. If linking a library
13377 # or program results in "error TOC overflow" add -mminimal-toc to
13378 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13379 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13382 hardcode_direct=yes
13383 hardcode_libdir_separator=':'
13384 link_all_deplibs=yes
13386 if test "$GCC" = yes; then
13387 case $host_os in aix4.012|aix4.012.*)
13388 # We only want to do this on AIX 4.2 and lower, the check
13389 # below for broken collect2 doesn't work under 4.3+
13390 collect2name=`${CC} -print-prog-name=collect2`
13391 if test -f "$collect2name" && \
13392 strings "$collect2name" | grep resolve_lib_name >/dev/null
13394 # We have reworked collect2
13395 hardcode_direct=yes
13397 # We have old collect2
13398 hardcode_direct=unsupported
13399 # It fails to find uninstalled libraries when the uninstalled
13400 # path is not listed in the libpath. Setting hardcode_minus_L
13401 # to unsupported forces relinking
13402 hardcode_minus_L=yes
13403 hardcode_libdir_flag_spec='-L$libdir'
13404 hardcode_libdir_separator=
13407 shared_flag='-shared'
13410 if test "$host_cpu" = ia64; then
13411 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13412 # chokes on -Wl,-G. The following line is correct:
13415 if test "$aix_use_runtimelinking" = yes; then
13416 shared_flag='${wl}-G'
13418 shared_flag='${wl}-bM:SRE'
13423 # It seems that -bexpall does not export symbols beginning with
13424 # underscore (_), so it is better to generate a list of symbols to export.
13425 always_export_symbols=yes
13426 if test "$aix_use_runtimelinking" = yes; then
13427 # Warning - without using the other runtime loading flags (-brtl),
13428 # -berok will link without error, but may produce a broken library.
13429 allow_undefined_flag='-berok'
13430 # Determine the default libpath from the value encoded in an empty executable.
13431 cat >conftest.$ac_ext <<_ACEOF
13434 cat confdefs.h >>conftest.$ac_ext
13435 cat >>conftest.$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13446 rm -f conftest.$ac_objext conftest$ac_exeext
13447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13448 (eval $ac_link) 2>conftest.er1
13450 grep -v '^ *+' conftest.er1 >conftest.err
13452 cat conftest.err >&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); } &&
13455 { ac_try='test -z "$ac_c_werror_flag"
13456 || test ! -s conftest.err'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; } &&
13462 { ac_try='test -s conftest$ac_exeext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13469 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13471 # Check for a 64-bit object if we didn't find anything.
13472 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; }
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13479 rm -f conftest.err conftest.$ac_objext \
13480 conftest$ac_exeext conftest.$ac_ext
13481 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13483 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13484 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13486 if test "$host_cpu" = ia64; then
13487 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13488 allow_undefined_flag="-z nodefs"
13489 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13491 # Determine the default libpath from the value encoded in an empty executable.
13492 cat >conftest.$ac_ext <<_ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13507 rm -f conftest.$ac_objext conftest$ac_exeext
13508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13509 (eval $ac_link) 2>conftest.er1
13511 grep -v '^ *+' conftest.er1 >conftest.err
13513 cat conftest.err >&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } &&
13516 { ac_try='test -z "$ac_c_werror_flag"
13517 || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try='test -s conftest$ac_exeext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13530 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13532 # Check for a 64-bit object if we didn't find anything.
13533 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; }
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13540 rm -f conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13544 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13545 # Warning - without using the other run time loading flags,
13546 # -berok will link without error, but may produce a broken library.
13547 no_undefined_flag=' ${wl}-bernotok'
13548 allow_undefined_flag=' ${wl}-berok'
13549 # -bexpall does not export symbols beginning with underscore (_)
13550 always_export_symbols=yes
13551 # Exported symbols can be pulled into shared objects from archives
13552 whole_archive_flag_spec=' '
13553 archive_cmds_need_lc=yes
13554 # This is similar to how AIX traditionally builds it's shared libraries.
13555 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13561 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)'
13562 hardcode_libdir_flag_spec='-L$libdir'
13563 hardcode_minus_L=yes
13564 # see comment about different semantics on the GNU ld section
13569 export_dynamic_flag_spec=-rdynamic
13572 cygwin* | mingw* | pw32*)
13573 # When not using gcc, we currently assume that we are using
13574 # Microsoft Visual C++.
13575 # hardcode_libdir_flag_spec is actually meaningless, as there is
13576 # no search path for DLLs.
13577 hardcode_libdir_flag_spec=' '
13578 allow_undefined_flag=unsupported
13579 # Tell ltmain to make .lib files, not .a files.
13581 # Tell ltmain to make .dll files, not .so files.
13583 # FIXME: Setting linknames here is a bad hack.
13584 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13585 # The linker will automatically build a .lib file if we build a DLL.
13586 old_archive_From_new_cmds='true'
13587 # FIXME: Should let the user specify the lib program.
13588 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13589 fix_srcfile_path='`cygpath -w "$srcfile"`'
13590 enable_shared_with_static_runtimes=yes
13593 darwin* | rhapsody*)
13594 if test "$GXX" = yes ; then
13595 archive_cmds_need_lc=no
13597 rhapsody* | darwin1.[012])
13598 allow_undefined_flag='-undefined suppress'
13601 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13602 allow_undefined_flag='-flat_namespace -undefined suppress'
13604 case ${MACOSX_DEPLOYMENT_TARGET} in
13606 allow_undefined_flag='-flat_namespace -undefined suppress'
13609 allow_undefined_flag='-undefined dynamic_lookup'
13615 lt_int_apple_cc_single_mod=no
13616 output_verbose_link_cmd='echo'
13617 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13618 lt_int_apple_cc_single_mod=yes
13620 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13621 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13623 archive_cmds='$CC -r ${wl}-bind_at_load -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'
13625 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13626 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13627 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13628 archive_expsym_cmds='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}'
13630 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
13632 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}'
13634 hardcode_automatic=yes
13635 hardcode_shlibpath_var=unsupported
13636 whole_archive_flag_spec='-all_load $convenience'
13637 link_all_deplibs=yes
13644 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13645 hardcode_libdir_flag_spec='-L$libdir'
13646 hardcode_shlibpath_var=no
13653 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13654 # support. Future versions do this automatically, but an explicit c++rt0.o
13655 # does not break anything, and helps significantly (at the cost of a little
13658 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13659 hardcode_libdir_flag_spec='-R$libdir'
13660 hardcode_direct=yes
13661 hardcode_shlibpath_var=no
13664 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13666 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13667 hardcode_direct=yes
13668 hardcode_minus_L=yes
13669 hardcode_shlibpath_var=no
13672 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13673 freebsd* | kfreebsd*-gnu)
13674 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13675 hardcode_libdir_flag_spec='-R$libdir'
13676 hardcode_direct=yes
13677 hardcode_shlibpath_var=no
13681 if test "$GCC" = yes; then
13682 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'
13684 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'
13686 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13687 hardcode_libdir_separator=:
13688 hardcode_direct=yes
13690 # hardcode_minus_L: Not really in the search PATH,
13691 # but as the default location of the library.
13692 hardcode_minus_L=yes
13693 export_dynamic_flag_spec='${wl}-E'
13697 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13698 case "$host_cpu" in
13700 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13703 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13707 case "$host_cpu" in
13709 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13712 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13716 if test "$with_gnu_ld" = no; then
13717 case "$host_cpu" in
13719 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13720 hardcode_libdir_flag_spec_ld='+b $libdir'
13721 hardcode_libdir_separator=:
13723 hardcode_shlibpath_var=no
13726 hardcode_libdir_flag_spec='-L$libdir'
13728 hardcode_shlibpath_var=no
13730 # hardcode_minus_L: Not really in the search PATH,
13731 # but as the default location of the library.
13732 hardcode_minus_L=yes
13735 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13736 hardcode_libdir_separator=:
13737 hardcode_direct=yes
13738 export_dynamic_flag_spec='${wl}-E'
13740 # hardcode_minus_L: Not really in the search PATH,
13741 # but as the default location of the library.
13742 hardcode_minus_L=yes
13748 irix5* | irix6* | nonstopux*)
13749 if test "$GCC" = yes; then
13750 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'
13752 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'
13753 hardcode_libdir_flag_spec_ld='-rpath $libdir'
13755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13756 hardcode_libdir_separator=:
13757 link_all_deplibs=yes
13761 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13764 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13766 hardcode_libdir_flag_spec='-R$libdir'
13767 hardcode_direct=yes
13768 hardcode_shlibpath_var=no
13772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13773 hardcode_direct=yes
13774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13775 hardcode_libdir_separator=:
13776 hardcode_shlibpath_var=no
13780 hardcode_direct=yes
13781 hardcode_shlibpath_var=no
13782 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13783 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13784 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13785 export_dynamic_flag_spec='${wl}-E'
13788 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13789 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13790 hardcode_libdir_flag_spec='-R$libdir'
13793 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13794 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13801 hardcode_libdir_flag_spec='-L$libdir'
13802 hardcode_minus_L=yes
13803 allow_undefined_flag=unsupported
13804 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'
13805 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13809 if test "$GCC" = yes; then
13810 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13811 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'
13813 allow_undefined_flag=' -expect_unresolved \*'
13814 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'
13816 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13817 hardcode_libdir_separator=:
13820 osf4* | osf5*) # as osf3* with the addition of -msym flag
13821 if test "$GCC" = yes; then
13822 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13823 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'
13824 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13826 allow_undefined_flag=' -expect_unresolved \*'
13827 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'
13828 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13829 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
13831 # Both c and cxx compiler support -rpath directly
13832 hardcode_libdir_flag_spec='-rpath $libdir'
13834 hardcode_libdir_separator=:
13838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13839 hardcode_shlibpath_var=no
13840 export_dynamic_flag_spec='${wl}-Bexport'
13841 runpath_var=LD_RUN_PATH
13842 hardcode_runpath_var=yes
13846 no_undefined_flag=' -z text'
13847 if test "$GCC" = yes; then
13848 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13849 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13850 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13852 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13853 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13854 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13856 hardcode_libdir_flag_spec='-R$libdir'
13857 hardcode_shlibpath_var=no
13859 solaris2.[0-5] | solaris2.[0-5].*) ;;
13860 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13861 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13863 link_all_deplibs=yes
13867 if test "x$host_vendor" = xsequent; then
13868 # Use $CC to link under sequent, because it throws in some extra .o
13869 # files that make .init and .fini sections work.
13870 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13872 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13874 hardcode_libdir_flag_spec='-L$libdir'
13875 hardcode_direct=yes
13876 hardcode_minus_L=yes
13877 hardcode_shlibpath_var=no
13881 case $host_vendor in
13883 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13884 hardcode_direct=yes # is this really true???
13887 ## LD is ld it makes a PLAMLIB
13888 ## CC just makes a GrossModule.
13889 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13890 reload_cmds='$CC -r -o $output$reload_objs'
13894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13895 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13898 runpath_var='LD_RUN_PATH'
13899 hardcode_shlibpath_var=no
13903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13904 hardcode_shlibpath_var=no
13905 export_dynamic_flag_spec='-Bexport'
13909 if test -d /usr/nec; then
13910 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13911 hardcode_shlibpath_var=no
13912 runpath_var=LD_RUN_PATH
13913 hardcode_runpath_var=yes
13919 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13920 hardcode_direct=yes
13921 hardcode_minus_L=no
13922 hardcode_shlibpath_var=no
13923 hardcode_runpath_var=yes
13924 runpath_var=LD_RUN_PATH
13927 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13928 no_undefined_flag='${wl}-z ${wl}text'
13929 if test "$GCC" = yes; then
13930 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13932 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13934 runpath_var='LD_RUN_PATH'
13935 hardcode_shlibpath_var=no
13939 no_undefined_flag=' -z text'
13940 # $CC -shared without GNU ld will not create a library from C++
13941 # object files and a static libstdc++, better avoid it by now
13942 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13943 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13944 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13945 hardcode_libdir_flag_spec=
13946 hardcode_shlibpath_var=no
13947 runpath_var='LD_RUN_PATH'
13951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13952 hardcode_libdir_flag_spec='-L$libdir'
13953 hardcode_shlibpath_var=no
13962 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13963 echo "${ECHO_T}$ld_shlibs" >&6
13964 test "$ld_shlibs" = no && can_build_shared=no
13966 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13967 if test "$GCC" = yes; then
13968 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13972 # Do we need to explicitly link libc?
13974 case "x$archive_cmds_need_lc" in
13976 # Assume -lc should be added
13977 archive_cmds_need_lc=yes
13979 if test "$enable_shared" = yes && test "$GCC" = yes; then
13980 case $archive_cmds in
13982 # FIXME: we may have to deal with multi-command sequences.
13985 # Test whether the compiler implicitly links with -lc since on some
13986 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13987 # to ld, don't add -lc before -lgcc.
13988 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13989 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13991 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13994 (eval $ac_compile) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); } 2>conftest.err; then
14000 libobjs=conftest.$ac_objext
14002 wl=$lt_prog_compiler_wl
14008 lt_save_allow_undefined_flag=$allow_undefined_flag
14009 allow_undefined_flag=
14010 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14011 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }
14016 archive_cmds_need_lc=no
14018 archive_cmds_need_lc=yes
14020 allow_undefined_flag=$lt_save_allow_undefined_flag
14022 cat conftest.err 1>&5
14025 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
14026 echo "${ECHO_T}$archive_cmds_need_lc" >&6
14033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14035 library_names_spec=
14036 libname_spec='lib$name'
14040 postuninstall_cmds=
14044 shlibpath_overrides_runpath=unknown
14046 dynamic_linker="$host_os ld.so"
14047 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14048 if test "$GCC" = yes; then
14049 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14050 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14051 # if the path contains ";" then we assume it to be the separator
14052 # otherwise default to the standard path separator (i.e. ":") - it is
14053 # assumed that no part of a normal pathname contains ";" but that should
14054 # okay in the real world where ";" in dirpaths is itself problematic.
14055 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14057 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14060 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14062 need_lib_prefix=unknown
14063 hardcode_into_libs=no
14065 # when you set need_version to no, make sure it does not cause -set_version
14066 # flags to be left without arguments
14067 need_version=unknown
14072 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14073 shlibpath_var=LIBPATH
14075 # AIX 3 has no versioning support, so we append a major version to the name.
14076 soname_spec='${libname}${release}${shared_ext}$major'
14083 hardcode_into_libs=yes
14084 if test "$host_cpu" = ia64; then
14085 # AIX 5 supports IA64
14086 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14087 shlibpath_var=LD_LIBRARY_PATH
14089 # With GCC up to 2.95.x, collect2 would create an import file
14090 # for dependence libraries. The import file would start with
14091 # the line `#! .'. This would cause the generated library to
14092 # depend on `.', always an invalid library. This was fixed in
14093 # development snapshots of GCC prior to 3.0.
14095 aix4 | aix4.[01] | aix4.[01].*)
14096 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14098 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14101 can_build_shared=no
14105 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14106 # soname into executable. Probably we can add versioning support to
14107 # collect2, so additional links can be useful in future.
14108 if test "$aix_use_runtimelinking" = yes; then
14109 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14110 # instead of lib<name>.a to let people know that these are not
14111 # typical AIX shared libraries.
14112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14114 # We preserve .a as extension for shared libraries through AIX4.2
14115 # and later when we are not doing run time linking.
14116 library_names_spec='${libname}${release}.a $libname.a'
14117 soname_spec='${libname}${release}${shared_ext}$major'
14119 shlibpath_var=LIBPATH
14124 library_names_spec='$libname.ixlibrary $libname.a'
14125 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14126 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'
14130 library_names_spec='${libname}${shared_ext}'
14131 dynamic_linker="$host_os ld.so"
14132 shlibpath_var=LIBRARY_PATH
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14139 soname_spec='${libname}${release}${shared_ext}$major'
14140 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14141 shlibpath_var=LD_LIBRARY_PATH
14142 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14143 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14144 # the default ld.so.conf also contains /usr/contrib/lib and
14145 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14146 # libtool to hard-code these into programs
14149 cygwin* | mingw* | pw32*)
14150 version_type=windows
14155 case $GCC,$host_os in
14156 yes,cygwin* | yes,mingw* | yes,pw32*)
14157 library_names_spec='$libname.dll.a'
14158 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14159 postinstall_cmds='base_file=`basename \${file}`~
14160 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14161 dldir=$destdir/`dirname \$dlpath`~
14162 test -d \$dldir || mkdir -p \$dldir~
14163 $install_prog $dir/$dlname \$dldir/$dlname'
14164 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14165 dlpath=$dir/\$dldll~
14167 shlibpath_overrides_runpath=yes
14171 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14172 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14173 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14176 # MinGW DLLs use traditional 'lib' prefix
14177 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14178 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14179 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14180 # It is most probably a Windows format PATH printed by
14181 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14182 # path with ; separators, and with drive letters. We can handle the
14183 # drive letters (cygwin fileutils understands them), so leave them,
14184 # especially as we might pass files found there to a mingw objdump,
14185 # which wouldn't understand a cygwinified path. Ahh.
14186 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14188 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14192 # pw32 DLLs use 'pw' prefix rather than 'lib'
14193 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14199 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14202 dynamic_linker='Win32 ld.exe'
14203 # FIXME: first we should search . and the directory the executable is in
14207 darwin* | rhapsody*)
14208 dynamic_linker="$host_os dyld"
14209 version_type=darwin
14212 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14213 soname_spec='${libname}${release}${major}$shared_ext'
14214 shlibpath_overrides_runpath=yes
14215 shlibpath_var=DYLD_LIBRARY_PATH
14216 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14217 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14218 if test "$GCC" = yes; then
14219 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"`
14221 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14223 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14231 soname_spec='${libname}${release}${shared_ext}$major'
14232 shlibpath_var=LD_LIBRARY_PATH
14243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14244 soname_spec='${libname}${release}${shared_ext}$major'
14245 shlibpath_var=LD_LIBRARY_PATH
14246 shlibpath_overrides_runpath=no
14247 hardcode_into_libs=yes
14248 dynamic_linker='GNU ld.so'
14252 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14253 version_type=freebsd-$objformat
14254 case $version_type in
14256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14261 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14265 shlibpath_var=LD_LIBRARY_PATH
14268 shlibpath_overrides_runpath=yes
14270 freebsd3.01* | freebsdelf3.01*)
14271 shlibpath_overrides_runpath=yes
14272 hardcode_into_libs=yes
14275 shlibpath_overrides_runpath=no
14276 hardcode_into_libs=yes
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14286 soname_spec='${libname}${release}${shared_ext}$major'
14287 shlibpath_var=LD_LIBRARY_PATH
14288 hardcode_into_libs=yes
14291 hpux9* | hpux10* | hpux11*)
14292 # Give a soname corresponding to the major version so that dld.sl refuses to
14293 # link against other versions.
14297 case "$host_cpu" in
14300 hardcode_into_libs=yes
14301 dynamic_linker="$host_os dld.so"
14302 shlibpath_var=LD_LIBRARY_PATH
14303 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 soname_spec='${libname}${release}${shared_ext}$major'
14306 if test "X$HPUX_IA64_MODE" = X32; then
14307 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14309 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14311 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14315 hardcode_into_libs=yes
14316 dynamic_linker="$host_os dld.sl"
14317 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14318 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 soname_spec='${libname}${release}${shared_ext}$major'
14321 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14322 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14326 dynamic_linker="$host_os dld.sl"
14327 shlibpath_var=SHLIB_PATH
14328 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14330 soname_spec='${libname}${release}${shared_ext}$major'
14333 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14334 postinstall_cmds='chmod 555 $lib'
14337 irix5* | irix6* | nonstopux*)
14339 nonstopux*) version_type=nonstopux ;;
14341 if test "$lt_cv_prog_gnu_ld" = yes; then
14349 soname_spec='${libname}${release}${shared_ext}$major'
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14352 irix5* | nonstopux*)
14353 libsuff= shlibsuff=
14356 case $LD in # libtool.m4 will add one of these switches to LD
14357 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14358 libsuff= shlibsuff= libmagic=32-bit;;
14359 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14360 libsuff=32 shlibsuff=N32 libmagic=N32;;
14361 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14362 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14363 *) libsuff= shlibsuff= libmagic=never-match;;
14367 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14368 shlibpath_overrides_runpath=no
14369 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14370 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14371 hardcode_into_libs=yes
14374 # No shared lib support for Linux oldld, aout, or coff.
14375 linux*oldld* | linux*aout* | linux*coff*)
14379 # This must be Linux ELF.
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14387 shlibpath_var=LD_LIBRARY_PATH
14388 shlibpath_overrides_runpath=no
14389 # This implies no fast_install, which is unacceptable.
14390 # Some rework will be needed to allow for fast_install
14391 # before this can be enabled.
14392 hardcode_into_libs=yes
14394 # find out which ABI we are using
14396 case "$host_cpu" in
14397 x86_64*|s390x*|powerpc64*)
14398 echo '#line 14398 "configure"' > conftest.$ac_ext
14399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14400 (eval $ac_compile) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; then
14404 case `/usr/bin/file conftest.$ac_objext` in
14407 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14415 # Append ld.so.conf contents to the search path
14416 if test -f /etc/ld.so.conf; then
14417 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
14418 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14421 # We used to test for /lib/ld.so.1 and disable shared libraries on
14422 # powerpc, because MkLinux only supported shared libraries with the
14423 # GNU dynamic linker. Since this was broken with cross compilers,
14424 # most powerpc-linux boxes support dynamic linking these days and
14425 # people can always --disable-shared, the test was removed, and we
14426 # assume the GNU/Linux dynamic linker is in use.
14427 dynamic_linker='GNU/Linux ld.so'
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14435 soname_spec='${libname}${release}${shared_ext}$major'
14436 shlibpath_var=LD_LIBRARY_PATH
14437 shlibpath_overrides_runpath=no
14438 hardcode_into_libs=yes
14439 dynamic_linker='GNU ld.so'
14446 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14448 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14449 dynamic_linker='NetBSD (a.out) ld.so'
14451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14452 soname_spec='${libname}${release}${shared_ext}$major'
14453 dynamic_linker='NetBSD ld.elf_so'
14455 shlibpath_var=LD_LIBRARY_PATH
14456 shlibpath_overrides_runpath=yes
14457 hardcode_into_libs=yes
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463 shlibpath_var=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath=yes
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 shlibpath_var=LD_LIBRARY_PATH
14474 shlibpath_overrides_runpath=yes
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14483 shlibpath_var=LD_LIBRARY_PATH
14484 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14486 openbsd2.[89] | openbsd2.[89].*)
14487 shlibpath_overrides_runpath=no
14490 shlibpath_overrides_runpath=yes
14494 shlibpath_overrides_runpath=yes
14499 libname_spec='$name'
14502 library_names_spec='$libname${shared_ext} $libname.a'
14503 dynamic_linker='OS/2 ld.exe'
14504 shlibpath_var=LIBPATH
14507 osf3* | osf4* | osf5*)
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14515 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14520 soname_spec='${libname}${release}${shared_ext}$major'
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 shlibpath_var=LD_LIBRARY_PATH
14529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14530 soname_spec='${libname}${release}${shared_ext}$major'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 shlibpath_overrides_runpath=yes
14533 hardcode_into_libs=yes
14534 # ldd complains unless libraries are executable
14535 postinstall_cmds='chmod +x $lib'
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14541 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14542 shlibpath_var=LD_LIBRARY_PATH
14543 shlibpath_overrides_runpath=yes
14544 if test "$with_gnu_ld" = yes; then
14550 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 soname_spec='${libname}${release}${shared_ext}$major'
14554 shlibpath_var=LD_LIBRARY_PATH
14555 case $host_vendor in
14557 shlibpath_overrides_runpath=no
14559 export_dynamic_flag_spec='${wl}-Blargedynsym'
14560 runpath_var=LD_RUN_PATH
14568 shlibpath_overrides_runpath=no
14569 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14575 if test -d /usr/nec ;then
14577 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14578 soname_spec='$libname${shared_ext}.$major'
14579 shlibpath_var=LD_LIBRARY_PATH
14585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 shlibpath_var=LD_LIBRARY_PATH
14594 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14595 echo "${ECHO_T}$dynamic_linker" >&6
14596 test "$dynamic_linker" = no && can_build_shared=no
14598 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14599 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14601 if test -n "$hardcode_libdir_flag_spec" || \
14602 test -n "$runpath_var " || \
14603 test "X$hardcode_automatic"="Xyes" ; then
14605 # We can hardcode non-existant directories.
14606 if test "$hardcode_direct" != no &&
14607 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14608 # have to relink, otherwise we might link with an installed library
14609 # when we should be linking with a yet-to-be-installed one
14610 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
14611 test "$hardcode_minus_L" != no; then
14612 # Linking always hardcodes the temporary library directory.
14613 hardcode_action=relink
14615 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14616 hardcode_action=immediate
14619 # We cannot hardcode anything, or else we can only hardcode existing
14621 hardcode_action=unsupported
14623 echo "$as_me:$LINENO: result: $hardcode_action" >&5
14624 echo "${ECHO_T}$hardcode_action" >&6
14626 if test "$hardcode_action" = relink; then
14627 # Fast installation is not supported
14628 enable_fast_install=no
14629 elif test "$shlibpath_overrides_runpath" = yes ||
14630 test "$enable_shared" = no; then
14631 # Fast installation is not necessary
14632 enable_fast_install=needless
14637 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14638 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14639 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14640 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14641 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14642 echo "$as_me:$LINENO: result: yes" >&5
14643 echo "${ECHO_T}yes" >&6
14645 # FIXME - insert some real tests, host_os isn't really good enough
14648 if test -n "$STRIP" ; then
14649 striplib="$STRIP -x"
14650 echo "$as_me:$LINENO: result: yes" >&5
14651 echo "${ECHO_T}yes" >&6
14653 echo "$as_me:$LINENO: result: no" >&5
14654 echo "${ECHO_T}no" >&6
14658 echo "$as_me:$LINENO: result: no" >&5
14659 echo "${ECHO_T}no" >&6
14664 if test "x$enable_dlopen" != xyes; then
14665 enable_dlopen=unknown
14666 enable_dlopen_self=unknown
14667 enable_dlopen_self_static=unknown
14674 lt_cv_dlopen="load_add_on"
14676 lt_cv_dlopen_self=yes
14680 lt_cv_dlopen="LoadLibrary"
14685 lt_cv_dlopen="dlopen"
14690 # if libdl is installed we need to link against it
14691 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14692 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14693 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 ac_check_lib_save_LIBS=$LIBS
14698 cat >conftest.$ac_ext <<_ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14705 /* Override any gcc2 internal prototype to avoid an error. */
14709 /* We use char because int might match the return type of a gcc2
14710 builtin and then its argument prototype would still apply. */
14720 rm -f conftest.$ac_objext conftest$ac_exeext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14722 (eval $ac_link) 2>conftest.er1
14724 grep -v '^ *+' conftest.er1 >conftest.err
14726 cat conftest.err >&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } &&
14729 { ac_try='test -z "$ac_c_werror_flag"
14730 || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try='test -s conftest$ac_exeext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 ac_cv_lib_dl_dlopen=yes
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14747 ac_cv_lib_dl_dlopen=no
14749 rm -f conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14754 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14755 if test $ac_cv_lib_dl_dlopen = yes; then
14756 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14759 lt_cv_dlopen="dyld"
14761 lt_cv_dlopen_self=yes
14768 echo "$as_me:$LINENO: checking for shl_load" >&5
14769 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14770 if test "${ac_cv_func_shl_load+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 cat >conftest.$ac_ext <<_ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14781 #define shl_load innocuous_shl_load
14783 /* System header to define __stub macros and hopefully few prototypes,
14784 which can conflict with char shl_load (); below.
14785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14786 <limits.h> exists even on freestanding compilers. */
14789 # include <limits.h>
14791 # include <assert.h>
14796 /* Override any gcc2 internal prototype to avoid an error. */
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14804 /* The GNU C library defines this for functions which it implements
14805 to always fail with ENOSYS. Some functions are actually named
14806 something starting with __ and the normal name is an alias. */
14807 #if defined (__stub_shl_load) || defined (__stub___shl_load)
14810 char (*f) () = shl_load;
14819 return f != shl_load;
14824 rm -f conftest.$ac_objext conftest$ac_exeext
14825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14826 (eval $ac_link) 2>conftest.er1
14828 grep -v '^ *+' conftest.er1 >conftest.err
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } &&
14833 { ac_try='test -z "$ac_c_werror_flag"
14834 || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try='test -s conftest$ac_exeext'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; }; then
14846 ac_cv_func_shl_load=yes
14848 echo "$as_me: failed program was:" >&5
14849 sed 's/^/| /' conftest.$ac_ext >&5
14851 ac_cv_func_shl_load=no
14853 rm -f conftest.err conftest.$ac_objext \
14854 conftest$ac_exeext conftest.$ac_ext
14856 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14857 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14858 if test $ac_cv_func_shl_load = yes; then
14859 lt_cv_dlopen="shl_load"
14861 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14862 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14863 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14864 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 ac_check_lib_save_LIBS=$LIBS
14868 cat >conftest.$ac_ext <<_ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14875 /* Override any gcc2 internal prototype to avoid an error. */
14879 /* We use char because int might match the return type of a gcc2
14880 builtin and then its argument prototype would still apply. */
14890 rm -f conftest.$ac_objext conftest$ac_exeext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14892 (eval $ac_link) 2>conftest.er1
14894 grep -v '^ *+' conftest.er1 >conftest.err
14896 cat conftest.err >&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); } &&
14899 { ac_try='test -z "$ac_c_werror_flag"
14900 || test ! -s conftest.err'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; } &&
14906 { ac_try='test -s conftest$ac_exeext'
14907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14908 (eval $ac_try) 2>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; }; then
14912 ac_cv_lib_dld_shl_load=yes
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14917 ac_cv_lib_dld_shl_load=no
14919 rm -f conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14921 LIBS=$ac_check_lib_save_LIBS
14923 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14924 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14925 if test $ac_cv_lib_dld_shl_load = yes; then
14926 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14928 echo "$as_me:$LINENO: checking for dlopen" >&5
14929 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14930 if test "${ac_cv_func_dlopen+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 cat >conftest.$ac_ext <<_ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14941 #define dlopen innocuous_dlopen
14943 /* System header to define __stub macros and hopefully few prototypes,
14944 which can conflict with char dlopen (); below.
14945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14946 <limits.h> exists even on freestanding compilers. */
14949 # include <limits.h>
14951 # include <assert.h>
14956 /* Override any gcc2 internal prototype to avoid an error. */
14961 /* We use char because int might match the return type of a gcc2
14962 builtin and then its argument prototype would still apply. */
14964 /* The GNU C library defines this for functions which it implements
14965 to always fail with ENOSYS. Some functions are actually named
14966 something starting with __ and the normal name is an alias. */
14967 #if defined (__stub_dlopen) || defined (__stub___dlopen)
14970 char (*f) () = dlopen;
14979 return f != dlopen;
14984 rm -f conftest.$ac_objext conftest$ac_exeext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14986 (eval $ac_link) 2>conftest.er1
14988 grep -v '^ *+' conftest.er1 >conftest.err
14990 cat conftest.err >&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try='test -z "$ac_c_werror_flag"
14994 || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try='test -s conftest$ac_exeext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_cv_func_dlopen=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_func_dlopen=no
15013 rm -f conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15016 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15017 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15018 if test $ac_cv_func_dlopen = yes; then
15019 lt_cv_dlopen="dlopen"
15021 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15022 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15023 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 ac_check_lib_save_LIBS=$LIBS
15028 cat >conftest.$ac_ext <<_ACEOF
15031 cat confdefs.h >>conftest.$ac_ext
15032 cat >>conftest.$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15035 /* Override any gcc2 internal prototype to avoid an error. */
15039 /* We use char because int might match the return type of a gcc2
15040 builtin and then its argument prototype would still apply. */
15050 rm -f conftest.$ac_objext conftest$ac_exeext
15051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15052 (eval $ac_link) 2>conftest.er1
15054 grep -v '^ *+' conftest.er1 >conftest.err
15056 cat conftest.err >&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } &&
15059 { ac_try='test -z "$ac_c_werror_flag"
15060 || test ! -s conftest.err'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; } &&
15066 { ac_try='test -s conftest$ac_exeext'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; }; then
15072 ac_cv_lib_dl_dlopen=yes
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15077 ac_cv_lib_dl_dlopen=no
15079 rm -f conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15081 LIBS=$ac_check_lib_save_LIBS
15083 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15084 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15085 if test $ac_cv_lib_dl_dlopen = yes; then
15086 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15088 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15089 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15090 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15093 ac_check_lib_save_LIBS=$LIBS
15094 LIBS="-lsvld $LIBS"
15095 cat >conftest.$ac_ext <<_ACEOF
15098 cat confdefs.h >>conftest.$ac_ext
15099 cat >>conftest.$ac_ext <<_ACEOF
15100 /* end confdefs.h. */
15102 /* Override any gcc2 internal prototype to avoid an error. */
15106 /* We use char because int might match the return type of a gcc2
15107 builtin and then its argument prototype would still apply. */
15117 rm -f conftest.$ac_objext conftest$ac_exeext
15118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15119 (eval $ac_link) 2>conftest.er1
15121 grep -v '^ *+' conftest.er1 >conftest.err
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } &&
15126 { ac_try='test -z "$ac_c_werror_flag"
15127 || test ! -s conftest.err'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; } &&
15133 { ac_try='test -s conftest$ac_exeext'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; }; then
15139 ac_cv_lib_svld_dlopen=yes
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15144 ac_cv_lib_svld_dlopen=no
15146 rm -f conftest.err conftest.$ac_objext \
15147 conftest$ac_exeext conftest.$ac_ext
15148 LIBS=$ac_check_lib_save_LIBS
15150 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15151 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15152 if test $ac_cv_lib_svld_dlopen = yes; then
15153 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15155 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15156 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15157 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 ac_check_lib_save_LIBS=$LIBS
15162 cat >conftest.$ac_ext <<_ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15169 /* Override any gcc2 internal prototype to avoid an error. */
15173 /* We use char because int might match the return type of a gcc2
15174 builtin and then its argument prototype would still apply. */
15184 rm -f conftest.$ac_objext conftest$ac_exeext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>conftest.er1
15188 grep -v '^ *+' conftest.er1 >conftest.err
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } &&
15193 { ac_try='test -z "$ac_c_werror_flag"
15194 || test ! -s conftest.err'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; } &&
15200 { ac_try='test -s conftest$ac_exeext'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; }; then
15206 ac_cv_lib_dld_dld_link=yes
15208 echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.$ac_ext >&5
15211 ac_cv_lib_dld_dld_link=no
15213 rm -f conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_lib_save_LIBS
15217 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15218 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15219 if test $ac_cv_lib_dld_dld_link = yes; then
15220 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15241 if test "x$lt_cv_dlopen" != xno; then
15247 case $lt_cv_dlopen in
15249 save_CPPFLAGS="$CPPFLAGS"
15250 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15252 save_LDFLAGS="$LDFLAGS"
15253 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15256 LIBS="$lt_cv_dlopen_libs $LIBS"
15258 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15259 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15260 if test "${lt_cv_dlopen_self+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 if test "$cross_compiling" = yes; then :
15264 lt_cv_dlopen_self=cross
15266 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15267 lt_status=$lt_dlunknown
15268 cat > conftest.$ac_ext <<EOF
15269 #line 15269 "configure"
15270 #include "confdefs.h"
15279 # define LT_DLGLOBAL RTLD_GLOBAL
15282 # define LT_DLGLOBAL DL_GLOBAL
15284 # define LT_DLGLOBAL 0
15288 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15289 find out it does not work in some platform. */
15290 #ifndef LT_DLLAZY_OR_NOW
15292 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15295 # define LT_DLLAZY_OR_NOW DL_LAZY
15298 # define LT_DLLAZY_OR_NOW RTLD_NOW
15301 # define LT_DLLAZY_OR_NOW DL_NOW
15303 # define LT_DLLAZY_OR_NOW 0
15311 extern "C" void exit (int);
15314 void fnord() { int i=42;}
15317 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15318 int status = $lt_dlunknown;
15322 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15323 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15324 /* dlclose (self); */
15330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15331 (eval $ac_link) 2>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15335 (./conftest; exit; ) 2>/dev/null
15337 case x$lt_status in
15338 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15339 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15340 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15343 # compilation failed
15344 lt_cv_dlopen_self=no
15351 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15352 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15354 if test "x$lt_cv_dlopen_self" = xyes; then
15355 LDFLAGS="$LDFLAGS $link_static_flag"
15356 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15357 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15358 if test "${lt_cv_dlopen_self_static+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 if test "$cross_compiling" = yes; then :
15362 lt_cv_dlopen_self_static=cross
15364 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15365 lt_status=$lt_dlunknown
15366 cat > conftest.$ac_ext <<EOF
15367 #line 15367 "configure"
15368 #include "confdefs.h"
15377 # define LT_DLGLOBAL RTLD_GLOBAL
15380 # define LT_DLGLOBAL DL_GLOBAL
15382 # define LT_DLGLOBAL 0
15386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15387 find out it does not work in some platform. */
15388 #ifndef LT_DLLAZY_OR_NOW
15390 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15393 # define LT_DLLAZY_OR_NOW DL_LAZY
15396 # define LT_DLLAZY_OR_NOW RTLD_NOW
15399 # define LT_DLLAZY_OR_NOW DL_NOW
15401 # define LT_DLLAZY_OR_NOW 0
15409 extern "C" void exit (int);
15412 void fnord() { int i=42;}
15415 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15416 int status = $lt_dlunknown;
15420 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15421 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15422 /* dlclose (self); */
15428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15429 (eval $ac_link) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15433 (./conftest; exit; ) 2>/dev/null
15435 case x$lt_status in
15436 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15437 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15438 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15441 # compilation failed
15442 lt_cv_dlopen_self_static=no
15449 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15450 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15453 CPPFLAGS="$save_CPPFLAGS"
15454 LDFLAGS="$save_LDFLAGS"
15459 case $lt_cv_dlopen_self in
15460 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15461 *) enable_dlopen_self=unknown ;;
15464 case $lt_cv_dlopen_self_static in
15465 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15466 *) enable_dlopen_self_static=unknown ;;
15471 # Report which librarie types wil actually be built
15472 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15473 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15474 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15475 echo "${ECHO_T}$can_build_shared" >&6
15477 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15478 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15479 test "$can_build_shared" = "no" && enable_shared=no
15481 # On AIX, shared libraries and static libraries use the same namespace, and
15482 # are all built from PIC.
15485 test "$enable_shared" = yes && enable_static=no
15486 if test -n "$RANLIB"; then
15487 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15488 postinstall_cmds='$RANLIB $lib'
15493 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15494 test "$enable_shared" = yes && enable_static=no
15497 darwin* | rhapsody*)
15498 if test "$GCC" = yes; then
15499 archive_cmds_need_lc=no
15501 rhapsody* | darwin1.[012])
15502 allow_undefined_flag='-undefined suppress'
15505 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15506 allow_undefined_flag='-flat_namespace -undefined suppress'
15508 case ${MACOSX_DEPLOYMENT_TARGET} in
15510 allow_undefined_flag='-flat_namespace -undefined suppress'
15513 allow_undefined_flag='-undefined dynamic_lookup'
15519 output_verbose_link_cmd='echo'
15520 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
15521 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15522 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15523 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}'
15524 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}'
15526 hardcode_automatic=yes
15527 hardcode_shlibpath_var=unsupported
15528 whole_archive_flag_spec='-all_load $convenience'
15529 link_all_deplibs=yes
15535 echo "$as_me:$LINENO: result: $enable_shared" >&5
15536 echo "${ECHO_T}$enable_shared" >&6
15538 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15539 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15540 # Make sure either enable_shared or enable_static is yes.
15541 test "$enable_shared" = yes || enable_static=yes
15542 echo "$as_me:$LINENO: result: $enable_static" >&5
15543 echo "${ECHO_T}$enable_static" >&6
15545 # The else clause should only fire when bootstrapping the
15546 # libtool distribution, otherwise you forgot to ship ltmain.sh
15547 # with your package, and you will get complaints that there are
15548 # no rules to generate ltmain.sh.
15549 if test -f "$ltmain"; then
15550 # See if we are running on zsh, and set the options which allow our commands through
15551 # without removal of \ escapes.
15552 if test -n "${ZSH_VERSION+set}" ; then
15553 setopt NO_GLOB_SUBST
15555 # Now quote all the things that may contain metacharacters while being
15556 # careful not to overquote the AC_SUBSTed values. We take copies of the
15557 # variables and quote the copies for generation of the libtool script.
15558 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15560 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15561 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15562 deplibs_check_method reload_flag reload_cmds need_locks \
15563 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15564 lt_cv_sys_global_symbol_to_c_name_address \
15565 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15566 old_postinstall_cmds old_postuninstall_cmds \
15570 lt_prog_compiler_wl \
15571 lt_prog_compiler_pic \
15572 lt_prog_compiler_static \
15573 lt_prog_compiler_no_builtin_flag \
15574 export_dynamic_flag_spec \
15575 thread_safe_flag_spec \
15576 whole_archive_flag_spec \
15577 enable_shared_with_static_runtimes \
15579 old_archive_from_new_cmds \
15584 compiler_lib_search_path \
15586 archive_expsym_cmds \
15588 postuninstall_cmds \
15589 old_archive_from_expsyms_cmds \
15590 allow_undefined_flag \
15591 no_undefined_flag \
15592 export_symbols_cmds \
15593 hardcode_libdir_flag_spec \
15594 hardcode_libdir_flag_spec_ld \
15595 hardcode_libdir_separator \
15596 hardcode_automatic \
15598 module_expsym_cmds \
15599 lt_cv_prog_compiler_c_o \
15601 include_expsyms; do
15604 old_archive_cmds | \
15605 old_archive_from_new_cmds | \
15607 archive_expsym_cmds | \
15609 module_expsym_cmds | \
15610 old_archive_from_expsyms_cmds | \
15611 export_symbols_cmds | \
15612 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15613 postinstall_cmds | postuninstall_cmds | \
15614 old_postinstall_cmds | old_postuninstall_cmds | \
15615 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15616 # Double-quote double-evaled strings.
15617 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15620 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15626 *'\$0 --fallback-echo"')
15627 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15631 cfgfile="${ofile}T"
15632 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
15634 { echo "$as_me:$LINENO: creating $ofile" >&5
15635 echo "$as_me: creating $ofile" >&6;}
15637 cat <<__EOF__ >> "$cfgfile"
15640 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15641 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
15642 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15644 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
15645 # Free Software Foundation, Inc.
15647 # This file is part of GNU Libtool:
15648 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15650 # This program is free software; you can redistribute it and/or modify
15651 # it under the terms of the GNU General Public License as published by
15652 # the Free Software Foundation; either version 2 of the License, or
15653 # (at your option) any later version.
15655 # This program is distributed in the hope that it will be useful, but
15656 # WITHOUT ANY WARRANTY; without even the implied warranty of
15657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15658 # General Public License for more details.
15660 # You should have received a copy of the GNU General Public License
15661 # along with this program; if not, write to the Free Software
15662 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15664 # As a special exception to the GNU General Public License, if you
15665 # distribute this file as part of a program that contains a
15666 # configuration script generated by Autoconf, you may include it under
15667 # the same distribution terms that you use for the rest of that program.
15669 # A sed program that does not truncate output.
15672 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15673 Xsed="$SED -e s/^X//"
15675 # The HP-UX ksh and POSIX shell print the target directory to stdout
15676 # if CDPATH is set.
15677 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
15679 # The names of the tagged configurations supported by this script.
15682 # ### BEGIN LIBTOOL CONFIG
15684 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15686 # Shell to use when invoking shell scripts.
15689 # Whether or not to build shared libraries.
15690 build_libtool_libs=$enable_shared
15692 # Whether or not to build static libraries.
15693 build_old_libs=$enable_static
15695 # Whether or not to add -lc for building shared libraries.
15696 build_libtool_need_lc=$archive_cmds_need_lc
15698 # Whether or not to disallow shared libs when runtime libs are static
15699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15701 # Whether or not to optimize for fast installation.
15702 fast_install=$enable_fast_install
15705 host_alias=$host_alias
15708 # An echo program that does not interpret backslashes.
15713 AR_FLAGS=$lt_AR_FLAGS
15718 # A language-specific compiler.
15721 # Is the compiler the GNU C compiler?
15727 # The linker used to build libraries.
15730 # Whether we need hard or soft links.
15733 # A BSD-compatible nm program.
15736 # A symbol stripping program
15739 # Used to examine libraries when file_magic_cmd begins "file"
15740 MAGIC_CMD=$MAGIC_CMD
15742 # Used on cygwin: DLL creation program.
15745 # Used on cygwin: object dumper.
15748 # Used on cygwin: assembler.
15751 # The name of the directory that contains temporary libtool files.
15754 # How to create reloadable object files.
15755 reload_flag=$lt_reload_flag
15756 reload_cmds=$lt_reload_cmds
15758 # How to pass a linker flag through the compiler.
15759 wl=$lt_lt_prog_compiler_wl
15761 # Object file suffix (normally "o").
15762 objext="$ac_objext"
15764 # Old archive suffix (normally "a").
15767 # Shared library suffix (normally ".so").
15768 shrext_cmds='$shrext_cmds'
15770 # Executable file suffix (normally "").
15773 # Additional compiler flags for building library objects.
15774 pic_flag=$lt_lt_prog_compiler_pic
15777 # What is the maximum length of a command?
15778 max_cmd_len=$lt_cv_sys_max_cmd_len
15780 # Does compiler simultaneously support -c and -o options?
15781 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15783 # Must we lock files when doing compilation ?
15784 need_locks=$lt_need_locks
15786 # Do we need the lib prefix for modules?
15787 need_lib_prefix=$need_lib_prefix
15789 # Do we need a version for libraries?
15790 need_version=$need_version
15792 # Whether dlopen is supported.
15793 dlopen_support=$enable_dlopen
15795 # Whether dlopen of programs is supported.
15796 dlopen_self=$enable_dlopen_self
15798 # Whether dlopen of statically linked programs is supported.
15799 dlopen_self_static=$enable_dlopen_self_static
15801 # Compiler flag to prevent dynamic linking.
15802 link_static_flag=$lt_lt_prog_compiler_static
15804 # Compiler flag to turn off builtin functions.
15805 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15807 # Compiler flag to allow reflexive dlopens.
15808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15810 # Compiler flag to generate shared objects directly from archives.
15811 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15813 # Compiler flag to generate thread-safe objects.
15814 thread_safe_flag_spec=$lt_thread_safe_flag_spec
15816 # Library versioning type.
15817 version_type=$version_type
15819 # Format of library name prefix.
15820 libname_spec=$lt_libname_spec
15822 # List of archive names. First name is the real one, the rest are links.
15823 # The last name is the one that the linker finds with -lNAME.
15824 library_names_spec=$lt_library_names_spec
15826 # The coded name of the library, if different from the real name.
15827 soname_spec=$lt_soname_spec
15829 # Commands used to build and install an old-style archive.
15831 old_archive_cmds=$lt_old_archive_cmds
15832 old_postinstall_cmds=$lt_old_postinstall_cmds
15833 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15835 # Create an old-style archive from a shared archive.
15836 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15838 # Create a temporary old-style archive to link instead of a shared archive.
15839 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15841 # Commands used to build and install a shared archive.
15842 archive_cmds=$lt_archive_cmds
15843 archive_expsym_cmds=$lt_archive_expsym_cmds
15844 postinstall_cmds=$lt_postinstall_cmds
15845 postuninstall_cmds=$lt_postuninstall_cmds
15847 # Commands used to build a loadable module (assumed same as above if empty)
15848 module_cmds=$lt_module_cmds
15849 module_expsym_cmds=$lt_module_expsym_cmds
15851 # Commands to strip libraries.
15852 old_striplib=$lt_old_striplib
15853 striplib=$lt_striplib
15855 # Dependencies to place before the objects being linked to create a
15857 predep_objects=$lt_predep_objects
15859 # Dependencies to place after the objects being linked to create a
15861 postdep_objects=$lt_postdep_objects
15863 # Dependencies to place before the objects being linked to create a
15865 predeps=$lt_predeps
15867 # Dependencies to place after the objects being linked to create a
15869 postdeps=$lt_postdeps
15871 # The library search path used internally by the compiler when linking
15872 # a shared library.
15873 compiler_lib_search_path=$lt_compiler_lib_search_path
15875 # Method to check whether dependent libraries are shared objects.
15876 deplibs_check_method=$lt_deplibs_check_method
15878 # Command to use when deplibs_check_method == file_magic.
15879 file_magic_cmd=$lt_file_magic_cmd
15881 # Flag that allows shared libraries with undefined symbols to be built.
15882 allow_undefined_flag=$lt_allow_undefined_flag
15884 # Flag that forces no undefined symbols.
15885 no_undefined_flag=$lt_no_undefined_flag
15887 # Commands used to finish a libtool library installation in a directory.
15888 finish_cmds=$lt_finish_cmds
15890 # Same as above, but a single script fragment to be evaled but not shown.
15891 finish_eval=$lt_finish_eval
15893 # Take the output of nm and produce a listing of raw symbols and C names.
15894 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15896 # Transform the output of nm in a proper C declaration
15897 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15899 # Transform the output of nm in a C name address pair
15900 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15902 # This is the shared library runtime path variable.
15903 runpath_var=$runpath_var
15905 # This is the shared library path variable.
15906 shlibpath_var=$shlibpath_var
15908 # Is shlibpath searched before the hard-coded library search path?
15909 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15911 # How to hardcode a shared library path into an executable.
15912 hardcode_action=$hardcode_action
15914 # Whether we should hardcode library paths into libraries.
15915 hardcode_into_libs=$hardcode_into_libs
15917 # Flag to hardcode \$libdir into a binary during linking.
15918 # This must work even if \$libdir does not exist.
15919 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15921 # If ld is used when linking, flag to hardcode \$libdir into
15922 # a binary during linking. This must work even if \$libdir does
15924 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15926 # Whether we need a single -rpath flag with a separated argument.
15927 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15929 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15930 # resulting binary.
15931 hardcode_direct=$hardcode_direct
15933 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15934 # resulting binary.
15935 hardcode_minus_L=$hardcode_minus_L
15937 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15938 # the resulting binary.
15939 hardcode_shlibpath_var=$hardcode_shlibpath_var
15941 # Set to yes if building a shared library automatically hardcodes DIR into the library
15942 # and all subsequent libraries and executables linked against it.
15943 hardcode_automatic=$hardcode_automatic
15945 # Variables whose values should be saved in libtool wrapper scripts and
15946 # restored at relink time.
15947 variables_saved_for_relink="$variables_saved_for_relink"
15949 # Whether libtool must link a program against all its dependency libraries.
15950 link_all_deplibs=$link_all_deplibs
15952 # Compile-time system search path for libraries
15953 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15955 # Run-time system search path for libraries
15956 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15958 # Fix the shell variable \$srcfile for the compiler.
15959 fix_srcfile_path="$fix_srcfile_path"
15961 # Set to yes if exported symbols are required.
15962 always_export_symbols=$always_export_symbols
15964 # The commands to list exported symbols.
15965 export_symbols_cmds=$lt_export_symbols_cmds
15967 # The commands to extract the exported symbol list from a shared archive.
15968 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15970 # Symbols that should not be listed in the preloaded symbols.
15971 exclude_expsyms=$lt_exclude_expsyms
15973 # Symbols that must always be exported.
15974 include_expsyms=$lt_include_expsyms
15976 # ### END LIBTOOL CONFIG
15983 cat <<\EOF >> "$cfgfile"
15985 # AIX sometimes has problems with the GCC collect2 program. For some
15986 # reason, if we set the COLLECT_NAMES environment variable, the problems
15987 # vanish in a puff of smoke.
15988 if test "X${COLLECT_NAMES+set}" != Xset; then
15990 export COLLECT_NAMES
15996 # We use sed instead of cat because bash on DJGPP gets confused if
15997 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15998 # text mode, it properly converts lines to CR/LF. This bash problem
15999 # is reportedly fixed, but why not run on old versions too?
16000 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
16002 mv -f "$cfgfile" "$ofile" || \
16003 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16007 # If there is no Makefile yet, we rely on a make rule to execute
16008 # `config.status --recheck' to rerun these tests and create the
16009 # libtool script then.
16010 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16011 if test -f "$ltmain_in"; then
16012 test -f Makefile && make "$ltmain"
16018 ac_cpp='$CPP $CPPFLAGS'
16019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16026 # Check whether --with-tags or --without-tags was given.
16027 if test "${with_tags+set}" = set; then
16028 withval="$with_tags"
16029 tagnames="$withval"
16032 if test -f "$ltmain" && test -n "$tagnames"; then
16033 if test ! -f "${ofile}"; then
16034 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
16035 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
16038 if test -z "$LTCC"; then
16039 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16040 if test -z "$LTCC"; then
16041 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
16042 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
16044 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
16045 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
16049 # Extract list of available tagged configurations in $ofile.
16050 # Note that this assumes the entire list is on one line.
16051 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16053 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16054 for tagname in $tagnames; do
16056 # Check whether tagname contains only valid characters
16057 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
16059 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
16060 echo "$as_me: error: invalid tag name: $tagname" >&2;}
16061 { (exit 1); exit 1; }; }
16065 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
16067 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
16068 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
16069 { (exit 1); exit 1; }; }
16072 # Update the list of available tags.
16073 if test -n "$tagname"; then
16074 echo appending configuration tag \"$tagname\" to $ofile
16078 if test -n "$CXX" && test "X$CXX" != "Xno"; then
16080 ac_cpp='$CXXCPP $CPPFLAGS'
16081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16088 archive_cmds_need_lc_CXX=no
16089 allow_undefined_flag_CXX=
16090 always_export_symbols_CXX=no
16091 archive_expsym_cmds_CXX=
16092 export_dynamic_flag_spec_CXX=
16093 hardcode_direct_CXX=no
16094 hardcode_libdir_flag_spec_CXX=
16095 hardcode_libdir_flag_spec_ld_CXX=
16096 hardcode_libdir_separator_CXX=
16097 hardcode_minus_L_CXX=no
16098 hardcode_automatic_CXX=no
16100 module_expsym_cmds_CXX=
16101 link_all_deplibs_CXX=unknown
16102 old_archive_cmds_CXX=$old_archive_cmds
16103 no_undefined_flag_CXX=
16104 whole_archive_flag_spec_CXX=
16105 enable_shared_with_static_runtimes_CXX=no
16107 # Dependencies to place before and after the object being linked:
16108 predep_objects_CXX=
16109 postdep_objects_CXX=
16112 compiler_lib_search_path_CXX=
16114 # Source file extension for C++ test sources.
16117 # Object file extension for compiled C++ test sources.
16121 # Code to be used in simple compile tests
16122 lt_simple_compile_test_code="int some_variable = 0;\n"
16124 # Code to be used in simple link tests
16125 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
16127 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16129 # If no C compiler was specified, use CC.
16132 # Allow CC to be a program name with arguments.
16136 # Allow CC to be a program name with arguments.
16141 lt_save_with_gnu_ld=$with_gnu_ld
16142 lt_save_path_LD=$lt_cv_path_LD
16143 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16144 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16146 unset lt_cv_prog_gnu_ld
16148 if test -n "${lt_cv_path_LDCXX+set}"; then
16149 lt_cv_path_LD=$lt_cv_path_LDCXX
16151 unset lt_cv_path_LD
16153 test -z "${LDCXX+set}" || LD=$LDCXX
16157 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16159 # We don't want -fno-exception wen compiling C++ code, so set the
16160 # no_builtin_flag separately
16161 if test "$GXX" = yes; then
16162 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16164 lt_prog_compiler_no_builtin_flag_CXX=
16167 if test "$GXX" = yes; then
16168 # Set up default GNU C++ configuration
16171 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16172 if test "${with_gnu_ld+set}" = set; then
16173 withval="$with_gnu_ld"
16174 test "$withval" = no || with_gnu_ld=yes
16179 if test "$GCC" = yes; then
16180 # Check if gcc -print-prog-name=ld gives a path.
16181 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16182 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16185 # gcc leaves a trailing carriage return which upsets mingw
16186 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16188 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16191 # Accept absolute paths.
16193 re_direlt='/[^/][^/]*/\.\./'
16194 # Canonicalize the pathname of ld
16195 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16196 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16197 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16199 test -z "$LD" && LD="$ac_prog"
16202 # If it fails, then pretend we aren't using GCC.
16206 # If it is relative, then search for the first ld in PATH.
16207 with_gnu_ld=unknown
16210 elif test "$with_gnu_ld" = yes; then
16211 echo "$as_me:$LINENO: checking for GNU ld" >&5
16212 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16214 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16215 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16217 if test "${lt_cv_path_LD+set}" = set; then
16218 echo $ECHO_N "(cached) $ECHO_C" >&6
16220 if test -z "$LD"; then
16221 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16222 for ac_dir in $PATH; do
16224 test -z "$ac_dir" && ac_dir=.
16225 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16226 lt_cv_path_LD="$ac_dir/$ac_prog"
16227 # Check to see if the program is GNU ld. I'd rather use --version,
16228 # but apparently some GNU ld's only accept -v.
16229 # Break only if it was the GNU/non-GNU ld that we prefer.
16230 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16231 *GNU* | *'with BFD'*)
16232 test "$with_gnu_ld" != no && break
16235 test "$with_gnu_ld" != yes && break
16242 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16246 LD="$lt_cv_path_LD"
16247 if test -n "$LD"; then
16248 echo "$as_me:$LINENO: result: $LD" >&5
16249 echo "${ECHO_T}$LD" >&6
16251 echo "$as_me:$LINENO: result: no" >&5
16252 echo "${ECHO_T}no" >&6
16254 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16255 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16256 { (exit 1); exit 1; }; }
16257 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16258 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16259 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16263 case `$LD -v 2>&1 </dev/null` in
16264 *GNU* | *'with BFD'*)
16265 lt_cv_prog_gnu_ld=yes
16268 lt_cv_prog_gnu_ld=no
16272 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16273 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
16274 with_gnu_ld=$lt_cv_prog_gnu_ld
16278 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16279 # archiving commands below assume that GNU ld is being used.
16280 if test "$with_gnu_ld" = yes; then
16281 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16282 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'
16284 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16285 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16287 # If archive_cmds runs LD, not CC, wlarc should be empty
16288 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16289 # investigate it a little bit more. (MM)
16292 # ancient GNU ld didn't support --whole-archive et. al.
16293 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16294 grep 'no-whole-archive' > /dev/null; then
16295 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16297 whole_archive_flag_spec_CXX=
16303 # A generic and very simple default shared library creation
16304 # command for GNU C++ for the case where it uses the native
16305 # linker, instead of GNU ld. If possible, this setting should
16306 # overridden to take advantage of the native linker features on
16307 # the platform it is being used on.
16308 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16311 # Commands to make compiler produce verbose output that lists
16312 # what "hidden" libraries, object files and flags are used when
16313 # linking a shared library.
16314 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16322 # PORTME: fill in a description of your system's C++ link characteristics
16323 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16324 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16328 # FIXME: insert proper C++ library support
16332 if test "$host_cpu" = ia64; then
16333 # On IA64, the linker does run time linking by default, so we don't
16334 # have to do anything special.
16335 aix_use_runtimelinking=no
16336 exp_sym_flag='-Bexport'
16339 aix_use_runtimelinking=no
16341 # Test if we are trying to use run time linking or normal
16342 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16343 # need to do runtime linking.
16344 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16345 for ld_flag in $LDFLAGS; do
16348 aix_use_runtimelinking=yes
16355 exp_sym_flag='-bexport'
16356 no_entry_flag='-bnoentry'
16359 # When large executables or shared objects are built, AIX ld can
16360 # have problems creating the table of contents. If linking a library
16361 # or program results in "error TOC overflow" add -mminimal-toc to
16362 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16363 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16365 archive_cmds_CXX=''
16366 hardcode_direct_CXX=yes
16367 hardcode_libdir_separator_CXX=':'
16368 link_all_deplibs_CXX=yes
16370 if test "$GXX" = yes; then
16371 case $host_os in aix4.012|aix4.012.*)
16372 # We only want to do this on AIX 4.2 and lower, the check
16373 # below for broken collect2 doesn't work under 4.3+
16374 collect2name=`${CC} -print-prog-name=collect2`
16375 if test -f "$collect2name" && \
16376 strings "$collect2name" | grep resolve_lib_name >/dev/null
16378 # We have reworked collect2
16379 hardcode_direct_CXX=yes
16381 # We have old collect2
16382 hardcode_direct_CXX=unsupported
16383 # It fails to find uninstalled libraries when the uninstalled
16384 # path is not listed in the libpath. Setting hardcode_minus_L
16385 # to unsupported forces relinking
16386 hardcode_minus_L_CXX=yes
16387 hardcode_libdir_flag_spec_CXX='-L$libdir'
16388 hardcode_libdir_separator_CXX=
16391 shared_flag='-shared'
16394 if test "$host_cpu" = ia64; then
16395 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16396 # chokes on -Wl,-G. The following line is correct:
16399 if test "$aix_use_runtimelinking" = yes; then
16400 shared_flag='${wl}-G'
16402 shared_flag='${wl}-bM:SRE'
16407 # It seems that -bexpall does not export symbols beginning with
16408 # underscore (_), so it is better to generate a list of symbols to export.
16409 always_export_symbols_CXX=yes
16410 if test "$aix_use_runtimelinking" = yes; then
16411 # Warning - without using the other runtime loading flags (-brtl),
16412 # -berok will link without error, but may produce a broken library.
16413 allow_undefined_flag_CXX='-berok'
16414 # Determine the default libpath from the value encoded in an empty executable.
16415 cat >conftest.$ac_ext <<_ACEOF
16418 cat confdefs.h >>conftest.$ac_ext
16419 cat >>conftest.$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16430 rm -f conftest.$ac_objext conftest$ac_exeext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16432 (eval $ac_link) 2>conftest.er1
16434 grep -v '^ *+' conftest.er1 >conftest.err
16436 cat conftest.err >&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } &&
16439 { ac_try='test -z "$ac_cxx_werror_flag"
16440 || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try='test -s conftest$ac_exeext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16453 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16455 # Check for a 64-bit object if we didn't find anything.
16456 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; }
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16463 rm -f conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16465 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16467 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16469 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16471 if test "$host_cpu" = ia64; then
16472 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16473 allow_undefined_flag_CXX="-z nodefs"
16474 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16476 # Determine the default libpath from the value encoded in an empty executable.
16477 cat >conftest.$ac_ext <<_ACEOF
16480 cat confdefs.h >>conftest.$ac_ext
16481 cat >>conftest.$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16492 rm -f conftest.$ac_objext conftest$ac_exeext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16494 (eval $ac_link) 2>conftest.er1
16496 grep -v '^ *+' conftest.er1 >conftest.err
16498 cat conftest.err >&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); } &&
16501 { ac_try='test -z "$ac_cxx_werror_flag"
16502 || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try='test -s conftest$ac_exeext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16515 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16517 # Check for a 64-bit object if we didn't find anything.
16518 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; }
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.$ac_ext >&5
16525 rm -f conftest.err conftest.$ac_objext \
16526 conftest$ac_exeext conftest.$ac_ext
16527 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16529 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16530 # Warning - without using the other run time loading flags,
16531 # -berok will link without error, but may produce a broken library.
16532 no_undefined_flag_CXX=' ${wl}-bernotok'
16533 allow_undefined_flag_CXX=' ${wl}-berok'
16534 # -bexpall does not export symbols beginning with underscore (_)
16535 always_export_symbols_CXX=yes
16536 # Exported symbols can be pulled into shared objects from archives
16537 whole_archive_flag_spec_CXX=' '
16538 archive_cmds_need_lc_CXX=yes
16539 # This is similar to how AIX traditionally builds it's shared libraries.
16540 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16545 case $cc_basename in
16547 # FIXME: insert proper C++ library support
16553 cygwin* | mingw* | pw32*)
16554 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16555 # as there is no search path for DLLs.
16556 hardcode_libdir_flag_spec_CXX='-L$libdir'
16557 allow_undefined_flag_CXX=unsupported
16558 always_export_symbols_CXX=no
16559 enable_shared_with_static_runtimes_CXX=yes
16561 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16562 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16563 # If the export-symbols file already is a .def file (1st line
16564 # is EXPORTS), use it as is; otherwise, prepend...
16565 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16566 cp $export_symbols $output_objdir/$soname.def;
16568 echo EXPORTS > $output_objdir/$soname.def;
16569 cat $export_symbols >> $output_objdir/$soname.def;
16571 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16577 darwin* | rhapsody*)
16578 if test "$GXX" = yes; then
16579 archive_cmds_need_lc_CXX=no
16581 rhapsody* | darwin1.[012])
16582 allow_undefined_flag_CXX='-undefined suppress'
16585 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16586 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
16588 case ${MACOSX_DEPLOYMENT_TARGET} in
16590 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
16593 allow_undefined_flag_CXX='-undefined dynamic_lookup'
16599 lt_int_apple_cc_single_mod=no
16600 output_verbose_link_cmd='echo'
16601 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16602 lt_int_apple_cc_single_mod=yes
16604 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16605 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16607 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
16609 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16611 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16612 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16613 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}'
16615 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
16617 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}'
16618 hardcode_direct_CXX=no
16619 hardcode_automatic_CXX=yes
16620 hardcode_shlibpath_var_CXX=unsupported
16621 whole_archive_flag_spec_CXX='-all_load $convenience'
16622 link_all_deplibs_CXX=yes
16629 case $cc_basename in
16631 # FIXME: insert proper C++ library support
16635 # Green Hills C++ Compiler
16636 # FIXME: insert proper C++ library support
16640 # FIXME: insert proper C++ library support
16646 # C++ shared libraries reported to be fairly broken before switch to ELF
16650 archive_cmds_need_lc_CXX=no
16652 freebsd* | kfreebsd*-gnu)
16653 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16661 hardcode_libdir_separator_CXX=:
16662 export_dynamic_flag_spec_CXX='${wl}-E'
16663 hardcode_direct_CXX=yes
16664 hardcode_minus_L_CXX=yes # Not in the search PATH,
16665 # but as the default
16666 # location of the library.
16668 case $cc_basename in
16670 # FIXME: insert proper C++ library support
16674 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'
16675 # Commands to make compiler produce verbose output that lists
16676 # what "hidden" libraries, object files and flags are used when
16677 # linking a shared library.
16679 # There doesn't appear to be a way to prevent this compiler from
16680 # explicitly linking system object files so we need to strip them
16681 # from the output so that they don't get included in the library
16683 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'
16686 if test "$GXX" = yes; then
16687 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'
16689 # FIXME: insert proper C++ library support
16696 if test $with_gnu_ld = no; then
16697 case "$host_cpu" in
16699 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16700 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
16701 hardcode_libdir_separator_CXX=:
16704 hardcode_libdir_flag_spec_CXX='-L$libdir'
16707 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16708 hardcode_libdir_separator_CXX=:
16709 export_dynamic_flag_spec_CXX='${wl}-E'
16713 case "$host_cpu" in
16715 hardcode_direct_CXX=no
16716 hardcode_shlibpath_var_CXX=no
16719 hardcode_direct_CXX=no
16720 hardcode_shlibpath_var_CXX=no
16721 hardcode_minus_L_CXX=yes # Not in the search PATH,
16722 # but as the default
16723 # location of the library.
16726 hardcode_direct_CXX=yes
16727 hardcode_minus_L_CXX=yes # Not in the search PATH,
16728 # but as the default
16729 # location of the library.
16733 case $cc_basename in
16735 # FIXME: insert proper C++ library support
16739 case "$host_cpu" in
16741 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16747 # Commands to make compiler produce verbose output that lists
16748 # what "hidden" libraries, object files and flags are used when
16749 # linking a shared library.
16751 # There doesn't appear to be a way to prevent this compiler from
16752 # explicitly linking system object files so we need to strip them
16753 # from the output so that they don't get included in the library
16755 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'
16758 if test "$GXX" = yes; then
16759 if test $with_gnu_ld = no; then
16760 case "$host_cpu" in
16762 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16765 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'
16770 # FIXME: insert proper C++ library support
16777 case $cc_basename in
16780 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 ${objdir}/so_locations -o $lib'
16782 # Archives containing C++ object files must be created using
16783 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16784 # necessary to make sure instantiated templates are included
16786 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16789 if test "$GXX" = yes; then
16790 if test "$with_gnu_ld" = no; then
16791 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}${objdir}/so_locations -o $lib'
16793 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'
16796 link_all_deplibs_CXX=yes
16799 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16800 hardcode_libdir_separator_CXX=:
16803 case $cc_basename in
16805 # Kuck and Associates, Inc. (KAI) C++ Compiler
16807 # KCC will only create a shared library if the output file
16808 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16809 # to its proper name (with version) after linking.
16810 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'
16811 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'
16812 # Commands to make compiler produce verbose output that lists
16813 # what "hidden" libraries, object files and flags are used when
16814 # linking a shared library.
16816 # There doesn't appear to be a way to prevent this compiler from
16817 # explicitly linking system object files so we need to strip them
16818 # from the output so that they don't get included in the library
16820 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'
16822 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
16823 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16825 # Archives containing C++ object files must be created using
16826 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16827 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16832 archive_cmds_need_lc_CXX=no
16833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16834 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'
16835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16837 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16841 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16842 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'
16844 runpath_var=LD_RUN_PATH
16845 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16846 hardcode_libdir_separator_CXX=:
16848 # Commands to make compiler produce verbose output that lists
16849 # what "hidden" libraries, object files and flags are used when
16850 # linking a shared library.
16852 # There doesn't appear to be a way to prevent this compiler from
16853 # explicitly linking system object files so we need to strip them
16854 # from the output so that they don't get included in the library
16856 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'
16861 # FIXME: insert proper C++ library support
16865 # FIXME: insert proper C++ library support
16869 case $cc_basename in
16871 # FIXME: insert proper C++ library support
16875 # FIXME: insert proper C++ library support
16881 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16882 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16884 hardcode_libdir_flag_spec_CXX='-R$libdir'
16885 hardcode_direct_CXX=yes
16886 hardcode_shlibpath_var_CXX=no
16888 # Workaround some broken pre-1.5 toolchains
16889 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16892 case $cc_basename in
16894 # Kuck and Associates, Inc. (KAI) C++ Compiler
16896 # KCC will only create a shared library if the output file
16897 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16898 # to its proper name (with version) after linking.
16899 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'
16901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16902 hardcode_libdir_separator_CXX=:
16904 # Archives containing C++ object files must be created using
16905 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16906 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16910 # Rational C++ 2.4.1
16911 # FIXME: insert proper C++ library support
16915 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16916 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 ${objdir}/so_locations -o $lib'
16918 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16919 hardcode_libdir_separator_CXX=:
16921 # Commands to make compiler produce verbose output that lists
16922 # what "hidden" libraries, object files and flags are used when
16923 # linking a shared library.
16925 # There doesn't appear to be a way to prevent this compiler from
16926 # explicitly linking system object files so we need to strip them
16927 # from the output so that they don't get included in the library
16929 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'
16932 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16933 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16934 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}${objdir}/so_locations -o $lib'
16936 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16937 hardcode_libdir_separator_CXX=:
16939 # Commands to make compiler produce verbose output that lists
16940 # what "hidden" libraries, object files and flags are used when
16941 # linking a shared library.
16942 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16945 # FIXME: insert proper C++ library support
16952 case $cc_basename in
16954 # Kuck and Associates, Inc. (KAI) C++ Compiler
16956 # KCC will only create a shared library if the output file
16957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16958 # to its proper name (with version) after linking.
16959 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'
16961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16962 hardcode_libdir_separator_CXX=:
16964 # Archives containing C++ object files must be created using
16965 # the KAI C++ compiler.
16966 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
16969 # Rational C++ 2.4.1
16970 # FIXME: insert proper C++ library support
16974 allow_undefined_flag_CXX=' -expect_unresolved \*'
16975 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 ${objdir}/so_locations -o $lib'
16976 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16977 echo "-hidden">> $lib.exp~
16978 $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 $objdir/so_locations -o $lib~
16981 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16982 hardcode_libdir_separator_CXX=:
16984 # Commands to make compiler produce verbose output that lists
16985 # what "hidden" libraries, object files and flags are used when
16986 # linking a shared library.
16988 # There doesn't appear to be a way to prevent this compiler from
16989 # explicitly linking system object files so we need to strip them
16990 # from the output so that they don't get included in the library
16992 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'
16995 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16996 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16997 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}${objdir}/so_locations -o $lib'
16999 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17000 hardcode_libdir_separator_CXX=:
17002 # Commands to make compiler produce verbose output that lists
17003 # what "hidden" libraries, object files and flags are used when
17004 # linking a shared library.
17005 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17008 # FIXME: insert proper C++ library support
17015 # FIXME: insert proper C++ library support
17019 archive_cmds_need_lc_CXX=no
17020 case $cc_basename in
17022 # FIXME: insert proper C++ library support
17026 # FIXME: insert proper C++ library support
17032 case $cc_basename in
17035 # FIXME: insert proper C++ library support
17040 # FIXME: insert proper C++ library support
17044 # FIXME: insert proper C++ library support
17050 case $cc_basename in
17052 # Sun C++ 4.2, 5.x and Centerline C++
17053 no_undefined_flag_CXX=' -zdefs'
17054 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17055 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17056 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17058 hardcode_libdir_flag_spec_CXX='-R$libdir'
17059 hardcode_shlibpath_var_CXX=no
17061 solaris2.0-5 | solaris2.0-5.*) ;;
17063 # The C++ compiler is used as linker so we must use $wl
17064 # flag to pass the commands to the underlying system
17066 # Supported since Solaris 2.6 (maybe 2.5.1?)
17067 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17070 link_all_deplibs_CXX=yes
17072 # Commands to make compiler produce verbose output that lists
17073 # what "hidden" libraries, object files and flags are used when
17074 # linking a shared library.
17076 # There doesn't appear to be a way to prevent this compiler from
17077 # explicitly linking system object files so we need to strip them
17078 # from the output so that they don't get included in the library
17080 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
17082 # Archives containing C++ object files must be created using
17083 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17084 # necessary to make sure instantiated templates are included
17086 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17089 # Green Hills C++ Compiler
17090 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17092 # The C++ compiler must be used to create the archive.
17093 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17096 # GNU C++ compiler with Solaris linker
17097 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17098 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17099 if $CC --version | grep -v '^2\.7' > /dev/null; then
17100 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17101 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17102 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17104 # Commands to make compiler produce verbose output that lists
17105 # what "hidden" libraries, object files and flags are used when
17106 # linking a shared library.
17107 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17109 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17111 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17112 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17113 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17115 # Commands to make compiler produce verbose output that lists
17116 # what "hidden" libraries, object files and flags are used when
17117 # linking a shared library.
17118 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17121 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17126 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17127 archive_cmds_need_lc_CXX=no
17130 case $cc_basename in
17132 # NonStop-UX NCC 3.20
17133 # FIXME: insert proper C++ library support
17137 # FIXME: insert proper C++ library support
17143 # FIXME: insert proper C++ library support
17147 # FIXME: insert proper C++ library support
17151 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17152 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17153 test "$ld_shlibs_CXX" = no && can_build_shared=no
17159 cat > conftest.$ac_ext <<EOF
17163 Foo (void) { a = 0; }
17169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17170 (eval $ac_compile) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; then
17174 # Parse the compiler output and extract the necessary
17175 # objects, libraries and library flags.
17177 # Sentinel used to keep track of whether or not we are before
17178 # the conftest object file.
17179 pre_test_object_deps_done=no
17181 # The `*' in the case matches for architectures that use `case' in
17182 # $output_verbose_cmd can trigger glob expansion during the loop
17183 # eval without this substitution.
17184 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
17186 for p in `eval $output_verbose_link_cmd`; do
17190 # Some compilers place space between "-{L,R}" and the path.
17191 # Remove the space.
17192 if test $p = "-L" \
17193 || test $p = "-R"; then
17200 if test "$pre_test_object_deps_done" = no; then
17203 # Internal compiler library paths should come after those
17204 # provided the user. The postdeps already come after the
17205 # user supplied libs so there is no need to process them.
17206 if test -z "$compiler_lib_search_path_CXX"; then
17207 compiler_lib_search_path_CXX="${prev}${p}"
17209 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17212 # The "-l" case would never come before the object being
17213 # linked, so don't bother handling this case.
17216 if test -z "$postdeps_CXX"; then
17217 postdeps_CXX="${prev}${p}"
17219 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17225 # This assumes that the test object file only shows up
17226 # once in the compiler output.
17227 if test "$p" = "conftest.$objext"; then
17228 pre_test_object_deps_done=yes
17232 if test "$pre_test_object_deps_done" = no; then
17233 if test -z "$predep_objects_CXX"; then
17234 predep_objects_CXX="$p"
17236 predep_objects_CXX="$predep_objects_CXX $p"
17239 if test -z "$postdep_objects_CXX"; then
17240 postdep_objects_CXX="$p"
17242 postdep_objects_CXX="$postdep_objects_CXX $p"
17247 *) ;; # Ignore the rest.
17255 echo "libtool.m4: error: problem compiling CXX test program"
17258 $rm -f confest.$objext
17260 case " $postdeps_CXX " in
17261 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17264 lt_prog_compiler_wl_CXX=
17265 lt_prog_compiler_pic_CXX=
17266 lt_prog_compiler_static_CXX=
17268 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17269 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17271 # C++ specific cases for pic, static, wl, etc.
17272 if test "$GXX" = yes; then
17273 lt_prog_compiler_wl_CXX='-Wl,'
17274 lt_prog_compiler_static_CXX='-static'
17278 # All AIX code is PIC.
17279 if test "$host_cpu" = ia64; then
17280 # AIX 5 now supports IA64 processor
17281 lt_prog_compiler_static_CXX='-Bstatic'
17285 # FIXME: we need at least 68020 code to build shared libraries, but
17286 # adding the `-m68020' flag to GCC prevents building anything better,
17288 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17290 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17291 # PIC is the default for these OSes.
17293 mingw* | os2* | pw32*)
17294 # This hack is so that the source file can tell whether it is being
17295 # built for inclusion in a dll (and should export symbols for example).
17296 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17298 darwin* | rhapsody*)
17299 # PIC is the default on this platform
17300 # Common symbols not allowed in MH_DYLIB files
17301 lt_prog_compiler_pic_CXX='-fno-common'
17304 # DJGPP does not support shared libraries at all
17305 lt_prog_compiler_pic_CXX=
17308 if test -d /usr/nec; then
17309 lt_prog_compiler_pic_CXX=-Kconform_pic
17313 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17314 # not for PA HP-UX.
17315 case "$host_cpu" in
17319 lt_prog_compiler_pic_CXX='-fPIC'
17324 lt_prog_compiler_pic_CXX='-fPIC'
17330 # All AIX code is PIC.
17331 if test "$host_cpu" = ia64; then
17332 # AIX 5 now supports IA64 processor
17333 lt_prog_compiler_static_CXX='-Bstatic'
17335 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17339 case $cc_basename in
17341 # Green Hills C++ Compiler
17342 # _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"
17347 case $cc_basename in
17349 lt_prog_compiler_pic_CXX='-KPIC'
17352 # Green Hills C++ Compiler
17353 lt_prog_compiler_pic_CXX='-pic'
17359 freebsd* | kfreebsd*-gnu)
17360 # FreeBSD uses GNU C++
17362 hpux9* | hpux10* | hpux11*)
17363 case $cc_basename in
17365 lt_prog_compiler_wl_CXX='-Wl,'
17366 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17367 if test "$host_cpu" != ia64; then
17368 lt_prog_compiler_pic_CXX='+Z'
17372 lt_prog_compiler_wl_CXX='-Wl,'
17373 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17374 case "$host_cpu" in
17379 lt_prog_compiler_pic_CXX='+Z'
17387 irix5* | irix6* | nonstopux*)
17388 case $cc_basename in
17390 lt_prog_compiler_wl_CXX='-Wl,'
17391 lt_prog_compiler_static_CXX='-non_shared'
17392 # CC pic flag -KPIC is the default.
17399 case $cc_basename in
17402 lt_prog_compiler_wl_CXX='--backend -Wl,'
17403 lt_prog_compiler_pic_CXX='-fPIC'
17407 lt_prog_compiler_wl_CXX='-Wl,'
17408 lt_prog_compiler_pic_CXX='-KPIC'
17409 lt_prog_compiler_static_CXX='-static'
17413 # Make sure the PIC flag is empty. It appears that all Alpha
17414 # Linux and Compaq Tru64 Unix objects are PIC.
17415 lt_prog_compiler_pic_CXX=
17416 lt_prog_compiler_static_CXX='-non_shared'
17427 case $cc_basename in
17429 lt_prog_compiler_pic_CXX='-W c,exportall'
17437 osf3* | osf4* | osf5*)
17438 case $cc_basename in
17440 lt_prog_compiler_wl_CXX='--backend -Wl,'
17443 # Rational C++ 2.4.1
17444 lt_prog_compiler_pic_CXX='-pic'
17447 # Digital/Compaq C++
17448 lt_prog_compiler_wl_CXX='-Wl,'
17449 # Make sure the PIC flag is empty. It appears that all Alpha
17450 # Linux and Compaq Tru64 Unix objects are PIC.
17451 lt_prog_compiler_pic_CXX=
17452 lt_prog_compiler_static_CXX='-non_shared'
17461 case $cc_basename in
17463 lt_prog_compiler_pic_CXX='-fPIC'
17470 case $cc_basename in
17472 # Sun C++ 4.2, 5.x and Centerline C++
17473 lt_prog_compiler_pic_CXX='-KPIC'
17474 lt_prog_compiler_static_CXX='-Bstatic'
17475 lt_prog_compiler_wl_CXX='-Qoption ld '
17478 # Green Hills C++ Compiler
17479 lt_prog_compiler_pic_CXX='-PIC'
17486 case $cc_basename in
17489 lt_prog_compiler_pic_CXX='-pic'
17490 lt_prog_compiler_static_CXX='-Bstatic'
17494 lt_prog_compiler_pic_CXX='-pic'
17501 case $cc_basename in
17503 # NonStop-UX NCC 3.20
17504 lt_prog_compiler_pic_CXX='-KPIC'
17515 lt_prog_compiler_can_build_shared_CXX=no
17520 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
17521 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
17524 # Check to make sure the PIC flag actually works.
17526 if test -n "$lt_prog_compiler_pic_CXX"; then
17528 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17529 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
17530 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 lt_prog_compiler_pic_works_CXX=no
17534 ac_outfile=conftest.$ac_objext
17535 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17536 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17537 # Insert the option either (1) after the last *FLAGS variable, or
17538 # (2) before a word containing "conftest.", or (3) at the end.
17539 # Note that $ac_compile itself does not contain backslashes and begins
17540 # with a dollar sign (not a hyphen), so the echo should work correctly.
17541 # The option is referenced via a variable to avoid confusing sed.
17542 lt_compile=`echo "$ac_compile" | $SED \
17543 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17545 -e 's:$: $lt_compiler_flag:'`
17546 (eval echo "\"\$as_me:17546: $lt_compile\"" >&5)
17547 (eval "$lt_compile" 2>conftest.err)
17549 cat conftest.err >&5
17550 echo "$as_me:17550: \$? = $ac_status" >&5
17551 if (exit $ac_status) && test -s "$ac_outfile"; then
17552 # The compiler can only warn and ignore the option if not recognized
17553 # So say no if there are warnings
17554 if test ! -s conftest.err; then
17555 lt_prog_compiler_pic_works_CXX=yes
17561 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
17562 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
17564 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
17565 case $lt_prog_compiler_pic_CXX in
17567 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17570 lt_prog_compiler_pic_CXX=
17571 lt_prog_compiler_can_build_shared_CXX=no
17576 # For platforms which do not support PIC, -DPIC is meaningless:
17578 lt_prog_compiler_pic_CXX=
17581 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17585 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17586 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17587 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 lt_cv_prog_compiler_c_o_CXX=no
17591 $rm -r conftest 2>/dev/null
17595 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17597 lt_compiler_flag="-o out/conftest2.$ac_objext"
17598 # Insert the option either (1) after the last *FLAGS variable, or
17599 # (2) before a word containing "conftest.", or (3) at the end.
17600 # Note that $ac_compile itself does not contain backslashes and begins
17601 # with a dollar sign (not a hyphen), so the echo should work correctly.
17602 lt_compile=`echo "$ac_compile" | $SED \
17603 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17604 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17605 -e 's:$: $lt_compiler_flag:'`
17606 (eval echo "\"\$as_me:17606: $lt_compile\"" >&5)
17607 (eval "$lt_compile" 2>out/conftest.err)
17609 cat out/conftest.err >&5
17610 echo "$as_me:17610: \$? = $ac_status" >&5
17611 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17613 # The compiler can only warn and ignore the option if not recognized
17614 # So say no if there are warnings
17615 if test ! -s out/conftest.err; then
17616 lt_cv_prog_compiler_c_o_CXX=yes
17621 # SGI C++ compiler will create directory out/ii_files/ for
17622 # template instantiation
17623 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17624 $rm out/* && rmdir out
17630 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17631 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
17634 hard_links="nottested"
17635 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17636 # do not overwrite the value of need_locks provided by the user
17637 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17638 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17641 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17643 ln conftest.a conftest.b 2>&5 || hard_links=no
17644 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17645 echo "$as_me:$LINENO: result: $hard_links" >&5
17646 echo "${ECHO_T}$hard_links" >&6
17647 if test "$hard_links" = no; then
17648 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17649 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17656 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17657 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17659 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17662 # If we're using GNU nm, then we don't want the "-C" option.
17663 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17664 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17665 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'
17667 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'
17671 export_symbols_cmds_CXX="$ltdll_cmds"
17674 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17677 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17681 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17682 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17683 test "$ld_shlibs_CXX" = no && can_build_shared=no
17685 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17686 if test "$GCC" = yes; then
17687 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17691 # Do we need to explicitly link libc?
17693 case "x$archive_cmds_need_lc_CXX" in
17695 # Assume -lc should be added
17696 archive_cmds_need_lc_CXX=yes
17698 if test "$enable_shared" = yes && test "$GCC" = yes; then
17699 case $archive_cmds_CXX in
17701 # FIXME: we may have to deal with multi-command sequences.
17704 # Test whether the compiler implicitly links with -lc since on some
17705 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17706 # to ld, don't add -lc before -lgcc.
17707 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17708 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17710 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17713 (eval $ac_compile) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } 2>conftest.err; then
17719 libobjs=conftest.$ac_objext
17721 wl=$lt_prog_compiler_wl_CXX
17727 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17728 allow_undefined_flag_CXX=
17729 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17730 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }
17735 archive_cmds_need_lc_CXX=no
17737 archive_cmds_need_lc_CXX=yes
17739 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17741 cat conftest.err 1>&5
17744 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17745 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
17752 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17753 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17754 library_names_spec=
17755 libname_spec='lib$name'
17759 postuninstall_cmds=
17763 shlibpath_overrides_runpath=unknown
17765 dynamic_linker="$host_os ld.so"
17766 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17767 if test "$GCC" = yes; then
17768 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17769 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17770 # if the path contains ";" then we assume it to be the separator
17771 # otherwise default to the standard path separator (i.e. ":") - it is
17772 # assumed that no part of a normal pathname contains ";" but that should
17773 # okay in the real world where ";" in dirpaths is itself problematic.
17774 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17776 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17779 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17781 need_lib_prefix=unknown
17782 hardcode_into_libs=no
17784 # when you set need_version to no, make sure it does not cause -set_version
17785 # flags to be left without arguments
17786 need_version=unknown
17791 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17792 shlibpath_var=LIBPATH
17794 # AIX 3 has no versioning support, so we append a major version to the name.
17795 soname_spec='${libname}${release}${shared_ext}$major'
17802 hardcode_into_libs=yes
17803 if test "$host_cpu" = ia64; then
17804 # AIX 5 supports IA64
17805 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17806 shlibpath_var=LD_LIBRARY_PATH
17808 # With GCC up to 2.95.x, collect2 would create an import file
17809 # for dependence libraries. The import file would start with
17810 # the line `#! .'. This would cause the generated library to
17811 # depend on `.', always an invalid library. This was fixed in
17812 # development snapshots of GCC prior to 3.0.
17814 aix4 | aix4.[01] | aix4.[01].*)
17815 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17817 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17820 can_build_shared=no
17824 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17825 # soname into executable. Probably we can add versioning support to
17826 # collect2, so additional links can be useful in future.
17827 if test "$aix_use_runtimelinking" = yes; then
17828 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17829 # instead of lib<name>.a to let people know that these are not
17830 # typical AIX shared libraries.
17831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17833 # We preserve .a as extension for shared libraries through AIX4.2
17834 # and later when we are not doing run time linking.
17835 library_names_spec='${libname}${release}.a $libname.a'
17836 soname_spec='${libname}${release}${shared_ext}$major'
17838 shlibpath_var=LIBPATH
17843 library_names_spec='$libname.ixlibrary $libname.a'
17844 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17845 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'
17849 library_names_spec='${libname}${shared_ext}'
17850 dynamic_linker="$host_os ld.so"
17851 shlibpath_var=LIBRARY_PATH
17857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17858 soname_spec='${libname}${release}${shared_ext}$major'
17859 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17860 shlibpath_var=LD_LIBRARY_PATH
17861 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17862 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17863 # the default ld.so.conf also contains /usr/contrib/lib and
17864 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17865 # libtool to hard-code these into programs
17868 cygwin* | mingw* | pw32*)
17869 version_type=windows
17874 case $GCC,$host_os in
17875 yes,cygwin* | yes,mingw* | yes,pw32*)
17876 library_names_spec='$libname.dll.a'
17877 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17878 postinstall_cmds='base_file=`basename \${file}`~
17879 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17880 dldir=$destdir/`dirname \$dlpath`~
17881 test -d \$dldir || mkdir -p \$dldir~
17882 $install_prog $dir/$dlname \$dldir/$dlname'
17883 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17884 dlpath=$dir/\$dldll~
17886 shlibpath_overrides_runpath=yes
17890 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17891 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17892 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17895 # MinGW DLLs use traditional 'lib' prefix
17896 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17897 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17898 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17899 # It is most probably a Windows format PATH printed by
17900 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17901 # path with ; separators, and with drive letters. We can handle the
17902 # drive letters (cygwin fileutils understands them), so leave them,
17903 # especially as we might pass files found there to a mingw objdump,
17904 # which wouldn't understand a cygwinified path. Ahh.
17905 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17907 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17911 # pw32 DLLs use 'pw' prefix rather than 'lib'
17912 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17918 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17921 dynamic_linker='Win32 ld.exe'
17922 # FIXME: first we should search . and the directory the executable is in
17926 darwin* | rhapsody*)
17927 dynamic_linker="$host_os dyld"
17928 version_type=darwin
17931 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17932 soname_spec='${libname}${release}${major}$shared_ext'
17933 shlibpath_overrides_runpath=yes
17934 shlibpath_var=DYLD_LIBRARY_PATH
17935 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17936 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17937 if test "$GCC" = yes; then
17938 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"`
17940 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17942 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17950 soname_spec='${libname}${release}${shared_ext}$major'
17951 shlibpath_var=LD_LIBRARY_PATH
17962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17963 soname_spec='${libname}${release}${shared_ext}$major'
17964 shlibpath_var=LD_LIBRARY_PATH
17965 shlibpath_overrides_runpath=no
17966 hardcode_into_libs=yes
17967 dynamic_linker='GNU ld.so'
17971 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17972 version_type=freebsd-$objformat
17973 case $version_type in
17975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17980 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17984 shlibpath_var=LD_LIBRARY_PATH
17987 shlibpath_overrides_runpath=yes
17989 freebsd3.01* | freebsdelf3.01*)
17990 shlibpath_overrides_runpath=yes
17991 hardcode_into_libs=yes
17994 shlibpath_overrides_runpath=no
17995 hardcode_into_libs=yes
18004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18005 soname_spec='${libname}${release}${shared_ext}$major'
18006 shlibpath_var=LD_LIBRARY_PATH
18007 hardcode_into_libs=yes
18010 hpux9* | hpux10* | hpux11*)
18011 # Give a soname corresponding to the major version so that dld.sl refuses to
18012 # link against other versions.
18016 case "$host_cpu" in
18019 hardcode_into_libs=yes
18020 dynamic_linker="$host_os dld.so"
18021 shlibpath_var=LD_LIBRARY_PATH
18022 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18024 soname_spec='${libname}${release}${shared_ext}$major'
18025 if test "X$HPUX_IA64_MODE" = X32; then
18026 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18028 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18030 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18034 hardcode_into_libs=yes
18035 dynamic_linker="$host_os dld.sl"
18036 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18037 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18039 soname_spec='${libname}${release}${shared_ext}$major'
18040 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18041 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18045 dynamic_linker="$host_os dld.sl"
18046 shlibpath_var=SHLIB_PATH
18047 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18049 soname_spec='${libname}${release}${shared_ext}$major'
18052 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18053 postinstall_cmds='chmod 555 $lib'
18056 irix5* | irix6* | nonstopux*)
18058 nonstopux*) version_type=nonstopux ;;
18060 if test "$lt_cv_prog_gnu_ld" = yes; then
18068 soname_spec='${libname}${release}${shared_ext}$major'
18069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18071 irix5* | nonstopux*)
18072 libsuff= shlibsuff=
18075 case $LD in # libtool.m4 will add one of these switches to LD
18076 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18077 libsuff= shlibsuff= libmagic=32-bit;;
18078 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18079 libsuff=32 shlibsuff=N32 libmagic=N32;;
18080 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18081 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18082 *) libsuff= shlibsuff= libmagic=never-match;;
18086 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18087 shlibpath_overrides_runpath=no
18088 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18089 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18090 hardcode_into_libs=yes
18093 # No shared lib support for Linux oldld, aout, or coff.
18094 linux*oldld* | linux*aout* | linux*coff*)
18098 # This must be Linux ELF.
18103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18104 soname_spec='${libname}${release}${shared_ext}$major'
18105 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18106 shlibpath_var=LD_LIBRARY_PATH
18107 shlibpath_overrides_runpath=no
18108 # This implies no fast_install, which is unacceptable.
18109 # Some rework will be needed to allow for fast_install
18110 # before this can be enabled.
18111 hardcode_into_libs=yes
18113 # find out which ABI we are using
18115 case "$host_cpu" in
18116 x86_64*|s390x*|powerpc64*)
18117 echo '#line 18117 "configure"' > conftest.$ac_ext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; then
18123 case `/usr/bin/file conftest.$ac_objext` in
18126 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18134 # Append ld.so.conf contents to the search path
18135 if test -f /etc/ld.so.conf; then
18136 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18137 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18140 # We used to test for /lib/ld.so.1 and disable shared libraries on
18141 # powerpc, because MkLinux only supported shared libraries with the
18142 # GNU dynamic linker. Since this was broken with cross compilers,
18143 # most powerpc-linux boxes support dynamic linking these days and
18144 # people can always --disable-shared, the test was removed, and we
18145 # assume the GNU/Linux dynamic linker is in use.
18146 dynamic_linker='GNU/Linux ld.so'
18153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18154 soname_spec='${libname}${release}${shared_ext}$major'
18155 shlibpath_var=LD_LIBRARY_PATH
18156 shlibpath_overrides_runpath=no
18157 hardcode_into_libs=yes
18158 dynamic_linker='GNU ld.so'
18165 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18167 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18168 dynamic_linker='NetBSD (a.out) ld.so'
18170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18171 soname_spec='${libname}${release}${shared_ext}$major'
18172 dynamic_linker='NetBSD ld.elf_so'
18174 shlibpath_var=LD_LIBRARY_PATH
18175 shlibpath_overrides_runpath=yes
18176 hardcode_into_libs=yes
18181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18182 shlibpath_var=LD_LIBRARY_PATH
18183 shlibpath_overrides_runpath=yes
18190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18191 soname_spec='${libname}${release}${shared_ext}$major'
18192 shlibpath_var=LD_LIBRARY_PATH
18193 shlibpath_overrides_runpath=yes
18200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18201 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18202 shlibpath_var=LD_LIBRARY_PATH
18203 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18205 openbsd2.[89] | openbsd2.[89].*)
18206 shlibpath_overrides_runpath=no
18209 shlibpath_overrides_runpath=yes
18213 shlibpath_overrides_runpath=yes
18218 libname_spec='$name'
18221 library_names_spec='$libname${shared_ext} $libname.a'
18222 dynamic_linker='OS/2 ld.exe'
18223 shlibpath_var=LIBPATH
18226 osf3* | osf4* | osf5*)
18230 soname_spec='${libname}${release}${shared_ext}$major'
18231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18232 shlibpath_var=LD_LIBRARY_PATH
18233 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18234 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18239 soname_spec='${libname}${release}${shared_ext}$major'
18240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18241 shlibpath_var=LD_LIBRARY_PATH
18248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18249 soname_spec='${libname}${release}${shared_ext}$major'
18250 shlibpath_var=LD_LIBRARY_PATH
18251 shlibpath_overrides_runpath=yes
18252 hardcode_into_libs=yes
18253 # ldd complains unless libraries are executable
18254 postinstall_cmds='chmod +x $lib'
18259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18260 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18261 shlibpath_var=LD_LIBRARY_PATH
18262 shlibpath_overrides_runpath=yes
18263 if test "$with_gnu_ld" = yes; then
18269 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18272 soname_spec='${libname}${release}${shared_ext}$major'
18273 shlibpath_var=LD_LIBRARY_PATH
18274 case $host_vendor in
18276 shlibpath_overrides_runpath=no
18278 export_dynamic_flag_spec='${wl}-Blargedynsym'
18279 runpath_var=LD_RUN_PATH
18287 shlibpath_overrides_runpath=no
18288 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18294 if test -d /usr/nec ;then
18296 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18297 soname_spec='$libname${shared_ext}.$major'
18298 shlibpath_var=LD_LIBRARY_PATH
18304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18305 soname_spec='${libname}${release}${shared_ext}$major'
18306 shlibpath_var=LD_LIBRARY_PATH
18313 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18314 echo "${ECHO_T}$dynamic_linker" >&6
18315 test "$dynamic_linker" = no && can_build_shared=no
18317 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18318 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18319 hardcode_action_CXX=
18320 if test -n "$hardcode_libdir_flag_spec_CXX" || \
18321 test -n "$runpath_var CXX" || \
18322 test "X$hardcode_automatic_CXX"="Xyes" ; then
18324 # We can hardcode non-existant directories.
18325 if test "$hardcode_direct_CXX" != no &&
18326 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18327 # have to relink, otherwise we might link with an installed library
18328 # when we should be linking with a yet-to-be-installed one
18329 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18330 test "$hardcode_minus_L_CXX" != no; then
18331 # Linking always hardcodes the temporary library directory.
18332 hardcode_action_CXX=relink
18334 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18335 hardcode_action_CXX=immediate
18338 # We cannot hardcode anything, or else we can only hardcode existing
18340 hardcode_action_CXX=unsupported
18342 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
18343 echo "${ECHO_T}$hardcode_action_CXX" >&6
18345 if test "$hardcode_action_CXX" = relink; then
18346 # Fast installation is not supported
18347 enable_fast_install=no
18348 elif test "$shlibpath_overrides_runpath" = yes ||
18349 test "$enable_shared" = no; then
18350 # Fast installation is not necessary
18351 enable_fast_install=needless
18356 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18357 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18358 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18359 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18360 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18361 echo "$as_me:$LINENO: result: yes" >&5
18362 echo "${ECHO_T}yes" >&6
18364 # FIXME - insert some real tests, host_os isn't really good enough
18367 if test -n "$STRIP" ; then
18368 striplib="$STRIP -x"
18369 echo "$as_me:$LINENO: result: yes" >&5
18370 echo "${ECHO_T}yes" >&6
18372 echo "$as_me:$LINENO: result: no" >&5
18373 echo "${ECHO_T}no" >&6
18377 echo "$as_me:$LINENO: result: no" >&5
18378 echo "${ECHO_T}no" >&6
18383 if test "x$enable_dlopen" != xyes; then
18384 enable_dlopen=unknown
18385 enable_dlopen_self=unknown
18386 enable_dlopen_self_static=unknown
18393 lt_cv_dlopen="load_add_on"
18395 lt_cv_dlopen_self=yes
18399 lt_cv_dlopen="LoadLibrary"
18404 lt_cv_dlopen="dlopen"
18409 # if libdl is installed we need to link against it
18410 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18411 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18412 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18413 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 ac_check_lib_save_LIBS=$LIBS
18417 cat >conftest.$ac_ext <<_ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18424 /* Override any gcc2 internal prototype to avoid an error. */
18428 /* We use char because int might match the return type of a gcc2
18429 builtin and then its argument prototype would still apply. */
18439 rm -f conftest.$ac_objext conftest$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441 (eval $ac_link) 2>conftest.er1
18443 grep -v '^ *+' conftest.er1 >conftest.err
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } &&
18448 { ac_try='test -z "$ac_cxx_werror_flag"
18449 || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest$ac_exeext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 ac_cv_lib_dl_dlopen=yes
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 ac_cv_lib_dl_dlopen=no
18468 rm -f conftest.err conftest.$ac_objext \
18469 conftest$ac_exeext conftest.$ac_ext
18470 LIBS=$ac_check_lib_save_LIBS
18472 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18473 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18474 if test $ac_cv_lib_dl_dlopen = yes; then
18475 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18478 lt_cv_dlopen="dyld"
18480 lt_cv_dlopen_self=yes
18487 echo "$as_me:$LINENO: checking for shl_load" >&5
18488 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18489 if test "${ac_cv_func_shl_load+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 cat >conftest.$ac_ext <<_ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18500 #define shl_load innocuous_shl_load
18502 /* System header to define __stub macros and hopefully few prototypes,
18503 which can conflict with char shl_load (); below.
18504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18505 <limits.h> exists even on freestanding compilers. */
18508 # include <limits.h>
18510 # include <assert.h>
18515 /* Override any gcc2 internal prototype to avoid an error. */
18520 /* We use char because int might match the return type of a gcc2
18521 builtin and then its argument prototype would still apply. */
18523 /* The GNU C library defines this for functions which it implements
18524 to always fail with ENOSYS. Some functions are actually named
18525 something starting with __ and the normal name is an alias. */
18526 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18529 char (*f) () = shl_load;
18538 return f != shl_load;
18543 rm -f conftest.$ac_objext conftest$ac_exeext
18544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18545 (eval $ac_link) 2>conftest.er1
18547 grep -v '^ *+' conftest.er1 >conftest.err
18549 cat conftest.err >&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } &&
18552 { ac_try='test -z "$ac_cxx_werror_flag"
18553 || test ! -s conftest.err'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; } &&
18559 { ac_try='test -s conftest$ac_exeext'
18560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561 (eval $ac_try) 2>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); }; }; then
18565 ac_cv_func_shl_load=yes
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 ac_cv_func_shl_load=no
18572 rm -f conftest.err conftest.$ac_objext \
18573 conftest$ac_exeext conftest.$ac_ext
18575 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18576 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18577 if test $ac_cv_func_shl_load = yes; then
18578 lt_cv_dlopen="shl_load"
18580 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18581 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18582 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 ac_check_lib_save_LIBS=$LIBS
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18594 /* Override any gcc2 internal prototype to avoid an error. */
18598 /* We use char because int might match the return type of a gcc2
18599 builtin and then its argument prototype would still apply. */
18609 rm -f conftest.$ac_objext conftest$ac_exeext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18611 (eval $ac_link) 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try='test -z "$ac_cxx_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest$ac_exeext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_cv_lib_dld_shl_load=yes
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_cv_lib_dld_shl_load=no
18638 rm -f conftest.err conftest.$ac_objext \
18639 conftest$ac_exeext conftest.$ac_ext
18640 LIBS=$ac_check_lib_save_LIBS
18642 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18643 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18644 if test $ac_cv_lib_dld_shl_load = yes; then
18645 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18647 echo "$as_me:$LINENO: checking for dlopen" >&5
18648 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18649 if test "${ac_cv_func_dlopen+set}" = set; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 cat >conftest.$ac_ext <<_ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18660 #define dlopen innocuous_dlopen
18662 /* System header to define __stub macros and hopefully few prototypes,
18663 which can conflict with char dlopen (); below.
18664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18665 <limits.h> exists even on freestanding compilers. */
18668 # include <limits.h>
18670 # include <assert.h>
18675 /* Override any gcc2 internal prototype to avoid an error. */
18680 /* We use char because int might match the return type of a gcc2
18681 builtin and then its argument prototype would still apply. */
18683 /* The GNU C library defines this for functions which it implements
18684 to always fail with ENOSYS. Some functions are actually named
18685 something starting with __ and the normal name is an alias. */
18686 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18689 char (*f) () = dlopen;
18698 return f != dlopen;
18703 rm -f conftest.$ac_objext conftest$ac_exeext
18704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18705 (eval $ac_link) 2>conftest.er1
18707 grep -v '^ *+' conftest.er1 >conftest.err
18709 cat conftest.err >&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); } &&
18712 { ac_try='test -z "$ac_cxx_werror_flag"
18713 || test ! -s conftest.err'
18714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18715 (eval $ac_try) 2>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); }; } &&
18719 { ac_try='test -s conftest$ac_exeext'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_func_dlopen=yes
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 ac_cv_func_dlopen=no
18732 rm -f conftest.err conftest.$ac_objext \
18733 conftest$ac_exeext conftest.$ac_ext
18735 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18736 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18737 if test $ac_cv_func_dlopen = yes; then
18738 lt_cv_dlopen="dlopen"
18740 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18741 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 ac_check_lib_save_LIBS=$LIBS
18747 cat >conftest.$ac_ext <<_ACEOF
18750 cat confdefs.h >>conftest.$ac_ext
18751 cat >>conftest.$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18754 /* Override any gcc2 internal prototype to avoid an error. */
18758 /* We use char because int might match the return type of a gcc2
18759 builtin and then its argument prototype would still apply. */
18769 rm -f conftest.$ac_objext conftest$ac_exeext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18771 (eval $ac_link) 2>conftest.er1
18773 grep -v '^ *+' conftest.er1 >conftest.err
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try='test -z "$ac_cxx_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try='test -s conftest$ac_exeext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 ac_cv_lib_dl_dlopen=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 ac_cv_lib_dl_dlopen=no
18798 rm -f conftest.err conftest.$ac_objext \
18799 conftest$ac_exeext conftest.$ac_ext
18800 LIBS=$ac_check_lib_save_LIBS
18802 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18803 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18804 if test $ac_cv_lib_dl_dlopen = yes; then
18805 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18807 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18808 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18809 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 ac_check_lib_save_LIBS=$LIBS
18813 LIBS="-lsvld $LIBS"
18814 cat >conftest.$ac_ext <<_ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18821 /* Override any gcc2 internal prototype to avoid an error. */
18825 /* We use char because int might match the return type of a gcc2
18826 builtin and then its argument prototype would still apply. */
18836 rm -f conftest.$ac_objext conftest$ac_exeext
18837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18838 (eval $ac_link) 2>conftest.er1
18840 grep -v '^ *+' conftest.er1 >conftest.err
18842 cat conftest.err >&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } &&
18845 { ac_try='test -z "$ac_cxx_werror_flag"
18846 || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try='test -s conftest$ac_exeext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18858 ac_cv_lib_svld_dlopen=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18863 ac_cv_lib_svld_dlopen=no
18865 rm -f conftest.err conftest.$ac_objext \
18866 conftest$ac_exeext conftest.$ac_ext
18867 LIBS=$ac_check_lib_save_LIBS
18869 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18870 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18871 if test $ac_cv_lib_svld_dlopen = yes; then
18872 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18874 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18875 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18876 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 ac_check_lib_save_LIBS=$LIBS
18881 cat >conftest.$ac_ext <<_ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18888 /* Override any gcc2 internal prototype to avoid an error. */
18892 /* We use char because int might match the return type of a gcc2
18893 builtin and then its argument prototype would still apply. */
18903 rm -f conftest.$ac_objext conftest$ac_exeext
18904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18905 (eval $ac_link) 2>conftest.er1
18907 grep -v '^ *+' conftest.er1 >conftest.err
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } &&
18912 { ac_try='test -z "$ac_cxx_werror_flag"
18913 || test ! -s conftest.err'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; } &&
18919 { ac_try='test -s conftest$ac_exeext'
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; }; then
18925 ac_cv_lib_dld_dld_link=yes
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18930 ac_cv_lib_dld_dld_link=no
18932 rm -f conftest.err conftest.$ac_objext \
18933 conftest$ac_exeext conftest.$ac_ext
18934 LIBS=$ac_check_lib_save_LIBS
18936 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18937 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18938 if test $ac_cv_lib_dld_dld_link = yes; then
18939 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18960 if test "x$lt_cv_dlopen" != xno; then
18966 case $lt_cv_dlopen in
18968 save_CPPFLAGS="$CPPFLAGS"
18969 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18971 save_LDFLAGS="$LDFLAGS"
18972 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18975 LIBS="$lt_cv_dlopen_libs $LIBS"
18977 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18978 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18979 if test "${lt_cv_dlopen_self+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 if test "$cross_compiling" = yes; then :
18983 lt_cv_dlopen_self=cross
18985 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18986 lt_status=$lt_dlunknown
18987 cat > conftest.$ac_ext <<EOF
18988 #line 18988 "configure"
18989 #include "confdefs.h"
18998 # define LT_DLGLOBAL RTLD_GLOBAL
19001 # define LT_DLGLOBAL DL_GLOBAL
19003 # define LT_DLGLOBAL 0
19007 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19008 find out it does not work in some platform. */
19009 #ifndef LT_DLLAZY_OR_NOW
19011 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19014 # define LT_DLLAZY_OR_NOW DL_LAZY
19017 # define LT_DLLAZY_OR_NOW RTLD_NOW
19020 # define LT_DLLAZY_OR_NOW DL_NOW
19022 # define LT_DLLAZY_OR_NOW 0
19030 extern "C" void exit (int);
19033 void fnord() { int i=42;}
19036 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19037 int status = $lt_dlunknown;
19041 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19042 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19043 /* dlclose (self); */
19049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19050 (eval $ac_link) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19054 (./conftest; exit; ) 2>/dev/null
19056 case x$lt_status in
19057 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19058 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19059 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19062 # compilation failed
19063 lt_cv_dlopen_self=no
19070 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19071 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19073 if test "x$lt_cv_dlopen_self" = xyes; then
19074 LDFLAGS="$LDFLAGS $link_static_flag"
19075 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19076 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19077 if test "${lt_cv_dlopen_self_static+set}" = set; then
19078 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 if test "$cross_compiling" = yes; then :
19081 lt_cv_dlopen_self_static=cross
19083 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19084 lt_status=$lt_dlunknown
19085 cat > conftest.$ac_ext <<EOF
19086 #line 19086 "configure"
19087 #include "confdefs.h"
19096 # define LT_DLGLOBAL RTLD_GLOBAL
19099 # define LT_DLGLOBAL DL_GLOBAL
19101 # define LT_DLGLOBAL 0
19105 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19106 find out it does not work in some platform. */
19107 #ifndef LT_DLLAZY_OR_NOW
19109 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19112 # define LT_DLLAZY_OR_NOW DL_LAZY
19115 # define LT_DLLAZY_OR_NOW RTLD_NOW
19118 # define LT_DLLAZY_OR_NOW DL_NOW
19120 # define LT_DLLAZY_OR_NOW 0
19128 extern "C" void exit (int);
19131 void fnord() { int i=42;}
19134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19135 int status = $lt_dlunknown;
19139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19140 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19141 /* dlclose (self); */
19147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19148 (eval $ac_link) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19152 (./conftest; exit; ) 2>/dev/null
19154 case x$lt_status in
19155 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19156 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19157 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19160 # compilation failed
19161 lt_cv_dlopen_self_static=no
19168 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19169 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19172 CPPFLAGS="$save_CPPFLAGS"
19173 LDFLAGS="$save_LDFLAGS"
19178 case $lt_cv_dlopen_self in
19179 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19180 *) enable_dlopen_self=unknown ;;
19183 case $lt_cv_dlopen_self_static in
19184 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19185 *) enable_dlopen_self_static=unknown ;;
19190 # The else clause should only fire when bootstrapping the
19191 # libtool distribution, otherwise you forgot to ship ltmain.sh
19192 # with your package, and you will get complaints that there are
19193 # no rules to generate ltmain.sh.
19194 if test -f "$ltmain"; then
19195 # See if we are running on zsh, and set the options which allow our commands through
19196 # without removal of \ escapes.
19197 if test -n "${ZSH_VERSION+set}" ; then
19198 setopt NO_GLOB_SUBST
19200 # Now quote all the things that may contain metacharacters while being
19201 # careful not to overquote the AC_SUBSTed values. We take copies of the
19202 # variables and quote the copies for generation of the libtool script.
19203 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19205 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19206 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19207 deplibs_check_method reload_flag reload_cmds need_locks \
19208 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19209 lt_cv_sys_global_symbol_to_c_name_address \
19210 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19211 old_postinstall_cmds old_postuninstall_cmds \
19215 lt_prog_compiler_wl_CXX \
19216 lt_prog_compiler_pic_CXX \
19217 lt_prog_compiler_static_CXX \
19218 lt_prog_compiler_no_builtin_flag_CXX \
19219 export_dynamic_flag_spec_CXX \
19220 thread_safe_flag_spec_CXX \
19221 whole_archive_flag_spec_CXX \
19222 enable_shared_with_static_runtimes_CXX \
19223 old_archive_cmds_CXX \
19224 old_archive_from_new_cmds_CXX \
19225 predep_objects_CXX \
19226 postdep_objects_CXX \
19229 compiler_lib_search_path_CXX \
19231 archive_expsym_cmds_CXX \
19232 postinstall_cmds_CXX \
19233 postuninstall_cmds_CXX \
19234 old_archive_from_expsyms_cmds_CXX \
19235 allow_undefined_flag_CXX \
19236 no_undefined_flag_CXX \
19237 export_symbols_cmds_CXX \
19238 hardcode_libdir_flag_spec_CXX \
19239 hardcode_libdir_flag_spec_ld_CXX \
19240 hardcode_libdir_separator_CXX \
19241 hardcode_automatic_CXX \
19243 module_expsym_cmds_CXX \
19244 lt_cv_prog_compiler_c_o_CXX \
19245 exclude_expsyms_CXX \
19246 include_expsyms_CXX; do
19249 old_archive_cmds_CXX | \
19250 old_archive_from_new_cmds_CXX | \
19251 archive_cmds_CXX | \
19252 archive_expsym_cmds_CXX | \
19253 module_cmds_CXX | \
19254 module_expsym_cmds_CXX | \
19255 old_archive_from_expsyms_cmds_CXX | \
19256 export_symbols_cmds_CXX | \
19257 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19258 postinstall_cmds | postuninstall_cmds | \
19259 old_postinstall_cmds | old_postuninstall_cmds | \
19260 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19261 # Double-quote double-evaled strings.
19262 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19265 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19271 *'\$0 --fallback-echo"')
19272 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19278 cat <<__EOF__ >> "$cfgfile"
19279 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19281 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19283 # Shell to use when invoking shell scripts.
19286 # Whether or not to build shared libraries.
19287 build_libtool_libs=$enable_shared
19289 # Whether or not to build static libraries.
19290 build_old_libs=$enable_static
19292 # Whether or not to add -lc for building shared libraries.
19293 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19295 # Whether or not to disallow shared libs when runtime libs are static
19296 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19298 # Whether or not to optimize for fast installation.
19299 fast_install=$enable_fast_install
19302 host_alias=$host_alias
19305 # An echo program that does not interpret backslashes.
19310 AR_FLAGS=$lt_AR_FLAGS
19315 # A language-specific compiler.
19316 CC=$lt_compiler_CXX
19318 # Is the compiler the GNU C compiler?
19324 # The linker used to build libraries.
19327 # Whether we need hard or soft links.
19330 # A BSD-compatible nm program.
19333 # A symbol stripping program
19336 # Used to examine libraries when file_magic_cmd begins "file"
19337 MAGIC_CMD=$MAGIC_CMD
19339 # Used on cygwin: DLL creation program.
19342 # Used on cygwin: object dumper.
19345 # Used on cygwin: assembler.
19348 # The name of the directory that contains temporary libtool files.
19351 # How to create reloadable object files.
19352 reload_flag=$lt_reload_flag
19353 reload_cmds=$lt_reload_cmds
19355 # How to pass a linker flag through the compiler.
19356 wl=$lt_lt_prog_compiler_wl_CXX
19358 # Object file suffix (normally "o").
19359 objext="$ac_objext"
19361 # Old archive suffix (normally "a").
19364 # Shared library suffix (normally ".so").
19365 shrext_cmds='$shrext_cmds'
19367 # Executable file suffix (normally "").
19370 # Additional compiler flags for building library objects.
19371 pic_flag=$lt_lt_prog_compiler_pic_CXX
19374 # What is the maximum length of a command?
19375 max_cmd_len=$lt_cv_sys_max_cmd_len
19377 # Does compiler simultaneously support -c and -o options?
19378 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19380 # Must we lock files when doing compilation ?
19381 need_locks=$lt_need_locks
19383 # Do we need the lib prefix for modules?
19384 need_lib_prefix=$need_lib_prefix
19386 # Do we need a version for libraries?
19387 need_version=$need_version
19389 # Whether dlopen is supported.
19390 dlopen_support=$enable_dlopen
19392 # Whether dlopen of programs is supported.
19393 dlopen_self=$enable_dlopen_self
19395 # Whether dlopen of statically linked programs is supported.
19396 dlopen_self_static=$enable_dlopen_self_static
19398 # Compiler flag to prevent dynamic linking.
19399 link_static_flag=$lt_lt_prog_compiler_static_CXX
19401 # Compiler flag to turn off builtin functions.
19402 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19404 # Compiler flag to allow reflexive dlopens.
19405 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19407 # Compiler flag to generate shared objects directly from archives.
19408 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19410 # Compiler flag to generate thread-safe objects.
19411 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
19413 # Library versioning type.
19414 version_type=$version_type
19416 # Format of library name prefix.
19417 libname_spec=$lt_libname_spec
19419 # List of archive names. First name is the real one, the rest are links.
19420 # The last name is the one that the linker finds with -lNAME.
19421 library_names_spec=$lt_library_names_spec
19423 # The coded name of the library, if different from the real name.
19424 soname_spec=$lt_soname_spec
19426 # Commands used to build and install an old-style archive.
19428 old_archive_cmds=$lt_old_archive_cmds_CXX
19429 old_postinstall_cmds=$lt_old_postinstall_cmds
19430 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19432 # Create an old-style archive from a shared archive.
19433 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19435 # Create a temporary old-style archive to link instead of a shared archive.
19436 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19438 # Commands used to build and install a shared archive.
19439 archive_cmds=$lt_archive_cmds_CXX
19440 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19441 postinstall_cmds=$lt_postinstall_cmds
19442 postuninstall_cmds=$lt_postuninstall_cmds
19444 # Commands used to build a loadable module (assumed same as above if empty)
19445 module_cmds=$lt_module_cmds_CXX
19446 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19448 # Commands to strip libraries.
19449 old_striplib=$lt_old_striplib
19450 striplib=$lt_striplib
19452 # Dependencies to place before the objects being linked to create a
19454 predep_objects=$lt_predep_objects_CXX
19456 # Dependencies to place after the objects being linked to create a
19458 postdep_objects=$lt_postdep_objects_CXX
19460 # Dependencies to place before the objects being linked to create a
19462 predeps=$lt_predeps_CXX
19464 # Dependencies to place after the objects being linked to create a
19466 postdeps=$lt_postdeps_CXX
19468 # The library search path used internally by the compiler when linking
19469 # a shared library.
19470 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19472 # Method to check whether dependent libraries are shared objects.
19473 deplibs_check_method=$lt_deplibs_check_method
19475 # Command to use when deplibs_check_method == file_magic.
19476 file_magic_cmd=$lt_file_magic_cmd
19478 # Flag that allows shared libraries with undefined symbols to be built.
19479 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19481 # Flag that forces no undefined symbols.
19482 no_undefined_flag=$lt_no_undefined_flag_CXX
19484 # Commands used to finish a libtool library installation in a directory.
19485 finish_cmds=$lt_finish_cmds
19487 # Same as above, but a single script fragment to be evaled but not shown.
19488 finish_eval=$lt_finish_eval
19490 # Take the output of nm and produce a listing of raw symbols and C names.
19491 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19493 # Transform the output of nm in a proper C declaration
19494 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19496 # Transform the output of nm in a C name address pair
19497 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19499 # This is the shared library runtime path variable.
19500 runpath_var=$runpath_var
19502 # This is the shared library path variable.
19503 shlibpath_var=$shlibpath_var
19505 # Is shlibpath searched before the hard-coded library search path?
19506 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19508 # How to hardcode a shared library path into an executable.
19509 hardcode_action=$hardcode_action_CXX
19511 # Whether we should hardcode library paths into libraries.
19512 hardcode_into_libs=$hardcode_into_libs
19514 # Flag to hardcode \$libdir into a binary during linking.
19515 # This must work even if \$libdir does not exist.
19516 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19518 # If ld is used when linking, flag to hardcode \$libdir into
19519 # a binary during linking. This must work even if \$libdir does
19521 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19523 # Whether we need a single -rpath flag with a separated argument.
19524 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19526 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19527 # resulting binary.
19528 hardcode_direct=$hardcode_direct_CXX
19530 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19531 # resulting binary.
19532 hardcode_minus_L=$hardcode_minus_L_CXX
19534 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19535 # the resulting binary.
19536 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19538 # Set to yes if building a shared library automatically hardcodes DIR into the library
19539 # and all subsequent libraries and executables linked against it.
19540 hardcode_automatic=$hardcode_automatic_CXX
19542 # Variables whose values should be saved in libtool wrapper scripts and
19543 # restored at relink time.
19544 variables_saved_for_relink="$variables_saved_for_relink"
19546 # Whether libtool must link a program against all its dependency libraries.
19547 link_all_deplibs=$link_all_deplibs_CXX
19549 # Compile-time system search path for libraries
19550 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19552 # Run-time system search path for libraries
19553 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19555 # Fix the shell variable \$srcfile for the compiler.
19556 fix_srcfile_path="$fix_srcfile_path_CXX"
19558 # Set to yes if exported symbols are required.
19559 always_export_symbols=$always_export_symbols_CXX
19561 # The commands to list exported symbols.
19562 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19564 # The commands to extract the exported symbol list from a shared archive.
19565 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19567 # Symbols that should not be listed in the preloaded symbols.
19568 exclude_expsyms=$lt_exclude_expsyms_CXX
19570 # Symbols that must always be exported.
19571 include_expsyms=$lt_include_expsyms_CXX
19573 # ### END LIBTOOL TAG CONFIG: $tagname
19579 # If there is no Makefile yet, we rely on a make rule to execute
19580 # `config.status --recheck' to rerun these tests and create the
19581 # libtool script then.
19582 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19583 if test -f "$ltmain_in"; then
19584 test -f Makefile && make "$ltmain"
19590 ac_cpp='$CPP $CPPFLAGS'
19591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19599 with_gnu_ldcxx=$with_gnu_ld
19600 with_gnu_ld=$lt_save_with_gnu_ld
19601 lt_cv_path_LDCXX=$lt_cv_path_LD
19602 lt_cv_path_LD=$lt_save_path_LD
19603 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19604 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19612 if test -n "$F77" && test "X$F77" != "Xno"; then
19615 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19616 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19617 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19620 archive_cmds_need_lc_F77=no
19621 allow_undefined_flag_F77=
19622 always_export_symbols_F77=no
19623 archive_expsym_cmds_F77=
19624 export_dynamic_flag_spec_F77=
19625 hardcode_direct_F77=no
19626 hardcode_libdir_flag_spec_F77=
19627 hardcode_libdir_flag_spec_ld_F77=
19628 hardcode_libdir_separator_F77=
19629 hardcode_minus_L_F77=no
19630 hardcode_automatic_F77=no
19632 module_expsym_cmds_F77=
19633 link_all_deplibs_F77=unknown
19634 old_archive_cmds_F77=$old_archive_cmds
19635 no_undefined_flag_F77=
19636 whole_archive_flag_spec_F77=
19637 enable_shared_with_static_runtimes_F77=no
19639 # Source file extension for f77 test sources.
19642 # Object file extension for compiled f77 test sources.
19646 # Code to be used in simple compile tests
19647 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19649 # Code to be used in simple link tests
19650 lt_simple_link_test_code=" program t\n end\n"
19652 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19654 # If no C compiler was specified, use CC.
19657 # Allow CC to be a program name with arguments.
19661 # Allow CC to be a program name with arguments.
19666 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
19668 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19669 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19670 echo "$as_me:$LINENO: result: $can_build_shared" >&5
19671 echo "${ECHO_T}$can_build_shared" >&6
19673 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19674 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19675 test "$can_build_shared" = "no" && enable_shared=no
19677 # On AIX, shared libraries and static libraries use the same namespace, and
19678 # are all built from PIC.
19681 test "$enable_shared" = yes && enable_static=no
19682 if test -n "$RANLIB"; then
19683 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19684 postinstall_cmds='$RANLIB $lib'
19688 test "$enable_shared" = yes && enable_static=no
19691 echo "$as_me:$LINENO: result: $enable_shared" >&5
19692 echo "${ECHO_T}$enable_shared" >&6
19694 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19695 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19696 # Make sure either enable_shared or enable_static is yes.
19697 test "$enable_shared" = yes || enable_static=yes
19698 echo "$as_me:$LINENO: result: $enable_static" >&5
19699 echo "${ECHO_T}$enable_static" >&6
19701 test "$ld_shlibs_F77" = no && can_build_shared=no
19706 lt_prog_compiler_wl_F77=
19707 lt_prog_compiler_pic_F77=
19708 lt_prog_compiler_static_F77=
19710 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19711 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
19713 if test "$GCC" = yes; then
19714 lt_prog_compiler_wl_F77='-Wl,'
19715 lt_prog_compiler_static_F77='-static'
19719 # All AIX code is PIC.
19720 if test "$host_cpu" = ia64; then
19721 # AIX 5 now supports IA64 processor
19722 lt_prog_compiler_static_F77='-Bstatic'
19727 # FIXME: we need at least 68020 code to build shared libraries, but
19728 # adding the `-m68020' flag to GCC prevents building anything better,
19730 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
19733 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19734 # PIC is the default for these OSes.
19737 mingw* | pw32* | os2*)
19738 # This hack is so that the source file can tell whether it is being
19739 # built for inclusion in a dll (and should export symbols for example).
19740 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19743 darwin* | rhapsody*)
19744 # PIC is the default on this platform
19745 # Common symbols not allowed in MH_DYLIB files
19746 lt_prog_compiler_pic_F77='-fno-common'
19750 # Just because we use GCC doesn't mean we suddenly get shared libraries
19751 # on systems that don't support them.
19752 lt_prog_compiler_can_build_shared_F77=no
19757 if test -d /usr/nec; then
19758 lt_prog_compiler_pic_F77=-Kconform_pic
19763 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19764 # not for PA HP-UX.
19765 case "$host_cpu" in
19770 lt_prog_compiler_pic_F77='-fPIC'
19776 lt_prog_compiler_pic_F77='-fPIC'
19780 # PORTME Check for flag to pass linker flags through the system compiler.
19783 lt_prog_compiler_wl_F77='-Wl,'
19784 if test "$host_cpu" = ia64; then
19785 # AIX 5 now supports IA64 processor
19786 lt_prog_compiler_static_F77='-Bstatic'
19788 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
19792 mingw* | pw32* | os2*)
19793 # This hack is so that the source file can tell whether it is being
19794 # built for inclusion in a dll (and should export symbols for example).
19795 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19798 hpux9* | hpux10* | hpux11*)
19799 lt_prog_compiler_wl_F77='-Wl,'
19800 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19801 # not for PA HP-UX.
19802 case "$host_cpu" in
19807 lt_prog_compiler_pic_F77='+Z'
19810 # Is there a better lt_prog_compiler_static that works with the bundled CC?
19811 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
19814 irix5* | irix6* | nonstopux*)
19815 lt_prog_compiler_wl_F77='-Wl,'
19816 # PIC (with -KPIC) is the default.
19817 lt_prog_compiler_static_F77='-non_shared'
19821 lt_prog_compiler_pic_F77='-KPIC'
19822 lt_prog_compiler_static_F77='-Bstatic'
19828 lt_prog_compiler_wl_F77='-Wl,'
19829 lt_prog_compiler_pic_F77='-KPIC'
19830 lt_prog_compiler_static_F77='-static'
19833 lt_prog_compiler_wl_F77='-Wl,'
19834 # All Alpha code is PIC.
19835 lt_prog_compiler_static_F77='-non_shared'
19840 osf3* | osf4* | osf5*)
19841 lt_prog_compiler_wl_F77='-Wl,'
19842 # All OSF/1 code is PIC.
19843 lt_prog_compiler_static_F77='-non_shared'
19847 lt_prog_compiler_pic_F77='-Kpic'
19848 lt_prog_compiler_static_F77='-dn'
19852 lt_prog_compiler_wl_F77='-Wl,'
19853 lt_prog_compiler_pic_F77='-KPIC'
19854 lt_prog_compiler_static_F77='-Bstatic'
19858 lt_prog_compiler_wl_F77='-Qoption ld '
19859 lt_prog_compiler_pic_F77='-PIC'
19860 lt_prog_compiler_static_F77='-Bstatic'
19863 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19864 lt_prog_compiler_wl_F77='-Wl,'
19865 lt_prog_compiler_pic_F77='-KPIC'
19866 lt_prog_compiler_static_F77='-Bstatic'
19870 if test -d /usr/nec ;then
19871 lt_prog_compiler_pic_F77='-Kconform_pic'
19872 lt_prog_compiler_static_F77='-Bstatic'
19877 lt_prog_compiler_pic_F77='-pic'
19878 lt_prog_compiler_static_F77='-Bstatic'
19882 lt_prog_compiler_can_build_shared_F77=no
19887 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
19888 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
19891 # Check to make sure the PIC flag actually works.
19893 if test -n "$lt_prog_compiler_pic_F77"; then
19895 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
19896 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
19897 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 lt_prog_compiler_pic_works_F77=no
19901 ac_outfile=conftest.$ac_objext
19902 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19903 lt_compiler_flag="$lt_prog_compiler_pic_F77"
19904 # Insert the option either (1) after the last *FLAGS variable, or
19905 # (2) before a word containing "conftest.", or (3) at the end.
19906 # Note that $ac_compile itself does not contain backslashes and begins
19907 # with a dollar sign (not a hyphen), so the echo should work correctly.
19908 # The option is referenced via a variable to avoid confusing sed.
19909 lt_compile=`echo "$ac_compile" | $SED \
19910 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19912 -e 's:$: $lt_compiler_flag:'`
19913 (eval echo "\"\$as_me:19913: $lt_compile\"" >&5)
19914 (eval "$lt_compile" 2>conftest.err)
19916 cat conftest.err >&5
19917 echo "$as_me:19917: \$? = $ac_status" >&5
19918 if (exit $ac_status) && test -s "$ac_outfile"; then
19919 # The compiler can only warn and ignore the option if not recognized
19920 # So say no if there are warnings
19921 if test ! -s conftest.err; then
19922 lt_prog_compiler_pic_works_F77=yes
19928 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
19929 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
19931 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
19932 case $lt_prog_compiler_pic_F77 in
19934 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
19937 lt_prog_compiler_pic_F77=
19938 lt_prog_compiler_can_build_shared_F77=no
19943 # For platforms which do not support PIC, -DPIC is meaningless:
19945 lt_prog_compiler_pic_F77=
19948 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
19952 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19953 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
19954 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 lt_cv_prog_compiler_c_o_F77=no
19958 $rm -r conftest 2>/dev/null
19962 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19964 lt_compiler_flag="-o out/conftest2.$ac_objext"
19965 # Insert the option either (1) after the last *FLAGS variable, or
19966 # (2) before a word containing "conftest.", or (3) at the end.
19967 # Note that $ac_compile itself does not contain backslashes and begins
19968 # with a dollar sign (not a hyphen), so the echo should work correctly.
19969 lt_compile=`echo "$ac_compile" | $SED \
19970 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19972 -e 's:$: $lt_compiler_flag:'`
19973 (eval echo "\"\$as_me:19973: $lt_compile\"" >&5)
19974 (eval "$lt_compile" 2>out/conftest.err)
19976 cat out/conftest.err >&5
19977 echo "$as_me:19977: \$? = $ac_status" >&5
19978 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19980 # The compiler can only warn and ignore the option if not recognized
19981 # So say no if there are warnings
19982 if test ! -s out/conftest.err; then
19983 lt_cv_prog_compiler_c_o_F77=yes
19988 # SGI C++ compiler will create directory out/ii_files/ for
19989 # template instantiation
19990 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19991 $rm out/* && rmdir out
19997 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
19998 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
20001 hard_links="nottested"
20002 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20003 # do not overwrite the value of need_locks provided by the user
20004 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20005 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20008 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20010 ln conftest.a conftest.b 2>&5 || hard_links=no
20011 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20012 echo "$as_me:$LINENO: result: $hard_links" >&5
20013 echo "${ECHO_T}$hard_links" >&6
20014 if test "$hard_links" = no; then
20015 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20016 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20023 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20024 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20027 allow_undefined_flag_F77=
20028 enable_shared_with_static_runtimes_F77=no
20030 archive_expsym_cmds_F77=
20031 old_archive_From_new_cmds_F77=
20032 old_archive_from_expsyms_cmds_F77=
20033 export_dynamic_flag_spec_F77=
20034 whole_archive_flag_spec_F77=
20035 thread_safe_flag_spec_F77=
20036 hardcode_libdir_flag_spec_F77=
20037 hardcode_libdir_flag_spec_ld_F77=
20038 hardcode_libdir_separator_F77=
20039 hardcode_direct_F77=no
20040 hardcode_minus_L_F77=no
20041 hardcode_shlibpath_var_F77=unsupported
20042 link_all_deplibs_F77=unknown
20043 hardcode_automatic_F77=no
20045 module_expsym_cmds_F77=
20046 always_export_symbols_F77=no
20047 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20048 # include_expsyms should be a list of space-separated symbols to be *always*
20049 # included in the symbol list
20050 include_expsyms_F77=
20051 # exclude_expsyms can be an extended regexp of symbols to exclude
20052 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20053 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20054 # as well as any symbol that contains `d'.
20055 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
20056 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20057 # platforms (ab)use it in PIC code, but their linkers get confused if
20058 # the symbol is explicitly referenced. Since portable code cannot
20059 # rely on this symbol name, it's probably fine to never include it in
20060 # preloaded symbol tables.
20061 extract_expsyms_cmds=
20064 cygwin* | mingw* | pw32*)
20065 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20066 # When not using gcc, we currently assume that we are using
20067 # Microsoft Visual C++.
20068 if test "$GCC" != yes; then
20078 if test "$with_gnu_ld" = yes; then
20079 # If archive_cmds runs LD, not CC, wlarc should be empty
20082 # See if GNU ld supports shared libraries.
20084 aix3* | aix4* | aix5*)
20085 # On AIX/PPC, the GNU linker is very broken
20086 if test "$host_cpu" != ia64; then
20090 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20091 *** to be unable to reliably create shared libraries on AIX.
20092 *** Therefore, libtool is disabling shared libraries support. If you
20093 *** really care for shared libraries, you may want to modify your PATH
20094 *** so that a non-GNU linker is found, and then restart.
20101 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)'
20102 hardcode_libdir_flag_spec_F77='-L$libdir'
20103 hardcode_minus_L_F77=yes
20105 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20106 # that the semantics of dynamic libraries on AmigaOS, at least up
20107 # to version 4, is to share data among multiple programs linked
20108 # with the same dynamic library. Since this doesn't match the
20109 # behavior of shared libraries on other platforms, we can't use
20115 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20116 allow_undefined_flag_F77=unsupported
20117 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20118 # support --undefined. This deserves some investigation. FIXME
20119 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20125 cygwin* | mingw* | pw32*)
20126 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
20127 # as there is no search path for DLLs.
20128 hardcode_libdir_flag_spec_F77='-L$libdir'
20129 allow_undefined_flag_F77=unsupported
20130 always_export_symbols_F77=no
20131 enable_shared_with_static_runtimes_F77=yes
20132 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20134 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20135 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20136 # If the export-symbols file already is a .def file (1st line
20137 # is EXPORTS), use it as is; otherwise, prepend...
20138 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20139 cp $export_symbols $output_objdir/$soname.def;
20141 echo EXPORTS > $output_objdir/$soname.def;
20142 cat $export_symbols >> $output_objdir/$soname.def;
20144 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20151 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20152 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20155 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20156 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20161 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20165 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20166 *** create shared libraries on Solaris systems. Therefore, libtool
20167 *** is disabling shared libraries support. We urge you to upgrade GNU
20168 *** binutils to release 2.9.1 or newer. Another option is to modify
20169 *** your PATH or compiler configuration so that the native linker is
20170 *** used, and then restart.
20173 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20174 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20175 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20182 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20184 hardcode_direct_F77=yes
20185 hardcode_shlibpath_var_F77=no
20189 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20190 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20191 archive_cmds_F77="$tmp_archive_cmds"
20192 supports_anon_versioning=no
20193 case `$LD -v 2>/dev/null` in
20194 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20195 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20196 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20197 *\ 2.11.*) ;; # other 2.11 versions
20198 *) supports_anon_versioning=yes ;;
20200 if test $supports_anon_versioning = yes; then
20201 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
20202 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20203 $echo "local: *; };" >> $output_objdir/$libname.ver~
20204 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20206 archive_expsym_cmds_F77="$tmp_archive_cmds"
20214 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20215 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20216 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20223 if test "$ld_shlibs_F77" = yes; then
20224 runpath_var=LD_RUN_PATH
20225 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20226 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20227 # ancient GNU ld didn't support --whole-archive et. al.
20228 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20229 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20231 whole_archive_flag_spec_F77=
20235 # PORTME fill in a description of your system's linker (not GNU ld)
20238 allow_undefined_flag_F77=unsupported
20239 always_export_symbols_F77=yes
20240 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'
20241 # Note: this linker hardcodes the directories in LIBPATH if there
20242 # are no directories specified by -L.
20243 hardcode_minus_L_F77=yes
20244 if test "$GCC" = yes && test -z "$link_static_flag"; then
20245 # Neither direct hardcoding nor static linking is supported with a
20247 hardcode_direct_F77=unsupported
20252 if test "$host_cpu" = ia64; then
20253 # On IA64, the linker does run time linking by default, so we don't
20254 # have to do anything special.
20255 aix_use_runtimelinking=no
20256 exp_sym_flag='-Bexport'
20259 # If we're using GNU nm, then we don't want the "-C" option.
20260 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20261 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20262 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'
20264 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'
20266 aix_use_runtimelinking=no
20268 # Test if we are trying to use run time linking or normal
20269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20270 # need to do runtime linking.
20271 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20272 for ld_flag in $LDFLAGS; do
20273 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20274 aix_use_runtimelinking=yes
20280 exp_sym_flag='-bexport'
20281 no_entry_flag='-bnoentry'
20284 # When large executables or shared objects are built, AIX ld can
20285 # have problems creating the table of contents. If linking a library
20286 # or program results in "error TOC overflow" add -mminimal-toc to
20287 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20288 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20290 archive_cmds_F77=''
20291 hardcode_direct_F77=yes
20292 hardcode_libdir_separator_F77=':'
20293 link_all_deplibs_F77=yes
20295 if test "$GCC" = yes; then
20296 case $host_os in aix4.012|aix4.012.*)
20297 # We only want to do this on AIX 4.2 and lower, the check
20298 # below for broken collect2 doesn't work under 4.3+
20299 collect2name=`${CC} -print-prog-name=collect2`
20300 if test -f "$collect2name" && \
20301 strings "$collect2name" | grep resolve_lib_name >/dev/null
20303 # We have reworked collect2
20304 hardcode_direct_F77=yes
20306 # We have old collect2
20307 hardcode_direct_F77=unsupported
20308 # It fails to find uninstalled libraries when the uninstalled
20309 # path is not listed in the libpath. Setting hardcode_minus_L
20310 # to unsupported forces relinking
20311 hardcode_minus_L_F77=yes
20312 hardcode_libdir_flag_spec_F77='-L$libdir'
20313 hardcode_libdir_separator_F77=
20316 shared_flag='-shared'
20319 if test "$host_cpu" = ia64; then
20320 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20321 # chokes on -Wl,-G. The following line is correct:
20324 if test "$aix_use_runtimelinking" = yes; then
20325 shared_flag='${wl}-G'
20327 shared_flag='${wl}-bM:SRE'
20332 # It seems that -bexpall does not export symbols beginning with
20333 # underscore (_), so it is better to generate a list of symbols to export.
20334 always_export_symbols_F77=yes
20335 if test "$aix_use_runtimelinking" = yes; then
20336 # Warning - without using the other runtime loading flags (-brtl),
20337 # -berok will link without error, but may produce a broken library.
20338 allow_undefined_flag_F77='-berok'
20339 # Determine the default libpath from the value encoded in an empty executable.
20340 cat >conftest.$ac_ext <<_ACEOF
20345 rm -f conftest.$ac_objext conftest$ac_exeext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20347 (eval $ac_link) 2>conftest.er1
20349 grep -v '^ *+' conftest.er1 >conftest.err
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try='test -z "$ac_f77_werror_flag"
20355 || test ! -s conftest.err'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try='test -s conftest$ac_exeext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20368 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20370 # Check for a 64-bit object if we didn't find anything.
20371 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; }
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20378 rm -f conftest.err conftest.$ac_objext \
20379 conftest$ac_exeext conftest.$ac_ext
20380 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20382 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20383 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20385 if test "$host_cpu" = ia64; then
20386 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
20387 allow_undefined_flag_F77="-z nodefs"
20388 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
20390 # Determine the default libpath from the value encoded in an empty executable.
20391 cat >conftest.$ac_ext <<_ACEOF
20396 rm -f conftest.$ac_objext conftest$ac_exeext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20398 (eval $ac_link) 2>conftest.er1
20400 grep -v '^ *+' conftest.er1 >conftest.err
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try='test -z "$ac_f77_werror_flag"
20406 || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest$ac_exeext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20419 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20421 # Check for a 64-bit object if we didn't find anything.
20422 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; }
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20429 rm -f conftest.err conftest.$ac_objext \
20430 conftest$ac_exeext conftest.$ac_ext
20431 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20433 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20434 # Warning - without using the other run time loading flags,
20435 # -berok will link without error, but may produce a broken library.
20436 no_undefined_flag_F77=' ${wl}-bernotok'
20437 allow_undefined_flag_F77=' ${wl}-berok'
20438 # -bexpall does not export symbols beginning with underscore (_)
20439 always_export_symbols_F77=yes
20440 # Exported symbols can be pulled into shared objects from archives
20441 whole_archive_flag_spec_F77=' '
20442 archive_cmds_need_lc_F77=yes
20443 # This is similar to how AIX traditionally builds it's shared libraries.
20444 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20450 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)'
20451 hardcode_libdir_flag_spec_F77='-L$libdir'
20452 hardcode_minus_L_F77=yes
20453 # see comment about different semantics on the GNU ld section
20458 export_dynamic_flag_spec_F77=-rdynamic
20461 cygwin* | mingw* | pw32*)
20462 # When not using gcc, we currently assume that we are using
20463 # Microsoft Visual C++.
20464 # hardcode_libdir_flag_spec is actually meaningless, as there is
20465 # no search path for DLLs.
20466 hardcode_libdir_flag_spec_F77=' '
20467 allow_undefined_flag_F77=unsupported
20468 # Tell ltmain to make .lib files, not .a files.
20470 # Tell ltmain to make .dll files, not .so files.
20472 # FIXME: Setting linknames here is a bad hack.
20473 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20474 # The linker will automatically build a .lib file if we build a DLL.
20475 old_archive_From_new_cmds_F77='true'
20476 # FIXME: Should let the user specify the lib program.
20477 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20478 fix_srcfile_path='`cygpath -w "$srcfile"`'
20479 enable_shared_with_static_runtimes_F77=yes
20482 darwin* | rhapsody*)
20483 if test "$GXX" = yes ; then
20484 archive_cmds_need_lc_F77=no
20486 rhapsody* | darwin1.[012])
20487 allow_undefined_flag_F77='-undefined suppress'
20490 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20491 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
20493 case ${MACOSX_DEPLOYMENT_TARGET} in
20495 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
20498 allow_undefined_flag_F77='-undefined dynamic_lookup'
20504 lt_int_apple_cc_single_mod=no
20505 output_verbose_link_cmd='echo'
20506 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20507 lt_int_apple_cc_single_mod=yes
20509 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20510 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20512 archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
20514 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20515 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20516 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20517 archive_expsym_cmds_F77='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}'
20519 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
20521 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}'
20522 hardcode_direct_F77=no
20523 hardcode_automatic_F77=yes
20524 hardcode_shlibpath_var_F77=unsupported
20525 whole_archive_flag_spec_F77='-all_load $convenience'
20526 link_all_deplibs_F77=yes
20533 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20534 hardcode_libdir_flag_spec_F77='-L$libdir'
20535 hardcode_shlibpath_var_F77=no
20542 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20543 # support. Future versions do this automatically, but an explicit c++rt0.o
20544 # does not break anything, and helps significantly (at the cost of a little
20547 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20548 hardcode_libdir_flag_spec_F77='-R$libdir'
20549 hardcode_direct_F77=yes
20550 hardcode_shlibpath_var_F77=no
20553 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20555 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20556 hardcode_direct_F77=yes
20557 hardcode_minus_L_F77=yes
20558 hardcode_shlibpath_var_F77=no
20561 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20562 freebsd* | kfreebsd*-gnu)
20563 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20564 hardcode_libdir_flag_spec_F77='-R$libdir'
20565 hardcode_direct_F77=yes
20566 hardcode_shlibpath_var_F77=no
20570 if test "$GCC" = yes; then
20571 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'
20573 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'
20575 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20576 hardcode_libdir_separator_F77=:
20577 hardcode_direct_F77=yes
20579 # hardcode_minus_L: Not really in the search PATH,
20580 # but as the default location of the library.
20581 hardcode_minus_L_F77=yes
20582 export_dynamic_flag_spec_F77='${wl}-E'
20586 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20587 case "$host_cpu" in
20589 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20592 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20596 case "$host_cpu" in
20598 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20601 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20605 if test "$with_gnu_ld" = no; then
20606 case "$host_cpu" in
20608 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20609 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
20610 hardcode_libdir_separator_F77=:
20611 hardcode_direct_F77=no
20612 hardcode_shlibpath_var_F77=no
20615 hardcode_libdir_flag_spec_F77='-L$libdir'
20616 hardcode_direct_F77=no
20617 hardcode_shlibpath_var_F77=no
20619 # hardcode_minus_L: Not really in the search PATH,
20620 # but as the default location of the library.
20621 hardcode_minus_L_F77=yes
20624 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20625 hardcode_libdir_separator_F77=:
20626 hardcode_direct_F77=yes
20627 export_dynamic_flag_spec_F77='${wl}-E'
20629 # hardcode_minus_L: Not really in the search PATH,
20630 # but as the default location of the library.
20631 hardcode_minus_L_F77=yes
20637 irix5* | irix6* | nonstopux*)
20638 if test "$GCC" = yes; then
20639 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'
20641 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'
20642 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
20644 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20645 hardcode_libdir_separator_F77=:
20646 link_all_deplibs_F77=yes
20650 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20651 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20653 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20655 hardcode_libdir_flag_spec_F77='-R$libdir'
20656 hardcode_direct_F77=yes
20657 hardcode_shlibpath_var_F77=no
20661 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20662 hardcode_direct_F77=yes
20663 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20664 hardcode_libdir_separator_F77=:
20665 hardcode_shlibpath_var_F77=no
20669 hardcode_direct_F77=yes
20670 hardcode_shlibpath_var_F77=no
20671 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20672 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20673 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20674 export_dynamic_flag_spec_F77='${wl}-E'
20677 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20678 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20679 hardcode_libdir_flag_spec_F77='-R$libdir'
20682 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20683 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20690 hardcode_libdir_flag_spec_F77='-L$libdir'
20691 hardcode_minus_L_F77=yes
20692 allow_undefined_flag_F77=unsupported
20693 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'
20694 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20698 if test "$GCC" = yes; then
20699 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20700 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'
20702 allow_undefined_flag_F77=' -expect_unresolved \*'
20703 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'
20705 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20706 hardcode_libdir_separator_F77=:
20709 osf4* | osf5*) # as osf3* with the addition of -msym flag
20710 if test "$GCC" = yes; then
20711 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20712 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'
20713 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20715 allow_undefined_flag_F77=' -expect_unresolved \*'
20716 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'
20717 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~
20718 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
20720 # Both c and cxx compiler support -rpath directly
20721 hardcode_libdir_flag_spec_F77='-rpath $libdir'
20723 hardcode_libdir_separator_F77=:
20727 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20728 hardcode_shlibpath_var_F77=no
20729 export_dynamic_flag_spec_F77='${wl}-Bexport'
20730 runpath_var=LD_RUN_PATH
20731 hardcode_runpath_var=yes
20735 no_undefined_flag_F77=' -z text'
20736 if test "$GCC" = yes; then
20737 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20738 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20739 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20741 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20742 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20743 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20745 hardcode_libdir_flag_spec_F77='-R$libdir'
20746 hardcode_shlibpath_var_F77=no
20748 solaris2.[0-5] | solaris2.[0-5].*) ;;
20749 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20750 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
20752 link_all_deplibs_F77=yes
20756 if test "x$host_vendor" = xsequent; then
20757 # Use $CC to link under sequent, because it throws in some extra .o
20758 # files that make .init and .fini sections work.
20759 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20761 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20763 hardcode_libdir_flag_spec_F77='-L$libdir'
20764 hardcode_direct_F77=yes
20765 hardcode_minus_L_F77=yes
20766 hardcode_shlibpath_var_F77=no
20770 case $host_vendor in
20772 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20773 hardcode_direct_F77=yes # is this really true???
20776 ## LD is ld it makes a PLAMLIB
20777 ## CC just makes a GrossModule.
20778 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20779 reload_cmds_F77='$CC -r -o $output$reload_objs'
20780 hardcode_direct_F77=no
20783 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20784 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
20787 runpath_var='LD_RUN_PATH'
20788 hardcode_shlibpath_var_F77=no
20792 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20793 hardcode_shlibpath_var_F77=no
20794 export_dynamic_flag_spec_F77='-Bexport'
20798 if test -d /usr/nec; then
20799 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20800 hardcode_shlibpath_var_F77=no
20801 runpath_var=LD_RUN_PATH
20802 hardcode_runpath_var=yes
20808 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20809 hardcode_direct_F77=yes
20810 hardcode_minus_L_F77=no
20811 hardcode_shlibpath_var_F77=no
20812 hardcode_runpath_var=yes
20813 runpath_var=LD_RUN_PATH
20816 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20817 no_undefined_flag_F77='${wl}-z ${wl}text'
20818 if test "$GCC" = yes; then
20819 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20821 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20823 runpath_var='LD_RUN_PATH'
20824 hardcode_shlibpath_var_F77=no
20828 no_undefined_flag_F77=' -z text'
20829 # $CC -shared without GNU ld will not create a library from C++
20830 # object files and a static libstdc++, better avoid it by now
20831 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20832 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20833 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20834 hardcode_libdir_flag_spec_F77=
20835 hardcode_shlibpath_var_F77=no
20836 runpath_var='LD_RUN_PATH'
20840 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20841 hardcode_libdir_flag_spec_F77='-L$libdir'
20842 hardcode_shlibpath_var_F77=no
20851 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
20852 echo "${ECHO_T}$ld_shlibs_F77" >&6
20853 test "$ld_shlibs_F77" = no && can_build_shared=no
20855 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20856 if test "$GCC" = yes; then
20857 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20861 # Do we need to explicitly link libc?
20863 case "x$archive_cmds_need_lc_F77" in
20865 # Assume -lc should be added
20866 archive_cmds_need_lc_F77=yes
20868 if test "$enable_shared" = yes && test "$GCC" = yes; then
20869 case $archive_cmds_F77 in
20871 # FIXME: we may have to deal with multi-command sequences.
20874 # Test whether the compiler implicitly links with -lc since on some
20875 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20876 # to ld, don't add -lc before -lgcc.
20877 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20878 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
20880 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 (eval $ac_compile) 2>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } 2>conftest.err; then
20889 libobjs=conftest.$ac_objext
20891 wl=$lt_prog_compiler_wl_F77
20897 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
20898 allow_undefined_flag_F77=
20899 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20900 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }
20905 archive_cmds_need_lc_F77=no
20907 archive_cmds_need_lc_F77=yes
20909 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
20911 cat conftest.err 1>&5
20914 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
20915 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
20922 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20923 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
20924 library_names_spec=
20925 libname_spec='lib$name'
20929 postuninstall_cmds=
20933 shlibpath_overrides_runpath=unknown
20935 dynamic_linker="$host_os ld.so"
20936 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20937 if test "$GCC" = yes; then
20938 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20939 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20940 # if the path contains ";" then we assume it to be the separator
20941 # otherwise default to the standard path separator (i.e. ":") - it is
20942 # assumed that no part of a normal pathname contains ";" but that should
20943 # okay in the real world where ";" in dirpaths is itself problematic.
20944 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20946 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20949 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20951 need_lib_prefix=unknown
20952 hardcode_into_libs=no
20954 # when you set need_version to no, make sure it does not cause -set_version
20955 # flags to be left without arguments
20956 need_version=unknown
20961 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20962 shlibpath_var=LIBPATH
20964 # AIX 3 has no versioning support, so we append a major version to the name.
20965 soname_spec='${libname}${release}${shared_ext}$major'
20972 hardcode_into_libs=yes
20973 if test "$host_cpu" = ia64; then
20974 # AIX 5 supports IA64
20975 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20976 shlibpath_var=LD_LIBRARY_PATH
20978 # With GCC up to 2.95.x, collect2 would create an import file
20979 # for dependence libraries. The import file would start with
20980 # the line `#! .'. This would cause the generated library to
20981 # depend on `.', always an invalid library. This was fixed in
20982 # development snapshots of GCC prior to 3.0.
20984 aix4 | aix4.[01] | aix4.[01].*)
20985 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20987 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20990 can_build_shared=no
20994 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20995 # soname into executable. Probably we can add versioning support to
20996 # collect2, so additional links can be useful in future.
20997 if test "$aix_use_runtimelinking" = yes; then
20998 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20999 # instead of lib<name>.a to let people know that these are not
21000 # typical AIX shared libraries.
21001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21003 # We preserve .a as extension for shared libraries through AIX4.2
21004 # and later when we are not doing run time linking.
21005 library_names_spec='${libname}${release}.a $libname.a'
21006 soname_spec='${libname}${release}${shared_ext}$major'
21008 shlibpath_var=LIBPATH
21013 library_names_spec='$libname.ixlibrary $libname.a'
21014 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21015 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'
21019 library_names_spec='${libname}${shared_ext}'
21020 dynamic_linker="$host_os ld.so"
21021 shlibpath_var=LIBRARY_PATH
21027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21028 soname_spec='${libname}${release}${shared_ext}$major'
21029 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21030 shlibpath_var=LD_LIBRARY_PATH
21031 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21032 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21033 # the default ld.so.conf also contains /usr/contrib/lib and
21034 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21035 # libtool to hard-code these into programs
21038 cygwin* | mingw* | pw32*)
21039 version_type=windows
21044 case $GCC,$host_os in
21045 yes,cygwin* | yes,mingw* | yes,pw32*)
21046 library_names_spec='$libname.dll.a'
21047 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21048 postinstall_cmds='base_file=`basename \${file}`~
21049 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21050 dldir=$destdir/`dirname \$dlpath`~
21051 test -d \$dldir || mkdir -p \$dldir~
21052 $install_prog $dir/$dlname \$dldir/$dlname'
21053 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21054 dlpath=$dir/\$dldll~
21056 shlibpath_overrides_runpath=yes
21060 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21061 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21062 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21065 # MinGW DLLs use traditional 'lib' prefix
21066 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21067 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21068 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21069 # It is most probably a Windows format PATH printed by
21070 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21071 # path with ; separators, and with drive letters. We can handle the
21072 # drive letters (cygwin fileutils understands them), so leave them,
21073 # especially as we might pass files found there to a mingw objdump,
21074 # which wouldn't understand a cygwinified path. Ahh.
21075 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21077 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21081 # pw32 DLLs use 'pw' prefix rather than 'lib'
21082 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
21088 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21091 dynamic_linker='Win32 ld.exe'
21092 # FIXME: first we should search . and the directory the executable is in
21096 darwin* | rhapsody*)
21097 dynamic_linker="$host_os dyld"
21098 version_type=darwin
21101 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21102 soname_spec='${libname}${release}${major}$shared_ext'
21103 shlibpath_overrides_runpath=yes
21104 shlibpath_var=DYLD_LIBRARY_PATH
21105 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
21106 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21107 if test "$GCC" = yes; then
21108 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"`
21110 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21112 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21120 soname_spec='${libname}${release}${shared_ext}$major'
21121 shlibpath_var=LD_LIBRARY_PATH
21132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21133 soname_spec='${libname}${release}${shared_ext}$major'
21134 shlibpath_var=LD_LIBRARY_PATH
21135 shlibpath_overrides_runpath=no
21136 hardcode_into_libs=yes
21137 dynamic_linker='GNU ld.so'
21141 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21142 version_type=freebsd-$objformat
21143 case $version_type in
21145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21150 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21154 shlibpath_var=LD_LIBRARY_PATH
21157 shlibpath_overrides_runpath=yes
21159 freebsd3.01* | freebsdelf3.01*)
21160 shlibpath_overrides_runpath=yes
21161 hardcode_into_libs=yes
21164 shlibpath_overrides_runpath=no
21165 hardcode_into_libs=yes
21174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21175 soname_spec='${libname}${release}${shared_ext}$major'
21176 shlibpath_var=LD_LIBRARY_PATH
21177 hardcode_into_libs=yes
21180 hpux9* | hpux10* | hpux11*)
21181 # Give a soname corresponding to the major version so that dld.sl refuses to
21182 # link against other versions.
21186 case "$host_cpu" in
21189 hardcode_into_libs=yes
21190 dynamic_linker="$host_os dld.so"
21191 shlibpath_var=LD_LIBRARY_PATH
21192 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21194 soname_spec='${libname}${release}${shared_ext}$major'
21195 if test "X$HPUX_IA64_MODE" = X32; then
21196 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21198 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21200 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21204 hardcode_into_libs=yes
21205 dynamic_linker="$host_os dld.sl"
21206 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21207 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21209 soname_spec='${libname}${release}${shared_ext}$major'
21210 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21211 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21215 dynamic_linker="$host_os dld.sl"
21216 shlibpath_var=SHLIB_PATH
21217 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21219 soname_spec='${libname}${release}${shared_ext}$major'
21222 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21223 postinstall_cmds='chmod 555 $lib'
21226 irix5* | irix6* | nonstopux*)
21228 nonstopux*) version_type=nonstopux ;;
21230 if test "$lt_cv_prog_gnu_ld" = yes; then
21238 soname_spec='${libname}${release}${shared_ext}$major'
21239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21241 irix5* | nonstopux*)
21242 libsuff= shlibsuff=
21245 case $LD in # libtool.m4 will add one of these switches to LD
21246 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21247 libsuff= shlibsuff= libmagic=32-bit;;
21248 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21249 libsuff=32 shlibsuff=N32 libmagic=N32;;
21250 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21251 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21252 *) libsuff= shlibsuff= libmagic=never-match;;
21256 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21257 shlibpath_overrides_runpath=no
21258 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21259 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21260 hardcode_into_libs=yes
21263 # No shared lib support for Linux oldld, aout, or coff.
21264 linux*oldld* | linux*aout* | linux*coff*)
21268 # This must be Linux ELF.
21273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21274 soname_spec='${libname}${release}${shared_ext}$major'
21275 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21276 shlibpath_var=LD_LIBRARY_PATH
21277 shlibpath_overrides_runpath=no
21278 # This implies no fast_install, which is unacceptable.
21279 # Some rework will be needed to allow for fast_install
21280 # before this can be enabled.
21281 hardcode_into_libs=yes
21283 # find out which ABI we are using
21285 case "$host_cpu" in
21286 x86_64*|s390x*|powerpc64*)
21287 echo '#line 21287 "configure"' > conftest.$ac_ext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; then
21293 case `/usr/bin/file conftest.$ac_objext` in
21296 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
21304 # Append ld.so.conf contents to the search path
21305 if test -f /etc/ld.so.conf; then
21306 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
21307 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
21310 # We used to test for /lib/ld.so.1 and disable shared libraries on
21311 # powerpc, because MkLinux only supported shared libraries with the
21312 # GNU dynamic linker. Since this was broken with cross compilers,
21313 # most powerpc-linux boxes support dynamic linking these days and
21314 # people can always --disable-shared, the test was removed, and we
21315 # assume the GNU/Linux dynamic linker is in use.
21316 dynamic_linker='GNU/Linux ld.so'
21323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21324 soname_spec='${libname}${release}${shared_ext}$major'
21325 shlibpath_var=LD_LIBRARY_PATH
21326 shlibpath_overrides_runpath=no
21327 hardcode_into_libs=yes
21328 dynamic_linker='GNU ld.so'
21335 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21337 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21338 dynamic_linker='NetBSD (a.out) ld.so'
21340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21341 soname_spec='${libname}${release}${shared_ext}$major'
21342 dynamic_linker='NetBSD ld.elf_so'
21344 shlibpath_var=LD_LIBRARY_PATH
21345 shlibpath_overrides_runpath=yes
21346 hardcode_into_libs=yes
21351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21352 shlibpath_var=LD_LIBRARY_PATH
21353 shlibpath_overrides_runpath=yes
21360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21361 soname_spec='${libname}${release}${shared_ext}$major'
21362 shlibpath_var=LD_LIBRARY_PATH
21363 shlibpath_overrides_runpath=yes
21370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21371 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21372 shlibpath_var=LD_LIBRARY_PATH
21373 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21375 openbsd2.[89] | openbsd2.[89].*)
21376 shlibpath_overrides_runpath=no
21379 shlibpath_overrides_runpath=yes
21383 shlibpath_overrides_runpath=yes
21388 libname_spec='$name'
21391 library_names_spec='$libname${shared_ext} $libname.a'
21392 dynamic_linker='OS/2 ld.exe'
21393 shlibpath_var=LIBPATH
21396 osf3* | osf4* | osf5*)
21400 soname_spec='${libname}${release}${shared_ext}$major'
21401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21402 shlibpath_var=LD_LIBRARY_PATH
21403 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21404 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21409 soname_spec='${libname}${release}${shared_ext}$major'
21410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21411 shlibpath_var=LD_LIBRARY_PATH
21418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21419 soname_spec='${libname}${release}${shared_ext}$major'
21420 shlibpath_var=LD_LIBRARY_PATH
21421 shlibpath_overrides_runpath=yes
21422 hardcode_into_libs=yes
21423 # ldd complains unless libraries are executable
21424 postinstall_cmds='chmod +x $lib'
21429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21430 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21431 shlibpath_var=LD_LIBRARY_PATH
21432 shlibpath_overrides_runpath=yes
21433 if test "$with_gnu_ld" = yes; then
21439 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21442 soname_spec='${libname}${release}${shared_ext}$major'
21443 shlibpath_var=LD_LIBRARY_PATH
21444 case $host_vendor in
21446 shlibpath_overrides_runpath=no
21448 export_dynamic_flag_spec='${wl}-Blargedynsym'
21449 runpath_var=LD_RUN_PATH
21457 shlibpath_overrides_runpath=no
21458 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21464 if test -d /usr/nec ;then
21466 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21467 soname_spec='$libname${shared_ext}.$major'
21468 shlibpath_var=LD_LIBRARY_PATH
21474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21475 soname_spec='${libname}${release}${shared_ext}$major'
21476 shlibpath_var=LD_LIBRARY_PATH
21483 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21484 echo "${ECHO_T}$dynamic_linker" >&6
21485 test "$dynamic_linker" = no && can_build_shared=no
21487 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21488 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21489 hardcode_action_F77=
21490 if test -n "$hardcode_libdir_flag_spec_F77" || \
21491 test -n "$runpath_var F77" || \
21492 test "X$hardcode_automatic_F77"="Xyes" ; then
21494 # We can hardcode non-existant directories.
21495 if test "$hardcode_direct_F77" != no &&
21496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21497 # have to relink, otherwise we might link with an installed library
21498 # when we should be linking with a yet-to-be-installed one
21499 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21500 test "$hardcode_minus_L_F77" != no; then
21501 # Linking always hardcodes the temporary library directory.
21502 hardcode_action_F77=relink
21504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21505 hardcode_action_F77=immediate
21508 # We cannot hardcode anything, or else we can only hardcode existing
21510 hardcode_action_F77=unsupported
21512 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
21513 echo "${ECHO_T}$hardcode_action_F77" >&6
21515 if test "$hardcode_action_F77" = relink; then
21516 # Fast installation is not supported
21517 enable_fast_install=no
21518 elif test "$shlibpath_overrides_runpath" = yes ||
21519 test "$enable_shared" = no; then
21520 # Fast installation is not necessary
21521 enable_fast_install=needless
21526 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
21527 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
21528 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
21529 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21530 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21531 echo "$as_me:$LINENO: result: yes" >&5
21532 echo "${ECHO_T}yes" >&6
21534 # FIXME - insert some real tests, host_os isn't really good enough
21537 if test -n "$STRIP" ; then
21538 striplib="$STRIP -x"
21539 echo "$as_me:$LINENO: result: yes" >&5
21540 echo "${ECHO_T}yes" >&6
21542 echo "$as_me:$LINENO: result: no" >&5
21543 echo "${ECHO_T}no" >&6
21547 echo "$as_me:$LINENO: result: no" >&5
21548 echo "${ECHO_T}no" >&6
21555 # The else clause should only fire when bootstrapping the
21556 # libtool distribution, otherwise you forgot to ship ltmain.sh
21557 # with your package, and you will get complaints that there are
21558 # no rules to generate ltmain.sh.
21559 if test -f "$ltmain"; then
21560 # See if we are running on zsh, and set the options which allow our commands through
21561 # without removal of \ escapes.
21562 if test -n "${ZSH_VERSION+set}" ; then
21563 setopt NO_GLOB_SUBST
21565 # Now quote all the things that may contain metacharacters while being
21566 # careful not to overquote the AC_SUBSTed values. We take copies of the
21567 # variables and quote the copies for generation of the libtool script.
21568 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21570 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21571 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21572 deplibs_check_method reload_flag reload_cmds need_locks \
21573 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21574 lt_cv_sys_global_symbol_to_c_name_address \
21575 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21576 old_postinstall_cmds old_postuninstall_cmds \
21580 lt_prog_compiler_wl_F77 \
21581 lt_prog_compiler_pic_F77 \
21582 lt_prog_compiler_static_F77 \
21583 lt_prog_compiler_no_builtin_flag_F77 \
21584 export_dynamic_flag_spec_F77 \
21585 thread_safe_flag_spec_F77 \
21586 whole_archive_flag_spec_F77 \
21587 enable_shared_with_static_runtimes_F77 \
21588 old_archive_cmds_F77 \
21589 old_archive_from_new_cmds_F77 \
21590 predep_objects_F77 \
21591 postdep_objects_F77 \
21594 compiler_lib_search_path_F77 \
21596 archive_expsym_cmds_F77 \
21597 postinstall_cmds_F77 \
21598 postuninstall_cmds_F77 \
21599 old_archive_from_expsyms_cmds_F77 \
21600 allow_undefined_flag_F77 \
21601 no_undefined_flag_F77 \
21602 export_symbols_cmds_F77 \
21603 hardcode_libdir_flag_spec_F77 \
21604 hardcode_libdir_flag_spec_ld_F77 \
21605 hardcode_libdir_separator_F77 \
21606 hardcode_automatic_F77 \
21608 module_expsym_cmds_F77 \
21609 lt_cv_prog_compiler_c_o_F77 \
21610 exclude_expsyms_F77 \
21611 include_expsyms_F77; do
21614 old_archive_cmds_F77 | \
21615 old_archive_from_new_cmds_F77 | \
21616 archive_cmds_F77 | \
21617 archive_expsym_cmds_F77 | \
21618 module_cmds_F77 | \
21619 module_expsym_cmds_F77 | \
21620 old_archive_from_expsyms_cmds_F77 | \
21621 export_symbols_cmds_F77 | \
21622 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21623 postinstall_cmds | postuninstall_cmds | \
21624 old_postinstall_cmds | old_postuninstall_cmds | \
21625 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21626 # Double-quote double-evaled strings.
21627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21630 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21636 *'\$0 --fallback-echo"')
21637 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21643 cat <<__EOF__ >> "$cfgfile"
21644 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21646 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21648 # Shell to use when invoking shell scripts.
21651 # Whether or not to build shared libraries.
21652 build_libtool_libs=$enable_shared
21654 # Whether or not to build static libraries.
21655 build_old_libs=$enable_static
21657 # Whether or not to add -lc for building shared libraries.
21658 build_libtool_need_lc=$archive_cmds_need_lc_F77
21660 # Whether or not to disallow shared libs when runtime libs are static
21661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
21663 # Whether or not to optimize for fast installation.
21664 fast_install=$enable_fast_install
21667 host_alias=$host_alias
21670 # An echo program that does not interpret backslashes.
21675 AR_FLAGS=$lt_AR_FLAGS
21680 # A language-specific compiler.
21681 CC=$lt_compiler_F77
21683 # Is the compiler the GNU C compiler?
21689 # The linker used to build libraries.
21692 # Whether we need hard or soft links.
21695 # A BSD-compatible nm program.
21698 # A symbol stripping program
21701 # Used to examine libraries when file_magic_cmd begins "file"
21702 MAGIC_CMD=$MAGIC_CMD
21704 # Used on cygwin: DLL creation program.
21707 # Used on cygwin: object dumper.
21710 # Used on cygwin: assembler.
21713 # The name of the directory that contains temporary libtool files.
21716 # How to create reloadable object files.
21717 reload_flag=$lt_reload_flag
21718 reload_cmds=$lt_reload_cmds
21720 # How to pass a linker flag through the compiler.
21721 wl=$lt_lt_prog_compiler_wl_F77
21723 # Object file suffix (normally "o").
21724 objext="$ac_objext"
21726 # Old archive suffix (normally "a").
21729 # Shared library suffix (normally ".so").
21730 shrext_cmds='$shrext_cmds'
21732 # Executable file suffix (normally "").
21735 # Additional compiler flags for building library objects.
21736 pic_flag=$lt_lt_prog_compiler_pic_F77
21739 # What is the maximum length of a command?
21740 max_cmd_len=$lt_cv_sys_max_cmd_len
21742 # Does compiler simultaneously support -c and -o options?
21743 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
21745 # Must we lock files when doing compilation ?
21746 need_locks=$lt_need_locks
21748 # Do we need the lib prefix for modules?
21749 need_lib_prefix=$need_lib_prefix
21751 # Do we need a version for libraries?
21752 need_version=$need_version
21754 # Whether dlopen is supported.
21755 dlopen_support=$enable_dlopen
21757 # Whether dlopen of programs is supported.
21758 dlopen_self=$enable_dlopen_self
21760 # Whether dlopen of statically linked programs is supported.
21761 dlopen_self_static=$enable_dlopen_self_static
21763 # Compiler flag to prevent dynamic linking.
21764 link_static_flag=$lt_lt_prog_compiler_static_F77
21766 # Compiler flag to turn off builtin functions.
21767 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
21769 # Compiler flag to allow reflexive dlopens.
21770 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
21772 # Compiler flag to generate shared objects directly from archives.
21773 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
21775 # Compiler flag to generate thread-safe objects.
21776 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
21778 # Library versioning type.
21779 version_type=$version_type
21781 # Format of library name prefix.
21782 libname_spec=$lt_libname_spec
21784 # List of archive names. First name is the real one, the rest are links.
21785 # The last name is the one that the linker finds with -lNAME.
21786 library_names_spec=$lt_library_names_spec
21788 # The coded name of the library, if different from the real name.
21789 soname_spec=$lt_soname_spec
21791 # Commands used to build and install an old-style archive.
21793 old_archive_cmds=$lt_old_archive_cmds_F77
21794 old_postinstall_cmds=$lt_old_postinstall_cmds
21795 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21797 # Create an old-style archive from a shared archive.
21798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
21800 # Create a temporary old-style archive to link instead of a shared archive.
21801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
21803 # Commands used to build and install a shared archive.
21804 archive_cmds=$lt_archive_cmds_F77
21805 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
21806 postinstall_cmds=$lt_postinstall_cmds
21807 postuninstall_cmds=$lt_postuninstall_cmds
21809 # Commands used to build a loadable module (assumed same as above if empty)
21810 module_cmds=$lt_module_cmds_F77
21811 module_expsym_cmds=$lt_module_expsym_cmds_F77
21813 # Commands to strip libraries.
21814 old_striplib=$lt_old_striplib
21815 striplib=$lt_striplib
21817 # Dependencies to place before the objects being linked to create a
21819 predep_objects=$lt_predep_objects_F77
21821 # Dependencies to place after the objects being linked to create a
21823 postdep_objects=$lt_postdep_objects_F77
21825 # Dependencies to place before the objects being linked to create a
21827 predeps=$lt_predeps_F77
21829 # Dependencies to place after the objects being linked to create a
21831 postdeps=$lt_postdeps_F77
21833 # The library search path used internally by the compiler when linking
21834 # a shared library.
21835 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
21837 # Method to check whether dependent libraries are shared objects.
21838 deplibs_check_method=$lt_deplibs_check_method
21840 # Command to use when deplibs_check_method == file_magic.
21841 file_magic_cmd=$lt_file_magic_cmd
21843 # Flag that allows shared libraries with undefined symbols to be built.
21844 allow_undefined_flag=$lt_allow_undefined_flag_F77
21846 # Flag that forces no undefined symbols.
21847 no_undefined_flag=$lt_no_undefined_flag_F77
21849 # Commands used to finish a libtool library installation in a directory.
21850 finish_cmds=$lt_finish_cmds
21852 # Same as above, but a single script fragment to be evaled but not shown.
21853 finish_eval=$lt_finish_eval
21855 # Take the output of nm and produce a listing of raw symbols and C names.
21856 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21858 # Transform the output of nm in a proper C declaration
21859 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21861 # Transform the output of nm in a C name address pair
21862 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21864 # This is the shared library runtime path variable.
21865 runpath_var=$runpath_var
21867 # This is the shared library path variable.
21868 shlibpath_var=$shlibpath_var
21870 # Is shlibpath searched before the hard-coded library search path?
21871 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21873 # How to hardcode a shared library path into an executable.
21874 hardcode_action=$hardcode_action_F77
21876 # Whether we should hardcode library paths into libraries.
21877 hardcode_into_libs=$hardcode_into_libs
21879 # Flag to hardcode \$libdir into a binary during linking.
21880 # This must work even if \$libdir does not exist.
21881 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
21883 # If ld is used when linking, flag to hardcode \$libdir into
21884 # a binary during linking. This must work even if \$libdir does
21886 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
21888 # Whether we need a single -rpath flag with a separated argument.
21889 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
21891 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21892 # resulting binary.
21893 hardcode_direct=$hardcode_direct_F77
21895 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21896 # resulting binary.
21897 hardcode_minus_L=$hardcode_minus_L_F77
21899 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21900 # the resulting binary.
21901 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
21903 # Set to yes if building a shared library automatically hardcodes DIR into the library
21904 # and all subsequent libraries and executables linked against it.
21905 hardcode_automatic=$hardcode_automatic_F77
21907 # Variables whose values should be saved in libtool wrapper scripts and
21908 # restored at relink time.
21909 variables_saved_for_relink="$variables_saved_for_relink"
21911 # Whether libtool must link a program against all its dependency libraries.
21912 link_all_deplibs=$link_all_deplibs_F77
21914 # Compile-time system search path for libraries
21915 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21917 # Run-time system search path for libraries
21918 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21920 # Fix the shell variable \$srcfile for the compiler.
21921 fix_srcfile_path="$fix_srcfile_path_F77"
21923 # Set to yes if exported symbols are required.
21924 always_export_symbols=$always_export_symbols_F77
21926 # The commands to list exported symbols.
21927 export_symbols_cmds=$lt_export_symbols_cmds_F77
21929 # The commands to extract the exported symbol list from a shared archive.
21930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21932 # Symbols that should not be listed in the preloaded symbols.
21933 exclude_expsyms=$lt_exclude_expsyms_F77
21935 # Symbols that must always be exported.
21936 include_expsyms=$lt_include_expsyms_F77
21938 # ### END LIBTOOL TAG CONFIG: $tagname
21944 # If there is no Makefile yet, we rely on a make rule to execute
21945 # `config.status --recheck' to rerun these tests and create the
21946 # libtool script then.
21947 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21948 if test -f "$ltmain_in"; then
21949 test -f Makefile && make "$ltmain"
21955 ac_cpp='$CPP $CPPFLAGS'
21956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21968 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
21972 # Source file extension for Java test sources.
21975 # Object file extension for compiled Java test sources.
21979 # Code to be used in simple compile tests
21980 lt_simple_compile_test_code="class foo {}\n"
21982 # Code to be used in simple link tests
21983 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
21985 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21987 # If no C compiler was specified, use CC.
21990 # Allow CC to be a program name with arguments.
21994 # Allow CC to be a program name with arguments.
22000 # GCJ did not exist at the time GCC didn't implicitly link libc in.
22001 archive_cmds_need_lc_GCJ=no
22004 lt_prog_compiler_no_builtin_flag_GCJ=
22006 if test "$GCC" = yes; then
22007 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
22010 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22011 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
22012 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 lt_cv_prog_compiler_rtti_exceptions=no
22016 ac_outfile=conftest.$ac_objext
22017 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22018 lt_compiler_flag="-fno-rtti -fno-exceptions"
22019 # Insert the option either (1) after the last *FLAGS variable, or
22020 # (2) before a word containing "conftest.", or (3) at the end.
22021 # Note that $ac_compile itself does not contain backslashes and begins
22022 # with a dollar sign (not a hyphen), so the echo should work correctly.
22023 # The option is referenced via a variable to avoid confusing sed.
22024 lt_compile=`echo "$ac_compile" | $SED \
22025 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22027 -e 's:$: $lt_compiler_flag:'`
22028 (eval echo "\"\$as_me:22028: $lt_compile\"" >&5)
22029 (eval "$lt_compile" 2>conftest.err)
22031 cat conftest.err >&5
22032 echo "$as_me:22032: \$? = $ac_status" >&5
22033 if (exit $ac_status) && test -s "$ac_outfile"; then
22034 # The compiler can only warn and ignore the option if not recognized
22035 # So say no if there are warnings
22036 if test ! -s conftest.err; then
22037 lt_cv_prog_compiler_rtti_exceptions=yes
22043 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
22044 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
22046 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
22047 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
22054 lt_prog_compiler_wl_GCJ=
22055 lt_prog_compiler_pic_GCJ=
22056 lt_prog_compiler_static_GCJ=
22058 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22059 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22061 if test "$GCC" = yes; then
22062 lt_prog_compiler_wl_GCJ='-Wl,'
22063 lt_prog_compiler_static_GCJ='-static'
22067 # All AIX code is PIC.
22068 if test "$host_cpu" = ia64; then
22069 # AIX 5 now supports IA64 processor
22070 lt_prog_compiler_static_GCJ='-Bstatic'
22075 # FIXME: we need at least 68020 code to build shared libraries, but
22076 # adding the `-m68020' flag to GCC prevents building anything better,
22078 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
22081 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22082 # PIC is the default for these OSes.
22085 mingw* | pw32* | os2*)
22086 # This hack is so that the source file can tell whether it is being
22087 # built for inclusion in a dll (and should export symbols for example).
22088 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22091 darwin* | rhapsody*)
22092 # PIC is the default on this platform
22093 # Common symbols not allowed in MH_DYLIB files
22094 lt_prog_compiler_pic_GCJ='-fno-common'
22098 # Just because we use GCC doesn't mean we suddenly get shared libraries
22099 # on systems that don't support them.
22100 lt_prog_compiler_can_build_shared_GCJ=no
22105 if test -d /usr/nec; then
22106 lt_prog_compiler_pic_GCJ=-Kconform_pic
22111 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22112 # not for PA HP-UX.
22113 case "$host_cpu" in
22118 lt_prog_compiler_pic_GCJ='-fPIC'
22124 lt_prog_compiler_pic_GCJ='-fPIC'
22128 # PORTME Check for flag to pass linker flags through the system compiler.
22131 lt_prog_compiler_wl_GCJ='-Wl,'
22132 if test "$host_cpu" = ia64; then
22133 # AIX 5 now supports IA64 processor
22134 lt_prog_compiler_static_GCJ='-Bstatic'
22136 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
22140 mingw* | pw32* | os2*)
22141 # This hack is so that the source file can tell whether it is being
22142 # built for inclusion in a dll (and should export symbols for example).
22143 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22146 hpux9* | hpux10* | hpux11*)
22147 lt_prog_compiler_wl_GCJ='-Wl,'
22148 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22149 # not for PA HP-UX.
22150 case "$host_cpu" in
22155 lt_prog_compiler_pic_GCJ='+Z'
22158 # Is there a better lt_prog_compiler_static that works with the bundled CC?
22159 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22162 irix5* | irix6* | nonstopux*)
22163 lt_prog_compiler_wl_GCJ='-Wl,'
22164 # PIC (with -KPIC) is the default.
22165 lt_prog_compiler_static_GCJ='-non_shared'
22169 lt_prog_compiler_pic_GCJ='-KPIC'
22170 lt_prog_compiler_static_GCJ='-Bstatic'
22176 lt_prog_compiler_wl_GCJ='-Wl,'
22177 lt_prog_compiler_pic_GCJ='-KPIC'
22178 lt_prog_compiler_static_GCJ='-static'
22181 lt_prog_compiler_wl_GCJ='-Wl,'
22182 # All Alpha code is PIC.
22183 lt_prog_compiler_static_GCJ='-non_shared'
22188 osf3* | osf4* | osf5*)
22189 lt_prog_compiler_wl_GCJ='-Wl,'
22190 # All OSF/1 code is PIC.
22191 lt_prog_compiler_static_GCJ='-non_shared'
22195 lt_prog_compiler_pic_GCJ='-Kpic'
22196 lt_prog_compiler_static_GCJ='-dn'
22200 lt_prog_compiler_wl_GCJ='-Wl,'
22201 lt_prog_compiler_pic_GCJ='-KPIC'
22202 lt_prog_compiler_static_GCJ='-Bstatic'
22206 lt_prog_compiler_wl_GCJ='-Qoption ld '
22207 lt_prog_compiler_pic_GCJ='-PIC'
22208 lt_prog_compiler_static_GCJ='-Bstatic'
22211 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22212 lt_prog_compiler_wl_GCJ='-Wl,'
22213 lt_prog_compiler_pic_GCJ='-KPIC'
22214 lt_prog_compiler_static_GCJ='-Bstatic'
22218 if test -d /usr/nec ;then
22219 lt_prog_compiler_pic_GCJ='-Kconform_pic'
22220 lt_prog_compiler_static_GCJ='-Bstatic'
22225 lt_prog_compiler_pic_GCJ='-pic'
22226 lt_prog_compiler_static_GCJ='-Bstatic'
22230 lt_prog_compiler_can_build_shared_GCJ=no
22235 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22236 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22239 # Check to make sure the PIC flag actually works.
22241 if test -n "$lt_prog_compiler_pic_GCJ"; then
22243 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22244 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22245 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 lt_prog_compiler_pic_works_GCJ=no
22249 ac_outfile=conftest.$ac_objext
22250 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22251 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22252 # Insert the option either (1) after the last *FLAGS variable, or
22253 # (2) before a word containing "conftest.", or (3) at the end.
22254 # Note that $ac_compile itself does not contain backslashes and begins
22255 # with a dollar sign (not a hyphen), so the echo should work correctly.
22256 # The option is referenced via a variable to avoid confusing sed.
22257 lt_compile=`echo "$ac_compile" | $SED \
22258 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22260 -e 's:$: $lt_compiler_flag:'`
22261 (eval echo "\"\$as_me:22261: $lt_compile\"" >&5)
22262 (eval "$lt_compile" 2>conftest.err)
22264 cat conftest.err >&5
22265 echo "$as_me:22265: \$? = $ac_status" >&5
22266 if (exit $ac_status) && test -s "$ac_outfile"; then
22267 # The compiler can only warn and ignore the option if not recognized
22268 # So say no if there are warnings
22269 if test ! -s conftest.err; then
22270 lt_prog_compiler_pic_works_GCJ=yes
22276 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22277 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22279 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22280 case $lt_prog_compiler_pic_GCJ in
22282 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22285 lt_prog_compiler_pic_GCJ=
22286 lt_prog_compiler_can_build_shared_GCJ=no
22291 # For platforms which do not support PIC, -DPIC is meaningless:
22293 lt_prog_compiler_pic_GCJ=
22296 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22300 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22301 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22302 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22303 echo $ECHO_N "(cached) $ECHO_C" >&6
22305 lt_cv_prog_compiler_c_o_GCJ=no
22306 $rm -r conftest 2>/dev/null
22310 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22312 lt_compiler_flag="-o out/conftest2.$ac_objext"
22313 # Insert the option either (1) after the last *FLAGS variable, or
22314 # (2) before a word containing "conftest.", or (3) at the end.
22315 # Note that $ac_compile itself does not contain backslashes and begins
22316 # with a dollar sign (not a hyphen), so the echo should work correctly.
22317 lt_compile=`echo "$ac_compile" | $SED \
22318 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22320 -e 's:$: $lt_compiler_flag:'`
22321 (eval echo "\"\$as_me:22321: $lt_compile\"" >&5)
22322 (eval "$lt_compile" 2>out/conftest.err)
22324 cat out/conftest.err >&5
22325 echo "$as_me:22325: \$? = $ac_status" >&5
22326 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22328 # The compiler can only warn and ignore the option if not recognized
22329 # So say no if there are warnings
22330 if test ! -s out/conftest.err; then
22331 lt_cv_prog_compiler_c_o_GCJ=yes
22336 # SGI C++ compiler will create directory out/ii_files/ for
22337 # template instantiation
22338 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22339 $rm out/* && rmdir out
22345 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22346 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22349 hard_links="nottested"
22350 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22351 # do not overwrite the value of need_locks provided by the user
22352 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22353 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22356 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22358 ln conftest.a conftest.b 2>&5 || hard_links=no
22359 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22360 echo "$as_me:$LINENO: result: $hard_links" >&5
22361 echo "${ECHO_T}$hard_links" >&6
22362 if test "$hard_links" = no; then
22363 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22364 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22371 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22372 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22375 allow_undefined_flag_GCJ=
22376 enable_shared_with_static_runtimes_GCJ=no
22378 archive_expsym_cmds_GCJ=
22379 old_archive_From_new_cmds_GCJ=
22380 old_archive_from_expsyms_cmds_GCJ=
22381 export_dynamic_flag_spec_GCJ=
22382 whole_archive_flag_spec_GCJ=
22383 thread_safe_flag_spec_GCJ=
22384 hardcode_libdir_flag_spec_GCJ=
22385 hardcode_libdir_flag_spec_ld_GCJ=
22386 hardcode_libdir_separator_GCJ=
22387 hardcode_direct_GCJ=no
22388 hardcode_minus_L_GCJ=no
22389 hardcode_shlibpath_var_GCJ=unsupported
22390 link_all_deplibs_GCJ=unknown
22391 hardcode_automatic_GCJ=no
22393 module_expsym_cmds_GCJ=
22394 always_export_symbols_GCJ=no
22395 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22396 # include_expsyms should be a list of space-separated symbols to be *always*
22397 # included in the symbol list
22398 include_expsyms_GCJ=
22399 # exclude_expsyms can be an extended regexp of symbols to exclude
22400 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22401 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22402 # as well as any symbol that contains `d'.
22403 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22404 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22405 # platforms (ab)use it in PIC code, but their linkers get confused if
22406 # the symbol is explicitly referenced. Since portable code cannot
22407 # rely on this symbol name, it's probably fine to never include it in
22408 # preloaded symbol tables.
22409 extract_expsyms_cmds=
22412 cygwin* | mingw* | pw32*)
22413 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22414 # When not using gcc, we currently assume that we are using
22415 # Microsoft Visual C++.
22416 if test "$GCC" != yes; then
22426 if test "$with_gnu_ld" = yes; then
22427 # If archive_cmds runs LD, not CC, wlarc should be empty
22430 # See if GNU ld supports shared libraries.
22432 aix3* | aix4* | aix5*)
22433 # On AIX/PPC, the GNU linker is very broken
22434 if test "$host_cpu" != ia64; then
22438 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22439 *** to be unable to reliably create shared libraries on AIX.
22440 *** Therefore, libtool is disabling shared libraries support. If you
22441 *** really care for shared libraries, you may want to modify your PATH
22442 *** so that a non-GNU linker is found, and then restart.
22449 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)'
22450 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22451 hardcode_minus_L_GCJ=yes
22453 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22454 # that the semantics of dynamic libraries on AmigaOS, at least up
22455 # to version 4, is to share data among multiple programs linked
22456 # with the same dynamic library. Since this doesn't match the
22457 # behavior of shared libraries on other platforms, we can't use
22463 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22464 allow_undefined_flag_GCJ=unsupported
22465 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22466 # support --undefined. This deserves some investigation. FIXME
22467 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22473 cygwin* | mingw* | pw32*)
22474 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22475 # as there is no search path for DLLs.
22476 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22477 allow_undefined_flag_GCJ=unsupported
22478 always_export_symbols_GCJ=no
22479 enable_shared_with_static_runtimes_GCJ=yes
22480 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22482 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22483 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22484 # If the export-symbols file already is a .def file (1st line
22485 # is EXPORTS), use it as is; otherwise, prepend...
22486 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22487 cp $export_symbols $output_objdir/$soname.def;
22489 echo EXPORTS > $output_objdir/$soname.def;
22490 cat $export_symbols >> $output_objdir/$soname.def;
22492 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22499 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22500 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22503 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22504 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22509 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22513 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22514 *** create shared libraries on Solaris systems. Therefore, libtool
22515 *** is disabling shared libraries support. We urge you to upgrade GNU
22516 *** binutils to release 2.9.1 or newer. Another option is to modify
22517 *** your PATH or compiler configuration so that the native linker is
22518 *** used, and then restart.
22521 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22522 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22523 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22530 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22532 hardcode_direct_GCJ=yes
22533 hardcode_shlibpath_var_GCJ=no
22537 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22538 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22539 archive_cmds_GCJ="$tmp_archive_cmds"
22540 supports_anon_versioning=no
22541 case `$LD -v 2>/dev/null` in
22542 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22543 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22544 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22545 *\ 2.11.*) ;; # other 2.11 versions
22546 *) supports_anon_versioning=yes ;;
22548 if test $supports_anon_versioning = yes; then
22549 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
22550 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22551 $echo "local: *; };" >> $output_objdir/$libname.ver~
22552 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22554 archive_expsym_cmds_GCJ="$tmp_archive_cmds"
22562 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22563 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22564 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22571 if test "$ld_shlibs_GCJ" = yes; then
22572 runpath_var=LD_RUN_PATH
22573 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
22574 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
22575 # ancient GNU ld didn't support --whole-archive et. al.
22576 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22577 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22579 whole_archive_flag_spec_GCJ=
22583 # PORTME fill in a description of your system's linker (not GNU ld)
22586 allow_undefined_flag_GCJ=unsupported
22587 always_export_symbols_GCJ=yes
22588 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'
22589 # Note: this linker hardcodes the directories in LIBPATH if there
22590 # are no directories specified by -L.
22591 hardcode_minus_L_GCJ=yes
22592 if test "$GCC" = yes && test -z "$link_static_flag"; then
22593 # Neither direct hardcoding nor static linking is supported with a
22595 hardcode_direct_GCJ=unsupported
22600 if test "$host_cpu" = ia64; then
22601 # On IA64, the linker does run time linking by default, so we don't
22602 # have to do anything special.
22603 aix_use_runtimelinking=no
22604 exp_sym_flag='-Bexport'
22607 # If we're using GNU nm, then we don't want the "-C" option.
22608 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22609 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22610 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'
22612 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'
22614 aix_use_runtimelinking=no
22616 # Test if we are trying to use run time linking or normal
22617 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22618 # need to do runtime linking.
22619 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22620 for ld_flag in $LDFLAGS; do
22621 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22622 aix_use_runtimelinking=yes
22628 exp_sym_flag='-bexport'
22629 no_entry_flag='-bnoentry'
22632 # When large executables or shared objects are built, AIX ld can
22633 # have problems creating the table of contents. If linking a library
22634 # or program results in "error TOC overflow" add -mminimal-toc to
22635 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22636 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22638 archive_cmds_GCJ=''
22639 hardcode_direct_GCJ=yes
22640 hardcode_libdir_separator_GCJ=':'
22641 link_all_deplibs_GCJ=yes
22643 if test "$GCC" = yes; then
22644 case $host_os in aix4.012|aix4.012.*)
22645 # We only want to do this on AIX 4.2 and lower, the check
22646 # below for broken collect2 doesn't work under 4.3+
22647 collect2name=`${CC} -print-prog-name=collect2`
22648 if test -f "$collect2name" && \
22649 strings "$collect2name" | grep resolve_lib_name >/dev/null
22651 # We have reworked collect2
22652 hardcode_direct_GCJ=yes
22654 # We have old collect2
22655 hardcode_direct_GCJ=unsupported
22656 # It fails to find uninstalled libraries when the uninstalled
22657 # path is not listed in the libpath. Setting hardcode_minus_L
22658 # to unsupported forces relinking
22659 hardcode_minus_L_GCJ=yes
22660 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22661 hardcode_libdir_separator_GCJ=
22664 shared_flag='-shared'
22667 if test "$host_cpu" = ia64; then
22668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22669 # chokes on -Wl,-G. The following line is correct:
22672 if test "$aix_use_runtimelinking" = yes; then
22673 shared_flag='${wl}-G'
22675 shared_flag='${wl}-bM:SRE'
22680 # It seems that -bexpall does not export symbols beginning with
22681 # underscore (_), so it is better to generate a list of symbols to export.
22682 always_export_symbols_GCJ=yes
22683 if test "$aix_use_runtimelinking" = yes; then
22684 # Warning - without using the other runtime loading flags (-brtl),
22685 # -berok will link without error, but may produce a broken library.
22686 allow_undefined_flag_GCJ='-berok'
22687 # Determine the default libpath from the value encoded in an empty executable.
22688 cat >conftest.$ac_ext <<_ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22703 rm -f conftest.$ac_objext conftest$ac_exeext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22705 (eval $ac_link) 2>conftest.er1
22707 grep -v '^ *+' conftest.er1 >conftest.err
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try='test -z "$ac_c_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try='test -s conftest$ac_exeext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22726 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22728 # Check for a 64-bit object if we didn't find anything.
22729 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; }
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22736 rm -f conftest.err conftest.$ac_objext \
22737 conftest$ac_exeext conftest.$ac_ext
22738 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22740 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
22741 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22743 if test "$host_cpu" = ia64; then
22744 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
22745 allow_undefined_flag_GCJ="-z nodefs"
22746 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
22748 # Determine the default libpath from the value encoded in an empty executable.
22749 cat >conftest.$ac_ext <<_ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22764 rm -f conftest.$ac_objext conftest$ac_exeext
22765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22766 (eval $ac_link) 2>conftest.er1
22768 grep -v '^ *+' conftest.er1 >conftest.err
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } &&
22773 { ac_try='test -z "$ac_c_werror_flag"
22774 || test ! -s conftest.err'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; } &&
22780 { ac_try='test -s conftest$ac_exeext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22787 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22789 # Check for a 64-bit object if we didn't find anything.
22790 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; }
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22797 rm -f conftest.err conftest.$ac_objext \
22798 conftest$ac_exeext conftest.$ac_ext
22799 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22801 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
22802 # Warning - without using the other run time loading flags,
22803 # -berok will link without error, but may produce a broken library.
22804 no_undefined_flag_GCJ=' ${wl}-bernotok'
22805 allow_undefined_flag_GCJ=' ${wl}-berok'
22806 # -bexpall does not export symbols beginning with underscore (_)
22807 always_export_symbols_GCJ=yes
22808 # Exported symbols can be pulled into shared objects from archives
22809 whole_archive_flag_spec_GCJ=' '
22810 archive_cmds_need_lc_GCJ=yes
22811 # This is similar to how AIX traditionally builds it's shared libraries.
22812 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
22818 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)'
22819 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22820 hardcode_minus_L_GCJ=yes
22821 # see comment about different semantics on the GNU ld section
22826 export_dynamic_flag_spec_GCJ=-rdynamic
22829 cygwin* | mingw* | pw32*)
22830 # When not using gcc, we currently assume that we are using
22831 # Microsoft Visual C++.
22832 # hardcode_libdir_flag_spec is actually meaningless, as there is
22833 # no search path for DLLs.
22834 hardcode_libdir_flag_spec_GCJ=' '
22835 allow_undefined_flag_GCJ=unsupported
22836 # Tell ltmain to make .lib files, not .a files.
22838 # Tell ltmain to make .dll files, not .so files.
22840 # FIXME: Setting linknames here is a bad hack.
22841 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22842 # The linker will automatically build a .lib file if we build a DLL.
22843 old_archive_From_new_cmds_GCJ='true'
22844 # FIXME: Should let the user specify the lib program.
22845 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
22846 fix_srcfile_path='`cygpath -w "$srcfile"`'
22847 enable_shared_with_static_runtimes_GCJ=yes
22850 darwin* | rhapsody*)
22851 if test "$GXX" = yes ; then
22852 archive_cmds_need_lc_GCJ=no
22854 rhapsody* | darwin1.[012])
22855 allow_undefined_flag_GCJ='-undefined suppress'
22858 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22859 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
22861 case ${MACOSX_DEPLOYMENT_TARGET} in
22863 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
22866 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
22872 lt_int_apple_cc_single_mod=no
22873 output_verbose_link_cmd='echo'
22874 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
22875 lt_int_apple_cc_single_mod=yes
22877 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
22878 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22880 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
22882 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22883 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
22884 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
22885 archive_expsym_cmds_GCJ='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}'
22887 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
22889 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}'
22890 hardcode_direct_GCJ=no
22891 hardcode_automatic_GCJ=yes
22892 hardcode_shlibpath_var_GCJ=unsupported
22893 whole_archive_flag_spec_GCJ='-all_load $convenience'
22894 link_all_deplibs_GCJ=yes
22901 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22902 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22903 hardcode_shlibpath_var_GCJ=no
22910 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22911 # support. Future versions do this automatically, but an explicit c++rt0.o
22912 # does not break anything, and helps significantly (at the cost of a little
22915 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22916 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22917 hardcode_direct_GCJ=yes
22918 hardcode_shlibpath_var_GCJ=no
22921 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22923 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22924 hardcode_direct_GCJ=yes
22925 hardcode_minus_L_GCJ=yes
22926 hardcode_shlibpath_var_GCJ=no
22929 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22930 freebsd* | kfreebsd*-gnu)
22931 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22932 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22933 hardcode_direct_GCJ=yes
22934 hardcode_shlibpath_var_GCJ=no
22938 if test "$GCC" = yes; then
22939 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'
22941 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'
22943 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
22944 hardcode_libdir_separator_GCJ=:
22945 hardcode_direct_GCJ=yes
22947 # hardcode_minus_L: Not really in the search PATH,
22948 # but as the default location of the library.
22949 hardcode_minus_L_GCJ=yes
22950 export_dynamic_flag_spec_GCJ='${wl}-E'
22954 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22955 case "$host_cpu" in
22957 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22960 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22964 case "$host_cpu" in
22966 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
22969 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22973 if test "$with_gnu_ld" = no; then
22974 case "$host_cpu" in
22976 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
22977 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
22978 hardcode_libdir_separator_GCJ=:
22979 hardcode_direct_GCJ=no
22980 hardcode_shlibpath_var_GCJ=no
22983 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22984 hardcode_direct_GCJ=no
22985 hardcode_shlibpath_var_GCJ=no
22987 # hardcode_minus_L: Not really in the search PATH,
22988 # but as the default location of the library.
22989 hardcode_minus_L_GCJ=yes
22992 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
22993 hardcode_libdir_separator_GCJ=:
22994 hardcode_direct_GCJ=yes
22995 export_dynamic_flag_spec_GCJ='${wl}-E'
22997 # hardcode_minus_L: Not really in the search PATH,
22998 # but as the default location of the library.
22999 hardcode_minus_L_GCJ=yes
23005 irix5* | irix6* | nonstopux*)
23006 if test "$GCC" = yes; then
23007 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'
23009 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'
23010 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
23012 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23013 hardcode_libdir_separator_GCJ=:
23014 link_all_deplibs_GCJ=yes
23018 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23019 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23021 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23023 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23024 hardcode_direct_GCJ=yes
23025 hardcode_shlibpath_var_GCJ=no
23029 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23030 hardcode_direct_GCJ=yes
23031 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23032 hardcode_libdir_separator_GCJ=:
23033 hardcode_shlibpath_var_GCJ=no
23037 hardcode_direct_GCJ=yes
23038 hardcode_shlibpath_var_GCJ=no
23039 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23040 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23041 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23042 export_dynamic_flag_spec_GCJ='${wl}-E'
23045 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23046 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23047 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23050 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23051 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23058 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23059 hardcode_minus_L_GCJ=yes
23060 allow_undefined_flag_GCJ=unsupported
23061 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'
23062 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23066 if test "$GCC" = yes; then
23067 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23068 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'
23070 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23071 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'
23073 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23074 hardcode_libdir_separator_GCJ=:
23077 osf4* | osf5*) # as osf3* with the addition of -msym flag
23078 if test "$GCC" = yes; then
23079 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23080 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'
23081 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23083 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23084 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'
23085 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~
23086 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
23088 # Both c and cxx compiler support -rpath directly
23089 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
23091 hardcode_libdir_separator_GCJ=:
23095 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23096 hardcode_shlibpath_var_GCJ=no
23097 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
23098 runpath_var=LD_RUN_PATH
23099 hardcode_runpath_var=yes
23103 no_undefined_flag_GCJ=' -z text'
23104 if test "$GCC" = yes; then
23105 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23106 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23107 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23109 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23110 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23111 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23113 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23114 hardcode_shlibpath_var_GCJ=no
23116 solaris2.[0-5] | solaris2.[0-5].*) ;;
23117 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
23118 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
23120 link_all_deplibs_GCJ=yes
23124 if test "x$host_vendor" = xsequent; then
23125 # Use $CC to link under sequent, because it throws in some extra .o
23126 # files that make .init and .fini sections work.
23127 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23129 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23131 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23132 hardcode_direct_GCJ=yes
23133 hardcode_minus_L_GCJ=yes
23134 hardcode_shlibpath_var_GCJ=no
23138 case $host_vendor in
23140 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23141 hardcode_direct_GCJ=yes # is this really true???
23144 ## LD is ld it makes a PLAMLIB
23145 ## CC just makes a GrossModule.
23146 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23147 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
23148 hardcode_direct_GCJ=no
23151 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23152 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
23155 runpath_var='LD_RUN_PATH'
23156 hardcode_shlibpath_var_GCJ=no
23160 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23161 hardcode_shlibpath_var_GCJ=no
23162 export_dynamic_flag_spec_GCJ='-Bexport'
23166 if test -d /usr/nec; then
23167 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23168 hardcode_shlibpath_var_GCJ=no
23169 runpath_var=LD_RUN_PATH
23170 hardcode_runpath_var=yes
23176 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23177 hardcode_direct_GCJ=yes
23178 hardcode_minus_L_GCJ=no
23179 hardcode_shlibpath_var_GCJ=no
23180 hardcode_runpath_var=yes
23181 runpath_var=LD_RUN_PATH
23184 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
23185 no_undefined_flag_GCJ='${wl}-z ${wl}text'
23186 if test "$GCC" = yes; then
23187 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23189 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23191 runpath_var='LD_RUN_PATH'
23192 hardcode_shlibpath_var_GCJ=no
23196 no_undefined_flag_GCJ=' -z text'
23197 # $CC -shared without GNU ld will not create a library from C++
23198 # object files and a static libstdc++, better avoid it by now
23199 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23200 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23201 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23202 hardcode_libdir_flag_spec_GCJ=
23203 hardcode_shlibpath_var_GCJ=no
23204 runpath_var='LD_RUN_PATH'
23208 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23209 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23210 hardcode_shlibpath_var_GCJ=no
23219 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
23220 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
23221 test "$ld_shlibs_GCJ" = no && can_build_shared=no
23223 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23224 if test "$GCC" = yes; then
23225 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23229 # Do we need to explicitly link libc?
23231 case "x$archive_cmds_need_lc_GCJ" in
23233 # Assume -lc should be added
23234 archive_cmds_need_lc_GCJ=yes
23236 if test "$enable_shared" = yes && test "$GCC" = yes; then
23237 case $archive_cmds_GCJ in
23239 # FIXME: we may have to deal with multi-command sequences.
23242 # Test whether the compiler implicitly links with -lc since on some
23243 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23244 # to ld, don't add -lc before -lgcc.
23245 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23246 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23248 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23251 (eval $ac_compile) 2>&5
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); } 2>conftest.err; then
23257 libobjs=conftest.$ac_objext
23259 wl=$lt_prog_compiler_wl_GCJ
23265 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
23266 allow_undefined_flag_GCJ=
23267 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23268 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }
23273 archive_cmds_need_lc_GCJ=no
23275 archive_cmds_need_lc_GCJ=yes
23277 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
23279 cat conftest.err 1>&5
23282 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
23283 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
23290 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23291 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23292 library_names_spec=
23293 libname_spec='lib$name'
23297 postuninstall_cmds=
23301 shlibpath_overrides_runpath=unknown
23303 dynamic_linker="$host_os ld.so"
23304 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23305 if test "$GCC" = yes; then
23306 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23307 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23308 # if the path contains ";" then we assume it to be the separator
23309 # otherwise default to the standard path separator (i.e. ":") - it is
23310 # assumed that no part of a normal pathname contains ";" but that should
23311 # okay in the real world where ";" in dirpaths is itself problematic.
23312 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23314 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23317 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23319 need_lib_prefix=unknown
23320 hardcode_into_libs=no
23322 # when you set need_version to no, make sure it does not cause -set_version
23323 # flags to be left without arguments
23324 need_version=unknown
23329 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23330 shlibpath_var=LIBPATH
23332 # AIX 3 has no versioning support, so we append a major version to the name.
23333 soname_spec='${libname}${release}${shared_ext}$major'
23340 hardcode_into_libs=yes
23341 if test "$host_cpu" = ia64; then
23342 # AIX 5 supports IA64
23343 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23344 shlibpath_var=LD_LIBRARY_PATH
23346 # With GCC up to 2.95.x, collect2 would create an import file
23347 # for dependence libraries. The import file would start with
23348 # the line `#! .'. This would cause the generated library to
23349 # depend on `.', always an invalid library. This was fixed in
23350 # development snapshots of GCC prior to 3.0.
23352 aix4 | aix4.[01] | aix4.[01].*)
23353 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23355 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23358 can_build_shared=no
23362 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23363 # soname into executable. Probably we can add versioning support to
23364 # collect2, so additional links can be useful in future.
23365 if test "$aix_use_runtimelinking" = yes; then
23366 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23367 # instead of lib<name>.a to let people know that these are not
23368 # typical AIX shared libraries.
23369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23371 # We preserve .a as extension for shared libraries through AIX4.2
23372 # and later when we are not doing run time linking.
23373 library_names_spec='${libname}${release}.a $libname.a'
23374 soname_spec='${libname}${release}${shared_ext}$major'
23376 shlibpath_var=LIBPATH
23381 library_names_spec='$libname.ixlibrary $libname.a'
23382 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23383 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'
23387 library_names_spec='${libname}${shared_ext}'
23388 dynamic_linker="$host_os ld.so"
23389 shlibpath_var=LIBRARY_PATH
23395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23396 soname_spec='${libname}${release}${shared_ext}$major'
23397 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23398 shlibpath_var=LD_LIBRARY_PATH
23399 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23400 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23401 # the default ld.so.conf also contains /usr/contrib/lib and
23402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23403 # libtool to hard-code these into programs
23406 cygwin* | mingw* | pw32*)
23407 version_type=windows
23412 case $GCC,$host_os in
23413 yes,cygwin* | yes,mingw* | yes,pw32*)
23414 library_names_spec='$libname.dll.a'
23415 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23416 postinstall_cmds='base_file=`basename \${file}`~
23417 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23418 dldir=$destdir/`dirname \$dlpath`~
23419 test -d \$dldir || mkdir -p \$dldir~
23420 $install_prog $dir/$dlname \$dldir/$dlname'
23421 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23422 dlpath=$dir/\$dldll~
23424 shlibpath_overrides_runpath=yes
23428 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23429 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23430 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23433 # MinGW DLLs use traditional 'lib' prefix
23434 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23435 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23436 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23437 # It is most probably a Windows format PATH printed by
23438 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23439 # path with ; separators, and with drive letters. We can handle the
23440 # drive letters (cygwin fileutils understands them), so leave them,
23441 # especially as we might pass files found there to a mingw objdump,
23442 # which wouldn't understand a cygwinified path. Ahh.
23443 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23445 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23449 # pw32 DLLs use 'pw' prefix rather than 'lib'
23450 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
23456 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23459 dynamic_linker='Win32 ld.exe'
23460 # FIXME: first we should search . and the directory the executable is in
23464 darwin* | rhapsody*)
23465 dynamic_linker="$host_os dyld"
23466 version_type=darwin
23469 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23470 soname_spec='${libname}${release}${major}$shared_ext'
23471 shlibpath_overrides_runpath=yes
23472 shlibpath_var=DYLD_LIBRARY_PATH
23473 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
23474 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23475 if test "$GCC" = yes; then
23476 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"`
23478 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
23480 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23488 soname_spec='${libname}${release}${shared_ext}$major'
23489 shlibpath_var=LD_LIBRARY_PATH
23500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23501 soname_spec='${libname}${release}${shared_ext}$major'
23502 shlibpath_var=LD_LIBRARY_PATH
23503 shlibpath_overrides_runpath=no
23504 hardcode_into_libs=yes
23505 dynamic_linker='GNU ld.so'
23509 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
23510 version_type=freebsd-$objformat
23511 case $version_type in
23513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23518 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23522 shlibpath_var=LD_LIBRARY_PATH
23525 shlibpath_overrides_runpath=yes
23527 freebsd3.01* | freebsdelf3.01*)
23528 shlibpath_overrides_runpath=yes
23529 hardcode_into_libs=yes
23532 shlibpath_overrides_runpath=no
23533 hardcode_into_libs=yes
23542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23543 soname_spec='${libname}${release}${shared_ext}$major'
23544 shlibpath_var=LD_LIBRARY_PATH
23545 hardcode_into_libs=yes
23548 hpux9* | hpux10* | hpux11*)
23549 # Give a soname corresponding to the major version so that dld.sl refuses to
23550 # link against other versions.
23554 case "$host_cpu" in
23557 hardcode_into_libs=yes
23558 dynamic_linker="$host_os dld.so"
23559 shlibpath_var=LD_LIBRARY_PATH
23560 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23562 soname_spec='${libname}${release}${shared_ext}$major'
23563 if test "X$HPUX_IA64_MODE" = X32; then
23564 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23566 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23572 hardcode_into_libs=yes
23573 dynamic_linker="$host_os dld.sl"
23574 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23575 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23577 soname_spec='${libname}${release}${shared_ext}$major'
23578 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23579 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23583 dynamic_linker="$host_os dld.sl"
23584 shlibpath_var=SHLIB_PATH
23585 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23587 soname_spec='${libname}${release}${shared_ext}$major'
23590 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23591 postinstall_cmds='chmod 555 $lib'
23594 irix5* | irix6* | nonstopux*)
23596 nonstopux*) version_type=nonstopux ;;
23598 if test "$lt_cv_prog_gnu_ld" = yes; then
23606 soname_spec='${libname}${release}${shared_ext}$major'
23607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23609 irix5* | nonstopux*)
23610 libsuff= shlibsuff=
23613 case $LD in # libtool.m4 will add one of these switches to LD
23614 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23615 libsuff= shlibsuff= libmagic=32-bit;;
23616 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23617 libsuff=32 shlibsuff=N32 libmagic=N32;;
23618 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23619 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23620 *) libsuff= shlibsuff= libmagic=never-match;;
23624 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23625 shlibpath_overrides_runpath=no
23626 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23627 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23628 hardcode_into_libs=yes
23631 # No shared lib support for Linux oldld, aout, or coff.
23632 linux*oldld* | linux*aout* | linux*coff*)
23636 # This must be Linux ELF.
23641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23642 soname_spec='${libname}${release}${shared_ext}$major'
23643 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23644 shlibpath_var=LD_LIBRARY_PATH
23645 shlibpath_overrides_runpath=no
23646 # This implies no fast_install, which is unacceptable.
23647 # Some rework will be needed to allow for fast_install
23648 # before this can be enabled.
23649 hardcode_into_libs=yes
23651 # find out which ABI we are using
23653 case "$host_cpu" in
23654 x86_64*|s390x*|powerpc64*)
23655 echo '#line 23655 "configure"' > conftest.$ac_ext
23656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23657 (eval $ac_compile) 2>&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; then
23661 case `/usr/bin/file conftest.$ac_objext` in
23664 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
23672 # Append ld.so.conf contents to the search path
23673 if test -f /etc/ld.so.conf; then
23674 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
23675 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
23678 # We used to test for /lib/ld.so.1 and disable shared libraries on
23679 # powerpc, because MkLinux only supported shared libraries with the
23680 # GNU dynamic linker. Since this was broken with cross compilers,
23681 # most powerpc-linux boxes support dynamic linking these days and
23682 # people can always --disable-shared, the test was removed, and we
23683 # assume the GNU/Linux dynamic linker is in use.
23684 dynamic_linker='GNU/Linux ld.so'
23691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23692 soname_spec='${libname}${release}${shared_ext}$major'
23693 shlibpath_var=LD_LIBRARY_PATH
23694 shlibpath_overrides_runpath=no
23695 hardcode_into_libs=yes
23696 dynamic_linker='GNU ld.so'
23703 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23705 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23706 dynamic_linker='NetBSD (a.out) ld.so'
23708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23709 soname_spec='${libname}${release}${shared_ext}$major'
23710 dynamic_linker='NetBSD ld.elf_so'
23712 shlibpath_var=LD_LIBRARY_PATH
23713 shlibpath_overrides_runpath=yes
23714 hardcode_into_libs=yes
23719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23720 shlibpath_var=LD_LIBRARY_PATH
23721 shlibpath_overrides_runpath=yes
23728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23729 soname_spec='${libname}${release}${shared_ext}$major'
23730 shlibpath_var=LD_LIBRARY_PATH
23731 shlibpath_overrides_runpath=yes
23738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23739 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23740 shlibpath_var=LD_LIBRARY_PATH
23741 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23743 openbsd2.[89] | openbsd2.[89].*)
23744 shlibpath_overrides_runpath=no
23747 shlibpath_overrides_runpath=yes
23751 shlibpath_overrides_runpath=yes
23756 libname_spec='$name'
23759 library_names_spec='$libname${shared_ext} $libname.a'
23760 dynamic_linker='OS/2 ld.exe'
23761 shlibpath_var=LIBPATH
23764 osf3* | osf4* | osf5*)
23768 soname_spec='${libname}${release}${shared_ext}$major'
23769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23770 shlibpath_var=LD_LIBRARY_PATH
23771 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23772 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23777 soname_spec='${libname}${release}${shared_ext}$major'
23778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23779 shlibpath_var=LD_LIBRARY_PATH
23786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23787 soname_spec='${libname}${release}${shared_ext}$major'
23788 shlibpath_var=LD_LIBRARY_PATH
23789 shlibpath_overrides_runpath=yes
23790 hardcode_into_libs=yes
23791 # ldd complains unless libraries are executable
23792 postinstall_cmds='chmod +x $lib'
23797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23798 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23799 shlibpath_var=LD_LIBRARY_PATH
23800 shlibpath_overrides_runpath=yes
23801 if test "$with_gnu_ld" = yes; then
23807 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23810 soname_spec='${libname}${release}${shared_ext}$major'
23811 shlibpath_var=LD_LIBRARY_PATH
23812 case $host_vendor in
23814 shlibpath_overrides_runpath=no
23816 export_dynamic_flag_spec='${wl}-Blargedynsym'
23817 runpath_var=LD_RUN_PATH
23825 shlibpath_overrides_runpath=no
23826 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23832 if test -d /usr/nec ;then
23834 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23835 soname_spec='$libname${shared_ext}.$major'
23836 shlibpath_var=LD_LIBRARY_PATH
23842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23843 soname_spec='${libname}${release}${shared_ext}$major'
23844 shlibpath_var=LD_LIBRARY_PATH
23851 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23852 echo "${ECHO_T}$dynamic_linker" >&6
23853 test "$dynamic_linker" = no && can_build_shared=no
23855 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23856 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
23857 hardcode_action_GCJ=
23858 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
23859 test -n "$runpath_var GCJ" || \
23860 test "X$hardcode_automatic_GCJ"="Xyes" ; then
23862 # We can hardcode non-existant directories.
23863 if test "$hardcode_direct_GCJ" != no &&
23864 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23865 # have to relink, otherwise we might link with an installed library
23866 # when we should be linking with a yet-to-be-installed one
23867 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
23868 test "$hardcode_minus_L_GCJ" != no; then
23869 # Linking always hardcodes the temporary library directory.
23870 hardcode_action_GCJ=relink
23872 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23873 hardcode_action_GCJ=immediate
23876 # We cannot hardcode anything, or else we can only hardcode existing
23878 hardcode_action_GCJ=unsupported
23880 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
23881 echo "${ECHO_T}$hardcode_action_GCJ" >&6
23883 if test "$hardcode_action_GCJ" = relink; then
23884 # Fast installation is not supported
23885 enable_fast_install=no
23886 elif test "$shlibpath_overrides_runpath" = yes ||
23887 test "$enable_shared" = no; then
23888 # Fast installation is not necessary
23889 enable_fast_install=needless
23894 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
23895 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
23896 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
23897 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
23898 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
23899 echo "$as_me:$LINENO: result: yes" >&5
23900 echo "${ECHO_T}yes" >&6
23902 # FIXME - insert some real tests, host_os isn't really good enough
23905 if test -n "$STRIP" ; then
23906 striplib="$STRIP -x"
23907 echo "$as_me:$LINENO: result: yes" >&5
23908 echo "${ECHO_T}yes" >&6
23910 echo "$as_me:$LINENO: result: no" >&5
23911 echo "${ECHO_T}no" >&6
23915 echo "$as_me:$LINENO: result: no" >&5
23916 echo "${ECHO_T}no" >&6
23921 if test "x$enable_dlopen" != xyes; then
23922 enable_dlopen=unknown
23923 enable_dlopen_self=unknown
23924 enable_dlopen_self_static=unknown
23931 lt_cv_dlopen="load_add_on"
23933 lt_cv_dlopen_self=yes
23937 lt_cv_dlopen="LoadLibrary"
23942 lt_cv_dlopen="dlopen"
23947 # if libdl is installed we need to link against it
23948 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23949 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23950 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23951 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 ac_check_lib_save_LIBS=$LIBS
23955 cat >conftest.$ac_ext <<_ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23962 /* Override any gcc2 internal prototype to avoid an error. */
23966 /* We use char because int might match the return type of a gcc2
23967 builtin and then its argument prototype would still apply. */
23977 rm -f conftest.$ac_objext conftest$ac_exeext
23978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23979 (eval $ac_link) 2>conftest.er1
23981 grep -v '^ *+' conftest.er1 >conftest.err
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } &&
23986 { ac_try='test -z "$ac_c_werror_flag"
23987 || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try='test -s conftest$ac_exeext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 ac_cv_lib_dl_dlopen=yes
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.$ac_ext >&5
24004 ac_cv_lib_dl_dlopen=no
24006 rm -f conftest.err conftest.$ac_objext \
24007 conftest$ac_exeext conftest.$ac_ext
24008 LIBS=$ac_check_lib_save_LIBS
24010 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24011 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24012 if test $ac_cv_lib_dl_dlopen = yes; then
24013 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24016 lt_cv_dlopen="dyld"
24018 lt_cv_dlopen_self=yes
24025 echo "$as_me:$LINENO: checking for shl_load" >&5
24026 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
24027 if test "${ac_cv_func_shl_load+set}" = set; then
24028 echo $ECHO_N "(cached) $ECHO_C" >&6
24030 cat >conftest.$ac_ext <<_ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
24037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24038 #define shl_load innocuous_shl_load
24040 /* System header to define __stub macros and hopefully few prototypes,
24041 which can conflict with char shl_load (); below.
24042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24043 <limits.h> exists even on freestanding compilers. */
24046 # include <limits.h>
24048 # include <assert.h>
24053 /* Override any gcc2 internal prototype to avoid an error. */
24058 /* We use char because int might match the return type of a gcc2
24059 builtin and then its argument prototype would still apply. */
24061 /* The GNU C library defines this for functions which it implements
24062 to always fail with ENOSYS. Some functions are actually named
24063 something starting with __ and the normal name is an alias. */
24064 #if defined (__stub_shl_load) || defined (__stub___shl_load)
24067 char (*f) () = shl_load;
24076 return f != shl_load;
24081 rm -f conftest.$ac_objext conftest$ac_exeext
24082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24083 (eval $ac_link) 2>conftest.er1
24085 grep -v '^ *+' conftest.er1 >conftest.err
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try='test -z "$ac_c_werror_flag"
24091 || test ! -s conftest.err'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; } &&
24097 { ac_try='test -s conftest$ac_exeext'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; }; then
24103 ac_cv_func_shl_load=yes
24105 echo "$as_me: failed program was:" >&5
24106 sed 's/^/| /' conftest.$ac_ext >&5
24108 ac_cv_func_shl_load=no
24110 rm -f conftest.err conftest.$ac_objext \
24111 conftest$ac_exeext conftest.$ac_ext
24113 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
24114 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
24115 if test $ac_cv_func_shl_load = yes; then
24116 lt_cv_dlopen="shl_load"
24118 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
24119 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
24120 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
24121 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 ac_check_lib_save_LIBS=$LIBS
24125 cat >conftest.$ac_ext <<_ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24132 /* Override any gcc2 internal prototype to avoid an error. */
24136 /* We use char because int might match the return type of a gcc2
24137 builtin and then its argument prototype would still apply. */
24147 rm -f conftest.$ac_objext conftest$ac_exeext
24148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24149 (eval $ac_link) 2>conftest.er1
24151 grep -v '^ *+' conftest.er1 >conftest.err
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } &&
24156 { ac_try='test -z "$ac_c_werror_flag"
24157 || test ! -s conftest.err'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; } &&
24163 { ac_try='test -s conftest$ac_exeext'
24164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24165 (eval $ac_try) 2>&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 ac_cv_lib_dld_shl_load=yes
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24174 ac_cv_lib_dld_shl_load=no
24176 rm -f conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24178 LIBS=$ac_check_lib_save_LIBS
24180 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
24181 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
24182 if test $ac_cv_lib_dld_shl_load = yes; then
24183 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
24185 echo "$as_me:$LINENO: checking for dlopen" >&5
24186 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
24187 if test "${ac_cv_func_dlopen+set}" = set; then
24188 echo $ECHO_N "(cached) $ECHO_C" >&6
24190 cat >conftest.$ac_ext <<_ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24196 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
24197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24198 #define dlopen innocuous_dlopen
24200 /* System header to define __stub macros and hopefully few prototypes,
24201 which can conflict with char dlopen (); below.
24202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24203 <limits.h> exists even on freestanding compilers. */
24206 # include <limits.h>
24208 # include <assert.h>
24213 /* Override any gcc2 internal prototype to avoid an error. */
24218 /* We use char because int might match the return type of a gcc2
24219 builtin and then its argument prototype would still apply. */
24221 /* The GNU C library defines this for functions which it implements
24222 to always fail with ENOSYS. Some functions are actually named
24223 something starting with __ and the normal name is an alias. */
24224 #if defined (__stub_dlopen) || defined (__stub___dlopen)
24227 char (*f) () = dlopen;
24236 return f != dlopen;
24241 rm -f conftest.$ac_objext conftest$ac_exeext
24242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24243 (eval $ac_link) 2>conftest.er1
24245 grep -v '^ *+' conftest.er1 >conftest.err
24247 cat conftest.err >&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } &&
24250 { ac_try='test -z "$ac_c_werror_flag"
24251 || test ! -s conftest.err'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; } &&
24257 { ac_try='test -s conftest$ac_exeext'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; }; then
24263 ac_cv_func_dlopen=yes
24265 echo "$as_me: failed program was:" >&5
24266 sed 's/^/| /' conftest.$ac_ext >&5
24268 ac_cv_func_dlopen=no
24270 rm -f conftest.err conftest.$ac_objext \
24271 conftest$ac_exeext conftest.$ac_ext
24273 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
24274 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
24275 if test $ac_cv_func_dlopen = yes; then
24276 lt_cv_dlopen="dlopen"
24278 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24279 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24280 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24281 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 ac_check_lib_save_LIBS=$LIBS
24285 cat >conftest.$ac_ext <<_ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24292 /* Override any gcc2 internal prototype to avoid an error. */
24296 /* We use char because int might match the return type of a gcc2
24297 builtin and then its argument prototype would still apply. */
24307 rm -f conftest.$ac_objext conftest$ac_exeext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24309 (eval $ac_link) 2>conftest.er1
24311 grep -v '^ *+' conftest.er1 >conftest.err
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try='test -z "$ac_c_werror_flag"
24317 || test ! -s conftest.err'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; } &&
24323 { ac_try='test -s conftest$ac_exeext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24329 ac_cv_lib_dl_dlopen=yes
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24334 ac_cv_lib_dl_dlopen=no
24336 rm -f conftest.err conftest.$ac_objext \
24337 conftest$ac_exeext conftest.$ac_ext
24338 LIBS=$ac_check_lib_save_LIBS
24340 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24341 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24342 if test $ac_cv_lib_dl_dlopen = yes; then
24343 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24345 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
24346 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
24347 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
24348 echo $ECHO_N "(cached) $ECHO_C" >&6
24350 ac_check_lib_save_LIBS=$LIBS
24351 LIBS="-lsvld $LIBS"
24352 cat >conftest.$ac_ext <<_ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24359 /* Override any gcc2 internal prototype to avoid an error. */
24363 /* We use char because int might match the return type of a gcc2
24364 builtin and then its argument prototype would still apply. */
24374 rm -f conftest.$ac_objext conftest$ac_exeext
24375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24376 (eval $ac_link) 2>conftest.er1
24378 grep -v '^ *+' conftest.er1 >conftest.err
24380 cat conftest.err >&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); } &&
24383 { ac_try='test -z "$ac_c_werror_flag"
24384 || test ! -s conftest.err'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; } &&
24390 { ac_try='test -s conftest$ac_exeext'
24391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392 (eval $ac_try) 2>&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); }; }; then
24396 ac_cv_lib_svld_dlopen=yes
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24401 ac_cv_lib_svld_dlopen=no
24403 rm -f conftest.err conftest.$ac_objext \
24404 conftest$ac_exeext conftest.$ac_ext
24405 LIBS=$ac_check_lib_save_LIBS
24407 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
24408 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
24409 if test $ac_cv_lib_svld_dlopen = yes; then
24410 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
24412 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
24413 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
24414 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 ac_check_lib_save_LIBS=$LIBS
24419 cat >conftest.$ac_ext <<_ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24426 /* Override any gcc2 internal prototype to avoid an error. */
24430 /* We use char because int might match the return type of a gcc2
24431 builtin and then its argument prototype would still apply. */
24441 rm -f conftest.$ac_objext conftest$ac_exeext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24443 (eval $ac_link) 2>conftest.er1
24445 grep -v '^ *+' conftest.er1 >conftest.err
24447 cat conftest.err >&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try='test -z "$ac_c_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try='test -s conftest$ac_exeext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_cv_lib_dld_dld_link=yes
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.$ac_ext >&5
24468 ac_cv_lib_dld_dld_link=no
24470 rm -f conftest.err conftest.$ac_objext \
24471 conftest$ac_exeext conftest.$ac_ext
24472 LIBS=$ac_check_lib_save_LIBS
24474 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
24475 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
24476 if test $ac_cv_lib_dld_dld_link = yes; then
24477 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
24498 if test "x$lt_cv_dlopen" != xno; then
24504 case $lt_cv_dlopen in
24506 save_CPPFLAGS="$CPPFLAGS"
24507 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
24509 save_LDFLAGS="$LDFLAGS"
24510 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
24513 LIBS="$lt_cv_dlopen_libs $LIBS"
24515 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
24516 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
24517 if test "${lt_cv_dlopen_self+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24520 if test "$cross_compiling" = yes; then :
24521 lt_cv_dlopen_self=cross
24523 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24524 lt_status=$lt_dlunknown
24525 cat > conftest.$ac_ext <<EOF
24526 #line 24526 "configure"
24527 #include "confdefs.h"
24536 # define LT_DLGLOBAL RTLD_GLOBAL
24539 # define LT_DLGLOBAL DL_GLOBAL
24541 # define LT_DLGLOBAL 0
24545 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
24546 find out it does not work in some platform. */
24547 #ifndef LT_DLLAZY_OR_NOW
24549 # define LT_DLLAZY_OR_NOW RTLD_LAZY
24552 # define LT_DLLAZY_OR_NOW DL_LAZY
24555 # define LT_DLLAZY_OR_NOW RTLD_NOW
24558 # define LT_DLLAZY_OR_NOW DL_NOW
24560 # define LT_DLLAZY_OR_NOW 0
24568 extern "C" void exit (int);
24571 void fnord() { int i=42;}
24574 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
24575 int status = $lt_dlunknown;
24579 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
24580 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
24581 /* dlclose (self); */
24587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24588 (eval $ac_link) 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
24592 (./conftest; exit; ) 2>/dev/null
24594 case x$lt_status in
24595 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
24596 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
24597 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
24600 # compilation failed
24601 lt_cv_dlopen_self=no
24608 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
24609 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
24611 if test "x$lt_cv_dlopen_self" = xyes; then
24612 LDFLAGS="$LDFLAGS $link_static_flag"
24613 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
24614 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
24615 if test "${lt_cv_dlopen_self_static+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 if test "$cross_compiling" = yes; then :
24619 lt_cv_dlopen_self_static=cross
24621 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24622 lt_status=$lt_dlunknown
24623 cat > conftest.$ac_ext <<EOF
24624 #line 24624 "configure"
24625 #include "confdefs.h"
24634 # define LT_DLGLOBAL RTLD_GLOBAL
24637 # define LT_DLGLOBAL DL_GLOBAL
24639 # define LT_DLGLOBAL 0
24643 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
24644 find out it does not work in some platform. */
24645 #ifndef LT_DLLAZY_OR_NOW
24647 # define LT_DLLAZY_OR_NOW RTLD_LAZY
24650 # define LT_DLLAZY_OR_NOW DL_LAZY
24653 # define LT_DLLAZY_OR_NOW RTLD_NOW
24656 # define LT_DLLAZY_OR_NOW DL_NOW
24658 # define LT_DLLAZY_OR_NOW 0
24666 extern "C" void exit (int);
24669 void fnord() { int i=42;}
24672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
24673 int status = $lt_dlunknown;
24677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
24678 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
24679 /* dlclose (self); */
24685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24686 (eval $ac_link) 2>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
24690 (./conftest; exit; ) 2>/dev/null
24692 case x$lt_status in
24693 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
24694 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
24695 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
24698 # compilation failed
24699 lt_cv_dlopen_self_static=no
24706 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
24707 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
24710 CPPFLAGS="$save_CPPFLAGS"
24711 LDFLAGS="$save_LDFLAGS"
24716 case $lt_cv_dlopen_self in
24717 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
24718 *) enable_dlopen_self=unknown ;;
24721 case $lt_cv_dlopen_self_static in
24722 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
24723 *) enable_dlopen_self_static=unknown ;;
24728 # The else clause should only fire when bootstrapping the
24729 # libtool distribution, otherwise you forgot to ship ltmain.sh
24730 # with your package, and you will get complaints that there are
24731 # no rules to generate ltmain.sh.
24732 if test -f "$ltmain"; then
24733 # See if we are running on zsh, and set the options which allow our commands through
24734 # without removal of \ escapes.
24735 if test -n "${ZSH_VERSION+set}" ; then
24736 setopt NO_GLOB_SUBST
24738 # Now quote all the things that may contain metacharacters while being
24739 # careful not to overquote the AC_SUBSTed values. We take copies of the
24740 # variables and quote the copies for generation of the libtool script.
24741 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
24743 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24744 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24745 deplibs_check_method reload_flag reload_cmds need_locks \
24746 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24747 lt_cv_sys_global_symbol_to_c_name_address \
24748 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24749 old_postinstall_cmds old_postuninstall_cmds \
24753 lt_prog_compiler_wl_GCJ \
24754 lt_prog_compiler_pic_GCJ \
24755 lt_prog_compiler_static_GCJ \
24756 lt_prog_compiler_no_builtin_flag_GCJ \
24757 export_dynamic_flag_spec_GCJ \
24758 thread_safe_flag_spec_GCJ \
24759 whole_archive_flag_spec_GCJ \
24760 enable_shared_with_static_runtimes_GCJ \
24761 old_archive_cmds_GCJ \
24762 old_archive_from_new_cmds_GCJ \
24763 predep_objects_GCJ \
24764 postdep_objects_GCJ \
24767 compiler_lib_search_path_GCJ \
24769 archive_expsym_cmds_GCJ \
24770 postinstall_cmds_GCJ \
24771 postuninstall_cmds_GCJ \
24772 old_archive_from_expsyms_cmds_GCJ \
24773 allow_undefined_flag_GCJ \
24774 no_undefined_flag_GCJ \
24775 export_symbols_cmds_GCJ \
24776 hardcode_libdir_flag_spec_GCJ \
24777 hardcode_libdir_flag_spec_ld_GCJ \
24778 hardcode_libdir_separator_GCJ \
24779 hardcode_automatic_GCJ \
24781 module_expsym_cmds_GCJ \
24782 lt_cv_prog_compiler_c_o_GCJ \
24783 exclude_expsyms_GCJ \
24784 include_expsyms_GCJ; do
24787 old_archive_cmds_GCJ | \
24788 old_archive_from_new_cmds_GCJ | \
24789 archive_cmds_GCJ | \
24790 archive_expsym_cmds_GCJ | \
24791 module_cmds_GCJ | \
24792 module_expsym_cmds_GCJ | \
24793 old_archive_from_expsyms_cmds_GCJ | \
24794 export_symbols_cmds_GCJ | \
24795 extract_expsyms_cmds | reload_cmds | finish_cmds | \
24796 postinstall_cmds | postuninstall_cmds | \
24797 old_postinstall_cmds | old_postuninstall_cmds | \
24798 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
24799 # Double-quote double-evaled strings.
24800 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24803 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24809 *'\$0 --fallback-echo"')
24810 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24816 cat <<__EOF__ >> "$cfgfile"
24817 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
24819 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24821 # Shell to use when invoking shell scripts.
24824 # Whether or not to build shared libraries.
24825 build_libtool_libs=$enable_shared
24827 # Whether or not to build static libraries.
24828 build_old_libs=$enable_static
24830 # Whether or not to add -lc for building shared libraries.
24831 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
24833 # Whether or not to disallow shared libs when runtime libs are static
24834 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
24836 # Whether or not to optimize for fast installation.
24837 fast_install=$enable_fast_install
24840 host_alias=$host_alias
24843 # An echo program that does not interpret backslashes.
24848 AR_FLAGS=$lt_AR_FLAGS
24853 # A language-specific compiler.
24854 CC=$lt_compiler_GCJ
24856 # Is the compiler the GNU C compiler?
24862 # The linker used to build libraries.
24865 # Whether we need hard or soft links.
24868 # A BSD-compatible nm program.
24871 # A symbol stripping program
24874 # Used to examine libraries when file_magic_cmd begins "file"
24875 MAGIC_CMD=$MAGIC_CMD
24877 # Used on cygwin: DLL creation program.
24880 # Used on cygwin: object dumper.
24883 # Used on cygwin: assembler.
24886 # The name of the directory that contains temporary libtool files.
24889 # How to create reloadable object files.
24890 reload_flag=$lt_reload_flag
24891 reload_cmds=$lt_reload_cmds
24893 # How to pass a linker flag through the compiler.
24894 wl=$lt_lt_prog_compiler_wl_GCJ
24896 # Object file suffix (normally "o").
24897 objext="$ac_objext"
24899 # Old archive suffix (normally "a").
24902 # Shared library suffix (normally ".so").
24903 shrext_cmds='$shrext_cmds'
24905 # Executable file suffix (normally "").
24908 # Additional compiler flags for building library objects.
24909 pic_flag=$lt_lt_prog_compiler_pic_GCJ
24912 # What is the maximum length of a command?
24913 max_cmd_len=$lt_cv_sys_max_cmd_len
24915 # Does compiler simultaneously support -c and -o options?
24916 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
24918 # Must we lock files when doing compilation ?
24919 need_locks=$lt_need_locks
24921 # Do we need the lib prefix for modules?
24922 need_lib_prefix=$need_lib_prefix
24924 # Do we need a version for libraries?
24925 need_version=$need_version
24927 # Whether dlopen is supported.
24928 dlopen_support=$enable_dlopen
24930 # Whether dlopen of programs is supported.
24931 dlopen_self=$enable_dlopen_self
24933 # Whether dlopen of statically linked programs is supported.
24934 dlopen_self_static=$enable_dlopen_self_static
24936 # Compiler flag to prevent dynamic linking.
24937 link_static_flag=$lt_lt_prog_compiler_static_GCJ
24939 # Compiler flag to turn off builtin functions.
24940 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
24942 # Compiler flag to allow reflexive dlopens.
24943 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
24945 # Compiler flag to generate shared objects directly from archives.
24946 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
24948 # Compiler flag to generate thread-safe objects.
24949 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
24951 # Library versioning type.
24952 version_type=$version_type
24954 # Format of library name prefix.
24955 libname_spec=$lt_libname_spec
24957 # List of archive names. First name is the real one, the rest are links.
24958 # The last name is the one that the linker finds with -lNAME.
24959 library_names_spec=$lt_library_names_spec
24961 # The coded name of the library, if different from the real name.
24962 soname_spec=$lt_soname_spec
24964 # Commands used to build and install an old-style archive.
24966 old_archive_cmds=$lt_old_archive_cmds_GCJ
24967 old_postinstall_cmds=$lt_old_postinstall_cmds
24968 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24970 # Create an old-style archive from a shared archive.
24971 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
24973 # Create a temporary old-style archive to link instead of a shared archive.
24974 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
24976 # Commands used to build and install a shared archive.
24977 archive_cmds=$lt_archive_cmds_GCJ
24978 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
24979 postinstall_cmds=$lt_postinstall_cmds
24980 postuninstall_cmds=$lt_postuninstall_cmds
24982 # Commands used to build a loadable module (assumed same as above if empty)
24983 module_cmds=$lt_module_cmds_GCJ
24984 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
24986 # Commands to strip libraries.
24987 old_striplib=$lt_old_striplib
24988 striplib=$lt_striplib
24990 # Dependencies to place before the objects being linked to create a
24992 predep_objects=$lt_predep_objects_GCJ
24994 # Dependencies to place after the objects being linked to create a
24996 postdep_objects=$lt_postdep_objects_GCJ
24998 # Dependencies to place before the objects being linked to create a
25000 predeps=$lt_predeps_GCJ
25002 # Dependencies to place after the objects being linked to create a
25004 postdeps=$lt_postdeps_GCJ
25006 # The library search path used internally by the compiler when linking
25007 # a shared library.
25008 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25010 # Method to check whether dependent libraries are shared objects.
25011 deplibs_check_method=$lt_deplibs_check_method
25013 # Command to use when deplibs_check_method == file_magic.
25014 file_magic_cmd=$lt_file_magic_cmd
25016 # Flag that allows shared libraries with undefined symbols to be built.
25017 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25019 # Flag that forces no undefined symbols.
25020 no_undefined_flag=$lt_no_undefined_flag_GCJ
25022 # Commands used to finish a libtool library installation in a directory.
25023 finish_cmds=$lt_finish_cmds
25025 # Same as above, but a single script fragment to be evaled but not shown.
25026 finish_eval=$lt_finish_eval
25028 # Take the output of nm and produce a listing of raw symbols and C names.
25029 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25031 # Transform the output of nm in a proper C declaration
25032 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25034 # Transform the output of nm in a C name address pair
25035 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25037 # This is the shared library runtime path variable.
25038 runpath_var=$runpath_var
25040 # This is the shared library path variable.
25041 shlibpath_var=$shlibpath_var
25043 # Is shlibpath searched before the hard-coded library search path?
25044 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25046 # How to hardcode a shared library path into an executable.
25047 hardcode_action=$hardcode_action_GCJ
25049 # Whether we should hardcode library paths into libraries.
25050 hardcode_into_libs=$hardcode_into_libs
25052 # Flag to hardcode \$libdir into a binary during linking.
25053 # This must work even if \$libdir does not exist.
25054 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25056 # If ld is used when linking, flag to hardcode \$libdir into
25057 # a binary during linking. This must work even if \$libdir does
25059 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25061 # Whether we need a single -rpath flag with a separated argument.
25062 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25064 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25065 # resulting binary.
25066 hardcode_direct=$hardcode_direct_GCJ
25068 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25069 # resulting binary.
25070 hardcode_minus_L=$hardcode_minus_L_GCJ
25072 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25073 # the resulting binary.
25074 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25076 # Set to yes if building a shared library automatically hardcodes DIR into the library
25077 # and all subsequent libraries and executables linked against it.
25078 hardcode_automatic=$hardcode_automatic_GCJ
25080 # Variables whose values should be saved in libtool wrapper scripts and
25081 # restored at relink time.
25082 variables_saved_for_relink="$variables_saved_for_relink"
25084 # Whether libtool must link a program against all its dependency libraries.
25085 link_all_deplibs=$link_all_deplibs_GCJ
25087 # Compile-time system search path for libraries
25088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25090 # Run-time system search path for libraries
25091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25093 # Fix the shell variable \$srcfile for the compiler.
25094 fix_srcfile_path="$fix_srcfile_path_GCJ"
25096 # Set to yes if exported symbols are required.
25097 always_export_symbols=$always_export_symbols_GCJ
25099 # The commands to list exported symbols.
25100 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
25102 # The commands to extract the exported symbol list from a shared archive.
25103 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25105 # Symbols that should not be listed in the preloaded symbols.
25106 exclude_expsyms=$lt_exclude_expsyms_GCJ
25108 # Symbols that must always be exported.
25109 include_expsyms=$lt_include_expsyms_GCJ
25111 # ### END LIBTOOL TAG CONFIG: $tagname
25117 # If there is no Makefile yet, we rely on a make rule to execute
25118 # `config.status --recheck' to rerun these tests and create the
25119 # libtool script then.
25120 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25121 if test -f "$ltmain_in"; then
25122 test -f Makefile && make "$ltmain"
25128 ac_cpp='$CPP $CPPFLAGS'
25129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25144 # Source file extension for RC test sources.
25147 # Object file extension for compiled RC test sources.
25151 # Code to be used in simple compile tests
25152 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
25154 # Code to be used in simple link tests
25155 lt_simple_link_test_code="$lt_simple_compile_test_code"
25157 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25159 # If no C compiler was specified, use CC.
25162 # Allow CC to be a program name with arguments.
25166 # Allow CC to be a program name with arguments.
25171 lt_cv_prog_compiler_c_o_RC=yes
25173 # The else clause should only fire when bootstrapping the
25174 # libtool distribution, otherwise you forgot to ship ltmain.sh
25175 # with your package, and you will get complaints that there are
25176 # no rules to generate ltmain.sh.
25177 if test -f "$ltmain"; then
25178 # See if we are running on zsh, and set the options which allow our commands through
25179 # without removal of \ escapes.
25180 if test -n "${ZSH_VERSION+set}" ; then
25181 setopt NO_GLOB_SUBST
25183 # Now quote all the things that may contain metacharacters while being
25184 # careful not to overquote the AC_SUBSTed values. We take copies of the
25185 # variables and quote the copies for generation of the libtool script.
25186 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25188 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25189 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25190 deplibs_check_method reload_flag reload_cmds need_locks \
25191 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25192 lt_cv_sys_global_symbol_to_c_name_address \
25193 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25194 old_postinstall_cmds old_postuninstall_cmds \
25198 lt_prog_compiler_wl_RC \
25199 lt_prog_compiler_pic_RC \
25200 lt_prog_compiler_static_RC \
25201 lt_prog_compiler_no_builtin_flag_RC \
25202 export_dynamic_flag_spec_RC \
25203 thread_safe_flag_spec_RC \
25204 whole_archive_flag_spec_RC \
25205 enable_shared_with_static_runtimes_RC \
25206 old_archive_cmds_RC \
25207 old_archive_from_new_cmds_RC \
25208 predep_objects_RC \
25209 postdep_objects_RC \
25212 compiler_lib_search_path_RC \
25214 archive_expsym_cmds_RC \
25215 postinstall_cmds_RC \
25216 postuninstall_cmds_RC \
25217 old_archive_from_expsyms_cmds_RC \
25218 allow_undefined_flag_RC \
25219 no_undefined_flag_RC \
25220 export_symbols_cmds_RC \
25221 hardcode_libdir_flag_spec_RC \
25222 hardcode_libdir_flag_spec_ld_RC \
25223 hardcode_libdir_separator_RC \
25224 hardcode_automatic_RC \
25226 module_expsym_cmds_RC \
25227 lt_cv_prog_compiler_c_o_RC \
25228 exclude_expsyms_RC \
25229 include_expsyms_RC; do
25232 old_archive_cmds_RC | \
25233 old_archive_from_new_cmds_RC | \
25234 archive_cmds_RC | \
25235 archive_expsym_cmds_RC | \
25237 module_expsym_cmds_RC | \
25238 old_archive_from_expsyms_cmds_RC | \
25239 export_symbols_cmds_RC | \
25240 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25241 postinstall_cmds | postuninstall_cmds | \
25242 old_postinstall_cmds | old_postuninstall_cmds | \
25243 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25244 # Double-quote double-evaled strings.
25245 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25248 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25254 *'\$0 --fallback-echo"')
25255 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25261 cat <<__EOF__ >> "$cfgfile"
25262 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25264 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25266 # Shell to use when invoking shell scripts.
25269 # Whether or not to build shared libraries.
25270 build_libtool_libs=$enable_shared
25272 # Whether or not to build static libraries.
25273 build_old_libs=$enable_static
25275 # Whether or not to add -lc for building shared libraries.
25276 build_libtool_need_lc=$archive_cmds_need_lc_RC
25278 # Whether or not to disallow shared libs when runtime libs are static
25279 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25281 # Whether or not to optimize for fast installation.
25282 fast_install=$enable_fast_install
25285 host_alias=$host_alias
25288 # An echo program that does not interpret backslashes.
25293 AR_FLAGS=$lt_AR_FLAGS
25298 # A language-specific compiler.
25301 # Is the compiler the GNU C compiler?
25307 # The linker used to build libraries.
25310 # Whether we need hard or soft links.
25313 # A BSD-compatible nm program.
25316 # A symbol stripping program
25319 # Used to examine libraries when file_magic_cmd begins "file"
25320 MAGIC_CMD=$MAGIC_CMD
25322 # Used on cygwin: DLL creation program.
25325 # Used on cygwin: object dumper.
25328 # Used on cygwin: assembler.
25331 # The name of the directory that contains temporary libtool files.
25334 # How to create reloadable object files.
25335 reload_flag=$lt_reload_flag
25336 reload_cmds=$lt_reload_cmds
25338 # How to pass a linker flag through the compiler.
25339 wl=$lt_lt_prog_compiler_wl_RC
25341 # Object file suffix (normally "o").
25342 objext="$ac_objext"
25344 # Old archive suffix (normally "a").
25347 # Shared library suffix (normally ".so").
25348 shrext_cmds='$shrext_cmds'
25350 # Executable file suffix (normally "").
25353 # Additional compiler flags for building library objects.
25354 pic_flag=$lt_lt_prog_compiler_pic_RC
25357 # What is the maximum length of a command?
25358 max_cmd_len=$lt_cv_sys_max_cmd_len
25360 # Does compiler simultaneously support -c and -o options?
25361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25363 # Must we lock files when doing compilation ?
25364 need_locks=$lt_need_locks
25366 # Do we need the lib prefix for modules?
25367 need_lib_prefix=$need_lib_prefix
25369 # Do we need a version for libraries?
25370 need_version=$need_version
25372 # Whether dlopen is supported.
25373 dlopen_support=$enable_dlopen
25375 # Whether dlopen of programs is supported.
25376 dlopen_self=$enable_dlopen_self
25378 # Whether dlopen of statically linked programs is supported.
25379 dlopen_self_static=$enable_dlopen_self_static
25381 # Compiler flag to prevent dynamic linking.
25382 link_static_flag=$lt_lt_prog_compiler_static_RC
25384 # Compiler flag to turn off builtin functions.
25385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25387 # Compiler flag to allow reflexive dlopens.
25388 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25390 # Compiler flag to generate shared objects directly from archives.
25391 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25393 # Compiler flag to generate thread-safe objects.
25394 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25396 # Library versioning type.
25397 version_type=$version_type
25399 # Format of library name prefix.
25400 libname_spec=$lt_libname_spec
25402 # List of archive names. First name is the real one, the rest are links.
25403 # The last name is the one that the linker finds with -lNAME.
25404 library_names_spec=$lt_library_names_spec
25406 # The coded name of the library, if different from the real name.
25407 soname_spec=$lt_soname_spec
25409 # Commands used to build and install an old-style archive.
25411 old_archive_cmds=$lt_old_archive_cmds_RC
25412 old_postinstall_cmds=$lt_old_postinstall_cmds
25413 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25415 # Create an old-style archive from a shared archive.
25416 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25418 # Create a temporary old-style archive to link instead of a shared archive.
25419 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25421 # Commands used to build and install a shared archive.
25422 archive_cmds=$lt_archive_cmds_RC
25423 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25424 postinstall_cmds=$lt_postinstall_cmds
25425 postuninstall_cmds=$lt_postuninstall_cmds
25427 # Commands used to build a loadable module (assumed same as above if empty)
25428 module_cmds=$lt_module_cmds_RC
25429 module_expsym_cmds=$lt_module_expsym_cmds_RC
25431 # Commands to strip libraries.
25432 old_striplib=$lt_old_striplib
25433 striplib=$lt_striplib
25435 # Dependencies to place before the objects being linked to create a
25437 predep_objects=$lt_predep_objects_RC
25439 # Dependencies to place after the objects being linked to create a
25441 postdep_objects=$lt_postdep_objects_RC
25443 # Dependencies to place before the objects being linked to create a
25445 predeps=$lt_predeps_RC
25447 # Dependencies to place after the objects being linked to create a
25449 postdeps=$lt_postdeps_RC
25451 # The library search path used internally by the compiler when linking
25452 # a shared library.
25453 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25455 # Method to check whether dependent libraries are shared objects.
25456 deplibs_check_method=$lt_deplibs_check_method
25458 # Command to use when deplibs_check_method == file_magic.
25459 file_magic_cmd=$lt_file_magic_cmd
25461 # Flag that allows shared libraries with undefined symbols to be built.
25462 allow_undefined_flag=$lt_allow_undefined_flag_RC
25464 # Flag that forces no undefined symbols.
25465 no_undefined_flag=$lt_no_undefined_flag_RC
25467 # Commands used to finish a libtool library installation in a directory.
25468 finish_cmds=$lt_finish_cmds
25470 # Same as above, but a single script fragment to be evaled but not shown.
25471 finish_eval=$lt_finish_eval
25473 # Take the output of nm and produce a listing of raw symbols and C names.
25474 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25476 # Transform the output of nm in a proper C declaration
25477 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25479 # Transform the output of nm in a C name address pair
25480 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25482 # This is the shared library runtime path variable.
25483 runpath_var=$runpath_var
25485 # This is the shared library path variable.
25486 shlibpath_var=$shlibpath_var
25488 # Is shlibpath searched before the hard-coded library search path?
25489 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25491 # How to hardcode a shared library path into an executable.
25492 hardcode_action=$hardcode_action_RC
25494 # Whether we should hardcode library paths into libraries.
25495 hardcode_into_libs=$hardcode_into_libs
25497 # Flag to hardcode \$libdir into a binary during linking.
25498 # This must work even if \$libdir does not exist.
25499 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25501 # If ld is used when linking, flag to hardcode \$libdir into
25502 # a binary during linking. This must work even if \$libdir does
25504 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
25506 # Whether we need a single -rpath flag with a separated argument.
25507 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
25509 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25510 # resulting binary.
25511 hardcode_direct=$hardcode_direct_RC
25513 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25514 # resulting binary.
25515 hardcode_minus_L=$hardcode_minus_L_RC
25517 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25518 # the resulting binary.
25519 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
25521 # Set to yes if building a shared library automatically hardcodes DIR into the library
25522 # and all subsequent libraries and executables linked against it.
25523 hardcode_automatic=$hardcode_automatic_RC
25525 # Variables whose values should be saved in libtool wrapper scripts and
25526 # restored at relink time.
25527 variables_saved_for_relink="$variables_saved_for_relink"
25529 # Whether libtool must link a program against all its dependency libraries.
25530 link_all_deplibs=$link_all_deplibs_RC
25532 # Compile-time system search path for libraries
25533 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25535 # Run-time system search path for libraries
25536 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25538 # Fix the shell variable \$srcfile for the compiler.
25539 fix_srcfile_path="$fix_srcfile_path_RC"
25541 # Set to yes if exported symbols are required.
25542 always_export_symbols=$always_export_symbols_RC
25544 # The commands to list exported symbols.
25545 export_symbols_cmds=$lt_export_symbols_cmds_RC
25547 # The commands to extract the exported symbol list from a shared archive.
25548 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25550 # Symbols that should not be listed in the preloaded symbols.
25551 exclude_expsyms=$lt_exclude_expsyms_RC
25553 # Symbols that must always be exported.
25554 include_expsyms=$lt_include_expsyms_RC
25556 # ### END LIBTOOL TAG CONFIG: $tagname
25562 # If there is no Makefile yet, we rely on a make rule to execute
25563 # `config.status --recheck' to rerun these tests and create the
25564 # libtool script then.
25565 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25566 if test -f "$ltmain_in"; then
25567 test -f Makefile && make "$ltmain"
25573 ac_cpp='$CPP $CPPFLAGS'
25574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
25584 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
25585 { (exit 1); exit 1; }; }
25589 # Append the new tag name to the list of available tags.
25590 if test -n "$tagname" ; then
25591 available_tags="$available_tags $tagname"
25597 # Now substitute the updated list of available tags.
25598 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
25599 mv "${ofile}T" "$ofile"
25603 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
25604 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
25605 { (exit 1); exit 1; }; }
25611 # This can be used to rebuild libtool when needed
25612 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
25614 # Always use our own libtool.
25615 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
25617 # Prevent multiple expansion
25641 echo "$as_me:$LINENO: checking for linux kernel dir" >&5
25642 echo $ECHO_N "checking for linux kernel dir... $ECHO_C" >&6
25643 if test "${ensc_cv_path_kerneldir+set}" = set; then
25644 echo $ECHO_N "(cached) $ECHO_C" >&6
25648 # Check whether --with-kerneldir or --without-kerneldir was given.
25649 if test "${with_kerneldir+set}" = set; then
25650 withval="$with_kerneldir"
25652 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for kerneldir" >&5
25653 echo "$as_me: error: '$withval' is not a valid value for kerneldir" >&2;}
25654 { (exit 1); exit 1; }; };;
25655 *) ensc_cv_path_kerneldir=$withval;;
25658 ensc_cv_path_kerneldir=
25659 for i in /lib/modules/$(uname -r)/build /usr/src/linux /usr; do
25660 test -e $i/include/linux/version.h && { ensc_cv_path_kerneldir=$i; break; }
25665 echo "$as_me:$LINENO: result: $ensc_cv_path_kerneldir" >&5
25666 echo "${ECHO_T}$ensc_cv_path_kerneldir" >&6
25668 test "$ensc_cv_path_kerneldir" -a -e "$ensc_cv_path_kerneldir"/include/linux/version.h || {
25669 { { echo "$as_me:$LINENO: error: Can not find kernelsources" >&5
25670 echo "$as_me: error: Can not find kernelsources" >&2;}
25671 { (exit 1); exit 1; }; }
25677 echo "$as_me:$LINENO: checking for linux kernel headers" >&5
25678 echo $ECHO_N "checking for linux kernel headers... $ECHO_C" >&6
25679 if test "${ensc_cv_path_kernelheaders+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 ensc_cv_path_kernelheaders=$ensc_cv_path_kerneldir/include
25686 echo "$as_me:$LINENO: result: $ensc_cv_path_kernelheaders" >&5
25687 echo "${ECHO_T}$ensc_cv_path_kernelheaders" >&6
25689 if test x"kernelincludedir" != x; then
25690 kernelincludedir=$ensc_cv_path_kernelheaders
25695 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
25696 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
25698 # Check whether --with-vrootdir or --without-vrootdir was given.
25699 if test "${with_vrootdir+set}" = set; then
25700 withval="$with_vrootdir"
25702 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
25703 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
25704 { (exit 1); exit 1; }; };;
25705 *) ensc_uv_path_vrootdir=$withval;;
25708 ensc_uv_path_vrootdir=/vservers
25710 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
25711 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
25713 if test x"vserverdir" != x; then
25714 vserverdir=$ensc_uv_path_vrootdir
25719 if test x"trunk" != x; then
25720 CVS2CL_TAG='-F trunk'
25724 for ac_prog in cvs2cl
25726 # Extract the first word of "$ac_prog", so it can be a program name with args.
25727 set dummy $ac_prog; ac_word=$2
25728 echo "$as_me:$LINENO: checking for $ac_word" >&5
25729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25730 if test "${ac_cv_prog_CVS2CL+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 if test -n "$CVS2CL"; then
25734 ac_cv_prog_CVS2CL="$CVS2CL" # Let the user override the test.
25736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25737 for as_dir in $PATH
25740 test -z "$as_dir" && as_dir=.
25741 for ac_exec_ext in '' $ac_executable_extensions; do
25742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25743 ac_cv_prog_CVS2CL="$ac_prog"
25744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25752 CVS2CL=$ac_cv_prog_CVS2CL
25753 if test -n "$CVS2CL"; then
25754 echo "$as_me:$LINENO: result: $CVS2CL" >&5
25755 echo "${ECHO_T}$CVS2CL" >&6
25757 echo "$as_me:$LINENO: result: no" >&5
25758 echo "${ECHO_T}no" >&6
25761 test -n "$CVS2CL" && break
25766 if test x"$CVS2CL" != x; then
25768 HAVE_CVS2CL_FALSE='#'
25770 HAVE_CVS2CL_TRUE='#'
25775 for ac_prog in rcs2log
25777 # Extract the first word of "$ac_prog", so it can be a program name with args.
25778 set dummy $ac_prog; ac_word=$2
25779 echo "$as_me:$LINENO: checking for $ac_word" >&5
25780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25781 if test "${ac_cv_prog_RCS2LOG+set}" = set; then
25782 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 if test -n "$RCS2LOG"; then
25785 ac_cv_prog_RCS2LOG="$RCS2LOG" # Let the user override the test.
25787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25788 for as_dir in $PATH
25791 test -z "$as_dir" && as_dir=.
25792 for ac_exec_ext in '' $ac_executable_extensions; do
25793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25794 ac_cv_prog_RCS2LOG="$ac_prog"
25795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25803 RCS2LOG=$ac_cv_prog_RCS2LOG
25804 if test -n "$RCS2LOG"; then
25805 echo "$as_me:$LINENO: result: $RCS2LOG" >&5
25806 echo "${ECHO_T}$RCS2LOG" >&6
25808 echo "$as_me:$LINENO: result: no" >&5
25809 echo "${ECHO_T}no" >&6
25812 test -n "$RCS2LOG" && break
25817 if test x"$RCS2LOG" != x; then
25819 HAVE_RCS2LOG_FALSE='#'
25821 HAVE_RCS2LOG_TRUE='#'
25822 HAVE_RCS2LOG_FALSE=
25828 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
25829 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
25830 # Check whether --enable-internal-headers or --disable-internal-headers was given.
25831 if test "${enable_internal_headers+set}" = set; then
25832 enableval="$enable_internal_headers"
25833 case "$enableval" in
25835 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
25836 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
25837 { (exit 1); exit 1; }; };;
25840 enable_internal_headers=yes
25845 if test x"$enable_internal_headers" = xyes; then
25846 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
25847 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
25849 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
25850 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
25853 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
25854 echo "${ECHO_T}$enable_internal_headers" >&6
25856 echo "$as_me:$LINENO: checking for supported APIs" >&5
25857 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
25858 # Check whether --enable-apis or --disable-apis was given.
25859 if test "${enable_apis+set}" = set; then
25860 enableval="$enable_apis"
25863 enable_apis=compat,v11,v13,fscompat,net
25866 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,v13,fscompat,net'
25867 enable_api_oldproc=
25871 for i in $enable_apis; do
25874 cat >>confdefs.h <<\_ACEOF
25875 #define VC_ENABLE_API_COMPAT 1
25878 enable_api_oldproc=1
25879 enable_api_olduts=1
25882 cat >>confdefs.h <<\_ACEOF
25883 #define VC_ENABLE_API_LEGACY 1
25886 enable_api_old_proc=1
25887 enable_api_olduts=1
25890 cat >>confdefs.h <<\_ACEOF
25891 #define VC_ENABLE_API_V11 1
25894 enable_api_oldproc=1
25895 enable_api_olduts=1
25898 cat >>confdefs.h <<\_ACEOF
25899 #define VC_ENABLE_API_V13 1
25903 cat >>confdefs.h <<\_ACEOF
25904 #define VC_ENABLE_API_NET 1
25908 cat >>confdefs.h <<\_ACEOF
25909 #define VC_ENABLE_API_FSCOMPAT 1
25912 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
25913 echo "$as_me: error: '$i' is not a supported API" >&2;}
25914 { (exit 1); exit 1; }; };;
25918 if test x"$enable_api_oldproc" != x; then
25920 cat >>confdefs.h <<\_ACEOF
25921 #define VC_ENABLE_API_OLDPROC 1
25924 enable_apis="$enable_apis,oldproc"
25926 if test x"$enable_api_olduts" != x; then
25928 cat >>confdefs.h <<\_ACEOF
25929 #define VC_ENABLE_API_OLDUTS 1
25932 enable_apis="$enable_apis,olduts"
25934 echo "$as_me:$LINENO: result: $enable_apis" >&5
25935 echo "${ECHO_T}$enable_apis" >&6
25943 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
25944 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
25945 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 ac_cpp='$CPP $CPPFLAGS'
25951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25955 cat >conftest.$ac_ext <<_ACEOF
25957 #include <asm/unistd.h>
25958 #ifdef __NR_vserver
25959 ensc_syscall_tmp_nr=__NR_vserver;
25960 ensc_syscall_tmp_src=ENSC_MARK
25964 ensc_syscall_tmp_nr=
25965 ensc_syscall_tmp_src=
25966 test "$ensc_syscall_tmp_nr" || \
25967 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
25968 test "$ensc_syscall_tmp_nr" || \
25969 eval $($CPP $CPPFLAGS -D ENSC_MARK='kernel' -I $ensc_cv_path_kernelheaders conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
25970 test "$ensc_syscall_tmp_nr" || {
25971 ensc_syscall_tmp_nr=273
25972 ensc_syscall_tmp_src=default
25975 if test x"$ensc_syscall_tmp_nr" = x; then
25976 { { 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
25977 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;}
25978 { (exit 1); exit 1; }; }
25981 ac_cpp='$CPP $CPPFLAGS'
25982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25987 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
25990 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
25991 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
25993 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
25994 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
25996 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
25998 cat >>confdefs.h <<_ACEOF
25999 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
26008 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
26009 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
26011 # Check whether --with-syscall or --without-syscall was given.
26012 if test "${with_syscall+set}" = set; then
26013 withval="$with_syscall"
26018 echo "$as_me:$LINENO: result: $with_syscall" >&5
26019 echo "${ECHO_T}$with_syscall" >&6
26021 case x"$with_syscall" in
26023 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
26024 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
26025 if test "${ensc_cv_test_syscall+set}" = set; then
26026 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 ac_cpp='$CPP $CPPFLAGS'
26031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26035 cat >conftest.$ac_ext <<_ACEOF
26038 cat confdefs.h >>conftest.$ac_ext
26039 cat >>conftest.$ac_ext <<_ACEOF
26040 /* end confdefs.h. */
26042 #include "$srcdir/lib/syscall-wrap.h"
26045 #define __NR_foo0 300
26046 #define __NR_foo1 301
26047 #define __NR_foo2 302
26048 #define __NR_foo3 303
26049 #define __NR_foo4 304
26050 #define __NR_foo5 305
26051 inline static _syscall0(int, foo0)
26052 inline static _syscall1(int, foo1, int, a)
26053 inline static _syscall2(int, foo2, int, a, int, b)
26054 inline static _syscall3(int, foo3, int, a, int, b, int, c)
26055 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
26056 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
26068 rm -f conftest.$ac_objext
26069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26070 (eval $ac_compile) 2>conftest.er1
26072 grep -v '^ *+' conftest.er1 >conftest.err
26074 cat conftest.err >&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } &&
26077 { ac_try='test -z "$ac_c_werror_flag"
26078 || test ! -s conftest.err'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; } &&
26084 { ac_try='test -s conftest.$ac_objext'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; }; then
26090 ensc_cv_test_syscall=fast
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.$ac_ext >&5
26095 ensc_cv_test_syscall=traditional
26097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26100 ac_cpp='$CPP $CPPFLAGS'
26101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26107 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
26108 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
26109 with_syscall=$ensc_cv_test_syscall
26111 (xfast|xtraditional)
26114 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
26115 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
26116 { (exit 1); exit 1; }; }
26120 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
26121 with_syscall='alternative'
26124 if test x"$with_syscall" = xtraditional; then
26126 cat >>confdefs.h <<\_ACEOF
26127 #define ENSC_SYSCALL_TRADITIONAL 1
26138 ac_cpp='$CXXCPP $CPPFLAGS'
26139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26143 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
26144 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
26145 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 cat >conftest.$ac_ext <<_ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155 #include <ext2fs/ext2_fs.h>
26156 int main() { return 0; }
26158 rm -f conftest.$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160 (eval $ac_compile) 2>conftest.er1
26162 grep -v '^ *+' conftest.er1 >conftest.err
26164 cat conftest.err >&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try='test -z "$ac_cxx_werror_flag"
26168 || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try='test -s conftest.$ac_objext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 ensc_cv_test_ext2fs_header=e2fsprogs
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26186 cat >conftest.$ac_ext <<_ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 #include <linux/ext2_fs.h>
26193 int main() { return 0; }
26195 rm -f conftest.$ac_objext
26196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26197 (eval $ac_compile) 2>conftest.er1
26199 grep -v '^ *+' conftest.er1 >conftest.err
26201 cat conftest.err >&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } &&
26204 { ac_try='test -z "$ac_cxx_werror_flag"
26205 || test ! -s conftest.err'
26206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207 (eval $ac_try) 2>&5
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); }; } &&
26211 { ac_try='test -s conftest.$ac_objext'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; }; then
26217 ensc_cv_test_ext2fs_header=kernel
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.$ac_ext >&5
26223 ensc_cv_test_ext2fs_header=none
26225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26229 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26230 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
26232 case x"$ensc_cv_test_ext2fs_header" in
26234 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26235 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26236 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26237 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26241 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26243 # Is the header compilable?
26244 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26245 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
26246 cat >conftest.$ac_ext <<_ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252 $ac_includes_default
26253 #include <ext2fs/ext2_fs.h>
26255 rm -f conftest.$ac_objext
26256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26257 (eval $ac_compile) 2>conftest.er1
26259 grep -v '^ *+' conftest.er1 >conftest.err
26261 cat conftest.err >&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); } &&
26264 { ac_try='test -z "$ac_cxx_werror_flag"
26265 || test ! -s conftest.err'
26266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26267 (eval $ac_try) 2>&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); }; } &&
26271 { ac_try='test -s conftest.$ac_objext'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; }; then
26277 ac_header_compiler=yes
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26282 ac_header_compiler=no
26284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26286 echo "${ECHO_T}$ac_header_compiler" >&6
26288 # Is the header present?
26289 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26290 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26291 cat >conftest.$ac_ext <<_ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <ext2fs/ext2_fs.h>
26299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26302 grep -v '^ *+' conftest.er1 >conftest.err
26304 cat conftest.err >&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); } >/dev/null; then
26307 if test -s conftest.err; then
26308 ac_cpp_err=$ac_cxx_preproc_warn_flag
26309 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26316 if test -z "$ac_cpp_err"; then
26317 ac_header_preproc=yes
26319 echo "$as_me: failed program was:" >&5
26320 sed 's/^/| /' conftest.$ac_ext >&5
26322 ac_header_preproc=no
26324 rm -f conftest.err conftest.$ac_ext
26325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26326 echo "${ECHO_T}$ac_header_preproc" >&6
26328 # So? What about this header?
26329 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26331 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26332 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26333 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26334 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26335 ac_header_preproc=yes
26338 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26339 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26340 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26341 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26342 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26343 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26344 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26345 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26347 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26349 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26352 ## ------------------------------------------------------ ##
26353 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26354 ## ------------------------------------------------------ ##
26357 sed "s/^/$as_me: WARNING: /" >&2
26360 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26361 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26362 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26365 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26367 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26368 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26371 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26373 cat >>confdefs.h <<\_ACEOF
26374 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26378 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26379 See \`config.log' for more details." >&5
26380 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26381 See \`config.log' for more details." >&2;}
26382 { (exit 1); exit 1; }; }
26388 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26389 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26390 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26391 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26395 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26397 # Is the header compilable?
26398 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26399 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26400 cat >conftest.$ac_ext <<_ACEOF
26403 cat confdefs.h >>conftest.$ac_ext
26404 cat >>conftest.$ac_ext <<_ACEOF
26405 /* end confdefs.h. */
26406 $ac_includes_default
26407 #include <linux/ext2_fs.h>
26409 rm -f conftest.$ac_objext
26410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26411 (eval $ac_compile) 2>conftest.er1
26413 grep -v '^ *+' conftest.er1 >conftest.err
26415 cat conftest.err >&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } &&
26418 { ac_try='test -z "$ac_cxx_werror_flag"
26419 || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try='test -s conftest.$ac_objext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 ac_header_compiler=yes
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26436 ac_header_compiler=no
26438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26440 echo "${ECHO_T}$ac_header_compiler" >&6
26442 # Is the header present?
26443 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26444 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26445 cat >conftest.$ac_ext <<_ACEOF
26448 cat confdefs.h >>conftest.$ac_ext
26449 cat >>conftest.$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451 #include <linux/ext2_fs.h>
26453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26456 grep -v '^ *+' conftest.er1 >conftest.err
26458 cat conftest.err >&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } >/dev/null; then
26461 if test -s conftest.err; then
26462 ac_cpp_err=$ac_cxx_preproc_warn_flag
26463 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26470 if test -z "$ac_cpp_err"; then
26471 ac_header_preproc=yes
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26476 ac_header_preproc=no
26478 rm -f conftest.err conftest.$ac_ext
26479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26480 echo "${ECHO_T}$ac_header_preproc" >&6
26482 # So? What about this header?
26483 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26485 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26486 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26488 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26489 ac_header_preproc=yes
26492 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
26493 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
26494 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
26495 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26496 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
26497 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
26498 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26499 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26500 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
26501 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26502 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
26503 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26506 ## ------------------------------------------------------ ##
26507 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26508 ## ------------------------------------------------------ ##
26511 sed "s/^/$as_me: WARNING: /" >&2
26514 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26515 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26516 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
26521 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26522 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26525 if test $ac_cv_header_linux_ext2_fs_h = yes; then
26527 cat >>confdefs.h <<\_ACEOF
26528 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
26532 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
26533 See \`config.log' for more details." >&5
26534 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
26535 See \`config.log' for more details." >&2;}
26536 { (exit 1); exit 1; }; }
26542 { { echo "$as_me:$LINENO: error:
26543 ext2fs headers were not found, or they are not usable. This can have
26544 the following reasons:
26546 * you have neither the e2fsprogs nor the kernel headers installed
26548 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26549 and you do not have e2fsprogs headers installed; please try to install
26550 - e2fsprogs-devel (for Red Hat), or
26551 - libext2fs2-devel (for Mandrake), or
26552 - e2fslibs-dev (for Debian)
26555 * kernel headers are broken and your e2fsprogs headers are too old;
26556 until version 1.27 (inclusive), they are using reserved C++ keywords
26558 * kernel headers are broken and your e2fsprogs headers are too new;
26559 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26560 C++, for details and a solution see
26561 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26564 In the latter two cases you have the following options:
26565 * fix the headers manually, or
26566 * install a stable version of e2fsprogs (e.g. 1.34), or
26567 * use good kernel headers (from linux 2.4.x)
26569 See \`config.log' for more details." >&5
26570 echo "$as_me: error:
26571 ext2fs headers were not found, or they are not usable. This can have
26572 the following reasons:
26574 * you have neither the e2fsprogs nor the kernel headers installed
26576 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26577 and you do not have e2fsprogs headers installed; please try to install
26578 - e2fsprogs-devel (for Red Hat), or
26579 - libext2fs2-devel (for Mandrake), or
26580 - e2fslibs-dev (for Debian)
26583 * kernel headers are broken and your e2fsprogs headers are too old;
26584 until version 1.27 (inclusive), they are using reserved C++ keywords
26586 * kernel headers are broken and your e2fsprogs headers are too new;
26587 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26588 C++, for details and a solution see
26589 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26592 In the latter two cases you have the following options:
26593 * fix the headers manually, or
26594 * install a stable version of e2fsprogs (e.g. 1.34), or
26595 * use good kernel headers (from linux 2.4.x)
26597 See \`config.log' for more details." >&2;}
26598 { (exit 1); exit 1; }; }
26602 ac_cpp='$CPP $CPPFLAGS'
26603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26609 for ac_func in vserver
26611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26612 echo "$as_me:$LINENO: checking for $ac_func" >&5
26613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26614 if eval "test \"\${$as_ac_var+set}\" = set"; then
26615 echo $ECHO_N "(cached) $ECHO_C" >&6
26617 cat >conftest.$ac_ext <<_ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26625 #define $ac_func innocuous_$ac_func
26627 /* System header to define __stub macros and hopefully few prototypes,
26628 which can conflict with char $ac_func (); below.
26629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26630 <limits.h> exists even on freestanding compilers. */
26633 # include <limits.h>
26635 # include <assert.h>
26640 /* Override any gcc2 internal prototype to avoid an error. */
26645 /* We use char because int might match the return type of a gcc2
26646 builtin and then its argument prototype would still apply. */
26648 /* The GNU C library defines this for functions which it implements
26649 to always fail with ENOSYS. Some functions are actually named
26650 something starting with __ and the normal name is an alias. */
26651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26654 char (*f) () = $ac_func;
26663 return f != $ac_func;
26668 rm -f conftest.$ac_objext conftest$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670 (eval $ac_link) 2>conftest.er1
26672 grep -v '^ *+' conftest.er1 >conftest.err
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -z "$ac_c_werror_flag"
26678 || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; } &&
26684 { ac_try='test -s conftest$ac_exeext'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; }; then
26690 eval "$as_ac_var=yes"
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26695 eval "$as_ac_var=no"
26697 rm -f conftest.err conftest.$ac_objext \
26698 conftest$ac_exeext conftest.$ac_ext
26700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26702 if test `eval echo '${'$as_ac_var'}'` = yes; then
26703 cat >>confdefs.h <<_ACEOF
26704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26710 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
26711 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
26712 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 cat >conftest.$ac_ext <<_ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <linux/fs.h>
26727 char *p = (char *) MS_MOVE;
26734 rm -f conftest.$ac_objext
26735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26736 (eval $ac_compile) 2>conftest.er1
26738 grep -v '^ *+' conftest.er1 >conftest.err
26740 cat conftest.err >&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); } &&
26743 { ac_try='test -z "$ac_c_werror_flag"
26744 || test ! -s conftest.err'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; } &&
26750 { ac_try='test -s conftest.$ac_objext'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; }; then
26756 ac_cv_have_decl_MS_MOVE=yes
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26761 ac_cv_have_decl_MS_MOVE=no
26763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26765 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
26766 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
26767 if test $ac_cv_have_decl_MS_MOVE = yes; then
26769 cat >>confdefs.h <<_ACEOF
26770 #define HAVE_DECL_MS_MOVE 1
26775 cat >>confdefs.h <<_ACEOF
26776 #define HAVE_DECL_MS_MOVE 0
26783 echo "$as_me:$LINENO: checking for xid_t" >&5
26784 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
26785 if test "${ac_cv_type_xid_t+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 cat >conftest.$ac_ext <<_ACEOF
26791 cat confdefs.h >>conftest.$ac_ext
26792 cat >>conftest.$ac_ext <<_ACEOF
26793 /* end confdefs.h. */
26794 #include <sys/types.h>
26801 if (sizeof (xid_t))
26807 rm -f conftest.$ac_objext
26808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26809 (eval $ac_compile) 2>conftest.er1
26811 grep -v '^ *+' conftest.er1 >conftest.err
26813 cat conftest.err >&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try='test -z "$ac_c_werror_flag"
26817 || test ! -s conftest.err'
26818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26819 (eval $ac_try) 2>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); }; } &&
26823 { ac_try='test -s conftest.$ac_objext'
26824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825 (eval $ac_try) 2>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); }; }; then
26829 ac_cv_type_xid_t=yes
26831 echo "$as_me: failed program was:" >&5
26832 sed 's/^/| /' conftest.$ac_ext >&5
26834 ac_cv_type_xid_t=no
26836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26838 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
26839 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
26840 if test $ac_cv_type_xid_t = yes; then
26842 cat >>confdefs.h <<_ACEOF
26843 #define HAVE_XID_T 1
26849 echo "$as_me:$LINENO: checking for nid_t" >&5
26850 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
26851 if test "${ac_cv_type_nid_t+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 cat >conftest.$ac_ext <<_ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 #include <sys/types.h>
26867 if (sizeof (nid_t))
26873 rm -f conftest.$ac_objext
26874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26875 (eval $ac_compile) 2>conftest.er1
26877 grep -v '^ *+' conftest.er1 >conftest.err
26879 cat conftest.err >&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); } &&
26882 { ac_try='test -z "$ac_c_werror_flag"
26883 || test ! -s conftest.err'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; } &&
26889 { ac_try='test -s conftest.$ac_objext'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26895 ac_cv_type_nid_t=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26900 ac_cv_type_nid_t=no
26902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26904 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
26905 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
26906 if test $ac_cv_type_nid_t = yes; then
26908 cat >>confdefs.h <<_ACEOF
26909 #define HAVE_NID_T 1
26917 for ac_header in sys/capability.h
26919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26921 echo "$as_me:$LINENO: checking for $ac_header" >&5
26922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26924 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26929 # Is the header compilable?
26930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26932 cat >conftest.$ac_ext <<_ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938 $ac_includes_default
26939 #include <$ac_header>
26941 rm -f conftest.$ac_objext
26942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26943 (eval $ac_compile) 2>conftest.er1
26945 grep -v '^ *+' conftest.er1 >conftest.err
26947 cat conftest.err >&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); } &&
26950 { ac_try='test -z "$ac_c_werror_flag"
26951 || test ! -s conftest.err'
26952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26953 (eval $ac_try) 2>&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); }; } &&
26957 { ac_try='test -s conftest.$ac_objext'
26958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959 (eval $ac_try) 2>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); }; }; then
26963 ac_header_compiler=yes
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26968 ac_header_compiler=no
26970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26972 echo "${ECHO_T}$ac_header_compiler" >&6
26974 # Is the header present?
26975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26977 cat >conftest.$ac_ext <<_ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 #include <$ac_header>
26985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26988 grep -v '^ *+' conftest.er1 >conftest.err
26990 cat conftest.err >&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } >/dev/null; then
26993 if test -s conftest.err; then
26994 ac_cpp_err=$ac_c_preproc_warn_flag
26995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27002 if test -z "$ac_cpp_err"; then
27003 ac_header_preproc=yes
27005 echo "$as_me: failed program was:" >&5
27006 sed 's/^/| /' conftest.$ac_ext >&5
27008 ac_header_preproc=no
27010 rm -f conftest.err conftest.$ac_ext
27011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27012 echo "${ECHO_T}$ac_header_preproc" >&6
27014 # So? What about this header?
27015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27021 ac_header_preproc=yes
27024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27038 ## ------------------------------------------------------ ##
27039 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27040 ## ------------------------------------------------------ ##
27043 sed "s/^/$as_me: WARNING: /" >&2
27046 echo "$as_me:$LINENO: checking for $ac_header" >&5
27047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27049 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 eval "$as_ac_Header=\$ac_header_preproc"
27053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27058 cat >>confdefs.h <<_ACEOF
27059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27068 if test x"$ensc_cv_c99_c99compiler" = xyes; then
27069 ensc_have_beecrypt=yes
27071 if test x"$ensc_have_beecrypt" = xyes; then
27072 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27073 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27074 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27075 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27079 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27081 # Is the header compilable?
27082 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
27083 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
27084 cat >conftest.$ac_ext <<_ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 $ac_includes_default
27091 #include <beecrypt/beecrypt.h>
27093 rm -f conftest.$ac_objext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27095 (eval $ac_compile) 2>conftest.er1
27097 grep -v '^ *+' conftest.er1 >conftest.err
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -z "$ac_c_werror_flag"
27103 || test ! -s conftest.err'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; } &&
27109 { ac_try='test -s conftest.$ac_objext'
27110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111 (eval $ac_try) 2>&5
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); }; }; then
27115 ac_header_compiler=yes
27117 echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.$ac_ext >&5
27120 ac_header_compiler=no
27122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27124 echo "${ECHO_T}$ac_header_compiler" >&6
27126 # Is the header present?
27127 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27128 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
27129 cat >conftest.$ac_ext <<_ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135 #include <beecrypt/beecrypt.h>
27137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27140 grep -v '^ *+' conftest.er1 >conftest.err
27142 cat conftest.err >&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } >/dev/null; then
27145 if test -s conftest.err; then
27146 ac_cpp_err=$ac_c_preproc_warn_flag
27147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27154 if test -z "$ac_cpp_err"; then
27155 ac_header_preproc=yes
27157 echo "$as_me: failed program was:" >&5
27158 sed 's/^/| /' conftest.$ac_ext >&5
27160 ac_header_preproc=no
27162 rm -f conftest.err conftest.$ac_ext
27163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27164 echo "${ECHO_T}$ac_header_preproc" >&6
27166 # So? What about this header?
27167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27169 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27170 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27171 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27172 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27173 ac_header_preproc=yes
27176 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27177 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27178 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27179 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27180 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27181 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27182 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27183 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27184 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27185 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27186 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27187 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27190 ## ------------------------------------------------------ ##
27191 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27192 ## ------------------------------------------------------ ##
27195 sed "s/^/$as_me: WARNING: /" >&2
27198 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27199 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27200 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27205 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27206 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27209 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27212 ensc_have_beecrypt=no
27218 if test x"$ensc_have_beecrypt" = xyes; then
27219 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27220 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27221 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 ac_check_lib_save_LIBS=$LIBS
27225 LIBS="-lbeecrypt $LIBS"
27226 cat >conftest.$ac_ext <<_ACEOF
27229 cat confdefs.h >>conftest.$ac_ext
27230 cat >>conftest.$ac_ext <<_ACEOF
27231 /* end confdefs.h. */
27233 /* Override any gcc2 internal prototype to avoid an error. */
27237 /* We use char because int might match the return type of a gcc2
27238 builtin and then its argument prototype would still apply. */
27239 char hashFunctionContextInit ();
27243 hashFunctionContextInit ();
27248 rm -f conftest.$ac_objext conftest$ac_exeext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27250 (eval $ac_link) 2>conftest.er1
27252 grep -v '^ *+' conftest.er1 >conftest.err
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try='test -z "$ac_c_werror_flag"
27258 || test ! -s conftest.err'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; } &&
27264 { ac_try='test -s conftest$ac_exeext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27277 rm -f conftest.err conftest.$ac_objext \
27278 conftest$ac_exeext conftest.$ac_ext
27279 LIBS=$ac_check_lib_save_LIBS
27281 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27282 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27283 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27286 ensc_have_beecrypt=no
27291 if test x"$ensc_have_beecrypt" != xyes; then
27292 { echo "$as_me:$LINENO: WARNING:
27294 **** 'beecrypt' could not be found;
27295 **** this will disable the build of 'vhashify'
27297 echo "$as_me: WARNING:
27299 **** 'beecrypt' could not be found;
27300 **** this will disable the build of 'vhashify'
27304 ensc_have_beecrypt=no
27309 if test x"$ensc_have_beecrypt" = xyes; then
27310 ENSC_HAVE_BEECRYPT_TRUE=
27311 ENSC_HAVE_BEECRYPT_FALSE='#'
27313 ENSC_HAVE_BEECRYPT_TRUE='#'
27314 ENSC_HAVE_BEECRYPT_FALSE=
27320 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27321 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27323 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27324 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27330 cat >>confdefs.h <<\_ACEOF
27331 #define UTMP_GID 22
27337 cat >>confdefs.h <<\_ACEOF
27338 #define HAVE_GROWING_STACK 1
27344 cat >>confdefs.h <<\_ACEOF
27345 #define _FILE_OFFSET_BITS 64
27349 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27350 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27351 ensc_diet_msg=" (you have been warned)"
27352 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27353 ensc_diet_compat_msg=" (using -lcompat)"
27354 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27355 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27356 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27357 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27358 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27364 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27366 cat >confcache <<\_ACEOF
27367 # This file is a shell script that caches the results of configure
27368 # tests run on this system so they can be shared between configure
27369 # scripts and configure runs, see configure's option --config-cache.
27370 # It is not useful on other systems. If it contains results you don't
27371 # want to keep, you may remove or edit it.
27373 # config.status only pays attention to the cache file if you give it
27374 # the --recheck option to rerun configure.
27376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27378 # following values.
27382 # The following way of writing the cache mishandles newlines in values,
27383 # but we know of no workaround that is simple, portable, and efficient.
27384 # So, don't put newlines in cache variables' values.
27385 # Ultrix sh set writes to stderr and can't be redirected directly,
27386 # and sets the high bit in the cache file unless we assign to the vars.
27389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27391 # `set' does not quote correctly, so add quotes (double-quote
27392 # substitution turns \\\\ into \\, and sed turns \\ into \).
27395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27398 # `set' quotes correctly as required by POSIX, so do not add quotes.
27400 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27409 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27411 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27412 if test -w $cache_file; then
27413 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27414 cat confcache >$cache_file
27416 echo "not updating unwritable cache $cache_file"
27421 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27422 # Let make expand exec_prefix.
27423 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27427 # trailing colons and then remove the whole line if VPATH becomes empty
27428 # (actually we leave an empty line to preserve line numbers).
27429 if test "x$srcdir" = x.; then
27430 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27431 s/:*\$(srcdir):*/:/;
27432 s/:*\${srcdir}:*/:/;
27434 s/^\([^=]*=[ ]*\):*/\1/;
27440 DEFS=-DHAVE_CONFIG_H
27444 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27445 # 1. Remove the extension, and $U if already installed.
27446 ac_i=`echo "$ac_i" |
27447 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27449 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27450 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
27452 LIBOBJS=$ac_libobjs
27454 LTLIBOBJS=$ac_ltlibobjs
27457 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27458 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27459 Usually this means the macro was only invoked conditionally." >&5
27460 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27461 Usually this means the macro was only invoked conditionally." >&2;}
27462 { (exit 1); exit 1; }; }
27464 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27465 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27466 Usually this means the macro was only invoked conditionally." >&5
27467 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27468 Usually this means the macro was only invoked conditionally." >&2;}
27469 { (exit 1); exit 1; }; }
27471 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27472 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27473 Usually this means the macro was only invoked conditionally." >&5
27474 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27475 Usually this means the macro was only invoked conditionally." >&2;}
27476 { (exit 1); exit 1; }; }
27478 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27479 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27480 Usually this means the macro was only invoked conditionally." >&5
27481 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27482 Usually this means the macro was only invoked conditionally." >&2;}
27483 { (exit 1); exit 1; }; }
27485 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
27486 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27487 Usually this means the macro was only invoked conditionally." >&5
27488 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27489 Usually this means the macro was only invoked conditionally." >&2;}
27490 { (exit 1); exit 1; }; }
27492 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
27493 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27494 Usually this means the macro was only invoked conditionally." >&5
27495 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27496 Usually this means the macro was only invoked conditionally." >&2;}
27497 { (exit 1); exit 1; }; }
27499 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
27500 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
27501 Usually this means the macro was only invoked conditionally." >&5
27502 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
27503 Usually this means the macro was only invoked conditionally." >&2;}
27504 { (exit 1); exit 1; }; }
27506 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
27507 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
27508 Usually this means the macro was only invoked conditionally." >&5
27509 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
27510 Usually this means the macro was only invoked conditionally." >&2;}
27511 { (exit 1); exit 1; }; }
27513 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27514 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27515 Usually this means the macro was only invoked conditionally." >&5
27516 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27517 Usually this means the macro was only invoked conditionally." >&2;}
27518 { (exit 1); exit 1; }; }
27520 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27521 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27522 Usually this means the macro was only invoked conditionally." >&5
27523 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27524 Usually this means the macro was only invoked conditionally." >&2;}
27525 { (exit 1); exit 1; }; }
27527 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27528 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27529 Usually this means the macro was only invoked conditionally." >&5
27530 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27531 Usually this means the macro was only invoked conditionally." >&2;}
27532 { (exit 1); exit 1; }; }
27534 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27535 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27536 Usually this means the macro was only invoked conditionally." >&5
27537 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27538 Usually this means the macro was only invoked conditionally." >&2;}
27539 { (exit 1); exit 1; }; }
27541 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27542 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27543 Usually this means the macro was only invoked conditionally." >&5
27544 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27545 Usually this means the macro was only invoked conditionally." >&2;}
27546 { (exit 1); exit 1; }; }
27548 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27549 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27550 Usually this means the macro was only invoked conditionally." >&5
27551 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27552 Usually this means the macro was only invoked conditionally." >&2;}
27553 { (exit 1); exit 1; }; }
27555 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27556 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27557 Usually this means the macro was only invoked conditionally." >&5
27558 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27559 Usually this means the macro was only invoked conditionally." >&2;}
27560 { (exit 1); exit 1; }; }
27562 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
27563 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27564 Usually this means the macro was only invoked conditionally." >&5
27565 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27566 Usually this means the macro was only invoked conditionally." >&2;}
27567 { (exit 1); exit 1; }; }
27569 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
27570 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27571 Usually this means the macro was only invoked conditionally." >&5
27572 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27573 Usually this means the macro was only invoked conditionally." >&2;}
27574 { (exit 1); exit 1; }; }
27576 if test -z "${HAVE_CVS2CL_TRUE}" && test -z "${HAVE_CVS2CL_FALSE}"; then
27577 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CVS2CL\" was never defined.
27578 Usually this means the macro was only invoked conditionally." >&5
27579 echo "$as_me: error: conditional \"HAVE_CVS2CL\" was never defined.
27580 Usually this means the macro was only invoked conditionally." >&2;}
27581 { (exit 1); exit 1; }; }
27583 if test -z "${HAVE_RCS2LOG_TRUE}" && test -z "${HAVE_RCS2LOG_FALSE}"; then
27584 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RCS2LOG\" was never defined.
27585 Usually this means the macro was only invoked conditionally." >&5
27586 echo "$as_me: error: conditional \"HAVE_RCS2LOG\" was never defined.
27587 Usually this means the macro was only invoked conditionally." >&2;}
27588 { (exit 1); exit 1; }; }
27590 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
27591 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27592 Usually this means the macro was only invoked conditionally." >&5
27593 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27594 Usually this means the macro was only invoked conditionally." >&2;}
27595 { (exit 1); exit 1; }; }
27597 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
27598 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27599 Usually this means the macro was only invoked conditionally." >&5
27600 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27601 Usually this means the macro was only invoked conditionally." >&2;}
27602 { (exit 1); exit 1; }; }
27604 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
27605 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27606 Usually this means the macro was only invoked conditionally." >&5
27607 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27608 Usually this means the macro was only invoked conditionally." >&2;}
27609 { (exit 1); exit 1; }; }
27614 CC: $CC, $($CC --version | sed -e '1p;d')
27615 CXX: $CXX, $($CXX --version | sed -e '1p;d')
27616 CPPFLAGS: '$CPPFLAGS'
27618 CXXFLAGS: '$CXXFLAGS'
27619 build/host: $build/$host
27620 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
27621 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
27622 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
27623 Available APIs: $enable_apis
27624 ext2fs Source: $ensc_cv_test_ext2fs_header
27625 syscall(2) invocation: $with_syscall
27626 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
27630 sysconf-Directory: $sysconfdir
27631 cfg-Directory: $sysconfdir/vservers
27632 initrd-Directory: $initrddir
27633 pkgstate-Directory: $localstatedir/run/vservers
27634 Kernelheaders: $kernelincludedir
27635 vserver-Rootdir: $vserverdir
27637 echo "$FEATURES_TXT" >FEATURES.txt
27640 : ${CONFIG_STATUS=./config.status}
27641 ac_clean_files_save=$ac_clean_files
27642 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27643 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
27644 echo "$as_me: creating $CONFIG_STATUS" >&6;}
27645 cat >$CONFIG_STATUS <<_ACEOF
27647 # Generated by $as_me.
27648 # Run this file to recreate the current configuration.
27649 # Compiler output produced by configure, useful for debugging
27650 # configure, is in config.log if it exists.
27653 ac_cs_recheck=false
27655 SHELL=\${CONFIG_SHELL-$SHELL}
27658 cat >>$CONFIG_STATUS <<\_ACEOF
27659 ## --------------------- ##
27660 ## M4sh Initialization. ##
27661 ## --------------------- ##
27663 # Be Bourne compatible
27664 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27667 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27668 # is contrary to our usage. Disable this feature.
27669 alias -g '${1+"$@"}'='"$@"'
27670 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27673 DUALCASE=1; export DUALCASE # for MKS sh
27675 # Support unset when possible.
27676 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27683 # Work around bugs in pre-3.0 UWIN ksh.
27684 $as_unset ENV MAIL MAILPATH
27691 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
27692 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
27693 LC_TELEPHONE LC_TIME
27695 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27696 eval $as_var=C; export $as_var
27702 # Required to use basename.
27703 if expr a : '\(a\)' >/dev/null 2>&1; then
27709 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
27710 as_basename=basename
27716 # Name of the executable.
27717 as_me=`$as_basename "$0" ||
27718 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27719 X"$0" : 'X\(//\)$' \| \
27720 X"$0" : 'X\(/\)$' \| \
27721 . : '\(.\)' 2>/dev/null ||
27723 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
27724 /^X\/\(\/\/\)$/{ s//\1/; q; }
27725 /^X\/\(\/\).*/{ s//\1/; q; }
27729 # PATH needs CR, and LINENO needs CR and PATH.
27730 # Avoid depending upon Character Ranges.
27731 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27732 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27733 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27734 as_cr_digits='0123456789'
27735 as_cr_alnum=$as_cr_Letters$as_cr_digits
27737 # The user is always right.
27738 if test "${PATH_SEPARATOR+set}" != set; then
27739 echo "#! /bin/sh" >conf$$.sh
27740 echo "exit 0" >>conf$$.sh
27742 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27751 as_lineno_1=$LINENO
27752 as_lineno_2=$LINENO
27753 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27754 test "x$as_lineno_1" != "x$as_lineno_2" &&
27755 test "x$as_lineno_3" = "x$as_lineno_2" || {
27756 # Find who we are. Look in the path if we contain no path at all
27759 *[\\/]* ) as_myself=$0 ;;
27760 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27761 for as_dir in $PATH
27764 test -z "$as_dir" && as_dir=.
27765 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27770 # We did not find ourselves, most probably we were run as `sh COMMAND'
27771 # in which case we are not to be found in the path.
27772 if test "x$as_myself" = x; then
27775 if test ! -f "$as_myself"; then
27776 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
27777 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
27778 { (exit 1); exit 1; }; }
27780 case $CONFIG_SHELL in
27782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27783 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
27786 test -z "$as_dir" && as_dir=.
27787 for as_base in sh bash ksh sh5; do
27790 if ("$as_dir/$as_base" -c '
27791 as_lineno_1=$LINENO
27792 as_lineno_2=$LINENO
27793 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27794 test "x$as_lineno_1" != "x$as_lineno_2" &&
27795 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
27796 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
27797 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
27798 CONFIG_SHELL=$as_dir/$as_base
27799 export CONFIG_SHELL
27800 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
27808 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27809 # uniformly replaced by the line number. The first 'sed' inserts a
27810 # line-number line before each line; the second 'sed' does the real
27811 # work. The second script uses 'N' to pair each line-number line
27812 # with the numbered line, and appends trailing '-' during
27813 # substitution so that $LINENO is not a special case at line end.
27814 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27815 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
27816 sed '=' <$as_myself |
27821 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
27824 s,^['$as_cr_digits']*\n,,
27825 ' >$as_me.lineno &&
27826 chmod +x $as_me.lineno ||
27827 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
27828 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
27829 { (exit 1); exit 1; }; }
27831 # Don't try to exec as it changes $[0], causing all sort of problems
27832 # (the dirname of $[0] is not the place where we might find the
27833 # original and so on. Autoconf is especially sensible to this).
27835 # Exit status is that of the last command.
27840 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
27841 *c*,-n*) ECHO_N= ECHO_C='
27843 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
27844 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
27847 if expr a : '\(a\)' >/dev/null 2>&1; then
27853 rm -f conf$$ conf$$.exe conf$$.file
27855 if ln -s conf$$.file conf$$ 2>/dev/null; then
27856 # We could just check for DJGPP; but this test a) works b) is more generic
27857 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
27858 if test -f conf$$.exe; then
27859 # Don't use ln at all; we don't have any links
27864 elif ln conf$$.file conf$$ 2>/dev/null; then
27869 rm -f conf$$ conf$$.exe conf$$.file
27871 if mkdir -p . 2>/dev/null; then
27874 test -d ./-p && rmdir ./-p
27878 as_executable_p="test -f"
27880 # Sed expression to map a string onto a valid CPP name.
27881 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27883 # Sed expression to map a string onto a valid variable name.
27884 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27888 # We need space, tab and new line, in precisely that order.
27898 # Open the log real soon, to keep \$[0] and so on meaningful, and to
27899 # report actual input values of CONFIG_FILES etc. instead of their
27900 # values after options handling. Logging --version etc. is OK.
27904 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27905 ## Running $as_me. ##
27910 This file was extended by util-vserver $as_me 0.30.208, which was
27911 generated by GNU Autoconf 2.59. Invocation command line was
27913 CONFIG_FILES = $CONFIG_FILES
27914 CONFIG_HEADERS = $CONFIG_HEADERS
27915 CONFIG_LINKS = $CONFIG_LINKS
27916 CONFIG_COMMANDS = $CONFIG_COMMANDS
27920 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
27924 # Files that config.status was made for.
27925 if test -n "$ac_config_files"; then
27926 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
27929 if test -n "$ac_config_headers"; then
27930 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
27933 if test -n "$ac_config_links"; then
27934 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
27937 if test -n "$ac_config_commands"; then
27938 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
27941 cat >>$CONFIG_STATUS <<\_ACEOF
27944 \`$as_me' instantiates files from templates according to the
27945 current configuration.
27947 Usage: $0 [OPTIONS] [FILE]...
27949 -h, --help print this help, then exit
27950 -V, --version print version number, then exit
27951 -q, --quiet do not print progress messages
27952 -d, --debug don't remove temporary files
27953 --recheck update $as_me by reconfiguring in the same conditions
27954 --file=FILE[:TEMPLATE]
27955 instantiate the configuration file FILE
27956 --header=FILE[:TEMPLATE]
27957 instantiate the configuration header FILE
27959 Configuration files:
27962 Configuration headers:
27965 Configuration commands:
27968 Report bugs to <bug-autoconf@gnu.org>."
27971 cat >>$CONFIG_STATUS <<_ACEOF
27973 util-vserver config.status 0.30.208
27974 configured by $0, generated by GNU Autoconf 2.59,
27975 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
27977 Copyright (C) 2003 Free Software Foundation, Inc.
27978 This config.status script is free software; the Free Software Foundation
27979 gives unlimited permission to copy, distribute and modify it."
27984 cat >>$CONFIG_STATUS <<\_ACEOF
27985 # If no file are specified by the user, then we need to provide default
27986 # value. By we need to know if files were specified by the user.
27992 ac_option=`expr "x$1" : 'x\([^=]*\)='`
27993 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
28001 *) # This is not an option, so the user has probably given explicit
28004 ac_need_defaults=false;;
28008 # Handling of the options.
28010 cat >>$CONFIG_STATUS <<\_ACEOF
28011 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28013 --version | --vers* | -V )
28014 echo "$ac_cs_version"; exit 0 ;;
28016 # Conflict between --help and --header
28017 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28018 Try \`$0 --help' for more information." >&5
28019 echo "$as_me: error: ambiguous option: $1
28020 Try \`$0 --help' for more information." >&2;}
28021 { (exit 1); exit 1; }; };;
28022 --help | --hel | -h )
28023 echo "$ac_cs_usage"; exit 0 ;;
28024 --debug | --d* | -d )
28026 --file | --fil | --fi | --f )
28028 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28029 ac_need_defaults=false;;
28030 --header | --heade | --head | --hea )
28032 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28033 ac_need_defaults=false;;
28034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28035 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28038 # This is an error.
28039 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28040 Try \`$0 --help' for more information." >&5
28041 echo "$as_me: error: unrecognized option: $1
28042 Try \`$0 --help' for more information." >&2;}
28043 { (exit 1); exit 1; }; } ;;
28045 *) ac_config_targets="$ac_config_targets $1" ;;
28051 ac_configure_extra_args=
28053 if $ac_cs_silent; then
28055 ac_configure_extra_args="$ac_configure_extra_args --silent"
28059 cat >>$CONFIG_STATUS <<_ACEOF
28060 if \$ac_cs_recheck; then
28061 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28062 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28067 cat >>$CONFIG_STATUS <<_ACEOF
28069 # INIT-COMMANDS section.
28072 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28078 cat >>$CONFIG_STATUS <<\_ACEOF
28079 for ac_config_target in $ac_config_targets
28081 case "$ac_config_target" in
28082 # Handling of arguments.
28083 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
28084 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28085 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
28086 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
28087 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28088 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28089 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28090 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28091 { (exit 1); exit 1; }; };;
28095 # If the user did not use the arguments to specify the items to instantiate,
28096 # then the envvar interface is used. Set only those that are not.
28097 # We use the long form for the default assignment because of an extremely
28098 # bizarre bug on SunOS 4.1.3.
28099 if $ac_need_defaults; then
28100 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28101 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28102 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28105 # Have a temporary directory for convenience. Make it in the build tree
28106 # simply because there is no reason to put it here, and in addition,
28107 # creating and moving files from /tmp can sometimes cause problems.
28108 # Create a temporary directory, and hook for its removal unless debugging.
28111 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
28112 trap '{ (exit 1); exit 1; }' 1 2 13 15
28115 # Create a (secure) tmp directory for tmp files.
28118 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28119 test -n "$tmp" && test -d "$tmp"
28122 tmp=./confstat$$-$RANDOM
28123 (umask 077 && mkdir $tmp)
28126 echo "$me: cannot create a temporary directory in ." >&2
28127 { (exit 1); exit 1; }
28132 cat >>$CONFIG_STATUS <<_ACEOF
28135 # CONFIG_FILES section.
28138 # No need to generate the scripts if there are no CONFIG_FILES.
28139 # This happens for instance when ./config.status config.h
28140 if test -n "\$CONFIG_FILES"; then
28141 # Protect against being on the right side of a sed subst in config.status.
28142 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28143 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28144 s,@SHELL@,$SHELL,;t t
28145 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28146 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28147 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28148 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28149 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
28150 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
28151 s,@exec_prefix@,$exec_prefix,;t t
28152 s,@prefix@,$prefix,;t t
28153 s,@program_transform_name@,$program_transform_name,;t t
28154 s,@bindir@,$bindir,;t t
28155 s,@sbindir@,$sbindir,;t t
28156 s,@libexecdir@,$libexecdir,;t t
28157 s,@datadir@,$datadir,;t t
28158 s,@sysconfdir@,$sysconfdir,;t t
28159 s,@sharedstatedir@,$sharedstatedir,;t t
28160 s,@localstatedir@,$localstatedir,;t t
28161 s,@libdir@,$libdir,;t t
28162 s,@includedir@,$includedir,;t t
28163 s,@oldincludedir@,$oldincludedir,;t t
28164 s,@infodir@,$infodir,;t t
28165 s,@mandir@,$mandir,;t t
28166 s,@build_alias@,$build_alias,;t t
28167 s,@host_alias@,$host_alias,;t t
28168 s,@target_alias@,$target_alias,;t t
28169 s,@DEFS@,$DEFS,;t t
28170 s,@ECHO_C@,$ECHO_C,;t t
28171 s,@ECHO_N@,$ECHO_N,;t t
28172 s,@ECHO_T@,$ECHO_T,;t t
28173 s,@LIBS@,$LIBS,;t t
28174 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28175 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28176 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28177 s,@CYGPATH_W@,$CYGPATH_W,;t t
28178 s,@PACKAGE@,$PACKAGE,;t t
28179 s,@VERSION@,$VERSION,;t t
28180 s,@ACLOCAL@,$ACLOCAL,;t t
28181 s,@AUTOCONF@,$AUTOCONF,;t t
28182 s,@AUTOMAKE@,$AUTOMAKE,;t t
28183 s,@AUTOHEADER@,$AUTOHEADER,;t t
28184 s,@MAKEINFO@,$MAKEINFO,;t t
28185 s,@AMTAR@,$AMTAR,;t t
28186 s,@install_sh@,$install_sh,;t t
28187 s,@STRIP@,$STRIP,;t t
28188 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28189 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28190 s,@mkdir_p@,$mkdir_p,;t t
28192 s,@SET_MAKE@,$SET_MAKE,;t t
28193 s,@am__leading_dot@,$am__leading_dot,;t t
28194 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28195 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28196 s,@MAINT@,$MAINT,;t t
28197 s,@build@,$build,;t t
28198 s,@build_cpu@,$build_cpu,;t t
28199 s,@build_vendor@,$build_vendor,;t t
28200 s,@build_os@,$build_os,;t t
28201 s,@host@,$host,;t t
28202 s,@host_cpu@,$host_cpu,;t t
28203 s,@host_vendor@,$host_vendor,;t t
28204 s,@host_os@,$host_os,;t t
28205 s,@GPG_KEY@,$GPG_KEY,;t t
28207 s,@CXXFLAGS@,$CXXFLAGS,;t t
28208 s,@LDFLAGS@,$LDFLAGS,;t t
28209 s,@CPPFLAGS@,$CPPFLAGS,;t t
28210 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28211 s,@EXEEXT@,$EXEEXT,;t t
28212 s,@OBJEXT@,$OBJEXT,;t t
28213 s,@DEPDIR@,$DEPDIR,;t t
28214 s,@am__include@,$am__include,;t t
28215 s,@am__quote@,$am__quote,;t t
28216 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28217 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28218 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28219 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28220 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28221 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28223 s,@CFLAGS@,$CFLAGS,;t t
28224 s,@ac_ct_CC@,$ac_ct_CC,;t t
28225 s,@CCDEPMODE@,$CCDEPMODE,;t t
28226 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28227 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28228 s,@LN_S@,$LN_S,;t t
28229 s,@PYTHON@,$PYTHON,;t t
28230 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
28231 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
28232 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
28233 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
28234 s,@pythondir@,$pythondir,;t t
28235 s,@pkgpythondir@,$pkgpythondir,;t t
28236 s,@pyexecdir@,$pyexecdir,;t t
28237 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
28238 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28239 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28240 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28241 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28242 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28244 s,@CHOWN@,$CHOWN,;t t
28247 s,@DIRNAME@,$DIRNAME,;t t
28248 s,@EGREP@,$EGREP,;t t
28250 s,@GREP@,$GREP,;t t
28252 s,@MKDIR@,$MKDIR,;t t
28253 s,@MKFIFO@,$MKFIFO,;t t
28254 s,@MKTEMP@,$MKTEMP,;t t
28255 s,@MOUNT@,$MOUNT,;t t
28257 s,@NICE@,$NICE,;t t
28260 s,@RMDIR@,$RMDIR,;t t
28265 s,@TOUCH@,$TOUCH,;t t
28267 s,@UMOUNT@,$UMOUNT,;t t
28270 s,@IPTABLES@,$IPTABLES,;t t
28271 s,@MODPROBE@,$MODPROBE,;t t
28272 s,@NAMEIF@,$NAMEIF,;t t
28273 s,@NOHUP@,$NOHUP,;t t
28274 s,@RMMOD@,$RMMOD,;t t
28275 s,@VCONFIG@,$VCONFIG,;t t
28276 s,@WGET@,$WGET,;t t
28277 s,@DOXYGEN@,$DOXYGEN,;t t
28278 s,@XSLTP@,$XSLTP,;t t
28279 s,@XSLTPROC@,$XSLTPROC,;t t
28280 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28281 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28282 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28283 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28284 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28285 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28286 s,@initrddir@,$initrddir,;t t
28287 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28288 s,@DIET@,$DIET,;t t
28289 s,@DIETFLAGS@,$DIETFLAGS,;t t
28290 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28291 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28292 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28293 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28294 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28295 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28296 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28297 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28298 s,@ECHO@,$ECHO,;t t
28300 s,@ac_ct_AR@,$ac_ct_AR,;t t
28301 s,@RANLIB@,$RANLIB,;t t
28302 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28304 s,@CXXCPP@,$CXXCPP,;t t
28306 s,@FFLAGS@,$FFLAGS,;t t
28307 s,@ac_ct_F77@,$ac_ct_F77,;t t
28308 s,@LIBTOOL@,$LIBTOOL,;t t
28309 s,@kernelincludedir@,$kernelincludedir,;t t
28310 s,@vserverdir@,$vserverdir,;t t
28311 s,@CVS2CL_TAG@,$CVS2CL_TAG,;t t
28312 s,@CVS2CL@,$CVS2CL,;t t
28313 s,@HAVE_CVS2CL_TRUE@,$HAVE_CVS2CL_TRUE,;t t
28314 s,@HAVE_CVS2CL_FALSE@,$HAVE_CVS2CL_FALSE,;t t
28315 s,@RCS2LOG@,$RCS2LOG,;t t
28316 s,@HAVE_RCS2LOG_TRUE@,$HAVE_RCS2LOG_TRUE,;t t
28317 s,@HAVE_RCS2LOG_FALSE@,$HAVE_RCS2LOG_FALSE,;t t
28318 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28319 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28320 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28321 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28322 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28323 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28324 s,@LIBOBJS@,$LIBOBJS,;t t
28325 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28330 cat >>$CONFIG_STATUS <<\_ACEOF
28331 # Split the substitutions into bite-sized pieces for seds with
28332 # small command number limits, like on Digital OSF/1 and HP-UX.
28333 ac_max_sed_lines=48
28334 ac_sed_frag=1 # Number of current file.
28335 ac_beg=1 # First line for current file.
28336 ac_end=$ac_max_sed_lines # Line after last line for current file.
28339 while $ac_more_lines; do
28340 if test $ac_beg -gt 1; then
28341 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28343 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28345 if test ! -s $tmp/subs.frag; then
28346 ac_more_lines=false
28348 # The purpose of the label and of the branching condition is to
28349 # speed up the sed processing (if there are no `@' at all, there
28350 # is no need to browse any of the substitutions).
28351 # These are the two extra sed commands mentioned above.
28353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28354 if test -z "$ac_sed_cmds"; then
28355 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28357 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28359 ac_sed_frag=`expr $ac_sed_frag + 1`
28361 ac_end=`expr $ac_end + $ac_max_sed_lines`
28364 if test -z "$ac_sed_cmds"; then
28367 fi # test -n "$CONFIG_FILES"
28370 cat >>$CONFIG_STATUS <<\_ACEOF
28371 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28372 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28374 - | *:- | *:-:* ) # input from stdin
28376 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28377 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28378 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28379 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28380 * ) ac_file_in=$ac_file.in ;;
28383 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28384 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28385 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28386 X"$ac_file" : 'X\(//\)[^/]' \| \
28387 X"$ac_file" : 'X\(//\)$' \| \
28388 X"$ac_file" : 'X\(/\)' \| \
28389 . : '\(.\)' 2>/dev/null ||
28391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28393 /^X\(\/\/\)$/{ s//\1/; q; }
28394 /^X\(\/\).*/{ s//\1/; q; }
28396 { if $as_mkdir_p; then
28401 while test ! -d "$as_dir"; do
28402 as_dirs="$as_dir $as_dirs"
28403 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28405 X"$as_dir" : 'X\(//\)[^/]' \| \
28406 X"$as_dir" : 'X\(//\)$' \| \
28407 X"$as_dir" : 'X\(/\)' \| \
28408 . : '\(.\)' 2>/dev/null ||
28410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28412 /^X\(\/\/\)$/{ s//\1/; q; }
28413 /^X\(\/\).*/{ s//\1/; q; }
28416 test ! -n "$as_dirs" || mkdir $as_dirs
28417 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28418 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28419 { (exit 1); exit 1; }; }; }
28423 if test "$ac_dir" != .; then
28424 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28425 # A "../" for each directory in $ac_dir_suffix.
28426 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28428 ac_dir_suffix= ac_top_builddir=
28432 .) # No --srcdir option. We are building in place.
28434 if test -z "$ac_top_builddir"; then
28437 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28439 [\\/]* | ?:[\\/]* ) # Absolute path.
28440 ac_srcdir=$srcdir$ac_dir_suffix;
28441 ac_top_srcdir=$srcdir ;;
28442 *) # Relative path.
28443 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28444 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28447 # Do not use `cd foo && pwd` to compute absolute paths, because
28448 # the directories may not exist.
28450 .) ac_abs_builddir="$ac_dir";;
28453 .) ac_abs_builddir=`pwd`;;
28454 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28455 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28458 case $ac_abs_builddir in
28459 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28461 case ${ac_top_builddir}. in
28462 .) ac_abs_top_builddir=$ac_abs_builddir;;
28463 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28464 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28467 case $ac_abs_builddir in
28468 .) ac_abs_srcdir=$ac_srcdir;;
28471 .) ac_abs_srcdir=$ac_abs_builddir;;
28472 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28473 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28476 case $ac_abs_builddir in
28477 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28479 case $ac_top_srcdir in
28480 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28481 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28482 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28488 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28489 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
28492 if test x"$ac_file" != x-; then
28493 { echo "$as_me:$LINENO: creating $ac_file" >&5
28494 echo "$as_me: creating $ac_file" >&6;}
28497 # Let's still pretend it is `configure' which instantiates (i.e., don't
28498 # use $as_me), people would be surprised to read:
28499 # /* config.h. Generated by config.status. */
28500 if test x"$ac_file" = x-; then
28503 configure_input="$ac_file. "
28505 configure_input=$configure_input"Generated from `echo $ac_file_in |
28506 sed 's,.*/,,'` by configure."
28508 # First look for the input files in the build tree, otherwise in the
28510 ac_file_inputs=`IFS=:
28511 for f in $ac_file_in; do
28513 -) echo $tmp/stdin ;;
28515 # Absolute (can't be DOS-style, as IFS=:)
28516 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28517 echo "$as_me: error: cannot find input file: $f" >&2;}
28518 { (exit 1); exit 1; }; }
28521 if test -f "$f"; then
28524 elif test -f "$srcdir/$f"; then
28529 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28530 echo "$as_me: error: cannot find input file: $f" >&2;}
28531 { (exit 1); exit 1; }; }
28534 done` || { (exit 1); exit 1; }
28536 cat >>$CONFIG_STATUS <<_ACEOF
28540 cat >>$CONFIG_STATUS <<\_ACEOF
28542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28543 s,@configure_input@,$configure_input,;t t
28544 s,@srcdir@,$ac_srcdir,;t t
28545 s,@abs_srcdir@,$ac_abs_srcdir,;t t
28546 s,@top_srcdir@,$ac_top_srcdir,;t t
28547 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
28548 s,@builddir@,$ac_builddir,;t t
28549 s,@abs_builddir@,$ac_abs_builddir,;t t
28550 s,@top_builddir@,$ac_top_builddir,;t t
28551 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
28552 s,@INSTALL@,$ac_INSTALL,;t t
28553 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
28555 if test x"$ac_file" != x-; then
28556 mv $tmp/out $ac_file
28564 cat >>$CONFIG_STATUS <<\_ACEOF
28567 # CONFIG_HEADER section.
28570 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
28571 # NAME is the cpp macro being defined and VALUE is the value it is being given.
28573 # ac_d sets the value in "#define NAME VALUE" lines.
28574 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
28575 ac_dB='[ ].*$,\1#\2'
28578 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
28579 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
28580 ac_uB='$,\1#\2define\3'
28584 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
28585 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28587 - | *:- | *:-:* ) # input from stdin
28589 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28590 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28591 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28592 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28593 * ) ac_file_in=$ac_file.in ;;
28596 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
28597 echo "$as_me: creating $ac_file" >&6;}
28599 # First look for the input files in the build tree, otherwise in the
28601 ac_file_inputs=`IFS=:
28602 for f in $ac_file_in; do
28604 -) echo $tmp/stdin ;;
28606 # Absolute (can't be DOS-style, as IFS=:)
28607 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28608 echo "$as_me: error: cannot find input file: $f" >&2;}
28609 { (exit 1); exit 1; }; }
28610 # Do quote $f, to prevent DOS paths from being IFS'd.
28613 if test -f "$f"; then
28616 elif test -f "$srcdir/$f"; then
28621 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28622 echo "$as_me: error: cannot find input file: $f" >&2;}
28623 { (exit 1); exit 1; }; }
28626 done` || { (exit 1); exit 1; }
28627 # Remove the trailing spaces.
28628 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
28632 # Transform confdefs.h into two sed scripts, `conftest.defines' and
28633 # `conftest.undefs', that substitutes the proper values into
28634 # config.h.in to produce config.h. The first handles `#define'
28635 # templates, and the second `#undef' templates.
28636 # And first: Protect against being on the right side of a sed subst in
28637 # config.status. Protect against being in an unquoted here document
28638 # in config.status.
28639 rm -f conftest.defines conftest.undefs
28640 # Using a here document instead of a string reduces the quoting nightmare.
28641 # Putting comments in sed scripts is not portable.
28643 # `end' is used to avoid that the second main sed command (meant for
28644 # 0-ary CPP macros) applies to n-ary macro definitions.
28645 # See the Autoconf documentation for `clear'.
28646 cat >confdef2sed.sed <<\_ACEOF
28651 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
28653 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
28656 # If some macros were called several times there might be several times
28657 # the same #defines, which is useless. Nevertheless, we may not want to
28658 # sort them, since we want the *last* AC-DEFINE to be honored.
28659 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
28660 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
28661 rm -f confdef2sed.sed
28663 # This sed command replaces #undef with comments. This is necessary, for
28664 # example, in the case of _POSIX_SOURCE, which is predefined and required
28665 # on some systems where configure will not decide to define it.
28666 cat >>conftest.undefs <<\_ACEOF
28667 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
28670 # Break up conftest.defines because some shells have a limit on the size
28671 # of here documents, and old seds have small limits too (100 cmds).
28672 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
28673 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
28674 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
28675 echo ' :' >>$CONFIG_STATUS
28676 rm -f conftest.tail
28677 while grep . conftest.defines >/dev/null
28679 # Write a limited-size here document to $tmp/defines.sed.
28680 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
28681 # Speed up: don't consider the non `#define' lines.
28682 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
28683 # Work around the forget-to-reset-the-flag bug.
28684 echo 't clr' >>$CONFIG_STATUS
28685 echo ': clr' >>$CONFIG_STATUS
28686 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
28688 sed -f $tmp/defines.sed $tmp/in >$tmp/out
28690 mv $tmp/out $tmp/in
28692 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
28693 rm -f conftest.defines
28694 mv conftest.tail conftest.defines
28696 rm -f conftest.defines
28697 echo ' fi # grep' >>$CONFIG_STATUS
28698 echo >>$CONFIG_STATUS
28700 # Break up conftest.undefs because some shells have a limit on the size
28701 # of here documents, and old seds have small limits too (100 cmds).
28702 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
28703 rm -f conftest.tail
28704 while grep . conftest.undefs >/dev/null
28706 # Write a limited-size here document to $tmp/undefs.sed.
28707 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
28708 # Speed up: don't consider the non `#undef'
28709 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
28710 # Work around the forget-to-reset-the-flag bug.
28711 echo 't clr' >>$CONFIG_STATUS
28712 echo ': clr' >>$CONFIG_STATUS
28713 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
28715 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
28717 mv $tmp/out $tmp/in
28719 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
28720 rm -f conftest.undefs
28721 mv conftest.tail conftest.undefs
28723 rm -f conftest.undefs
28725 cat >>$CONFIG_STATUS <<\_ACEOF
28726 # Let's still pretend it is `configure' which instantiates (i.e., don't
28727 # use $as_me), people would be surprised to read:
28728 # /* config.h. Generated by config.status. */
28729 if test x"$ac_file" = x-; then
28730 echo "/* Generated by configure. */" >$tmp/config.h
28732 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
28734 cat $tmp/in >>$tmp/config.h
28736 if test x"$ac_file" != x-; then
28737 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
28738 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28739 echo "$as_me: $ac_file is unchanged" >&6;}
28741 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28743 X"$ac_file" : 'X\(//\)[^/]' \| \
28744 X"$ac_file" : 'X\(//\)$' \| \
28745 X"$ac_file" : 'X\(/\)' \| \
28746 . : '\(.\)' 2>/dev/null ||
28748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28750 /^X\(\/\/\)$/{ s//\1/; q; }
28751 /^X\(\/\).*/{ s//\1/; q; }
28753 { if $as_mkdir_p; then
28758 while test ! -d "$as_dir"; do
28759 as_dirs="$as_dir $as_dirs"
28760 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28762 X"$as_dir" : 'X\(//\)[^/]' \| \
28763 X"$as_dir" : 'X\(//\)$' \| \
28764 X"$as_dir" : 'X\(/\)' \| \
28765 . : '\(.\)' 2>/dev/null ||
28767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28769 /^X\(\/\/\)$/{ s//\1/; q; }
28770 /^X\(\/\).*/{ s//\1/; q; }
28773 test ! -n "$as_dirs" || mkdir $as_dirs
28774 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28775 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28776 { (exit 1); exit 1; }; }; }
28779 mv $tmp/config.h $ac_file
28783 rm -f $tmp/config.h
28785 # Compute $ac_file's index in $config_headers.
28787 for _am_header in $config_headers :; do
28788 case $_am_header in
28789 $ac_file | $ac_file:* )
28792 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28795 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
28796 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28797 X$ac_file : 'X\(//\)[^/]' \| \
28798 X$ac_file : 'X\(//\)$' \| \
28799 X$ac_file : 'X\(/\)' \| \
28800 . : '\(.\)' 2>/dev/null ||
28802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28804 /^X\(\/\/\)$/{ s//\1/; q; }
28805 /^X\(\/\).*/{ s//\1/; q; }
28806 s/.*/./; q'`/stamp-h$_am_stamp_count
28809 cat >>$CONFIG_STATUS <<\_ACEOF
28812 # CONFIG_COMMANDS section.
28814 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
28815 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
28816 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
28817 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
28818 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28819 X"$ac_dest" : 'X\(//\)[^/]' \| \
28820 X"$ac_dest" : 'X\(//\)$' \| \
28821 X"$ac_dest" : 'X\(/\)' \| \
28822 . : '\(.\)' 2>/dev/null ||
28824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28826 /^X\(\/\/\)$/{ s//\1/; q; }
28827 /^X\(\/\).*/{ s//\1/; q; }
28829 { if $as_mkdir_p; then
28834 while test ! -d "$as_dir"; do
28835 as_dirs="$as_dir $as_dirs"
28836 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28838 X"$as_dir" : 'X\(//\)[^/]' \| \
28839 X"$as_dir" : 'X\(//\)$' \| \
28840 X"$as_dir" : 'X\(/\)' \| \
28841 . : '\(.\)' 2>/dev/null ||
28843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28845 /^X\(\/\/\)$/{ s//\1/; q; }
28846 /^X\(\/\).*/{ s//\1/; q; }
28849 test ! -n "$as_dirs" || mkdir $as_dirs
28850 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28852 { (exit 1); exit 1; }; }; }
28856 if test "$ac_dir" != .; then
28857 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28858 # A "../" for each directory in $ac_dir_suffix.
28859 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28861 ac_dir_suffix= ac_top_builddir=
28865 .) # No --srcdir option. We are building in place.
28867 if test -z "$ac_top_builddir"; then
28870 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28872 [\\/]* | ?:[\\/]* ) # Absolute path.
28873 ac_srcdir=$srcdir$ac_dir_suffix;
28874 ac_top_srcdir=$srcdir ;;
28875 *) # Relative path.
28876 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28877 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28880 # Do not use `cd foo && pwd` to compute absolute paths, because
28881 # the directories may not exist.
28883 .) ac_abs_builddir="$ac_dir";;
28886 .) ac_abs_builddir=`pwd`;;
28887 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28888 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28891 case $ac_abs_builddir in
28892 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28894 case ${ac_top_builddir}. in
28895 .) ac_abs_top_builddir=$ac_abs_builddir;;
28896 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28897 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28900 case $ac_abs_builddir in
28901 .) ac_abs_srcdir=$ac_srcdir;;
28904 .) ac_abs_srcdir=$ac_abs_builddir;;
28905 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28906 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28909 case $ac_abs_builddir in
28910 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28912 case $ac_top_srcdir in
28913 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28914 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28915 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28920 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
28921 echo "$as_me: executing $ac_dest commands" >&6;}
28923 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28924 # Strip MF so we end up with the name of the file.
28925 mf=`echo "$mf" | sed -e 's/:.*$//'`
28926 # Check whether this is an Automake generated Makefile or not.
28927 # We used to match only the files named `Makefile.in', but
28928 # some people rename them; so instead we look at the file content.
28929 # Grep'ing the first line is not enough: some people post-process
28930 # each Makefile.in and add a new line on top of each file to say so.
28931 # So let's grep whole file.
28932 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
28933 dirpart=`(dirname "$mf") 2>/dev/null ||
28934 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28935 X"$mf" : 'X\(//\)[^/]' \| \
28936 X"$mf" : 'X\(//\)$' \| \
28937 X"$mf" : 'X\(/\)' \| \
28938 . : '\(.\)' 2>/dev/null ||
28940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28942 /^X\(\/\/\)$/{ s//\1/; q; }
28943 /^X\(\/\).*/{ s//\1/; q; }
28948 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
28949 # Extract the definition of DEP_FILES from the Makefile without
28951 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28952 test -z "$DEPDIR" && continue
28953 # When using ansi2knr, U may be empty or an underscore; expand it
28954 U=`sed -n 's/^U = //p' < "$mf"`
28955 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
28956 # We invoke sed twice because it is the simplest approach to
28957 # changing $(DEPDIR) to its actual value in the expansion.
28958 for file in `sed -n '
28959 /^DEP_FILES = .*\\\\$/ {
28968 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
28969 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28970 # Make sure the directory exists.
28971 test -f "$dirpart/$file" && continue
28972 fdir=`(dirname "$file") 2>/dev/null ||
28973 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28974 X"$file" : 'X\(//\)[^/]' \| \
28975 X"$file" : 'X\(//\)$' \| \
28976 X"$file" : 'X\(/\)' \| \
28977 . : '\(.\)' 2>/dev/null ||
28979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28981 /^X\(\/\/\)$/{ s//\1/; q; }
28982 /^X\(\/\).*/{ s//\1/; q; }
28984 { if $as_mkdir_p; then
28985 mkdir -p $dirpart/$fdir
28987 as_dir=$dirpart/$fdir
28989 while test ! -d "$as_dir"; do
28990 as_dirs="$as_dir $as_dirs"
28991 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28993 X"$as_dir" : 'X\(//\)[^/]' \| \
28994 X"$as_dir" : 'X\(//\)$' \| \
28995 X"$as_dir" : 'X\(/\)' \| \
28996 . : '\(.\)' 2>/dev/null ||
28998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29000 /^X\(\/\/\)$/{ s//\1/; q; }
29001 /^X\(\/\).*/{ s//\1/; q; }
29004 test ! -n "$as_dirs" || mkdir $as_dirs
29005 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
29006 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
29007 { (exit 1); exit 1; }; }; }
29009 # echo "creating $dirpart/$file"
29010 echo '# dummy' > "$dirpart/$file"
29018 cat >>$CONFIG_STATUS <<\_ACEOF
29020 { (exit 0); exit 0; }
29022 chmod +x $CONFIG_STATUS
29023 ac_clean_files=$ac_clean_files_save
29026 # configure is writing to config.log, and then calls config.status.
29027 # config.status does its own redirection, appending to config.log.
29028 # Unfortunately, on DOS this fails, as config.log is still kept open
29029 # by configure, so config.status won't be able to write to it; its
29030 # output is simply discarded. So we exec the FD to /dev/null,
29031 # effectively closing config.log, so it can be properly (re)opened and
29032 # appended to by config.status. When coming back to configure, we
29033 # need to make the FD available again.
29034 if test "$no_create" != yes; then
29036 ac_config_status_args=
29037 test "$silent" = yes &&
29038 ac_config_status_args="$ac_config_status_args --quiet"
29040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29043 # would make configure fail if this is the last instruction.
29044 $ac_cs_success || { (exit 1); exit 1; }
29048 { echo "$as_me:$LINENO:
29057 $FEATURES_TXT" >&6;}