2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.212.
5 # Report bugs to <vserver@list.linux-vserver.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 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.212'
427 PACKAGE_STRING='util-vserver 0.30.212'
428 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
430 ac_unique_file="src/capchroot.c"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO 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 FILE GZIP BZIP2 CPIO RESTORE RSYNC DOXYGEN XSLTP XSLTPROC HAVE_XSLTP_TRUE HAVE_XSLTP_FALSE HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE LIB_DEBUG_CPPFLAGS ENSC_USE_EXPENSIVE_TESTS initrddir RELEASE_CPPFLAGS DIET DIETFLAGS USE_DIETLIBC_TRUE USE_DIETLIBC_FALSE USE_DIETLIBC_COMPAT_TRUE USE_DIETLIBC_COMPAT_FALSE ENSC_USE_DIETLIBC_TRUE ENSC_USE_DIETLIBC_FALSE ENSC_USE_GLIBC_TRUE ENSC_USE_GLIBC_FALSE ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL vserverdir SVN2CL HAVE_SVN2CL_TRUE HAVE_SVN2CL_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE ENSC_HAVE_BEECRYPT_TRUE ENSC_HAVE_BEECRYPT_FALSE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name=s,x,x,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir='${exec_prefix}/bin'
497 sbindir='${exec_prefix}/sbin'
498 libexecdir='${exec_prefix}/libexec'
499 datadir='${prefix}/share'
500 sysconfdir='${prefix}/etc'
501 sharedstatedir='${prefix}/com'
502 localstatedir='${prefix}/var'
503 libdir='${exec_prefix}/lib'
504 includedir='${prefix}/include'
505 oldincludedir='/usr/include'
506 infodir='${prefix}/info'
507 mandir='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
530 -build | --build | --buil | --bui | --bu)
531 ac_prev=build_alias ;;
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build_alias=$ac_optarg ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev=cache_file ;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file=$ac_optarg ;;
543 cache_file=config.cache ;;
545 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
547 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
549 datadir=$ac_optarg ;;
551 -disable-* | --disable-*)
552 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* | --enable-*)
561 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
575 | --exec | --exe | --ex)
576 ac_prev=exec_prefix ;;
577 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
578 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
579 | --exec=* | --exe=* | --ex=*)
580 exec_prefix=$ac_optarg ;;
582 -gas | --gas | --ga | --g)
583 # Obsolete; use --with-gas.
586 -help | --help | --hel | --he | -h)
588 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
589 ac_init_help=recursive ;;
590 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
591 ac_init_help=short ;;
593 -host | --host | --hos | --ho)
594 ac_prev=host_alias ;;
595 -host=* | --host=* | --hos=* | --ho=*)
596 host_alias=$ac_optarg ;;
598 -includedir | --includedir | --includedi | --included | --include \
599 | --includ | --inclu | --incl | --inc)
600 ac_prev=includedir ;;
601 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
602 | --includ=* | --inclu=* | --incl=* | --inc=*)
603 includedir=$ac_optarg ;;
605 -infodir | --infodir | --infodi | --infod | --info | --inf)
607 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
608 infodir=$ac_optarg ;;
610 -libdir | --libdir | --libdi | --libd)
612 -libdir=* | --libdir=* | --libdi=* | --libd=*)
615 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
616 | --libexe | --libex | --libe)
617 ac_prev=libexecdir ;;
618 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
619 | --libexe=* | --libex=* | --libe=*)
620 libexecdir=$ac_optarg ;;
622 -localstatedir | --localstatedir | --localstatedi | --localstated \
623 | --localstate | --localstat | --localsta | --localst \
624 | --locals | --local | --loca | --loc | --lo)
625 ac_prev=localstatedir ;;
626 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
629 localstatedir=$ac_optarg ;;
631 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
633 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
637 # Obsolete; use --without-fp.
640 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
641 | --no-cr | --no-c | -n)
644 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
645 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
648 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
649 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
650 | --oldin | --oldi | --old | --ol | --o)
651 ac_prev=oldincludedir ;;
652 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
653 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
654 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
655 oldincludedir=$ac_optarg ;;
657 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
659 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
662 -program-prefix | --program-prefix | --program-prefi | --program-pref \
663 | --program-pre | --program-pr | --program-p)
664 ac_prev=program_prefix ;;
665 -program-prefix=* | --program-prefix=* | --program-prefi=* \
666 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
667 program_prefix=$ac_optarg ;;
669 -program-suffix | --program-suffix | --program-suffi | --program-suff \
670 | --program-suf | --program-su | --program-s)
671 ac_prev=program_suffix ;;
672 -program-suffix=* | --program-suffix=* | --program-suffi=* \
673 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
674 program_suffix=$ac_optarg ;;
676 -program-transform-name | --program-transform-name \
677 | --program-transform-nam | --program-transform-na \
678 | --program-transform-n | --program-transform- \
679 | --program-transform | --program-transfor \
680 | --program-transfo | --program-transf \
681 | --program-trans | --program-tran \
682 | --progr-tra | --program-tr | --program-t)
683 ac_prev=program_transform_name ;;
684 -program-transform-name=* | --program-transform-name=* \
685 | --program-transform-nam=* | --program-transform-na=* \
686 | --program-transform-n=* | --program-transform-=* \
687 | --program-transform=* | --program-transfor=* \
688 | --program-transfo=* | --program-transf=* \
689 | --program-trans=* | --program-tran=* \
690 | --progr-tra=* | --program-tr=* | --program-t=*)
691 program_transform_name=$ac_optarg ;;
693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694 | -silent | --silent | --silen | --sile | --sil)
697 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
699 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
701 sbindir=$ac_optarg ;;
703 -sharedstatedir | --sharedstatedir | --sharedstatedi \
704 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
705 | --sharedst | --shareds | --shared | --share | --shar \
707 ac_prev=sharedstatedir ;;
708 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
709 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
710 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
712 sharedstatedir=$ac_optarg ;;
714 -site | --site | --sit)
716 -site=* | --site=* | --sit=*)
719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
724 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
725 | --syscon | --sysco | --sysc | --sys | --sy)
726 ac_prev=sysconfdir ;;
727 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
728 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
729 sysconfdir=$ac_optarg ;;
731 -target | --target | --targe | --targ | --tar | --ta | --t)
732 ac_prev=target_alias ;;
733 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
734 target_alias=$ac_optarg ;;
736 -v | -verbose | --verbose | --verbos | --verbo | --verb)
739 -version | --version | --versio | --versi | --vers | -V)
743 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* | --without-*)
756 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
769 | --x-incl | --x-inc | --x-in | --x-i)
770 ac_prev=x_includes ;;
771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
773 x_includes=$ac_optarg ;;
775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
777 ac_prev=x_libraries ;;
778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780 x_libraries=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var in exec_prefix prefix
817 eval ac_val=$`echo $ac_var`
819 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val=$`echo $ac_var`
831 [\\/$]* | ?:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x; then
846 if test "x$build_alias" = x; then
847 cross_compiling=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix=$host_alias-
858 test "$silent" = yes && exec 6>/dev/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set=${build_alias+set}
898 ac_env_build_alias_value=$build_alias
899 ac_cv_env_build_alias_set=${build_alias+set}
900 ac_cv_env_build_alias_value=$build_alias
901 ac_env_host_alias_set=${host_alias+set}
902 ac_env_host_alias_value=$host_alias
903 ac_cv_env_host_alias_set=${host_alias+set}
904 ac_cv_env_host_alias_value=$host_alias
905 ac_env_target_alias_set=${target_alias+set}
906 ac_env_target_alias_value=$target_alias
907 ac_cv_env_target_alias_set=${target_alias+set}
908 ac_cv_env_target_alias_value=$target_alias
909 ac_env_CXX_set=${CXX+set}
910 ac_env_CXX_value=$CXX
911 ac_cv_env_CXX_set=${CXX+set}
912 ac_cv_env_CXX_value=$CXX
913 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
914 ac_env_CXXFLAGS_value=$CXXFLAGS
915 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
921 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925 ac_env_CC_set=${CC+set}
927 ac_cv_env_CC_set=${CC+set}
928 ac_cv_env_CC_value=$CC
929 ac_env_CFLAGS_set=${CFLAGS+set}
930 ac_env_CFLAGS_value=$CFLAGS
931 ac_cv_env_CFLAGS_set=${CFLAGS+set}
932 ac_cv_env_CFLAGS_value=$CFLAGS
933 ac_env_DIET_set=${DIET+set}
934 ac_env_DIET_value=$DIET
935 ac_cv_env_DIET_set=${DIET+set}
936 ac_cv_env_DIET_value=$DIET
937 ac_env_DIETFLAGS_set=${DIETFLAGS+set}
938 ac_env_DIETFLAGS_value=$DIETFLAGS
939 ac_cv_env_DIETFLAGS_set=${DIETFLAGS+set}
940 ac_cv_env_DIETFLAGS_value=$DIETFLAGS
941 ac_env_CPP_set=${CPP+set}
942 ac_env_CPP_value=$CPP
943 ac_cv_env_CPP_set=${CPP+set}
944 ac_cv_env_CPP_value=$CPP
945 ac_env_CXXCPP_set=${CXXCPP+set}
946 ac_env_CXXCPP_value=$CXXCPP
947 ac_cv_env_CXXCPP_set=${CXXCPP+set}
948 ac_cv_env_CXXCPP_value=$CXXCPP
949 ac_env_F77_set=${F77+set}
950 ac_env_F77_value=$F77
951 ac_cv_env_F77_set=${F77+set}
952 ac_cv_env_F77_value=$F77
953 ac_env_FFLAGS_set=${FFLAGS+set}
954 ac_env_FFLAGS_value=$FFLAGS
955 ac_cv_env_FFLAGS_set=${FFLAGS+set}
956 ac_cv_env_FFLAGS_value=$FFLAGS
959 # Report the --help message.
961 if test "$ac_init_help" = "long"; then
962 # Omit some internal or obsolete options to make the list less imposing.
963 # This message is too long to be a string in the A/UX 3.1 sh.
965 \`configure' configures util-vserver 0.30.212 to adapt to many kinds of systems.
967 Usage: $0 [OPTION]... [VAR=VALUE]...
969 To assign environment variables (e.g., CC, CFLAGS...), specify them as
970 VAR=VALUE. See below for descriptions of some of the useful variables.
972 Defaults for the options are specified in brackets.
975 -h, --help display this help and exit
976 --help=short display options specific to this package
977 --help=recursive display the short help of all the included packages
978 -V, --version display version information and exit
979 -q, --quiet, --silent do not print \`checking...' messages
980 --cache-file=FILE cache test results in FILE [disabled]
981 -C, --config-cache alias for \`--cache-file=config.cache'
982 -n, --no-create do not create output files
983 --srcdir=DIR find the sources in DIR [configure dir or \`..']
988 Installation directories:
989 --prefix=PREFIX install architecture-independent files in PREFIX
991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
994 By default, \`make install' will install all the files in
995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
997 for instance \`--prefix=\$HOME'.
999 For better control, use the options below.
1001 Fine tuning of the installation directories:
1002 --bindir=DIR user executables [EPREFIX/bin]
1003 --sbindir=DIR system admin executables [EPREFIX/sbin]
1004 --libexecdir=DIR program executables [EPREFIX/libexec]
1005 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1006 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1007 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1008 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1009 --libdir=DIR object code libraries [EPREFIX/lib]
1010 --includedir=DIR C header files [PREFIX/include]
1011 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1012 --infodir=DIR info documentation [PREFIX/info]
1013 --mandir=DIR man documentation [PREFIX/man]
1019 --program-prefix=PREFIX prepend PREFIX to installed program names
1020 --program-suffix=SUFFIX append SUFFIX to installed program names
1021 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1024 --build=BUILD configure for building on BUILD [guessed]
1025 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1029 if test -n "$ac_init_help"; then
1030 case $ac_init_help in
1031 short | recursive ) echo "Configuration of util-vserver 0.30.212:";;
1036 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1037 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1038 --enable-maintainer-mode enable make rules and dependencies not useful
1039 (and sometimes confusing) to the casual installer
1040 --disable-dependency-tracking speeds up one-time build
1041 --enable-dependency-tracking do not reject slow dependency extractors
1042 --disable-extra-optimizations
1043 disable certain extra optimizations (default: no)
1044 --enable-lib-debug enable additional debug code in library (default:
1046 --enable-expensive-tests
1047 disable tests which might be expensive on some
1048 systems (default: no)
1049 --enable-release enable release mode (default: no)
1050 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1051 --enable-dietlibc) (default: autodetect dietlibc)
1052 --disable-alternative-syscalls
1053 do not use the alternative _syscallX macros provided
1054 by Herbert Poetzl (default: use them)
1055 --enable-shared[=PKGS]
1056 build shared libraries [default=yes]
1057 --enable-static[=PKGS]
1058 build static libraries [default=yes]
1059 --enable-fast-install[=PKGS]
1060 optimize for fast installation [default=yes]
1061 --disable-libtool-lock avoid locking (might break parallel builds)
1062 --disable-internal-headers
1063 use vserver specific headers from the kernel instead
1064 of the shipped versions (default: no)
1065 --enable-apis=APIS enable support for the given apis; possible values
1066 are: legacy,compat,v11,fscompat,v13obs,v13,net,
1067 ALL,NOLEGACY (default: v13,net,v21)
1070 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1071 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1072 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1078 include additional configurations [automatic]
1079 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1080 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1081 values are 'fast', 'traditional' and 'auto'
1084 Some influential environment variables:
1085 CXX C++ compiler command
1086 CXXFLAGS C++ compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 DIET The 'diet' wrapper (default: diet)
1094 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1096 CXXCPP C++ preprocessor
1097 F77 Fortran 77 compiler command
1098 FFLAGS Fortran 77 compiler flags
1100 Use these variables to override the choices made by `configure' or to help
1101 it to find libraries and programs with nonstandard names/locations.
1103 Report bugs to <vserver@list.linux-vserver.org>.
1107 if test "$ac_init_help" = "recursive"; then
1108 # If there are subdirs, report their specific --help.
1110 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1111 test -d $ac_dir || continue
1114 if test "$ac_dir" != .; then
1115 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1116 # A "../" for each directory in $ac_dir_suffix.
1117 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 ac_dir_suffix= ac_top_builddir=
1123 .) # No --srcdir option. We are building in place.
1125 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 [\\/]* | ?:[\\/]* ) # Absolute path.
1131 ac_srcdir=$srcdir$ac_dir_suffix;
1132 ac_top_srcdir=$srcdir ;;
1134 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1135 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1138 # Do not use `cd foo && pwd` to compute absolute paths, because
1139 # the directories may not exist.
1141 .) ac_abs_builddir="$ac_dir";;
1144 .) ac_abs_builddir=`pwd`;;
1145 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1146 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1149 case $ac_abs_builddir in
1150 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 case ${ac_top_builddir}. in
1153 .) ac_abs_top_builddir=$ac_abs_builddir;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1155 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1158 case $ac_abs_builddir in
1159 .) ac_abs_srcdir=$ac_srcdir;;
1162 .) ac_abs_srcdir=$ac_abs_builddir;;
1163 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1164 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1167 case $ac_abs_builddir in
1168 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 case $ac_top_srcdir in
1171 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1172 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1173 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1178 # Check for guested configure; otherwise get Cygnus style configure.
1179 if test -f $ac_srcdir/configure.gnu; then
1181 $SHELL $ac_srcdir/configure.gnu --help=recursive
1182 elif test -f $ac_srcdir/configure; then
1184 $SHELL $ac_srcdir/configure --help=recursive
1185 elif test -f $ac_srcdir/configure.ac ||
1186 test -f $ac_srcdir/configure.in; then
1188 $ac_configure --help
1190 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1196 test -n "$ac_init_help" && exit 0
1197 if $ac_init_version; then
1199 util-vserver configure 0.30.212
1200 generated by GNU Autoconf 2.59
1202 Copyright (C) 2003 Free Software Foundation, Inc.
1203 This configure script is free software; the Free Software Foundation
1204 gives unlimited permission to copy, distribute and modify it.
1210 This file contains any messages produced by compilers while
1211 running configure, to aid debugging if configure makes a mistake.
1213 It was created by util-vserver $as_me 0.30.212, which was
1214 generated by GNU Autoconf 2.59. Invocation command line was
1225 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1226 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1227 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1228 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1229 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1232 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1235 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1236 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1237 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1238 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1239 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1240 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1248 test -z "$as_dir" && as_dir=.
1249 echo "PATH: $as_dir"
1264 # Keep a trace of the command line.
1265 # Strip out --no-create and --no-recursion so they do not pile up.
1266 # Strip out --silent because we don't want to record it for future runs.
1267 # Also quote any args containing shell meta-characters.
1268 # Make two passes to allow for proper duplicate-argument suppression.
1273 ac_must_keep_next=false
1279 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1280 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1281 | -silent | --silent | --silen | --sile | --sil)
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1290 if test $ac_must_keep_next = true; then
1291 ac_must_keep_next=false # Got value, back to normal.
1294 *=* | --config-cache | -C | -disable-* | --disable-* \
1295 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1296 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1297 | -with-* | --with-* | -without-* | --without-* | --x)
1298 case "$ac_configure_args0 " in
1299 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 -* ) ac_must_keep_next=true ;;
1305 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1306 # Get rid of the leading space.
1312 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1313 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315 # When interrupted or exit'd, cleanup temporary files, and complete
1316 # config.log. We remove comments because anyway the quotes in there
1317 # would cause problems or look ugly.
1318 # WARNING: Be sure not to use single quotes in there, as some shells,
1319 # such as our DU 5.0 friend, will then `close' the trap.
1320 trap 'exit_status=$?
1321 # Save into config.log some information that might help in debugging.
1326 ## ---------------- ##
1327 ## Cache variables. ##
1328 ## ---------------- ##
1331 # The following way of writing the cache mishandles newlines in values,
1334 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1349 ## ----------------- ##
1350 ## Output variables. ##
1351 ## ----------------- ##
1354 for ac_var in $ac_subst_vars
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1361 if test -n "$ac_subst_files"; then
1368 for ac_var in $ac_subst_files
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1376 if test -s confdefs.h; then
1383 sed "/^$/d" confdefs.h | sort
1386 test "$ac_signal" != 0 &&
1387 echo "$as_me: caught signal $ac_signal"
1388 echo "$as_me: exit $exit_status"
1390 rm -f core *.core &&
1391 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 for ac_signal in 1 2 13 15; do
1395 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1400 rm -rf conftest* confdefs.h
1401 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 # Predefined preprocessor variables.
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_NAME "$PACKAGE_NAME"
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_STRING "$PACKAGE_STRING"
1426 cat >>confdefs.h <<_ACEOF
1427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1431 # Let the site file select an alternate cache file if it wants to.
1432 # Prefer explicitly selected file to automatically selected ones.
1433 if test -z "$CONFIG_SITE"; then
1434 if test "x$prefix" != xNONE; then
1435 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 for ac_site_file in $CONFIG_SITE; do
1441 if test -r "$ac_site_file"; then
1442 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1443 echo "$as_me: loading site script $ac_site_file" >&6;}
1444 sed 's/^/| /' "$ac_site_file" >&5
1449 if test -r "$cache_file"; then
1450 # Some versions of bash will fail to source /dev/null (special
1451 # files actually), so we avoid doing that.
1452 if test -f "$cache_file"; then
1453 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1454 echo "$as_me: loading cache $cache_file" >&6;}
1456 [\\/]* | ?:[\\/]* ) . $cache_file;;
1457 *) . ./$cache_file;;
1461 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1462 echo "$as_me: creating cache $cache_file" >&6;}
1466 # Check that the precious variables saved in the cache have kept the same
1468 ac_cache_corrupted=false
1469 for ac_var in `(set) 2>&1 |
1470 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1471 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1472 eval ac_new_set=\$ac_env_${ac_var}_set
1473 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1474 eval ac_new_val="\$ac_env_${ac_var}_value"
1475 case $ac_old_set,$ac_new_set in
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1481 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1482 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1483 ac_cache_corrupted=: ;;
1486 if test "x$ac_old_val" != "x$ac_new_val"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1490 echo "$as_me: former value: $ac_old_val" >&2;}
1491 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1492 echo "$as_me: current value: $ac_new_val" >&2;}
1493 ac_cache_corrupted=:
1496 # Pass precious variables to config.status.
1497 if test "$ac_new_set" = set; then
1499 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1500 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1501 *) ac_arg=$ac_var=$ac_new_val ;;
1503 case " $ac_configure_args " in
1504 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1505 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1509 if $ac_cache_corrupted; then
1510 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1511 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1512 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1513 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1514 { (exit 1); exit 1; }; }
1518 ac_cpp='$CPP $CPPFLAGS'
1519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1550 ac_config_headers="$ac_config_headers config.h"
1553 am__api_version="1.8"
1555 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh; then
1562 ac_install_sh="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool; then
1566 ac_install_sh="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1586 # AmigaOS /C/install, which installs bootblocks on floppy discs
1587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1590 # OS/2's system install, which has a completely different semantic
1591 # ./install, which can be erroneously created by make from ./install.sh.
1592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1594 if test -z "$INSTALL"; then
1595 if test "${ac_cv_path_install+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 # Account for people who put trailing slashes in PATH elements.
1605 ./ | .// | /cC/* | \
1606 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1607 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 # OSF1 and SCO ODT 3.0 have their own names for install.
1611 # Don't use installbsd from OSF since it installs stuff as root
1613 for ac_prog in ginstall scoinst install; do
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1616 if test $ac_prog = install &&
1617 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1620 elif test $ac_prog = install &&
1621 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622 # program-specific install script used by HP pwplus--don't use.
1625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL=$ac_cv_path_install
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL=$ac_install_sh
1647 echo "$as_me:$LINENO: result: $INSTALL" >&5
1648 echo "${ECHO_T}$INSTALL" >&6
1650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1651 # It thinks the first close brace ends the variable substitution.
1652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1658 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1659 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 echo timestamp > conftest.file
1663 # Do `set' in a subshell so we don't clobber the current shell's
1664 # arguments. Must try -L first in case configure is actually a
1665 # symlink; some systems play weird games with the mod time of symlinks
1666 # (eg FreeBSD returns the mod time of the symlink's containing
1669 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1670 if test "$*" = "X"; then
1672 set X `ls -t $srcdir/configure conftest.file`
1675 if test "$*" != "X $srcdir/configure conftest.file" \
1676 && test "$*" != "X conftest.file $srcdir/configure"; then
1678 # If neither matched, then we have a broken ls. This can happen
1679 # if, for instance, CONFIG_SHELL is bash and it inherits a
1680 # broken ls alias from the environment. This has actually
1681 # happened. Such a system could not be considered "sane".
1682 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1683 alias in your environment" >&5
1684 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&2;}
1686 { (exit 1); exit 1; }; }
1689 test "$2" = conftest.file
1695 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1696 Check your system clock" >&5
1697 echo "$as_me: error: newly created file is older than distributed files!
1698 Check your system clock" >&2;}
1699 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: yes" >&5
1702 echo "${ECHO_T}yes" >&6
1703 test "$program_prefix" != NONE &&
1704 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1705 # Use a double $ so make ignores it.
1706 test "$program_suffix" != NONE &&
1707 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1708 # Double any \ or $. echo might interpret backslashes.
1709 # By default was `s,x,x', remove it if useless.
1710 cat <<\_ACEOF >conftest.sed
1711 s/[\\$]/&&/g;s/;s,x,x,$//
1713 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 # expand $ac_aux_dir to an absolute path
1717 am_aux_dir=`cd $ac_aux_dir && pwd`
1719 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1720 # Use eval to expand $SHELL
1721 if eval "$MISSING --run true"; then
1722 am_missing_run="$MISSING --run "
1725 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1726 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1730 # Keeping the `.' argument allows $(mkdir_p) to be used without
1731 # argument. Indeed, we sometimes output rules like
1732 # $(mkdir_p) $(somedir)
1733 # where $(somedir) is conditionally defined.
1734 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1735 # expensive solution, as it forces Make to start a sub-shell.)
1736 mkdir_p='mkdir -p -- .'
1738 # On NextStep and OpenStep, the `mkdir' command does not
1739 # recognize any option. It will interpret all options as
1740 # directories to create, and then abort because `.' already
1742 for d in ./-p ./--version;
1744 test -d $d && rmdir $d
1746 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1747 if test -f "$ac_aux_dir/mkinstalldirs"; then
1748 mkdir_p='$(mkinstalldirs)'
1750 mkdir_p='$(install_sh) -d'
1754 for ac_prog in gawk mawk nawk awk
1756 # Extract the first word of "$ac_prog", so it can be a program name with args.
1757 set dummy $ac_prog; ac_word=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_AWK+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$AWK"; then
1764 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir=.
1771 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_AWK="$ac_prog"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 if test -n "$AWK"; then
1784 echo "$as_me:$LINENO: result: $AWK" >&5
1785 echo "${ECHO_T}$AWK" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1791 test -n "$AWK" && break
1794 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1795 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1796 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1797 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 cat >conftest.make <<\_ACEOF
1802 @echo 'ac_maketemp="$(MAKE)"'
1804 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1805 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1806 if test -n "$ac_maketemp"; then
1807 eval ac_cv_prog_make_${ac_make}_set=yes
1809 eval ac_cv_prog_make_${ac_make}_set=no
1813 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1814 echo "$as_me:$LINENO: result: yes" >&5
1815 echo "${ECHO_T}yes" >&6
1818 echo "$as_me:$LINENO: result: no" >&5
1819 echo "${ECHO_T}no" >&6
1820 SET_MAKE="MAKE=${MAKE-make}"
1823 rm -rf .tst 2>/dev/null
1824 mkdir .tst 2>/dev/null
1825 if test -d .tst; then
1830 rmdir .tst 2>/dev/null
1832 # test to see if srcdir already configured
1833 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1834 test -f $srcdir/config.status; then
1835 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1836 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1837 { (exit 1); exit 1; }; }
1840 # test whether we have cygpath
1841 if test -z "$CYGPATH_W"; then
1842 if (cygpath --version) >/dev/null 2>/dev/null; then
1843 CYGPATH_W='cygpath -w'
1850 # Define the identity of the package.
1851 PACKAGE='util-vserver'
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE "$PACKAGE"
1860 cat >>confdefs.h <<_ACEOF
1861 #define VERSION "$VERSION"
1864 # Some tools Automake needs.
1866 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1869 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1872 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1875 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1878 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1881 AMTAR=${AMTAR-"${am_missing_run}tar"}
1883 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1885 # Installed binaries are usually stripped using `strip' when the user
1886 # run `make install-strip'. However `strip' might not be the right
1887 # tool to use in cross-compilation environments, therefore Automake
1888 # will honor the `STRIP' environment variable to overrule this program.
1889 if test "$cross_compiling" != no; then
1890 if test -n "$ac_tool_prefix"; then
1891 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1892 set dummy ${ac_tool_prefix}strip; ac_word=$2
1893 echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1895 if test "${ac_cv_prog_STRIP+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 if test -n "$STRIP"; then
1899 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir=.
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1908 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 STRIP=$ac_cv_prog_STRIP
1918 if test -n "$STRIP"; then
1919 echo "$as_me:$LINENO: result: $STRIP" >&5
1920 echo "${ECHO_T}$STRIP" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1927 if test -z "$ac_cv_prog_STRIP"; then
1929 # Extract the first word of "strip", so it can be a program name with args.
1930 set dummy strip; ac_word=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$ac_ct_STRIP"; then
1937 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_ac_ct_STRIP="strip"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1957 if test -n "$ac_ct_STRIP"; then
1958 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1959 echo "${ECHO_T}$ac_ct_STRIP" >&6
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1967 STRIP="$ac_cv_prog_STRIP"
1971 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1973 # We need awk for the "check" target. The system "awk" is bad on
1978 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1979 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1980 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1981 if test "${enable_maintainer_mode+set}" = set; then
1982 enableval="$enable_maintainer_mode"
1983 USE_MAINTAINER_MODE=$enableval
1985 USE_MAINTAINER_MODE=no
1987 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1988 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1991 if test $USE_MAINTAINER_MODE = yes; then
1992 MAINTAINER_MODE_TRUE=
1993 MAINTAINER_MODE_FALSE='#'
1995 MAINTAINER_MODE_TRUE='#'
1996 MAINTAINER_MODE_FALSE=
1999 MAINT=$MAINTAINER_MODE_TRUE
2003 # Make sure we can run config.sub.
2004 $ac_config_sub sun4 >/dev/null 2>&1 ||
2005 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2006 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2007 { (exit 1); exit 1; }; }
2009 echo "$as_me:$LINENO: checking build system type" >&5
2010 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2011 if test "${ac_cv_build+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 ac_cv_build_alias=$build_alias
2015 test -z "$ac_cv_build_alias" &&
2016 ac_cv_build_alias=`$ac_config_guess`
2017 test -z "$ac_cv_build_alias" &&
2018 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2019 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2020 { (exit 1); exit 1; }; }
2021 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2022 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2023 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2024 { (exit 1); exit 1; }; }
2027 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2028 echo "${ECHO_T}$ac_cv_build" >&6
2030 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2031 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2032 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2035 echo "$as_me:$LINENO: checking host system type" >&5
2036 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2037 if test "${ac_cv_host+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 ac_cv_host_alias=$host_alias
2041 test -z "$ac_cv_host_alias" &&
2042 ac_cv_host_alias=$ac_cv_build_alias
2043 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2044 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2045 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2046 { (exit 1); exit 1; }; }
2049 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2050 echo "${ECHO_T}$ac_cv_host" >&6
2052 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2053 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2054 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2058 GPG_KEY="0xFFD316AC53ACA43A!"
2061 # Checks for programs.
2063 ac_cpp='$CXXCPP $CPPFLAGS'
2064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2067 if test -n "$ac_tool_prefix"; then
2068 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2072 echo "$as_me:$LINENO: checking for $ac_word" >&5
2073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2074 if test "${ac_cv_prog_CXX+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 if test -n "$CXX"; then
2078 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 for ac_exec_ext in '' $ac_executable_extensions; do
2086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2087 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 if test -n "$CXX"; then
2098 echo "$as_me:$LINENO: result: $CXX" >&5
2099 echo "${ECHO_T}$CXX" >&6
2101 echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6
2105 test -n "$CXX" && break
2108 if test -z "$CXX"; then
2110 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2112 # Extract the first word of "$ac_prog", so it can be a program name with args.
2113 set dummy $ac_prog; ac_word=$2
2114 echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2116 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 if test -n "$ac_ct_CXX"; then
2120 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2129 ac_cv_prog_ac_ct_CXX="$ac_prog"
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2139 if test -n "$ac_ct_CXX"; then
2140 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2141 echo "${ECHO_T}$ac_ct_CXX" >&6
2143 echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6
2147 test -n "$ac_ct_CXX" && break
2149 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2155 # Provide some information about the compiler.
2156 echo "$as_me:$LINENO:" \
2157 "checking for C++ compiler version" >&5
2158 ac_compiler=`set X $ac_compile; echo $2`
2159 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2160 (eval $ac_compiler --version </dev/null >&5) 2>&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }
2164 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2165 (eval $ac_compiler -v </dev/null >&5) 2>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); }
2169 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2170 (eval $ac_compiler -V </dev/null >&5) 2>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }
2175 cat >conftest.$ac_ext <<_ACEOF
2178 cat confdefs.h >>conftest.$ac_ext
2179 cat >>conftest.$ac_ext <<_ACEOF
2180 /* end confdefs.h. */
2190 ac_clean_files_save=$ac_clean_files
2191 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2192 # Try to create an executable without -o first, disregard a.out.
2193 # It will help us diagnose broken compilers, and finding out an intuition
2195 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2196 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2197 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2198 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2199 (eval $ac_link_default) 2>&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; then
2203 # Find the output, starting from the most likely. This scheme is
2204 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2207 # Be careful to initialize this variable, since it used to be cached.
2208 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2210 # b.out is created by i960 compilers.
2211 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2213 test -f "$ac_file" || continue
2215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2218 # This is the source file.
2221 # We found the default executable, but exeext='' is most
2225 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2226 # FIXME: I believe we export ac_cv_exeext for Libtool,
2227 # but it would be cool to find out if it's true. Does anybody
2228 # maintain Libtool? --akim.
2236 echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.$ac_ext >&5
2239 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2240 See \`config.log' for more details." >&5
2241 echo "$as_me: error: C++ compiler cannot create executables
2242 See \`config.log' for more details." >&2;}
2243 { (exit 77); exit 77; }; }
2246 ac_exeext=$ac_cv_exeext
2247 echo "$as_me:$LINENO: result: $ac_file" >&5
2248 echo "${ECHO_T}$ac_file" >&6
2250 # Check the compiler produces executables we can run. If not, either
2251 # the compiler is broken, or we cross compile.
2252 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2253 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2254 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2255 # If not cross compiling, check that we can run a simple program.
2256 if test "$cross_compiling" != yes; then
2257 if { ac_try='./$ac_file'
2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; }; then
2265 if test "$cross_compiling" = maybe; then
2268 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2269 If you meant to cross compile, use \`--host'.
2270 See \`config.log' for more details." >&5
2271 echo "$as_me: error: cannot run C++ compiled programs.
2272 If you meant to cross compile, use \`--host'.
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2278 echo "$as_me:$LINENO: result: yes" >&5
2279 echo "${ECHO_T}yes" >&6
2281 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2282 ac_clean_files=$ac_clean_files_save
2283 # Check the compiler produces executables we can run. If not, either
2284 # the compiler is broken, or we cross compile.
2285 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2286 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2287 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2288 echo "${ECHO_T}$cross_compiling" >&6
2290 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2291 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2293 (eval $ac_link) 2>&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; then
2297 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2298 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2299 # work properly (i.e., refer to `conftest.exe'), while it won't with
2301 for ac_file in conftest.exe conftest conftest.*; do
2302 test -f "$ac_file" || continue
2304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2305 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2312 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2319 rm -f conftest$ac_cv_exeext
2320 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2321 echo "${ECHO_T}$ac_cv_exeext" >&6
2323 rm -f conftest.$ac_ext
2324 EXEEXT=$ac_cv_exeext
2326 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2327 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2328 if test "${ac_cv_objext+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 cat >conftest.$ac_ext <<_ACEOF
2334 cat confdefs.h >>conftest.$ac_ext
2335 cat >>conftest.$ac_ext <<_ACEOF
2336 /* end confdefs.h. */
2346 rm -f conftest.o conftest.obj
2347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2348 (eval $ac_compile) 2>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }; then
2352 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2355 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2360 echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.$ac_ext >&5
2363 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2364 See \`config.log' for more details." >&5
2365 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2366 See \`config.log' for more details." >&2;}
2367 { (exit 1); exit 1; }; }
2370 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2372 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2373 echo "${ECHO_T}$ac_cv_objext" >&6
2374 OBJEXT=$ac_cv_objext
2376 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2377 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2378 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 cat >conftest.$ac_ext <<_ACEOF
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2399 rm -f conftest.$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -z "$ac_cxx_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2429 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2432 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2433 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2434 GXX=`test $ac_compiler_gnu = yes && echo yes`
2435 ac_test_CXXFLAGS=${CXXFLAGS+set}
2436 ac_save_CXXFLAGS=$CXXFLAGS
2438 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2439 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2440 if test "${ac_cv_prog_cxx_g+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 cat >conftest.$ac_ext <<_ACEOF
2446 cat confdefs.h >>conftest.$ac_ext
2447 cat >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2458 rm -f conftest.$ac_objext
2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2460 (eval $ac_compile) 2>conftest.er1
2462 grep -v '^ *+' conftest.er1 >conftest.err
2464 cat conftest.err >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } &&
2467 { ac_try='test -z "$ac_cxx_werror_flag"
2468 || test ! -s conftest.err'
2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }; } &&
2474 { ac_try='test -s conftest.$ac_objext'
2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; }; then
2480 ac_cv_prog_cxx_g=yes
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2489 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2490 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2491 if test "$ac_test_CXXFLAGS" = set; then
2492 CXXFLAGS=$ac_save_CXXFLAGS
2493 elif test $ac_cv_prog_cxx_g = yes; then
2494 if test "$GXX" = yes; then
2500 if test "$GXX" = yes; then
2506 for ac_declaration in \
2508 'extern "C" void std::exit (int) throw (); using std::exit;' \
2509 'extern "C" void std::exit (int); using std::exit;' \
2510 'extern "C" void exit (int) throw ();' \
2511 'extern "C" void exit (int);' \
2514 cat >conftest.$ac_ext <<_ACEOF
2517 cat confdefs.h >>conftest.$ac_ext
2518 cat >>conftest.$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2530 rm -f conftest.$ac_objext
2531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2532 (eval $ac_compile) 2>conftest.er1
2534 grep -v '^ *+' conftest.er1 >conftest.err
2536 cat conftest.err >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); } &&
2539 { ac_try='test -z "$ac_cxx_werror_flag"
2540 || test ! -s conftest.err'
2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; } &&
2546 { ac_try='test -s conftest.$ac_objext'
2547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; }; then
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2560 cat >conftest.$ac_ext <<_ACEOF
2563 cat confdefs.h >>conftest.$ac_ext
2564 cat >>conftest.$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2575 rm -f conftest.$ac_objext
2576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577 (eval $ac_compile) 2>conftest.er1
2579 grep -v '^ *+' conftest.er1 >conftest.err
2581 cat conftest.err >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try='test -z "$ac_cxx_werror_flag"
2585 || test ! -s conftest.err'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; } &&
2591 { ac_try='test -s conftest.$ac_objext'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2599 echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2606 if test -n "$ac_declaration"; then
2607 echo '#ifdef __cplusplus' >>confdefs.h
2608 echo $ac_declaration >>confdefs.h
2609 echo '#endif' >>confdefs.h
2613 ac_cpp='$CPP $CPPFLAGS'
2614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617 DEPDIR="${am__leading_dot}deps"
2619 ac_config_commands="$ac_config_commands depfiles"
2622 am_make=${MAKE-make}
2623 cat > confinc << 'END'
2628 # If we don't find an include directive, just comment out the code.
2629 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2630 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2634 # First try GNU make style include.
2635 echo "include confinc" > confmf
2636 # We grep out `Entering directory' and `Leaving directory'
2637 # messages which can occur if `w' ends up in MAKEFLAGS.
2638 # In particular we don't look at `^make:' because GNU make might
2639 # be invoked under some other name (usually "gmake"), in which
2640 # case it prints its new name instead of `make'.
2641 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2646 # Now try BSD make style include.
2647 if test "$am__include" = "#"; then
2648 echo '.include "confinc"' > confmf
2649 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2650 am__include=.include
2657 echo "$as_me:$LINENO: result: $_am_result" >&5
2658 echo "${ECHO_T}$_am_result" >&6
2659 rm -f confinc confmf
2661 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2662 if test "${enable_dependency_tracking+set}" = set; then
2663 enableval="$enable_dependency_tracking"
2666 if test "x$enable_dependency_tracking" != xno; then
2667 am_depcomp="$ac_aux_dir/depcomp"
2672 if test "x$enable_dependency_tracking" != xno; then
2683 depcc="$CXX" am_compiler_list=
2685 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2686 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2687 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2691 # We make a subdir and do the tests there. Otherwise we can end up
2692 # making bogus files that we don't know about and never remove. For
2693 # instance it was reported that on HP-UX the gcc test will end up
2694 # making a dummy file named `D' -- because `-MD' means `put the output
2697 # Copy depcomp to subdir because otherwise we won't find it if we're
2698 # using a relative directory.
2699 cp "$am_depcomp" conftest.dir
2701 # We will build objects and dependencies in a subdirectory because
2702 # it helps to detect inapplicable dependency modes. For instance
2703 # both Tru64's cc and ICC support -MD to output dependencies as a
2704 # side effect of compilation, but ICC will put the dependencies in
2705 # the current directory while Tru64 will put them in the object
2709 am_cv_CXX_dependencies_compiler_type=none
2710 if test "$am_compiler_list" = ""; then
2711 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2713 for depmode in $am_compiler_list; do
2714 # Setup a source with many dependencies, because some compilers
2715 # like to wrap large dependency lists on column 80 (with \), and
2716 # we should not choose a depcomp mode which is confused by this.
2718 # We need to recreate these files for each test, as the compiler may
2719 # overwrite some of them when testing with obscure command lines.
2720 # This happens at least with the AIX C compiler.
2722 for i in 1 2 3 4 5 6; do
2723 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2724 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2725 # Solaris 8's {/usr,}/bin/sh.
2726 touch sub/conftst$i.h
2728 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2732 # after this tag, mechanisms are not by side-effect, so they'll
2733 # only be used when explicitly requested
2734 if test "x$enable_dependency_tracking" = xyes; then
2742 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2743 # mode. It turns out that the SunPro C++ compiler does not properly
2744 # handle `-M -o', and we need to detect this.
2745 if depmode=$depmode \
2746 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2747 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2748 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2749 >/dev/null 2>conftest.err &&
2750 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2751 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2752 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2753 # icc doesn't choke on unknown options, it will just issue warnings
2754 # (even with -Werror). So we grep stderr for any message
2755 # that says an option was ignored.
2756 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2757 am_cv_CXX_dependencies_compiler_type=$depmode
2766 am_cv_CXX_dependencies_compiler_type=none
2770 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2771 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2772 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2777 test "x$enable_dependency_tracking" != xno \
2778 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2779 am__fastdepCXX_TRUE=
2780 am__fastdepCXX_FALSE='#'
2782 am__fastdepCXX_TRUE='#'
2783 am__fastdepCXX_FALSE=
2788 ac_cpp='$CPP $CPPFLAGS'
2789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2794 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2795 echo "$as_me:$LINENO: checking for $ac_word" >&5
2796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2797 if test "${ac_cv_prog_CC+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 if test -n "$CC"; then
2801 ac_cv_prog_CC="$CC" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 if test -n "$CC"; then
2821 echo "$as_me:$LINENO: result: $CC" >&5
2822 echo "${ECHO_T}$CC" >&6
2824 echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6
2829 if test -z "$ac_cv_prog_CC"; then
2831 # Extract the first word of "gcc", so it can be a program name with args.
2832 set dummy gcc; ac_word=$2
2833 echo "$as_me:$LINENO: checking for $ac_word" >&5
2834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2835 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 if test -n "$ac_ct_CC"; then
2839 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848 ac_cv_prog_ac_ct_CC="gcc"
2849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2858 if test -n "$ac_ct_CC"; then
2859 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2860 echo "${ECHO_T}$ac_ct_CC" >&6
2862 echo "$as_me:$LINENO: result: no" >&5
2863 echo "${ECHO_T}no" >&6
2871 if test -z "$CC"; then
2872 if test -n "$ac_tool_prefix"; then
2873 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2874 set dummy ${ac_tool_prefix}cc; ac_word=$2
2875 echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2877 if test "${ac_cv_prog_CC+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 if test -n "$CC"; then
2881 ac_cv_prog_CC="$CC" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_CC="${ac_tool_prefix}cc"
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 echo "$as_me:$LINENO: result: $CC" >&5
2902 echo "${ECHO_T}$CC" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2909 if test -z "$ac_cv_prog_CC"; then
2911 # Extract the first word of "cc", so it can be a program name with args.
2912 set dummy cc; ac_word=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 if test -n "$ac_ct_CC"; then
2919 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_ac_ct_CC="cc"
2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2938 if test -n "$ac_ct_CC"; then
2939 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2940 echo "${ECHO_T}$ac_ct_CC" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2952 if test -z "$CC"; then
2953 # Extract the first word of "cc", so it can be a program name with args.
2954 set dummy cc; ac_word=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_CC+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC="$CC" # Let the user override the test.
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2972 ac_prog_rejected=yes
2976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test $ac_prog_rejected = yes; then
2983 # We found a bogon in the path, so make sure we never use it.
2984 set dummy $ac_cv_prog_CC
2986 if test $# != 0; then
2987 # We chose a different compiler from the bogus one.
2988 # However, it has the same basename, so the bogon will be chosen
2989 # first if we set CC to just the basename; use the full file name.
2991 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2997 if test -n "$CC"; then
2998 echo "$as_me:$LINENO: result: $CC" >&5
2999 echo "${ECHO_T}$CC" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3006 if test -z "$CC"; then
3007 if test -n "$ac_tool_prefix"; then
3010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3011 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3012 echo "$as_me:$LINENO: checking for $ac_word" >&5
3013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3014 if test "${ac_cv_prog_CC+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 if test -n "$CC"; then
3018 ac_cv_prog_CC="$CC" # Let the user override the test.
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$CC"; then
3038 echo "$as_me:$LINENO: result: $CC" >&5
3039 echo "${ECHO_T}$CC" >&6
3041 echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6
3045 test -n "$CC" && break
3048 if test -z "$CC"; then
3052 # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 echo "$as_me:$LINENO: checking for $ac_word" >&5
3055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 if test -n "$ac_ct_CC"; then
3060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_ac_ct_CC="$ac_prog"
3070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3079 if test -n "$ac_ct_CC"; then
3080 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3081 echo "${ECHO_T}$ac_ct_CC" >&6
3083 echo "$as_me:$LINENO: result: no" >&5
3084 echo "${ECHO_T}no" >&6
3087 test -n "$ac_ct_CC" && break
3096 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3097 See \`config.log' for more details." >&5
3098 echo "$as_me: error: no acceptable C compiler found in \$PATH
3099 See \`config.log' for more details." >&2;}
3100 { (exit 1); exit 1; }; }
3102 # Provide some information about the compiler.
3103 echo "$as_me:$LINENO:" \
3104 "checking for C compiler version" >&5
3105 ac_compiler=`set X $ac_compile; echo $2`
3106 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3107 (eval $ac_compiler --version </dev/null >&5) 2>&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }
3111 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3112 (eval $ac_compiler -v </dev/null >&5) 2>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }
3116 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3117 (eval $ac_compiler -V </dev/null >&5) 2>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }
3122 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3123 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3124 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3145 rm -f conftest.$ac_objext
3146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3147 (eval $ac_compile) 2>conftest.er1
3149 grep -v '^ *+' conftest.er1 >conftest.err
3151 cat conftest.err >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } &&
3154 { ac_try='test -z "$ac_c_werror_flag"
3155 || test ! -s conftest.err'
3156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }; } &&
3161 { ac_try='test -s conftest.$ac_objext'
3162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }; }; then
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3175 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3178 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3179 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3180 GCC=`test $ac_compiler_gnu = yes && echo yes`
3181 ac_test_CFLAGS=${CFLAGS+set}
3182 ac_save_CFLAGS=$CFLAGS
3184 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3185 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3186 if test "${ac_cv_prog_cc_g+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3204 rm -f conftest.$ac_objext
3205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3206 (eval $ac_compile) 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_c_werror_flag"
3214 || test ! -s conftest.err'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; } &&
3220 { ac_try='test -s conftest.$ac_objext'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3235 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3236 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3237 if test "$ac_test_CFLAGS" = set; then
3238 CFLAGS=$ac_save_CFLAGS
3239 elif test $ac_cv_prog_cc_g = yes; then
3240 if test "$GCC" = yes; then
3246 if test "$GCC" = yes; then
3252 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3253 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3254 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 ac_cv_prog_cc_stdc=no
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3267 #include <sys/types.h>
3268 #include <sys/stat.h>
3269 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3270 struct buf { int x; };
3271 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3272 static char *e (p, i)
3278 static char *f (char * (*g) (char **, int), char **p, ...)
3283 s = g (p, va_arg (v,int));
3288 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3289 function prototypes and stuff, but not '\xHH' hex character constants.
3290 These don't provoke an error unfortunately, instead are silently treated
3291 as 'x'. The following induces an error, until -std1 is added to get
3292 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3293 array size at least. It's necessary to write '\x00'==0 to get something
3294 that's true only with -std1. */
3295 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3297 int test (int i, double x);
3298 struct s1 {int (*f) (int a);};
3299 struct s2 {int (*f) (double a);};
3300 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3306 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3311 # Don't try gcc -ansi; that turns off useful extensions and
3312 # breaks some systems' header files.
3313 # AIX -qlanglvl=ansi
3314 # Ultrix and OSF/1 -std1
3315 # HP-UX 10.20 and later -Ae
3316 # HP-UX older versions -Aa -D_HPUX_SOURCE
3317 # SVR4 -Xc -D__EXTENSIONS__
3318 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3320 CC="$ac_save_CC $ac_arg"
3321 rm -f conftest.$ac_objext
3322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3323 (eval $ac_compile) 2>conftest.er1
3325 grep -v '^ *+' conftest.er1 >conftest.err
3327 cat conftest.err >&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); } &&
3330 { ac_try='test -z "$ac_c_werror_flag"
3331 || test ! -s conftest.err'
3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); }; } &&
3337 { ac_try='test -s conftest.$ac_objext'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; }; then
3343 ac_cv_prog_cc_stdc=$ac_arg
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3350 rm -f conftest.err conftest.$ac_objext
3352 rm -f conftest.$ac_ext conftest.$ac_objext
3357 case "x$ac_cv_prog_cc_stdc" in
3359 echo "$as_me:$LINENO: result: none needed" >&5
3360 echo "${ECHO_T}none needed" >&6 ;;
3362 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3363 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3364 CC="$CC $ac_cv_prog_cc_stdc" ;;
3367 # Some people use a C++ compiler to compile C. Since we use `exit',
3368 # in C++ we need to declare it. In case someone uses the same compiler
3369 # for both compiling C and C++ we need to have the C++ compiler decide
3370 # the declaration of exit, since it's the most demanding environment.
3371 cat >conftest.$ac_ext <<_ACEOF
3376 rm -f conftest.$ac_objext
3377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3378 (eval $ac_compile) 2>conftest.er1
3380 grep -v '^ *+' conftest.er1 >conftest.err
3382 cat conftest.err >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try='test -z "$ac_c_werror_flag"
3386 || test ! -s conftest.err'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; } &&
3392 { ac_try='test -s conftest.$ac_objext'
3393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; }; then
3398 for ac_declaration in \
3400 'extern "C" void std::exit (int) throw (); using std::exit;' \
3401 'extern "C" void std::exit (int); using std::exit;' \
3402 'extern "C" void exit (int) throw ();' \
3403 'extern "C" void exit (int);' \
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3422 rm -f conftest.$ac_objext
3423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3424 (eval $ac_compile) 2>conftest.er1
3426 grep -v '^ *+' conftest.er1 >conftest.err
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); } &&
3431 { ac_try='test -z "$ac_c_werror_flag"
3432 || test ! -s conftest.err'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; } &&
3438 { ac_try='test -s conftest.$ac_objext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3452 cat >conftest.$ac_ext <<_ACEOF
3455 cat confdefs.h >>conftest.$ac_ext
3456 cat >>conftest.$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3467 rm -f conftest.$ac_objext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3469 (eval $ac_compile) 2>conftest.er1
3471 grep -v '^ *+' conftest.er1 >conftest.err
3473 cat conftest.err >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } &&
3476 { ac_try='test -z "$ac_c_werror_flag"
3477 || test ! -s conftest.err'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; } &&
3483 { ac_try='test -s conftest.$ac_objext'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; }; then
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3498 if test -n "$ac_declaration"; then
3499 echo '#ifdef __cplusplus' >>confdefs.h
3500 echo $ac_declaration >>confdefs.h
3501 echo '#endif' >>confdefs.h
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.$ac_ext >&5
3509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 depcc="$CC" am_compiler_list=
3518 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3519 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3520 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3524 # We make a subdir and do the tests there. Otherwise we can end up
3525 # making bogus files that we don't know about and never remove. For
3526 # instance it was reported that on HP-UX the gcc test will end up
3527 # making a dummy file named `D' -- because `-MD' means `put the output
3530 # Copy depcomp to subdir because otherwise we won't find it if we're
3531 # using a relative directory.
3532 cp "$am_depcomp" conftest.dir
3534 # We will build objects and dependencies in a subdirectory because
3535 # it helps to detect inapplicable dependency modes. For instance
3536 # both Tru64's cc and ICC support -MD to output dependencies as a
3537 # side effect of compilation, but ICC will put the dependencies in
3538 # the current directory while Tru64 will put them in the object
3542 am_cv_CC_dependencies_compiler_type=none
3543 if test "$am_compiler_list" = ""; then
3544 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3546 for depmode in $am_compiler_list; do
3547 # Setup a source with many dependencies, because some compilers
3548 # like to wrap large dependency lists on column 80 (with \), and
3549 # we should not choose a depcomp mode which is confused by this.
3551 # We need to recreate these files for each test, as the compiler may
3552 # overwrite some of them when testing with obscure command lines.
3553 # This happens at least with the AIX C compiler.
3555 for i in 1 2 3 4 5 6; do
3556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3558 # Solaris 8's {/usr,}/bin/sh.
3559 touch sub/conftst$i.h
3561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3565 # after this tag, mechanisms are not by side-effect, so they'll
3566 # only be used when explicitly requested
3567 if test "x$enable_dependency_tracking" = xyes; then
3575 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3576 # mode. It turns out that the SunPro C++ compiler does not properly
3577 # handle `-M -o', and we need to detect this.
3578 if depmode=$depmode \
3579 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3580 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3581 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3582 >/dev/null 2>conftest.err &&
3583 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3584 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3585 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3586 # icc doesn't choke on unknown options, it will just issue warnings
3587 # (even with -Werror). So we grep stderr for any message
3588 # that says an option was ignored.
3589 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3590 am_cv_CC_dependencies_compiler_type=$depmode
3599 am_cv_CC_dependencies_compiler_type=none
3603 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3604 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3605 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3610 test "x$enable_dependency_tracking" != xno \
3611 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3613 am__fastdepCC_FALSE='#'
3615 am__fastdepCC_TRUE='#'
3616 am__fastdepCC_FALSE=
3620 # Find a good install program. We prefer a C program (faster),
3621 # so one script is as good as another. But avoid the broken or
3622 # incompatible versions:
3623 # SysV /etc/install, /usr/sbin/install
3624 # SunOS /usr/etc/install
3625 # IRIX /sbin/install
3627 # AmigaOS /C/install, which installs bootblocks on floppy discs
3628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3631 # OS/2's system install, which has a completely different semantic
3632 # ./install, which can be erroneously created by make from ./install.sh.
3633 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3634 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3635 if test -z "$INSTALL"; then
3636 if test "${ac_cv_path_install+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir=.
3644 # Account for people who put trailing slashes in PATH elements.
3646 ./ | .// | /cC/* | \
3647 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3648 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3651 # OSF1 and SCO ODT 3.0 have their own names for install.
3652 # Don't use installbsd from OSF since it installs stuff as root
3654 for ac_prog in ginstall scoinst install; do
3655 for ac_exec_ext in '' $ac_executable_extensions; do
3656 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3657 if test $ac_prog = install &&
3658 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3659 # AIX install. It has an incompatible calling convention.
3661 elif test $ac_prog = install &&
3662 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3663 # program-specific install script used by HP pwplus--don't use.
3666 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3678 if test "${ac_cv_path_install+set}" = set; then
3679 INSTALL=$ac_cv_path_install
3681 # As a last resort, use the slow shell script. We don't cache a
3682 # path for INSTALL within a source directory, because that will
3683 # break other packages using the cache if that directory is
3684 # removed, or if the path is relative.
3685 INSTALL=$ac_install_sh
3688 echo "$as_me:$LINENO: result: $INSTALL" >&5
3689 echo "${ECHO_T}$INSTALL" >&6
3691 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3692 # It thinks the first close brace ends the variable substitution.
3693 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3695 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3697 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3699 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3702 if test "$LN_S" = "ln -s"; then
3703 echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6
3706 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3707 echo "${ECHO_T}no, using $LN_S" >&6
3710 if test "x$CC" != xcc; then
3711 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3712 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3714 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3715 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3717 set dummy $CC; ac_cc=`echo $2 |
3718 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3719 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 cat >conftest.$ac_ext <<_ACEOF
3725 cat confdefs.h >>conftest.$ac_ext
3726 cat >>conftest.$ac_ext <<_ACEOF
3727 /* end confdefs.h. */
3737 # Make sure it works both with $CC and with simple cc.
3738 # We do the test twice because some compilers refuse to overwrite an
3739 # existing .o file with -o, though they will create one.
3740 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3741 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); };
3752 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3753 if test "x$CC" != xcc; then
3754 # Test first that cc exists at all.
3755 if { ac_try='cc -c conftest.$ac_ext >&5'
3756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); }; }; then
3761 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3762 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); };
3776 # cc exists but doesn't like -o.
3777 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3782 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3787 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3788 echo "$as_me:$LINENO: result: yes" >&5
3789 echo "${ECHO_T}yes" >&6
3791 echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6
3794 cat >>confdefs.h <<\_ACEOF
3795 #define NO_MINUS_C_MINUS_O 1
3800 # FIXME: we rely on the cache variable name because
3801 # there is no other way.
3803 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3804 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3805 # Losing compiler, so override with the script.
3806 # FIXME: It is wrong to rewrite CC.
3807 # But if we don't then we get into trouble of one sort or another.
3808 # A longer-term fix would be to have automake use am__CC in this case,
3809 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3810 CC="$am_aux_dir/compile $CC"
3817 if test -n "$PYTHON"; then
3818 # If the user set $PYTHON, use it and don't search something else.
3819 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
3820 echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6
3821 prog="import sys, string
3822 # split strings by '.' and convert to numeric. Append some zeros
3823 # because we need at least 4 digits for the hex conversion.
3824 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
3826 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3827 sys.exit(sys.hexversion < minverhex)"
3828 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3829 ($PYTHON -c "$prog") >&5 2>&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 { { echo "$as_me:$LINENO: error: too old" >&5
3837 echo "$as_me: error: too old" >&2;}
3838 { (exit 1); exit 1; }; }
3842 # Otherwise, try each interpreter until we find one that satisfies
3844 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
3845 echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6
3846 if test "${am_cv_pathless_PYTHON+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 for am_cv_pathless_PYTHON in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
3851 test "$am_cv_pathless_PYTHON" = none && break
3852 prog="import sys, string
3853 # split strings by '.' and convert to numeric. Append some zeros
3854 # because we need at least 4 digits for the hex conversion.
3855 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
3857 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3858 sys.exit(sys.hexversion < minverhex)"
3859 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3860 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; then
3869 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
3870 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
3871 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3872 if test "$am_cv_pathless_PYTHON" = none; then
3875 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3876 set dummy $am_cv_pathless_PYTHON; ac_word=$2
3877 echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3879 if test "${ac_cv_path_PYTHON+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 PYTHON=$ac_cv_path_PYTHON
3906 if test -n "$PYTHON"; then
3907 echo "$as_me:$LINENO: result: $PYTHON" >&5
3908 echo "${ECHO_T}$PYTHON" >&6
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3915 am_display_PYTHON=$am_cv_pathless_PYTHON
3919 if test "$PYTHON" = :; then
3920 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
3921 echo "$as_me: error: no suitable Python interpreter found" >&2;}
3922 { (exit 1); exit 1; }; }
3926 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
3927 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
3928 if test "${am_cv_python_version+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
3933 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
3934 echo "${ECHO_T}$am_cv_python_version" >&6
3935 PYTHON_VERSION=$am_cv_python_version
3939 PYTHON_PREFIX='${prefix}'
3941 PYTHON_EXEC_PREFIX='${exec_prefix}'
3945 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
3946 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
3947 if test "${am_cv_python_platform+set}" = set; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6
3950 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
3952 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
3953 echo "${ECHO_T}$am_cv_python_platform" >&6
3954 PYTHON_PLATFORM=$am_cv_python_platform
3959 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
3960 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
3961 if test "${am_cv_python_pythondir+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
3965 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
3967 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
3968 echo "${ECHO_T}$am_cv_python_pythondir" >&6
3969 pythondir=$am_cv_python_pythondir
3973 pkgpythondir=\${pythondir}/$PACKAGE
3976 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
3977 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
3978 if test "${am_cv_python_pyexecdir+set}" = set; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
3982 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
3984 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
3985 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
3986 pyexecdir=$am_cv_python_pyexecdir
3990 pkgpyexecdir=\${pyexecdir}/$PACKAGE
4001 echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4002 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6
4003 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 ac_cpp='$CXXCPP $CPPFLAGS'
4009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4013 cat >conftest.$ac_ext <<_ACEOF
4018 rm -f conftest.$ac_objext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020 (eval $ac_compile) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1 >conftest.err
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try='test -z "$ac_cxx_werror_flag"
4028 || test ! -s conftest.err'
4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; } &&
4034 { ac_try='test -s conftest.$ac_objext'
4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; }; then
4040 ensc_cv_cxx_cxxcompiler=yes
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 ensc_cv_cxx_cxxcompiler=no
4047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4049 ac_cpp='$CPP $CPPFLAGS'
4050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4056 echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4057 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6
4061 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4062 ENSC_HAVE_CXX_COMPILER_TRUE=
4063 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4065 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4066 ENSC_HAVE_CXX_COMPILER_FALSE=
4070 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4071 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4072 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4079 echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4080 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6
4081 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 ac_cpp='$CPP $CPPFLAGS'
4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4091 cat >conftest.$ac_ext <<_ACEOF
4093 int main(int argc, char *argv) {
4094 struct { int x; } a = { .x = argc };
4100 rm -f conftest.$ac_objext
4101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4102 (eval $ac_compile) 2>conftest.er1
4104 grep -v '^ *+' conftest.er1 >conftest.err
4106 cat conftest.err >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); } &&
4109 { ac_try='test -z "$ac_c_werror_flag"
4110 || test ! -s conftest.err'
4111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); }; } &&
4116 { ac_try='test -s conftest.$ac_objext'
4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; }; then
4122 ensc_cv_c99_c99compiler=yes
4124 echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.$ac_ext >&5
4127 ensc_cv_c99_c99compiler=no
4129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4131 ac_cpp='$CPP $CPPFLAGS'
4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4138 echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4139 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6
4143 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4144 ENSC_HAVE_C99_COMPILER_TRUE=
4145 ENSC_HAVE_C99_COMPILER_FALSE='#'
4147 ENSC_HAVE_C99_COMPILER_TRUE='#'
4148 ENSC_HAVE_C99_COMPILER_FALSE=
4152 if test x"$ensc_cv_c99_c99compiler" = xno; then
4153 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4154 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4159 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4184 # Extract the first word of "$ac_prog", so it can be a program name with args.
4185 set dummy $ac_prog; ac_word=$2
4186 echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4188 if test "${ac_cv_path_AWK+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $ensc_searchpath
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 if test -n "$AWK"; then
4216 echo "$as_me:$LINENO: result: $AWK" >&5
4217 echo "${ECHO_T}$AWK" >&6
4219 echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6
4223 test -n "$AWK" && break
4225 test -n "$AWK" || AWK="$ensc_dflt"
4228 if test -z "${AWK}" && $rq; then
4230 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4231 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4232 { (exit 1); exit 1; }; }
4234 { { echo "$as_me:$LINENO: error:
4235 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4237 echo "$as_me: error:
4238 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4240 { (exit 1); exit 1; }; }
4244 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy $ac_prog; ac_word=$2
4267 echo "$as_me:$LINENO: checking for $ac_word" >&5
4268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4269 if test "${ac_cv_path_CAT+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 for as_dir in $ensc_searchpath
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 if test -n "$CAT"; then
4297 echo "$as_me:$LINENO: result: $CAT" >&5
4298 echo "${ECHO_T}$CAT" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4304 test -n "$CAT" && break
4306 test -n "$CAT" || CAT="$ensc_dflt"
4309 if test -z "${CAT}" && $rq; then
4311 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4312 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4313 { (exit 1); exit 1; }; }
4315 { { echo "$as_me:$LINENO: error:
4316 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4318 echo "$as_me: error:
4319 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4321 { (exit 1); exit 1; }; }
4325 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4344 for ac_prog in chown
4346 # Extract the first word of "$ac_prog", so it can be a program name with args.
4347 set dummy $ac_prog; ac_word=$2
4348 echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4350 if test "${ac_cv_path_CHOWN+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $ensc_searchpath
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 CHOWN=$ac_cv_path_CHOWN
4377 if test -n "$CHOWN"; then
4378 echo "$as_me:$LINENO: result: $CHOWN" >&5
4379 echo "${ECHO_T}$CHOWN" >&6
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4385 test -n "$CHOWN" && break
4387 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4390 if test -z "${CHOWN}" && $rq; then
4392 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4393 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4394 { (exit 1); exit 1; }; }
4396 { { echo "$as_me:$LINENO: error:
4397 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4399 echo "$as_me: error:
4400 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4402 { (exit 1); exit 1; }; }
4406 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy $ac_prog; ac_word=$2
4429 echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4431 if test "${ac_cv_path_CMP+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $ensc_searchpath
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 if test -n "$CMP"; then
4459 echo "$as_me:$LINENO: result: $CMP" >&5
4460 echo "${ECHO_T}$CMP" >&6
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4466 test -n "$CMP" && break
4468 test -n "$CMP" || CMP="$ensc_dflt"
4471 if test -z "${CMP}" && $rq; then
4473 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4474 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4475 { (exit 1); exit 1; }; }
4477 { { echo "$as_me:$LINENO: error:
4478 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4480 echo "$as_me: error:
4481 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4483 { (exit 1); exit 1; }; }
4487 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4508 # Extract the first word of "$ac_prog", so it can be a program name with args.
4509 set dummy $ac_prog; ac_word=$2
4510 echo "$as_me:$LINENO: checking for $ac_word" >&5
4511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4512 if test "${ac_cv_path_CP+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $ensc_searchpath
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 if test -n "$CP"; then
4540 echo "$as_me:$LINENO: result: $CP" >&5
4541 echo "${ECHO_T}$CP" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4547 test -n "$CP" && break
4549 test -n "$CP" || CP="$ensc_dflt"
4552 if test -z "${CP}" && $rq; then
4554 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4555 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4556 { (exit 1); exit 1; }; }
4558 { { echo "$as_me:$LINENO: error:
4559 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4561 echo "$as_me: error:
4562 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4564 { (exit 1); exit 1; }; }
4568 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4587 for ac_prog in dirname
4589 # Extract the first word of "$ac_prog", so it can be a program name with args.
4590 set dummy $ac_prog; ac_word=$2
4591 echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4593 if test "${ac_cv_path_DIRNAME+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $ensc_searchpath
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 DIRNAME=$ac_cv_path_DIRNAME
4620 if test -n "$DIRNAME"; then
4621 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4622 echo "${ECHO_T}$DIRNAME" >&6
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4628 test -n "$DIRNAME" && break
4630 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4633 if test -z "${DIRNAME}" && $rq; then
4635 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4636 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4637 { (exit 1); exit 1; }; }
4639 { { echo "$as_me:$LINENO: error:
4640 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4642 echo "$as_me: error:
4643 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4645 { (exit 1); exit 1; }; }
4649 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4668 for ac_prog in egrep
4670 # Extract the first word of "$ac_prog", so it can be a program name with args.
4671 set dummy $ac_prog; ac_word=$2
4672 echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4674 if test "${ac_cv_path_EGREP+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4679 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 for as_dir in $ensc_searchpath
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4689 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 EGREP=$ac_cv_path_EGREP
4701 if test -n "$EGREP"; then
4702 echo "$as_me:$LINENO: result: $EGREP" >&5
4703 echo "${ECHO_T}$EGREP" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4709 test -n "$EGREP" && break
4711 test -n "$EGREP" || EGREP="$ensc_dflt"
4714 if test -z "${EGREP}" && $rq; then
4716 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4717 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4718 { (exit 1); exit 1; }; }
4720 { { echo "$as_me:$LINENO: error:
4721 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4723 echo "$as_me: error:
4724 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4726 { (exit 1); exit 1; }; }
4730 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4733 env_old_searchpath="${ensc_searchpath}"
4734 ensc_searchpath="/bin:${ensc_searchpath:-$PATH}"
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;"
4816 ensc_searchpath="${env_old_searchpath}"
4835 # Extract the first word of "$ac_prog", so it can be a program name with args.
4836 set dummy $ac_prog; ac_word=$2
4837 echo "$as_me:$LINENO: checking for $ac_word" >&5
4838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4839 if test "${ac_cv_path_GREP+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $ensc_searchpath
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 GREP=$ac_cv_path_GREP
4866 if test -n "$GREP"; then
4867 echo "$as_me:$LINENO: result: $GREP" >&5
4868 echo "${ECHO_T}$GREP" >&6
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4874 test -n "$GREP" && break
4876 test -n "$GREP" || GREP="$ensc_dflt"
4879 if test -z "${GREP}" && $rq; then
4881 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4882 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4883 { (exit 1); exit 1; }; }
4885 { { echo "$as_me:$LINENO: error:
4886 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4888 echo "$as_me: error:
4889 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4891 { (exit 1); exit 1; }; }
4895 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_path_LN+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 for as_dir in $ensc_searchpath
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 if test -n "$LN"; then
4948 echo "$as_me:$LINENO: result: $LN" >&5
4949 echo "${ECHO_T}$LN" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4955 test -n "$LN" && break
4957 test -n "$LN" || LN="$ensc_dflt"
4960 if test -z "${LN}" && $rq; then
4962 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
4963 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4964 { (exit 1); exit 1; }; }
4966 { { echo "$as_me:$LINENO: error:
4967 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4969 echo "$as_me: error:
4970 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4972 { (exit 1); exit 1; }; }
4976 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
4995 for ac_prog in mkdir
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_path_MKDIR+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 for as_dir in $ensc_searchpath
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 MKDIR=$ac_cv_path_MKDIR
5028 if test -n "$MKDIR"; then
5029 echo "$as_me:$LINENO: result: $MKDIR" >&5
5030 echo "${ECHO_T}$MKDIR" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5036 test -n "$MKDIR" && break
5038 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5041 if test -z "${MKDIR}" && $rq; then
5043 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5044 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5045 { (exit 1); exit 1; }; }
5047 { { echo "$as_me:$LINENO: error:
5048 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5050 echo "$as_me: error:
5051 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5053 { (exit 1); exit 1; }; }
5057 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5076 for ac_prog in mkfifo
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 echo "$as_me:$LINENO: checking for $ac_word" >&5
5081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5082 if test "${ac_cv_path_MKFIFO+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $ensc_searchpath
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 MKFIFO=$ac_cv_path_MKFIFO
5109 if test -n "$MKFIFO"; then
5110 echo "$as_me:$LINENO: result: $MKFIFO" >&5
5111 echo "${ECHO_T}$MKFIFO" >&6
5113 echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6
5117 test -n "$MKFIFO" && break
5119 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5122 if test -z "${MKFIFO}" && $rq; then
5124 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5125 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5126 { (exit 1); exit 1; }; }
5128 { { echo "$as_me:$LINENO: error:
5129 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5131 echo "$as_me: error:
5132 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5134 { (exit 1); exit 1; }; }
5138 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5157 for ac_prog in mktemp
5159 # Extract the first word of "$ac_prog", so it can be a program name with args.
5160 set dummy $ac_prog; ac_word=$2
5161 echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5163 if test "${ac_cv_path_MKTEMP+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $ensc_searchpath
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 MKTEMP=$ac_cv_path_MKTEMP
5190 if test -n "$MKTEMP"; then
5191 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5192 echo "${ECHO_T}$MKTEMP" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5198 test -n "$MKTEMP" && break
5200 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5203 if test -z "${MKTEMP}" && $rq; then
5205 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5206 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5207 { (exit 1); exit 1; }; }
5209 { { echo "$as_me:$LINENO: error:
5210 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5212 echo "$as_me: error:
5213 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5215 { (exit 1); exit 1; }; }
5219 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5238 for ac_prog in mount
5240 # Extract the first word of "$ac_prog", so it can be a program name with args.
5241 set dummy $ac_prog; ac_word=$2
5242 echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5244 if test "${ac_cv_path_MOUNT+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $ensc_searchpath
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 MOUNT=$ac_cv_path_MOUNT
5271 if test -n "$MOUNT"; then
5272 echo "$as_me:$LINENO: result: $MOUNT" >&5
5273 echo "${ECHO_T}$MOUNT" >&6
5275 echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6
5279 test -n "$MOUNT" && break
5281 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5284 if test -z "${MOUNT}" && $rq; then
5286 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5287 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5288 { (exit 1); exit 1; }; }
5290 { { echo "$as_me:$LINENO: error:
5291 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5293 echo "$as_me: error:
5294 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5296 { (exit 1); exit 1; }; }
5300 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5321 # Extract the first word of "$ac_prog", so it can be a program name with args.
5322 set dummy $ac_prog; ac_word=$2
5323 echo "$as_me:$LINENO: checking for $ac_word" >&5
5324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5325 if test "${ac_cv_path_MV+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $ensc_searchpath
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 if test -n "$MV"; then
5353 echo "$as_me:$LINENO: result: $MV" >&5
5354 echo "${ECHO_T}$MV" >&6
5356 echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6
5360 test -n "$MV" && break
5362 test -n "$MV" || MV="$ensc_dflt"
5365 if test -z "${MV}" && $rq; then
5367 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5368 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5369 { (exit 1); exit 1; }; }
5371 { { echo "$as_me:$LINENO: error:
5372 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5374 echo "$as_me: error:
5375 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5377 { (exit 1); exit 1; }; }
5381 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5402 # Extract the first word of "$ac_prog", so it can be a program name with args.
5403 set dummy $ac_prog; ac_word=$2
5404 echo "$as_me:$LINENO: checking for $ac_word" >&5
5405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5406 if test "${ac_cv_path_NICE+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $ensc_searchpath
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 NICE=$ac_cv_path_NICE
5433 if test -n "$NICE"; then
5434 echo "$as_me:$LINENO: result: $NICE" >&5
5435 echo "${ECHO_T}$NICE" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5441 test -n "$NICE" && break
5443 test -n "$NICE" || NICE="$ensc_dflt"
5446 if test -z "${NICE}" && $rq; then
5448 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5449 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5450 { (exit 1); exit 1; }; }
5452 { { echo "$as_me:$LINENO: error:
5453 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5455 echo "$as_me: error:
5456 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5458 { (exit 1); exit 1; }; }
5462 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5483 # Extract the first word of "$ac_prog", so it can be a program name with args.
5484 set dummy $ac_prog; ac_word=$2
5485 echo "$as_me:$LINENO: checking for $ac_word" >&5
5486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5487 if test "${ac_cv_path_PS+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $ensc_searchpath
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 if test -n "$PS"; then
5515 echo "$as_me:$LINENO: result: $PS" >&5
5516 echo "${ECHO_T}$PS" >&6
5518 echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6
5522 test -n "$PS" && break
5524 test -n "$PS" || PS="$ensc_dflt"
5527 if test -z "${PS}" && $rq; then
5529 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5530 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5531 { (exit 1); exit 1; }; }
5533 { { echo "$as_me:$LINENO: error:
5534 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5536 echo "$as_me: error:
5537 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5539 { (exit 1); exit 1; }; }
5543 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5564 # Extract the first word of "$ac_prog", so it can be a program name with args.
5565 set dummy $ac_prog; ac_word=$2
5566 echo "$as_me:$LINENO: checking for $ac_word" >&5
5567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5568 if test "${ac_cv_path_RM+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $ensc_searchpath
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 if test -n "$RM"; then
5596 echo "$as_me:$LINENO: result: $RM" >&5
5597 echo "${ECHO_T}$RM" >&6
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5603 test -n "$RM" && break
5605 test -n "$RM" || RM="$ensc_dflt"
5608 if test -z "${RM}" && $rq; then
5610 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5611 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5612 { (exit 1); exit 1; }; }
5614 { { echo "$as_me:$LINENO: error:
5615 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5617 echo "$as_me: error:
5618 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5620 { (exit 1); exit 1; }; }
5624 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5643 for ac_prog in rmdir
5645 # Extract the first word of "$ac_prog", so it can be a program name with args.
5646 set dummy $ac_prog; ac_word=$2
5647 echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5649 if test "${ac_cv_path_RMDIR+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $ensc_searchpath
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 RMDIR=$ac_cv_path_RMDIR
5676 if test -n "$RMDIR"; then
5677 echo "$as_me:$LINENO: result: $RMDIR" >&5
5678 echo "${ECHO_T}$RMDIR" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5684 test -n "$RMDIR" && break
5686 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5689 if test -z "${RMDIR}" && $rq; then
5691 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5692 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5693 { (exit 1); exit 1; }; }
5695 { { echo "$as_me:$LINENO: error:
5696 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5698 echo "$as_me: error:
5699 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5701 { (exit 1); exit 1; }; }
5705 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 echo "$as_me:$LINENO: checking for $ac_word" >&5
5729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5730 if test "${ac_cv_path_SED+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $ensc_searchpath
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 if test -n "$SED"; then
5758 echo "$as_me:$LINENO: result: $SED" >&5
5759 echo "${ECHO_T}$SED" >&6
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5765 test -n "$SED" && break
5767 test -n "$SED" || SED="$ensc_dflt"
5770 if test -z "${SED}" && $rq; then
5772 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5773 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5774 { (exit 1); exit 1; }; }
5776 { { echo "$as_me:$LINENO: error:
5777 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5779 echo "$as_me: error:
5780 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5782 { (exit 1); exit 1; }; }
5786 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5807 # Extract the first word of "$ac_prog", so it can be a program name with args.
5808 set dummy $ac_prog; ac_word=$2
5809 echo "$as_me:$LINENO: checking for $ac_word" >&5
5810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5811 if test "${ac_cv_path_SH+set}" = set; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $ensc_searchpath
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 if test -n "$SH"; then
5839 echo "$as_me:$LINENO: result: $SH" >&5
5840 echo "${ECHO_T}$SH" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5846 test -n "$SH" && break
5848 test -n "$SH" || SH="$ensc_dflt"
5851 if test -z "${SH}" && $rq; then
5853 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5854 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5855 { (exit 1); exit 1; }; }
5857 { { echo "$as_me:$LINENO: error:
5858 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5860 echo "$as_me: error:
5861 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5863 { (exit 1); exit 1; }; }
5867 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy $ac_prog; ac_word=$2
5890 echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5892 if test "${ac_cv_path_TAC+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $ensc_searchpath
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 if test -n "$TAC"; then
5920 echo "$as_me:$LINENO: result: $TAC" >&5
5921 echo "${ECHO_T}$TAC" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5927 test -n "$TAC" && break
5929 test -n "$TAC" || TAC="$ensc_dflt"
5932 if test -z "${TAC}" && $rq; then
5934 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
5935 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5936 { (exit 1); exit 1; }; }
5938 { { echo "$as_me:$LINENO: error:
5939 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5941 echo "$as_me: error:
5942 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5944 { (exit 1); exit 1; }; }
5948 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
5969 # Extract the first word of "$ac_prog", so it can be a program name with args.
5970 set dummy $ac_prog; ac_word=$2
5971 echo "$as_me:$LINENO: checking for $ac_word" >&5
5972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5973 if test "${ac_cv_path_TAR+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $ensc_searchpath
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 if test -n "$TAR"; then
6001 echo "$as_me:$LINENO: result: $TAR" >&5
6002 echo "${ECHO_T}$TAR" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6008 test -n "$TAR" && break
6010 test -n "$TAR" || TAR="$ensc_dflt"
6013 if test -z "${TAR}" && $rq; then
6015 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6016 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6017 { (exit 1); exit 1; }; }
6019 { { echo "$as_me:$LINENO: error:
6020 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6022 echo "$as_me: error:
6023 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6025 { (exit 1); exit 1; }; }
6029 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6048 for ac_prog in touch
6050 # Extract the first word of "$ac_prog", so it can be a program name with args.
6051 set dummy $ac_prog; ac_word=$2
6052 echo "$as_me:$LINENO: checking for $ac_word" >&5
6053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6054 if test "${ac_cv_path_TOUCH+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $ensc_searchpath
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 TOUCH=$ac_cv_path_TOUCH
6081 if test -n "$TOUCH"; then
6082 echo "$as_me:$LINENO: result: $TOUCH" >&5
6083 echo "${ECHO_T}$TOUCH" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6089 test -n "$TOUCH" && break
6091 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6094 if test -z "${TOUCH}" && $rq; then
6096 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6097 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6098 { (exit 1); exit 1; }; }
6100 { { echo "$as_me:$LINENO: error:
6101 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6103 echo "$as_me: error:
6104 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6106 { (exit 1); exit 1; }; }
6110 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6131 # Extract the first word of "$ac_prog", so it can be a program name with args.
6132 set dummy $ac_prog; ac_word=$2
6133 echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6135 if test "${ac_cv_path_TTY+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $ensc_searchpath
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 if test -n "$TTY"; then
6163 echo "$as_me:$LINENO: result: $TTY" >&5
6164 echo "${ECHO_T}$TTY" >&6
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6170 test -n "$TTY" && break
6172 test -n "$TTY" || TTY="$ensc_dflt"
6175 if test -z "${TTY}" && $rq; then
6177 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6178 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6179 { (exit 1); exit 1; }; }
6181 { { echo "$as_me:$LINENO: error:
6182 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6184 echo "$as_me: error:
6185 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6187 { (exit 1); exit 1; }; }
6191 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6210 for ac_prog in umount
6212 # Extract the first word of "$ac_prog", so it can be a program name with args.
6213 set dummy $ac_prog; ac_word=$2
6214 echo "$as_me:$LINENO: checking for $ac_word" >&5
6215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6216 if test "${ac_cv_path_UMOUNT+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 for as_dir in $ensc_searchpath
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6231 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 UMOUNT=$ac_cv_path_UMOUNT
6243 if test -n "$UMOUNT"; then
6244 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6245 echo "${ECHO_T}$UMOUNT" >&6
6247 echo "$as_me:$LINENO: result: no" >&5
6248 echo "${ECHO_T}no" >&6
6251 test -n "$UMOUNT" && break
6253 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6256 if test -z "${UMOUNT}" && $rq; then
6258 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6259 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6260 { (exit 1); exit 1; }; }
6262 { { echo "$as_me:$LINENO: error:
6263 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6265 echo "$as_me: error:
6266 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6268 { (exit 1); exit 1; }; }
6272 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6293 # Extract the first word of "$ac_prog", so it can be a program name with args.
6294 set dummy $ac_prog; ac_word=$2
6295 echo "$as_me:$LINENO: checking for $ac_word" >&5
6296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6297 if test "${ac_cv_path_WC+set}" = set; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 for as_dir in $ensc_searchpath
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 if test -n "$WC"; then
6325 echo "$as_me:$LINENO: result: $WC" >&5
6326 echo "${ECHO_T}$WC" >&6
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6332 test -n "$WC" && break
6334 test -n "$WC" || WC="$ensc_dflt"
6337 if test -z "${WC}" && $rq; then
6339 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6340 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6341 { (exit 1); exit 1; }; }
6343 { { echo "$as_me:$LINENO: error:
6344 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6346 echo "$as_me: error:
6347 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6349 { (exit 1); exit 1; }; }
6353 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6376 # Extract the first word of "$ac_prog", so it can be a program name with args.
6377 set dummy $ac_prog; ac_word=$2
6378 echo "$as_me:$LINENO: checking for $ac_word" >&5
6379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6380 if test "${ac_cv_path_IP+set}" = set; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in $ensc_searchpath
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 if test -n "$IP"; then
6408 echo "$as_me:$LINENO: result: $IP" >&5
6409 echo "${ECHO_T}$IP" >&6
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6415 test -n "$IP" && break
6417 test -n "$IP" || IP="$ensc_dflt"
6420 if test -z "${IP}" && $rq; then
6421 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6422 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6423 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6424 { (exit 1); exit 1; }; }
6426 { { echo "$as_me:$LINENO: error:
6427 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6428 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6429 echo "$as_me: error:
6430 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6431 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6432 { (exit 1); exit 1; }; }
6436 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6455 for ac_prog in iptables
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy $ac_prog; ac_word=$2
6459 echo "$as_me:$LINENO: checking for $ac_word" >&5
6460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6461 if test "${ac_cv_path_IPTABLES+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $ensc_searchpath
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 IPTABLES=$ac_cv_path_IPTABLES
6488 if test -n "$IPTABLES"; then
6489 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6490 echo "${ECHO_T}$IPTABLES" >&6
6492 echo "$as_me:$LINENO: result: no" >&5
6493 echo "${ECHO_T}no" >&6
6496 test -n "$IPTABLES" && break
6498 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6501 if test -z "${IPTABLES}" && $rq; then
6503 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6504 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6505 { (exit 1); exit 1; }; }
6507 { { echo "$as_me:$LINENO: error:
6508 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6510 echo "$as_me: error:
6511 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6513 { (exit 1); exit 1; }; }
6517 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6536 for ac_prog in modprobe
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy $ac_prog; ac_word=$2
6540 echo "$as_me:$LINENO: checking for $ac_word" >&5
6541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6542 if test "${ac_cv_path_MODPROBE+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $ensc_searchpath
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 MODPROBE=$ac_cv_path_MODPROBE
6569 if test -n "$MODPROBE"; then
6570 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6571 echo "${ECHO_T}$MODPROBE" >&6
6573 echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6
6577 test -n "$MODPROBE" && break
6579 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6582 if test -z "${MODPROBE}" && $rq; then
6584 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6585 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6586 { (exit 1); exit 1; }; }
6588 { { echo "$as_me:$LINENO: error:
6589 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6591 echo "$as_me: error:
6592 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6594 { (exit 1); exit 1; }; }
6598 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6617 for ac_prog in nameif
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 echo "$as_me:$LINENO: checking for $ac_word" >&5
6622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6623 if test "${ac_cv_path_NAMEIF+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $ensc_searchpath
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 NAMEIF=$ac_cv_path_NAMEIF
6650 if test -n "$NAMEIF"; then
6651 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6652 echo "${ECHO_T}$NAMEIF" >&6
6654 echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6
6658 test -n "$NAMEIF" && break
6660 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6663 if test -z "${NAMEIF}" && $rq; then
6665 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6666 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6667 { (exit 1); exit 1; }; }
6669 { { echo "$as_me:$LINENO: error:
6670 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6672 echo "$as_me: error:
6673 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6675 { (exit 1); exit 1; }; }
6679 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6698 for ac_prog in nohup
6700 # Extract the first word of "$ac_prog", so it can be a program name with args.
6701 set dummy $ac_prog; ac_word=$2
6702 echo "$as_me:$LINENO: checking for $ac_word" >&5
6703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6704 if test "${ac_cv_path_NOHUP+set}" = set; then
6705 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $ensc_searchpath
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 NOHUP=$ac_cv_path_NOHUP
6731 if test -n "$NOHUP"; then
6732 echo "$as_me:$LINENO: result: $NOHUP" >&5
6733 echo "${ECHO_T}$NOHUP" >&6
6735 echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6
6739 test -n "$NOHUP" && break
6741 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6744 if test -z "${NOHUP}" && $rq; then
6746 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6747 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6748 { (exit 1); exit 1; }; }
6750 { { echo "$as_me:$LINENO: error:
6751 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6753 echo "$as_me: error:
6754 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6756 { (exit 1); exit 1; }; }
6760 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6779 for ac_prog in rmmod
6781 # Extract the first word of "$ac_prog", so it can be a program name with args.
6782 set dummy $ac_prog; ac_word=$2
6783 echo "$as_me:$LINENO: checking for $ac_word" >&5
6784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6785 if test "${ac_cv_path_RMMOD+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6790 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $ensc_searchpath
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 RMMOD=$ac_cv_path_RMMOD
6812 if test -n "$RMMOD"; then
6813 echo "$as_me:$LINENO: result: $RMMOD" >&5
6814 echo "${ECHO_T}$RMMOD" >&6
6816 echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6
6820 test -n "$RMMOD" && break
6822 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6825 if test -z "${RMMOD}" && $rq; then
6827 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6828 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6829 { (exit 1); exit 1; }; }
6831 { { echo "$as_me:$LINENO: error:
6832 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6834 echo "$as_me: error:
6835 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6837 { (exit 1); exit 1; }; }
6841 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
6860 for ac_prog in vconfig
6862 # Extract the first word of "$ac_prog", so it can be a program name with args.
6863 set dummy $ac_prog; ac_word=$2
6864 echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6866 if test "${ac_cv_path_VCONFIG+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $ensc_searchpath
6878 test -z "$as_dir" && as_dir=.
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
6882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 VCONFIG=$ac_cv_path_VCONFIG
6893 if test -n "$VCONFIG"; then
6894 echo "$as_me:$LINENO: result: $VCONFIG" >&5
6895 echo "${ECHO_T}$VCONFIG" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6901 test -n "$VCONFIG" && break
6903 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
6906 if test -z "${VCONFIG}" && $rq; then
6907 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
6908 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
6909 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6910 { (exit 1); exit 1; }; }
6912 { { echo "$as_me:$LINENO: error:
6913 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6914 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
6915 echo "$as_me: error:
6916 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6917 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
6918 { (exit 1); exit 1; }; }
6922 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
6943 # Extract the first word of "$ac_prog", so it can be a program name with args.
6944 set dummy $ac_prog; ac_word=$2
6945 echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6947 if test "${ac_cv_path_WGET+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $ensc_searchpath
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
6963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 WGET=$ac_cv_path_WGET
6974 if test -n "$WGET"; then
6975 echo "$as_me:$LINENO: result: $WGET" >&5
6976 echo "${ECHO_T}$WGET" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6982 test -n "$WGET" && break
6984 test -n "$WGET" || WGET="$ensc_dflt"
6987 if test -z "${WGET}" && $rq; then
6989 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
6990 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6991 { (exit 1); exit 1; }; }
6993 { { echo "$as_me:$LINENO: error:
6994 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6996 echo "$as_me: error:
6997 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6999 { (exit 1); exit 1; }; }
7003 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7010 if test -z "file"; then
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_FILE+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_cv_path_FILE="$FILE" # 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_FILE="$as_dir/$ac_word$ac_exec_ext"
7044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 FILE=$ac_cv_path_FILE
7055 if test -n "$FILE"; then
7056 echo "$as_me:$LINENO: result: $FILE" >&5
7057 echo "${ECHO_T}$FILE" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7063 test -n "$FILE" && break
7065 test -n "$FILE" || FILE="$ensc_dflt"
7068 if test -z "${FILE}" && $rq; then
7070 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
7071 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7072 { (exit 1); exit 1; }; }
7074 { { echo "$as_me:$LINENO: error:
7075 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7077 echo "$as_me: error:
7078 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7080 { (exit 1); exit 1; }; }
7084 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
7091 if test -z "gzip"; then
7105 # Extract the first word of "$ac_prog", so it can be a program name with args.
7106 set dummy $ac_prog; ac_word=$2
7107 echo "$as_me:$LINENO: checking for $ac_word" >&5
7108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7109 if test "${ac_cv_path_GZIP+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 ac_cv_path_GZIP="$GZIP" # 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_GZIP="$as_dir/$ac_word$ac_exec_ext"
7125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 GZIP=$ac_cv_path_GZIP
7136 if test -n "$GZIP"; then
7137 echo "$as_me:$LINENO: result: $GZIP" >&5
7138 echo "${ECHO_T}$GZIP" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7144 test -n "$GZIP" && break
7146 test -n "$GZIP" || GZIP="$ensc_dflt"
7149 if test -z "${GZIP}" && $rq; then
7151 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
7152 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7153 { (exit 1); exit 1; }; }
7155 { { echo "$as_me:$LINENO: error:
7156 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7158 echo "$as_me: error:
7159 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7161 { (exit 1); exit 1; }; }
7165 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
7172 if test -z "bzip2"; then
7184 for ac_prog in bzip2
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_BZIP2+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 ac_cv_path_BZIP2="$BZIP2" # 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_BZIP2="$as_dir/$ac_word$ac_exec_ext"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 BZIP2=$ac_cv_path_BZIP2
7217 if test -n "$BZIP2"; then
7218 echo "$as_me:$LINENO: result: $BZIP2" >&5
7219 echo "${ECHO_T}$BZIP2" >&6
7221 echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6
7225 test -n "$BZIP2" && break
7227 test -n "$BZIP2" || BZIP2="$ensc_dflt"
7230 if test -z "${BZIP2}" && $rq; then
7232 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
7233 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7234 { (exit 1); exit 1; }; }
7236 { { echo "$as_me:$LINENO: error:
7237 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7239 echo "$as_me: error:
7240 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7242 { (exit 1); exit 1; }; }
7246 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
7253 if test -z "cpio"; then
7267 # Extract the first word of "$ac_prog", so it can be a program name with args.
7268 set dummy $ac_prog; ac_word=$2
7269 echo "$as_me:$LINENO: checking for $ac_word" >&5
7270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7271 if test "${ac_cv_path_CPIO+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $ensc_searchpath
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
7287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 CPIO=$ac_cv_path_CPIO
7298 if test -n "$CPIO"; then
7299 echo "$as_me:$LINENO: result: $CPIO" >&5
7300 echo "${ECHO_T}$CPIO" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7306 test -n "$CPIO" && break
7308 test -n "$CPIO" || CPIO="$ensc_dflt"
7311 if test -z "${CPIO}" && $rq; then
7313 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
7314 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7315 { (exit 1); exit 1; }; }
7317 { { echo "$as_me:$LINENO: error:
7318 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7320 echo "$as_me: error:
7321 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7323 { (exit 1); exit 1; }; }
7327 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
7334 if test -z "restore"; then
7346 for ac_prog in restore
7348 # Extract the first word of "$ac_prog", so it can be a program name with args.
7349 set dummy $ac_prog; ac_word=$2
7350 echo "$as_me:$LINENO: checking for $ac_word" >&5
7351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7352 if test "${ac_cv_path_RESTORE+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 for as_dir in $ensc_searchpath
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7367 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
7368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 RESTORE=$ac_cv_path_RESTORE
7379 if test -n "$RESTORE"; then
7380 echo "$as_me:$LINENO: result: $RESTORE" >&5
7381 echo "${ECHO_T}$RESTORE" >&6
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7387 test -n "$RESTORE" && break
7389 test -n "$RESTORE" || RESTORE="$ensc_dflt"
7392 if test -z "${RESTORE}" && $rq; then
7394 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
7395 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7396 { (exit 1); exit 1; }; }
7398 { { echo "$as_me:$LINENO: error:
7399 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
7401 echo "$as_me: error:
7402 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
7404 { (exit 1); exit 1; }; }
7408 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
7415 if test -z "rsync"; then
7427 for ac_prog in rsync
7429 # Extract the first word of "$ac_prog", so it can be a program name with args.
7430 set dummy $ac_prog; ac_word=$2
7431 echo "$as_me:$LINENO: checking for $ac_word" >&5
7432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7433 if test "${ac_cv_path_RSYNC+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $ensc_searchpath
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
7449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 RSYNC=$ac_cv_path_RSYNC
7460 if test -n "$RSYNC"; then
7461 echo "$as_me:$LINENO: result: $RSYNC" >&5
7462 echo "${ECHO_T}$RSYNC" >&6
7464 echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6
7468 test -n "$RSYNC" && break
7470 test -n "$RSYNC" || RSYNC="$ensc_dflt"
7473 if test -z "${RSYNC}" && $rq; then
7475 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
7476 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7477 { (exit 1); exit 1; }; }
7479 { { echo "$as_me:$LINENO: error:
7480 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
7482 echo "$as_me: error:
7483 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
7485 { (exit 1); exit 1; }; }
7489 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
7497 if test -z ":"; then
7509 for ac_prog in doxygen
7511 # Extract the first word of "$ac_prog", so it can be a program name with args.
7512 set dummy $ac_prog; ac_word=$2
7513 echo "$as_me:$LINENO: checking for $ac_word" >&5
7514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7515 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $ensc_searchpath
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 DOXYGEN=$ac_cv_path_DOXYGEN
7542 if test -n "$DOXYGEN"; then
7543 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7544 echo "${ECHO_T}$DOXYGEN" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7550 test -n "$DOXYGEN" && break
7552 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
7555 if test -z "${DOXYGEN}" && $rq; then
7557 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
7558 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7559 { (exit 1); exit 1; }; }
7561 { { echo "$as_me:$LINENO: error:
7562 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7564 echo "$as_me: error:
7565 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7567 { (exit 1); exit 1; }; }
7571 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
7578 if test -z ":"; then
7590 for ac_prog in xsltp
7592 # Extract the first word of "$ac_prog", so it can be a program name with args.
7593 set dummy $ac_prog; ac_word=$2
7594 echo "$as_me:$LINENO: checking for $ac_word" >&5
7595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7596 if test "${ac_cv_path_XSLTP+set}" = set; then
7597 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605 for as_dir in $ensc_searchpath
7608 test -z "$as_dir" && as_dir=.
7609 for ac_exec_ext in '' $ac_executable_extensions; do
7610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7611 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
7612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 XSLTP=$ac_cv_path_XSLTP
7623 if test -n "$XSLTP"; then
7624 echo "$as_me:$LINENO: result: $XSLTP" >&5
7625 echo "${ECHO_T}$XSLTP" >&6
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7631 test -n "$XSLTP" && break
7633 test -n "$XSLTP" || XSLTP="$ensc_dflt"
7636 if test -z "${XSLTP}" && $rq; then
7638 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
7639 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7640 { (exit 1); exit 1; }; }
7642 { { echo "$as_me:$LINENO: error:
7643 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7645 echo "$as_me: error:
7646 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7648 { (exit 1); exit 1; }; }
7652 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7659 if test -z ":"; then
7671 for ac_prog in xsltproc
7673 # Extract the first word of "$ac_prog", so it can be a program name with args.
7674 set dummy $ac_prog; ac_word=$2
7675 echo "$as_me:$LINENO: checking for $ac_word" >&5
7676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7677 if test "${ac_cv_path_XSLTPROC+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $ensc_searchpath
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 XSLTPROC=$ac_cv_path_XSLTPROC
7704 if test -n "$XSLTPROC"; then
7705 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7706 echo "${ECHO_T}$XSLTPROC" >&6
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7712 test -n "$XSLTPROC" && break
7714 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7717 if test -z "${XSLTPROC}" && $rq; then
7719 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7720 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7721 { (exit 1); exit 1; }; }
7723 { { echo "$as_me:$LINENO: error:
7724 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7726 echo "$as_me: error:
7727 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7729 { (exit 1); exit 1; }; }
7733 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7740 if test "$XSLTP" != ':'; then
7742 HAVE_XSLTP_FALSE='#'
7750 if test "$XSLTPROC" != ':'; then
7752 HAVE_XSLTPROC_FALSE='#'
7754 HAVE_XSLTPROC_TRUE='#'
7755 HAVE_XSLTPROC_FALSE=
7759 if test x"$prefix" = x/; then
7765 warn_flags="-Werror -W"
7766 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7767 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7769 ac_cpp='$CPP $CPPFLAGS'
7770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7774 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7775 CFLAGS="$warn_flags"
7776 cat >conftest.$ac_ext <<_ACEOF
7779 cat confdefs.h >>conftest.$ac_ext
7780 cat >>conftest.$ac_ext <<_ACEOF
7781 /* end confdefs.h. */
7782 inline static void f(){}
7791 rm -f conftest.$ac_objext
7792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7793 (eval $ac_compile) 2>conftest.er1
7795 grep -v '^ *+' conftest.er1 >conftest.err
7797 cat conftest.err >&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); } &&
7800 { ac_try='test -z "$ac_c_werror_flag"
7801 || test ! -s conftest.err'
7802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806 (exit $ac_status); }; } &&
7807 { ac_try='test -s conftest.$ac_objext'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; }; then
7813 ensc_sys_compilerwarnflags_C=${warn_flags}
7815 echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.$ac_ext >&5
7818 ensc_sys_compilerwarnflags_C=
7820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7822 ac_cpp='$CPP $CPPFLAGS'
7823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7827 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7829 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7841 echo 'void f(){}' > conftest.c
7842 for i in -std=c99 -Wall -pedantic -W
7844 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7845 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7846 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7848 CFLAGS="${CFLAGS} $i"
7849 echo "$as_me:$LINENO: result: yes" >&5
7850 echo "${ECHO_T}yes" >&6
7852 echo "$as_me:$LINENO: result: no" >&5
7853 echo "${ECHO_T}no" >&6
7856 rm -f conftest.c conftest.o
7860 warn_flags="-Werror -W"
7861 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
7862 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
7864 ac_cpp='$CXXCPP $CPPFLAGS'
7865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7869 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
7870 CXXFLAGS="$warn_flags"
7871 cat >conftest.$ac_ext <<_ACEOF
7874 cat confdefs.h >>conftest.$ac_ext
7875 cat >>conftest.$ac_ext <<_ACEOF
7876 /* end confdefs.h. */
7877 inline static void f(){}
7886 rm -f conftest.$ac_objext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7888 (eval $ac_compile) 2>conftest.er1
7890 grep -v '^ *+' conftest.er1 >conftest.err
7892 cat conftest.err >&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); } &&
7895 { ac_try='test -z "$ac_cxx_werror_flag"
7896 || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try='test -s conftest.$ac_objext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ensc_sys_compilerwarnflags_CXX=${warn_flags}
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.$ac_ext >&5
7913 ensc_sys_compilerwarnflags_CXX=
7915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7917 ac_cpp='$CPP $CPPFLAGS'
7918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7922 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7924 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
7925 echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6
7928 echo "$as_me:$LINENO: result: yes" >&5
7929 echo "${ECHO_T}yes" >&6
7936 echo 'void f(){}' > conftest.cc
7937 for i in -ansi -Wall -pedantic -W -fmessage-length=0
7939 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7940 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7941 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7943 CXXFLAGS="${CXXFLAGS} $i"
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7951 rm -f conftest.cc conftest.o
7954 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
7955 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
7956 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
7957 if test "${enable_extra_optimizations+set}" = set; then
7958 enableval="$enable_extra_optimizations"
7959 case "$enableval" in
7960 (yes) use_extra_optimizations=1;;
7961 (no) use_extra_optimizations=;;
7962 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
7963 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
7964 { (exit 1); exit 1; }; };;
7967 use_extra_optimizations=1
7970 if test x"$use_extra_optimizations" = x; then
7971 echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7974 echo "$as_me:$LINENO: result: yes" >&5
7975 echo "${ECHO_T}yes" >&6
7979 echo 'void f(){}' > conftest.c
7980 for i in -funit-at-a-time
7982 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7983 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7984 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7986 CFLAGS="${CFLAGS} $i"
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7994 rm -f conftest.c conftest.o
7999 echo 'void f(){}' > conftest.cc
8000 for i in -funit-at-a-time
8002 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8003 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
8004 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8006 CXXFLAGS="${CXXFLAGS} $i"
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8014 rm -f conftest.cc conftest.o
8018 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
8019 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
8020 # Check whether --enable-lib-debug or --disable-lib-debug was given.
8021 if test "${enable_lib_debug+set}" = set; then
8022 enableval="$enable_lib_debug"
8023 case "$enableval" in
8024 (yes) use_lib_debug=1;;
8025 (no) use_lib_debug=;;
8026 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
8027 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
8028 { (exit 1); exit 1; }; };;
8034 if test x"$use_lib_debug" = x; then
8035 LIB_DEBUG_CPPFLAGS=-DNDEBUG
8037 echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6
8041 echo "$as_me:$LINENO: result: yes" >&5
8042 echo "${ECHO_T}yes" >&6
8045 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
8046 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
8047 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
8048 if test "${enable_expensive_tests+set}" = set; then
8049 enableval="$enable_expensive_tests"
8050 case "$enableval" in
8051 (yes|no) use_expensive_tests=$enableval;;
8052 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
8053 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
8054 { (exit 1); exit 1; }; };;
8057 use_expensive_tests=no
8059 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
8060 echo "${ECHO_T}$use_expensive_tests" >&6
8062 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
8067 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
8068 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
8069 echo "$as_me:$LINENO: result: " >&5
8070 echo "${ECHO_T}" >&6
8073 ac_cpp='$CPP $CPPFLAGS'
8074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8078 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
8079 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
8080 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
8081 echo $ECHO_N "(cached) $ECHO_C" >&6
8083 cat >conftest.$ac_ext <<_ACEOF
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
8088 /* end confdefs.h. */
8090 #include <linux/personality.h>
8096 #ifndef MMAP_PAGE_ZERO
8097 char *p = (char *) MMAP_PAGE_ZERO;
8104 rm -f conftest.$ac_objext
8105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8106 (eval $ac_compile) 2>conftest.er1
8108 grep -v '^ *+' conftest.er1 >conftest.err
8110 cat conftest.err >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } &&
8113 { ac_try='test -z "$ac_c_werror_flag"
8114 || test ! -s conftest.err'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; } &&
8120 { ac_try='test -s conftest.$ac_objext'
8121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; }; then
8126 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
8128 echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8131 ac_cv_have_decl_MMAP_PAGE_ZERO=no
8133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8135 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
8136 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
8137 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
8139 cat >>confdefs.h <<_ACEOF
8140 #define HAVE_DECL_MMAP_PAGE_ZERO 1
8145 cat >>confdefs.h <<_ACEOF
8146 #define HAVE_DECL_MMAP_PAGE_ZERO 0
8151 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
8152 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
8153 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6
8156 cat >conftest.$ac_ext <<_ACEOF
8159 cat confdefs.h >>conftest.$ac_ext
8160 cat >>conftest.$ac_ext <<_ACEOF
8161 /* end confdefs.h. */
8163 #include <linux/personality.h>
8169 #ifndef ADDR_LIMIT_32BIT
8170 char *p = (char *) ADDR_LIMIT_32BIT;
8177 rm -f conftest.$ac_objext
8178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8179 (eval $ac_compile) 2>conftest.er1
8181 grep -v '^ *+' conftest.er1 >conftest.err
8183 cat conftest.err >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); } &&
8186 { ac_try='test -z "$ac_c_werror_flag"
8187 || test ! -s conftest.err'
8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); }; } &&
8193 { ac_try='test -s conftest.$ac_objext'
8194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; }; then
8199 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
8206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8208 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
8209 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
8210 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
8212 cat >>confdefs.h <<_ACEOF
8213 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
8224 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
8225 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
8226 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 cat >conftest.$ac_ext <<_ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8236 #include <linux/personality.h>
8243 char *p = (char *) SHORT_INODE;
8250 rm -f conftest.$ac_objext
8251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8252 (eval $ac_compile) 2>conftest.er1
8254 grep -v '^ *+' conftest.er1 >conftest.err
8256 cat conftest.err >&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } &&
8259 { ac_try='test -z "$ac_c_werror_flag"
8260 || test ! -s conftest.err'
8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); }; } &&
8266 { ac_try='test -s conftest.$ac_objext'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; }; then
8272 ac_cv_have_decl_SHORT_INODE=yes
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_have_decl_SHORT_INODE=no
8279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8281 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
8282 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
8283 if test $ac_cv_have_decl_SHORT_INODE = yes; then
8285 cat >>confdefs.h <<_ACEOF
8286 #define HAVE_DECL_SHORT_INODE 1
8291 cat >>confdefs.h <<_ACEOF
8292 #define HAVE_DECL_SHORT_INODE 0
8297 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
8298 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
8299 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
8300 echo $ECHO_N "(cached) $ECHO_C" >&6
8302 cat >conftest.$ac_ext <<_ACEOF
8305 cat confdefs.h >>conftest.$ac_ext
8306 cat >>conftest.$ac_ext <<_ACEOF
8307 /* end confdefs.h. */
8309 #include <linux/personality.h>
8315 #ifndef WHOLE_SECONDS
8316 char *p = (char *) WHOLE_SECONDS;
8323 rm -f conftest.$ac_objext
8324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8325 (eval $ac_compile) 2>conftest.er1
8327 grep -v '^ *+' conftest.er1 >conftest.err
8329 cat conftest.err >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } &&
8332 { ac_try='test -z "$ac_c_werror_flag"
8333 || test ! -s conftest.err'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; } &&
8339 { ac_try='test -s conftest.$ac_objext'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; }; then
8345 ac_cv_have_decl_WHOLE_SECONDS=yes
8347 echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.$ac_ext >&5
8350 ac_cv_have_decl_WHOLE_SECONDS=no
8352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8354 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
8355 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
8356 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
8358 cat >>confdefs.h <<_ACEOF
8359 #define HAVE_DECL_WHOLE_SECONDS 1
8364 cat >>confdefs.h <<_ACEOF
8365 #define HAVE_DECL_WHOLE_SECONDS 0
8370 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
8371 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
8372 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 cat >conftest.$ac_ext <<_ACEOF
8378 cat confdefs.h >>conftest.$ac_ext
8379 cat >>conftest.$ac_ext <<_ACEOF
8380 /* end confdefs.h. */
8382 #include <linux/personality.h>
8388 #ifndef STICKY_TIMEOUTS
8389 char *p = (char *) STICKY_TIMEOUTS;
8396 rm -f conftest.$ac_objext
8397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8398 (eval $ac_compile) 2>conftest.er1
8400 grep -v '^ *+' conftest.er1 >conftest.err
8402 cat conftest.err >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); } &&
8405 { ac_try='test -z "$ac_c_werror_flag"
8406 || test ! -s conftest.err'
8407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); }; } &&
8412 { ac_try='test -s conftest.$ac_objext'
8413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); }; }; then
8418 ac_cv_have_decl_STICKY_TIMEOUTS=yes
8420 echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.$ac_ext >&5
8423 ac_cv_have_decl_STICKY_TIMEOUTS=no
8425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8427 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
8428 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
8429 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
8431 cat >>confdefs.h <<_ACEOF
8432 #define HAVE_DECL_STICKY_TIMEOUTS 1
8437 cat >>confdefs.h <<_ACEOF
8438 #define HAVE_DECL_STICKY_TIMEOUTS 0
8443 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
8444 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
8445 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 cat >conftest.$ac_ext <<_ACEOF
8451 cat confdefs.h >>conftest.$ac_ext
8452 cat >>conftest.$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8455 #include <linux/personality.h>
8461 #ifndef ADDR_LIMIT_3GB
8462 char *p = (char *) ADDR_LIMIT_3GB;
8469 rm -f conftest.$ac_objext
8470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8471 (eval $ac_compile) 2>conftest.er1
8473 grep -v '^ *+' conftest.er1 >conftest.err
8475 cat conftest.err >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); } &&
8478 { ac_try='test -z "$ac_c_werror_flag"
8479 || test ! -s conftest.err'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; } &&
8485 { ac_try='test -s conftest.$ac_objext'
8486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); }; }; then
8491 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8496 ac_cv_have_decl_ADDR_LIMIT_3GB=no
8498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8500 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
8501 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
8502 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
8504 cat >>confdefs.h <<_ACEOF
8505 #define HAVE_DECL_ADDR_LIMIT_3GB 1
8510 cat >>confdefs.h <<_ACEOF
8511 #define HAVE_DECL_ADDR_LIMIT_3GB 0
8519 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
8520 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
8521 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 cat >conftest.$ac_ext <<_ACEOF
8527 cat confdefs.h >>conftest.$ac_ext
8528 cat >>conftest.$ac_ext <<_ACEOF
8529 /* end confdefs.h. */
8531 #include <linux/personality.h>
8538 char *p = (char *) PER_LINUX;
8545 rm -f conftest.$ac_objext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8547 (eval $ac_compile) 2>conftest.er1
8549 grep -v '^ *+' conftest.er1 >conftest.err
8551 cat conftest.err >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try='test -z "$ac_c_werror_flag"
8555 || test ! -s conftest.err'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; } &&
8561 { ac_try='test -s conftest.$ac_objext'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 ac_cv_have_decl_PER_LINUX=yes
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 ac_cv_have_decl_PER_LINUX=no
8574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8576 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
8577 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
8578 if test $ac_cv_have_decl_PER_LINUX = yes; then
8580 cat >>confdefs.h <<_ACEOF
8581 #define HAVE_DECL_PER_LINUX 1
8586 cat >>confdefs.h <<_ACEOF
8587 #define HAVE_DECL_PER_LINUX 0
8592 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
8593 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
8594 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
8595 echo $ECHO_N "(cached) $ECHO_C" >&6
8597 cat >conftest.$ac_ext <<_ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8604 #include <linux/personality.h>
8610 #ifndef PER_LINUX_32BIT
8611 char *p = (char *) PER_LINUX_32BIT;
8618 rm -f conftest.$ac_objext
8619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8620 (eval $ac_compile) 2>conftest.er1
8622 grep -v '^ *+' conftest.er1 >conftest.err
8624 cat conftest.err >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); } &&
8627 { ac_try='test -z "$ac_c_werror_flag"
8628 || test ! -s conftest.err'
8629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); }; } &&
8634 { ac_try='test -s conftest.$ac_objext'
8635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); }; }; then
8640 ac_cv_have_decl_PER_LINUX_32BIT=yes
8642 echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.$ac_ext >&5
8645 ac_cv_have_decl_PER_LINUX_32BIT=no
8647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8649 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
8650 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
8651 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8653 cat >>confdefs.h <<_ACEOF
8654 #define HAVE_DECL_PER_LINUX_32BIT 1
8659 cat >>confdefs.h <<_ACEOF
8660 #define HAVE_DECL_PER_LINUX_32BIT 0
8665 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8666 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8667 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 cat >conftest.$ac_ext <<_ACEOF
8673 cat confdefs.h >>conftest.$ac_ext
8674 cat >>conftest.$ac_ext <<_ACEOF
8675 /* end confdefs.h. */
8677 #include <linux/personality.h>
8684 char *p = (char *) PER_SVR4;
8691 rm -f conftest.$ac_objext
8692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8693 (eval $ac_compile) 2>conftest.er1
8695 grep -v '^ *+' conftest.er1 >conftest.err
8697 cat conftest.err >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try='test -z "$ac_c_werror_flag"
8701 || test ! -s conftest.err'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; } &&
8707 { ac_try='test -s conftest.$ac_objext'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; }; then
8713 ac_cv_have_decl_PER_SVR4=yes
8715 echo "$as_me: failed program was:" >&5
8716 sed 's/^/| /' conftest.$ac_ext >&5
8718 ac_cv_have_decl_PER_SVR4=no
8720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8722 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8723 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8724 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8726 cat >>confdefs.h <<_ACEOF
8727 #define HAVE_DECL_PER_SVR4 1
8732 cat >>confdefs.h <<_ACEOF
8733 #define HAVE_DECL_PER_SVR4 0
8738 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8739 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8740 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 cat >conftest.$ac_ext <<_ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 #include <linux/personality.h>
8757 char *p = (char *) PER_SVR3;
8764 rm -f conftest.$ac_objext
8765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8766 (eval $ac_compile) 2>conftest.er1
8768 grep -v '^ *+' conftest.er1 >conftest.err
8770 cat conftest.err >&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); } &&
8773 { ac_try='test -z "$ac_c_werror_flag"
8774 || test ! -s conftest.err'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; } &&
8780 { ac_try='test -s conftest.$ac_objext'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; }; then
8786 ac_cv_have_decl_PER_SVR3=yes
8788 echo "$as_me: failed program was:" >&5
8789 sed 's/^/| /' conftest.$ac_ext >&5
8791 ac_cv_have_decl_PER_SVR3=no
8793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8795 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8796 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8797 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8799 cat >>confdefs.h <<_ACEOF
8800 #define HAVE_DECL_PER_SVR3 1
8805 cat >>confdefs.h <<_ACEOF
8806 #define HAVE_DECL_PER_SVR3 0
8811 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
8812 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
8813 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
8814 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 cat >conftest.$ac_ext <<_ACEOF
8819 cat confdefs.h >>conftest.$ac_ext
8820 cat >>conftest.$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8823 #include <linux/personality.h>
8830 char *p = (char *) PER_SCOSVR3;
8837 rm -f conftest.$ac_objext
8838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8839 (eval $ac_compile) 2>conftest.er1
8841 grep -v '^ *+' conftest.er1 >conftest.err
8843 cat conftest.err >&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } &&
8846 { ac_try='test -z "$ac_c_werror_flag"
8847 || test ! -s conftest.err'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; } &&
8853 { ac_try='test -s conftest.$ac_objext'
8854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }; }; then
8859 ac_cv_have_decl_PER_SCOSVR3=yes
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.$ac_ext >&5
8864 ac_cv_have_decl_PER_SCOSVR3=no
8866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8868 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
8869 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
8870 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
8872 cat >>confdefs.h <<_ACEOF
8873 #define HAVE_DECL_PER_SCOSVR3 1
8878 cat >>confdefs.h <<_ACEOF
8879 #define HAVE_DECL_PER_SCOSVR3 0
8884 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
8885 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
8886 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 cat >conftest.$ac_ext <<_ACEOF
8892 cat confdefs.h >>conftest.$ac_ext
8893 cat >>conftest.$ac_ext <<_ACEOF
8894 /* end confdefs.h. */
8896 #include <linux/personality.h>
8903 char *p = (char *) PER_OSR5;
8910 rm -f conftest.$ac_objext
8911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8912 (eval $ac_compile) 2>conftest.er1
8914 grep -v '^ *+' conftest.er1 >conftest.err
8916 cat conftest.err >&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); } &&
8919 { ac_try='test -z "$ac_c_werror_flag"
8920 || test ! -s conftest.err'
8921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; } &&
8926 { ac_try='test -s conftest.$ac_objext'
8927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; }; then
8932 ac_cv_have_decl_PER_OSR5=yes
8934 echo "$as_me: failed program was:" >&5
8935 sed 's/^/| /' conftest.$ac_ext >&5
8937 ac_cv_have_decl_PER_OSR5=no
8939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8941 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
8942 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
8943 if test $ac_cv_have_decl_PER_OSR5 = yes; then
8945 cat >>confdefs.h <<_ACEOF
8946 #define HAVE_DECL_PER_OSR5 1
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_DECL_PER_OSR5 0
8957 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
8958 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
8959 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8962 cat >conftest.$ac_ext <<_ACEOF
8965 cat confdefs.h >>conftest.$ac_ext
8966 cat >>conftest.$ac_ext <<_ACEOF
8967 /* end confdefs.h. */
8969 #include <linux/personality.h>
8975 #ifndef PER_WYSEV386
8976 char *p = (char *) PER_WYSEV386;
8983 rm -f conftest.$ac_objext
8984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8985 (eval $ac_compile) 2>conftest.er1
8987 grep -v '^ *+' conftest.er1 >conftest.err
8989 cat conftest.err >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); } &&
8992 { ac_try='test -z "$ac_c_werror_flag"
8993 || test ! -s conftest.err'
8994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); }; } &&
8999 { ac_try='test -s conftest.$ac_objext'
9000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); }; }; then
9005 ac_cv_have_decl_PER_WYSEV386=yes
9007 echo "$as_me: failed program was:" >&5
9008 sed 's/^/| /' conftest.$ac_ext >&5
9010 ac_cv_have_decl_PER_WYSEV386=no
9012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9014 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
9015 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
9016 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
9018 cat >>confdefs.h <<_ACEOF
9019 #define HAVE_DECL_PER_WYSEV386 1
9024 cat >>confdefs.h <<_ACEOF
9025 #define HAVE_DECL_PER_WYSEV386 0
9030 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
9031 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
9032 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 cat >conftest.$ac_ext <<_ACEOF
9038 cat confdefs.h >>conftest.$ac_ext
9039 cat >>conftest.$ac_ext <<_ACEOF
9040 /* end confdefs.h. */
9042 #include <linux/personality.h>
9049 char *p = (char *) PER_ISCR4;
9056 rm -f conftest.$ac_objext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9058 (eval $ac_compile) 2>conftest.er1
9060 grep -v '^ *+' conftest.er1 >conftest.err
9062 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } &&
9065 { ac_try='test -z "$ac_c_werror_flag"
9066 || test ! -s conftest.err'
9067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; } &&
9072 { ac_try='test -s conftest.$ac_objext'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; }; then
9078 ac_cv_have_decl_PER_ISCR4=yes
9080 echo "$as_me: failed program was:" >&5
9081 sed 's/^/| /' conftest.$ac_ext >&5
9083 ac_cv_have_decl_PER_ISCR4=no
9085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9087 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
9088 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
9089 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
9091 cat >>confdefs.h <<_ACEOF
9092 #define HAVE_DECL_PER_ISCR4 1
9097 cat >>confdefs.h <<_ACEOF
9098 #define HAVE_DECL_PER_ISCR4 0
9103 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
9104 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
9105 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 cat >conftest.$ac_ext <<_ACEOF
9111 cat confdefs.h >>conftest.$ac_ext
9112 cat >>conftest.$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9115 #include <linux/personality.h>
9122 char *p = (char *) PER_BSD;
9129 rm -f conftest.$ac_objext
9130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9131 (eval $ac_compile) 2>conftest.er1
9133 grep -v '^ *+' conftest.er1 >conftest.err
9135 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } &&
9138 { ac_try='test -z "$ac_c_werror_flag"
9139 || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } &&
9145 { ac_try='test -s conftest.$ac_objext'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; }; then
9151 ac_cv_have_decl_PER_BSD=yes
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.$ac_ext >&5
9156 ac_cv_have_decl_PER_BSD=no
9158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9160 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
9161 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
9162 if test $ac_cv_have_decl_PER_BSD = yes; then
9164 cat >>confdefs.h <<_ACEOF
9165 #define HAVE_DECL_PER_BSD 1
9170 cat >>confdefs.h <<_ACEOF
9171 #define HAVE_DECL_PER_BSD 0
9176 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
9177 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
9178 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 cat >conftest.$ac_ext <<_ACEOF
9184 cat confdefs.h >>conftest.$ac_ext
9185 cat >>conftest.$ac_ext <<_ACEOF
9186 /* end confdefs.h. */
9188 #include <linux/personality.h>
9195 char *p = (char *) PER_SUNOS;
9202 rm -f conftest.$ac_objext
9203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9204 (eval $ac_compile) 2>conftest.er1
9206 grep -v '^ *+' conftest.er1 >conftest.err
9208 cat conftest.err >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try='test -z "$ac_c_werror_flag"
9212 || test ! -s conftest.err'
9213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; } &&
9218 { ac_try='test -s conftest.$ac_objext'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; }; then
9224 ac_cv_have_decl_PER_SUNOS=yes
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9229 ac_cv_have_decl_PER_SUNOS=no
9231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9233 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
9234 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
9235 if test $ac_cv_have_decl_PER_SUNOS = yes; then
9237 cat >>confdefs.h <<_ACEOF
9238 #define HAVE_DECL_PER_SUNOS 1
9243 cat >>confdefs.h <<_ACEOF
9244 #define HAVE_DECL_PER_SUNOS 0
9249 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
9250 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
9251 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 cat >conftest.$ac_ext <<_ACEOF
9257 cat confdefs.h >>conftest.$ac_ext
9258 cat >>conftest.$ac_ext <<_ACEOF
9259 /* end confdefs.h. */
9261 #include <linux/personality.h>
9268 char *p = (char *) PER_XENIX;
9275 rm -f conftest.$ac_objext
9276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9277 (eval $ac_compile) 2>conftest.er1
9279 grep -v '^ *+' conftest.er1 >conftest.err
9281 cat conftest.err >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); } &&
9284 { ac_try='test -z "$ac_c_werror_flag"
9285 || test ! -s conftest.err'
9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); }; } &&
9291 { ac_try='test -s conftest.$ac_objext'
9292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); }; }; then
9297 ac_cv_have_decl_PER_XENIX=yes
9299 echo "$as_me: failed program was:" >&5
9300 sed 's/^/| /' conftest.$ac_ext >&5
9302 ac_cv_have_decl_PER_XENIX=no
9304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9306 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
9307 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
9308 if test $ac_cv_have_decl_PER_XENIX = yes; then
9310 cat >>confdefs.h <<_ACEOF
9311 #define HAVE_DECL_PER_XENIX 1
9316 cat >>confdefs.h <<_ACEOF
9317 #define HAVE_DECL_PER_XENIX 0
9322 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
9323 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
9324 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
9325 echo $ECHO_N "(cached) $ECHO_C" >&6
9327 cat >conftest.$ac_ext <<_ACEOF
9330 cat confdefs.h >>conftest.$ac_ext
9331 cat >>conftest.$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9334 #include <linux/personality.h>
9341 char *p = (char *) PER_LINUX32;
9348 rm -f conftest.$ac_objext
9349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9350 (eval $ac_compile) 2>conftest.er1
9352 grep -v '^ *+' conftest.er1 >conftest.err
9354 cat conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } &&
9357 { ac_try='test -z "$ac_c_werror_flag"
9358 || test ! -s conftest.err'
9359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); }; } &&
9364 { ac_try='test -s conftest.$ac_objext'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; }; then
9370 ac_cv_have_decl_PER_LINUX32=yes
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9375 ac_cv_have_decl_PER_LINUX32=no
9377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9379 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
9380 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
9381 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
9383 cat >>confdefs.h <<_ACEOF
9384 #define HAVE_DECL_PER_LINUX32 1
9389 cat >>confdefs.h <<_ACEOF
9390 #define HAVE_DECL_PER_LINUX32 0
9395 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
9396 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
9397 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9400 cat >conftest.$ac_ext <<_ACEOF
9403 cat confdefs.h >>conftest.$ac_ext
9404 cat >>conftest.$ac_ext <<_ACEOF
9405 /* end confdefs.h. */
9407 #include <linux/personality.h>
9413 #ifndef PER_LINUX32_3GB
9414 char *p = (char *) PER_LINUX32_3GB;
9421 rm -f conftest.$ac_objext
9422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9423 (eval $ac_compile) 2>conftest.er1
9425 grep -v '^ *+' conftest.er1 >conftest.err
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } &&
9430 { ac_try='test -z "$ac_c_werror_flag"
9431 || test ! -s conftest.err'
9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; } &&
9437 { ac_try='test -s conftest.$ac_objext'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; }; then
9443 ac_cv_have_decl_PER_LINUX32_3GB=yes
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.$ac_ext >&5
9448 ac_cv_have_decl_PER_LINUX32_3GB=no
9450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9452 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
9453 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
9454 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
9456 cat >>confdefs.h <<_ACEOF
9457 #define HAVE_DECL_PER_LINUX32_3GB 1
9462 cat >>confdefs.h <<_ACEOF
9463 #define HAVE_DECL_PER_LINUX32_3GB 0
9468 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
9469 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
9470 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6
9473 cat >conftest.$ac_ext <<_ACEOF
9476 cat confdefs.h >>conftest.$ac_ext
9477 cat >>conftest.$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9480 #include <linux/personality.h>
9487 char *p = (char *) PER_IRIX32;
9494 rm -f conftest.$ac_objext
9495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9496 (eval $ac_compile) 2>conftest.er1
9498 grep -v '^ *+' conftest.er1 >conftest.err
9500 cat conftest.err >&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); } &&
9503 { ac_try='test -z "$ac_c_werror_flag"
9504 || test ! -s conftest.err'
9505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }; } &&
9510 { ac_try='test -s conftest.$ac_objext'
9511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); }; }; then
9516 ac_cv_have_decl_PER_IRIX32=yes
9518 echo "$as_me: failed program was:" >&5
9519 sed 's/^/| /' conftest.$ac_ext >&5
9521 ac_cv_have_decl_PER_IRIX32=no
9523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9525 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
9526 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
9527 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
9529 cat >>confdefs.h <<_ACEOF
9530 #define HAVE_DECL_PER_IRIX32 1
9535 cat >>confdefs.h <<_ACEOF
9536 #define HAVE_DECL_PER_IRIX32 0
9541 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
9542 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
9543 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 cat >conftest.$ac_ext <<_ACEOF
9549 cat confdefs.h >>conftest.$ac_ext
9550 cat >>conftest.$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9553 #include <linux/personality.h>
9560 char *p = (char *) PER_IRIXN32;
9567 rm -f conftest.$ac_objext
9568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9569 (eval $ac_compile) 2>conftest.er1
9571 grep -v '^ *+' conftest.er1 >conftest.err
9573 cat conftest.err >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } &&
9576 { ac_try='test -z "$ac_c_werror_flag"
9577 || test ! -s conftest.err'
9578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); }; } &&
9583 { ac_try='test -s conftest.$ac_objext'
9584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); }; }; then
9589 ac_cv_have_decl_PER_IRIXN32=yes
9591 echo "$as_me: failed program was:" >&5
9592 sed 's/^/| /' conftest.$ac_ext >&5
9594 ac_cv_have_decl_PER_IRIXN32=no
9596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9598 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
9599 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
9600 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
9602 cat >>confdefs.h <<_ACEOF
9603 #define HAVE_DECL_PER_IRIXN32 1
9608 cat >>confdefs.h <<_ACEOF
9609 #define HAVE_DECL_PER_IRIXN32 0
9614 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
9615 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
9616 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 cat >conftest.$ac_ext <<_ACEOF
9622 cat confdefs.h >>conftest.$ac_ext
9623 cat >>conftest.$ac_ext <<_ACEOF
9624 /* end confdefs.h. */
9626 #include <linux/personality.h>
9633 char *p = (char *) PER_IRIX64;
9640 rm -f conftest.$ac_objext
9641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9642 (eval $ac_compile) 2>conftest.er1
9644 grep -v '^ *+' conftest.er1 >conftest.err
9646 cat conftest.err >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); } &&
9649 { ac_try='test -z "$ac_c_werror_flag"
9650 || test ! -s conftest.err'
9651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; } &&
9656 { ac_try='test -s conftest.$ac_objext'
9657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); }; }; then
9662 ac_cv_have_decl_PER_IRIX64=yes
9664 echo "$as_me: failed program was:" >&5
9665 sed 's/^/| /' conftest.$ac_ext >&5
9667 ac_cv_have_decl_PER_IRIX64=no
9669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9671 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9672 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9673 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9675 cat >>confdefs.h <<_ACEOF
9676 #define HAVE_DECL_PER_IRIX64 1
9681 cat >>confdefs.h <<_ACEOF
9682 #define HAVE_DECL_PER_IRIX64 0
9687 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9688 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9689 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9690 echo $ECHO_N "(cached) $ECHO_C" >&6
9692 cat >conftest.$ac_ext <<_ACEOF
9695 cat confdefs.h >>conftest.$ac_ext
9696 cat >>conftest.$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9699 #include <linux/personality.h>
9706 char *p = (char *) PER_RISCOS;
9713 rm -f conftest.$ac_objext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9715 (eval $ac_compile) 2>conftest.er1
9717 grep -v '^ *+' conftest.er1 >conftest.err
9719 cat conftest.err >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } &&
9722 { ac_try='test -z "$ac_c_werror_flag"
9723 || test ! -s conftest.err'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; } &&
9729 { ac_try='test -s conftest.$ac_objext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9735 ac_cv_have_decl_PER_RISCOS=yes
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9740 ac_cv_have_decl_PER_RISCOS=no
9742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9744 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9745 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9746 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9748 cat >>confdefs.h <<_ACEOF
9749 #define HAVE_DECL_PER_RISCOS 1
9754 cat >>confdefs.h <<_ACEOF
9755 #define HAVE_DECL_PER_RISCOS 0
9760 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9761 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9762 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 cat >conftest.$ac_ext <<_ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9772 #include <linux/personality.h>
9779 char *p = (char *) PER_SOLARIS;
9786 rm -f conftest.$ac_objext
9787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9788 (eval $ac_compile) 2>conftest.er1
9790 grep -v '^ *+' conftest.er1 >conftest.err
9792 cat conftest.err >&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } &&
9795 { ac_try='test -z "$ac_c_werror_flag"
9796 || test ! -s conftest.err'
9797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); }; } &&
9802 { ac_try='test -s conftest.$ac_objext'
9803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); }; }; then
9808 ac_cv_have_decl_PER_SOLARIS=yes
9810 echo "$as_me: failed program was:" >&5
9811 sed 's/^/| /' conftest.$ac_ext >&5
9813 ac_cv_have_decl_PER_SOLARIS=no
9815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9817 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
9818 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
9819 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
9821 cat >>confdefs.h <<_ACEOF
9822 #define HAVE_DECL_PER_SOLARIS 1
9827 cat >>confdefs.h <<_ACEOF
9828 #define HAVE_DECL_PER_SOLARIS 0
9833 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
9834 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
9835 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 cat >conftest.$ac_ext <<_ACEOF
9841 cat confdefs.h >>conftest.$ac_ext
9842 cat >>conftest.$ac_ext <<_ACEOF
9843 /* end confdefs.h. */
9845 #include <linux/personality.h>
9852 char *p = (char *) PER_UW7;
9859 rm -f conftest.$ac_objext
9860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9861 (eval $ac_compile) 2>conftest.er1
9863 grep -v '^ *+' conftest.er1 >conftest.err
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } &&
9868 { ac_try='test -z "$ac_c_werror_flag"
9869 || test ! -s conftest.err'
9870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; } &&
9875 { ac_try='test -s conftest.$ac_objext'
9876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); }; }; then
9881 ac_cv_have_decl_PER_UW7=yes
9883 echo "$as_me: failed program was:" >&5
9884 sed 's/^/| /' conftest.$ac_ext >&5
9886 ac_cv_have_decl_PER_UW7=no
9888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9890 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
9891 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
9892 if test $ac_cv_have_decl_PER_UW7 = yes; then
9894 cat >>confdefs.h <<_ACEOF
9895 #define HAVE_DECL_PER_UW7 1
9900 cat >>confdefs.h <<_ACEOF
9901 #define HAVE_DECL_PER_UW7 0
9906 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
9907 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
9908 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 cat >conftest.$ac_ext <<_ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9918 #include <linux/personality.h>
9925 char *p = (char *) PER_HPUX;
9932 rm -f conftest.$ac_objext
9933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9934 (eval $ac_compile) 2>conftest.er1
9936 grep -v '^ *+' conftest.er1 >conftest.err
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } &&
9941 { ac_try='test -z "$ac_c_werror_flag"
9942 || test ! -s conftest.err'
9943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); }; } &&
9948 { ac_try='test -s conftest.$ac_objext'
9949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); }; }; then
9954 ac_cv_have_decl_PER_HPUX=yes
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_have_decl_PER_HPUX=no
9961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9963 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
9964 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
9965 if test $ac_cv_have_decl_PER_HPUX = yes; then
9967 cat >>confdefs.h <<_ACEOF
9968 #define HAVE_DECL_PER_HPUX 1
9973 cat >>confdefs.h <<_ACEOF
9974 #define HAVE_DECL_PER_HPUX 0
9979 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
9980 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
9981 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 cat >conftest.$ac_ext <<_ACEOF
9987 cat confdefs.h >>conftest.$ac_ext
9988 cat >>conftest.$ac_ext <<_ACEOF
9989 /* end confdefs.h. */
9991 #include <linux/personality.h>
9998 char *p = (char *) PER_OSF4;
10005 rm -f conftest.$ac_objext
10006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10007 (eval $ac_compile) 2>conftest.er1
10009 grep -v '^ *+' conftest.er1 >conftest.err
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try='test -z "$ac_c_werror_flag"
10015 || test ! -s conftest.err'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try='test -s conftest.$ac_objext'
10022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023 (eval $ac_try) 2>&5
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); }; }; then
10027 ac_cv_have_decl_PER_OSF4=yes
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10032 ac_cv_have_decl_PER_OSF4=no
10034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10036 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
10037 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
10038 if test $ac_cv_have_decl_PER_OSF4 = yes; then
10040 cat >>confdefs.h <<_ACEOF
10041 #define HAVE_DECL_PER_OSF4 1
10046 cat >>confdefs.h <<_ACEOF
10047 #define HAVE_DECL_PER_OSF4 0
10055 ac_cpp='$CPP $CPPFLAGS'
10056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10065 echo "$as_me:$LINENO: checking for initrddir" >&5
10066 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
10068 # Check whether --with-initrddir or --without-initrddir was given.
10069 if test "${with_initrddir+set}" = set; then
10070 withval="$with_initrddir"
10072 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
10073 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
10074 { (exit 1); exit 1; }; };;
10075 *) ensc_initrddir=$withval;;
10078 ensc_initrddir='$(sysconfdir)/init.d'
10081 if test "initrddir"; then
10082 initrddir=$ensc_initrddir
10086 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
10087 echo "${ECHO_T}$ensc_initrddir" >&6
10090 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
10091 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
10092 # Check whether --enable-release or --disable-release was given.
10093 if test "${enable_release+set}" = set; then
10094 enableval="$enable_release"
10095 case "$enableval" in
10096 yes) ensc_release_mode=yes;;
10097 no) ensc_release_mode=no;;
10098 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
10099 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
10100 { (exit 1); exit 1; }; };;
10103 ensc_release_mode=no
10106 if test x"$ensc_release_mode" = xno; then
10109 RELEASE_CPPFLAGS='-DNDEBUG'
10113 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
10114 echo "${ECHO_T}$ensc_release_mode" >&6
10119 (i*86|athlon) min_diet_ver=0.25;;
10120 (ia64|hppa*) min_diet_ver=0.29;;
10121 (sparc*) min_diet_ver=0.30;;
10122 (*) min_diet_ver=0.28;;
10126 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
10127 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
10135 # Check whether --enable-dietlibc or --disable-dietlibc was given.
10136 if test "${enable_dietlibc+set}" = set; then
10137 enableval="$enable_dietlibc"
10138 case "$enableval" in
10139 (yes) use_dietlibc=forced;;
10140 (no) use_dietlibc=forced_no;;
10141 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
10142 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
10143 { (exit 1); exit 1; }; };;
10146 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
10149 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
10150 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
10151 _dietlibc_ver=${_dietlibc_ver##*diet version }
10152 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
10153 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
10154 _dietlibc_ver_min=${_dietlibc_ver##*.}
10155 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
10156 _dietlibc_cmp="$min_diet_ver"
10157 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
10158 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
10160 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
10162 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
10163 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
10165 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
10167 ENSC_VERSION_DIETLIBC=
10171 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
10172 ensc_have_dietlibc=no
10174 case x"$use_dietlibc" in
10180 USE_DIETLIBC_FALSE='#'
10182 USE_DIETLIBC_TRUE='#'
10183 USE_DIETLIBC_FALSE=
10186 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
10187 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
10188 ensc_have_dietlibc=yes
10195 USE_DIETLIBC_FALSE='#'
10197 USE_DIETLIBC_TRUE='#'
10198 USE_DIETLIBC_FALSE=
10201 echo "$as_me:$LINENO: result: yes (forced)" >&5
10202 echo "${ECHO_T}yes (forced)" >&6
10203 ensc_have_dietlibc=yes
10210 USE_DIETLIBC_FALSE='#'
10212 USE_DIETLIBC_TRUE='#'
10213 USE_DIETLIBC_FALSE=
10216 echo "$as_me:$LINENO: result: no (detected)" >&5
10217 echo "${ECHO_T}no (detected)" >&6
10224 USE_DIETLIBC_FALSE='#'
10226 USE_DIETLIBC_TRUE='#'
10227 USE_DIETLIBC_FALSE=
10230 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
10231 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
10238 USE_DIETLIBC_FALSE='#'
10240 USE_DIETLIBC_TRUE='#'
10241 USE_DIETLIBC_FALSE=
10244 echo "$as_me:$LINENO: result: no (forced)" >&5
10245 echo "${ECHO_T}no (forced)" >&6
10248 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
10249 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
10250 { (exit 1); exit 1; }; }
10254 if test x"$ensc_have_dietlibc" != xno; then
10259 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
10260 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
10261 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
10266 _ensc_dietlibc_c99_old_CC=$CC
10269 CC="${DIET:-diet} $CC"
10272 ac_cpp='$CPP $CPPFLAGS'
10273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10277 cat >conftest.$ac_ext <<_ACEOF
10280 rm -f conftest.$ac_objext
10281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10282 (eval $ac_compile) 2>conftest.er1
10284 grep -v '^ *+' conftest.er1 >conftest.err
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } &&
10289 { ac_try='test -z "$ac_c_werror_flag"
10290 || test ! -s conftest.err'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; } &&
10296 { ac_try='test -s conftest.$ac_objext'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; }; then
10303 cat >conftest.$ac_ext <<_ACEOF
10305 #include <stdint.h>
10306 #include <sys/cdefs.h>
10307 #if defined(inline)
10308 # error 'inline' badly defined
10310 volatile uint64_t a;
10313 rm -f conftest.$ac_objext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10315 (eval $ac_compile) 2>conftest.er1
10317 grep -v '^ *+' conftest.er1 >conftest.err
10319 cat conftest.err >&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); } &&
10322 { ac_try='test -z "$ac_c_werror_flag"
10323 || test ! -s conftest.err'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try='test -s conftest.$ac_objext'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; }; then
10335 ensc_cv_c_dietlibc_c99=yes
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10340 ensc_cv_c_dietlibc_c99=no
10342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10347 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
10349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10351 ac_cpp='$CPP $CPPFLAGS'
10352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10357 CC=$_ensc_dietlibc_c99_old_CC
10358 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
10361 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
10362 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
10364 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
10365 cat >>confdefs.h <<\_ACEOF
10366 #define ENSC_DIETLIBC_C99 1
10374 if test x"$ensc_have_dietlibc" = xno; then
10375 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10376 echo "$as_me: WARNING: *** ***" >&2;}
10377 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
10378 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
10379 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
10380 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
10381 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
10382 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
10383 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
10384 echo "$as_me: WARNING: *** there. ***" >&2;}
10385 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10386 echo "$as_me: WARNING: *** ***" >&2;}
10390 USE_DIETLIBC_COMPAT_TRUE=
10391 USE_DIETLIBC_COMPAT_FALSE='#'
10393 USE_DIETLIBC_COMPAT_TRUE='#'
10394 USE_DIETLIBC_COMPAT_FALSE=
10398 # HACK: libtool does not have cmdline options to build only
10399 # dynamic libraries; this can be done with the
10400 # '--disable-static' ./configure option only. As our static
10401 # libraries will be build with dietlibc, we have to do set
10402 # this option which is evaluated by 'AC_PROG_LIBTOOL'
10403 # below. Therefore, this macro must not be called earlier.
10410 if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
10411 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10412 echo "$as_me: WARNING: *** ***" >&2;}
10413 { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&5
10414 echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&2;}
10415 { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
10416 echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
10417 { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added ***" >&5
10418 echo "$as_me: WARNING: *** and lib/__nice.c added ***" >&2;}
10419 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
10420 echo "$as_me: WARNING: *** ***" >&2;}
10424 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
10425 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
10426 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
10427 if test "${enable_alternative_syscalls+set}" = set; then
10428 enableval="$enable_alternative_syscalls"
10430 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
10431 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
10432 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
10433 { (exit 1); exit 1; }; };;
10436 ensc_use_alternative_syscall_macros=yes
10439 case $ensc_use_alternative_syscall_macros in
10441 cat >>confdefs.h <<\_ACEOF
10442 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
10447 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
10448 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
10453 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
10454 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
10455 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_cpp='$CPP $CPPFLAGS'
10461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10465 ensc_dietlibc_need_compat_old_CC=$CC
10466 CC="${DIET:-diet} $CC"
10467 cat >conftest.$ac_ext <<_ACEOF
10471 cat confdefs.h >>conftest.$ac_ext
10472 cat >>conftest.$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10475 #include "$srcdir/lib/syscall-wrap.h"
10478 #define __NR_foo0 42
10479 #define __NR_foo1 42
10480 #define __NR_foo2 42
10481 #define __NR_foo3 42
10482 #define __NR_foo4 42
10483 #define __NR_foo5 42
10484 inline static _syscall0(int, foo0)
10485 inline static _syscall1(int, foo1, int, a)
10486 inline static _syscall2(int, foo2, int, a, int, b)
10487 inline static _syscall3(int, foo3, int, a, int, b, int, c)
10488 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
10489 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
10494 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
10499 rm -f conftest.$ac_objext conftest$ac_exeext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10501 (eval $ac_link) 2>conftest.er1
10503 grep -v '^ *+' conftest.er1 >conftest.err
10505 cat conftest.err >&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } &&
10508 { ac_try='test -z "$ac_c_werror_flag"
10509 || test ! -s conftest.err'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; } &&
10515 { ac_try='test -s conftest$ac_exeext'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; }; then
10521 ensc_cv_c_dietlibc_compat=no
10523 echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.$ac_ext >&5
10526 ensc_cv_c_dietlibc_compat=yes
10528 rm -f conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 CC=$ensc_dietlibc_need_compat_old_CC
10532 ac_cpp='$CPP $CPPFLAGS'
10533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10539 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
10540 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
10542 if test x"USE_DIETLIBC_COMPAT" != x; then
10545 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
10546 USE_DIETLIBC_COMPAT_TRUE=
10547 USE_DIETLIBC_COMPAT_FALSE='#'
10549 USE_DIETLIBC_COMPAT_TRUE='#'
10550 USE_DIETLIBC_COMPAT_FALSE=
10559 if test x"$ensc_have_dietlibc" = xyes; then
10560 ENSC_USE_DIETLIBC_TRUE=
10561 ENSC_USE_DIETLIBC_FALSE='#'
10563 ENSC_USE_DIETLIBC_TRUE='#'
10564 ENSC_USE_DIETLIBC_FALSE=
10570 ENSC_USE_GLIBC_TRUE=
10571 ENSC_USE_GLIBC_FALSE='#'
10573 ENSC_USE_GLIBC_TRUE='#'
10574 ENSC_USE_GLIBC_FALSE=
10578 # HACK: see comments at 'enable_static' above
10579 # Check whether --enable-shared or --disable-shared was given.
10580 if test "${enable_shared+set}" = set; then
10581 enableval="$enable_shared"
10582 p=${PACKAGE-default}
10584 yes) enable_shared=yes ;;
10585 no) enable_shared=no ;;
10588 # Look at the argument we got. We use all the common list separators.
10589 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10590 for pkg in $enableval; do
10592 if test "X$pkg" = "X$p"; then
10603 # Check whether --enable-static or --disable-static was given.
10604 if test "${enable_static+set}" = set; then
10605 enableval="$enable_static"
10606 p=${PACKAGE-default}
10608 yes) enable_static=yes ;;
10609 no) enable_static=no ;;
10612 # Look at the argument we got. We use all the common list separators.
10613 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10614 for pkg in $enableval; do
10616 if test "X$pkg" = "X$p"; then
10627 # Check whether --enable-fast-install or --disable-fast-install was given.
10628 if test "${enable_fast_install+set}" = set; then
10629 enableval="$enable_fast_install"
10630 p=${PACKAGE-default}
10632 yes) enable_fast_install=yes ;;
10633 no) enable_fast_install=no ;;
10635 enable_fast_install=no
10636 # Look at the argument we got. We use all the common list separators.
10637 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10638 for pkg in $enableval; do
10640 if test "X$pkg" = "X$p"; then
10641 enable_fast_install=yes
10648 enable_fast_install=yes
10651 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
10652 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
10653 if test "${lt_cv_path_SED+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 # Loop through the user's path and test for sed and gsed.
10657 # Then use that list of sed's as ones to test for truncation.
10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10659 for as_dir in $PATH
10662 test -z "$as_dir" && as_dir=.
10663 for lt_ac_prog in sed gsed; do
10664 for ac_exec_ext in '' $ac_executable_extensions; do
10665 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10666 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10673 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10674 # along with /bin/sed that truncates output.
10675 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10676 test ! -f $lt_ac_sed && break
10677 cat /dev/null > conftest.in
10679 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10680 # Check for GNU sed and select it if it is found.
10681 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10682 lt_cv_path_SED=$lt_ac_sed
10686 cat conftest.in conftest.in >conftest.tmp
10687 mv conftest.tmp conftest.in
10688 cp conftest.in conftest.nl
10690 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10691 cmp -s conftest.out conftest.nl || break
10692 # 10000 chars as input seems more than enough
10693 test $lt_ac_count -gt 10 && break
10694 lt_ac_count=`expr $lt_ac_count + 1`
10695 if test $lt_ac_count -gt $lt_ac_max; then
10696 lt_ac_max=$lt_ac_count
10697 lt_cv_path_SED=$lt_ac_sed
10701 SED=$lt_cv_path_SED
10705 echo "$as_me:$LINENO: result: $SED" >&5
10706 echo "${ECHO_T}$SED" >&6
10708 echo "$as_me:$LINENO: checking for egrep" >&5
10709 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10710 if test "${ac_cv_prog_egrep+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10714 then ac_cv_prog_egrep='grep -E'
10715 else ac_cv_prog_egrep='egrep'
10718 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10719 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10720 EGREP=$ac_cv_prog_egrep
10724 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10725 if test "${with_gnu_ld+set}" = set; then
10726 withval="$with_gnu_ld"
10727 test "$withval" = no || with_gnu_ld=yes
10732 if test "$GCC" = yes; then
10733 # Check if gcc -print-prog-name=ld gives a path.
10734 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10735 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10738 # gcc leaves a trailing carriage return which upsets mingw
10739 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10741 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10744 # Accept absolute paths.
10746 re_direlt='/[^/][^/]*/\.\./'
10747 # Canonicalize the pathname of ld
10748 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10749 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10750 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10752 test -z "$LD" && LD="$ac_prog"
10755 # If it fails, then pretend we aren't using GCC.
10759 # If it is relative, then search for the first ld in PATH.
10760 with_gnu_ld=unknown
10763 elif test "$with_gnu_ld" = yes; then
10764 echo "$as_me:$LINENO: checking for GNU ld" >&5
10765 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10767 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10768 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10770 if test "${lt_cv_path_LD+set}" = set; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 if test -z "$LD"; then
10774 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10775 for ac_dir in $PATH; do
10777 test -z "$ac_dir" && ac_dir=.
10778 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10779 lt_cv_path_LD="$ac_dir/$ac_prog"
10780 # Check to see if the program is GNU ld. I'd rather use --version,
10781 # but apparently some GNU ld's only accept -v.
10782 # Break only if it was the GNU/non-GNU ld that we prefer.
10783 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10784 *GNU* | *'with BFD'*)
10785 test "$with_gnu_ld" != no && break
10788 test "$with_gnu_ld" != yes && break
10795 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10799 LD="$lt_cv_path_LD"
10800 if test -n "$LD"; then
10801 echo "$as_me:$LINENO: result: $LD" >&5
10802 echo "${ECHO_T}$LD" >&6
10804 echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6
10807 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10808 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10809 { (exit 1); exit 1; }; }
10810 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10811 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10812 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10813 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10816 case `$LD -v 2>&1 </dev/null` in
10817 *GNU* | *'with BFD'*)
10818 lt_cv_prog_gnu_ld=yes
10821 lt_cv_prog_gnu_ld=no
10825 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10826 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10827 with_gnu_ld=$lt_cv_prog_gnu_ld
10830 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10831 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10832 if test "${lt_cv_ld_reload_flag+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 lt_cv_ld_reload_flag='-r'
10837 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10838 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10839 reload_flag=$lt_cv_ld_reload_flag
10840 case $reload_flag in
10842 *) reload_flag=" $reload_flag" ;;
10844 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10846 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10847 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10848 if test "${lt_cv_path_NM+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 if test -n "$NM"; then
10852 # Let the user override the test.
10853 lt_cv_path_NM="$NM"
10855 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10856 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10858 test -z "$ac_dir" && ac_dir=.
10859 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10860 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10861 # Check to see if the nm accepts a BSD-compat flag.
10862 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10863 # nm: unknown option "B" ignored
10864 # Tru64's nm complains that /dev/null is an invalid object file
10865 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10866 */dev/null* | *'Invalid file or object type'*)
10867 lt_cv_path_NM="$tmp_nm -B"
10871 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10873 lt_cv_path_NM="$tmp_nm -p"
10877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10878 continue # so that we can try to find one that supports BSD flags
10885 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10888 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10889 echo "${ECHO_T}$lt_cv_path_NM" >&6
10890 NM="$lt_cv_path_NM"
10892 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10893 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10894 if test "${lt_cv_deplibs_check_method+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 lt_cv_file_magic_cmd='$MAGIC_CMD'
10898 lt_cv_file_magic_test_file=
10899 lt_cv_deplibs_check_method='unknown'
10900 # Need to set the preceding variable on all platforms that support
10901 # interlibrary dependencies.
10902 # 'none' -- dependencies not supported.
10903 # `unknown' -- same as none, but documents that we really don't know.
10904 # 'pass_all' -- all dependencies passed with no checks.
10905 # 'test_compile' -- check by making test program.
10906 # 'file_magic [[regex]]' -- check by looking for files in library path
10907 # which responds to the $file_magic_cmd with a given extended regex.
10908 # If you have `file' or equivalent on your system and you're not sure
10909 # whether `pass_all' will *always* work, you probably want this one.
10913 lt_cv_deplibs_check_method=pass_all
10917 lt_cv_deplibs_check_method=pass_all
10921 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10922 lt_cv_file_magic_cmd='/usr/bin/file -L'
10923 lt_cv_file_magic_test_file=/shlib/libc.so
10927 # func_win32_libid is a shell function defined in ltmain.sh
10928 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10929 lt_cv_file_magic_cmd='func_win32_libid'
10933 # Base MSYS/MinGW do not provide the 'file' command needed by
10934 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10935 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10936 lt_cv_file_magic_cmd='$OBJDUMP -f'
10939 darwin* | rhapsody*)
10940 lt_cv_deplibs_check_method=pass_all
10943 freebsd* | kfreebsd*-gnu)
10944 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10947 # Not sure whether the presence of OpenBSD here was a mistake.
10948 # Let's accept both of them until this is cleared up.
10949 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10950 lt_cv_file_magic_cmd=/usr/bin/file
10951 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10955 lt_cv_deplibs_check_method=pass_all
10960 lt_cv_deplibs_check_method=pass_all
10963 hpux10.20* | hpux11*)
10964 lt_cv_file_magic_cmd=/usr/bin/file
10965 case "$host_cpu" in
10967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10968 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10971 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]'
10972 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10975 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10976 lt_cv_file_magic_test_file=/usr/lib/libc.sl
10981 irix5* | irix6* | nonstopux*)
10983 *-32|*"-32 ") libmagic=32-bit;;
10984 *-n32|*"-n32 ") libmagic=N32;;
10985 *-64|*"-64 ") libmagic=64-bit;;
10986 *) libmagic=never-match;;
10988 lt_cv_deplibs_check_method=pass_all
10991 # This must be Linux ELF.
10994 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
10995 lt_cv_deplibs_check_method=pass_all ;;
10997 # glibc up to 2.1.1 does not perform some relocations on ARM
10998 # this will be overridden with pass_all, but let us keep it just in case
10999 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
11001 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
11002 lt_cv_deplibs_check_method=pass_all
11006 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
11007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
11015 lt_cv_file_magic_cmd=/usr/bin/file
11016 lt_cv_file_magic_test_file=/usr/lib/libnls.so
11020 lt_cv_deplibs_check_method=unknown
11024 lt_cv_file_magic_cmd=/usr/bin/file
11025 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
11026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
11029 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
11033 osf3* | osf4* | osf5*)
11034 lt_cv_deplibs_check_method=pass_all
11038 lt_cv_deplibs_check_method=pass_all
11042 lt_cv_deplibs_check_method=pass_all
11045 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11046 case $host_vendor in
11048 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]'
11049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
11052 lt_cv_deplibs_check_method=pass_all
11055 lt_cv_file_magic_cmd='/bin/file'
11056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
11059 lt_cv_file_magic_cmd='/bin/file'
11060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
11061 lt_cv_file_magic_test_file=/lib/libc.so
11064 lt_cv_deplibs_check_method=pass_all
11069 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
11070 lt_cv_deplibs_check_method=pass_all
11075 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
11076 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
11077 file_magic_cmd=$lt_cv_file_magic_cmd
11078 deplibs_check_method=$lt_cv_deplibs_check_method
11079 test -z "$deplibs_check_method" && deplibs_check_method=unknown
11084 # If no C compiler was specified, use CC.
11087 # Allow CC to be a program name with arguments.
11090 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11091 if test "${enable_libtool_lock+set}" = set; then
11092 enableval="$enable_libtool_lock"
11095 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11097 # Some flags need to be propagated to the compiler or linker for good
11101 # Find out which ABI we are using.
11102 echo 'int i;' > conftest.$ac_ext
11103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11104 (eval $ac_compile) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; then
11108 case `/usr/bin/file conftest.$ac_objext` in
11110 HPUX_IA64_MODE="32"
11113 HPUX_IA64_MODE="64"
11120 # Find out which ABI we are using.
11121 echo '#line 11121 "configure"' > conftest.$ac_ext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123 (eval $ac_compile) 2>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); }; then
11127 if test "$lt_cv_prog_gnu_ld" = yes; then
11128 case `/usr/bin/file conftest.$ac_objext` in
11130 LD="${LD-ld} -melf32bsmip"
11133 LD="${LD-ld} -melf32bmipn32"
11136 LD="${LD-ld} -melf64bmip"
11140 case `/usr/bin/file conftest.$ac_objext` in
11156 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
11157 # Find out which ABI we are using.
11158 echo 'int i;' > conftest.$ac_ext
11159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11160 (eval $ac_compile) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); }; then
11164 case "`/usr/bin/file conftest.o`" in
11168 LD="${LD-ld} -m elf_i386"
11170 ppc64-*linux*|powerpc64-*linux*)
11171 LD="${LD-ld} -m elf32ppclinux"
11174 LD="${LD-ld} -m elf_s390"
11177 LD="${LD-ld} -m elf32_sparc"
11184 LD="${LD-ld} -m elf_x86_64"
11186 ppc*-*linux*|powerpc*-*linux*)
11187 LD="${LD-ld} -m elf64ppc"
11190 LD="${LD-ld} -m elf64_s390"
11193 LD="${LD-ld} -m elf64_sparc"
11203 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11204 SAVE_CFLAGS="$CFLAGS"
11205 CFLAGS="$CFLAGS -belf"
11206 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11207 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
11208 if test "${lt_cv_cc_needs_belf+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 ac_cpp='$CPP $CPPFLAGS'
11213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11217 cat >conftest.$ac_ext <<_ACEOF
11220 cat confdefs.h >>conftest.$ac_ext
11221 cat >>conftest.$ac_ext <<_ACEOF
11222 /* end confdefs.h. */
11232 rm -f conftest.$ac_objext conftest$ac_exeext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11234 (eval $ac_link) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1 >conftest.err
11238 cat conftest.err >&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try='test -z "$ac_c_werror_flag"
11242 || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try='test -s conftest$ac_exeext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 lt_cv_cc_needs_belf=yes
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11259 lt_cv_cc_needs_belf=no
11261 rm -f conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11264 ac_cpp='$CPP $CPPFLAGS'
11265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11270 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11271 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
11272 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11273 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11274 CFLAGS="$SAVE_CFLAGS"
11280 need_locks="$enable_libtool_lock"
11284 ac_cpp='$CPP $CPPFLAGS'
11285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11288 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11289 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11290 # On Suns, sometimes $CPP names a directory.
11291 if test -n "$CPP" && test -d "$CPP"; then
11294 if test -z "$CPP"; then
11295 if test "${ac_cv_prog_CPP+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 # Double quotes because CPP needs to be expanded
11299 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11301 ac_preproc_ok=false
11302 for ac_c_preproc_warn_flag in '' yes
11304 # Use a header file that comes with gcc, so configuring glibc
11305 # with a fresh cross-compiler works.
11306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11307 # <limits.h> exists even on freestanding compilers.
11308 # On the NeXT, cc -E runs the code through the compiler's parser,
11309 # not just through cpp. "Syntax error" is here to catch this case.
11310 cat >conftest.$ac_ext <<_ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11317 # include <limits.h>
11319 # include <assert.h>
11323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11326 grep -v '^ *+' conftest.er1 >conftest.err
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } >/dev/null; then
11331 if test -s conftest.err; then
11332 ac_cpp_err=$ac_c_preproc_warn_flag
11333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11340 if test -z "$ac_cpp_err"; then
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11346 # Broken: fails on valid input.
11349 rm -f conftest.err conftest.$ac_ext
11351 # OK, works on sane cases. Now check whether non-existent headers
11352 # can be detected and how.
11353 cat >conftest.$ac_ext <<_ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11359 #include <ac_nonexistent.h>
11361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11364 grep -v '^ *+' conftest.er1 >conftest.err
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } >/dev/null; then
11369 if test -s conftest.err; then
11370 ac_cpp_err=$ac_c_preproc_warn_flag
11371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11378 if test -z "$ac_cpp_err"; then
11379 # Broken: success on invalid input.
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.$ac_ext >&5
11385 # Passes both tests.
11389 rm -f conftest.err conftest.$ac_ext
11392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11393 rm -f conftest.err conftest.$ac_ext
11394 if $ac_preproc_ok; then
11399 ac_cv_prog_CPP=$CPP
11402 CPP=$ac_cv_prog_CPP
11404 ac_cv_prog_CPP=$CPP
11406 echo "$as_me:$LINENO: result: $CPP" >&5
11407 echo "${ECHO_T}$CPP" >&6
11408 ac_preproc_ok=false
11409 for ac_c_preproc_warn_flag in '' yes
11411 # Use a header file that comes with gcc, so configuring glibc
11412 # with a fresh cross-compiler works.
11413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11414 # <limits.h> exists even on freestanding compilers.
11415 # On the NeXT, cc -E runs the code through the compiler's parser,
11416 # not just through cpp. "Syntax error" is here to catch this case.
11417 cat >conftest.$ac_ext <<_ACEOF
11420 cat confdefs.h >>conftest.$ac_ext
11421 cat >>conftest.$ac_ext <<_ACEOF
11422 /* end confdefs.h. */
11424 # include <limits.h>
11426 # include <assert.h>
11430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11433 grep -v '^ *+' conftest.er1 >conftest.err
11435 cat conftest.err >&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); } >/dev/null; then
11438 if test -s conftest.err; then
11439 ac_cpp_err=$ac_c_preproc_warn_flag
11440 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11447 if test -z "$ac_cpp_err"; then
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.$ac_ext >&5
11453 # Broken: fails on valid input.
11456 rm -f conftest.err conftest.$ac_ext
11458 # OK, works on sane cases. Now check whether non-existent headers
11459 # can be detected and how.
11460 cat >conftest.$ac_ext <<_ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11466 #include <ac_nonexistent.h>
11468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11471 grep -v '^ *+' conftest.er1 >conftest.err
11473 cat conftest.err >&5
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); } >/dev/null; then
11476 if test -s conftest.err; then
11477 ac_cpp_err=$ac_c_preproc_warn_flag
11478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11485 if test -z "$ac_cpp_err"; then
11486 # Broken: success on invalid input.
11489 echo "$as_me: failed program was:" >&5
11490 sed 's/^/| /' conftest.$ac_ext >&5
11492 # Passes both tests.
11496 rm -f conftest.err conftest.$ac_ext
11499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11500 rm -f conftest.err conftest.$ac_ext
11501 if $ac_preproc_ok; then
11504 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11505 See \`config.log' for more details." >&5
11506 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11507 See \`config.log' for more details." >&2;}
11508 { (exit 1); exit 1; }; }
11512 ac_cpp='$CPP $CPPFLAGS'
11513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11518 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11519 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11520 if test "${ac_cv_header_stdc+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 cat >conftest.$ac_ext <<_ACEOF
11526 cat confdefs.h >>conftest.$ac_ext
11527 cat >>conftest.$ac_ext <<_ACEOF
11528 /* end confdefs.h. */
11529 #include <stdlib.h>
11530 #include <stdarg.h>
11531 #include <string.h>
11542 rm -f conftest.$ac_objext
11543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11544 (eval $ac_compile) 2>conftest.er1
11546 grep -v '^ *+' conftest.er1 >conftest.err
11548 cat conftest.err >&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } &&
11551 { ac_try='test -z "$ac_c_werror_flag"
11552 || test ! -s conftest.err'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; } &&
11558 { ac_try='test -s conftest.$ac_objext'
11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11560 (eval $ac_try) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }; }; then
11564 ac_cv_header_stdc=yes
11566 echo "$as_me: failed program was:" >&5
11567 sed 's/^/| /' conftest.$ac_ext >&5
11569 ac_cv_header_stdc=no
11571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11573 if test $ac_cv_header_stdc = yes; then
11574 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11575 cat >conftest.$ac_ext <<_ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 #include <string.h>
11584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11585 $EGREP "memchr" >/dev/null 2>&1; then
11588 ac_cv_header_stdc=no
11594 if test $ac_cv_header_stdc = yes; then
11595 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11596 cat >conftest.$ac_ext <<_ACEOF
11599 cat confdefs.h >>conftest.$ac_ext
11600 cat >>conftest.$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11602 #include <stdlib.h>
11605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11606 $EGREP "free" >/dev/null 2>&1; then
11609 ac_cv_header_stdc=no
11615 if test $ac_cv_header_stdc = yes; then
11616 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11617 if test "$cross_compiling" = yes; then
11620 cat >conftest.$ac_ext <<_ACEOF
11623 cat confdefs.h >>conftest.$ac_ext
11624 cat >>conftest.$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11627 #if ((' ' & 0x0FF) == 0x020)
11628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11631 # define ISLOWER(c) \
11632 (('a' <= (c) && (c) <= 'i') \
11633 || ('j' <= (c) && (c) <= 'r') \
11634 || ('s' <= (c) && (c) <= 'z'))
11635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11643 for (i = 0; i < 256; i++)
11644 if (XOR (islower (i), ISLOWER (i))
11645 || toupper (i) != TOUPPER (i))
11650 rm -f conftest$ac_exeext
11651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11652 (eval $ac_link) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11663 echo "$as_me: program exited with status $ac_status" >&5
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ( exit $ac_status )
11668 ac_cv_header_stdc=no
11670 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11674 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11675 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11676 if test $ac_cv_header_stdc = yes; then
11678 cat >>confdefs.h <<\_ACEOF
11679 #define STDC_HEADERS 1
11684 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11694 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11695 inttypes.h stdint.h unistd.h
11697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11698 echo "$as_me:$LINENO: checking for $ac_header" >&5
11699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 cat >conftest.$ac_ext <<_ACEOF
11706 cat confdefs.h >>conftest.$ac_ext
11707 cat >>conftest.$ac_ext <<_ACEOF
11708 /* end confdefs.h. */
11709 $ac_includes_default
11711 #include <$ac_header>
11713 rm -f conftest.$ac_objext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11715 (eval $ac_compile) 2>conftest.er1
11717 grep -v '^ *+' conftest.er1 >conftest.err
11719 cat conftest.err >&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try='test -z "$ac_c_werror_flag"
11723 || test ! -s conftest.err'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; } &&
11729 { ac_try='test -s conftest.$ac_objext'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11735 eval "$as_ac_Header=yes"
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.$ac_ext >&5
11740 eval "$as_ac_Header=no"
11742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11747 cat >>confdefs.h <<_ACEOF
11748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11757 for ac_header in dlfcn.h
11759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11761 echo "$as_me:$LINENO: checking for $ac_header" >&5
11762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11769 # Is the header compilable?
11770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11772 cat >conftest.$ac_ext <<_ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11778 $ac_includes_default
11779 #include <$ac_header>
11781 rm -f conftest.$ac_objext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11783 (eval $ac_compile) 2>conftest.er1
11785 grep -v '^ *+' conftest.er1 >conftest.err
11787 cat conftest.err >&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try='test -z "$ac_c_werror_flag"
11791 || test ! -s conftest.err'
11792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11793 (eval $ac_try) 2>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; } &&
11797 { ac_try='test -s conftest.$ac_objext'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; }; then
11803 ac_header_compiler=yes
11805 echo "$as_me: failed program was:" >&5
11806 sed 's/^/| /' conftest.$ac_ext >&5
11808 ac_header_compiler=no
11810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11812 echo "${ECHO_T}$ac_header_compiler" >&6
11814 # Is the header present?
11815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11817 cat >conftest.$ac_ext <<_ACEOF
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11823 #include <$ac_header>
11825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11826 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
11833 if test -s conftest.err; then
11834 ac_cpp_err=$ac_c_preproc_warn_flag
11835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11842 if test -z "$ac_cpp_err"; then
11843 ac_header_preproc=yes
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.$ac_ext >&5
11848 ac_header_preproc=no
11850 rm -f conftest.err conftest.$ac_ext
11851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11852 echo "${ECHO_T}$ac_header_preproc" >&6
11854 # So? What about this header?
11855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11861 ac_header_preproc=yes
11864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11878 ## --------------------------------------------- ##
11879 ## Report this to vserver@list.linux-vserver.org ##
11880 ## --------------------------------------------- ##
11883 sed "s/^/$as_me: WARNING: /" >&2
11886 echo "$as_me:$LINENO: checking for $ac_header" >&5
11887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 eval "$as_ac_Header=\$ac_header_preproc"
11893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11898 cat >>confdefs.h <<_ACEOF
11899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11907 ac_cpp='$CXXCPP $CPPFLAGS'
11908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11911 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11912 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
11913 if test -z "$CXXCPP"; then
11914 if test "${ac_cv_prog_CXXCPP+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 # Double quotes because CXXCPP needs to be expanded
11918 for CXXCPP in "$CXX -E" "/lib/cpp"
11920 ac_preproc_ok=false
11921 for ac_cxx_preproc_warn_flag in '' yes
11923 # Use a header file that comes with gcc, so configuring glibc
11924 # with a fresh cross-compiler works.
11925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11926 # <limits.h> exists even on freestanding compilers.
11927 # On the NeXT, cc -E runs the code through the compiler's parser,
11928 # not just through cpp. "Syntax error" is here to catch this case.
11929 cat >conftest.$ac_ext <<_ACEOF
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11936 # include <limits.h>
11938 # include <assert.h>
11942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11945 grep -v '^ *+' conftest.er1 >conftest.err
11947 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } >/dev/null; then
11950 if test -s conftest.err; then
11951 ac_cpp_err=$ac_cxx_preproc_warn_flag
11952 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11959 if test -z "$ac_cpp_err"; then
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.$ac_ext >&5
11965 # Broken: fails on valid input.
11968 rm -f conftest.err conftest.$ac_ext
11970 # OK, works on sane cases. Now check whether non-existent headers
11971 # can be detected and how.
11972 cat >conftest.$ac_ext <<_ACEOF
11975 cat confdefs.h >>conftest.$ac_ext
11976 cat >>conftest.$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11978 #include <ac_nonexistent.h>
11980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11983 grep -v '^ *+' conftest.er1 >conftest.err
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } >/dev/null; then
11988 if test -s conftest.err; then
11989 ac_cpp_err=$ac_cxx_preproc_warn_flag
11990 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11997 if test -z "$ac_cpp_err"; then
11998 # Broken: success on invalid input.
12001 echo "$as_me: failed program was:" >&5
12002 sed 's/^/| /' conftest.$ac_ext >&5
12004 # Passes both tests.
12008 rm -f conftest.err conftest.$ac_ext
12011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12012 rm -f conftest.err conftest.$ac_ext
12013 if $ac_preproc_ok; then
12018 ac_cv_prog_CXXCPP=$CXXCPP
12021 CXXCPP=$ac_cv_prog_CXXCPP
12023 ac_cv_prog_CXXCPP=$CXXCPP
12025 echo "$as_me:$LINENO: result: $CXXCPP" >&5
12026 echo "${ECHO_T}$CXXCPP" >&6
12027 ac_preproc_ok=false
12028 for ac_cxx_preproc_warn_flag in '' yes
12030 # Use a header file that comes with gcc, so configuring glibc
12031 # with a fresh cross-compiler works.
12032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12033 # <limits.h> exists even on freestanding compilers.
12034 # On the NeXT, cc -E runs the code through the compiler's parser,
12035 # not just through cpp. "Syntax error" is here to catch this case.
12036 cat >conftest.$ac_ext <<_ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12043 # include <limits.h>
12045 # include <assert.h>
12049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12052 grep -v '^ *+' conftest.er1 >conftest.err
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } >/dev/null; then
12057 if test -s conftest.err; then
12058 ac_cpp_err=$ac_cxx_preproc_warn_flag
12059 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12066 if test -z "$ac_cpp_err"; then
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.$ac_ext >&5
12072 # Broken: fails on valid input.
12075 rm -f conftest.err conftest.$ac_ext
12077 # OK, works on sane cases. Now check whether non-existent headers
12078 # can be detected and how.
12079 cat >conftest.$ac_ext <<_ACEOF
12082 cat confdefs.h >>conftest.$ac_ext
12083 cat >>conftest.$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12085 #include <ac_nonexistent.h>
12087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12090 grep -v '^ *+' conftest.er1 >conftest.err
12092 cat conftest.err >&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); } >/dev/null; then
12095 if test -s conftest.err; then
12096 ac_cpp_err=$ac_cxx_preproc_warn_flag
12097 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12104 if test -z "$ac_cpp_err"; then
12105 # Broken: success on invalid input.
12108 echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.$ac_ext >&5
12111 # Passes both tests.
12115 rm -f conftest.err conftest.$ac_ext
12118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12119 rm -f conftest.err conftest.$ac_ext
12120 if $ac_preproc_ok; then
12123 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12124 See \`config.log' for more details." >&5
12125 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12126 See \`config.log' for more details." >&2;}
12127 { (exit 1); exit 1; }; }
12131 ac_cpp='$CXXCPP $CPPFLAGS'
12132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12137 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12138 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12139 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12140 if test -n "$ac_tool_prefix"; then
12141 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
12143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12144 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12145 echo "$as_me:$LINENO: checking for $ac_word" >&5
12146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12147 if test "${ac_cv_prog_F77+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 if test -n "$F77"; then
12151 ac_cv_prog_F77="$F77" # Let the user override the test.
12153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12154 for as_dir in $PATH
12157 test -z "$as_dir" && as_dir=.
12158 for ac_exec_ext in '' $ac_executable_extensions; do
12159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12160 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12169 F77=$ac_cv_prog_F77
12170 if test -n "$F77"; then
12171 echo "$as_me:$LINENO: result: $F77" >&5
12172 echo "${ECHO_T}$F77" >&6
12174 echo "$as_me:$LINENO: result: no" >&5
12175 echo "${ECHO_T}no" >&6
12178 test -n "$F77" && break
12181 if test -z "$F77"; then
12183 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
12185 # Extract the first word of "$ac_prog", so it can be a program name with args.
12186 set dummy $ac_prog; ac_word=$2
12187 echo "$as_me:$LINENO: checking for $ac_word" >&5
12188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12189 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 if test -n "$ac_ct_F77"; then
12193 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
12195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12196 for as_dir in $PATH
12199 test -z "$as_dir" && as_dir=.
12200 for ac_exec_ext in '' $ac_executable_extensions; do
12201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12202 ac_cv_prog_ac_ct_F77="$ac_prog"
12203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12211 ac_ct_F77=$ac_cv_prog_ac_ct_F77
12212 if test -n "$ac_ct_F77"; then
12213 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
12214 echo "${ECHO_T}$ac_ct_F77" >&6
12216 echo "$as_me:$LINENO: result: no" >&5
12217 echo "${ECHO_T}no" >&6
12220 test -n "$ac_ct_F77" && break
12227 # Provide some information about the compiler.
12228 echo "$as_me:12228:" \
12229 "checking for Fortran 77 compiler version" >&5
12230 ac_compiler=`set X $ac_compile; echo $2`
12231 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12232 (eval $ac_compiler --version </dev/null >&5) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }
12236 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12237 (eval $ac_compiler -v </dev/null >&5) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }
12241 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12242 (eval $ac_compiler -V </dev/null >&5) 2>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); }
12248 # If we don't use `.F' as extension, the preprocessor is not run on the
12249 # input file. (Note that this only needs to work for GNU compilers.)
12250 ac_save_ext=$ac_ext
12252 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
12253 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
12254 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
12255 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 cat >conftest.$ac_ext <<_ACEOF
12265 rm -f conftest.$ac_objext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>conftest.er1
12269 grep -v '^ *+' conftest.er1 >conftest.err
12271 cat conftest.err >&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try='test -z "$ac_f77_werror_flag"
12275 || test ! -s conftest.err'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; } &&
12281 { ac_try='test -s conftest.$ac_objext'
12282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12287 ac_compiler_gnu=yes
12289 echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.$ac_ext >&5
12294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12295 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
12298 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
12299 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
12300 ac_ext=$ac_save_ext
12301 ac_test_FFLAGS=${FFLAGS+set}
12302 ac_save_FFLAGS=$FFLAGS
12304 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
12305 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
12306 if test "${ac_cv_prog_f77_g+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 cat >conftest.$ac_ext <<_ACEOF
12315 rm -f conftest.$ac_objext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12317 (eval $ac_compile) 2>conftest.er1
12319 grep -v '^ *+' conftest.er1 >conftest.err
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try='test -z "$ac_f77_werror_flag"
12325 || test ! -s conftest.err'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; } &&
12331 { ac_try='test -s conftest.$ac_objext'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; }; then
12337 ac_cv_prog_f77_g=yes
12339 echo "$as_me: failed program was:" >&5
12340 sed 's/^/| /' conftest.$ac_ext >&5
12342 ac_cv_prog_f77_g=no
12344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
12349 if test "$ac_test_FFLAGS" = set; then
12350 FFLAGS=$ac_save_FFLAGS
12351 elif test $ac_cv_prog_f77_g = yes; then
12352 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12358 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12365 G77=`test $ac_compiler_gnu = yes && echo yes`
12367 ac_cpp='$CPP $CPPFLAGS'
12368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12374 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
12376 # find the maximum length of command line arguments
12377 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
12378 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
12379 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12387 # On DJGPP, this test can blow up pretty badly due to problems in libc
12388 # (any single argument exceeding 2000 bytes causes a buffer overrun
12389 # during glob expansion). Even if it were fixed, the result of this
12390 # check would be larger than it should be.
12391 lt_cv_sys_max_cmd_len=12288; # 12K is about right
12395 # Under GNU Hurd, this test is not required because there is
12396 # no limit to the length of command line arguments.
12397 # Libtool will interpret -1 as no limit whatsoever
12398 lt_cv_sys_max_cmd_len=-1;
12402 # On Win9x/ME, this test blows up -- it succeeds, but takes
12403 # about 5 minutes as the teststring grows exponentially.
12404 # Worse, since 9x/ME are not pre-emptively multitasking,
12405 # you end up with a "frozen" computer, even though with patience
12406 # the test eventually succeeds (with a max line length of 256k).
12407 # Instead, let's just punt: use the minimum linelength reported by
12408 # all of the supported platforms: 8192 (on NT/2K/XP).
12409 lt_cv_sys_max_cmd_len=8192;
12413 # On AmigaOS with pdksh, this test takes hours, literally.
12414 # So we just punt and use a minimum line length of 8192.
12415 lt_cv_sys_max_cmd_len=8192;
12419 # If test is not a shell built-in, we'll probably end up computing a
12420 # maximum length that is only half of the actual maximum length, but
12422 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
12423 = "XX$teststring") >/dev/null 2>&1 &&
12424 new_result=`expr "X$teststring" : ".*" 2>&1` &&
12425 lt_cv_sys_max_cmd_len=$new_result &&
12426 test $i != 17 # 1/2 MB should be enough
12429 teststring=$teststring$teststring
12432 # Add a significant safety factor because C++ compilers can tack on massive
12433 # amounts of additional arguments before passing them to the linker.
12434 # It appears as though 1/2 is a usable value.
12435 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12441 if test -n $lt_cv_sys_max_cmd_len ; then
12442 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12443 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
12445 echo "$as_me:$LINENO: result: none" >&5
12446 echo "${ECHO_T}none" >&6
12452 # Check for command to grab the raw symbol name followed by C symbol from nm.
12453 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
12454 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
12455 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 # These are sane defaults that work on at least a few old systems.
12460 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
12462 # Character class describing NM global symbol codes.
12463 symcode='[BCDEGRST]'
12465 # Regexp to match symbols that can be accessed directly from C.
12466 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
12468 # Transform the above into a raw symbol and a C symbol.
12469 symxfrm='\1 \2\3 \3'
12471 # Transform an extracted symbol line into a proper C declaration
12472 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
12474 # Transform an extracted symbol line into symbol name and symbol address
12475 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'"
12477 # Define system-specific variables.
12482 cygwin* | mingw* | pw32*)
12483 symcode='[ABCDGISTW]'
12485 hpux*) # Its linker distinguishes data from code symbols
12486 if test "$host_cpu" = ia64; then
12487 symcode='[ABCDEGRST]'
12489 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12490 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'"
12492 irix* | nonstopux*)
12493 symcode='[BCDEGRST]'
12496 symcode='[BCDEGQRST]'
12506 # Handle CRLF in mingw tool chain
12510 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
12514 # If we're using GNU nm, then use its standard symbol codes.
12515 case `$NM -V 2>&1` in
12516 *GNU* | *'with BFD'*)
12517 symcode='[ABCDGIRSTW]' ;;
12520 # Try without a prefix undercore, then with it.
12521 for ac_symprfx in "" "_"; do
12523 # Write the raw and C identifiers.
12524 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
12526 # Check to see that the pipe works correctly.
12530 cat > conftest.$ac_ext <<EOF
12535 void nm_test_func(){}
12539 int main(){nm_test_var='a';nm_test_func();return(0);}
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543 (eval $ac_compile) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; then
12547 # Now try to grab the symbols.
12549 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
12550 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } && test -s "$nlist"; then
12554 # Try sorting and uniquifying the output.
12555 if sort "$nlist" | uniq > "$nlist"T; then
12556 mv -f "$nlist"T "$nlist"
12561 # Make sure that we snagged all the symbols we need.
12562 if grep ' nm_test_var$' "$nlist" >/dev/null; then
12563 if grep ' nm_test_func$' "$nlist" >/dev/null; then
12564 cat <<EOF > conftest.$ac_ext
12570 # Now generate the symbol file.
12571 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
12573 cat <<EOF >> conftest.$ac_ext
12574 #if defined (__STDC__) && __STDC__
12575 # define lt_ptr_t void *
12577 # define lt_ptr_t char *
12581 /* The mapping between symbol names and symbols. */
12586 lt_preloaded_symbols[] =
12589 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
12590 cat <<\EOF >> conftest.$ac_ext
12598 # Now try linking the two files.
12599 mv conftest.$ac_objext conftstm.$ac_objext
12600 lt_save_LIBS="$LIBS"
12601 lt_save_CFLAGS="$CFLAGS"
12602 LIBS="conftstm.$ac_objext"
12603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12605 (eval $ac_link) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
12611 LIBS="$lt_save_LIBS"
12612 CFLAGS="$lt_save_CFLAGS"
12614 echo "cannot find nm_test_func in $nlist" >&5
12617 echo "cannot find nm_test_var in $nlist" >&5
12620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12623 echo "$progname: failed program was:" >&5
12624 cat conftest.$ac_ext >&5
12626 rm -f conftest* conftst*
12628 # Do not use the global_symbol_pipe unless it works.
12629 if test "$pipe_works" = yes; then
12632 lt_cv_sys_global_symbol_pipe=
12638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
12639 lt_cv_sys_global_symbol_to_cdecl=
12641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12642 echo "$as_me:$LINENO: result: failed" >&5
12643 echo "${ECHO_T}failed" >&6
12645 echo "$as_me:$LINENO: result: ok" >&5
12646 echo "${ECHO_T}ok" >&6
12649 echo "$as_me:$LINENO: checking for objdir" >&5
12650 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12651 if test "${lt_cv_objdir+set}" = set; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 rm -f .libs 2>/dev/null
12655 mkdir .libs 2>/dev/null
12656 if test -d .libs; then
12659 # MS-DOS does not allow filenames that begin with a dot.
12662 rmdir .libs 2>/dev/null
12664 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12665 echo "${ECHO_T}$lt_cv_objdir" >&6
12666 objdir=$lt_cv_objdir
12674 # AIX sometimes has problems with the GCC collect2 program. For some
12675 # reason, if we set the COLLECT_NAMES environment variable, the problems
12676 # vanish in a puff of smoke.
12677 if test "X${COLLECT_NAMES+set}" != Xset; then
12679 export COLLECT_NAMES
12684 # Sed substitution that helps us do robust quoting. It backslashifies
12685 # metacharacters that are still active within double-quoted strings.
12686 Xsed='sed -e s/^X//'
12687 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12689 # Same as above, but do not quote variable references.
12690 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12692 # Sed substitution to delay expansion of an escaped shell variable in a
12693 # double_quote_subst'ed string.
12694 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12696 # Sed substitution to avoid accidental globbing in evaled expressions
12697 no_glob_subst='s/\*/\\\*/g'
12702 # Global variables:
12703 default_ofile=libtool
12704 can_build_shared=yes
12706 # All known linkers require a `.a' archive for static linking (except M$VC,
12707 # which needs '.lib').
12709 ltmain="$ac_aux_dir/ltmain.sh"
12710 ofile="$default_ofile"
12711 with_gnu_ld="$lt_cv_prog_gnu_ld"
12713 if test -n "$ac_tool_prefix"; then
12714 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12715 set dummy ${ac_tool_prefix}ar; ac_word=$2
12716 echo "$as_me:$LINENO: checking for $ac_word" >&5
12717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12718 if test "${ac_cv_prog_AR+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12721 if test -n "$AR"; then
12722 ac_cv_prog_AR="$AR" # Let the user override the test.
12724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12725 for as_dir in $PATH
12728 test -z "$as_dir" && as_dir=.
12729 for ac_exec_ext in '' $ac_executable_extensions; do
12730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12731 ac_cv_prog_AR="${ac_tool_prefix}ar"
12732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12741 if test -n "$AR"; then
12742 echo "$as_me:$LINENO: result: $AR" >&5
12743 echo "${ECHO_T}$AR" >&6
12745 echo "$as_me:$LINENO: result: no" >&5
12746 echo "${ECHO_T}no" >&6
12750 if test -z "$ac_cv_prog_AR"; then
12752 # Extract the first word of "ar", so it can be a program name with args.
12753 set dummy ar; ac_word=$2
12754 echo "$as_me:$LINENO: checking for $ac_word" >&5
12755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12756 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 if test -n "$ac_ct_AR"; then
12760 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763 for as_dir in $PATH
12766 test -z "$as_dir" && as_dir=.
12767 for ac_exec_ext in '' $ac_executable_extensions; do
12768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12769 ac_cv_prog_ac_ct_AR="ar"
12770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12776 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
12779 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12780 if test -n "$ac_ct_AR"; then
12781 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12782 echo "${ECHO_T}$ac_ct_AR" >&6
12784 echo "$as_me:$LINENO: result: no" >&5
12785 echo "${ECHO_T}no" >&6
12790 AR="$ac_cv_prog_AR"
12793 if test -n "$ac_tool_prefix"; then
12794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12796 echo "$as_me:$LINENO: checking for $ac_word" >&5
12797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12798 if test "${ac_cv_prog_RANLIB+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 if test -n "$RANLIB"; then
12802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12805 for as_dir in $PATH
12808 test -z "$as_dir" && as_dir=.
12809 for ac_exec_ext in '' $ac_executable_extensions; do
12810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12820 RANLIB=$ac_cv_prog_RANLIB
12821 if test -n "$RANLIB"; then
12822 echo "$as_me:$LINENO: result: $RANLIB" >&5
12823 echo "${ECHO_T}$RANLIB" >&6
12825 echo "$as_me:$LINENO: result: no" >&5
12826 echo "${ECHO_T}no" >&6
12830 if test -z "$ac_cv_prog_RANLIB"; then
12831 ac_ct_RANLIB=$RANLIB
12832 # Extract the first word of "ranlib", so it can be a program name with args.
12833 set dummy ranlib; ac_word=$2
12834 echo "$as_me:$LINENO: checking for $ac_word" >&5
12835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12839 if test -n "$ac_ct_RANLIB"; then
12840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12849 ac_cv_prog_ac_ct_RANLIB="ranlib"
12850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12856 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12860 if test -n "$ac_ct_RANLIB"; then
12861 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12862 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12864 echo "$as_me:$LINENO: result: no" >&5
12865 echo "${ECHO_T}no" >&6
12868 RANLIB=$ac_ct_RANLIB
12870 RANLIB="$ac_cv_prog_RANLIB"
12873 if test -n "$ac_tool_prefix"; then
12874 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12875 set dummy ${ac_tool_prefix}strip; ac_word=$2
12876 echo "$as_me:$LINENO: checking for $ac_word" >&5
12877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12878 if test "${ac_cv_prog_STRIP+set}" = set; then
12879 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 if test -n "$STRIP"; then
12882 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12885 for as_dir in $PATH
12888 test -z "$as_dir" && as_dir=.
12889 for ac_exec_ext in '' $ac_executable_extensions; do
12890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12891 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12900 STRIP=$ac_cv_prog_STRIP
12901 if test -n "$STRIP"; then
12902 echo "$as_me:$LINENO: result: $STRIP" >&5
12903 echo "${ECHO_T}$STRIP" >&6
12905 echo "$as_me:$LINENO: result: no" >&5
12906 echo "${ECHO_T}no" >&6
12910 if test -z "$ac_cv_prog_STRIP"; then
12912 # Extract the first word of "strip", so it can be a program name with args.
12913 set dummy strip; ac_word=$2
12914 echo "$as_me:$LINENO: checking for $ac_word" >&5
12915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12916 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 if test -n "$ac_ct_STRIP"; then
12920 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12923 for as_dir in $PATH
12926 test -z "$as_dir" && as_dir=.
12927 for ac_exec_ext in '' $ac_executable_extensions; do
12928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12929 ac_cv_prog_ac_ct_STRIP="strip"
12930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12936 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12939 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12940 if test -n "$ac_ct_STRIP"; then
12941 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12942 echo "${ECHO_T}$ac_ct_STRIP" >&6
12944 echo "$as_me:$LINENO: result: no" >&5
12945 echo "${ECHO_T}no" >&6
12950 STRIP="$ac_cv_prog_STRIP"
12955 old_CFLAGS="$CFLAGS"
12957 # Set sane defaults for various variables
12958 test -z "$AR" && AR=ar
12959 test -z "$AR_FLAGS" && AR_FLAGS=cru
12960 test -z "$AS" && AS=as
12961 test -z "$CC" && CC=cc
12962 test -z "$LTCC" && LTCC=$CC
12963 test -z "$DLLTOOL" && DLLTOOL=dlltool
12964 test -z "$LD" && LD=ld
12965 test -z "$LN_S" && LN_S="ln -s"
12966 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12967 test -z "$NM" && NM=nm
12968 test -z "$SED" && SED=sed
12969 test -z "$OBJDUMP" && OBJDUMP=objdump
12970 test -z "$RANLIB" && RANLIB=:
12971 test -z "$STRIP" && STRIP=:
12972 test -z "$ac_objext" && ac_objext=o
12974 # Determine commands to create old-style static archives.
12975 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12976 old_postinstall_cmds='chmod 644 $oldlib'
12977 old_postuninstall_cmds=
12979 if test -n "$RANLIB"; then
12982 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12985 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12988 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12991 # Only perform the check for file, if the check method requires it
12992 case $deplibs_check_method in
12994 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12995 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12996 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
12997 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13005 lt_save_MAGIC_CMD="$MAGIC_CMD"
13006 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13007 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13008 for ac_dir in $ac_dummy; do
13010 test -z "$ac_dir" && ac_dir=.
13011 if test -f $ac_dir/${ac_tool_prefix}file; then
13012 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
13013 if test -n "$file_magic_test_file"; then
13014 case $deplibs_check_method in
13016 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
13017 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13018 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13019 $EGREP "$file_magic_regex" > /dev/null; then
13024 *** Warning: the command libtool uses to detect shared libraries,
13025 *** $file_magic_cmd, produces output that libtool cannot recognize.
13026 *** The result is that libtool may fail to recognize shared libraries
13027 *** as such. This will affect the creation of libtool libraries that
13028 *** depend on shared libraries, but programs linked with such libtool
13029 *** libraries will work regardless of this problem. Nevertheless, you
13030 *** may want to report the problem to your system manager and/or to
13031 *** bug-libtool@gnu.org
13041 MAGIC_CMD="$lt_save_MAGIC_CMD"
13046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13047 if test -n "$MAGIC_CMD"; then
13048 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13049 echo "${ECHO_T}$MAGIC_CMD" >&6
13051 echo "$as_me:$LINENO: result: no" >&5
13052 echo "${ECHO_T}no" >&6
13055 if test -z "$lt_cv_path_MAGIC_CMD"; then
13056 if test -n "$ac_tool_prefix"; then
13057 echo "$as_me:$LINENO: checking for file" >&5
13058 echo $ECHO_N "checking for file... $ECHO_C" >&6
13059 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13067 lt_save_MAGIC_CMD="$MAGIC_CMD"
13068 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13069 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13070 for ac_dir in $ac_dummy; do
13072 test -z "$ac_dir" && ac_dir=.
13073 if test -f $ac_dir/file; then
13074 lt_cv_path_MAGIC_CMD="$ac_dir/file"
13075 if test -n "$file_magic_test_file"; then
13076 case $deplibs_check_method in
13078 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
13079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13080 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13081 $EGREP "$file_magic_regex" > /dev/null; then
13086 *** Warning: the command libtool uses to detect shared libraries,
13087 *** $file_magic_cmd, produces output that libtool cannot recognize.
13088 *** The result is that libtool may fail to recognize shared libraries
13089 *** as such. This will affect the creation of libtool libraries that
13090 *** depend on shared libraries, but programs linked with such libtool
13091 *** libraries will work regardless of this problem. Nevertheless, you
13092 *** may want to report the problem to your system manager and/or to
13093 *** bug-libtool@gnu.org
13103 MAGIC_CMD="$lt_save_MAGIC_CMD"
13108 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13109 if test -n "$MAGIC_CMD"; then
13110 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13111 echo "${ECHO_T}$MAGIC_CMD" >&6
13113 echo "$as_me:$LINENO: result: no" >&5
13114 echo "${ECHO_T}no" >&6
13127 enable_win32_dll=no
13129 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
13130 if test "${enable_libtool_lock+set}" = set; then
13131 enableval="$enable_libtool_lock"
13134 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13137 # Check whether --with-pic or --without-pic was given.
13138 if test "${with_pic+set}" = set; then
13139 withval="$with_pic"
13140 pic_mode="$withval"
13144 test -z "$pic_mode" && pic_mode=default
13146 # Use C for the default configuration in the libtool script
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13156 # Source file extension for C test sources.
13159 # Object file extension for compiled C test sources.
13163 # Code to be used in simple compile tests
13164 lt_simple_compile_test_code="int some_variable = 0;\n"
13166 # Code to be used in simple link tests
13167 lt_simple_link_test_code='int main(){return(0);}\n'
13170 # If no C compiler was specified, use CC.
13173 # Allow CC to be a program name with arguments.
13178 # Check for any special shared library compilation flags.
13181 if test "$GCC" = no; then
13184 lt_prog_cc_shlib='-belf'
13188 if test -n "$lt_prog_cc_shlib"; then
13189 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
13190 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
13191 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
13193 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
13194 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
13195 lt_cv_prog_cc_can_build_shared=no
13201 # Check to make sure the static flag actually works.
13203 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
13204 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
13205 if test "${lt_prog_compiler_static_works+set}" = set; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 lt_prog_compiler_static_works=no
13209 save_LDFLAGS="$LDFLAGS"
13210 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
13211 printf "$lt_simple_link_test_code" > conftest.$ac_ext
13212 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13213 # The compiler can only warn and ignore the option if not recognized
13214 # So say no if there are warnings
13215 if test -s conftest.err; then
13216 # Append any errors to the config.log.
13217 cat conftest.err 1>&5
13219 lt_prog_compiler_static_works=yes
13223 LDFLAGS="$save_LDFLAGS"
13226 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
13227 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
13229 if test x"$lt_prog_compiler_static_works" = xyes; then
13232 lt_prog_compiler_static=
13238 lt_prog_compiler_no_builtin_flag=
13240 if test "$GCC" = yes; then
13241 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
13244 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13245 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
13246 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
13247 echo $ECHO_N "(cached) $ECHO_C" >&6
13249 lt_cv_prog_compiler_rtti_exceptions=no
13250 ac_outfile=conftest.$ac_objext
13251 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13252 lt_compiler_flag="-fno-rtti -fno-exceptions"
13253 # Insert the option either (1) after the last *FLAGS variable, or
13254 # (2) before a word containing "conftest.", or (3) at the end.
13255 # Note that $ac_compile itself does not contain backslashes and begins
13256 # with a dollar sign (not a hyphen), so the echo should work correctly.
13257 # The option is referenced via a variable to avoid confusing sed.
13258 lt_compile=`echo "$ac_compile" | $SED \
13259 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13261 -e 's:$: $lt_compiler_flag:'`
13262 (eval echo "\"\$as_me:13262: $lt_compile\"" >&5)
13263 (eval "$lt_compile" 2>conftest.err)
13265 cat conftest.err >&5
13266 echo "$as_me:13266: \$? = $ac_status" >&5
13267 if (exit $ac_status) && test -s "$ac_outfile"; then
13268 # The compiler can only warn and ignore the option if not recognized
13269 # So say no if there are warnings
13270 if test ! -s conftest.err; then
13271 lt_cv_prog_compiler_rtti_exceptions=yes
13277 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13278 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
13280 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
13281 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13288 lt_prog_compiler_wl=
13289 lt_prog_compiler_pic=
13290 lt_prog_compiler_static=
13292 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13293 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13295 if test "$GCC" = yes; then
13296 lt_prog_compiler_wl='-Wl,'
13297 lt_prog_compiler_static='-static'
13301 # All AIX code is PIC.
13302 if test "$host_cpu" = ia64; then
13303 # AIX 5 now supports IA64 processor
13304 lt_prog_compiler_static='-Bstatic'
13309 # FIXME: we need at least 68020 code to build shared libraries, but
13310 # adding the `-m68020' flag to GCC prevents building anything better,
13312 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13315 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13316 # PIC is the default for these OSes.
13319 mingw* | pw32* | os2*)
13320 # This hack is so that the source file can tell whether it is being
13321 # built for inclusion in a dll (and should export symbols for example).
13322 lt_prog_compiler_pic='-DDLL_EXPORT'
13325 darwin* | rhapsody*)
13326 # PIC is the default on this platform
13327 # Common symbols not allowed in MH_DYLIB files
13328 lt_prog_compiler_pic='-fno-common'
13332 # Just because we use GCC doesn't mean we suddenly get shared libraries
13333 # on systems that don't support them.
13334 lt_prog_compiler_can_build_shared=no
13339 if test -d /usr/nec; then
13340 lt_prog_compiler_pic=-Kconform_pic
13345 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13346 # not for PA HP-UX.
13347 case "$host_cpu" in
13352 lt_prog_compiler_pic='-fPIC'
13358 lt_prog_compiler_pic='-fPIC'
13362 # PORTME Check for flag to pass linker flags through the system compiler.
13365 lt_prog_compiler_wl='-Wl,'
13366 if test "$host_cpu" = ia64; then
13367 # AIX 5 now supports IA64 processor
13368 lt_prog_compiler_static='-Bstatic'
13370 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13374 mingw* | pw32* | os2*)
13375 # This hack is so that the source file can tell whether it is being
13376 # built for inclusion in a dll (and should export symbols for example).
13377 lt_prog_compiler_pic='-DDLL_EXPORT'
13380 hpux9* | hpux10* | hpux11*)
13381 lt_prog_compiler_wl='-Wl,'
13382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13383 # not for PA HP-UX.
13384 case "$host_cpu" in
13389 lt_prog_compiler_pic='+Z'
13392 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13393 lt_prog_compiler_static='${wl}-a ${wl}archive'
13396 irix5* | irix6* | nonstopux*)
13397 lt_prog_compiler_wl='-Wl,'
13398 # PIC (with -KPIC) is the default.
13399 lt_prog_compiler_static='-non_shared'
13403 lt_prog_compiler_pic='-KPIC'
13404 lt_prog_compiler_static='-Bstatic'
13410 lt_prog_compiler_wl='-Wl,'
13411 lt_prog_compiler_pic='-KPIC'
13412 lt_prog_compiler_static='-static'
13415 lt_prog_compiler_wl='-Wl,'
13416 # All Alpha code is PIC.
13417 lt_prog_compiler_static='-non_shared'
13422 osf3* | osf4* | osf5*)
13423 lt_prog_compiler_wl='-Wl,'
13424 # All OSF/1 code is PIC.
13425 lt_prog_compiler_static='-non_shared'
13429 lt_prog_compiler_pic='-Kpic'
13430 lt_prog_compiler_static='-dn'
13434 lt_prog_compiler_wl='-Wl,'
13435 lt_prog_compiler_pic='-KPIC'
13436 lt_prog_compiler_static='-Bstatic'
13440 lt_prog_compiler_wl='-Qoption ld '
13441 lt_prog_compiler_pic='-PIC'
13442 lt_prog_compiler_static='-Bstatic'
13445 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13446 lt_prog_compiler_wl='-Wl,'
13447 lt_prog_compiler_pic='-KPIC'
13448 lt_prog_compiler_static='-Bstatic'
13452 if test -d /usr/nec ;then
13453 lt_prog_compiler_pic='-Kconform_pic'
13454 lt_prog_compiler_static='-Bstatic'
13459 lt_prog_compiler_pic='-pic'
13460 lt_prog_compiler_static='-Bstatic'
13464 lt_prog_compiler_can_build_shared=no
13469 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
13470 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
13473 # Check to make sure the PIC flag actually works.
13475 if test -n "$lt_prog_compiler_pic"; then
13477 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13478 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
13479 if test "${lt_prog_compiler_pic_works+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 lt_prog_compiler_pic_works=no
13483 ac_outfile=conftest.$ac_objext
13484 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13485 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
13486 # Insert the option either (1) after the last *FLAGS variable, or
13487 # (2) before a word containing "conftest.", or (3) at the end.
13488 # Note that $ac_compile itself does not contain backslashes and begins
13489 # with a dollar sign (not a hyphen), so the echo should work correctly.
13490 # The option is referenced via a variable to avoid confusing sed.
13491 lt_compile=`echo "$ac_compile" | $SED \
13492 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13494 -e 's:$: $lt_compiler_flag:'`
13495 (eval echo "\"\$as_me:13495: $lt_compile\"" >&5)
13496 (eval "$lt_compile" 2>conftest.err)
13498 cat conftest.err >&5
13499 echo "$as_me:13499: \$? = $ac_status" >&5
13500 if (exit $ac_status) && test -s "$ac_outfile"; then
13501 # The compiler can only warn and ignore the option if not recognized
13502 # So say no if there are warnings
13503 if test ! -s conftest.err; then
13504 lt_prog_compiler_pic_works=yes
13510 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
13511 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
13513 if test x"$lt_prog_compiler_pic_works" = xyes; then
13514 case $lt_prog_compiler_pic in
13516 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13519 lt_prog_compiler_pic=
13520 lt_prog_compiler_can_build_shared=no
13525 # For platforms which do not support PIC, -DPIC is meaningless:
13527 lt_prog_compiler_pic=
13530 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13534 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13535 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13536 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
13537 echo $ECHO_N "(cached) $ECHO_C" >&6
13539 lt_cv_prog_compiler_c_o=no
13540 $rm -r conftest 2>/dev/null
13544 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13546 lt_compiler_flag="-o out/conftest2.$ac_objext"
13547 # Insert the option either (1) after the last *FLAGS variable, or
13548 # (2) before a word containing "conftest.", or (3) at the end.
13549 # Note that $ac_compile itself does not contain backslashes and begins
13550 # with a dollar sign (not a hyphen), so the echo should work correctly.
13551 lt_compile=`echo "$ac_compile" | $SED \
13552 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13554 -e 's:$: $lt_compiler_flag:'`
13555 (eval echo "\"\$as_me:13555: $lt_compile\"" >&5)
13556 (eval "$lt_compile" 2>out/conftest.err)
13558 cat out/conftest.err >&5
13559 echo "$as_me:13559: \$? = $ac_status" >&5
13560 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13562 # The compiler can only warn and ignore the option if not recognized
13563 # So say no if there are warnings
13564 if test ! -s out/conftest.err; then
13565 lt_cv_prog_compiler_c_o=yes
13570 # SGI C++ compiler will create directory out/ii_files/ for
13571 # template instantiation
13572 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13573 $rm out/* && rmdir out
13579 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
13580 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
13583 hard_links="nottested"
13584 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
13585 # do not overwrite the value of need_locks provided by the user
13586 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13587 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13590 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13592 ln conftest.a conftest.b 2>&5 || hard_links=no
13593 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13594 echo "$as_me:$LINENO: result: $hard_links" >&5
13595 echo "${ECHO_T}$hard_links" >&6
13596 if test "$hard_links" = no; then
13597 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13598 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13605 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13606 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13609 allow_undefined_flag=
13610 enable_shared_with_static_runtimes=no
13612 archive_expsym_cmds=
13613 old_archive_From_new_cmds=
13614 old_archive_from_expsyms_cmds=
13615 export_dynamic_flag_spec=
13616 whole_archive_flag_spec=
13617 thread_safe_flag_spec=
13618 hardcode_libdir_flag_spec=
13619 hardcode_libdir_flag_spec_ld=
13620 hardcode_libdir_separator=
13622 hardcode_minus_L=no
13623 hardcode_shlibpath_var=unsupported
13624 link_all_deplibs=unknown
13625 hardcode_automatic=no
13627 module_expsym_cmds=
13628 always_export_symbols=no
13629 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13630 # include_expsyms should be a list of space-separated symbols to be *always*
13631 # included in the symbol list
13633 # exclude_expsyms can be an extended regexp of symbols to exclude
13634 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13635 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13636 # as well as any symbol that contains `d'.
13637 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
13638 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13639 # platforms (ab)use it in PIC code, but their linkers get confused if
13640 # the symbol is explicitly referenced. Since portable code cannot
13641 # rely on this symbol name, it's probably fine to never include it in
13642 # preloaded symbol tables.
13643 extract_expsyms_cmds=
13646 cygwin* | mingw* | pw32*)
13647 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13648 # When not using gcc, we currently assume that we are using
13649 # Microsoft Visual C++.
13650 if test "$GCC" != yes; then
13660 if test "$with_gnu_ld" = yes; then
13661 # If archive_cmds runs LD, not CC, wlarc should be empty
13664 # See if GNU ld supports shared libraries.
13666 aix3* | aix4* | aix5*)
13667 # On AIX/PPC, the GNU linker is very broken
13668 if test "$host_cpu" != ia64; then
13672 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13673 *** to be unable to reliably create shared libraries on AIX.
13674 *** Therefore, libtool is disabling shared libraries support. If you
13675 *** really care for shared libraries, you may want to modify your PATH
13676 *** so that a non-GNU linker is found, and then restart.
13683 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)'
13684 hardcode_libdir_flag_spec='-L$libdir'
13685 hardcode_minus_L=yes
13687 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13688 # that the semantics of dynamic libraries on AmigaOS, at least up
13689 # to version 4, is to share data among multiple programs linked
13690 # with the same dynamic library. Since this doesn't match the
13691 # behavior of shared libraries on other platforms, we can't use
13697 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13698 allow_undefined_flag=unsupported
13699 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13700 # support --undefined. This deserves some investigation. FIXME
13701 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13707 cygwin* | mingw* | pw32*)
13708 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13709 # as there is no search path for DLLs.
13710 hardcode_libdir_flag_spec='-L$libdir'
13711 allow_undefined_flag=unsupported
13712 always_export_symbols=no
13713 enable_shared_with_static_runtimes=yes
13714 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13716 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13718 # If the export-symbols file already is a .def file (1st line
13719 # is EXPORTS), use it as is; otherwise, prepend...
13720 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13721 cp $export_symbols $output_objdir/$soname.def;
13723 echo EXPORTS > $output_objdir/$soname.def;
13724 cat $export_symbols >> $output_objdir/$soname.def;
13726 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13733 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13734 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13738 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13743 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13747 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13748 *** create shared libraries on Solaris systems. Therefore, libtool
13749 *** is disabling shared libraries support. We urge you to upgrade GNU
13750 *** binutils to release 2.9.1 or newer. Another option is to modify
13751 *** your PATH or compiler configuration so that the native linker is
13752 *** used, and then restart.
13755 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13756 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13757 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13764 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13766 hardcode_direct=yes
13767 hardcode_shlibpath_var=no
13771 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13772 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13773 archive_cmds="$tmp_archive_cmds"
13774 supports_anon_versioning=no
13775 case `$LD -v 2>/dev/null` in
13776 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13777 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13778 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13779 *\ 2.11.*) ;; # other 2.11 versions
13780 *) supports_anon_versioning=yes ;;
13782 if test $supports_anon_versioning = yes; then
13783 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13784 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13785 $echo "local: *; };" >> $output_objdir/$libname.ver~
13786 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13788 archive_expsym_cmds="$tmp_archive_cmds"
13796 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13797 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13798 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13805 if test "$ld_shlibs" = yes; then
13806 runpath_var=LD_RUN_PATH
13807 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13808 export_dynamic_flag_spec='${wl}--export-dynamic'
13809 # ancient GNU ld didn't support --whole-archive et. al.
13810 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13811 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13813 whole_archive_flag_spec=
13817 # PORTME fill in a description of your system's linker (not GNU ld)
13820 allow_undefined_flag=unsupported
13821 always_export_symbols=yes
13822 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'
13823 # Note: this linker hardcodes the directories in LIBPATH if there
13824 # are no directories specified by -L.
13825 hardcode_minus_L=yes
13826 if test "$GCC" = yes && test -z "$link_static_flag"; then
13827 # Neither direct hardcoding nor static linking is supported with a
13829 hardcode_direct=unsupported
13834 if test "$host_cpu" = ia64; then
13835 # On IA64, the linker does run time linking by default, so we don't
13836 # have to do anything special.
13837 aix_use_runtimelinking=no
13838 exp_sym_flag='-Bexport'
13841 # If we're using GNU nm, then we don't want the "-C" option.
13842 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13843 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13844 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'
13846 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'
13848 aix_use_runtimelinking=no
13850 # Test if we are trying to use run time linking or normal
13851 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13852 # need to do runtime linking.
13853 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13854 for ld_flag in $LDFLAGS; do
13855 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13856 aix_use_runtimelinking=yes
13862 exp_sym_flag='-bexport'
13863 no_entry_flag='-bnoentry'
13866 # When large executables or shared objects are built, AIX ld can
13867 # have problems creating the table of contents. If linking a library
13868 # or program results in "error TOC overflow" add -mminimal-toc to
13869 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13870 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13873 hardcode_direct=yes
13874 hardcode_libdir_separator=':'
13875 link_all_deplibs=yes
13877 if test "$GCC" = yes; then
13878 case $host_os in aix4.012|aix4.012.*)
13879 # We only want to do this on AIX 4.2 and lower, the check
13880 # below for broken collect2 doesn't work under 4.3+
13881 collect2name=`${CC} -print-prog-name=collect2`
13882 if test -f "$collect2name" && \
13883 strings "$collect2name" | grep resolve_lib_name >/dev/null
13885 # We have reworked collect2
13886 hardcode_direct=yes
13888 # We have old collect2
13889 hardcode_direct=unsupported
13890 # It fails to find uninstalled libraries when the uninstalled
13891 # path is not listed in the libpath. Setting hardcode_minus_L
13892 # to unsupported forces relinking
13893 hardcode_minus_L=yes
13894 hardcode_libdir_flag_spec='-L$libdir'
13895 hardcode_libdir_separator=
13898 shared_flag='-shared'
13901 if test "$host_cpu" = ia64; then
13902 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13903 # chokes on -Wl,-G. The following line is correct:
13906 if test "$aix_use_runtimelinking" = yes; then
13907 shared_flag='${wl}-G'
13909 shared_flag='${wl}-bM:SRE'
13914 # It seems that -bexpall does not export symbols beginning with
13915 # underscore (_), so it is better to generate a list of symbols to export.
13916 always_export_symbols=yes
13917 if test "$aix_use_runtimelinking" = yes; then
13918 # Warning - without using the other runtime loading flags (-brtl),
13919 # -berok will link without error, but may produce a broken library.
13920 allow_undefined_flag='-berok'
13921 # Determine the default libpath from the value encoded in an empty executable.
13922 cat >conftest.$ac_ext <<_ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13937 rm -f conftest.$ac_objext conftest$ac_exeext
13938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13939 (eval $ac_link) 2>conftest.er1
13941 grep -v '^ *+' conftest.er1 >conftest.err
13943 cat conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try='test -z "$ac_c_werror_flag"
13947 || test ! -s conftest.err'
13948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949 (eval $ac_try) 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; } &&
13953 { ac_try='test -s conftest$ac_exeext'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; }; then
13960 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13962 # Check for a 64-bit object if we didn't find anything.
13963 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; }
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13970 rm -f conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13972 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13974 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13975 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"
13977 if test "$host_cpu" = ia64; then
13978 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13979 allow_undefined_flag="-z nodefs"
13980 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"
13982 # Determine the default libpath from the value encoded in an empty executable.
13983 cat >conftest.$ac_ext <<_ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13998 rm -f conftest.$ac_objext conftest$ac_exeext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14000 (eval $ac_link) 2>conftest.er1
14002 grep -v '^ *+' conftest.er1 >conftest.err
14004 cat conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } &&
14007 { ac_try='test -z "$ac_c_werror_flag"
14008 || test ! -s conftest.err'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; } &&
14014 { ac_try='test -s conftest$ac_exeext'
14015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14016 (eval $ac_try) 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; }; then
14021 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14023 # Check for a 64-bit object if we didn't find anything.
14024 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; }
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.$ac_ext >&5
14031 rm -f conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14035 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14036 # Warning - without using the other run time loading flags,
14037 # -berok will link without error, but may produce a broken library.
14038 no_undefined_flag=' ${wl}-bernotok'
14039 allow_undefined_flag=' ${wl}-berok'
14040 # -bexpall does not export symbols beginning with underscore (_)
14041 always_export_symbols=yes
14042 # Exported symbols can be pulled into shared objects from archives
14043 whole_archive_flag_spec=' '
14044 archive_cmds_need_lc=yes
14045 # This is similar to how AIX traditionally builds it's shared libraries.
14046 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'
14052 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)'
14053 hardcode_libdir_flag_spec='-L$libdir'
14054 hardcode_minus_L=yes
14055 # see comment about different semantics on the GNU ld section
14060 export_dynamic_flag_spec=-rdynamic
14063 cygwin* | mingw* | pw32*)
14064 # When not using gcc, we currently assume that we are using
14065 # Microsoft Visual C++.
14066 # hardcode_libdir_flag_spec is actually meaningless, as there is
14067 # no search path for DLLs.
14068 hardcode_libdir_flag_spec=' '
14069 allow_undefined_flag=unsupported
14070 # Tell ltmain to make .lib files, not .a files.
14072 # Tell ltmain to make .dll files, not .so files.
14074 # FIXME: Setting linknames here is a bad hack.
14075 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14076 # The linker will automatically build a .lib file if we build a DLL.
14077 old_archive_From_new_cmds='true'
14078 # FIXME: Should let the user specify the lib program.
14079 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
14080 fix_srcfile_path='`cygpath -w "$srcfile"`'
14081 enable_shared_with_static_runtimes=yes
14084 darwin* | rhapsody*)
14085 if test "$GXX" = yes ; then
14086 archive_cmds_need_lc=no
14088 rhapsody* | darwin1.[012])
14089 allow_undefined_flag='-undefined suppress'
14092 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14093 allow_undefined_flag='-flat_namespace -undefined suppress'
14095 case ${MACOSX_DEPLOYMENT_TARGET} in
14097 allow_undefined_flag='-flat_namespace -undefined suppress'
14100 allow_undefined_flag='-undefined dynamic_lookup'
14106 lt_int_apple_cc_single_mod=no
14107 output_verbose_link_cmd='echo'
14108 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14109 lt_int_apple_cc_single_mod=yes
14111 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14112 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14114 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'
14116 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14117 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14118 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14119 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}'
14121 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}'
14123 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}'
14125 hardcode_automatic=yes
14126 hardcode_shlibpath_var=unsupported
14127 whole_archive_flag_spec='-all_load $convenience'
14128 link_all_deplibs=yes
14135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14136 hardcode_libdir_flag_spec='-L$libdir'
14137 hardcode_shlibpath_var=no
14144 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14145 # support. Future versions do this automatically, but an explicit c++rt0.o
14146 # does not break anything, and helps significantly (at the cost of a little
14149 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14150 hardcode_libdir_flag_spec='-R$libdir'
14151 hardcode_direct=yes
14152 hardcode_shlibpath_var=no
14155 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14157 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14158 hardcode_direct=yes
14159 hardcode_minus_L=yes
14160 hardcode_shlibpath_var=no
14163 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14164 freebsd* | kfreebsd*-gnu)
14165 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14166 hardcode_libdir_flag_spec='-R$libdir'
14167 hardcode_direct=yes
14168 hardcode_shlibpath_var=no
14172 if test "$GCC" = yes; then
14173 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'
14175 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'
14177 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14178 hardcode_libdir_separator=:
14179 hardcode_direct=yes
14181 # hardcode_minus_L: Not really in the search PATH,
14182 # but as the default location of the library.
14183 hardcode_minus_L=yes
14184 export_dynamic_flag_spec='${wl}-E'
14188 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14189 case "$host_cpu" in
14191 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14194 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14198 case "$host_cpu" in
14200 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14203 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14207 if test "$with_gnu_ld" = no; then
14208 case "$host_cpu" in
14210 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14211 hardcode_libdir_flag_spec_ld='+b $libdir'
14212 hardcode_libdir_separator=:
14214 hardcode_shlibpath_var=no
14217 hardcode_libdir_flag_spec='-L$libdir'
14219 hardcode_shlibpath_var=no
14221 # hardcode_minus_L: Not really in the search PATH,
14222 # but as the default location of the library.
14223 hardcode_minus_L=yes
14226 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14227 hardcode_libdir_separator=:
14228 hardcode_direct=yes
14229 export_dynamic_flag_spec='${wl}-E'
14231 # hardcode_minus_L: Not really in the search PATH,
14232 # but as the default location of the library.
14233 hardcode_minus_L=yes
14239 irix5* | irix6* | nonstopux*)
14240 if test "$GCC" = yes; then
14241 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'
14243 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'
14244 hardcode_libdir_flag_spec_ld='-rpath $libdir'
14246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14247 hardcode_libdir_separator=:
14248 link_all_deplibs=yes
14252 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14253 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14255 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14257 hardcode_libdir_flag_spec='-R$libdir'
14258 hardcode_direct=yes
14259 hardcode_shlibpath_var=no
14263 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14264 hardcode_direct=yes
14265 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14266 hardcode_libdir_separator=:
14267 hardcode_shlibpath_var=no
14271 hardcode_direct=yes
14272 hardcode_shlibpath_var=no
14273 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14274 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14276 export_dynamic_flag_spec='${wl}-E'
14279 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14280 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14281 hardcode_libdir_flag_spec='-R$libdir'
14284 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14285 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14292 hardcode_libdir_flag_spec='-L$libdir'
14293 hardcode_minus_L=yes
14294 allow_undefined_flag=unsupported
14295 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'
14296 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14300 if test "$GCC" = yes; then
14301 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
14302 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'
14304 allow_undefined_flag=' -expect_unresolved \*'
14305 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'
14307 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14308 hardcode_libdir_separator=:
14311 osf4* | osf5*) # as osf3* with the addition of -msym flag
14312 if test "$GCC" = yes; then
14313 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
14314 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'
14315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14317 allow_undefined_flag=' -expect_unresolved \*'
14318 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'
14319 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14320 $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'
14322 # Both c and cxx compiler support -rpath directly
14323 hardcode_libdir_flag_spec='-rpath $libdir'
14325 hardcode_libdir_separator=:
14329 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14330 hardcode_shlibpath_var=no
14331 export_dynamic_flag_spec='${wl}-Bexport'
14332 runpath_var=LD_RUN_PATH
14333 hardcode_runpath_var=yes
14337 no_undefined_flag=' -z text'
14338 if test "$GCC" = yes; then
14339 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14340 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14341 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14343 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14344 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14345 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14347 hardcode_libdir_flag_spec='-R$libdir'
14348 hardcode_shlibpath_var=no
14350 solaris2.[0-5] | solaris2.[0-5].*) ;;
14351 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14352 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
14354 link_all_deplibs=yes
14358 if test "x$host_vendor" = xsequent; then
14359 # Use $CC to link under sequent, because it throws in some extra .o
14360 # files that make .init and .fini sections work.
14361 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14363 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14365 hardcode_libdir_flag_spec='-L$libdir'
14366 hardcode_direct=yes
14367 hardcode_minus_L=yes
14368 hardcode_shlibpath_var=no
14372 case $host_vendor in
14374 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14375 hardcode_direct=yes # is this really true???
14378 ## LD is ld it makes a PLAMLIB
14379 ## CC just makes a GrossModule.
14380 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14381 reload_cmds='$CC -r -o $output$reload_objs'
14385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14386 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14389 runpath_var='LD_RUN_PATH'
14390 hardcode_shlibpath_var=no
14394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14395 hardcode_shlibpath_var=no
14396 export_dynamic_flag_spec='-Bexport'
14400 if test -d /usr/nec; then
14401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14402 hardcode_shlibpath_var=no
14403 runpath_var=LD_RUN_PATH
14404 hardcode_runpath_var=yes
14410 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14411 hardcode_direct=yes
14412 hardcode_minus_L=no
14413 hardcode_shlibpath_var=no
14414 hardcode_runpath_var=yes
14415 runpath_var=LD_RUN_PATH
14418 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14419 no_undefined_flag='${wl}-z ${wl}text'
14420 if test "$GCC" = yes; then
14421 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14423 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14425 runpath_var='LD_RUN_PATH'
14426 hardcode_shlibpath_var=no
14430 no_undefined_flag=' -z text'
14431 # $CC -shared without GNU ld will not create a library from C++
14432 # object files and a static libstdc++, better avoid it by now
14433 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14434 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14435 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14436 hardcode_libdir_flag_spec=
14437 hardcode_shlibpath_var=no
14438 runpath_var='LD_RUN_PATH'
14442 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14443 hardcode_libdir_flag_spec='-L$libdir'
14444 hardcode_shlibpath_var=no
14453 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
14454 echo "${ECHO_T}$ld_shlibs" >&6
14455 test "$ld_shlibs" = no && can_build_shared=no
14457 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14458 if test "$GCC" = yes; then
14459 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14463 # Do we need to explicitly link libc?
14465 case "x$archive_cmds_need_lc" in
14467 # Assume -lc should be added
14468 archive_cmds_need_lc=yes
14470 if test "$enable_shared" = yes && test "$GCC" = yes; then
14471 case $archive_cmds in
14473 # FIXME: we may have to deal with multi-command sequences.
14476 # Test whether the compiler implicitly links with -lc since on some
14477 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14478 # to ld, don't add -lc before -lgcc.
14479 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14480 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14482 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14485 (eval $ac_compile) 2>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } 2>conftest.err; then
14491 libobjs=conftest.$ac_objext
14493 wl=$lt_prog_compiler_wl
14499 lt_save_allow_undefined_flag=$allow_undefined_flag
14500 allow_undefined_flag=
14501 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14502 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }
14507 archive_cmds_need_lc=no
14509 archive_cmds_need_lc=yes
14511 allow_undefined_flag=$lt_save_allow_undefined_flag
14513 cat conftest.err 1>&5
14516 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
14517 echo "${ECHO_T}$archive_cmds_need_lc" >&6
14524 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14525 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14526 library_names_spec=
14527 libname_spec='lib$name'
14531 postuninstall_cmds=
14535 shlibpath_overrides_runpath=unknown
14537 dynamic_linker="$host_os ld.so"
14538 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14539 if test "$GCC" = yes; then
14540 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14541 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14542 # if the path contains ";" then we assume it to be the separator
14543 # otherwise default to the standard path separator (i.e. ":") - it is
14544 # assumed that no part of a normal pathname contains ";" but that should
14545 # okay in the real world where ";" in dirpaths is itself problematic.
14546 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14548 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14551 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14553 need_lib_prefix=unknown
14554 hardcode_into_libs=no
14556 # when you set need_version to no, make sure it does not cause -set_version
14557 # flags to be left without arguments
14558 need_version=unknown
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14564 shlibpath_var=LIBPATH
14566 # AIX 3 has no versioning support, so we append a major version to the name.
14567 soname_spec='${libname}${release}${shared_ext}$major'
14574 hardcode_into_libs=yes
14575 if test "$host_cpu" = ia64; then
14576 # AIX 5 supports IA64
14577 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14578 shlibpath_var=LD_LIBRARY_PATH
14580 # With GCC up to 2.95.x, collect2 would create an import file
14581 # for dependence libraries. The import file would start with
14582 # the line `#! .'. This would cause the generated library to
14583 # depend on `.', always an invalid library. This was fixed in
14584 # development snapshots of GCC prior to 3.0.
14586 aix4 | aix4.[01] | aix4.[01].*)
14587 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14589 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14592 can_build_shared=no
14596 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14597 # soname into executable. Probably we can add versioning support to
14598 # collect2, so additional links can be useful in future.
14599 if test "$aix_use_runtimelinking" = yes; then
14600 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14601 # instead of lib<name>.a to let people know that these are not
14602 # typical AIX shared libraries.
14603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14605 # We preserve .a as extension for shared libraries through AIX4.2
14606 # and later when we are not doing run time linking.
14607 library_names_spec='${libname}${release}.a $libname.a'
14608 soname_spec='${libname}${release}${shared_ext}$major'
14610 shlibpath_var=LIBPATH
14615 library_names_spec='$libname.ixlibrary $libname.a'
14616 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14617 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'
14621 library_names_spec='${libname}${shared_ext}'
14622 dynamic_linker="$host_os ld.so"
14623 shlibpath_var=LIBRARY_PATH
14629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14630 soname_spec='${libname}${release}${shared_ext}$major'
14631 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14632 shlibpath_var=LD_LIBRARY_PATH
14633 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14634 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14635 # the default ld.so.conf also contains /usr/contrib/lib and
14636 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14637 # libtool to hard-code these into programs
14640 cygwin* | mingw* | pw32*)
14641 version_type=windows
14646 case $GCC,$host_os in
14647 yes,cygwin* | yes,mingw* | yes,pw32*)
14648 library_names_spec='$libname.dll.a'
14649 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14650 postinstall_cmds='base_file=`basename \${file}`~
14651 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14652 dldir=$destdir/`dirname \$dlpath`~
14653 test -d \$dldir || mkdir -p \$dldir~
14654 $install_prog $dir/$dlname \$dldir/$dlname'
14655 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14656 dlpath=$dir/\$dldll~
14658 shlibpath_overrides_runpath=yes
14662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14663 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14664 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14667 # MinGW DLLs use traditional 'lib' prefix
14668 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14669 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14670 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14671 # It is most probably a Windows format PATH printed by
14672 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14673 # path with ; separators, and with drive letters. We can handle the
14674 # drive letters (cygwin fileutils understands them), so leave them,
14675 # especially as we might pass files found there to a mingw objdump,
14676 # which wouldn't understand a cygwinified path. Ahh.
14677 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14679 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14683 # pw32 DLLs use 'pw' prefix rather than 'lib'
14684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14693 dynamic_linker='Win32 ld.exe'
14694 # FIXME: first we should search . and the directory the executable is in
14698 darwin* | rhapsody*)
14699 dynamic_linker="$host_os dyld"
14700 version_type=darwin
14703 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14704 soname_spec='${libname}${release}${major}$shared_ext'
14705 shlibpath_overrides_runpath=yes
14706 shlibpath_var=DYLD_LIBRARY_PATH
14707 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14708 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14709 if test "$GCC" = yes; then
14710 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"`
14712 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14714 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=no
14738 hardcode_into_libs=yes
14739 dynamic_linker='GNU ld.so'
14743 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14744 version_type=freebsd-$objformat
14745 case $version_type in
14747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14756 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=yes
14761 freebsd3.01* | freebsdelf3.01*)
14762 shlibpath_overrides_runpath=yes
14763 hardcode_into_libs=yes
14766 shlibpath_overrides_runpath=no
14767 hardcode_into_libs=yes
14776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14777 soname_spec='${libname}${release}${shared_ext}$major'
14778 shlibpath_var=LD_LIBRARY_PATH
14779 hardcode_into_libs=yes
14782 hpux9* | hpux10* | hpux11*)
14783 # Give a soname corresponding to the major version so that dld.sl refuses to
14784 # link against other versions.
14788 case "$host_cpu" in
14791 hardcode_into_libs=yes
14792 dynamic_linker="$host_os dld.so"
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14796 soname_spec='${libname}${release}${shared_ext}$major'
14797 if test "X$HPUX_IA64_MODE" = X32; then
14798 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14800 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14802 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14806 hardcode_into_libs=yes
14807 dynamic_linker="$host_os dld.sl"
14808 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14809 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14811 soname_spec='${libname}${release}${shared_ext}$major'
14812 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14813 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14817 dynamic_linker="$host_os dld.sl"
14818 shlibpath_var=SHLIB_PATH
14819 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14824 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14825 postinstall_cmds='chmod 555 $lib'
14828 irix5* | irix6* | nonstopux*)
14830 nonstopux*) version_type=nonstopux ;;
14832 if test "$lt_cv_prog_gnu_ld" = yes; then
14840 soname_spec='${libname}${release}${shared_ext}$major'
14841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14843 irix5* | nonstopux*)
14844 libsuff= shlibsuff=
14847 case $LD in # libtool.m4 will add one of these switches to LD
14848 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14849 libsuff= shlibsuff= libmagic=32-bit;;
14850 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14851 libsuff=32 shlibsuff=N32 libmagic=N32;;
14852 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14853 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14854 *) libsuff= shlibsuff= libmagic=never-match;;
14858 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14859 shlibpath_overrides_runpath=no
14860 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14861 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14862 hardcode_into_libs=yes
14865 # No shared lib support for Linux oldld, aout, or coff.
14866 linux*oldld* | linux*aout* | linux*coff*)
14870 # This must be Linux ELF.
14875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14876 soname_spec='${libname}${release}${shared_ext}$major'
14877 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14878 shlibpath_var=LD_LIBRARY_PATH
14879 shlibpath_overrides_runpath=no
14880 # This implies no fast_install, which is unacceptable.
14881 # Some rework will be needed to allow for fast_install
14882 # before this can be enabled.
14883 hardcode_into_libs=yes
14885 # find out which ABI we are using
14887 case "$host_cpu" in
14888 x86_64*|s390x*|powerpc64*)
14889 echo '#line 14889 "configure"' > conftest.$ac_ext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; then
14895 case `/usr/bin/file conftest.$ac_objext` in
14898 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14906 # Append ld.so.conf contents to the search path
14907 if test -f /etc/ld.so.conf; then
14908 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
14909 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14912 # We used to test for /lib/ld.so.1 and disable shared libraries on
14913 # powerpc, because MkLinux only supported shared libraries with the
14914 # GNU dynamic linker. Since this was broken with cross compilers,
14915 # most powerpc-linux boxes support dynamic linking these days and
14916 # people can always --disable-shared, the test was removed, and we
14917 # assume the GNU/Linux dynamic linker is in use.
14918 dynamic_linker='GNU/Linux ld.so'
14925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14926 soname_spec='${libname}${release}${shared_ext}$major'
14927 shlibpath_var=LD_LIBRARY_PATH
14928 shlibpath_overrides_runpath=no
14929 hardcode_into_libs=yes
14930 dynamic_linker='GNU ld.so'
14937 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14940 dynamic_linker='NetBSD (a.out) ld.so'
14942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14943 soname_spec='${libname}${release}${shared_ext}$major'
14944 dynamic_linker='NetBSD ld.elf_so'
14946 shlibpath_var=LD_LIBRARY_PATH
14947 shlibpath_overrides_runpath=yes
14948 hardcode_into_libs=yes
14953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14954 shlibpath_var=LD_LIBRARY_PATH
14955 shlibpath_overrides_runpath=yes
14962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14963 soname_spec='${libname}${release}${shared_ext}$major'
14964 shlibpath_var=LD_LIBRARY_PATH
14965 shlibpath_overrides_runpath=yes
14972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14974 shlibpath_var=LD_LIBRARY_PATH
14975 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14977 openbsd2.[89] | openbsd2.[89].*)
14978 shlibpath_overrides_runpath=no
14981 shlibpath_overrides_runpath=yes
14985 shlibpath_overrides_runpath=yes
14990 libname_spec='$name'
14993 library_names_spec='$libname${shared_ext} $libname.a'
14994 dynamic_linker='OS/2 ld.exe'
14995 shlibpath_var=LIBPATH
14998 osf3* | osf4* | osf5*)
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 shlibpath_var=LD_LIBRARY_PATH
15005 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15006 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15011 soname_spec='${libname}${release}${shared_ext}$major'
15012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15013 shlibpath_var=LD_LIBRARY_PATH
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15021 soname_spec='${libname}${release}${shared_ext}$major'
15022 shlibpath_var=LD_LIBRARY_PATH
15023 shlibpath_overrides_runpath=yes
15024 hardcode_into_libs=yes
15025 # ldd complains unless libraries are executable
15026 postinstall_cmds='chmod +x $lib'
15031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15032 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15033 shlibpath_var=LD_LIBRARY_PATH
15034 shlibpath_overrides_runpath=yes
15035 if test "$with_gnu_ld" = yes; then
15041 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15044 soname_spec='${libname}${release}${shared_ext}$major'
15045 shlibpath_var=LD_LIBRARY_PATH
15046 case $host_vendor in
15048 shlibpath_overrides_runpath=no
15050 export_dynamic_flag_spec='${wl}-Blargedynsym'
15051 runpath_var=LD_RUN_PATH
15059 shlibpath_overrides_runpath=no
15060 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15066 if test -d /usr/nec ;then
15068 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15069 soname_spec='$libname${shared_ext}.$major'
15070 shlibpath_var=LD_LIBRARY_PATH
15076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15077 soname_spec='${libname}${release}${shared_ext}$major'
15078 shlibpath_var=LD_LIBRARY_PATH
15085 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15086 echo "${ECHO_T}$dynamic_linker" >&6
15087 test "$dynamic_linker" = no && can_build_shared=no
15089 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15090 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15092 if test -n "$hardcode_libdir_flag_spec" || \
15093 test -n "$runpath_var " || \
15094 test "X$hardcode_automatic"="Xyes" ; then
15096 # We can hardcode non-existant directories.
15097 if test "$hardcode_direct" != no &&
15098 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15099 # have to relink, otherwise we might link with an installed library
15100 # when we should be linking with a yet-to-be-installed one
15101 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
15102 test "$hardcode_minus_L" != no; then
15103 # Linking always hardcodes the temporary library directory.
15104 hardcode_action=relink
15106 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15107 hardcode_action=immediate
15110 # We cannot hardcode anything, or else we can only hardcode existing
15112 hardcode_action=unsupported
15114 echo "$as_me:$LINENO: result: $hardcode_action" >&5
15115 echo "${ECHO_T}$hardcode_action" >&6
15117 if test "$hardcode_action" = relink; then
15118 # Fast installation is not supported
15119 enable_fast_install=no
15120 elif test "$shlibpath_overrides_runpath" = yes ||
15121 test "$enable_shared" = no; then
15122 # Fast installation is not necessary
15123 enable_fast_install=needless
15128 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15129 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15130 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15131 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15132 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15133 echo "$as_me:$LINENO: result: yes" >&5
15134 echo "${ECHO_T}yes" >&6
15136 # FIXME - insert some real tests, host_os isn't really good enough
15139 if test -n "$STRIP" ; then
15140 striplib="$STRIP -x"
15141 echo "$as_me:$LINENO: result: yes" >&5
15142 echo "${ECHO_T}yes" >&6
15144 echo "$as_me:$LINENO: result: no" >&5
15145 echo "${ECHO_T}no" >&6
15149 echo "$as_me:$LINENO: result: no" >&5
15150 echo "${ECHO_T}no" >&6
15155 if test "x$enable_dlopen" != xyes; then
15156 enable_dlopen=unknown
15157 enable_dlopen_self=unknown
15158 enable_dlopen_self_static=unknown
15165 lt_cv_dlopen="load_add_on"
15167 lt_cv_dlopen_self=yes
15171 lt_cv_dlopen="LoadLibrary"
15176 lt_cv_dlopen="dlopen"
15181 # if libdl is installed we need to link against it
15182 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15183 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15184 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 ac_check_lib_save_LIBS=$LIBS
15189 cat >conftest.$ac_ext <<_ACEOF
15192 cat confdefs.h >>conftest.$ac_ext
15193 cat >>conftest.$ac_ext <<_ACEOF
15194 /* end confdefs.h. */
15196 /* Override any gcc2 internal prototype to avoid an error. */
15200 /* We use char because int might match the return type of a gcc2
15201 builtin and then its argument prototype would still apply. */
15211 rm -f conftest.$ac_objext conftest$ac_exeext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15213 (eval $ac_link) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1 >conftest.err
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try='test -s conftest$ac_exeext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_cv_lib_dl_dlopen=yes
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15238 ac_cv_lib_dl_dlopen=no
15240 rm -f conftest.err conftest.$ac_objext \
15241 conftest$ac_exeext conftest.$ac_ext
15242 LIBS=$ac_check_lib_save_LIBS
15244 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15245 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15246 if test $ac_cv_lib_dl_dlopen = yes; then
15247 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15250 lt_cv_dlopen="dyld"
15252 lt_cv_dlopen_self=yes
15259 echo "$as_me:$LINENO: checking for shl_load" >&5
15260 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15261 if test "${ac_cv_func_shl_load+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 cat >conftest.$ac_ext <<_ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15272 #define shl_load innocuous_shl_load
15274 /* System header to define __stub macros and hopefully few prototypes,
15275 which can conflict with char shl_load (); below.
15276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15277 <limits.h> exists even on freestanding compilers. */
15280 # include <limits.h>
15282 # include <assert.h>
15287 /* Override any gcc2 internal prototype to avoid an error. */
15292 /* We use char because int might match the return type of a gcc2
15293 builtin and then its argument prototype would still apply. */
15295 /* The GNU C library defines this for functions which it implements
15296 to always fail with ENOSYS. Some functions are actually named
15297 something starting with __ and the normal name is an alias. */
15298 #if defined (__stub_shl_load) || defined (__stub___shl_load)
15301 char (*f) () = shl_load;
15310 return f != shl_load;
15315 rm -f conftest.$ac_objext conftest$ac_exeext
15316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15317 (eval $ac_link) 2>conftest.er1
15319 grep -v '^ *+' conftest.er1 >conftest.err
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } &&
15324 { ac_try='test -z "$ac_c_werror_flag"
15325 || test ! -s conftest.err'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try='test -s conftest$ac_exeext'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; }; then
15337 ac_cv_func_shl_load=yes
15339 echo "$as_me: failed program was:" >&5
15340 sed 's/^/| /' conftest.$ac_ext >&5
15342 ac_cv_func_shl_load=no
15344 rm -f conftest.err conftest.$ac_objext \
15345 conftest$ac_exeext conftest.$ac_ext
15347 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15348 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15349 if test $ac_cv_func_shl_load = yes; then
15350 lt_cv_dlopen="shl_load"
15352 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15353 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15354 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 ac_check_lib_save_LIBS=$LIBS
15359 cat >conftest.$ac_ext <<_ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15366 /* Override any gcc2 internal prototype to avoid an error. */
15370 /* We use char because int might match the return type of a gcc2
15371 builtin and then its argument prototype would still apply. */
15381 rm -f conftest.$ac_objext conftest$ac_exeext
15382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15383 (eval $ac_link) 2>conftest.er1
15385 grep -v '^ *+' conftest.er1 >conftest.err
15387 cat conftest.err >&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try='test -z "$ac_c_werror_flag"
15391 || test ! -s conftest.err'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; } &&
15397 { ac_try='test -s conftest$ac_exeext'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; }; then
15403 ac_cv_lib_dld_shl_load=yes
15405 echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.$ac_ext >&5
15408 ac_cv_lib_dld_shl_load=no
15410 rm -f conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_lib_save_LIBS
15414 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15415 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15416 if test $ac_cv_lib_dld_shl_load = yes; then
15417 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15419 echo "$as_me:$LINENO: checking for dlopen" >&5
15420 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15421 if test "${ac_cv_func_dlopen+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 cat >conftest.$ac_ext <<_ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15432 #define dlopen innocuous_dlopen
15434 /* System header to define __stub macros and hopefully few prototypes,
15435 which can conflict with char dlopen (); below.
15436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15437 <limits.h> exists even on freestanding compilers. */
15440 # include <limits.h>
15442 # include <assert.h>
15447 /* Override any gcc2 internal prototype to avoid an error. */
15452 /* We use char because int might match the return type of a gcc2
15453 builtin and then its argument prototype would still apply. */
15455 /* The GNU C library defines this for functions which it implements
15456 to always fail with ENOSYS. Some functions are actually named
15457 something starting with __ and the normal name is an alias. */
15458 #if defined (__stub_dlopen) || defined (__stub___dlopen)
15461 char (*f) () = dlopen;
15470 return f != dlopen;
15475 rm -f conftest.$ac_objext conftest$ac_exeext
15476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15477 (eval $ac_link) 2>conftest.er1
15479 grep -v '^ *+' conftest.er1 >conftest.err
15481 cat conftest.err >&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); } &&
15484 { ac_try='test -z "$ac_c_werror_flag"
15485 || test ! -s conftest.err'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; } &&
15491 { ac_try='test -s conftest$ac_exeext'
15492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493 (eval $ac_try) 2>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }; }; then
15497 ac_cv_func_dlopen=yes
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15502 ac_cv_func_dlopen=no
15504 rm -f conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext conftest.$ac_ext
15507 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15508 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15509 if test $ac_cv_func_dlopen = yes; then
15510 lt_cv_dlopen="dlopen"
15512 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15513 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15514 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 ac_check_lib_save_LIBS=$LIBS
15519 cat >conftest.$ac_ext <<_ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15526 /* Override any gcc2 internal prototype to avoid an error. */
15530 /* We use char because int might match the return type of a gcc2
15531 builtin and then its argument prototype would still apply. */
15541 rm -f conftest.$ac_objext conftest$ac_exeext
15542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15543 (eval $ac_link) 2>conftest.er1
15545 grep -v '^ *+' conftest.er1 >conftest.err
15547 cat conftest.err >&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try='test -z "$ac_c_werror_flag"
15551 || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest$ac_exeext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 ac_cv_lib_dl_dlopen=yes
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15568 ac_cv_lib_dl_dlopen=no
15570 rm -f conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_check_lib_save_LIBS
15574 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15575 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15576 if test $ac_cv_lib_dl_dlopen = yes; then
15577 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15579 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15580 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15581 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 ac_check_lib_save_LIBS=$LIBS
15585 LIBS="-lsvld $LIBS"
15586 cat >conftest.$ac_ext <<_ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15593 /* Override any gcc2 internal prototype to avoid an error. */
15597 /* We use char because int might match the return type of a gcc2
15598 builtin and then its argument prototype would still apply. */
15608 rm -f conftest.$ac_objext conftest$ac_exeext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15610 (eval $ac_link) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1 >conftest.err
15614 cat conftest.err >&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try='test -z "$ac_c_werror_flag"
15618 || test ! -s conftest.err'
15619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15620 (eval $ac_try) 2>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); }; } &&
15624 { ac_try='test -s conftest$ac_exeext'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; }; then
15630 ac_cv_lib_svld_dlopen=yes
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15635 ac_cv_lib_svld_dlopen=no
15637 rm -f conftest.err conftest.$ac_objext \
15638 conftest$ac_exeext conftest.$ac_ext
15639 LIBS=$ac_check_lib_save_LIBS
15641 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15642 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15643 if test $ac_cv_lib_svld_dlopen = yes; then
15644 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15646 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15647 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15648 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 ac_check_lib_save_LIBS=$LIBS
15653 cat >conftest.$ac_ext <<_ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15660 /* Override any gcc2 internal prototype to avoid an error. */
15664 /* We use char because int might match the return type of a gcc2
15665 builtin and then its argument prototype would still apply. */
15675 rm -f conftest.$ac_objext conftest$ac_exeext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15677 (eval $ac_link) 2>conftest.er1
15679 grep -v '^ *+' conftest.er1 >conftest.err
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try='test -z "$ac_c_werror_flag"
15685 || test ! -s conftest.err'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; } &&
15691 { ac_try='test -s conftest$ac_exeext'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; }; then
15697 ac_cv_lib_dld_dld_link=yes
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15702 ac_cv_lib_dld_dld_link=no
15704 rm -f conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15706 LIBS=$ac_check_lib_save_LIBS
15708 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15709 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15710 if test $ac_cv_lib_dld_dld_link = yes; then
15711 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15732 if test "x$lt_cv_dlopen" != xno; then
15738 case $lt_cv_dlopen in
15740 save_CPPFLAGS="$CPPFLAGS"
15741 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15743 save_LDFLAGS="$LDFLAGS"
15744 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15747 LIBS="$lt_cv_dlopen_libs $LIBS"
15749 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15750 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15751 if test "${lt_cv_dlopen_self+set}" = set; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 if test "$cross_compiling" = yes; then :
15755 lt_cv_dlopen_self=cross
15757 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15758 lt_status=$lt_dlunknown
15759 cat > conftest.$ac_ext <<EOF
15760 #line 15760 "configure"
15761 #include "confdefs.h"
15770 # define LT_DLGLOBAL RTLD_GLOBAL
15773 # define LT_DLGLOBAL DL_GLOBAL
15775 # define LT_DLGLOBAL 0
15779 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15780 find out it does not work in some platform. */
15781 #ifndef LT_DLLAZY_OR_NOW
15783 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15786 # define LT_DLLAZY_OR_NOW DL_LAZY
15789 # define LT_DLLAZY_OR_NOW RTLD_NOW
15792 # define LT_DLLAZY_OR_NOW DL_NOW
15794 # define LT_DLLAZY_OR_NOW 0
15802 extern "C" void exit (int);
15805 void fnord() { int i=42;}
15808 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15809 int status = $lt_dlunknown;
15813 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15814 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15815 /* dlclose (self); */
15821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15822 (eval $ac_link) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15826 (./conftest; exit; ) 2>/dev/null
15828 case x$lt_status in
15829 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15830 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15831 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15834 # compilation failed
15835 lt_cv_dlopen_self=no
15842 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15843 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15845 if test "x$lt_cv_dlopen_self" = xyes; then
15846 LDFLAGS="$LDFLAGS $link_static_flag"
15847 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15848 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15849 if test "${lt_cv_dlopen_self_static+set}" = set; then
15850 echo $ECHO_N "(cached) $ECHO_C" >&6
15852 if test "$cross_compiling" = yes; then :
15853 lt_cv_dlopen_self_static=cross
15855 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15856 lt_status=$lt_dlunknown
15857 cat > conftest.$ac_ext <<EOF
15858 #line 15858 "configure"
15859 #include "confdefs.h"
15868 # define LT_DLGLOBAL RTLD_GLOBAL
15871 # define LT_DLGLOBAL DL_GLOBAL
15873 # define LT_DLGLOBAL 0
15877 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15878 find out it does not work in some platform. */
15879 #ifndef LT_DLLAZY_OR_NOW
15881 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15884 # define LT_DLLAZY_OR_NOW DL_LAZY
15887 # define LT_DLLAZY_OR_NOW RTLD_NOW
15890 # define LT_DLLAZY_OR_NOW DL_NOW
15892 # define LT_DLLAZY_OR_NOW 0
15900 extern "C" void exit (int);
15903 void fnord() { int i=42;}
15906 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15907 int status = $lt_dlunknown;
15911 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15912 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15913 /* dlclose (self); */
15919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15920 (eval $ac_link) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15924 (./conftest; exit; ) 2>/dev/null
15926 case x$lt_status in
15927 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15928 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15929 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15932 # compilation failed
15933 lt_cv_dlopen_self_static=no
15940 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15941 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15944 CPPFLAGS="$save_CPPFLAGS"
15945 LDFLAGS="$save_LDFLAGS"
15950 case $lt_cv_dlopen_self in
15951 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15952 *) enable_dlopen_self=unknown ;;
15955 case $lt_cv_dlopen_self_static in
15956 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15957 *) enable_dlopen_self_static=unknown ;;
15962 # Report which librarie types wil actually be built
15963 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15964 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15965 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15966 echo "${ECHO_T}$can_build_shared" >&6
15968 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15969 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15970 test "$can_build_shared" = "no" && enable_shared=no
15972 # On AIX, shared libraries and static libraries use the same namespace, and
15973 # are all built from PIC.
15976 test "$enable_shared" = yes && enable_static=no
15977 if test -n "$RANLIB"; then
15978 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15979 postinstall_cmds='$RANLIB $lib'
15984 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15985 test "$enable_shared" = yes && enable_static=no
15988 darwin* | rhapsody*)
15989 if test "$GCC" = yes; then
15990 archive_cmds_need_lc=no
15992 rhapsody* | darwin1.[012])
15993 allow_undefined_flag='-undefined suppress'
15996 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15997 allow_undefined_flag='-flat_namespace -undefined suppress'
15999 case ${MACOSX_DEPLOYMENT_TARGET} in
16001 allow_undefined_flag='-flat_namespace -undefined suppress'
16004 allow_undefined_flag='-undefined dynamic_lookup'
16010 output_verbose_link_cmd='echo'
16011 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
16012 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16013 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16014 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}'
16015 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}'
16017 hardcode_automatic=yes
16018 hardcode_shlibpath_var=unsupported
16019 whole_archive_flag_spec='-all_load $convenience'
16020 link_all_deplibs=yes
16026 echo "$as_me:$LINENO: result: $enable_shared" >&5
16027 echo "${ECHO_T}$enable_shared" >&6
16029 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16030 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
16031 # Make sure either enable_shared or enable_static is yes.
16032 test "$enable_shared" = yes || enable_static=yes
16033 echo "$as_me:$LINENO: result: $enable_static" >&5
16034 echo "${ECHO_T}$enable_static" >&6
16036 # The else clause should only fire when bootstrapping the
16037 # libtool distribution, otherwise you forgot to ship ltmain.sh
16038 # with your package, and you will get complaints that there are
16039 # no rules to generate ltmain.sh.
16040 if test -f "$ltmain"; then
16041 # See if we are running on zsh, and set the options which allow our commands through
16042 # without removal of \ escapes.
16043 if test -n "${ZSH_VERSION+set}" ; then
16044 setopt NO_GLOB_SUBST
16046 # Now quote all the things that may contain metacharacters while being
16047 # careful not to overquote the AC_SUBSTed values. We take copies of the
16048 # variables and quote the copies for generation of the libtool script.
16049 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16051 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16052 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16053 deplibs_check_method reload_flag reload_cmds need_locks \
16054 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16055 lt_cv_sys_global_symbol_to_c_name_address \
16056 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16057 old_postinstall_cmds old_postuninstall_cmds \
16061 lt_prog_compiler_wl \
16062 lt_prog_compiler_pic \
16063 lt_prog_compiler_static \
16064 lt_prog_compiler_no_builtin_flag \
16065 export_dynamic_flag_spec \
16066 thread_safe_flag_spec \
16067 whole_archive_flag_spec \
16068 enable_shared_with_static_runtimes \
16070 old_archive_from_new_cmds \
16075 compiler_lib_search_path \
16077 archive_expsym_cmds \
16079 postuninstall_cmds \
16080 old_archive_from_expsyms_cmds \
16081 allow_undefined_flag \
16082 no_undefined_flag \
16083 export_symbols_cmds \
16084 hardcode_libdir_flag_spec \
16085 hardcode_libdir_flag_spec_ld \
16086 hardcode_libdir_separator \
16087 hardcode_automatic \
16089 module_expsym_cmds \
16090 lt_cv_prog_compiler_c_o \
16092 include_expsyms; do
16095 old_archive_cmds | \
16096 old_archive_from_new_cmds | \
16098 archive_expsym_cmds | \
16100 module_expsym_cmds | \
16101 old_archive_from_expsyms_cmds | \
16102 export_symbols_cmds | \
16103 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16104 postinstall_cmds | postuninstall_cmds | \
16105 old_postinstall_cmds | old_postuninstall_cmds | \
16106 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16107 # Double-quote double-evaled strings.
16108 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16111 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16117 *'\$0 --fallback-echo"')
16118 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16122 cfgfile="${ofile}T"
16123 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
16125 { echo "$as_me:$LINENO: creating $ofile" >&5
16126 echo "$as_me: creating $ofile" >&6;}
16128 cat <<__EOF__ >> "$cfgfile"
16131 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16132 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
16133 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16135 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
16136 # Free Software Foundation, Inc.
16138 # This file is part of GNU Libtool:
16139 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16141 # This program is free software; you can redistribute it and/or modify
16142 # it under the terms of the GNU General Public License as published by
16143 # the Free Software Foundation; either version 2 of the License, or
16144 # (at your option) any later version.
16146 # This program is distributed in the hope that it will be useful, but
16147 # WITHOUT ANY WARRANTY; without even the implied warranty of
16148 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16149 # General Public License for more details.
16151 # You should have received a copy of the GNU General Public License
16152 # along with this program; if not, write to the Free Software
16153 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16155 # As a special exception to the GNU General Public License, if you
16156 # distribute this file as part of a program that contains a
16157 # configuration script generated by Autoconf, you may include it under
16158 # the same distribution terms that you use for the rest of that program.
16160 # A sed program that does not truncate output.
16163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16164 Xsed="$SED -e s/^X//"
16166 # The HP-UX ksh and POSIX shell print the target directory to stdout
16167 # if CDPATH is set.
16168 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
16170 # The names of the tagged configurations supported by this script.
16173 # ### BEGIN LIBTOOL CONFIG
16175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16177 # Shell to use when invoking shell scripts.
16180 # Whether or not to build shared libraries.
16181 build_libtool_libs=$enable_shared
16183 # Whether or not to build static libraries.
16184 build_old_libs=$enable_static
16186 # Whether or not to add -lc for building shared libraries.
16187 build_libtool_need_lc=$archive_cmds_need_lc
16189 # Whether or not to disallow shared libs when runtime libs are static
16190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16192 # Whether or not to optimize for fast installation.
16193 fast_install=$enable_fast_install
16196 host_alias=$host_alias
16199 # An echo program that does not interpret backslashes.
16204 AR_FLAGS=$lt_AR_FLAGS
16209 # A language-specific compiler.
16212 # Is the compiler the GNU C compiler?
16218 # The linker used to build libraries.
16221 # Whether we need hard or soft links.
16224 # A BSD-compatible nm program.
16227 # A symbol stripping program
16230 # Used to examine libraries when file_magic_cmd begins "file"
16231 MAGIC_CMD=$MAGIC_CMD
16233 # Used on cygwin: DLL creation program.
16236 # Used on cygwin: object dumper.
16239 # Used on cygwin: assembler.
16242 # The name of the directory that contains temporary libtool files.
16245 # How to create reloadable object files.
16246 reload_flag=$lt_reload_flag
16247 reload_cmds=$lt_reload_cmds
16249 # How to pass a linker flag through the compiler.
16250 wl=$lt_lt_prog_compiler_wl
16252 # Object file suffix (normally "o").
16253 objext="$ac_objext"
16255 # Old archive suffix (normally "a").
16258 # Shared library suffix (normally ".so").
16259 shrext_cmds='$shrext_cmds'
16261 # Executable file suffix (normally "").
16264 # Additional compiler flags for building library objects.
16265 pic_flag=$lt_lt_prog_compiler_pic
16268 # What is the maximum length of a command?
16269 max_cmd_len=$lt_cv_sys_max_cmd_len
16271 # Does compiler simultaneously support -c and -o options?
16272 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16274 # Must we lock files when doing compilation ?
16275 need_locks=$lt_need_locks
16277 # Do we need the lib prefix for modules?
16278 need_lib_prefix=$need_lib_prefix
16280 # Do we need a version for libraries?
16281 need_version=$need_version
16283 # Whether dlopen is supported.
16284 dlopen_support=$enable_dlopen
16286 # Whether dlopen of programs is supported.
16287 dlopen_self=$enable_dlopen_self
16289 # Whether dlopen of statically linked programs is supported.
16290 dlopen_self_static=$enable_dlopen_self_static
16292 # Compiler flag to prevent dynamic linking.
16293 link_static_flag=$lt_lt_prog_compiler_static
16295 # Compiler flag to turn off builtin functions.
16296 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16298 # Compiler flag to allow reflexive dlopens.
16299 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16301 # Compiler flag to generate shared objects directly from archives.
16302 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16304 # Compiler flag to generate thread-safe objects.
16305 thread_safe_flag_spec=$lt_thread_safe_flag_spec
16307 # Library versioning type.
16308 version_type=$version_type
16310 # Format of library name prefix.
16311 libname_spec=$lt_libname_spec
16313 # List of archive names. First name is the real one, the rest are links.
16314 # The last name is the one that the linker finds with -lNAME.
16315 library_names_spec=$lt_library_names_spec
16317 # The coded name of the library, if different from the real name.
16318 soname_spec=$lt_soname_spec
16320 # Commands used to build and install an old-style archive.
16322 old_archive_cmds=$lt_old_archive_cmds
16323 old_postinstall_cmds=$lt_old_postinstall_cmds
16324 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16326 # Create an old-style archive from a shared archive.
16327 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16329 # Create a temporary old-style archive to link instead of a shared archive.
16330 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16332 # Commands used to build and install a shared archive.
16333 archive_cmds=$lt_archive_cmds
16334 archive_expsym_cmds=$lt_archive_expsym_cmds
16335 postinstall_cmds=$lt_postinstall_cmds
16336 postuninstall_cmds=$lt_postuninstall_cmds
16338 # Commands used to build a loadable module (assumed same as above if empty)
16339 module_cmds=$lt_module_cmds
16340 module_expsym_cmds=$lt_module_expsym_cmds
16342 # Commands to strip libraries.
16343 old_striplib=$lt_old_striplib
16344 striplib=$lt_striplib
16346 # Dependencies to place before the objects being linked to create a
16348 predep_objects=$lt_predep_objects
16350 # Dependencies to place after the objects being linked to create a
16352 postdep_objects=$lt_postdep_objects
16354 # Dependencies to place before the objects being linked to create a
16356 predeps=$lt_predeps
16358 # Dependencies to place after the objects being linked to create a
16360 postdeps=$lt_postdeps
16362 # The library search path used internally by the compiler when linking
16363 # a shared library.
16364 compiler_lib_search_path=$lt_compiler_lib_search_path
16366 # Method to check whether dependent libraries are shared objects.
16367 deplibs_check_method=$lt_deplibs_check_method
16369 # Command to use when deplibs_check_method == file_magic.
16370 file_magic_cmd=$lt_file_magic_cmd
16372 # Flag that allows shared libraries with undefined symbols to be built.
16373 allow_undefined_flag=$lt_allow_undefined_flag
16375 # Flag that forces no undefined symbols.
16376 no_undefined_flag=$lt_no_undefined_flag
16378 # Commands used to finish a libtool library installation in a directory.
16379 finish_cmds=$lt_finish_cmds
16381 # Same as above, but a single script fragment to be evaled but not shown.
16382 finish_eval=$lt_finish_eval
16384 # Take the output of nm and produce a listing of raw symbols and C names.
16385 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16387 # Transform the output of nm in a proper C declaration
16388 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16390 # Transform the output of nm in a C name address pair
16391 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16393 # This is the shared library runtime path variable.
16394 runpath_var=$runpath_var
16396 # This is the shared library path variable.
16397 shlibpath_var=$shlibpath_var
16399 # Is shlibpath searched before the hard-coded library search path?
16400 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16402 # How to hardcode a shared library path into an executable.
16403 hardcode_action=$hardcode_action
16405 # Whether we should hardcode library paths into libraries.
16406 hardcode_into_libs=$hardcode_into_libs
16408 # Flag to hardcode \$libdir into a binary during linking.
16409 # This must work even if \$libdir does not exist.
16410 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16412 # If ld is used when linking, flag to hardcode \$libdir into
16413 # a binary during linking. This must work even if \$libdir does
16415 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16417 # Whether we need a single -rpath flag with a separated argument.
16418 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16420 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16421 # resulting binary.
16422 hardcode_direct=$hardcode_direct
16424 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16425 # resulting binary.
16426 hardcode_minus_L=$hardcode_minus_L
16428 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16429 # the resulting binary.
16430 hardcode_shlibpath_var=$hardcode_shlibpath_var
16432 # Set to yes if building a shared library automatically hardcodes DIR into the library
16433 # and all subsequent libraries and executables linked against it.
16434 hardcode_automatic=$hardcode_automatic
16436 # Variables whose values should be saved in libtool wrapper scripts and
16437 # restored at relink time.
16438 variables_saved_for_relink="$variables_saved_for_relink"
16440 # Whether libtool must link a program against all its dependency libraries.
16441 link_all_deplibs=$link_all_deplibs
16443 # Compile-time system search path for libraries
16444 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16446 # Run-time system search path for libraries
16447 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16449 # Fix the shell variable \$srcfile for the compiler.
16450 fix_srcfile_path="$fix_srcfile_path"
16452 # Set to yes if exported symbols are required.
16453 always_export_symbols=$always_export_symbols
16455 # The commands to list exported symbols.
16456 export_symbols_cmds=$lt_export_symbols_cmds
16458 # The commands to extract the exported symbol list from a shared archive.
16459 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16461 # Symbols that should not be listed in the preloaded symbols.
16462 exclude_expsyms=$lt_exclude_expsyms
16464 # Symbols that must always be exported.
16465 include_expsyms=$lt_include_expsyms
16467 # ### END LIBTOOL CONFIG
16474 cat <<\EOF >> "$cfgfile"
16476 # AIX sometimes has problems with the GCC collect2 program. For some
16477 # reason, if we set the COLLECT_NAMES environment variable, the problems
16478 # vanish in a puff of smoke.
16479 if test "X${COLLECT_NAMES+set}" != Xset; then
16481 export COLLECT_NAMES
16487 # We use sed instead of cat because bash on DJGPP gets confused if
16488 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16489 # text mode, it properly converts lines to CR/LF. This bash problem
16490 # is reportedly fixed, but why not run on old versions too?
16491 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
16493 mv -f "$cfgfile" "$ofile" || \
16494 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16498 # If there is no Makefile yet, we rely on a make rule to execute
16499 # `config.status --recheck' to rerun these tests and create the
16500 # libtool script then.
16501 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16502 if test -f "$ltmain_in"; then
16503 test -f Makefile && make "$ltmain"
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16517 # Check whether --with-tags or --without-tags was given.
16518 if test "${with_tags+set}" = set; then
16519 withval="$with_tags"
16520 tagnames="$withval"
16523 if test -f "$ltmain" && test -n "$tagnames"; then
16524 if test ! -f "${ofile}"; then
16525 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
16526 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
16529 if test -z "$LTCC"; then
16530 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16531 if test -z "$LTCC"; then
16532 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
16533 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
16535 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
16536 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
16540 # Extract list of available tagged configurations in $ofile.
16541 # Note that this assumes the entire list is on one line.
16542 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16544 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16545 for tagname in $tagnames; do
16547 # Check whether tagname contains only valid characters
16548 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
16550 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
16551 echo "$as_me: error: invalid tag name: $tagname" >&2;}
16552 { (exit 1); exit 1; }; }
16556 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
16558 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
16559 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
16560 { (exit 1); exit 1; }; }
16563 # Update the list of available tags.
16564 if test -n "$tagname"; then
16565 echo appending configuration tag \"$tagname\" to $ofile
16569 if test -n "$CXX" && test "X$CXX" != "Xno"; then
16571 ac_cpp='$CXXCPP $CPPFLAGS'
16572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16579 archive_cmds_need_lc_CXX=no
16580 allow_undefined_flag_CXX=
16581 always_export_symbols_CXX=no
16582 archive_expsym_cmds_CXX=
16583 export_dynamic_flag_spec_CXX=
16584 hardcode_direct_CXX=no
16585 hardcode_libdir_flag_spec_CXX=
16586 hardcode_libdir_flag_spec_ld_CXX=
16587 hardcode_libdir_separator_CXX=
16588 hardcode_minus_L_CXX=no
16589 hardcode_automatic_CXX=no
16591 module_expsym_cmds_CXX=
16592 link_all_deplibs_CXX=unknown
16593 old_archive_cmds_CXX=$old_archive_cmds
16594 no_undefined_flag_CXX=
16595 whole_archive_flag_spec_CXX=
16596 enable_shared_with_static_runtimes_CXX=no
16598 # Dependencies to place before and after the object being linked:
16599 predep_objects_CXX=
16600 postdep_objects_CXX=
16603 compiler_lib_search_path_CXX=
16605 # Source file extension for C++ test sources.
16608 # Object file extension for compiled C++ test sources.
16612 # Code to be used in simple compile tests
16613 lt_simple_compile_test_code="int some_variable = 0;\n"
16615 # Code to be used in simple link tests
16616 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
16618 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16620 # If no C compiler was specified, use CC.
16623 # Allow CC to be a program name with arguments.
16627 # Allow CC to be a program name with arguments.
16632 lt_save_with_gnu_ld=$with_gnu_ld
16633 lt_save_path_LD=$lt_cv_path_LD
16634 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16635 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16637 unset lt_cv_prog_gnu_ld
16639 if test -n "${lt_cv_path_LDCXX+set}"; then
16640 lt_cv_path_LD=$lt_cv_path_LDCXX
16642 unset lt_cv_path_LD
16644 test -z "${LDCXX+set}" || LD=$LDCXX
16648 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16650 # We don't want -fno-exception wen compiling C++ code, so set the
16651 # no_builtin_flag separately
16652 if test "$GXX" = yes; then
16653 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16655 lt_prog_compiler_no_builtin_flag_CXX=
16658 if test "$GXX" = yes; then
16659 # Set up default GNU C++ configuration
16662 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16663 if test "${with_gnu_ld+set}" = set; then
16664 withval="$with_gnu_ld"
16665 test "$withval" = no || with_gnu_ld=yes
16670 if test "$GCC" = yes; then
16671 # Check if gcc -print-prog-name=ld gives a path.
16672 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16673 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16676 # gcc leaves a trailing carriage return which upsets mingw
16677 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16679 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16682 # Accept absolute paths.
16684 re_direlt='/[^/][^/]*/\.\./'
16685 # Canonicalize the pathname of ld
16686 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16687 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16688 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16690 test -z "$LD" && LD="$ac_prog"
16693 # If it fails, then pretend we aren't using GCC.
16697 # If it is relative, then search for the first ld in PATH.
16698 with_gnu_ld=unknown
16701 elif test "$with_gnu_ld" = yes; then
16702 echo "$as_me:$LINENO: checking for GNU ld" >&5
16703 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16705 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16706 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16708 if test "${lt_cv_path_LD+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 if test -z "$LD"; then
16712 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16713 for ac_dir in $PATH; do
16715 test -z "$ac_dir" && ac_dir=.
16716 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16717 lt_cv_path_LD="$ac_dir/$ac_prog"
16718 # Check to see if the program is GNU ld. I'd rather use --version,
16719 # but apparently some GNU ld's only accept -v.
16720 # Break only if it was the GNU/non-GNU ld that we prefer.
16721 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16722 *GNU* | *'with BFD'*)
16723 test "$with_gnu_ld" != no && break
16726 test "$with_gnu_ld" != yes && break
16733 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16737 LD="$lt_cv_path_LD"
16738 if test -n "$LD"; then
16739 echo "$as_me:$LINENO: result: $LD" >&5
16740 echo "${ECHO_T}$LD" >&6
16742 echo "$as_me:$LINENO: result: no" >&5
16743 echo "${ECHO_T}no" >&6
16745 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16746 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16747 { (exit 1); exit 1; }; }
16748 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16749 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16750 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16754 case `$LD -v 2>&1 </dev/null` in
16755 *GNU* | *'with BFD'*)
16756 lt_cv_prog_gnu_ld=yes
16759 lt_cv_prog_gnu_ld=no
16763 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16764 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
16765 with_gnu_ld=$lt_cv_prog_gnu_ld
16769 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16770 # archiving commands below assume that GNU ld is being used.
16771 if test "$with_gnu_ld" = yes; then
16772 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16773 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'
16775 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16776 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16778 # If archive_cmds runs LD, not CC, wlarc should be empty
16779 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16780 # investigate it a little bit more. (MM)
16783 # ancient GNU ld didn't support --whole-archive et. al.
16784 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16785 grep 'no-whole-archive' > /dev/null; then
16786 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16788 whole_archive_flag_spec_CXX=
16794 # A generic and very simple default shared library creation
16795 # command for GNU C++ for the case where it uses the native
16796 # linker, instead of GNU ld. If possible, this setting should
16797 # overridden to take advantage of the native linker features on
16798 # the platform it is being used on.
16799 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16802 # Commands to make compiler produce verbose output that lists
16803 # what "hidden" libraries, object files and flags are used when
16804 # linking a shared library.
16805 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16813 # PORTME: fill in a description of your system's C++ link characteristics
16814 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16815 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16819 # FIXME: insert proper C++ library support
16823 if test "$host_cpu" = ia64; then
16824 # On IA64, the linker does run time linking by default, so we don't
16825 # have to do anything special.
16826 aix_use_runtimelinking=no
16827 exp_sym_flag='-Bexport'
16830 aix_use_runtimelinking=no
16832 # Test if we are trying to use run time linking or normal
16833 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16834 # need to do runtime linking.
16835 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16836 for ld_flag in $LDFLAGS; do
16839 aix_use_runtimelinking=yes
16846 exp_sym_flag='-bexport'
16847 no_entry_flag='-bnoentry'
16850 # When large executables or shared objects are built, AIX ld can
16851 # have problems creating the table of contents. If linking a library
16852 # or program results in "error TOC overflow" add -mminimal-toc to
16853 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16854 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16856 archive_cmds_CXX=''
16857 hardcode_direct_CXX=yes
16858 hardcode_libdir_separator_CXX=':'
16859 link_all_deplibs_CXX=yes
16861 if test "$GXX" = yes; then
16862 case $host_os in aix4.012|aix4.012.*)
16863 # We only want to do this on AIX 4.2 and lower, the check
16864 # below for broken collect2 doesn't work under 4.3+
16865 collect2name=`${CC} -print-prog-name=collect2`
16866 if test -f "$collect2name" && \
16867 strings "$collect2name" | grep resolve_lib_name >/dev/null
16869 # We have reworked collect2
16870 hardcode_direct_CXX=yes
16872 # We have old collect2
16873 hardcode_direct_CXX=unsupported
16874 # It fails to find uninstalled libraries when the uninstalled
16875 # path is not listed in the libpath. Setting hardcode_minus_L
16876 # to unsupported forces relinking
16877 hardcode_minus_L_CXX=yes
16878 hardcode_libdir_flag_spec_CXX='-L$libdir'
16879 hardcode_libdir_separator_CXX=
16882 shared_flag='-shared'
16885 if test "$host_cpu" = ia64; then
16886 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16887 # chokes on -Wl,-G. The following line is correct:
16890 if test "$aix_use_runtimelinking" = yes; then
16891 shared_flag='${wl}-G'
16893 shared_flag='${wl}-bM:SRE'
16898 # It seems that -bexpall does not export symbols beginning with
16899 # underscore (_), so it is better to generate a list of symbols to export.
16900 always_export_symbols_CXX=yes
16901 if test "$aix_use_runtimelinking" = yes; then
16902 # Warning - without using the other runtime loading flags (-brtl),
16903 # -berok will link without error, but may produce a broken library.
16904 allow_undefined_flag_CXX='-berok'
16905 # Determine the default libpath from the value encoded in an empty executable.
16906 cat >conftest.$ac_ext <<_ACEOF
16909 cat confdefs.h >>conftest.$ac_ext
16910 cat >>conftest.$ac_ext <<_ACEOF
16911 /* end confdefs.h. */
16921 rm -f conftest.$ac_objext conftest$ac_exeext
16922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16923 (eval $ac_link) 2>conftest.er1
16925 grep -v '^ *+' conftest.er1 >conftest.err
16927 cat conftest.err >&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try='test -z "$ac_cxx_werror_flag"
16931 || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try='test -s conftest$ac_exeext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16944 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16946 # Check for a 64-bit object if we didn't find anything.
16947 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; }
16950 echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.$ac_ext >&5
16954 rm -f conftest.err conftest.$ac_objext \
16955 conftest$ac_exeext conftest.$ac_ext
16956 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16958 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16960 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"
16962 if test "$host_cpu" = ia64; then
16963 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16964 allow_undefined_flag_CXX="-z nodefs"
16965 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"
16967 # Determine the default libpath from the value encoded in an empty executable.
16968 cat >conftest.$ac_ext <<_ACEOF
16971 cat confdefs.h >>conftest.$ac_ext
16972 cat >>conftest.$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16983 rm -f conftest.$ac_objext conftest$ac_exeext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16985 (eval $ac_link) 2>conftest.er1
16987 grep -v '^ *+' conftest.er1 >conftest.err
16989 cat conftest.err >&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } &&
16992 { ac_try='test -z "$ac_cxx_werror_flag"
16993 || test ! -s conftest.err'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try='test -s conftest$ac_exeext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17006 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17008 # Check for a 64-bit object if we didn't find anything.
17009 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; }
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17016 rm -f conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17018 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17020 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17021 # Warning - without using the other run time loading flags,
17022 # -berok will link without error, but may produce a broken library.
17023 no_undefined_flag_CXX=' ${wl}-bernotok'
17024 allow_undefined_flag_CXX=' ${wl}-berok'
17025 # -bexpall does not export symbols beginning with underscore (_)
17026 always_export_symbols_CXX=yes
17027 # Exported symbols can be pulled into shared objects from archives
17028 whole_archive_flag_spec_CXX=' '
17029 archive_cmds_need_lc_CXX=yes
17030 # This is similar to how AIX traditionally builds it's shared libraries.
17031 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'
17036 case $cc_basename in
17038 # FIXME: insert proper C++ library support
17044 cygwin* | mingw* | pw32*)
17045 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17046 # as there is no search path for DLLs.
17047 hardcode_libdir_flag_spec_CXX='-L$libdir'
17048 allow_undefined_flag_CXX=unsupported
17049 always_export_symbols_CXX=no
17050 enable_shared_with_static_runtimes_CXX=yes
17052 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17053 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'
17054 # If the export-symbols file already is a .def file (1st line
17055 # is EXPORTS), use it as is; otherwise, prepend...
17056 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17057 cp $export_symbols $output_objdir/$soname.def;
17059 echo EXPORTS > $output_objdir/$soname.def;
17060 cat $export_symbols >> $output_objdir/$soname.def;
17062 $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'
17068 darwin* | rhapsody*)
17069 if test "$GXX" = yes; then
17070 archive_cmds_need_lc_CXX=no
17072 rhapsody* | darwin1.[012])
17073 allow_undefined_flag_CXX='-undefined suppress'
17076 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17077 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
17079 case ${MACOSX_DEPLOYMENT_TARGET} in
17081 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
17084 allow_undefined_flag_CXX='-undefined dynamic_lookup'
17090 lt_int_apple_cc_single_mod=no
17091 output_verbose_link_cmd='echo'
17092 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17093 lt_int_apple_cc_single_mod=yes
17095 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17096 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17098 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'
17100 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17102 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17103 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17104 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}'
17106 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}'
17108 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}'
17109 hardcode_direct_CXX=no
17110 hardcode_automatic_CXX=yes
17111 hardcode_shlibpath_var_CXX=unsupported
17112 whole_archive_flag_spec_CXX='-all_load $convenience'
17113 link_all_deplibs_CXX=yes
17120 case $cc_basename in
17122 # FIXME: insert proper C++ library support
17126 # Green Hills C++ Compiler
17127 # FIXME: insert proper C++ library support
17131 # FIXME: insert proper C++ library support
17137 # C++ shared libraries reported to be fairly broken before switch to ELF
17141 archive_cmds_need_lc_CXX=no
17143 freebsd* | kfreebsd*-gnu)
17144 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17151 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17152 hardcode_libdir_separator_CXX=:
17153 export_dynamic_flag_spec_CXX='${wl}-E'
17154 hardcode_direct_CXX=yes
17155 hardcode_minus_L_CXX=yes # Not in the search PATH,
17156 # but as the default
17157 # location of the library.
17159 case $cc_basename in
17161 # FIXME: insert proper C++ library support
17165 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'
17166 # Commands to make compiler produce verbose output that lists
17167 # what "hidden" libraries, object files and flags are used when
17168 # linking a shared library.
17170 # There doesn't appear to be a way to prevent this compiler from
17171 # explicitly linking system object files so we need to strip them
17172 # from the output so that they don't get included in the library
17174 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'
17177 if test "$GXX" = yes; then
17178 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'
17180 # FIXME: insert proper C++ library support
17187 if test $with_gnu_ld = no; then
17188 case "$host_cpu" in
17190 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17191 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
17192 hardcode_libdir_separator_CXX=:
17195 hardcode_libdir_flag_spec_CXX='-L$libdir'
17198 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17199 hardcode_libdir_separator_CXX=:
17200 export_dynamic_flag_spec_CXX='${wl}-E'
17204 case "$host_cpu" in
17206 hardcode_direct_CXX=no
17207 hardcode_shlibpath_var_CXX=no
17210 hardcode_direct_CXX=no
17211 hardcode_shlibpath_var_CXX=no
17212 hardcode_minus_L_CXX=yes # Not in the search PATH,
17213 # but as the default
17214 # location of the library.
17217 hardcode_direct_CXX=yes
17218 hardcode_minus_L_CXX=yes # Not in the search PATH,
17219 # but as the default
17220 # location of the library.
17224 case $cc_basename in
17226 # FIXME: insert proper C++ library support
17230 case "$host_cpu" in
17232 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
17235 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17238 # Commands to make compiler produce verbose output that lists
17239 # what "hidden" libraries, object files and flags are used when
17240 # linking a shared library.
17242 # There doesn't appear to be a way to prevent this compiler from
17243 # explicitly linking system object files so we need to strip them
17244 # from the output so that they don't get included in the library
17246 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'
17249 if test "$GXX" = yes; then
17250 if test $with_gnu_ld = no; then
17251 case "$host_cpu" in
17253 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
17256 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'
17261 # FIXME: insert proper C++ library support
17268 case $cc_basename in
17271 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'
17273 # Archives containing C++ object files must be created using
17274 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17275 # necessary to make sure instantiated templates are included
17277 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17280 if test "$GXX" = yes; then
17281 if test "$with_gnu_ld" = no; then
17282 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'
17284 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'
17287 link_all_deplibs_CXX=yes
17290 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17291 hardcode_libdir_separator_CXX=:
17294 case $cc_basename in
17296 # Kuck and Associates, Inc. (KAI) C++ Compiler
17298 # KCC will only create a shared library if the output file
17299 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17300 # to its proper name (with version) after linking.
17301 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'
17302 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'
17303 # Commands to make compiler produce verbose output that lists
17304 # what "hidden" libraries, object files and flags are used when
17305 # linking a shared library.
17307 # There doesn't appear to be a way to prevent this compiler from
17308 # explicitly linking system object files so we need to strip them
17309 # from the output so that they don't get included in the library
17311 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'
17313 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
17314 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17316 # Archives containing C++ object files must be created using
17317 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17318 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17323 archive_cmds_need_lc_CXX=no
17324 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17325 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'
17326 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17327 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17328 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17332 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17333 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'
17335 runpath_var=LD_RUN_PATH
17336 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17337 hardcode_libdir_separator_CXX=:
17339 # Commands to make compiler produce verbose output that lists
17340 # what "hidden" libraries, object files and flags are used when
17341 # linking a shared library.
17343 # There doesn't appear to be a way to prevent this compiler from
17344 # explicitly linking system object files so we need to strip them
17345 # from the output so that they don't get included in the library
17347 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'
17352 # FIXME: insert proper C++ library support
17356 # FIXME: insert proper C++ library support
17360 case $cc_basename in
17362 # FIXME: insert proper C++ library support
17366 # FIXME: insert proper C++ library support
17372 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17373 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17375 hardcode_libdir_flag_spec_CXX='-R$libdir'
17376 hardcode_direct_CXX=yes
17377 hardcode_shlibpath_var_CXX=no
17379 # Workaround some broken pre-1.5 toolchains
17380 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17383 case $cc_basename in
17385 # Kuck and Associates, Inc. (KAI) C++ Compiler
17387 # KCC will only create a shared library if the output file
17388 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17389 # to its proper name (with version) after linking.
17390 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'
17392 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17393 hardcode_libdir_separator_CXX=:
17395 # Archives containing C++ object files must be created using
17396 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17397 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17401 # Rational C++ 2.4.1
17402 # FIXME: insert proper C++ library support
17406 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17407 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'
17409 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17410 hardcode_libdir_separator_CXX=:
17412 # Commands to make compiler produce verbose output that lists
17413 # what "hidden" libraries, object files and flags are used when
17414 # linking a shared library.
17416 # There doesn't appear to be a way to prevent this compiler from
17417 # explicitly linking system object files so we need to strip them
17418 # from the output so that they don't get included in the library
17420 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'
17423 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17424 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17425 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'
17427 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17428 hardcode_libdir_separator_CXX=:
17430 # Commands to make compiler produce verbose output that lists
17431 # what "hidden" libraries, object files and flags are used when
17432 # linking a shared library.
17433 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17436 # FIXME: insert proper C++ library support
17443 case $cc_basename in
17445 # Kuck and Associates, Inc. (KAI) C++ Compiler
17447 # KCC will only create a shared library if the output file
17448 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17449 # to its proper name (with version) after linking.
17450 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'
17452 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17453 hardcode_libdir_separator_CXX=:
17455 # Archives containing C++ object files must be created using
17456 # the KAI C++ compiler.
17457 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
17460 # Rational C++ 2.4.1
17461 # FIXME: insert proper C++ library support
17465 allow_undefined_flag_CXX=' -expect_unresolved \*'
17466 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'
17467 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17468 echo "-hidden">> $lib.exp~
17469 $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~
17472 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17473 hardcode_libdir_separator_CXX=:
17475 # Commands to make compiler produce verbose output that lists
17476 # what "hidden" libraries, object files and flags are used when
17477 # linking a shared library.
17479 # There doesn't appear to be a way to prevent this compiler from
17480 # explicitly linking system object files so we need to strip them
17481 # from the output so that they don't get included in the library
17483 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'
17486 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17487 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17488 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'
17490 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17491 hardcode_libdir_separator_CXX=:
17493 # Commands to make compiler produce verbose output that lists
17494 # what "hidden" libraries, object files and flags are used when
17495 # linking a shared library.
17496 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17499 # FIXME: insert proper C++ library support
17506 # FIXME: insert proper C++ library support
17510 archive_cmds_need_lc_CXX=no
17511 case $cc_basename in
17513 # FIXME: insert proper C++ library support
17517 # FIXME: insert proper C++ library support
17523 case $cc_basename in
17526 # FIXME: insert proper C++ library support
17531 # FIXME: insert proper C++ library support
17535 # FIXME: insert proper C++ library support
17541 case $cc_basename in
17543 # Sun C++ 4.2, 5.x and Centerline C++
17544 no_undefined_flag_CXX=' -zdefs'
17545 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17546 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17547 $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'
17549 hardcode_libdir_flag_spec_CXX='-R$libdir'
17550 hardcode_shlibpath_var_CXX=no
17552 solaris2.0-5 | solaris2.0-5.*) ;;
17554 # The C++ compiler is used as linker so we must use $wl
17555 # flag to pass the commands to the underlying system
17557 # Supported since Solaris 2.6 (maybe 2.5.1?)
17558 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17561 link_all_deplibs_CXX=yes
17563 # Commands to make compiler produce verbose output that lists
17564 # what "hidden" libraries, object files and flags are used when
17565 # linking a shared library.
17567 # There doesn't appear to be a way to prevent this compiler from
17568 # explicitly linking system object files so we need to strip them
17569 # from the output so that they don't get included in the library
17571 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'
17573 # Archives containing C++ object files must be created using
17574 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17575 # necessary to make sure instantiated templates are included
17577 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17580 # Green Hills C++ Compiler
17581 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17583 # The C++ compiler must be used to create the archive.
17584 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17587 # GNU C++ compiler with Solaris linker
17588 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17589 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17590 if $CC --version | grep -v '^2\.7' > /dev/null; then
17591 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17592 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17593 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17595 # Commands to make compiler produce verbose output that lists
17596 # what "hidden" libraries, object files and flags are used when
17597 # linking a shared library.
17598 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17600 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17602 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17603 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17604 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17606 # Commands to make compiler produce verbose output that lists
17607 # what "hidden" libraries, object files and flags are used when
17608 # linking a shared library.
17609 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17612 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17617 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17618 archive_cmds_need_lc_CXX=no
17621 case $cc_basename in
17623 # NonStop-UX NCC 3.20
17624 # FIXME: insert proper C++ library support
17628 # FIXME: insert proper C++ library support
17634 # FIXME: insert proper C++ library support
17638 # FIXME: insert proper C++ library support
17642 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17643 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17644 test "$ld_shlibs_CXX" = no && can_build_shared=no
17650 cat > conftest.$ac_ext <<EOF
17654 Foo (void) { a = 0; }
17660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17661 (eval $ac_compile) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; then
17665 # Parse the compiler output and extract the necessary
17666 # objects, libraries and library flags.
17668 # Sentinel used to keep track of whether or not we are before
17669 # the conftest object file.
17670 pre_test_object_deps_done=no
17672 # The `*' in the case matches for architectures that use `case' in
17673 # $output_verbose_cmd can trigger glob expansion during the loop
17674 # eval without this substitution.
17675 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
17677 for p in `eval $output_verbose_link_cmd`; do
17681 # Some compilers place space between "-{L,R}" and the path.
17682 # Remove the space.
17683 if test $p = "-L" \
17684 || test $p = "-R"; then
17691 if test "$pre_test_object_deps_done" = no; then
17694 # Internal compiler library paths should come after those
17695 # provided the user. The postdeps already come after the
17696 # user supplied libs so there is no need to process them.
17697 if test -z "$compiler_lib_search_path_CXX"; then
17698 compiler_lib_search_path_CXX="${prev}${p}"
17700 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17703 # The "-l" case would never come before the object being
17704 # linked, so don't bother handling this case.
17707 if test -z "$postdeps_CXX"; then
17708 postdeps_CXX="${prev}${p}"
17710 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17716 # This assumes that the test object file only shows up
17717 # once in the compiler output.
17718 if test "$p" = "conftest.$objext"; then
17719 pre_test_object_deps_done=yes
17723 if test "$pre_test_object_deps_done" = no; then
17724 if test -z "$predep_objects_CXX"; then
17725 predep_objects_CXX="$p"
17727 predep_objects_CXX="$predep_objects_CXX $p"
17730 if test -z "$postdep_objects_CXX"; then
17731 postdep_objects_CXX="$p"
17733 postdep_objects_CXX="$postdep_objects_CXX $p"
17738 *) ;; # Ignore the rest.
17746 echo "libtool.m4: error: problem compiling CXX test program"
17749 $rm -f confest.$objext
17751 case " $postdeps_CXX " in
17752 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17755 lt_prog_compiler_wl_CXX=
17756 lt_prog_compiler_pic_CXX=
17757 lt_prog_compiler_static_CXX=
17759 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17760 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17762 # C++ specific cases for pic, static, wl, etc.
17763 if test "$GXX" = yes; then
17764 lt_prog_compiler_wl_CXX='-Wl,'
17765 lt_prog_compiler_static_CXX='-static'
17769 # All AIX code is PIC.
17770 if test "$host_cpu" = ia64; then
17771 # AIX 5 now supports IA64 processor
17772 lt_prog_compiler_static_CXX='-Bstatic'
17776 # FIXME: we need at least 68020 code to build shared libraries, but
17777 # adding the `-m68020' flag to GCC prevents building anything better,
17779 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17781 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17782 # PIC is the default for these OSes.
17784 mingw* | os2* | pw32*)
17785 # This hack is so that the source file can tell whether it is being
17786 # built for inclusion in a dll (and should export symbols for example).
17787 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17789 darwin* | rhapsody*)
17790 # PIC is the default on this platform
17791 # Common symbols not allowed in MH_DYLIB files
17792 lt_prog_compiler_pic_CXX='-fno-common'
17795 # DJGPP does not support shared libraries at all
17796 lt_prog_compiler_pic_CXX=
17799 if test -d /usr/nec; then
17800 lt_prog_compiler_pic_CXX=-Kconform_pic
17804 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17805 # not for PA HP-UX.
17806 case "$host_cpu" in
17810 lt_prog_compiler_pic_CXX='-fPIC'
17815 lt_prog_compiler_pic_CXX='-fPIC'
17821 # All AIX code is PIC.
17822 if test "$host_cpu" = ia64; then
17823 # AIX 5 now supports IA64 processor
17824 lt_prog_compiler_static_CXX='-Bstatic'
17826 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17830 case $cc_basename in
17832 # Green Hills C++ Compiler
17833 # _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"
17838 case $cc_basename in
17840 lt_prog_compiler_pic_CXX='-KPIC'
17843 # Green Hills C++ Compiler
17844 lt_prog_compiler_pic_CXX='-pic'
17850 freebsd* | kfreebsd*-gnu)
17851 # FreeBSD uses GNU C++
17853 hpux9* | hpux10* | hpux11*)
17854 case $cc_basename in
17856 lt_prog_compiler_wl_CXX='-Wl,'
17857 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17858 if test "$host_cpu" != ia64; then
17859 lt_prog_compiler_pic_CXX='+Z'
17863 lt_prog_compiler_wl_CXX='-Wl,'
17864 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17865 case "$host_cpu" in
17870 lt_prog_compiler_pic_CXX='+Z'
17878 irix5* | irix6* | nonstopux*)
17879 case $cc_basename in
17881 lt_prog_compiler_wl_CXX='-Wl,'
17882 lt_prog_compiler_static_CXX='-non_shared'
17883 # CC pic flag -KPIC is the default.
17890 case $cc_basename in
17893 lt_prog_compiler_wl_CXX='--backend -Wl,'
17894 lt_prog_compiler_pic_CXX='-fPIC'
17898 lt_prog_compiler_wl_CXX='-Wl,'
17899 lt_prog_compiler_pic_CXX='-KPIC'
17900 lt_prog_compiler_static_CXX='-static'
17904 # Make sure the PIC flag is empty. It appears that all Alpha
17905 # Linux and Compaq Tru64 Unix objects are PIC.
17906 lt_prog_compiler_pic_CXX=
17907 lt_prog_compiler_static_CXX='-non_shared'
17918 case $cc_basename in
17920 lt_prog_compiler_pic_CXX='-W c,exportall'
17928 osf3* | osf4* | osf5*)
17929 case $cc_basename in
17931 lt_prog_compiler_wl_CXX='--backend -Wl,'
17934 # Rational C++ 2.4.1
17935 lt_prog_compiler_pic_CXX='-pic'
17938 # Digital/Compaq C++
17939 lt_prog_compiler_wl_CXX='-Wl,'
17940 # Make sure the PIC flag is empty. It appears that all Alpha
17941 # Linux and Compaq Tru64 Unix objects are PIC.
17942 lt_prog_compiler_pic_CXX=
17943 lt_prog_compiler_static_CXX='-non_shared'
17952 case $cc_basename in
17954 lt_prog_compiler_pic_CXX='-fPIC'
17961 case $cc_basename in
17963 # Sun C++ 4.2, 5.x and Centerline C++
17964 lt_prog_compiler_pic_CXX='-KPIC'
17965 lt_prog_compiler_static_CXX='-Bstatic'
17966 lt_prog_compiler_wl_CXX='-Qoption ld '
17969 # Green Hills C++ Compiler
17970 lt_prog_compiler_pic_CXX='-PIC'
17977 case $cc_basename in
17980 lt_prog_compiler_pic_CXX='-pic'
17981 lt_prog_compiler_static_CXX='-Bstatic'
17985 lt_prog_compiler_pic_CXX='-pic'
17992 case $cc_basename in
17994 # NonStop-UX NCC 3.20
17995 lt_prog_compiler_pic_CXX='-KPIC'
18006 lt_prog_compiler_can_build_shared_CXX=no
18011 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
18012 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
18015 # Check to make sure the PIC flag actually works.
18017 if test -n "$lt_prog_compiler_pic_CXX"; then
18019 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18020 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
18021 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 lt_prog_compiler_pic_works_CXX=no
18025 ac_outfile=conftest.$ac_objext
18026 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18027 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
18028 # Insert the option either (1) after the last *FLAGS variable, or
18029 # (2) before a word containing "conftest.", or (3) at the end.
18030 # Note that $ac_compile itself does not contain backslashes and begins
18031 # with a dollar sign (not a hyphen), so the echo should work correctly.
18032 # The option is referenced via a variable to avoid confusing sed.
18033 lt_compile=`echo "$ac_compile" | $SED \
18034 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18036 -e 's:$: $lt_compiler_flag:'`
18037 (eval echo "\"\$as_me:18037: $lt_compile\"" >&5)
18038 (eval "$lt_compile" 2>conftest.err)
18040 cat conftest.err >&5
18041 echo "$as_me:18041: \$? = $ac_status" >&5
18042 if (exit $ac_status) && test -s "$ac_outfile"; then
18043 # The compiler can only warn and ignore the option if not recognized
18044 # So say no if there are warnings
18045 if test ! -s conftest.err; then
18046 lt_prog_compiler_pic_works_CXX=yes
18052 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
18053 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
18055 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
18056 case $lt_prog_compiler_pic_CXX in
18058 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18061 lt_prog_compiler_pic_CXX=
18062 lt_prog_compiler_can_build_shared_CXX=no
18067 # For platforms which do not support PIC, -DPIC is meaningless:
18069 lt_prog_compiler_pic_CXX=
18072 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18076 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18077 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18078 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
18079 echo $ECHO_N "(cached) $ECHO_C" >&6
18081 lt_cv_prog_compiler_c_o_CXX=no
18082 $rm -r conftest 2>/dev/null
18086 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18088 lt_compiler_flag="-o out/conftest2.$ac_objext"
18089 # Insert the option either (1) after the last *FLAGS variable, or
18090 # (2) before a word containing "conftest.", or (3) at the end.
18091 # Note that $ac_compile itself does not contain backslashes and begins
18092 # with a dollar sign (not a hyphen), so the echo should work correctly.
18093 lt_compile=`echo "$ac_compile" | $SED \
18094 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18096 -e 's:$: $lt_compiler_flag:'`
18097 (eval echo "\"\$as_me:18097: $lt_compile\"" >&5)
18098 (eval "$lt_compile" 2>out/conftest.err)
18100 cat out/conftest.err >&5
18101 echo "$as_me:18101: \$? = $ac_status" >&5
18102 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18104 # The compiler can only warn and ignore the option if not recognized
18105 # So say no if there are warnings
18106 if test ! -s out/conftest.err; then
18107 lt_cv_prog_compiler_c_o_CXX=yes
18112 # SGI C++ compiler will create directory out/ii_files/ for
18113 # template instantiation
18114 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18115 $rm out/* && rmdir out
18121 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18122 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
18125 hard_links="nottested"
18126 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
18127 # do not overwrite the value of need_locks provided by the user
18128 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18129 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18132 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18134 ln conftest.a conftest.b 2>&5 || hard_links=no
18135 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18136 echo "$as_me:$LINENO: result: $hard_links" >&5
18137 echo "${ECHO_T}$hard_links" >&6
18138 if test "$hard_links" = no; then
18139 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18140 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18147 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18148 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18150 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18153 # If we're using GNU nm, then we don't want the "-C" option.
18154 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18155 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18156 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'
18158 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'
18162 export_symbols_cmds_CXX="$ltdll_cmds"
18165 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18168 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18172 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18173 echo "${ECHO_T}$ld_shlibs_CXX" >&6
18174 test "$ld_shlibs_CXX" = no && can_build_shared=no
18176 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18177 if test "$GCC" = yes; then
18178 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18182 # Do we need to explicitly link libc?
18184 case "x$archive_cmds_need_lc_CXX" in
18186 # Assume -lc should be added
18187 archive_cmds_need_lc_CXX=yes
18189 if test "$enable_shared" = yes && test "$GCC" = yes; then
18190 case $archive_cmds_CXX in
18192 # FIXME: we may have to deal with multi-command sequences.
18195 # Test whether the compiler implicitly links with -lc since on some
18196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18197 # to ld, don't add -lc before -lgcc.
18198 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18199 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18201 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18204 (eval $ac_compile) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } 2>conftest.err; then
18210 libobjs=conftest.$ac_objext
18212 wl=$lt_prog_compiler_wl_CXX
18218 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18219 allow_undefined_flag_CXX=
18220 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18221 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }
18226 archive_cmds_need_lc_CXX=no
18228 archive_cmds_need_lc_CXX=yes
18230 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18232 cat conftest.err 1>&5
18235 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
18236 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
18243 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18244 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18245 library_names_spec=
18246 libname_spec='lib$name'
18250 postuninstall_cmds=
18254 shlibpath_overrides_runpath=unknown
18256 dynamic_linker="$host_os ld.so"
18257 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18258 if test "$GCC" = yes; then
18259 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18260 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18261 # if the path contains ";" then we assume it to be the separator
18262 # otherwise default to the standard path separator (i.e. ":") - it is
18263 # assumed that no part of a normal pathname contains ";" but that should
18264 # okay in the real world where ";" in dirpaths is itself problematic.
18265 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18267 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18270 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18272 need_lib_prefix=unknown
18273 hardcode_into_libs=no
18275 # when you set need_version to no, make sure it does not cause -set_version
18276 # flags to be left without arguments
18277 need_version=unknown
18282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18283 shlibpath_var=LIBPATH
18285 # AIX 3 has no versioning support, so we append a major version to the name.
18286 soname_spec='${libname}${release}${shared_ext}$major'
18293 hardcode_into_libs=yes
18294 if test "$host_cpu" = ia64; then
18295 # AIX 5 supports IA64
18296 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18297 shlibpath_var=LD_LIBRARY_PATH
18299 # With GCC up to 2.95.x, collect2 would create an import file
18300 # for dependence libraries. The import file would start with
18301 # the line `#! .'. This would cause the generated library to
18302 # depend on `.', always an invalid library. This was fixed in
18303 # development snapshots of GCC prior to 3.0.
18305 aix4 | aix4.[01] | aix4.[01].*)
18306 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18308 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18311 can_build_shared=no
18315 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18316 # soname into executable. Probably we can add versioning support to
18317 # collect2, so additional links can be useful in future.
18318 if test "$aix_use_runtimelinking" = yes; then
18319 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18320 # instead of lib<name>.a to let people know that these are not
18321 # typical AIX shared libraries.
18322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18324 # We preserve .a as extension for shared libraries through AIX4.2
18325 # and later when we are not doing run time linking.
18326 library_names_spec='${libname}${release}.a $libname.a'
18327 soname_spec='${libname}${release}${shared_ext}$major'
18329 shlibpath_var=LIBPATH
18334 library_names_spec='$libname.ixlibrary $libname.a'
18335 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18336 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'
18340 library_names_spec='${libname}${shared_ext}'
18341 dynamic_linker="$host_os ld.so"
18342 shlibpath_var=LIBRARY_PATH
18348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18349 soname_spec='${libname}${release}${shared_ext}$major'
18350 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18351 shlibpath_var=LD_LIBRARY_PATH
18352 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18353 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18354 # the default ld.so.conf also contains /usr/contrib/lib and
18355 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18356 # libtool to hard-code these into programs
18359 cygwin* | mingw* | pw32*)
18360 version_type=windows
18365 case $GCC,$host_os in
18366 yes,cygwin* | yes,mingw* | yes,pw32*)
18367 library_names_spec='$libname.dll.a'
18368 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18369 postinstall_cmds='base_file=`basename \${file}`~
18370 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18371 dldir=$destdir/`dirname \$dlpath`~
18372 test -d \$dldir || mkdir -p \$dldir~
18373 $install_prog $dir/$dlname \$dldir/$dlname'
18374 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18375 dlpath=$dir/\$dldll~
18377 shlibpath_overrides_runpath=yes
18381 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18382 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18383 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18386 # MinGW DLLs use traditional 'lib' prefix
18387 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18388 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18389 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18390 # It is most probably a Windows format PATH printed by
18391 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18392 # path with ; separators, and with drive letters. We can handle the
18393 # drive letters (cygwin fileutils understands them), so leave them,
18394 # especially as we might pass files found there to a mingw objdump,
18395 # which wouldn't understand a cygwinified path. Ahh.
18396 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18398 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18402 # pw32 DLLs use 'pw' prefix rather than 'lib'
18403 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18409 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18412 dynamic_linker='Win32 ld.exe'
18413 # FIXME: first we should search . and the directory the executable is in
18417 darwin* | rhapsody*)
18418 dynamic_linker="$host_os dyld"
18419 version_type=darwin
18422 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18423 soname_spec='${libname}${release}${major}$shared_ext'
18424 shlibpath_overrides_runpath=yes
18425 shlibpath_var=DYLD_LIBRARY_PATH
18426 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18427 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18428 if test "$GCC" = yes; then
18429 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"`
18431 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18433 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18441 soname_spec='${libname}${release}${shared_ext}$major'
18442 shlibpath_var=LD_LIBRARY_PATH
18453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18454 soname_spec='${libname}${release}${shared_ext}$major'
18455 shlibpath_var=LD_LIBRARY_PATH
18456 shlibpath_overrides_runpath=no
18457 hardcode_into_libs=yes
18458 dynamic_linker='GNU ld.so'
18462 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18463 version_type=freebsd-$objformat
18464 case $version_type in
18466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18471 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18475 shlibpath_var=LD_LIBRARY_PATH
18478 shlibpath_overrides_runpath=yes
18480 freebsd3.01* | freebsdelf3.01*)
18481 shlibpath_overrides_runpath=yes
18482 hardcode_into_libs=yes
18485 shlibpath_overrides_runpath=no
18486 hardcode_into_libs=yes
18495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18496 soname_spec='${libname}${release}${shared_ext}$major'
18497 shlibpath_var=LD_LIBRARY_PATH
18498 hardcode_into_libs=yes
18501 hpux9* | hpux10* | hpux11*)
18502 # Give a soname corresponding to the major version so that dld.sl refuses to
18503 # link against other versions.
18507 case "$host_cpu" in
18510 hardcode_into_libs=yes
18511 dynamic_linker="$host_os dld.so"
18512 shlibpath_var=LD_LIBRARY_PATH
18513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18515 soname_spec='${libname}${release}${shared_ext}$major'
18516 if test "X$HPUX_IA64_MODE" = X32; then
18517 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18519 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18521 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18525 hardcode_into_libs=yes
18526 dynamic_linker="$host_os dld.sl"
18527 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18528 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18530 soname_spec='${libname}${release}${shared_ext}$major'
18531 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18532 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18536 dynamic_linker="$host_os dld.sl"
18537 shlibpath_var=SHLIB_PATH
18538 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18540 soname_spec='${libname}${release}${shared_ext}$major'
18543 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18544 postinstall_cmds='chmod 555 $lib'
18547 irix5* | irix6* | nonstopux*)
18549 nonstopux*) version_type=nonstopux ;;
18551 if test "$lt_cv_prog_gnu_ld" = yes; then
18559 soname_spec='${libname}${release}${shared_ext}$major'
18560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18562 irix5* | nonstopux*)
18563 libsuff= shlibsuff=
18566 case $LD in # libtool.m4 will add one of these switches to LD
18567 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18568 libsuff= shlibsuff= libmagic=32-bit;;
18569 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18570 libsuff=32 shlibsuff=N32 libmagic=N32;;
18571 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18572 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18573 *) libsuff= shlibsuff= libmagic=never-match;;
18577 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18578 shlibpath_overrides_runpath=no
18579 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18580 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18581 hardcode_into_libs=yes
18584 # No shared lib support for Linux oldld, aout, or coff.
18585 linux*oldld* | linux*aout* | linux*coff*)
18589 # This must be Linux ELF.
18594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18595 soname_spec='${libname}${release}${shared_ext}$major'
18596 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18597 shlibpath_var=LD_LIBRARY_PATH
18598 shlibpath_overrides_runpath=no
18599 # This implies no fast_install, which is unacceptable.
18600 # Some rework will be needed to allow for fast_install
18601 # before this can be enabled.
18602 hardcode_into_libs=yes
18604 # find out which ABI we are using
18606 case "$host_cpu" in
18607 x86_64*|s390x*|powerpc64*)
18608 echo '#line 18608 "configure"' > conftest.$ac_ext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; then
18614 case `/usr/bin/file conftest.$ac_objext` in
18617 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18625 # Append ld.so.conf contents to the search path
18626 if test -f /etc/ld.so.conf; then
18627 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18628 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18631 # We used to test for /lib/ld.so.1 and disable shared libraries on
18632 # powerpc, because MkLinux only supported shared libraries with the
18633 # GNU dynamic linker. Since this was broken with cross compilers,
18634 # most powerpc-linux boxes support dynamic linking these days and
18635 # people can always --disable-shared, the test was removed, and we
18636 # assume the GNU/Linux dynamic linker is in use.
18637 dynamic_linker='GNU/Linux ld.so'
18644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18645 soname_spec='${libname}${release}${shared_ext}$major'
18646 shlibpath_var=LD_LIBRARY_PATH
18647 shlibpath_overrides_runpath=no
18648 hardcode_into_libs=yes
18649 dynamic_linker='GNU ld.so'
18656 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18658 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18659 dynamic_linker='NetBSD (a.out) ld.so'
18661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18662 soname_spec='${libname}${release}${shared_ext}$major'
18663 dynamic_linker='NetBSD ld.elf_so'
18665 shlibpath_var=LD_LIBRARY_PATH
18666 shlibpath_overrides_runpath=yes
18667 hardcode_into_libs=yes
18672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18673 shlibpath_var=LD_LIBRARY_PATH
18674 shlibpath_overrides_runpath=yes
18681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18682 soname_spec='${libname}${release}${shared_ext}$major'
18683 shlibpath_var=LD_LIBRARY_PATH
18684 shlibpath_overrides_runpath=yes
18691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18692 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18693 shlibpath_var=LD_LIBRARY_PATH
18694 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18696 openbsd2.[89] | openbsd2.[89].*)
18697 shlibpath_overrides_runpath=no
18700 shlibpath_overrides_runpath=yes
18704 shlibpath_overrides_runpath=yes
18709 libname_spec='$name'
18712 library_names_spec='$libname${shared_ext} $libname.a'
18713 dynamic_linker='OS/2 ld.exe'
18714 shlibpath_var=LIBPATH
18717 osf3* | osf4* | osf5*)
18721 soname_spec='${libname}${release}${shared_ext}$major'
18722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18723 shlibpath_var=LD_LIBRARY_PATH
18724 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18725 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18730 soname_spec='${libname}${release}${shared_ext}$major'
18731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18732 shlibpath_var=LD_LIBRARY_PATH
18739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18740 soname_spec='${libname}${release}${shared_ext}$major'
18741 shlibpath_var=LD_LIBRARY_PATH
18742 shlibpath_overrides_runpath=yes
18743 hardcode_into_libs=yes
18744 # ldd complains unless libraries are executable
18745 postinstall_cmds='chmod +x $lib'
18750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18751 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18752 shlibpath_var=LD_LIBRARY_PATH
18753 shlibpath_overrides_runpath=yes
18754 if test "$with_gnu_ld" = yes; then
18760 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18763 soname_spec='${libname}${release}${shared_ext}$major'
18764 shlibpath_var=LD_LIBRARY_PATH
18765 case $host_vendor in
18767 shlibpath_overrides_runpath=no
18769 export_dynamic_flag_spec='${wl}-Blargedynsym'
18770 runpath_var=LD_RUN_PATH
18778 shlibpath_overrides_runpath=no
18779 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18785 if test -d /usr/nec ;then
18787 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18788 soname_spec='$libname${shared_ext}.$major'
18789 shlibpath_var=LD_LIBRARY_PATH
18795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18796 soname_spec='${libname}${release}${shared_ext}$major'
18797 shlibpath_var=LD_LIBRARY_PATH
18804 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18805 echo "${ECHO_T}$dynamic_linker" >&6
18806 test "$dynamic_linker" = no && can_build_shared=no
18808 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18809 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18810 hardcode_action_CXX=
18811 if test -n "$hardcode_libdir_flag_spec_CXX" || \
18812 test -n "$runpath_var CXX" || \
18813 test "X$hardcode_automatic_CXX"="Xyes" ; then
18815 # We can hardcode non-existant directories.
18816 if test "$hardcode_direct_CXX" != no &&
18817 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18818 # have to relink, otherwise we might link with an installed library
18819 # when we should be linking with a yet-to-be-installed one
18820 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18821 test "$hardcode_minus_L_CXX" != no; then
18822 # Linking always hardcodes the temporary library directory.
18823 hardcode_action_CXX=relink
18825 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18826 hardcode_action_CXX=immediate
18829 # We cannot hardcode anything, or else we can only hardcode existing
18831 hardcode_action_CXX=unsupported
18833 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
18834 echo "${ECHO_T}$hardcode_action_CXX" >&6
18836 if test "$hardcode_action_CXX" = relink; then
18837 # Fast installation is not supported
18838 enable_fast_install=no
18839 elif test "$shlibpath_overrides_runpath" = yes ||
18840 test "$enable_shared" = no; then
18841 # Fast installation is not necessary
18842 enable_fast_install=needless
18847 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18848 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18849 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18850 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18851 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18852 echo "$as_me:$LINENO: result: yes" >&5
18853 echo "${ECHO_T}yes" >&6
18855 # FIXME - insert some real tests, host_os isn't really good enough
18858 if test -n "$STRIP" ; then
18859 striplib="$STRIP -x"
18860 echo "$as_me:$LINENO: result: yes" >&5
18861 echo "${ECHO_T}yes" >&6
18863 echo "$as_me:$LINENO: result: no" >&5
18864 echo "${ECHO_T}no" >&6
18868 echo "$as_me:$LINENO: result: no" >&5
18869 echo "${ECHO_T}no" >&6
18874 if test "x$enable_dlopen" != xyes; then
18875 enable_dlopen=unknown
18876 enable_dlopen_self=unknown
18877 enable_dlopen_self_static=unknown
18884 lt_cv_dlopen="load_add_on"
18886 lt_cv_dlopen_self=yes
18890 lt_cv_dlopen="LoadLibrary"
18895 lt_cv_dlopen="dlopen"
18900 # if libdl is installed we need to link against it
18901 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18902 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18903 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 ac_check_lib_save_LIBS=$LIBS
18908 cat >conftest.$ac_ext <<_ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18915 /* Override any gcc2 internal prototype to avoid an error. */
18919 /* We use char because int might match the return type of a gcc2
18920 builtin and then its argument prototype would still apply. */
18930 rm -f conftest.$ac_objext conftest$ac_exeext
18931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18932 (eval $ac_link) 2>conftest.er1
18934 grep -v '^ *+' conftest.er1 >conftest.err
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } &&
18939 { ac_try='test -z "$ac_cxx_werror_flag"
18940 || test ! -s conftest.err'
18941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942 (eval $ac_try) 2>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); }; } &&
18946 { ac_try='test -s conftest$ac_exeext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 ac_cv_lib_dl_dlopen=yes
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18957 ac_cv_lib_dl_dlopen=no
18959 rm -f conftest.err conftest.$ac_objext \
18960 conftest$ac_exeext conftest.$ac_ext
18961 LIBS=$ac_check_lib_save_LIBS
18963 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18964 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18965 if test $ac_cv_lib_dl_dlopen = yes; then
18966 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18969 lt_cv_dlopen="dyld"
18971 lt_cv_dlopen_self=yes
18978 echo "$as_me:$LINENO: checking for shl_load" >&5
18979 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18980 if test "${ac_cv_func_shl_load+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 cat >conftest.$ac_ext <<_ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18991 #define shl_load innocuous_shl_load
18993 /* System header to define __stub macros and hopefully few prototypes,
18994 which can conflict with char shl_load (); below.
18995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18996 <limits.h> exists even on freestanding compilers. */
18999 # include <limits.h>
19001 # include <assert.h>
19006 /* Override any gcc2 internal prototype to avoid an error. */
19011 /* We use char because int might match the return type of a gcc2
19012 builtin and then its argument prototype would still apply. */
19014 /* The GNU C library defines this for functions which it implements
19015 to always fail with ENOSYS. Some functions are actually named
19016 something starting with __ and the normal name is an alias. */
19017 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19020 char (*f) () = shl_load;
19029 return f != shl_load;
19034 rm -f conftest.$ac_objext conftest$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036 (eval $ac_link) 2>conftest.er1
19038 grep -v '^ *+' conftest.er1 >conftest.err
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } &&
19043 { ac_try='test -z "$ac_cxx_werror_flag"
19044 || test ! -s conftest.err'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; } &&
19050 { ac_try='test -s conftest$ac_exeext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_cv_func_shl_load=yes
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.$ac_ext >&5
19061 ac_cv_func_shl_load=no
19063 rm -f conftest.err conftest.$ac_objext \
19064 conftest$ac_exeext conftest.$ac_ext
19066 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19067 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19068 if test $ac_cv_func_shl_load = yes; then
19069 lt_cv_dlopen="shl_load"
19071 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19072 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19073 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19074 echo $ECHO_N "(cached) $ECHO_C" >&6
19076 ac_check_lib_save_LIBS=$LIBS
19078 cat >conftest.$ac_ext <<_ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19085 /* Override any gcc2 internal prototype to avoid an error. */
19089 /* We use char because int might match the return type of a gcc2
19090 builtin and then its argument prototype would still apply. */
19100 rm -f conftest.$ac_objext conftest$ac_exeext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19102 (eval $ac_link) 2>conftest.er1
19104 grep -v '^ *+' conftest.er1 >conftest.err
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try='test -z "$ac_cxx_werror_flag"
19110 || test ! -s conftest.err'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try='test -s conftest$ac_exeext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 ac_cv_lib_dld_shl_load=yes
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 ac_cv_lib_dld_shl_load=no
19129 rm -f conftest.err conftest.$ac_objext \
19130 conftest$ac_exeext conftest.$ac_ext
19131 LIBS=$ac_check_lib_save_LIBS
19133 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19134 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19135 if test $ac_cv_lib_dld_shl_load = yes; then
19136 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19138 echo "$as_me:$LINENO: checking for dlopen" >&5
19139 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19140 if test "${ac_cv_func_dlopen+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 cat >conftest.$ac_ext <<_ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19151 #define dlopen innocuous_dlopen
19153 /* System header to define __stub macros and hopefully few prototypes,
19154 which can conflict with char dlopen (); below.
19155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19156 <limits.h> exists even on freestanding compilers. */
19159 # include <limits.h>
19161 # include <assert.h>
19166 /* Override any gcc2 internal prototype to avoid an error. */
19171 /* We use char because int might match the return type of a gcc2
19172 builtin and then its argument prototype would still apply. */
19174 /* The GNU C library defines this for functions which it implements
19175 to always fail with ENOSYS. Some functions are actually named
19176 something starting with __ and the normal name is an alias. */
19177 #if defined (__stub_dlopen) || defined (__stub___dlopen)
19180 char (*f) () = dlopen;
19189 return f != dlopen;
19194 rm -f conftest.$ac_objext conftest$ac_exeext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19196 (eval $ac_link) 2>conftest.er1
19198 grep -v '^ *+' conftest.er1 >conftest.err
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } &&
19203 { ac_try='test -z "$ac_cxx_werror_flag"
19204 || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try='test -s conftest$ac_exeext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19216 ac_cv_func_dlopen=yes
19218 echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.$ac_ext >&5
19221 ac_cv_func_dlopen=no
19223 rm -f conftest.err conftest.$ac_objext \
19224 conftest$ac_exeext conftest.$ac_ext
19226 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19227 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19228 if test $ac_cv_func_dlopen = yes; then
19229 lt_cv_dlopen="dlopen"
19231 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19234 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 ac_check_lib_save_LIBS=$LIBS
19238 cat >conftest.$ac_ext <<_ACEOF
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19245 /* Override any gcc2 internal prototype to avoid an error. */
19249 /* We use char because int might match the return type of a gcc2
19250 builtin and then its argument prototype would still apply. */
19260 rm -f conftest.$ac_objext conftest$ac_exeext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262 (eval $ac_link) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1 >conftest.err
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try='test -z "$ac_cxx_werror_flag"
19270 || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try='test -s conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 ac_cv_lib_dl_dlopen=yes
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_cv_lib_dl_dlopen=no
19289 rm -f conftest.err conftest.$ac_objext \
19290 conftest$ac_exeext conftest.$ac_ext
19291 LIBS=$ac_check_lib_save_LIBS
19293 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19294 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19295 if test $ac_cv_lib_dl_dlopen = yes; then
19296 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19298 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19299 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19300 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 ac_check_lib_save_LIBS=$LIBS
19304 LIBS="-lsvld $LIBS"
19305 cat >conftest.$ac_ext <<_ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19312 /* Override any gcc2 internal prototype to avoid an error. */
19316 /* We use char because int might match the return type of a gcc2
19317 builtin and then its argument prototype would still apply. */
19327 rm -f conftest.$ac_objext conftest$ac_exeext
19328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19329 (eval $ac_link) 2>conftest.er1
19331 grep -v '^ *+' conftest.er1 >conftest.err
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } &&
19336 { ac_try='test -z "$ac_cxx_werror_flag"
19337 || test ! -s conftest.err'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; } &&
19343 { ac_try='test -s conftest$ac_exeext'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; }; then
19349 ac_cv_lib_svld_dlopen=yes
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 ac_cv_lib_svld_dlopen=no
19356 rm -f conftest.err conftest.$ac_objext \
19357 conftest$ac_exeext conftest.$ac_ext
19358 LIBS=$ac_check_lib_save_LIBS
19360 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19361 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19362 if test $ac_cv_lib_svld_dlopen = yes; then
19363 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19365 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19366 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19367 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 ac_check_lib_save_LIBS=$LIBS
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19379 /* Override any gcc2 internal prototype to avoid an error. */
19383 /* We use char because int might match the return type of a gcc2
19384 builtin and then its argument prototype would still apply. */
19394 rm -f conftest.$ac_objext conftest$ac_exeext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19396 (eval $ac_link) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1 >conftest.err
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_cxx_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try='test -s conftest$ac_exeext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 ac_cv_lib_dld_dld_link=yes
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19421 ac_cv_lib_dld_dld_link=no
19423 rm -f conftest.err conftest.$ac_objext \
19424 conftest$ac_exeext conftest.$ac_ext
19425 LIBS=$ac_check_lib_save_LIBS
19427 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19428 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19429 if test $ac_cv_lib_dld_dld_link = yes; then
19430 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19451 if test "x$lt_cv_dlopen" != xno; then
19457 case $lt_cv_dlopen in
19459 save_CPPFLAGS="$CPPFLAGS"
19460 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19462 save_LDFLAGS="$LDFLAGS"
19463 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19466 LIBS="$lt_cv_dlopen_libs $LIBS"
19468 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19469 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19470 if test "${lt_cv_dlopen_self+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 if test "$cross_compiling" = yes; then :
19474 lt_cv_dlopen_self=cross
19476 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19477 lt_status=$lt_dlunknown
19478 cat > conftest.$ac_ext <<EOF
19479 #line 19479 "configure"
19480 #include "confdefs.h"
19489 # define LT_DLGLOBAL RTLD_GLOBAL
19492 # define LT_DLGLOBAL DL_GLOBAL
19494 # define LT_DLGLOBAL 0
19498 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19499 find out it does not work in some platform. */
19500 #ifndef LT_DLLAZY_OR_NOW
19502 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19505 # define LT_DLLAZY_OR_NOW DL_LAZY
19508 # define LT_DLLAZY_OR_NOW RTLD_NOW
19511 # define LT_DLLAZY_OR_NOW DL_NOW
19513 # define LT_DLLAZY_OR_NOW 0
19521 extern "C" void exit (int);
19524 void fnord() { int i=42;}
19527 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19528 int status = $lt_dlunknown;
19532 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19533 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19534 /* dlclose (self); */
19540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19541 (eval $ac_link) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19545 (./conftest; exit; ) 2>/dev/null
19547 case x$lt_status in
19548 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19549 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19550 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19553 # compilation failed
19554 lt_cv_dlopen_self=no
19561 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19562 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19564 if test "x$lt_cv_dlopen_self" = xyes; then
19565 LDFLAGS="$LDFLAGS $link_static_flag"
19566 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19567 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19568 if test "${lt_cv_dlopen_self_static+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 if test "$cross_compiling" = yes; then :
19572 lt_cv_dlopen_self_static=cross
19574 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19575 lt_status=$lt_dlunknown
19576 cat > conftest.$ac_ext <<EOF
19577 #line 19577 "configure"
19578 #include "confdefs.h"
19587 # define LT_DLGLOBAL RTLD_GLOBAL
19590 # define LT_DLGLOBAL DL_GLOBAL
19592 # define LT_DLGLOBAL 0
19596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19597 find out it does not work in some platform. */
19598 #ifndef LT_DLLAZY_OR_NOW
19600 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19603 # define LT_DLLAZY_OR_NOW DL_LAZY
19606 # define LT_DLLAZY_OR_NOW RTLD_NOW
19609 # define LT_DLLAZY_OR_NOW DL_NOW
19611 # define LT_DLLAZY_OR_NOW 0
19619 extern "C" void exit (int);
19622 void fnord() { int i=42;}
19625 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19626 int status = $lt_dlunknown;
19630 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19631 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19632 /* dlclose (self); */
19638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19639 (eval $ac_link) 2>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19643 (./conftest; exit; ) 2>/dev/null
19645 case x$lt_status in
19646 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19647 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19648 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19651 # compilation failed
19652 lt_cv_dlopen_self_static=no
19659 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19660 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19663 CPPFLAGS="$save_CPPFLAGS"
19664 LDFLAGS="$save_LDFLAGS"
19669 case $lt_cv_dlopen_self in
19670 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19671 *) enable_dlopen_self=unknown ;;
19674 case $lt_cv_dlopen_self_static in
19675 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19676 *) enable_dlopen_self_static=unknown ;;
19681 # The else clause should only fire when bootstrapping the
19682 # libtool distribution, otherwise you forgot to ship ltmain.sh
19683 # with your package, and you will get complaints that there are
19684 # no rules to generate ltmain.sh.
19685 if test -f "$ltmain"; then
19686 # See if we are running on zsh, and set the options which allow our commands through
19687 # without removal of \ escapes.
19688 if test -n "${ZSH_VERSION+set}" ; then
19689 setopt NO_GLOB_SUBST
19691 # Now quote all the things that may contain metacharacters while being
19692 # careful not to overquote the AC_SUBSTed values. We take copies of the
19693 # variables and quote the copies for generation of the libtool script.
19694 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19696 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19697 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19698 deplibs_check_method reload_flag reload_cmds need_locks \
19699 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19700 lt_cv_sys_global_symbol_to_c_name_address \
19701 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19702 old_postinstall_cmds old_postuninstall_cmds \
19706 lt_prog_compiler_wl_CXX \
19707 lt_prog_compiler_pic_CXX \
19708 lt_prog_compiler_static_CXX \
19709 lt_prog_compiler_no_builtin_flag_CXX \
19710 export_dynamic_flag_spec_CXX \
19711 thread_safe_flag_spec_CXX \
19712 whole_archive_flag_spec_CXX \
19713 enable_shared_with_static_runtimes_CXX \
19714 old_archive_cmds_CXX \
19715 old_archive_from_new_cmds_CXX \
19716 predep_objects_CXX \
19717 postdep_objects_CXX \
19720 compiler_lib_search_path_CXX \
19722 archive_expsym_cmds_CXX \
19723 postinstall_cmds_CXX \
19724 postuninstall_cmds_CXX \
19725 old_archive_from_expsyms_cmds_CXX \
19726 allow_undefined_flag_CXX \
19727 no_undefined_flag_CXX \
19728 export_symbols_cmds_CXX \
19729 hardcode_libdir_flag_spec_CXX \
19730 hardcode_libdir_flag_spec_ld_CXX \
19731 hardcode_libdir_separator_CXX \
19732 hardcode_automatic_CXX \
19734 module_expsym_cmds_CXX \
19735 lt_cv_prog_compiler_c_o_CXX \
19736 exclude_expsyms_CXX \
19737 include_expsyms_CXX; do
19740 old_archive_cmds_CXX | \
19741 old_archive_from_new_cmds_CXX | \
19742 archive_cmds_CXX | \
19743 archive_expsym_cmds_CXX | \
19744 module_cmds_CXX | \
19745 module_expsym_cmds_CXX | \
19746 old_archive_from_expsyms_cmds_CXX | \
19747 export_symbols_cmds_CXX | \
19748 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19749 postinstall_cmds | postuninstall_cmds | \
19750 old_postinstall_cmds | old_postuninstall_cmds | \
19751 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19752 # Double-quote double-evaled strings.
19753 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19756 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19762 *'\$0 --fallback-echo"')
19763 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19769 cat <<__EOF__ >> "$cfgfile"
19770 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19772 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19774 # Shell to use when invoking shell scripts.
19777 # Whether or not to build shared libraries.
19778 build_libtool_libs=$enable_shared
19780 # Whether or not to build static libraries.
19781 build_old_libs=$enable_static
19783 # Whether or not to add -lc for building shared libraries.
19784 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19786 # Whether or not to disallow shared libs when runtime libs are static
19787 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19789 # Whether or not to optimize for fast installation.
19790 fast_install=$enable_fast_install
19793 host_alias=$host_alias
19796 # An echo program that does not interpret backslashes.
19801 AR_FLAGS=$lt_AR_FLAGS
19806 # A language-specific compiler.
19807 CC=$lt_compiler_CXX
19809 # Is the compiler the GNU C compiler?
19815 # The linker used to build libraries.
19818 # Whether we need hard or soft links.
19821 # A BSD-compatible nm program.
19824 # A symbol stripping program
19827 # Used to examine libraries when file_magic_cmd begins "file"
19828 MAGIC_CMD=$MAGIC_CMD
19830 # Used on cygwin: DLL creation program.
19833 # Used on cygwin: object dumper.
19836 # Used on cygwin: assembler.
19839 # The name of the directory that contains temporary libtool files.
19842 # How to create reloadable object files.
19843 reload_flag=$lt_reload_flag
19844 reload_cmds=$lt_reload_cmds
19846 # How to pass a linker flag through the compiler.
19847 wl=$lt_lt_prog_compiler_wl_CXX
19849 # Object file suffix (normally "o").
19850 objext="$ac_objext"
19852 # Old archive suffix (normally "a").
19855 # Shared library suffix (normally ".so").
19856 shrext_cmds='$shrext_cmds'
19858 # Executable file suffix (normally "").
19861 # Additional compiler flags for building library objects.
19862 pic_flag=$lt_lt_prog_compiler_pic_CXX
19865 # What is the maximum length of a command?
19866 max_cmd_len=$lt_cv_sys_max_cmd_len
19868 # Does compiler simultaneously support -c and -o options?
19869 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19871 # Must we lock files when doing compilation ?
19872 need_locks=$lt_need_locks
19874 # Do we need the lib prefix for modules?
19875 need_lib_prefix=$need_lib_prefix
19877 # Do we need a version for libraries?
19878 need_version=$need_version
19880 # Whether dlopen is supported.
19881 dlopen_support=$enable_dlopen
19883 # Whether dlopen of programs is supported.
19884 dlopen_self=$enable_dlopen_self
19886 # Whether dlopen of statically linked programs is supported.
19887 dlopen_self_static=$enable_dlopen_self_static
19889 # Compiler flag to prevent dynamic linking.
19890 link_static_flag=$lt_lt_prog_compiler_static_CXX
19892 # Compiler flag to turn off builtin functions.
19893 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19895 # Compiler flag to allow reflexive dlopens.
19896 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19898 # Compiler flag to generate shared objects directly from archives.
19899 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19901 # Compiler flag to generate thread-safe objects.
19902 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
19904 # Library versioning type.
19905 version_type=$version_type
19907 # Format of library name prefix.
19908 libname_spec=$lt_libname_spec
19910 # List of archive names. First name is the real one, the rest are links.
19911 # The last name is the one that the linker finds with -lNAME.
19912 library_names_spec=$lt_library_names_spec
19914 # The coded name of the library, if different from the real name.
19915 soname_spec=$lt_soname_spec
19917 # Commands used to build and install an old-style archive.
19919 old_archive_cmds=$lt_old_archive_cmds_CXX
19920 old_postinstall_cmds=$lt_old_postinstall_cmds
19921 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19923 # Create an old-style archive from a shared archive.
19924 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19926 # Create a temporary old-style archive to link instead of a shared archive.
19927 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19929 # Commands used to build and install a shared archive.
19930 archive_cmds=$lt_archive_cmds_CXX
19931 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19932 postinstall_cmds=$lt_postinstall_cmds
19933 postuninstall_cmds=$lt_postuninstall_cmds
19935 # Commands used to build a loadable module (assumed same as above if empty)
19936 module_cmds=$lt_module_cmds_CXX
19937 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19939 # Commands to strip libraries.
19940 old_striplib=$lt_old_striplib
19941 striplib=$lt_striplib
19943 # Dependencies to place before the objects being linked to create a
19945 predep_objects=$lt_predep_objects_CXX
19947 # Dependencies to place after the objects being linked to create a
19949 postdep_objects=$lt_postdep_objects_CXX
19951 # Dependencies to place before the objects being linked to create a
19953 predeps=$lt_predeps_CXX
19955 # Dependencies to place after the objects being linked to create a
19957 postdeps=$lt_postdeps_CXX
19959 # The library search path used internally by the compiler when linking
19960 # a shared library.
19961 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19963 # Method to check whether dependent libraries are shared objects.
19964 deplibs_check_method=$lt_deplibs_check_method
19966 # Command to use when deplibs_check_method == file_magic.
19967 file_magic_cmd=$lt_file_magic_cmd
19969 # Flag that allows shared libraries with undefined symbols to be built.
19970 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19972 # Flag that forces no undefined symbols.
19973 no_undefined_flag=$lt_no_undefined_flag_CXX
19975 # Commands used to finish a libtool library installation in a directory.
19976 finish_cmds=$lt_finish_cmds
19978 # Same as above, but a single script fragment to be evaled but not shown.
19979 finish_eval=$lt_finish_eval
19981 # Take the output of nm and produce a listing of raw symbols and C names.
19982 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19984 # Transform the output of nm in a proper C declaration
19985 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19987 # Transform the output of nm in a C name address pair
19988 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19990 # This is the shared library runtime path variable.
19991 runpath_var=$runpath_var
19993 # This is the shared library path variable.
19994 shlibpath_var=$shlibpath_var
19996 # Is shlibpath searched before the hard-coded library search path?
19997 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19999 # How to hardcode a shared library path into an executable.
20000 hardcode_action=$hardcode_action_CXX
20002 # Whether we should hardcode library paths into libraries.
20003 hardcode_into_libs=$hardcode_into_libs
20005 # Flag to hardcode \$libdir into a binary during linking.
20006 # This must work even if \$libdir does not exist.
20007 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20009 # If ld is used when linking, flag to hardcode \$libdir into
20010 # a binary during linking. This must work even if \$libdir does
20012 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20014 # Whether we need a single -rpath flag with a separated argument.
20015 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20017 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20018 # resulting binary.
20019 hardcode_direct=$hardcode_direct_CXX
20021 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20022 # resulting binary.
20023 hardcode_minus_L=$hardcode_minus_L_CXX
20025 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20026 # the resulting binary.
20027 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20029 # Set to yes if building a shared library automatically hardcodes DIR into the library
20030 # and all subsequent libraries and executables linked against it.
20031 hardcode_automatic=$hardcode_automatic_CXX
20033 # Variables whose values should be saved in libtool wrapper scripts and
20034 # restored at relink time.
20035 variables_saved_for_relink="$variables_saved_for_relink"
20037 # Whether libtool must link a program against all its dependency libraries.
20038 link_all_deplibs=$link_all_deplibs_CXX
20040 # Compile-time system search path for libraries
20041 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20043 # Run-time system search path for libraries
20044 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20046 # Fix the shell variable \$srcfile for the compiler.
20047 fix_srcfile_path="$fix_srcfile_path_CXX"
20049 # Set to yes if exported symbols are required.
20050 always_export_symbols=$always_export_symbols_CXX
20052 # The commands to list exported symbols.
20053 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20055 # The commands to extract the exported symbol list from a shared archive.
20056 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20058 # Symbols that should not be listed in the preloaded symbols.
20059 exclude_expsyms=$lt_exclude_expsyms_CXX
20061 # Symbols that must always be exported.
20062 include_expsyms=$lt_include_expsyms_CXX
20064 # ### END LIBTOOL TAG CONFIG: $tagname
20070 # If there is no Makefile yet, we rely on a make rule to execute
20071 # `config.status --recheck' to rerun these tests and create the
20072 # libtool script then.
20073 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20074 if test -f "$ltmain_in"; then
20075 test -f Makefile && make "$ltmain"
20081 ac_cpp='$CPP $CPPFLAGS'
20082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20090 with_gnu_ldcxx=$with_gnu_ld
20091 with_gnu_ld=$lt_save_with_gnu_ld
20092 lt_cv_path_LDCXX=$lt_cv_path_LD
20093 lt_cv_path_LD=$lt_save_path_LD
20094 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20095 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20103 if test -n "$F77" && test "X$F77" != "Xno"; then
20106 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20107 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20108 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
20111 archive_cmds_need_lc_F77=no
20112 allow_undefined_flag_F77=
20113 always_export_symbols_F77=no
20114 archive_expsym_cmds_F77=
20115 export_dynamic_flag_spec_F77=
20116 hardcode_direct_F77=no
20117 hardcode_libdir_flag_spec_F77=
20118 hardcode_libdir_flag_spec_ld_F77=
20119 hardcode_libdir_separator_F77=
20120 hardcode_minus_L_F77=no
20121 hardcode_automatic_F77=no
20123 module_expsym_cmds_F77=
20124 link_all_deplibs_F77=unknown
20125 old_archive_cmds_F77=$old_archive_cmds
20126 no_undefined_flag_F77=
20127 whole_archive_flag_spec_F77=
20128 enable_shared_with_static_runtimes_F77=no
20130 # Source file extension for f77 test sources.
20133 # Object file extension for compiled f77 test sources.
20137 # Code to be used in simple compile tests
20138 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
20140 # Code to be used in simple link tests
20141 lt_simple_link_test_code=" program t\n end\n"
20143 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20145 # If no C compiler was specified, use CC.
20148 # Allow CC to be a program name with arguments.
20152 # Allow CC to be a program name with arguments.
20157 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
20159 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20160 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
20161 echo "$as_me:$LINENO: result: $can_build_shared" >&5
20162 echo "${ECHO_T}$can_build_shared" >&6
20164 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20165 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
20166 test "$can_build_shared" = "no" && enable_shared=no
20168 # On AIX, shared libraries and static libraries use the same namespace, and
20169 # are all built from PIC.
20172 test "$enable_shared" = yes && enable_static=no
20173 if test -n "$RANLIB"; then
20174 archive_cmds="$archive_cmds~\$RANLIB \$lib"
20175 postinstall_cmds='$RANLIB $lib'
20179 test "$enable_shared" = yes && enable_static=no
20182 echo "$as_me:$LINENO: result: $enable_shared" >&5
20183 echo "${ECHO_T}$enable_shared" >&6
20185 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20186 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
20187 # Make sure either enable_shared or enable_static is yes.
20188 test "$enable_shared" = yes || enable_static=yes
20189 echo "$as_me:$LINENO: result: $enable_static" >&5
20190 echo "${ECHO_T}$enable_static" >&6
20192 test "$ld_shlibs_F77" = no && can_build_shared=no
20197 lt_prog_compiler_wl_F77=
20198 lt_prog_compiler_pic_F77=
20199 lt_prog_compiler_static_F77=
20201 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20202 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
20204 if test "$GCC" = yes; then
20205 lt_prog_compiler_wl_F77='-Wl,'
20206 lt_prog_compiler_static_F77='-static'
20210 # All AIX code is PIC.
20211 if test "$host_cpu" = ia64; then
20212 # AIX 5 now supports IA64 processor
20213 lt_prog_compiler_static_F77='-Bstatic'
20218 # FIXME: we need at least 68020 code to build shared libraries, but
20219 # adding the `-m68020' flag to GCC prevents building anything better,
20221 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
20224 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20225 # PIC is the default for these OSes.
20228 mingw* | pw32* | os2*)
20229 # This hack is so that the source file can tell whether it is being
20230 # built for inclusion in a dll (and should export symbols for example).
20231 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20234 darwin* | rhapsody*)
20235 # PIC is the default on this platform
20236 # Common symbols not allowed in MH_DYLIB files
20237 lt_prog_compiler_pic_F77='-fno-common'
20241 # Just because we use GCC doesn't mean we suddenly get shared libraries
20242 # on systems that don't support them.
20243 lt_prog_compiler_can_build_shared_F77=no
20248 if test -d /usr/nec; then
20249 lt_prog_compiler_pic_F77=-Kconform_pic
20254 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20255 # not for PA HP-UX.
20256 case "$host_cpu" in
20261 lt_prog_compiler_pic_F77='-fPIC'
20267 lt_prog_compiler_pic_F77='-fPIC'
20271 # PORTME Check for flag to pass linker flags through the system compiler.
20274 lt_prog_compiler_wl_F77='-Wl,'
20275 if test "$host_cpu" = ia64; then
20276 # AIX 5 now supports IA64 processor
20277 lt_prog_compiler_static_F77='-Bstatic'
20279 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
20283 mingw* | pw32* | os2*)
20284 # This hack is so that the source file can tell whether it is being
20285 # built for inclusion in a dll (and should export symbols for example).
20286 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20289 hpux9* | hpux10* | hpux11*)
20290 lt_prog_compiler_wl_F77='-Wl,'
20291 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20292 # not for PA HP-UX.
20293 case "$host_cpu" in
20298 lt_prog_compiler_pic_F77='+Z'
20301 # Is there a better lt_prog_compiler_static that works with the bundled CC?
20302 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
20305 irix5* | irix6* | nonstopux*)
20306 lt_prog_compiler_wl_F77='-Wl,'
20307 # PIC (with -KPIC) is the default.
20308 lt_prog_compiler_static_F77='-non_shared'
20312 lt_prog_compiler_pic_F77='-KPIC'
20313 lt_prog_compiler_static_F77='-Bstatic'
20319 lt_prog_compiler_wl_F77='-Wl,'
20320 lt_prog_compiler_pic_F77='-KPIC'
20321 lt_prog_compiler_static_F77='-static'
20324 lt_prog_compiler_wl_F77='-Wl,'
20325 # All Alpha code is PIC.
20326 lt_prog_compiler_static_F77='-non_shared'
20331 osf3* | osf4* | osf5*)
20332 lt_prog_compiler_wl_F77='-Wl,'
20333 # All OSF/1 code is PIC.
20334 lt_prog_compiler_static_F77='-non_shared'
20338 lt_prog_compiler_pic_F77='-Kpic'
20339 lt_prog_compiler_static_F77='-dn'
20343 lt_prog_compiler_wl_F77='-Wl,'
20344 lt_prog_compiler_pic_F77='-KPIC'
20345 lt_prog_compiler_static_F77='-Bstatic'
20349 lt_prog_compiler_wl_F77='-Qoption ld '
20350 lt_prog_compiler_pic_F77='-PIC'
20351 lt_prog_compiler_static_F77='-Bstatic'
20354 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20355 lt_prog_compiler_wl_F77='-Wl,'
20356 lt_prog_compiler_pic_F77='-KPIC'
20357 lt_prog_compiler_static_F77='-Bstatic'
20361 if test -d /usr/nec ;then
20362 lt_prog_compiler_pic_F77='-Kconform_pic'
20363 lt_prog_compiler_static_F77='-Bstatic'
20368 lt_prog_compiler_pic_F77='-pic'
20369 lt_prog_compiler_static_F77='-Bstatic'
20373 lt_prog_compiler_can_build_shared_F77=no
20378 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20379 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
20382 # Check to make sure the PIC flag actually works.
20384 if test -n "$lt_prog_compiler_pic_F77"; then
20386 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20387 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
20388 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 lt_prog_compiler_pic_works_F77=no
20392 ac_outfile=conftest.$ac_objext
20393 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20394 lt_compiler_flag="$lt_prog_compiler_pic_F77"
20395 # Insert the option either (1) after the last *FLAGS variable, or
20396 # (2) before a word containing "conftest.", or (3) at the end.
20397 # Note that $ac_compile itself does not contain backslashes and begins
20398 # with a dollar sign (not a hyphen), so the echo should work correctly.
20399 # The option is referenced via a variable to avoid confusing sed.
20400 lt_compile=`echo "$ac_compile" | $SED \
20401 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20403 -e 's:$: $lt_compiler_flag:'`
20404 (eval echo "\"\$as_me:20404: $lt_compile\"" >&5)
20405 (eval "$lt_compile" 2>conftest.err)
20407 cat conftest.err >&5
20408 echo "$as_me:20408: \$? = $ac_status" >&5
20409 if (exit $ac_status) && test -s "$ac_outfile"; then
20410 # The compiler can only warn and ignore the option if not recognized
20411 # So say no if there are warnings
20412 if test ! -s conftest.err; then
20413 lt_prog_compiler_pic_works_F77=yes
20419 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
20420 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
20422 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
20423 case $lt_prog_compiler_pic_F77 in
20425 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
20428 lt_prog_compiler_pic_F77=
20429 lt_prog_compiler_can_build_shared_F77=no
20434 # For platforms which do not support PIC, -DPIC is meaningless:
20436 lt_prog_compiler_pic_F77=
20439 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
20443 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20444 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
20445 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 lt_cv_prog_compiler_c_o_F77=no
20449 $rm -r conftest 2>/dev/null
20453 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20455 lt_compiler_flag="-o out/conftest2.$ac_objext"
20456 # Insert the option either (1) after the last *FLAGS variable, or
20457 # (2) before a word containing "conftest.", or (3) at the end.
20458 # Note that $ac_compile itself does not contain backslashes and begins
20459 # with a dollar sign (not a hyphen), so the echo should work correctly.
20460 lt_compile=`echo "$ac_compile" | $SED \
20461 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20463 -e 's:$: $lt_compiler_flag:'`
20464 (eval echo "\"\$as_me:20464: $lt_compile\"" >&5)
20465 (eval "$lt_compile" 2>out/conftest.err)
20467 cat out/conftest.err >&5
20468 echo "$as_me:20468: \$? = $ac_status" >&5
20469 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20471 # The compiler can only warn and ignore the option if not recognized
20472 # So say no if there are warnings
20473 if test ! -s out/conftest.err; then
20474 lt_cv_prog_compiler_c_o_F77=yes
20479 # SGI C++ compiler will create directory out/ii_files/ for
20480 # template instantiation
20481 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20482 $rm out/* && rmdir out
20488 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20489 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
20492 hard_links="nottested"
20493 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20494 # do not overwrite the value of need_locks provided by the user
20495 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20496 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20499 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20501 ln conftest.a conftest.b 2>&5 || hard_links=no
20502 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20503 echo "$as_me:$LINENO: result: $hard_links" >&5
20504 echo "${ECHO_T}$hard_links" >&6
20505 if test "$hard_links" = no; then
20506 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20507 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20514 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20515 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20518 allow_undefined_flag_F77=
20519 enable_shared_with_static_runtimes_F77=no
20521 archive_expsym_cmds_F77=
20522 old_archive_From_new_cmds_F77=
20523 old_archive_from_expsyms_cmds_F77=
20524 export_dynamic_flag_spec_F77=
20525 whole_archive_flag_spec_F77=
20526 thread_safe_flag_spec_F77=
20527 hardcode_libdir_flag_spec_F77=
20528 hardcode_libdir_flag_spec_ld_F77=
20529 hardcode_libdir_separator_F77=
20530 hardcode_direct_F77=no
20531 hardcode_minus_L_F77=no
20532 hardcode_shlibpath_var_F77=unsupported
20533 link_all_deplibs_F77=unknown
20534 hardcode_automatic_F77=no
20536 module_expsym_cmds_F77=
20537 always_export_symbols_F77=no
20538 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20539 # include_expsyms should be a list of space-separated symbols to be *always*
20540 # included in the symbol list
20541 include_expsyms_F77=
20542 # exclude_expsyms can be an extended regexp of symbols to exclude
20543 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20544 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20545 # as well as any symbol that contains `d'.
20546 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
20547 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20548 # platforms (ab)use it in PIC code, but their linkers get confused if
20549 # the symbol is explicitly referenced. Since portable code cannot
20550 # rely on this symbol name, it's probably fine to never include it in
20551 # preloaded symbol tables.
20552 extract_expsyms_cmds=
20555 cygwin* | mingw* | pw32*)
20556 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20557 # When not using gcc, we currently assume that we are using
20558 # Microsoft Visual C++.
20559 if test "$GCC" != yes; then
20569 if test "$with_gnu_ld" = yes; then
20570 # If archive_cmds runs LD, not CC, wlarc should be empty
20573 # See if GNU ld supports shared libraries.
20575 aix3* | aix4* | aix5*)
20576 # On AIX/PPC, the GNU linker is very broken
20577 if test "$host_cpu" != ia64; then
20581 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20582 *** to be unable to reliably create shared libraries on AIX.
20583 *** Therefore, libtool is disabling shared libraries support. If you
20584 *** really care for shared libraries, you may want to modify your PATH
20585 *** so that a non-GNU linker is found, and then restart.
20592 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)'
20593 hardcode_libdir_flag_spec_F77='-L$libdir'
20594 hardcode_minus_L_F77=yes
20596 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20597 # that the semantics of dynamic libraries on AmigaOS, at least up
20598 # to version 4, is to share data among multiple programs linked
20599 # with the same dynamic library. Since this doesn't match the
20600 # behavior of shared libraries on other platforms, we can't use
20606 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20607 allow_undefined_flag_F77=unsupported
20608 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20609 # support --undefined. This deserves some investigation. FIXME
20610 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20616 cygwin* | mingw* | pw32*)
20617 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
20618 # as there is no search path for DLLs.
20619 hardcode_libdir_flag_spec_F77='-L$libdir'
20620 allow_undefined_flag_F77=unsupported
20621 always_export_symbols_F77=no
20622 enable_shared_with_static_runtimes_F77=yes
20623 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20625 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20626 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20627 # If the export-symbols file already is a .def file (1st line
20628 # is EXPORTS), use it as is; otherwise, prepend...
20629 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20630 cp $export_symbols $output_objdir/$soname.def;
20632 echo EXPORTS > $output_objdir/$soname.def;
20633 cat $export_symbols >> $output_objdir/$soname.def;
20635 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20642 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20643 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20646 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20647 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20652 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20656 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20657 *** create shared libraries on Solaris systems. Therefore, libtool
20658 *** is disabling shared libraries support. We urge you to upgrade GNU
20659 *** binutils to release 2.9.1 or newer. Another option is to modify
20660 *** your PATH or compiler configuration so that the native linker is
20661 *** used, and then restart.
20664 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20665 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20666 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20673 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20675 hardcode_direct_F77=yes
20676 hardcode_shlibpath_var_F77=no
20680 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20681 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20682 archive_cmds_F77="$tmp_archive_cmds"
20683 supports_anon_versioning=no
20684 case `$LD -v 2>/dev/null` in
20685 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20686 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20687 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20688 *\ 2.11.*) ;; # other 2.11 versions
20689 *) supports_anon_versioning=yes ;;
20691 if test $supports_anon_versioning = yes; then
20692 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
20693 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20694 $echo "local: *; };" >> $output_objdir/$libname.ver~
20695 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20697 archive_expsym_cmds_F77="$tmp_archive_cmds"
20705 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20706 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20707 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20714 if test "$ld_shlibs_F77" = yes; then
20715 runpath_var=LD_RUN_PATH
20716 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20717 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20718 # ancient GNU ld didn't support --whole-archive et. al.
20719 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20720 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20722 whole_archive_flag_spec_F77=
20726 # PORTME fill in a description of your system's linker (not GNU ld)
20729 allow_undefined_flag_F77=unsupported
20730 always_export_symbols_F77=yes
20731 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'
20732 # Note: this linker hardcodes the directories in LIBPATH if there
20733 # are no directories specified by -L.
20734 hardcode_minus_L_F77=yes
20735 if test "$GCC" = yes && test -z "$link_static_flag"; then
20736 # Neither direct hardcoding nor static linking is supported with a
20738 hardcode_direct_F77=unsupported
20743 if test "$host_cpu" = ia64; then
20744 # On IA64, the linker does run time linking by default, so we don't
20745 # have to do anything special.
20746 aix_use_runtimelinking=no
20747 exp_sym_flag='-Bexport'
20750 # If we're using GNU nm, then we don't want the "-C" option.
20751 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20752 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20753 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'
20755 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'
20757 aix_use_runtimelinking=no
20759 # Test if we are trying to use run time linking or normal
20760 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20761 # need to do runtime linking.
20762 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20763 for ld_flag in $LDFLAGS; do
20764 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20765 aix_use_runtimelinking=yes
20771 exp_sym_flag='-bexport'
20772 no_entry_flag='-bnoentry'
20775 # When large executables or shared objects are built, AIX ld can
20776 # have problems creating the table of contents. If linking a library
20777 # or program results in "error TOC overflow" add -mminimal-toc to
20778 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20779 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20781 archive_cmds_F77=''
20782 hardcode_direct_F77=yes
20783 hardcode_libdir_separator_F77=':'
20784 link_all_deplibs_F77=yes
20786 if test "$GCC" = yes; then
20787 case $host_os in aix4.012|aix4.012.*)
20788 # We only want to do this on AIX 4.2 and lower, the check
20789 # below for broken collect2 doesn't work under 4.3+
20790 collect2name=`${CC} -print-prog-name=collect2`
20791 if test -f "$collect2name" && \
20792 strings "$collect2name" | grep resolve_lib_name >/dev/null
20794 # We have reworked collect2
20795 hardcode_direct_F77=yes
20797 # We have old collect2
20798 hardcode_direct_F77=unsupported
20799 # It fails to find uninstalled libraries when the uninstalled
20800 # path is not listed in the libpath. Setting hardcode_minus_L
20801 # to unsupported forces relinking
20802 hardcode_minus_L_F77=yes
20803 hardcode_libdir_flag_spec_F77='-L$libdir'
20804 hardcode_libdir_separator_F77=
20807 shared_flag='-shared'
20810 if test "$host_cpu" = ia64; then
20811 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20812 # chokes on -Wl,-G. The following line is correct:
20815 if test "$aix_use_runtimelinking" = yes; then
20816 shared_flag='${wl}-G'
20818 shared_flag='${wl}-bM:SRE'
20823 # It seems that -bexpall does not export symbols beginning with
20824 # underscore (_), so it is better to generate a list of symbols to export.
20825 always_export_symbols_F77=yes
20826 if test "$aix_use_runtimelinking" = yes; then
20827 # Warning - without using the other runtime loading flags (-brtl),
20828 # -berok will link without error, but may produce a broken library.
20829 allow_undefined_flag_F77='-berok'
20830 # Determine the default libpath from the value encoded in an empty executable.
20831 cat >conftest.$ac_ext <<_ACEOF
20836 rm -f conftest.$ac_objext conftest$ac_exeext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838 (eval $ac_link) 2>conftest.er1
20840 grep -v '^ *+' conftest.er1 >conftest.err
20842 cat conftest.err >&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try='test -z "$ac_f77_werror_flag"
20846 || test ! -s conftest.err'
20847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848 (eval $ac_try) 2>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); }; } &&
20852 { ac_try='test -s conftest$ac_exeext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20859 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20861 # Check for a 64-bit object if we didn't find anything.
20862 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; }
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.$ac_ext >&5
20869 rm -f conftest.err conftest.$ac_objext \
20870 conftest$ac_exeext conftest.$ac_ext
20871 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20873 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20874 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"
20876 if test "$host_cpu" = ia64; then
20877 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
20878 allow_undefined_flag_F77="-z nodefs"
20879 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"
20881 # Determine the default libpath from the value encoded in an empty executable.
20882 cat >conftest.$ac_ext <<_ACEOF
20887 rm -f conftest.$ac_objext conftest$ac_exeext
20888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20889 (eval $ac_link) 2>conftest.er1
20891 grep -v '^ *+' conftest.er1 >conftest.err
20893 cat conftest.err >&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } &&
20896 { ac_try='test -z "$ac_f77_werror_flag"
20897 || test ! -s conftest.err'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; } &&
20903 { ac_try='test -s conftest$ac_exeext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20910 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20912 # Check for a 64-bit object if we didn't find anything.
20913 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; }
20916 echo "$as_me: failed program was:" >&5
20917 sed 's/^/| /' conftest.$ac_ext >&5
20920 rm -f conftest.err conftest.$ac_objext \
20921 conftest$ac_exeext conftest.$ac_ext
20922 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20924 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20925 # Warning - without using the other run time loading flags,
20926 # -berok will link without error, but may produce a broken library.
20927 no_undefined_flag_F77=' ${wl}-bernotok'
20928 allow_undefined_flag_F77=' ${wl}-berok'
20929 # -bexpall does not export symbols beginning with underscore (_)
20930 always_export_symbols_F77=yes
20931 # Exported symbols can be pulled into shared objects from archives
20932 whole_archive_flag_spec_F77=' '
20933 archive_cmds_need_lc_F77=yes
20934 # This is similar to how AIX traditionally builds it's shared libraries.
20935 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'
20941 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)'
20942 hardcode_libdir_flag_spec_F77='-L$libdir'
20943 hardcode_minus_L_F77=yes
20944 # see comment about different semantics on the GNU ld section
20949 export_dynamic_flag_spec_F77=-rdynamic
20952 cygwin* | mingw* | pw32*)
20953 # When not using gcc, we currently assume that we are using
20954 # Microsoft Visual C++.
20955 # hardcode_libdir_flag_spec is actually meaningless, as there is
20956 # no search path for DLLs.
20957 hardcode_libdir_flag_spec_F77=' '
20958 allow_undefined_flag_F77=unsupported
20959 # Tell ltmain to make .lib files, not .a files.
20961 # Tell ltmain to make .dll files, not .so files.
20963 # FIXME: Setting linknames here is a bad hack.
20964 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20965 # The linker will automatically build a .lib file if we build a DLL.
20966 old_archive_From_new_cmds_F77='true'
20967 # FIXME: Should let the user specify the lib program.
20968 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20969 fix_srcfile_path='`cygpath -w "$srcfile"`'
20970 enable_shared_with_static_runtimes_F77=yes
20973 darwin* | rhapsody*)
20974 if test "$GXX" = yes ; then
20975 archive_cmds_need_lc_F77=no
20977 rhapsody* | darwin1.[012])
20978 allow_undefined_flag_F77='-undefined suppress'
20981 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20982 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
20984 case ${MACOSX_DEPLOYMENT_TARGET} in
20986 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
20989 allow_undefined_flag_F77='-undefined dynamic_lookup'
20995 lt_int_apple_cc_single_mod=no
20996 output_verbose_link_cmd='echo'
20997 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20998 lt_int_apple_cc_single_mod=yes
21000 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
21001 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21003 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'
21005 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21006 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
21007 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
21008 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}'
21010 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}'
21012 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}'
21013 hardcode_direct_F77=no
21014 hardcode_automatic_F77=yes
21015 hardcode_shlibpath_var_F77=unsupported
21016 whole_archive_flag_spec_F77='-all_load $convenience'
21017 link_all_deplibs_F77=yes
21024 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21025 hardcode_libdir_flag_spec_F77='-L$libdir'
21026 hardcode_shlibpath_var_F77=no
21033 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21034 # support. Future versions do this automatically, but an explicit c++rt0.o
21035 # does not break anything, and helps significantly (at the cost of a little
21038 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21039 hardcode_libdir_flag_spec_F77='-R$libdir'
21040 hardcode_direct_F77=yes
21041 hardcode_shlibpath_var_F77=no
21044 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21046 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21047 hardcode_direct_F77=yes
21048 hardcode_minus_L_F77=yes
21049 hardcode_shlibpath_var_F77=no
21052 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21053 freebsd* | kfreebsd*-gnu)
21054 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21055 hardcode_libdir_flag_spec_F77='-R$libdir'
21056 hardcode_direct_F77=yes
21057 hardcode_shlibpath_var_F77=no
21061 if test "$GCC" = yes; then
21062 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'
21064 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'
21066 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21067 hardcode_libdir_separator_F77=:
21068 hardcode_direct_F77=yes
21070 # hardcode_minus_L: Not really in the search PATH,
21071 # but as the default location of the library.
21072 hardcode_minus_L_F77=yes
21073 export_dynamic_flag_spec_F77='${wl}-E'
21077 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21078 case "$host_cpu" in
21080 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21083 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21087 case "$host_cpu" in
21089 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
21092 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21096 if test "$with_gnu_ld" = no; then
21097 case "$host_cpu" in
21099 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21100 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
21101 hardcode_libdir_separator_F77=:
21102 hardcode_direct_F77=no
21103 hardcode_shlibpath_var_F77=no
21106 hardcode_libdir_flag_spec_F77='-L$libdir'
21107 hardcode_direct_F77=no
21108 hardcode_shlibpath_var_F77=no
21110 # hardcode_minus_L: Not really in the search PATH,
21111 # but as the default location of the library.
21112 hardcode_minus_L_F77=yes
21115 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21116 hardcode_libdir_separator_F77=:
21117 hardcode_direct_F77=yes
21118 export_dynamic_flag_spec_F77='${wl}-E'
21120 # hardcode_minus_L: Not really in the search PATH,
21121 # but as the default location of the library.
21122 hardcode_minus_L_F77=yes
21128 irix5* | irix6* | nonstopux*)
21129 if test "$GCC" = yes; then
21130 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'
21132 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'
21133 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
21135 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21136 hardcode_libdir_separator_F77=:
21137 link_all_deplibs_F77=yes
21141 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21142 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
21144 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21146 hardcode_libdir_flag_spec_F77='-R$libdir'
21147 hardcode_direct_F77=yes
21148 hardcode_shlibpath_var_F77=no
21152 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21153 hardcode_direct_F77=yes
21154 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21155 hardcode_libdir_separator_F77=:
21156 hardcode_shlibpath_var_F77=no
21160 hardcode_direct_F77=yes
21161 hardcode_shlibpath_var_F77=no
21162 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21163 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21164 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21165 export_dynamic_flag_spec_F77='${wl}-E'
21168 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
21169 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21170 hardcode_libdir_flag_spec_F77='-R$libdir'
21173 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21174 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21181 hardcode_libdir_flag_spec_F77='-L$libdir'
21182 hardcode_minus_L_F77=yes
21183 allow_undefined_flag_F77=unsupported
21184 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'
21185 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21189 if test "$GCC" = yes; then
21190 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
21191 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'
21193 allow_undefined_flag_F77=' -expect_unresolved \*'
21194 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'
21196 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21197 hardcode_libdir_separator_F77=:
21200 osf4* | osf5*) # as osf3* with the addition of -msym flag
21201 if test "$GCC" = yes; then
21202 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
21203 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'
21204 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21206 allow_undefined_flag_F77=' -expect_unresolved \*'
21207 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'
21208 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~
21209 $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'
21211 # Both c and cxx compiler support -rpath directly
21212 hardcode_libdir_flag_spec_F77='-rpath $libdir'
21214 hardcode_libdir_separator_F77=:
21218 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21219 hardcode_shlibpath_var_F77=no
21220 export_dynamic_flag_spec_F77='${wl}-Bexport'
21221 runpath_var=LD_RUN_PATH
21222 hardcode_runpath_var=yes
21226 no_undefined_flag_F77=' -z text'
21227 if test "$GCC" = yes; then
21228 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21229 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21230 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
21232 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21233 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21234 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21236 hardcode_libdir_flag_spec_F77='-R$libdir'
21237 hardcode_shlibpath_var_F77=no
21239 solaris2.[0-5] | solaris2.[0-5].*) ;;
21240 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
21241 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
21243 link_all_deplibs_F77=yes
21247 if test "x$host_vendor" = xsequent; then
21248 # Use $CC to link under sequent, because it throws in some extra .o
21249 # files that make .init and .fini sections work.
21250 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21252 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21254 hardcode_libdir_flag_spec_F77='-L$libdir'
21255 hardcode_direct_F77=yes
21256 hardcode_minus_L_F77=yes
21257 hardcode_shlibpath_var_F77=no
21261 case $host_vendor in
21263 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21264 hardcode_direct_F77=yes # is this really true???
21267 ## LD is ld it makes a PLAMLIB
21268 ## CC just makes a GrossModule.
21269 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21270 reload_cmds_F77='$CC -r -o $output$reload_objs'
21271 hardcode_direct_F77=no
21274 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21275 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
21278 runpath_var='LD_RUN_PATH'
21279 hardcode_shlibpath_var_F77=no
21283 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21284 hardcode_shlibpath_var_F77=no
21285 export_dynamic_flag_spec_F77='-Bexport'
21289 if test -d /usr/nec; then
21290 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21291 hardcode_shlibpath_var_F77=no
21292 runpath_var=LD_RUN_PATH
21293 hardcode_runpath_var=yes
21299 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21300 hardcode_direct_F77=yes
21301 hardcode_minus_L_F77=no
21302 hardcode_shlibpath_var_F77=no
21303 hardcode_runpath_var=yes
21304 runpath_var=LD_RUN_PATH
21307 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
21308 no_undefined_flag_F77='${wl}-z ${wl}text'
21309 if test "$GCC" = yes; then
21310 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21312 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21314 runpath_var='LD_RUN_PATH'
21315 hardcode_shlibpath_var_F77=no
21319 no_undefined_flag_F77=' -z text'
21320 # $CC -shared without GNU ld will not create a library from C++
21321 # object files and a static libstdc++, better avoid it by now
21322 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21323 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21324 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21325 hardcode_libdir_flag_spec_F77=
21326 hardcode_shlibpath_var_F77=no
21327 runpath_var='LD_RUN_PATH'
21331 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21332 hardcode_libdir_flag_spec_F77='-L$libdir'
21333 hardcode_shlibpath_var_F77=no
21342 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
21343 echo "${ECHO_T}$ld_shlibs_F77" >&6
21344 test "$ld_shlibs_F77" = no && can_build_shared=no
21346 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21347 if test "$GCC" = yes; then
21348 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21352 # Do we need to explicitly link libc?
21354 case "x$archive_cmds_need_lc_F77" in
21356 # Assume -lc should be added
21357 archive_cmds_need_lc_F77=yes
21359 if test "$enable_shared" = yes && test "$GCC" = yes; then
21360 case $archive_cmds_F77 in
21362 # FIXME: we may have to deal with multi-command sequences.
21365 # Test whether the compiler implicitly links with -lc since on some
21366 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21367 # to ld, don't add -lc before -lgcc.
21368 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21369 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21371 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21374 (eval $ac_compile) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } 2>conftest.err; then
21380 libobjs=conftest.$ac_objext
21382 wl=$lt_prog_compiler_wl_F77
21388 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
21389 allow_undefined_flag_F77=
21390 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21391 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }
21396 archive_cmds_need_lc_F77=no
21398 archive_cmds_need_lc_F77=yes
21400 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
21402 cat conftest.err 1>&5
21405 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
21406 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
21413 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21414 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21415 library_names_spec=
21416 libname_spec='lib$name'
21420 postuninstall_cmds=
21424 shlibpath_overrides_runpath=unknown
21426 dynamic_linker="$host_os ld.so"
21427 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21428 if test "$GCC" = yes; then
21429 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21430 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21431 # if the path contains ";" then we assume it to be the separator
21432 # otherwise default to the standard path separator (i.e. ":") - it is
21433 # assumed that no part of a normal pathname contains ";" but that should
21434 # okay in the real world where ";" in dirpaths is itself problematic.
21435 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21437 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21440 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21442 need_lib_prefix=unknown
21443 hardcode_into_libs=no
21445 # when you set need_version to no, make sure it does not cause -set_version
21446 # flags to be left without arguments
21447 need_version=unknown
21452 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21453 shlibpath_var=LIBPATH
21455 # AIX 3 has no versioning support, so we append a major version to the name.
21456 soname_spec='${libname}${release}${shared_ext}$major'
21463 hardcode_into_libs=yes
21464 if test "$host_cpu" = ia64; then
21465 # AIX 5 supports IA64
21466 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21467 shlibpath_var=LD_LIBRARY_PATH
21469 # With GCC up to 2.95.x, collect2 would create an import file
21470 # for dependence libraries. The import file would start with
21471 # the line `#! .'. This would cause the generated library to
21472 # depend on `.', always an invalid library. This was fixed in
21473 # development snapshots of GCC prior to 3.0.
21475 aix4 | aix4.[01] | aix4.[01].*)
21476 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21478 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21481 can_build_shared=no
21485 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21486 # soname into executable. Probably we can add versioning support to
21487 # collect2, so additional links can be useful in future.
21488 if test "$aix_use_runtimelinking" = yes; then
21489 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21490 # instead of lib<name>.a to let people know that these are not
21491 # typical AIX shared libraries.
21492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21494 # We preserve .a as extension for shared libraries through AIX4.2
21495 # and later when we are not doing run time linking.
21496 library_names_spec='${libname}${release}.a $libname.a'
21497 soname_spec='${libname}${release}${shared_ext}$major'
21499 shlibpath_var=LIBPATH
21504 library_names_spec='$libname.ixlibrary $libname.a'
21505 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21506 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'
21510 library_names_spec='${libname}${shared_ext}'
21511 dynamic_linker="$host_os ld.so"
21512 shlibpath_var=LIBRARY_PATH
21518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21519 soname_spec='${libname}${release}${shared_ext}$major'
21520 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21521 shlibpath_var=LD_LIBRARY_PATH
21522 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21523 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21524 # the default ld.so.conf also contains /usr/contrib/lib and
21525 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21526 # libtool to hard-code these into programs
21529 cygwin* | mingw* | pw32*)
21530 version_type=windows
21535 case $GCC,$host_os in
21536 yes,cygwin* | yes,mingw* | yes,pw32*)
21537 library_names_spec='$libname.dll.a'
21538 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21539 postinstall_cmds='base_file=`basename \${file}`~
21540 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21541 dldir=$destdir/`dirname \$dlpath`~
21542 test -d \$dldir || mkdir -p \$dldir~
21543 $install_prog $dir/$dlname \$dldir/$dlname'
21544 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21545 dlpath=$dir/\$dldll~
21547 shlibpath_overrides_runpath=yes
21551 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21552 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21553 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21556 # MinGW DLLs use traditional 'lib' prefix
21557 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21558 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21559 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21560 # It is most probably a Windows format PATH printed by
21561 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21562 # path with ; separators, and with drive letters. We can handle the
21563 # drive letters (cygwin fileutils understands them), so leave them,
21564 # especially as we might pass files found there to a mingw objdump,
21565 # which wouldn't understand a cygwinified path. Ahh.
21566 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21568 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21572 # pw32 DLLs use 'pw' prefix rather than 'lib'
21573 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
21579 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21582 dynamic_linker='Win32 ld.exe'
21583 # FIXME: first we should search . and the directory the executable is in
21587 darwin* | rhapsody*)
21588 dynamic_linker="$host_os dyld"
21589 version_type=darwin
21592 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21593 soname_spec='${libname}${release}${major}$shared_ext'
21594 shlibpath_overrides_runpath=yes
21595 shlibpath_var=DYLD_LIBRARY_PATH
21596 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
21597 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21598 if test "$GCC" = yes; then
21599 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"`
21601 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21603 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21611 soname_spec='${libname}${release}${shared_ext}$major'
21612 shlibpath_var=LD_LIBRARY_PATH
21623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21624 soname_spec='${libname}${release}${shared_ext}$major'
21625 shlibpath_var=LD_LIBRARY_PATH
21626 shlibpath_overrides_runpath=no
21627 hardcode_into_libs=yes
21628 dynamic_linker='GNU ld.so'
21632 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21633 version_type=freebsd-$objformat
21634 case $version_type in
21636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21641 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21645 shlibpath_var=LD_LIBRARY_PATH
21648 shlibpath_overrides_runpath=yes
21650 freebsd3.01* | freebsdelf3.01*)
21651 shlibpath_overrides_runpath=yes
21652 hardcode_into_libs=yes
21655 shlibpath_overrides_runpath=no
21656 hardcode_into_libs=yes
21665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21666 soname_spec='${libname}${release}${shared_ext}$major'
21667 shlibpath_var=LD_LIBRARY_PATH
21668 hardcode_into_libs=yes
21671 hpux9* | hpux10* | hpux11*)
21672 # Give a soname corresponding to the major version so that dld.sl refuses to
21673 # link against other versions.
21677 case "$host_cpu" in
21680 hardcode_into_libs=yes
21681 dynamic_linker="$host_os dld.so"
21682 shlibpath_var=LD_LIBRARY_PATH
21683 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21685 soname_spec='${libname}${release}${shared_ext}$major'
21686 if test "X$HPUX_IA64_MODE" = X32; then
21687 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21689 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21691 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21695 hardcode_into_libs=yes
21696 dynamic_linker="$host_os dld.sl"
21697 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21698 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21700 soname_spec='${libname}${release}${shared_ext}$major'
21701 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21702 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21706 dynamic_linker="$host_os dld.sl"
21707 shlibpath_var=SHLIB_PATH
21708 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21710 soname_spec='${libname}${release}${shared_ext}$major'
21713 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21714 postinstall_cmds='chmod 555 $lib'
21717 irix5* | irix6* | nonstopux*)
21719 nonstopux*) version_type=nonstopux ;;
21721 if test "$lt_cv_prog_gnu_ld" = yes; then
21729 soname_spec='${libname}${release}${shared_ext}$major'
21730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21732 irix5* | nonstopux*)
21733 libsuff= shlibsuff=
21736 case $LD in # libtool.m4 will add one of these switches to LD
21737 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21738 libsuff= shlibsuff= libmagic=32-bit;;
21739 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21740 libsuff=32 shlibsuff=N32 libmagic=N32;;
21741 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21742 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21743 *) libsuff= shlibsuff= libmagic=never-match;;
21747 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21748 shlibpath_overrides_runpath=no
21749 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21750 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21751 hardcode_into_libs=yes
21754 # No shared lib support for Linux oldld, aout, or coff.
21755 linux*oldld* | linux*aout* | linux*coff*)
21759 # This must be Linux ELF.
21764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21765 soname_spec='${libname}${release}${shared_ext}$major'
21766 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21767 shlibpath_var=LD_LIBRARY_PATH
21768 shlibpath_overrides_runpath=no
21769 # This implies no fast_install, which is unacceptable.
21770 # Some rework will be needed to allow for fast_install
21771 # before this can be enabled.
21772 hardcode_into_libs=yes
21774 # find out which ABI we are using
21776 case "$host_cpu" in
21777 x86_64*|s390x*|powerpc64*)
21778 echo '#line 21778 "configure"' > conftest.$ac_ext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21780 (eval $ac_compile) 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; then
21784 case `/usr/bin/file conftest.$ac_objext` in
21787 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
21795 # Append ld.so.conf contents to the search path
21796 if test -f /etc/ld.so.conf; then
21797 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
21798 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
21801 # We used to test for /lib/ld.so.1 and disable shared libraries on
21802 # powerpc, because MkLinux only supported shared libraries with the
21803 # GNU dynamic linker. Since this was broken with cross compilers,
21804 # most powerpc-linux boxes support dynamic linking these days and
21805 # people can always --disable-shared, the test was removed, and we
21806 # assume the GNU/Linux dynamic linker is in use.
21807 dynamic_linker='GNU/Linux ld.so'
21814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21815 soname_spec='${libname}${release}${shared_ext}$major'
21816 shlibpath_var=LD_LIBRARY_PATH
21817 shlibpath_overrides_runpath=no
21818 hardcode_into_libs=yes
21819 dynamic_linker='GNU ld.so'
21826 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21829 dynamic_linker='NetBSD (a.out) ld.so'
21831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21832 soname_spec='${libname}${release}${shared_ext}$major'
21833 dynamic_linker='NetBSD ld.elf_so'
21835 shlibpath_var=LD_LIBRARY_PATH
21836 shlibpath_overrides_runpath=yes
21837 hardcode_into_libs=yes
21842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21843 shlibpath_var=LD_LIBRARY_PATH
21844 shlibpath_overrides_runpath=yes
21851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21852 soname_spec='${libname}${release}${shared_ext}$major'
21853 shlibpath_var=LD_LIBRARY_PATH
21854 shlibpath_overrides_runpath=yes
21861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21862 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21863 shlibpath_var=LD_LIBRARY_PATH
21864 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21866 openbsd2.[89] | openbsd2.[89].*)
21867 shlibpath_overrides_runpath=no
21870 shlibpath_overrides_runpath=yes
21874 shlibpath_overrides_runpath=yes
21879 libname_spec='$name'
21882 library_names_spec='$libname${shared_ext} $libname.a'
21883 dynamic_linker='OS/2 ld.exe'
21884 shlibpath_var=LIBPATH
21887 osf3* | osf4* | osf5*)
21891 soname_spec='${libname}${release}${shared_ext}$major'
21892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21893 shlibpath_var=LD_LIBRARY_PATH
21894 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21895 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21900 soname_spec='${libname}${release}${shared_ext}$major'
21901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21902 shlibpath_var=LD_LIBRARY_PATH
21909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21910 soname_spec='${libname}${release}${shared_ext}$major'
21911 shlibpath_var=LD_LIBRARY_PATH
21912 shlibpath_overrides_runpath=yes
21913 hardcode_into_libs=yes
21914 # ldd complains unless libraries are executable
21915 postinstall_cmds='chmod +x $lib'
21920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21921 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21922 shlibpath_var=LD_LIBRARY_PATH
21923 shlibpath_overrides_runpath=yes
21924 if test "$with_gnu_ld" = yes; then
21930 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21933 soname_spec='${libname}${release}${shared_ext}$major'
21934 shlibpath_var=LD_LIBRARY_PATH
21935 case $host_vendor in
21937 shlibpath_overrides_runpath=no
21939 export_dynamic_flag_spec='${wl}-Blargedynsym'
21940 runpath_var=LD_RUN_PATH
21948 shlibpath_overrides_runpath=no
21949 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21955 if test -d /usr/nec ;then
21957 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21958 soname_spec='$libname${shared_ext}.$major'
21959 shlibpath_var=LD_LIBRARY_PATH
21965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21966 soname_spec='${libname}${release}${shared_ext}$major'
21967 shlibpath_var=LD_LIBRARY_PATH
21974 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21975 echo "${ECHO_T}$dynamic_linker" >&6
21976 test "$dynamic_linker" = no && can_build_shared=no
21978 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21979 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21980 hardcode_action_F77=
21981 if test -n "$hardcode_libdir_flag_spec_F77" || \
21982 test -n "$runpath_var F77" || \
21983 test "X$hardcode_automatic_F77"="Xyes" ; then
21985 # We can hardcode non-existant directories.
21986 if test "$hardcode_direct_F77" != no &&
21987 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21988 # have to relink, otherwise we might link with an installed library
21989 # when we should be linking with a yet-to-be-installed one
21990 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21991 test "$hardcode_minus_L_F77" != no; then
21992 # Linking always hardcodes the temporary library directory.
21993 hardcode_action_F77=relink
21995 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21996 hardcode_action_F77=immediate
21999 # We cannot hardcode anything, or else we can only hardcode existing
22001 hardcode_action_F77=unsupported
22003 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
22004 echo "${ECHO_T}$hardcode_action_F77" >&6
22006 if test "$hardcode_action_F77" = relink; then
22007 # Fast installation is not supported
22008 enable_fast_install=no
22009 elif test "$shlibpath_overrides_runpath" = yes ||
22010 test "$enable_shared" = no; then
22011 # Fast installation is not necessary
22012 enable_fast_install=needless
22017 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
22018 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
22019 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
22020 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
22021 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
22022 echo "$as_me:$LINENO: result: yes" >&5
22023 echo "${ECHO_T}yes" >&6
22025 # FIXME - insert some real tests, host_os isn't really good enough
22028 if test -n "$STRIP" ; then
22029 striplib="$STRIP -x"
22030 echo "$as_me:$LINENO: result: yes" >&5
22031 echo "${ECHO_T}yes" >&6
22033 echo "$as_me:$LINENO: result: no" >&5
22034 echo "${ECHO_T}no" >&6
22038 echo "$as_me:$LINENO: result: no" >&5
22039 echo "${ECHO_T}no" >&6
22046 # The else clause should only fire when bootstrapping the
22047 # libtool distribution, otherwise you forgot to ship ltmain.sh
22048 # with your package, and you will get complaints that there are
22049 # no rules to generate ltmain.sh.
22050 if test -f "$ltmain"; then
22051 # See if we are running on zsh, and set the options which allow our commands through
22052 # without removal of \ escapes.
22053 if test -n "${ZSH_VERSION+set}" ; then
22054 setopt NO_GLOB_SUBST
22056 # Now quote all the things that may contain metacharacters while being
22057 # careful not to overquote the AC_SUBSTed values. We take copies of the
22058 # variables and quote the copies for generation of the libtool script.
22059 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
22061 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22062 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22063 deplibs_check_method reload_flag reload_cmds need_locks \
22064 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22065 lt_cv_sys_global_symbol_to_c_name_address \
22066 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22067 old_postinstall_cmds old_postuninstall_cmds \
22071 lt_prog_compiler_wl_F77 \
22072 lt_prog_compiler_pic_F77 \
22073 lt_prog_compiler_static_F77 \
22074 lt_prog_compiler_no_builtin_flag_F77 \
22075 export_dynamic_flag_spec_F77 \
22076 thread_safe_flag_spec_F77 \
22077 whole_archive_flag_spec_F77 \
22078 enable_shared_with_static_runtimes_F77 \
22079 old_archive_cmds_F77 \
22080 old_archive_from_new_cmds_F77 \
22081 predep_objects_F77 \
22082 postdep_objects_F77 \
22085 compiler_lib_search_path_F77 \
22087 archive_expsym_cmds_F77 \
22088 postinstall_cmds_F77 \
22089 postuninstall_cmds_F77 \
22090 old_archive_from_expsyms_cmds_F77 \
22091 allow_undefined_flag_F77 \
22092 no_undefined_flag_F77 \
22093 export_symbols_cmds_F77 \
22094 hardcode_libdir_flag_spec_F77 \
22095 hardcode_libdir_flag_spec_ld_F77 \
22096 hardcode_libdir_separator_F77 \
22097 hardcode_automatic_F77 \
22099 module_expsym_cmds_F77 \
22100 lt_cv_prog_compiler_c_o_F77 \
22101 exclude_expsyms_F77 \
22102 include_expsyms_F77; do
22105 old_archive_cmds_F77 | \
22106 old_archive_from_new_cmds_F77 | \
22107 archive_cmds_F77 | \
22108 archive_expsym_cmds_F77 | \
22109 module_cmds_F77 | \
22110 module_expsym_cmds_F77 | \
22111 old_archive_from_expsyms_cmds_F77 | \
22112 export_symbols_cmds_F77 | \
22113 extract_expsyms_cmds | reload_cmds | finish_cmds | \
22114 postinstall_cmds | postuninstall_cmds | \
22115 old_postinstall_cmds | old_postuninstall_cmds | \
22116 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22117 # Double-quote double-evaled strings.
22118 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22121 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22127 *'\$0 --fallback-echo"')
22128 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22134 cat <<__EOF__ >> "$cfgfile"
22135 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
22137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22139 # Shell to use when invoking shell scripts.
22142 # Whether or not to build shared libraries.
22143 build_libtool_libs=$enable_shared
22145 # Whether or not to build static libraries.
22146 build_old_libs=$enable_static
22148 # Whether or not to add -lc for building shared libraries.
22149 build_libtool_need_lc=$archive_cmds_need_lc_F77
22151 # Whether or not to disallow shared libs when runtime libs are static
22152 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
22154 # Whether or not to optimize for fast installation.
22155 fast_install=$enable_fast_install
22158 host_alias=$host_alias
22161 # An echo program that does not interpret backslashes.
22166 AR_FLAGS=$lt_AR_FLAGS
22171 # A language-specific compiler.
22172 CC=$lt_compiler_F77
22174 # Is the compiler the GNU C compiler?
22180 # The linker used to build libraries.
22183 # Whether we need hard or soft links.
22186 # A BSD-compatible nm program.
22189 # A symbol stripping program
22192 # Used to examine libraries when file_magic_cmd begins "file"
22193 MAGIC_CMD=$MAGIC_CMD
22195 # Used on cygwin: DLL creation program.
22198 # Used on cygwin: object dumper.
22201 # Used on cygwin: assembler.
22204 # The name of the directory that contains temporary libtool files.
22207 # How to create reloadable object files.
22208 reload_flag=$lt_reload_flag
22209 reload_cmds=$lt_reload_cmds
22211 # How to pass a linker flag through the compiler.
22212 wl=$lt_lt_prog_compiler_wl_F77
22214 # Object file suffix (normally "o").
22215 objext="$ac_objext"
22217 # Old archive suffix (normally "a").
22220 # Shared library suffix (normally ".so").
22221 shrext_cmds='$shrext_cmds'
22223 # Executable file suffix (normally "").
22226 # Additional compiler flags for building library objects.
22227 pic_flag=$lt_lt_prog_compiler_pic_F77
22230 # What is the maximum length of a command?
22231 max_cmd_len=$lt_cv_sys_max_cmd_len
22233 # Does compiler simultaneously support -c and -o options?
22234 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
22236 # Must we lock files when doing compilation ?
22237 need_locks=$lt_need_locks
22239 # Do we need the lib prefix for modules?
22240 need_lib_prefix=$need_lib_prefix
22242 # Do we need a version for libraries?
22243 need_version=$need_version
22245 # Whether dlopen is supported.
22246 dlopen_support=$enable_dlopen
22248 # Whether dlopen of programs is supported.
22249 dlopen_self=$enable_dlopen_self
22251 # Whether dlopen of statically linked programs is supported.
22252 dlopen_self_static=$enable_dlopen_self_static
22254 # Compiler flag to prevent dynamic linking.
22255 link_static_flag=$lt_lt_prog_compiler_static_F77
22257 # Compiler flag to turn off builtin functions.
22258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
22260 # Compiler flag to allow reflexive dlopens.
22261 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
22263 # Compiler flag to generate shared objects directly from archives.
22264 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
22266 # Compiler flag to generate thread-safe objects.
22267 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
22269 # Library versioning type.
22270 version_type=$version_type
22272 # Format of library name prefix.
22273 libname_spec=$lt_libname_spec
22275 # List of archive names. First name is the real one, the rest are links.
22276 # The last name is the one that the linker finds with -lNAME.
22277 library_names_spec=$lt_library_names_spec
22279 # The coded name of the library, if different from the real name.
22280 soname_spec=$lt_soname_spec
22282 # Commands used to build and install an old-style archive.
22284 old_archive_cmds=$lt_old_archive_cmds_F77
22285 old_postinstall_cmds=$lt_old_postinstall_cmds
22286 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22288 # Create an old-style archive from a shared archive.
22289 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
22291 # Create a temporary old-style archive to link instead of a shared archive.
22292 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
22294 # Commands used to build and install a shared archive.
22295 archive_cmds=$lt_archive_cmds_F77
22296 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
22297 postinstall_cmds=$lt_postinstall_cmds
22298 postuninstall_cmds=$lt_postuninstall_cmds
22300 # Commands used to build a loadable module (assumed same as above if empty)
22301 module_cmds=$lt_module_cmds_F77
22302 module_expsym_cmds=$lt_module_expsym_cmds_F77
22304 # Commands to strip libraries.
22305 old_striplib=$lt_old_striplib
22306 striplib=$lt_striplib
22308 # Dependencies to place before the objects being linked to create a
22310 predep_objects=$lt_predep_objects_F77
22312 # Dependencies to place after the objects being linked to create a
22314 postdep_objects=$lt_postdep_objects_F77
22316 # Dependencies to place before the objects being linked to create a
22318 predeps=$lt_predeps_F77
22320 # Dependencies to place after the objects being linked to create a
22322 postdeps=$lt_postdeps_F77
22324 # The library search path used internally by the compiler when linking
22325 # a shared library.
22326 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
22328 # Method to check whether dependent libraries are shared objects.
22329 deplibs_check_method=$lt_deplibs_check_method
22331 # Command to use when deplibs_check_method == file_magic.
22332 file_magic_cmd=$lt_file_magic_cmd
22334 # Flag that allows shared libraries with undefined symbols to be built.
22335 allow_undefined_flag=$lt_allow_undefined_flag_F77
22337 # Flag that forces no undefined symbols.
22338 no_undefined_flag=$lt_no_undefined_flag_F77
22340 # Commands used to finish a libtool library installation in a directory.
22341 finish_cmds=$lt_finish_cmds
22343 # Same as above, but a single script fragment to be evaled but not shown.
22344 finish_eval=$lt_finish_eval
22346 # Take the output of nm and produce a listing of raw symbols and C names.
22347 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22349 # Transform the output of nm in a proper C declaration
22350 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22352 # Transform the output of nm in a C name address pair
22353 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22355 # This is the shared library runtime path variable.
22356 runpath_var=$runpath_var
22358 # This is the shared library path variable.
22359 shlibpath_var=$shlibpath_var
22361 # Is shlibpath searched before the hard-coded library search path?
22362 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22364 # How to hardcode a shared library path into an executable.
22365 hardcode_action=$hardcode_action_F77
22367 # Whether we should hardcode library paths into libraries.
22368 hardcode_into_libs=$hardcode_into_libs
22370 # Flag to hardcode \$libdir into a binary during linking.
22371 # This must work even if \$libdir does not exist.
22372 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
22374 # If ld is used when linking, flag to hardcode \$libdir into
22375 # a binary during linking. This must work even if \$libdir does
22377 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
22379 # Whether we need a single -rpath flag with a separated argument.
22380 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
22382 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22383 # resulting binary.
22384 hardcode_direct=$hardcode_direct_F77
22386 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22387 # resulting binary.
22388 hardcode_minus_L=$hardcode_minus_L_F77
22390 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22391 # the resulting binary.
22392 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
22394 # Set to yes if building a shared library automatically hardcodes DIR into the library
22395 # and all subsequent libraries and executables linked against it.
22396 hardcode_automatic=$hardcode_automatic_F77
22398 # Variables whose values should be saved in libtool wrapper scripts and
22399 # restored at relink time.
22400 variables_saved_for_relink="$variables_saved_for_relink"
22402 # Whether libtool must link a program against all its dependency libraries.
22403 link_all_deplibs=$link_all_deplibs_F77
22405 # Compile-time system search path for libraries
22406 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22408 # Run-time system search path for libraries
22409 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22411 # Fix the shell variable \$srcfile for the compiler.
22412 fix_srcfile_path="$fix_srcfile_path_F77"
22414 # Set to yes if exported symbols are required.
22415 always_export_symbols=$always_export_symbols_F77
22417 # The commands to list exported symbols.
22418 export_symbols_cmds=$lt_export_symbols_cmds_F77
22420 # The commands to extract the exported symbol list from a shared archive.
22421 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22423 # Symbols that should not be listed in the preloaded symbols.
22424 exclude_expsyms=$lt_exclude_expsyms_F77
22426 # Symbols that must always be exported.
22427 include_expsyms=$lt_include_expsyms_F77
22429 # ### END LIBTOOL TAG CONFIG: $tagname
22435 # If there is no Makefile yet, we rely on a make rule to execute
22436 # `config.status --recheck' to rerun these tests and create the
22437 # libtool script then.
22438 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22439 if test -f "$ltmain_in"; then
22440 test -f Makefile && make "$ltmain"
22446 ac_cpp='$CPP $CPPFLAGS'
22447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22459 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
22463 # Source file extension for Java test sources.
22466 # Object file extension for compiled Java test sources.
22470 # Code to be used in simple compile tests
22471 lt_simple_compile_test_code="class foo {}\n"
22473 # Code to be used in simple link tests
22474 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
22476 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22478 # If no C compiler was specified, use CC.
22481 # Allow CC to be a program name with arguments.
22485 # Allow CC to be a program name with arguments.
22491 # GCJ did not exist at the time GCC didn't implicitly link libc in.
22492 archive_cmds_need_lc_GCJ=no
22495 lt_prog_compiler_no_builtin_flag_GCJ=
22497 if test "$GCC" = yes; then
22498 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
22501 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22502 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
22503 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22506 lt_cv_prog_compiler_rtti_exceptions=no
22507 ac_outfile=conftest.$ac_objext
22508 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22509 lt_compiler_flag="-fno-rtti -fno-exceptions"
22510 # Insert the option either (1) after the last *FLAGS variable, or
22511 # (2) before a word containing "conftest.", or (3) at the end.
22512 # Note that $ac_compile itself does not contain backslashes and begins
22513 # with a dollar sign (not a hyphen), so the echo should work correctly.
22514 # The option is referenced via a variable to avoid confusing sed.
22515 lt_compile=`echo "$ac_compile" | $SED \
22516 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22518 -e 's:$: $lt_compiler_flag:'`
22519 (eval echo "\"\$as_me:22519: $lt_compile\"" >&5)
22520 (eval "$lt_compile" 2>conftest.err)
22522 cat conftest.err >&5
22523 echo "$as_me:22523: \$? = $ac_status" >&5
22524 if (exit $ac_status) && test -s "$ac_outfile"; then
22525 # The compiler can only warn and ignore the option if not recognized
22526 # So say no if there are warnings
22527 if test ! -s conftest.err; then
22528 lt_cv_prog_compiler_rtti_exceptions=yes
22534 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
22535 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
22537 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
22538 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
22545 lt_prog_compiler_wl_GCJ=
22546 lt_prog_compiler_pic_GCJ=
22547 lt_prog_compiler_static_GCJ=
22549 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22550 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22552 if test "$GCC" = yes; then
22553 lt_prog_compiler_wl_GCJ='-Wl,'
22554 lt_prog_compiler_static_GCJ='-static'
22558 # All AIX code is PIC.
22559 if test "$host_cpu" = ia64; then
22560 # AIX 5 now supports IA64 processor
22561 lt_prog_compiler_static_GCJ='-Bstatic'
22566 # FIXME: we need at least 68020 code to build shared libraries, but
22567 # adding the `-m68020' flag to GCC prevents building anything better,
22569 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
22572 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22573 # PIC is the default for these OSes.
22576 mingw* | pw32* | os2*)
22577 # This hack is so that the source file can tell whether it is being
22578 # built for inclusion in a dll (and should export symbols for example).
22579 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22582 darwin* | rhapsody*)
22583 # PIC is the default on this platform
22584 # Common symbols not allowed in MH_DYLIB files
22585 lt_prog_compiler_pic_GCJ='-fno-common'
22589 # Just because we use GCC doesn't mean we suddenly get shared libraries
22590 # on systems that don't support them.
22591 lt_prog_compiler_can_build_shared_GCJ=no
22596 if test -d /usr/nec; then
22597 lt_prog_compiler_pic_GCJ=-Kconform_pic
22602 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22603 # not for PA HP-UX.
22604 case "$host_cpu" in
22609 lt_prog_compiler_pic_GCJ='-fPIC'
22615 lt_prog_compiler_pic_GCJ='-fPIC'
22619 # PORTME Check for flag to pass linker flags through the system compiler.
22622 lt_prog_compiler_wl_GCJ='-Wl,'
22623 if test "$host_cpu" = ia64; then
22624 # AIX 5 now supports IA64 processor
22625 lt_prog_compiler_static_GCJ='-Bstatic'
22627 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
22631 mingw* | pw32* | os2*)
22632 # This hack is so that the source file can tell whether it is being
22633 # built for inclusion in a dll (and should export symbols for example).
22634 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22637 hpux9* | hpux10* | hpux11*)
22638 lt_prog_compiler_wl_GCJ='-Wl,'
22639 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22640 # not for PA HP-UX.
22641 case "$host_cpu" in
22646 lt_prog_compiler_pic_GCJ='+Z'
22649 # Is there a better lt_prog_compiler_static that works with the bundled CC?
22650 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22653 irix5* | irix6* | nonstopux*)
22654 lt_prog_compiler_wl_GCJ='-Wl,'
22655 # PIC (with -KPIC) is the default.
22656 lt_prog_compiler_static_GCJ='-non_shared'
22660 lt_prog_compiler_pic_GCJ='-KPIC'
22661 lt_prog_compiler_static_GCJ='-Bstatic'
22667 lt_prog_compiler_wl_GCJ='-Wl,'
22668 lt_prog_compiler_pic_GCJ='-KPIC'
22669 lt_prog_compiler_static_GCJ='-static'
22672 lt_prog_compiler_wl_GCJ='-Wl,'
22673 # All Alpha code is PIC.
22674 lt_prog_compiler_static_GCJ='-non_shared'
22679 osf3* | osf4* | osf5*)
22680 lt_prog_compiler_wl_GCJ='-Wl,'
22681 # All OSF/1 code is PIC.
22682 lt_prog_compiler_static_GCJ='-non_shared'
22686 lt_prog_compiler_pic_GCJ='-Kpic'
22687 lt_prog_compiler_static_GCJ='-dn'
22691 lt_prog_compiler_wl_GCJ='-Wl,'
22692 lt_prog_compiler_pic_GCJ='-KPIC'
22693 lt_prog_compiler_static_GCJ='-Bstatic'
22697 lt_prog_compiler_wl_GCJ='-Qoption ld '
22698 lt_prog_compiler_pic_GCJ='-PIC'
22699 lt_prog_compiler_static_GCJ='-Bstatic'
22702 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22703 lt_prog_compiler_wl_GCJ='-Wl,'
22704 lt_prog_compiler_pic_GCJ='-KPIC'
22705 lt_prog_compiler_static_GCJ='-Bstatic'
22709 if test -d /usr/nec ;then
22710 lt_prog_compiler_pic_GCJ='-Kconform_pic'
22711 lt_prog_compiler_static_GCJ='-Bstatic'
22716 lt_prog_compiler_pic_GCJ='-pic'
22717 lt_prog_compiler_static_GCJ='-Bstatic'
22721 lt_prog_compiler_can_build_shared_GCJ=no
22726 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22727 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22730 # Check to make sure the PIC flag actually works.
22732 if test -n "$lt_prog_compiler_pic_GCJ"; then
22734 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22735 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22736 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22739 lt_prog_compiler_pic_works_GCJ=no
22740 ac_outfile=conftest.$ac_objext
22741 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22742 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22743 # Insert the option either (1) after the last *FLAGS variable, or
22744 # (2) before a word containing "conftest.", or (3) at the end.
22745 # Note that $ac_compile itself does not contain backslashes and begins
22746 # with a dollar sign (not a hyphen), so the echo should work correctly.
22747 # The option is referenced via a variable to avoid confusing sed.
22748 lt_compile=`echo "$ac_compile" | $SED \
22749 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22751 -e 's:$: $lt_compiler_flag:'`
22752 (eval echo "\"\$as_me:22752: $lt_compile\"" >&5)
22753 (eval "$lt_compile" 2>conftest.err)
22755 cat conftest.err >&5
22756 echo "$as_me:22756: \$? = $ac_status" >&5
22757 if (exit $ac_status) && test -s "$ac_outfile"; then
22758 # The compiler can only warn and ignore the option if not recognized
22759 # So say no if there are warnings
22760 if test ! -s conftest.err; then
22761 lt_prog_compiler_pic_works_GCJ=yes
22767 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22768 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22770 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22771 case $lt_prog_compiler_pic_GCJ in
22773 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22776 lt_prog_compiler_pic_GCJ=
22777 lt_prog_compiler_can_build_shared_GCJ=no
22782 # For platforms which do not support PIC, -DPIC is meaningless:
22784 lt_prog_compiler_pic_GCJ=
22787 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22791 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22792 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22793 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22794 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 lt_cv_prog_compiler_c_o_GCJ=no
22797 $rm -r conftest 2>/dev/null
22801 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22803 lt_compiler_flag="-o out/conftest2.$ac_objext"
22804 # Insert the option either (1) after the last *FLAGS variable, or
22805 # (2) before a word containing "conftest.", or (3) at the end.
22806 # Note that $ac_compile itself does not contain backslashes and begins
22807 # with a dollar sign (not a hyphen), so the echo should work correctly.
22808 lt_compile=`echo "$ac_compile" | $SED \
22809 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22811 -e 's:$: $lt_compiler_flag:'`
22812 (eval echo "\"\$as_me:22812: $lt_compile\"" >&5)
22813 (eval "$lt_compile" 2>out/conftest.err)
22815 cat out/conftest.err >&5
22816 echo "$as_me:22816: \$? = $ac_status" >&5
22817 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22819 # The compiler can only warn and ignore the option if not recognized
22820 # So say no if there are warnings
22821 if test ! -s out/conftest.err; then
22822 lt_cv_prog_compiler_c_o_GCJ=yes
22827 # SGI C++ compiler will create directory out/ii_files/ for
22828 # template instantiation
22829 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22830 $rm out/* && rmdir out
22836 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22837 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22840 hard_links="nottested"
22841 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22842 # do not overwrite the value of need_locks provided by the user
22843 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22844 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22847 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22849 ln conftest.a conftest.b 2>&5 || hard_links=no
22850 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22851 echo "$as_me:$LINENO: result: $hard_links" >&5
22852 echo "${ECHO_T}$hard_links" >&6
22853 if test "$hard_links" = no; then
22854 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22855 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22862 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22863 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22866 allow_undefined_flag_GCJ=
22867 enable_shared_with_static_runtimes_GCJ=no
22869 archive_expsym_cmds_GCJ=
22870 old_archive_From_new_cmds_GCJ=
22871 old_archive_from_expsyms_cmds_GCJ=
22872 export_dynamic_flag_spec_GCJ=
22873 whole_archive_flag_spec_GCJ=
22874 thread_safe_flag_spec_GCJ=
22875 hardcode_libdir_flag_spec_GCJ=
22876 hardcode_libdir_flag_spec_ld_GCJ=
22877 hardcode_libdir_separator_GCJ=
22878 hardcode_direct_GCJ=no
22879 hardcode_minus_L_GCJ=no
22880 hardcode_shlibpath_var_GCJ=unsupported
22881 link_all_deplibs_GCJ=unknown
22882 hardcode_automatic_GCJ=no
22884 module_expsym_cmds_GCJ=
22885 always_export_symbols_GCJ=no
22886 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22887 # include_expsyms should be a list of space-separated symbols to be *always*
22888 # included in the symbol list
22889 include_expsyms_GCJ=
22890 # exclude_expsyms can be an extended regexp of symbols to exclude
22891 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22892 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22893 # as well as any symbol that contains `d'.
22894 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22895 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22896 # platforms (ab)use it in PIC code, but their linkers get confused if
22897 # the symbol is explicitly referenced. Since portable code cannot
22898 # rely on this symbol name, it's probably fine to never include it in
22899 # preloaded symbol tables.
22900 extract_expsyms_cmds=
22903 cygwin* | mingw* | pw32*)
22904 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22905 # When not using gcc, we currently assume that we are using
22906 # Microsoft Visual C++.
22907 if test "$GCC" != yes; then
22917 if test "$with_gnu_ld" = yes; then
22918 # If archive_cmds runs LD, not CC, wlarc should be empty
22921 # See if GNU ld supports shared libraries.
22923 aix3* | aix4* | aix5*)
22924 # On AIX/PPC, the GNU linker is very broken
22925 if test "$host_cpu" != ia64; then
22929 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22930 *** to be unable to reliably create shared libraries on AIX.
22931 *** Therefore, libtool is disabling shared libraries support. If you
22932 *** really care for shared libraries, you may want to modify your PATH
22933 *** so that a non-GNU linker is found, and then restart.
22940 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)'
22941 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22942 hardcode_minus_L_GCJ=yes
22944 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22945 # that the semantics of dynamic libraries on AmigaOS, at least up
22946 # to version 4, is to share data among multiple programs linked
22947 # with the same dynamic library. Since this doesn't match the
22948 # behavior of shared libraries on other platforms, we can't use
22954 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22955 allow_undefined_flag_GCJ=unsupported
22956 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22957 # support --undefined. This deserves some investigation. FIXME
22958 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22964 cygwin* | mingw* | pw32*)
22965 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22966 # as there is no search path for DLLs.
22967 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22968 allow_undefined_flag_GCJ=unsupported
22969 always_export_symbols_GCJ=no
22970 enable_shared_with_static_runtimes_GCJ=yes
22971 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22973 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22974 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22975 # If the export-symbols file already is a .def file (1st line
22976 # is EXPORTS), use it as is; otherwise, prepend...
22977 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22978 cp $export_symbols $output_objdir/$soname.def;
22980 echo EXPORTS > $output_objdir/$soname.def;
22981 cat $export_symbols >> $output_objdir/$soname.def;
22983 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22990 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22991 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22994 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22995 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23000 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
23004 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
23005 *** create shared libraries on Solaris systems. Therefore, libtool
23006 *** is disabling shared libraries support. We urge you to upgrade GNU
23007 *** binutils to release 2.9.1 or newer. Another option is to modify
23008 *** your PATH or compiler configuration so that the native linker is
23009 *** used, and then restart.
23012 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23013 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23014 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23021 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23023 hardcode_direct_GCJ=yes
23024 hardcode_shlibpath_var_GCJ=no
23028 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23029 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23030 archive_cmds_GCJ="$tmp_archive_cmds"
23031 supports_anon_versioning=no
23032 case `$LD -v 2>/dev/null` in
23033 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23034 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23035 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23036 *\ 2.11.*) ;; # other 2.11 versions
23037 *) supports_anon_versioning=yes ;;
23039 if test $supports_anon_versioning = yes; then
23040 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
23041 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23042 $echo "local: *; };" >> $output_objdir/$libname.ver~
23043 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23045 archive_expsym_cmds_GCJ="$tmp_archive_cmds"
23053 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23054 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23055 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23062 if test "$ld_shlibs_GCJ" = yes; then
23063 runpath_var=LD_RUN_PATH
23064 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
23065 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
23066 # ancient GNU ld didn't support --whole-archive et. al.
23067 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23068 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23070 whole_archive_flag_spec_GCJ=
23074 # PORTME fill in a description of your system's linker (not GNU ld)
23077 allow_undefined_flag_GCJ=unsupported
23078 always_export_symbols_GCJ=yes
23079 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'
23080 # Note: this linker hardcodes the directories in LIBPATH if there
23081 # are no directories specified by -L.
23082 hardcode_minus_L_GCJ=yes
23083 if test "$GCC" = yes && test -z "$link_static_flag"; then
23084 # Neither direct hardcoding nor static linking is supported with a
23086 hardcode_direct_GCJ=unsupported
23091 if test "$host_cpu" = ia64; then
23092 # On IA64, the linker does run time linking by default, so we don't
23093 # have to do anything special.
23094 aix_use_runtimelinking=no
23095 exp_sym_flag='-Bexport'
23098 # If we're using GNU nm, then we don't want the "-C" option.
23099 # -C means demangle to AIX nm, but means don't demangle with GNU nm
23100 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
23101 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'
23103 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'
23105 aix_use_runtimelinking=no
23107 # Test if we are trying to use run time linking or normal
23108 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23109 # need to do runtime linking.
23110 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23111 for ld_flag in $LDFLAGS; do
23112 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23113 aix_use_runtimelinking=yes
23119 exp_sym_flag='-bexport'
23120 no_entry_flag='-bnoentry'
23123 # When large executables or shared objects are built, AIX ld can
23124 # have problems creating the table of contents. If linking a library
23125 # or program results in "error TOC overflow" add -mminimal-toc to
23126 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23127 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23129 archive_cmds_GCJ=''
23130 hardcode_direct_GCJ=yes
23131 hardcode_libdir_separator_GCJ=':'
23132 link_all_deplibs_GCJ=yes
23134 if test "$GCC" = yes; then
23135 case $host_os in aix4.012|aix4.012.*)
23136 # We only want to do this on AIX 4.2 and lower, the check
23137 # below for broken collect2 doesn't work under 4.3+
23138 collect2name=`${CC} -print-prog-name=collect2`
23139 if test -f "$collect2name" && \
23140 strings "$collect2name" | grep resolve_lib_name >/dev/null
23142 # We have reworked collect2
23143 hardcode_direct_GCJ=yes
23145 # We have old collect2
23146 hardcode_direct_GCJ=unsupported
23147 # It fails to find uninstalled libraries when the uninstalled
23148 # path is not listed in the libpath. Setting hardcode_minus_L
23149 # to unsupported forces relinking
23150 hardcode_minus_L_GCJ=yes
23151 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23152 hardcode_libdir_separator_GCJ=
23155 shared_flag='-shared'
23158 if test "$host_cpu" = ia64; then
23159 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
23160 # chokes on -Wl,-G. The following line is correct:
23163 if test "$aix_use_runtimelinking" = yes; then
23164 shared_flag='${wl}-G'
23166 shared_flag='${wl}-bM:SRE'
23171 # It seems that -bexpall does not export symbols beginning with
23172 # underscore (_), so it is better to generate a list of symbols to export.
23173 always_export_symbols_GCJ=yes
23174 if test "$aix_use_runtimelinking" = yes; then
23175 # Warning - without using the other runtime loading flags (-brtl),
23176 # -berok will link without error, but may produce a broken library.
23177 allow_undefined_flag_GCJ='-berok'
23178 # Determine the default libpath from the value encoded in an empty executable.
23179 cat >conftest.$ac_ext <<_ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23194 rm -f conftest.$ac_objext conftest$ac_exeext
23195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23196 (eval $ac_link) 2>conftest.er1
23198 grep -v '^ *+' conftest.er1 >conftest.err
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } &&
23203 { ac_try='test -z "$ac_c_werror_flag"
23204 || test ! -s conftest.err'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; } &&
23210 { ac_try='test -s conftest$ac_exeext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23217 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23219 # Check for a 64-bit object if we didn't find anything.
23220 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; }
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.$ac_ext >&5
23227 rm -f conftest.err conftest.$ac_objext \
23228 conftest$ac_exeext conftest.$ac_ext
23229 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23231 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23232 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"
23234 if test "$host_cpu" = ia64; then
23235 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
23236 allow_undefined_flag_GCJ="-z nodefs"
23237 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"
23239 # Determine the default libpath from the value encoded in an empty executable.
23240 cat >conftest.$ac_ext <<_ACEOF
23243 cat confdefs.h >>conftest.$ac_ext
23244 cat >>conftest.$ac_ext <<_ACEOF
23245 /* end confdefs.h. */
23255 rm -f conftest.$ac_objext conftest$ac_exeext
23256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23257 (eval $ac_link) 2>conftest.er1
23259 grep -v '^ *+' conftest.er1 >conftest.err
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try='test -z "$ac_c_werror_flag"
23265 || test ! -s conftest.err'
23266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267 (eval $ac_try) 2>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); }; } &&
23271 { ac_try='test -s conftest$ac_exeext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23278 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23280 # Check for a 64-bit object if we didn't find anything.
23281 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; }
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23288 rm -f conftest.err conftest.$ac_objext \
23289 conftest$ac_exeext conftest.$ac_ext
23290 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23292 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23293 # Warning - without using the other run time loading flags,
23294 # -berok will link without error, but may produce a broken library.
23295 no_undefined_flag_GCJ=' ${wl}-bernotok'
23296 allow_undefined_flag_GCJ=' ${wl}-berok'
23297 # -bexpall does not export symbols beginning with underscore (_)
23298 always_export_symbols_GCJ=yes
23299 # Exported symbols can be pulled into shared objects from archives
23300 whole_archive_flag_spec_GCJ=' '
23301 archive_cmds_need_lc_GCJ=yes
23302 # This is similar to how AIX traditionally builds it's shared libraries.
23303 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'
23309 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)'
23310 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23311 hardcode_minus_L_GCJ=yes
23312 # see comment about different semantics on the GNU ld section
23317 export_dynamic_flag_spec_GCJ=-rdynamic
23320 cygwin* | mingw* | pw32*)
23321 # When not using gcc, we currently assume that we are using
23322 # Microsoft Visual C++.
23323 # hardcode_libdir_flag_spec is actually meaningless, as there is
23324 # no search path for DLLs.
23325 hardcode_libdir_flag_spec_GCJ=' '
23326 allow_undefined_flag_GCJ=unsupported
23327 # Tell ltmain to make .lib files, not .a files.
23329 # Tell ltmain to make .dll files, not .so files.
23331 # FIXME: Setting linknames here is a bad hack.
23332 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23333 # The linker will automatically build a .lib file if we build a DLL.
23334 old_archive_From_new_cmds_GCJ='true'
23335 # FIXME: Should let the user specify the lib program.
23336 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
23337 fix_srcfile_path='`cygpath -w "$srcfile"`'
23338 enable_shared_with_static_runtimes_GCJ=yes
23341 darwin* | rhapsody*)
23342 if test "$GXX" = yes ; then
23343 archive_cmds_need_lc_GCJ=no
23345 rhapsody* | darwin1.[012])
23346 allow_undefined_flag_GCJ='-undefined suppress'
23349 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23350 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
23352 case ${MACOSX_DEPLOYMENT_TARGET} in
23354 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
23357 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
23363 lt_int_apple_cc_single_mod=no
23364 output_verbose_link_cmd='echo'
23365 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
23366 lt_int_apple_cc_single_mod=yes
23368 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
23369 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
23371 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'
23373 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23374 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
23375 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
23376 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}'
23378 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}'
23380 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}'
23381 hardcode_direct_GCJ=no
23382 hardcode_automatic_GCJ=yes
23383 hardcode_shlibpath_var_GCJ=unsupported
23384 whole_archive_flag_spec_GCJ='-all_load $convenience'
23385 link_all_deplibs_GCJ=yes
23392 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23393 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23394 hardcode_shlibpath_var_GCJ=no
23401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23402 # support. Future versions do this automatically, but an explicit c++rt0.o
23403 # does not break anything, and helps significantly (at the cost of a little
23406 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23407 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23408 hardcode_direct_GCJ=yes
23409 hardcode_shlibpath_var_GCJ=no
23412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23414 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23415 hardcode_direct_GCJ=yes
23416 hardcode_minus_L_GCJ=yes
23417 hardcode_shlibpath_var_GCJ=no
23420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23421 freebsd* | kfreebsd*-gnu)
23422 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23423 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23424 hardcode_direct_GCJ=yes
23425 hardcode_shlibpath_var_GCJ=no
23429 if test "$GCC" = yes; then
23430 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'
23432 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'
23434 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23435 hardcode_libdir_separator_GCJ=:
23436 hardcode_direct_GCJ=yes
23438 # hardcode_minus_L: Not really in the search PATH,
23439 # but as the default location of the library.
23440 hardcode_minus_L_GCJ=yes
23441 export_dynamic_flag_spec_GCJ='${wl}-E'
23445 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23446 case "$host_cpu" in
23448 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23451 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23455 case "$host_cpu" in
23457 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
23460 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23464 if test "$with_gnu_ld" = no; then
23465 case "$host_cpu" in
23467 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23468 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
23469 hardcode_libdir_separator_GCJ=:
23470 hardcode_direct_GCJ=no
23471 hardcode_shlibpath_var_GCJ=no
23474 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23475 hardcode_direct_GCJ=no
23476 hardcode_shlibpath_var_GCJ=no
23478 # hardcode_minus_L: Not really in the search PATH,
23479 # but as the default location of the library.
23480 hardcode_minus_L_GCJ=yes
23483 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23484 hardcode_libdir_separator_GCJ=:
23485 hardcode_direct_GCJ=yes
23486 export_dynamic_flag_spec_GCJ='${wl}-E'
23488 # hardcode_minus_L: Not really in the search PATH,
23489 # but as the default location of the library.
23490 hardcode_minus_L_GCJ=yes
23496 irix5* | irix6* | nonstopux*)
23497 if test "$GCC" = yes; then
23498 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'
23500 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'
23501 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
23503 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23504 hardcode_libdir_separator_GCJ=:
23505 link_all_deplibs_GCJ=yes
23509 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23510 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23512 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23514 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23515 hardcode_direct_GCJ=yes
23516 hardcode_shlibpath_var_GCJ=no
23520 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23521 hardcode_direct_GCJ=yes
23522 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23523 hardcode_libdir_separator_GCJ=:
23524 hardcode_shlibpath_var_GCJ=no
23528 hardcode_direct_GCJ=yes
23529 hardcode_shlibpath_var_GCJ=no
23530 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23531 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23532 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23533 export_dynamic_flag_spec_GCJ='${wl}-E'
23536 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23537 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23538 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23541 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23542 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23549 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23550 hardcode_minus_L_GCJ=yes
23551 allow_undefined_flag_GCJ=unsupported
23552 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'
23553 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23557 if test "$GCC" = yes; then
23558 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23559 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'
23561 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23562 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'
23564 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23565 hardcode_libdir_separator_GCJ=:
23568 osf4* | osf5*) # as osf3* with the addition of -msym flag
23569 if test "$GCC" = yes; then
23570 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23571 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'
23572 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23574 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23575 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'
23576 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~
23577 $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'
23579 # Both c and cxx compiler support -rpath directly
23580 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
23582 hardcode_libdir_separator_GCJ=:
23586 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23587 hardcode_shlibpath_var_GCJ=no
23588 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
23589 runpath_var=LD_RUN_PATH
23590 hardcode_runpath_var=yes
23594 no_undefined_flag_GCJ=' -z text'
23595 if test "$GCC" = yes; then
23596 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23597 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23598 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23600 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23601 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23602 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23604 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23605 hardcode_shlibpath_var_GCJ=no
23607 solaris2.[0-5] | solaris2.[0-5].*) ;;
23608 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
23609 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
23611 link_all_deplibs_GCJ=yes
23615 if test "x$host_vendor" = xsequent; then
23616 # Use $CC to link under sequent, because it throws in some extra .o
23617 # files that make .init and .fini sections work.
23618 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23620 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23622 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23623 hardcode_direct_GCJ=yes
23624 hardcode_minus_L_GCJ=yes
23625 hardcode_shlibpath_var_GCJ=no
23629 case $host_vendor in
23631 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23632 hardcode_direct_GCJ=yes # is this really true???
23635 ## LD is ld it makes a PLAMLIB
23636 ## CC just makes a GrossModule.
23637 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23638 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
23639 hardcode_direct_GCJ=no
23642 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23643 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
23646 runpath_var='LD_RUN_PATH'
23647 hardcode_shlibpath_var_GCJ=no
23651 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23652 hardcode_shlibpath_var_GCJ=no
23653 export_dynamic_flag_spec_GCJ='-Bexport'
23657 if test -d /usr/nec; then
23658 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23659 hardcode_shlibpath_var_GCJ=no
23660 runpath_var=LD_RUN_PATH
23661 hardcode_runpath_var=yes
23667 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23668 hardcode_direct_GCJ=yes
23669 hardcode_minus_L_GCJ=no
23670 hardcode_shlibpath_var_GCJ=no
23671 hardcode_runpath_var=yes
23672 runpath_var=LD_RUN_PATH
23675 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
23676 no_undefined_flag_GCJ='${wl}-z ${wl}text'
23677 if test "$GCC" = yes; then
23678 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23680 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23682 runpath_var='LD_RUN_PATH'
23683 hardcode_shlibpath_var_GCJ=no
23687 no_undefined_flag_GCJ=' -z text'
23688 # $CC -shared without GNU ld will not create a library from C++
23689 # object files and a static libstdc++, better avoid it by now
23690 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23691 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23692 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23693 hardcode_libdir_flag_spec_GCJ=
23694 hardcode_shlibpath_var_GCJ=no
23695 runpath_var='LD_RUN_PATH'
23699 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23700 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23701 hardcode_shlibpath_var_GCJ=no
23710 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
23711 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
23712 test "$ld_shlibs_GCJ" = no && can_build_shared=no
23714 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23715 if test "$GCC" = yes; then
23716 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23720 # Do we need to explicitly link libc?
23722 case "x$archive_cmds_need_lc_GCJ" in
23724 # Assume -lc should be added
23725 archive_cmds_need_lc_GCJ=yes
23727 if test "$enable_shared" = yes && test "$GCC" = yes; then
23728 case $archive_cmds_GCJ in
23730 # FIXME: we may have to deal with multi-command sequences.
23733 # Test whether the compiler implicitly links with -lc since on some
23734 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23735 # to ld, don't add -lc before -lgcc.
23736 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23737 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23739 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23742 (eval $ac_compile) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } 2>conftest.err; then
23748 libobjs=conftest.$ac_objext
23750 wl=$lt_prog_compiler_wl_GCJ
23756 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
23757 allow_undefined_flag_GCJ=
23758 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23759 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }
23764 archive_cmds_need_lc_GCJ=no
23766 archive_cmds_need_lc_GCJ=yes
23768 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
23770 cat conftest.err 1>&5
23773 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
23774 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
23781 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23782 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23783 library_names_spec=
23784 libname_spec='lib$name'
23788 postuninstall_cmds=
23792 shlibpath_overrides_runpath=unknown
23794 dynamic_linker="$host_os ld.so"
23795 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23796 if test "$GCC" = yes; then
23797 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23798 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23799 # if the path contains ";" then we assume it to be the separator
23800 # otherwise default to the standard path separator (i.e. ":") - it is
23801 # assumed that no part of a normal pathname contains ";" but that should
23802 # okay in the real world where ";" in dirpaths is itself problematic.
23803 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23805 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23808 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23810 need_lib_prefix=unknown
23811 hardcode_into_libs=no
23813 # when you set need_version to no, make sure it does not cause -set_version
23814 # flags to be left without arguments
23815 need_version=unknown
23820 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23821 shlibpath_var=LIBPATH
23823 # AIX 3 has no versioning support, so we append a major version to the name.
23824 soname_spec='${libname}${release}${shared_ext}$major'
23831 hardcode_into_libs=yes
23832 if test "$host_cpu" = ia64; then
23833 # AIX 5 supports IA64
23834 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23835 shlibpath_var=LD_LIBRARY_PATH
23837 # With GCC up to 2.95.x, collect2 would create an import file
23838 # for dependence libraries. The import file would start with
23839 # the line `#! .'. This would cause the generated library to
23840 # depend on `.', always an invalid library. This was fixed in
23841 # development snapshots of GCC prior to 3.0.
23843 aix4 | aix4.[01] | aix4.[01].*)
23844 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23846 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23849 can_build_shared=no
23853 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23854 # soname into executable. Probably we can add versioning support to
23855 # collect2, so additional links can be useful in future.
23856 if test "$aix_use_runtimelinking" = yes; then
23857 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23858 # instead of lib<name>.a to let people know that these are not
23859 # typical AIX shared libraries.
23860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23862 # We preserve .a as extension for shared libraries through AIX4.2
23863 # and later when we are not doing run time linking.
23864 library_names_spec='${libname}${release}.a $libname.a'
23865 soname_spec='${libname}${release}${shared_ext}$major'
23867 shlibpath_var=LIBPATH
23872 library_names_spec='$libname.ixlibrary $libname.a'
23873 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23874 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'
23878 library_names_spec='${libname}${shared_ext}'
23879 dynamic_linker="$host_os ld.so"
23880 shlibpath_var=LIBRARY_PATH
23886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23887 soname_spec='${libname}${release}${shared_ext}$major'
23888 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23889 shlibpath_var=LD_LIBRARY_PATH
23890 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23891 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23892 # the default ld.so.conf also contains /usr/contrib/lib and
23893 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23894 # libtool to hard-code these into programs
23897 cygwin* | mingw* | pw32*)
23898 version_type=windows
23903 case $GCC,$host_os in
23904 yes,cygwin* | yes,mingw* | yes,pw32*)
23905 library_names_spec='$libname.dll.a'
23906 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23907 postinstall_cmds='base_file=`basename \${file}`~
23908 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23909 dldir=$destdir/`dirname \$dlpath`~
23910 test -d \$dldir || mkdir -p \$dldir~
23911 $install_prog $dir/$dlname \$dldir/$dlname'
23912 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23913 dlpath=$dir/\$dldll~
23915 shlibpath_overrides_runpath=yes
23919 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23920 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23921 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23924 # MinGW DLLs use traditional 'lib' prefix
23925 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23926 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23927 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23928 # It is most probably a Windows format PATH printed by
23929 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23930 # path with ; separators, and with drive letters. We can handle the
23931 # drive letters (cygwin fileutils understands them), so leave them,
23932 # especially as we might pass files found there to a mingw objdump,
23933 # which wouldn't understand a cygwinified path. Ahh.
23934 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23936 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23940 # pw32 DLLs use 'pw' prefix rather than 'lib'
23941 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
23947 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23950 dynamic_linker='Win32 ld.exe'
23951 # FIXME: first we should search . and the directory the executable is in
23955 darwin* | rhapsody*)
23956 dynamic_linker="$host_os dyld"
23957 version_type=darwin
23960 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23961 soname_spec='${libname}${release}${major}$shared_ext'
23962 shlibpath_overrides_runpath=yes
23963 shlibpath_var=DYLD_LIBRARY_PATH
23964 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
23965 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23966 if test "$GCC" = yes; then
23967 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"`
23969 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
23971 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23979 soname_spec='${libname}${release}${shared_ext}$major'
23980 shlibpath_var=LD_LIBRARY_PATH
23991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23992 soname_spec='${libname}${release}${shared_ext}$major'
23993 shlibpath_var=LD_LIBRARY_PATH
23994 shlibpath_overrides_runpath=no
23995 hardcode_into_libs=yes
23996 dynamic_linker='GNU ld.so'
24000 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
24001 version_type=freebsd-$objformat
24002 case $version_type in
24004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24009 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
24013 shlibpath_var=LD_LIBRARY_PATH
24016 shlibpath_overrides_runpath=yes
24018 freebsd3.01* | freebsdelf3.01*)
24019 shlibpath_overrides_runpath=yes
24020 hardcode_into_libs=yes
24023 shlibpath_overrides_runpath=no
24024 hardcode_into_libs=yes
24033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
24034 soname_spec='${libname}${release}${shared_ext}$major'
24035 shlibpath_var=LD_LIBRARY_PATH
24036 hardcode_into_libs=yes
24039 hpux9* | hpux10* | hpux11*)
24040 # Give a soname corresponding to the major version so that dld.sl refuses to
24041 # link against other versions.
24045 case "$host_cpu" in
24048 hardcode_into_libs=yes
24049 dynamic_linker="$host_os dld.so"
24050 shlibpath_var=LD_LIBRARY_PATH
24051 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24053 soname_spec='${libname}${release}${shared_ext}$major'
24054 if test "X$HPUX_IA64_MODE" = X32; then
24055 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24057 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24059 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24063 hardcode_into_libs=yes
24064 dynamic_linker="$host_os dld.sl"
24065 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24066 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24068 soname_spec='${libname}${release}${shared_ext}$major'
24069 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24070 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24074 dynamic_linker="$host_os dld.sl"
24075 shlibpath_var=SHLIB_PATH
24076 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24078 soname_spec='${libname}${release}${shared_ext}$major'
24081 # HP-UX runs *really* slowly unless shared libraries are mode 555.
24082 postinstall_cmds='chmod 555 $lib'
24085 irix5* | irix6* | nonstopux*)
24087 nonstopux*) version_type=nonstopux ;;
24089 if test "$lt_cv_prog_gnu_ld" = yes; then
24097 soname_spec='${libname}${release}${shared_ext}$major'
24098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
24100 irix5* | nonstopux*)
24101 libsuff= shlibsuff=
24104 case $LD in # libtool.m4 will add one of these switches to LD
24105 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24106 libsuff= shlibsuff= libmagic=32-bit;;
24107 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24108 libsuff=32 shlibsuff=N32 libmagic=N32;;
24109 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24110 libsuff=64 shlibsuff=64 libmagic=64-bit;;
24111 *) libsuff= shlibsuff= libmagic=never-match;;
24115 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
24116 shlibpath_overrides_runpath=no
24117 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
24118 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
24119 hardcode_into_libs=yes
24122 # No shared lib support for Linux oldld, aout, or coff.
24123 linux*oldld* | linux*aout* | linux*coff*)
24127 # This must be Linux ELF.
24132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24133 soname_spec='${libname}${release}${shared_ext}$major'
24134 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24135 shlibpath_var=LD_LIBRARY_PATH
24136 shlibpath_overrides_runpath=no
24137 # This implies no fast_install, which is unacceptable.
24138 # Some rework will be needed to allow for fast_install
24139 # before this can be enabled.
24140 hardcode_into_libs=yes
24142 # find out which ABI we are using
24144 case "$host_cpu" in
24145 x86_64*|s390x*|powerpc64*)
24146 echo '#line 24146 "configure"' > conftest.$ac_ext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24148 (eval $ac_compile) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; then
24152 case `/usr/bin/file conftest.$ac_objext` in
24155 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24163 # Append ld.so.conf contents to the search path
24164 if test -f /etc/ld.so.conf; then
24165 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
24166 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24169 # We used to test for /lib/ld.so.1 and disable shared libraries on
24170 # powerpc, because MkLinux only supported shared libraries with the
24171 # GNU dynamic linker. Since this was broken with cross compilers,
24172 # most powerpc-linux boxes support dynamic linking these days and
24173 # people can always --disable-shared, the test was removed, and we
24174 # assume the GNU/Linux dynamic linker is in use.
24175 dynamic_linker='GNU/Linux ld.so'
24182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24183 soname_spec='${libname}${release}${shared_ext}$major'
24184 shlibpath_var=LD_LIBRARY_PATH
24185 shlibpath_overrides_runpath=no
24186 hardcode_into_libs=yes
24187 dynamic_linker='GNU ld.so'
24194 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24196 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24197 dynamic_linker='NetBSD (a.out) ld.so'
24199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24200 soname_spec='${libname}${release}${shared_ext}$major'
24201 dynamic_linker='NetBSD ld.elf_so'
24203 shlibpath_var=LD_LIBRARY_PATH
24204 shlibpath_overrides_runpath=yes
24205 hardcode_into_libs=yes
24210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24211 shlibpath_var=LD_LIBRARY_PATH
24212 shlibpath_overrides_runpath=yes
24219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24220 soname_spec='${libname}${release}${shared_ext}$major'
24221 shlibpath_var=LD_LIBRARY_PATH
24222 shlibpath_overrides_runpath=yes
24229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24230 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24231 shlibpath_var=LD_LIBRARY_PATH
24232 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24234 openbsd2.[89] | openbsd2.[89].*)
24235 shlibpath_overrides_runpath=no
24238 shlibpath_overrides_runpath=yes
24242 shlibpath_overrides_runpath=yes
24247 libname_spec='$name'
24250 library_names_spec='$libname${shared_ext} $libname.a'
24251 dynamic_linker='OS/2 ld.exe'
24252 shlibpath_var=LIBPATH
24255 osf3* | osf4* | osf5*)
24259 soname_spec='${libname}${release}${shared_ext}$major'
24260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24261 shlibpath_var=LD_LIBRARY_PATH
24262 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24263 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24268 soname_spec='${libname}${release}${shared_ext}$major'
24269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24270 shlibpath_var=LD_LIBRARY_PATH
24277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24278 soname_spec='${libname}${release}${shared_ext}$major'
24279 shlibpath_var=LD_LIBRARY_PATH
24280 shlibpath_overrides_runpath=yes
24281 hardcode_into_libs=yes
24282 # ldd complains unless libraries are executable
24283 postinstall_cmds='chmod +x $lib'
24288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24289 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24290 shlibpath_var=LD_LIBRARY_PATH
24291 shlibpath_overrides_runpath=yes
24292 if test "$with_gnu_ld" = yes; then
24298 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24301 soname_spec='${libname}${release}${shared_ext}$major'
24302 shlibpath_var=LD_LIBRARY_PATH
24303 case $host_vendor in
24305 shlibpath_overrides_runpath=no
24307 export_dynamic_flag_spec='${wl}-Blargedynsym'
24308 runpath_var=LD_RUN_PATH
24316 shlibpath_overrides_runpath=no
24317 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24323 if test -d /usr/nec ;then
24325 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24326 soname_spec='$libname${shared_ext}.$major'
24327 shlibpath_var=LD_LIBRARY_PATH
24333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24334 soname_spec='${libname}${release}${shared_ext}$major'
24335 shlibpath_var=LD_LIBRARY_PATH
24342 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24343 echo "${ECHO_T}$dynamic_linker" >&6
24344 test "$dynamic_linker" = no && can_build_shared=no
24346 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24347 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24348 hardcode_action_GCJ=
24349 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
24350 test -n "$runpath_var GCJ" || \
24351 test "X$hardcode_automatic_GCJ"="Xyes" ; then
24353 # We can hardcode non-existant directories.
24354 if test "$hardcode_direct_GCJ" != no &&
24355 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24356 # have to relink, otherwise we might link with an installed library
24357 # when we should be linking with a yet-to-be-installed one
24358 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
24359 test "$hardcode_minus_L_GCJ" != no; then
24360 # Linking always hardcodes the temporary library directory.
24361 hardcode_action_GCJ=relink
24363 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24364 hardcode_action_GCJ=immediate
24367 # We cannot hardcode anything, or else we can only hardcode existing
24369 hardcode_action_GCJ=unsupported
24371 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
24372 echo "${ECHO_T}$hardcode_action_GCJ" >&6
24374 if test "$hardcode_action_GCJ" = relink; then
24375 # Fast installation is not supported
24376 enable_fast_install=no
24377 elif test "$shlibpath_overrides_runpath" = yes ||
24378 test "$enable_shared" = no; then
24379 # Fast installation is not necessary
24380 enable_fast_install=needless
24385 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
24386 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
24387 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
24388 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24389 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24390 echo "$as_me:$LINENO: result: yes" >&5
24391 echo "${ECHO_T}yes" >&6
24393 # FIXME - insert some real tests, host_os isn't really good enough
24396 if test -n "$STRIP" ; then
24397 striplib="$STRIP -x"
24398 echo "$as_me:$LINENO: result: yes" >&5
24399 echo "${ECHO_T}yes" >&6
24401 echo "$as_me:$LINENO: result: no" >&5
24402 echo "${ECHO_T}no" >&6
24406 echo "$as_me:$LINENO: result: no" >&5
24407 echo "${ECHO_T}no" >&6
24412 if test "x$enable_dlopen" != xyes; then
24413 enable_dlopen=unknown
24414 enable_dlopen_self=unknown
24415 enable_dlopen_self_static=unknown
24422 lt_cv_dlopen="load_add_on"
24424 lt_cv_dlopen_self=yes
24428 lt_cv_dlopen="LoadLibrary"
24433 lt_cv_dlopen="dlopen"
24438 # if libdl is installed we need to link against it
24439 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24440 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24441 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24442 echo $ECHO_N "(cached) $ECHO_C" >&6
24444 ac_check_lib_save_LIBS=$LIBS
24446 cat >conftest.$ac_ext <<_ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24453 /* Override any gcc2 internal prototype to avoid an error. */
24457 /* We use char because int might match the return type of a gcc2
24458 builtin and then its argument prototype would still apply. */
24468 rm -f conftest.$ac_objext conftest$ac_exeext
24469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24470 (eval $ac_link) 2>conftest.er1
24472 grep -v '^ *+' conftest.er1 >conftest.err
24474 cat conftest.err >&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } &&
24477 { ac_try='test -z "$ac_c_werror_flag"
24478 || test ! -s conftest.err'
24479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480 (eval $ac_try) 2>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); }; } &&
24484 { ac_try='test -s conftest$ac_exeext'
24485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24486 (eval $ac_try) 2>&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); }; }; then
24490 ac_cv_lib_dl_dlopen=yes
24492 echo "$as_me: failed program was:" >&5
24493 sed 's/^/| /' conftest.$ac_ext >&5
24495 ac_cv_lib_dl_dlopen=no
24497 rm -f conftest.err conftest.$ac_objext \
24498 conftest$ac_exeext conftest.$ac_ext
24499 LIBS=$ac_check_lib_save_LIBS
24501 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24502 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24503 if test $ac_cv_lib_dl_dlopen = yes; then
24504 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24507 lt_cv_dlopen="dyld"
24509 lt_cv_dlopen_self=yes
24516 echo "$as_me:$LINENO: checking for shl_load" >&5
24517 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
24518 if test "${ac_cv_func_shl_load+set}" = set; then
24519 echo $ECHO_N "(cached) $ECHO_C" >&6
24521 cat >conftest.$ac_ext <<_ACEOF
24524 cat confdefs.h >>conftest.$ac_ext
24525 cat >>conftest.$ac_ext <<_ACEOF
24526 /* end confdefs.h. */
24527 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
24528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24529 #define shl_load innocuous_shl_load
24531 /* System header to define __stub macros and hopefully few prototypes,
24532 which can conflict with char shl_load (); below.
24533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24534 <limits.h> exists even on freestanding compilers. */
24537 # include <limits.h>
24539 # include <assert.h>
24544 /* Override any gcc2 internal prototype to avoid an error. */
24549 /* We use char because int might match the return type of a gcc2
24550 builtin and then its argument prototype would still apply. */
24552 /* The GNU C library defines this for functions which it implements
24553 to always fail with ENOSYS. Some functions are actually named
24554 something starting with __ and the normal name is an alias. */
24555 #if defined (__stub_shl_load) || defined (__stub___shl_load)
24558 char (*f) () = shl_load;
24567 return f != shl_load;
24572 rm -f conftest.$ac_objext conftest$ac_exeext
24573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24574 (eval $ac_link) 2>conftest.er1
24576 grep -v '^ *+' conftest.er1 >conftest.err
24578 cat conftest.err >&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } &&
24581 { ac_try='test -z "$ac_c_werror_flag"
24582 || test ! -s conftest.err'
24583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24584 (eval $ac_try) 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); }; } &&
24588 { ac_try='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_cv_func_shl_load=yes
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24599 ac_cv_func_shl_load=no
24601 rm -f conftest.err conftest.$ac_objext \
24602 conftest$ac_exeext conftest.$ac_ext
24604 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
24605 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
24606 if test $ac_cv_func_shl_load = yes; then
24607 lt_cv_dlopen="shl_load"
24609 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
24610 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
24611 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 ac_check_lib_save_LIBS=$LIBS
24616 cat >conftest.$ac_ext <<_ACEOF
24619 cat confdefs.h >>conftest.$ac_ext
24620 cat >>conftest.$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24623 /* Override any gcc2 internal prototype to avoid an error. */
24627 /* We use char because int might match the return type of a gcc2
24628 builtin and then its argument prototype would still apply. */
24638 rm -f conftest.$ac_objext conftest$ac_exeext
24639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24640 (eval $ac_link) 2>conftest.er1
24642 grep -v '^ *+' conftest.er1 >conftest.err
24644 cat conftest.err >&5
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); } &&
24647 { ac_try='test -z "$ac_c_werror_flag"
24648 || test ! -s conftest.err'
24649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24650 (eval $ac_try) 2>&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); }; } &&
24654 { ac_try='test -s conftest$ac_exeext'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; }; then
24660 ac_cv_lib_dld_shl_load=yes
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.$ac_ext >&5
24665 ac_cv_lib_dld_shl_load=no
24667 rm -f conftest.err conftest.$ac_objext \
24668 conftest$ac_exeext conftest.$ac_ext
24669 LIBS=$ac_check_lib_save_LIBS
24671 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
24672 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
24673 if test $ac_cv_lib_dld_shl_load = yes; then
24674 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
24676 echo "$as_me:$LINENO: checking for dlopen" >&5
24677 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
24678 if test "${ac_cv_func_dlopen+set}" = set; then
24679 echo $ECHO_N "(cached) $ECHO_C" >&6
24681 cat >conftest.$ac_ext <<_ACEOF
24684 cat confdefs.h >>conftest.$ac_ext
24685 cat >>conftest.$ac_ext <<_ACEOF
24686 /* end confdefs.h. */
24687 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
24688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24689 #define dlopen innocuous_dlopen
24691 /* System header to define __stub macros and hopefully few prototypes,
24692 which can conflict with char dlopen (); below.
24693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24694 <limits.h> exists even on freestanding compilers. */
24697 # include <limits.h>
24699 # include <assert.h>
24704 /* Override any gcc2 internal prototype to avoid an error. */
24709 /* We use char because int might match the return type of a gcc2
24710 builtin and then its argument prototype would still apply. */
24712 /* The GNU C library defines this for functions which it implements
24713 to always fail with ENOSYS. Some functions are actually named
24714 something starting with __ and the normal name is an alias. */
24715 #if defined (__stub_dlopen) || defined (__stub___dlopen)
24718 char (*f) () = dlopen;
24727 return f != dlopen;
24732 rm -f conftest.$ac_objext conftest$ac_exeext
24733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24734 (eval $ac_link) 2>conftest.er1
24736 grep -v '^ *+' conftest.er1 >conftest.err
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } &&
24741 { ac_try='test -z "$ac_c_werror_flag"
24742 || test ! -s conftest.err'
24743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24744 (eval $ac_try) 2>&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); }; } &&
24748 { ac_try='test -s conftest$ac_exeext'
24749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24750 (eval $ac_try) 2>&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); }; }; then
24754 ac_cv_func_dlopen=yes
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24759 ac_cv_func_dlopen=no
24761 rm -f conftest.err conftest.$ac_objext \
24762 conftest$ac_exeext conftest.$ac_ext
24764 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
24765 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
24766 if test $ac_cv_func_dlopen = yes; then
24767 lt_cv_dlopen="dlopen"
24769 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24770 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24771 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24774 ac_check_lib_save_LIBS=$LIBS
24776 cat >conftest.$ac_ext <<_ACEOF
24779 cat confdefs.h >>conftest.$ac_ext
24780 cat >>conftest.$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24783 /* Override any gcc2 internal prototype to avoid an error. */
24787 /* We use char because int might match the return type of a gcc2
24788 builtin and then its argument prototype would still apply. */
24798 rm -f conftest.$ac_objext conftest$ac_exeext
24799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24800 (eval $ac_link) 2>conftest.er1
24802 grep -v '^ *+' conftest.er1 >conftest.err
24804 cat conftest.err >&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } &&
24807 { ac_try='test -z "$ac_c_werror_flag"
24808 || test ! -s conftest.err'
24809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810 (eval $ac_try) 2>&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); }; } &&
24814 { ac_try='test -s conftest$ac_exeext'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; }; then
24820 ac_cv_lib_dl_dlopen=yes
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.$ac_ext >&5
24825 ac_cv_lib_dl_dlopen=no
24827 rm -f conftest.err conftest.$ac_objext \
24828 conftest$ac_exeext conftest.$ac_ext
24829 LIBS=$ac_check_lib_save_LIBS
24831 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24832 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24833 if test $ac_cv_lib_dl_dlopen = yes; then
24834 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24836 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
24837 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
24838 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 ac_check_lib_save_LIBS=$LIBS
24842 LIBS="-lsvld $LIBS"
24843 cat >conftest.$ac_ext <<_ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24850 /* Override any gcc2 internal prototype to avoid an error. */
24854 /* We use char because int might match the return type of a gcc2
24855 builtin and then its argument prototype would still apply. */
24865 rm -f conftest.$ac_objext conftest$ac_exeext
24866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24867 (eval $ac_link) 2>conftest.er1
24869 grep -v '^ *+' conftest.er1 >conftest.err
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } &&
24874 { ac_try='test -z "$ac_c_werror_flag"
24875 || test ! -s conftest.err'
24876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24877 (eval $ac_try) 2>&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); }; } &&
24881 { ac_try='test -s conftest$ac_exeext'
24882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883 (eval $ac_try) 2>&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); }; }; then
24887 ac_cv_lib_svld_dlopen=yes
24889 echo "$as_me: failed program was:" >&5
24890 sed 's/^/| /' conftest.$ac_ext >&5
24892 ac_cv_lib_svld_dlopen=no
24894 rm -f conftest.err conftest.$ac_objext \
24895 conftest$ac_exeext conftest.$ac_ext
24896 LIBS=$ac_check_lib_save_LIBS
24898 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
24899 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
24900 if test $ac_cv_lib_svld_dlopen = yes; then
24901 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
24903 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
24904 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
24905 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
24906 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 ac_check_lib_save_LIBS=$LIBS
24910 cat >conftest.$ac_ext <<_ACEOF
24913 cat confdefs.h >>conftest.$ac_ext
24914 cat >>conftest.$ac_ext <<_ACEOF
24915 /* end confdefs.h. */
24917 /* Override any gcc2 internal prototype to avoid an error. */
24921 /* We use char because int might match the return type of a gcc2
24922 builtin and then its argument prototype would still apply. */
24932 rm -f conftest.$ac_objext conftest$ac_exeext
24933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24934 (eval $ac_link) 2>conftest.er1
24936 grep -v '^ *+' conftest.er1 >conftest.err
24938 cat conftest.err >&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } &&
24941 { ac_try='test -z "$ac_c_werror_flag"
24942 || test ! -s conftest.err'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; } &&
24948 { ac_try='test -s conftest$ac_exeext'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; }; then
24954 ac_cv_lib_dld_dld_link=yes
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.$ac_ext >&5
24959 ac_cv_lib_dld_dld_link=no
24961 rm -f conftest.err conftest.$ac_objext \
24962 conftest$ac_exeext conftest.$ac_ext
24963 LIBS=$ac_check_lib_save_LIBS
24965 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
24966 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
24967 if test $ac_cv_lib_dld_dld_link = yes; then
24968 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
24989 if test "x$lt_cv_dlopen" != xno; then
24995 case $lt_cv_dlopen in
24997 save_CPPFLAGS="$CPPFLAGS"
24998 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
25000 save_LDFLAGS="$LDFLAGS"
25001 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
25004 LIBS="$lt_cv_dlopen_libs $LIBS"
25006 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
25007 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
25008 if test "${lt_cv_dlopen_self+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 if test "$cross_compiling" = yes; then :
25012 lt_cv_dlopen_self=cross
25014 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25015 lt_status=$lt_dlunknown
25016 cat > conftest.$ac_ext <<EOF
25017 #line 25017 "configure"
25018 #include "confdefs.h"
25027 # define LT_DLGLOBAL RTLD_GLOBAL
25030 # define LT_DLGLOBAL DL_GLOBAL
25032 # define LT_DLGLOBAL 0
25036 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
25037 find out it does not work in some platform. */
25038 #ifndef LT_DLLAZY_OR_NOW
25040 # define LT_DLLAZY_OR_NOW RTLD_LAZY
25043 # define LT_DLLAZY_OR_NOW DL_LAZY
25046 # define LT_DLLAZY_OR_NOW RTLD_NOW
25049 # define LT_DLLAZY_OR_NOW DL_NOW
25051 # define LT_DLLAZY_OR_NOW 0
25059 extern "C" void exit (int);
25062 void fnord() { int i=42;}
25065 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
25066 int status = $lt_dlunknown;
25070 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
25071 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
25072 /* dlclose (self); */
25078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25079 (eval $ac_link) 2>&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
25083 (./conftest; exit; ) 2>/dev/null
25085 case x$lt_status in
25086 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
25087 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
25088 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
25091 # compilation failed
25092 lt_cv_dlopen_self=no
25099 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
25100 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
25102 if test "x$lt_cv_dlopen_self" = xyes; then
25103 LDFLAGS="$LDFLAGS $link_static_flag"
25104 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
25105 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
25106 if test "${lt_cv_dlopen_self_static+set}" = set; then
25107 echo $ECHO_N "(cached) $ECHO_C" >&6
25109 if test "$cross_compiling" = yes; then :
25110 lt_cv_dlopen_self_static=cross
25112 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25113 lt_status=$lt_dlunknown
25114 cat > conftest.$ac_ext <<EOF
25115 #line 25115 "configure"
25116 #include "confdefs.h"
25125 # define LT_DLGLOBAL RTLD_GLOBAL
25128 # define LT_DLGLOBAL DL_GLOBAL
25130 # define LT_DLGLOBAL 0
25134 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
25135 find out it does not work in some platform. */
25136 #ifndef LT_DLLAZY_OR_NOW
25138 # define LT_DLLAZY_OR_NOW RTLD_LAZY
25141 # define LT_DLLAZY_OR_NOW DL_LAZY
25144 # define LT_DLLAZY_OR_NOW RTLD_NOW
25147 # define LT_DLLAZY_OR_NOW DL_NOW
25149 # define LT_DLLAZY_OR_NOW 0
25157 extern "C" void exit (int);
25160 void fnord() { int i=42;}
25163 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
25164 int status = $lt_dlunknown;
25168 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
25169 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
25170 /* dlclose (self); */
25176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25177 (eval $ac_link) 2>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
25181 (./conftest; exit; ) 2>/dev/null
25183 case x$lt_status in
25184 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
25185 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
25186 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
25189 # compilation failed
25190 lt_cv_dlopen_self_static=no
25197 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
25198 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
25201 CPPFLAGS="$save_CPPFLAGS"
25202 LDFLAGS="$save_LDFLAGS"
25207 case $lt_cv_dlopen_self in
25208 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
25209 *) enable_dlopen_self=unknown ;;
25212 case $lt_cv_dlopen_self_static in
25213 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
25214 *) enable_dlopen_self_static=unknown ;;
25219 # The else clause should only fire when bootstrapping the
25220 # libtool distribution, otherwise you forgot to ship ltmain.sh
25221 # with your package, and you will get complaints that there are
25222 # no rules to generate ltmain.sh.
25223 if test -f "$ltmain"; then
25224 # See if we are running on zsh, and set the options which allow our commands through
25225 # without removal of \ escapes.
25226 if test -n "${ZSH_VERSION+set}" ; then
25227 setopt NO_GLOB_SUBST
25229 # Now quote all the things that may contain metacharacters while being
25230 # careful not to overquote the AC_SUBSTed values. We take copies of the
25231 # variables and quote the copies for generation of the libtool script.
25232 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25234 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25235 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25236 deplibs_check_method reload_flag reload_cmds need_locks \
25237 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25238 lt_cv_sys_global_symbol_to_c_name_address \
25239 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25240 old_postinstall_cmds old_postuninstall_cmds \
25244 lt_prog_compiler_wl_GCJ \
25245 lt_prog_compiler_pic_GCJ \
25246 lt_prog_compiler_static_GCJ \
25247 lt_prog_compiler_no_builtin_flag_GCJ \
25248 export_dynamic_flag_spec_GCJ \
25249 thread_safe_flag_spec_GCJ \
25250 whole_archive_flag_spec_GCJ \
25251 enable_shared_with_static_runtimes_GCJ \
25252 old_archive_cmds_GCJ \
25253 old_archive_from_new_cmds_GCJ \
25254 predep_objects_GCJ \
25255 postdep_objects_GCJ \
25258 compiler_lib_search_path_GCJ \
25260 archive_expsym_cmds_GCJ \
25261 postinstall_cmds_GCJ \
25262 postuninstall_cmds_GCJ \
25263 old_archive_from_expsyms_cmds_GCJ \
25264 allow_undefined_flag_GCJ \
25265 no_undefined_flag_GCJ \
25266 export_symbols_cmds_GCJ \
25267 hardcode_libdir_flag_spec_GCJ \
25268 hardcode_libdir_flag_spec_ld_GCJ \
25269 hardcode_libdir_separator_GCJ \
25270 hardcode_automatic_GCJ \
25272 module_expsym_cmds_GCJ \
25273 lt_cv_prog_compiler_c_o_GCJ \
25274 exclude_expsyms_GCJ \
25275 include_expsyms_GCJ; do
25278 old_archive_cmds_GCJ | \
25279 old_archive_from_new_cmds_GCJ | \
25280 archive_cmds_GCJ | \
25281 archive_expsym_cmds_GCJ | \
25282 module_cmds_GCJ | \
25283 module_expsym_cmds_GCJ | \
25284 old_archive_from_expsyms_cmds_GCJ | \
25285 export_symbols_cmds_GCJ | \
25286 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25287 postinstall_cmds | postuninstall_cmds | \
25288 old_postinstall_cmds | old_postuninstall_cmds | \
25289 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25290 # Double-quote double-evaled strings.
25291 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25294 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25300 *'\$0 --fallback-echo"')
25301 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25307 cat <<__EOF__ >> "$cfgfile"
25308 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25310 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25312 # Shell to use when invoking shell scripts.
25315 # Whether or not to build shared libraries.
25316 build_libtool_libs=$enable_shared
25318 # Whether or not to build static libraries.
25319 build_old_libs=$enable_static
25321 # Whether or not to add -lc for building shared libraries.
25322 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25324 # Whether or not to disallow shared libs when runtime libs are static
25325 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25327 # Whether or not to optimize for fast installation.
25328 fast_install=$enable_fast_install
25331 host_alias=$host_alias
25334 # An echo program that does not interpret backslashes.
25339 AR_FLAGS=$lt_AR_FLAGS
25344 # A language-specific compiler.
25345 CC=$lt_compiler_GCJ
25347 # Is the compiler the GNU C compiler?
25353 # The linker used to build libraries.
25356 # Whether we need hard or soft links.
25359 # A BSD-compatible nm program.
25362 # A symbol stripping program
25365 # Used to examine libraries when file_magic_cmd begins "file"
25366 MAGIC_CMD=$MAGIC_CMD
25368 # Used on cygwin: DLL creation program.
25371 # Used on cygwin: object dumper.
25374 # Used on cygwin: assembler.
25377 # The name of the directory that contains temporary libtool files.
25380 # How to create reloadable object files.
25381 reload_flag=$lt_reload_flag
25382 reload_cmds=$lt_reload_cmds
25384 # How to pass a linker flag through the compiler.
25385 wl=$lt_lt_prog_compiler_wl_GCJ
25387 # Object file suffix (normally "o").
25388 objext="$ac_objext"
25390 # Old archive suffix (normally "a").
25393 # Shared library suffix (normally ".so").
25394 shrext_cmds='$shrext_cmds'
25396 # Executable file suffix (normally "").
25399 # Additional compiler flags for building library objects.
25400 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25403 # What is the maximum length of a command?
25404 max_cmd_len=$lt_cv_sys_max_cmd_len
25406 # Does compiler simultaneously support -c and -o options?
25407 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25409 # Must we lock files when doing compilation ?
25410 need_locks=$lt_need_locks
25412 # Do we need the lib prefix for modules?
25413 need_lib_prefix=$need_lib_prefix
25415 # Do we need a version for libraries?
25416 need_version=$need_version
25418 # Whether dlopen is supported.
25419 dlopen_support=$enable_dlopen
25421 # Whether dlopen of programs is supported.
25422 dlopen_self=$enable_dlopen_self
25424 # Whether dlopen of statically linked programs is supported.
25425 dlopen_self_static=$enable_dlopen_self_static
25427 # Compiler flag to prevent dynamic linking.
25428 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25430 # Compiler flag to turn off builtin functions.
25431 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25433 # Compiler flag to allow reflexive dlopens.
25434 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25436 # Compiler flag to generate shared objects directly from archives.
25437 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25439 # Compiler flag to generate thread-safe objects.
25440 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25442 # Library versioning type.
25443 version_type=$version_type
25445 # Format of library name prefix.
25446 libname_spec=$lt_libname_spec
25448 # List of archive names. First name is the real one, the rest are links.
25449 # The last name is the one that the linker finds with -lNAME.
25450 library_names_spec=$lt_library_names_spec
25452 # The coded name of the library, if different from the real name.
25453 soname_spec=$lt_soname_spec
25455 # Commands used to build and install an old-style archive.
25457 old_archive_cmds=$lt_old_archive_cmds_GCJ
25458 old_postinstall_cmds=$lt_old_postinstall_cmds
25459 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25461 # Create an old-style archive from a shared archive.
25462 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25464 # Create a temporary old-style archive to link instead of a shared archive.
25465 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25467 # Commands used to build and install a shared archive.
25468 archive_cmds=$lt_archive_cmds_GCJ
25469 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25470 postinstall_cmds=$lt_postinstall_cmds
25471 postuninstall_cmds=$lt_postuninstall_cmds
25473 # Commands used to build a loadable module (assumed same as above if empty)
25474 module_cmds=$lt_module_cmds_GCJ
25475 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25477 # Commands to strip libraries.
25478 old_striplib=$lt_old_striplib
25479 striplib=$lt_striplib
25481 # Dependencies to place before the objects being linked to create a
25483 predep_objects=$lt_predep_objects_GCJ
25485 # Dependencies to place after the objects being linked to create a
25487 postdep_objects=$lt_postdep_objects_GCJ
25489 # Dependencies to place before the objects being linked to create a
25491 predeps=$lt_predeps_GCJ
25493 # Dependencies to place after the objects being linked to create a
25495 postdeps=$lt_postdeps_GCJ
25497 # The library search path used internally by the compiler when linking
25498 # a shared library.
25499 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25501 # Method to check whether dependent libraries are shared objects.
25502 deplibs_check_method=$lt_deplibs_check_method
25504 # Command to use when deplibs_check_method == file_magic.
25505 file_magic_cmd=$lt_file_magic_cmd
25507 # Flag that allows shared libraries with undefined symbols to be built.
25508 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25510 # Flag that forces no undefined symbols.
25511 no_undefined_flag=$lt_no_undefined_flag_GCJ
25513 # Commands used to finish a libtool library installation in a directory.
25514 finish_cmds=$lt_finish_cmds
25516 # Same as above, but a single script fragment to be evaled but not shown.
25517 finish_eval=$lt_finish_eval
25519 # Take the output of nm and produce a listing of raw symbols and C names.
25520 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25522 # Transform the output of nm in a proper C declaration
25523 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25525 # Transform the output of nm in a C name address pair
25526 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25528 # This is the shared library runtime path variable.
25529 runpath_var=$runpath_var
25531 # This is the shared library path variable.
25532 shlibpath_var=$shlibpath_var
25534 # Is shlibpath searched before the hard-coded library search path?
25535 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25537 # How to hardcode a shared library path into an executable.
25538 hardcode_action=$hardcode_action_GCJ
25540 # Whether we should hardcode library paths into libraries.
25541 hardcode_into_libs=$hardcode_into_libs
25543 # Flag to hardcode \$libdir into a binary during linking.
25544 # This must work even if \$libdir does not exist.
25545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25547 # If ld is used when linking, flag to hardcode \$libdir into
25548 # a binary during linking. This must work even if \$libdir does
25550 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25552 # Whether we need a single -rpath flag with a separated argument.
25553 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25555 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25556 # resulting binary.
25557 hardcode_direct=$hardcode_direct_GCJ
25559 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25560 # resulting binary.
25561 hardcode_minus_L=$hardcode_minus_L_GCJ
25563 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25564 # the resulting binary.
25565 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25567 # Set to yes if building a shared library automatically hardcodes DIR into the library
25568 # and all subsequent libraries and executables linked against it.
25569 hardcode_automatic=$hardcode_automatic_GCJ
25571 # Variables whose values should be saved in libtool wrapper scripts and
25572 # restored at relink time.
25573 variables_saved_for_relink="$variables_saved_for_relink"
25575 # Whether libtool must link a program against all its dependency libraries.
25576 link_all_deplibs=$link_all_deplibs_GCJ
25578 # Compile-time system search path for libraries
25579 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25581 # Run-time system search path for libraries
25582 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25584 # Fix the shell variable \$srcfile for the compiler.
25585 fix_srcfile_path="$fix_srcfile_path_GCJ"
25587 # Set to yes if exported symbols are required.
25588 always_export_symbols=$always_export_symbols_GCJ
25590 # The commands to list exported symbols.
25591 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
25593 # The commands to extract the exported symbol list from a shared archive.
25594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25596 # Symbols that should not be listed in the preloaded symbols.
25597 exclude_expsyms=$lt_exclude_expsyms_GCJ
25599 # Symbols that must always be exported.
25600 include_expsyms=$lt_include_expsyms_GCJ
25602 # ### END LIBTOOL TAG CONFIG: $tagname
25608 # If there is no Makefile yet, we rely on a make rule to execute
25609 # `config.status --recheck' to rerun these tests and create the
25610 # libtool script then.
25611 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25612 if test -f "$ltmain_in"; then
25613 test -f Makefile && make "$ltmain"
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25635 # Source file extension for RC test sources.
25638 # Object file extension for compiled RC test sources.
25642 # Code to be used in simple compile tests
25643 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
25645 # Code to be used in simple link tests
25646 lt_simple_link_test_code="$lt_simple_compile_test_code"
25648 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25650 # If no C compiler was specified, use CC.
25653 # Allow CC to be a program name with arguments.
25657 # Allow CC to be a program name with arguments.
25662 lt_cv_prog_compiler_c_o_RC=yes
25664 # The else clause should only fire when bootstrapping the
25665 # libtool distribution, otherwise you forgot to ship ltmain.sh
25666 # with your package, and you will get complaints that there are
25667 # no rules to generate ltmain.sh.
25668 if test -f "$ltmain"; then
25669 # See if we are running on zsh, and set the options which allow our commands through
25670 # without removal of \ escapes.
25671 if test -n "${ZSH_VERSION+set}" ; then
25672 setopt NO_GLOB_SUBST
25674 # Now quote all the things that may contain metacharacters while being
25675 # careful not to overquote the AC_SUBSTed values. We take copies of the
25676 # variables and quote the copies for generation of the libtool script.
25677 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25679 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25680 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25681 deplibs_check_method reload_flag reload_cmds need_locks \
25682 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25683 lt_cv_sys_global_symbol_to_c_name_address \
25684 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25685 old_postinstall_cmds old_postuninstall_cmds \
25689 lt_prog_compiler_wl_RC \
25690 lt_prog_compiler_pic_RC \
25691 lt_prog_compiler_static_RC \
25692 lt_prog_compiler_no_builtin_flag_RC \
25693 export_dynamic_flag_spec_RC \
25694 thread_safe_flag_spec_RC \
25695 whole_archive_flag_spec_RC \
25696 enable_shared_with_static_runtimes_RC \
25697 old_archive_cmds_RC \
25698 old_archive_from_new_cmds_RC \
25699 predep_objects_RC \
25700 postdep_objects_RC \
25703 compiler_lib_search_path_RC \
25705 archive_expsym_cmds_RC \
25706 postinstall_cmds_RC \
25707 postuninstall_cmds_RC \
25708 old_archive_from_expsyms_cmds_RC \
25709 allow_undefined_flag_RC \
25710 no_undefined_flag_RC \
25711 export_symbols_cmds_RC \
25712 hardcode_libdir_flag_spec_RC \
25713 hardcode_libdir_flag_spec_ld_RC \
25714 hardcode_libdir_separator_RC \
25715 hardcode_automatic_RC \
25717 module_expsym_cmds_RC \
25718 lt_cv_prog_compiler_c_o_RC \
25719 exclude_expsyms_RC \
25720 include_expsyms_RC; do
25723 old_archive_cmds_RC | \
25724 old_archive_from_new_cmds_RC | \
25725 archive_cmds_RC | \
25726 archive_expsym_cmds_RC | \
25728 module_expsym_cmds_RC | \
25729 old_archive_from_expsyms_cmds_RC | \
25730 export_symbols_cmds_RC | \
25731 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25732 postinstall_cmds | postuninstall_cmds | \
25733 old_postinstall_cmds | old_postuninstall_cmds | \
25734 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25735 # Double-quote double-evaled strings.
25736 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25739 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25745 *'\$0 --fallback-echo"')
25746 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25752 cat <<__EOF__ >> "$cfgfile"
25753 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25755 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25757 # Shell to use when invoking shell scripts.
25760 # Whether or not to build shared libraries.
25761 build_libtool_libs=$enable_shared
25763 # Whether or not to build static libraries.
25764 build_old_libs=$enable_static
25766 # Whether or not to add -lc for building shared libraries.
25767 build_libtool_need_lc=$archive_cmds_need_lc_RC
25769 # Whether or not to disallow shared libs when runtime libs are static
25770 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25772 # Whether or not to optimize for fast installation.
25773 fast_install=$enable_fast_install
25776 host_alias=$host_alias
25779 # An echo program that does not interpret backslashes.
25784 AR_FLAGS=$lt_AR_FLAGS
25789 # A language-specific compiler.
25792 # Is the compiler the GNU C compiler?
25798 # The linker used to build libraries.
25801 # Whether we need hard or soft links.
25804 # A BSD-compatible nm program.
25807 # A symbol stripping program
25810 # Used to examine libraries when file_magic_cmd begins "file"
25811 MAGIC_CMD=$MAGIC_CMD
25813 # Used on cygwin: DLL creation program.
25816 # Used on cygwin: object dumper.
25819 # Used on cygwin: assembler.
25822 # The name of the directory that contains temporary libtool files.
25825 # How to create reloadable object files.
25826 reload_flag=$lt_reload_flag
25827 reload_cmds=$lt_reload_cmds
25829 # How to pass a linker flag through the compiler.
25830 wl=$lt_lt_prog_compiler_wl_RC
25832 # Object file suffix (normally "o").
25833 objext="$ac_objext"
25835 # Old archive suffix (normally "a").
25838 # Shared library suffix (normally ".so").
25839 shrext_cmds='$shrext_cmds'
25841 # Executable file suffix (normally "").
25844 # Additional compiler flags for building library objects.
25845 pic_flag=$lt_lt_prog_compiler_pic_RC
25848 # What is the maximum length of a command?
25849 max_cmd_len=$lt_cv_sys_max_cmd_len
25851 # Does compiler simultaneously support -c and -o options?
25852 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25854 # Must we lock files when doing compilation ?
25855 need_locks=$lt_need_locks
25857 # Do we need the lib prefix for modules?
25858 need_lib_prefix=$need_lib_prefix
25860 # Do we need a version for libraries?
25861 need_version=$need_version
25863 # Whether dlopen is supported.
25864 dlopen_support=$enable_dlopen
25866 # Whether dlopen of programs is supported.
25867 dlopen_self=$enable_dlopen_self
25869 # Whether dlopen of statically linked programs is supported.
25870 dlopen_self_static=$enable_dlopen_self_static
25872 # Compiler flag to prevent dynamic linking.
25873 link_static_flag=$lt_lt_prog_compiler_static_RC
25875 # Compiler flag to turn off builtin functions.
25876 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25878 # Compiler flag to allow reflexive dlopens.
25879 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25881 # Compiler flag to generate shared objects directly from archives.
25882 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25884 # Compiler flag to generate thread-safe objects.
25885 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25887 # Library versioning type.
25888 version_type=$version_type
25890 # Format of library name prefix.
25891 libname_spec=$lt_libname_spec
25893 # List of archive names. First name is the real one, the rest are links.
25894 # The last name is the one that the linker finds with -lNAME.
25895 library_names_spec=$lt_library_names_spec
25897 # The coded name of the library, if different from the real name.
25898 soname_spec=$lt_soname_spec
25900 # Commands used to build and install an old-style archive.
25902 old_archive_cmds=$lt_old_archive_cmds_RC
25903 old_postinstall_cmds=$lt_old_postinstall_cmds
25904 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25906 # Create an old-style archive from a shared archive.
25907 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25909 # Create a temporary old-style archive to link instead of a shared archive.
25910 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25912 # Commands used to build and install a shared archive.
25913 archive_cmds=$lt_archive_cmds_RC
25914 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25915 postinstall_cmds=$lt_postinstall_cmds
25916 postuninstall_cmds=$lt_postuninstall_cmds
25918 # Commands used to build a loadable module (assumed same as above if empty)
25919 module_cmds=$lt_module_cmds_RC
25920 module_expsym_cmds=$lt_module_expsym_cmds_RC
25922 # Commands to strip libraries.
25923 old_striplib=$lt_old_striplib
25924 striplib=$lt_striplib
25926 # Dependencies to place before the objects being linked to create a
25928 predep_objects=$lt_predep_objects_RC
25930 # Dependencies to place after the objects being linked to create a
25932 postdep_objects=$lt_postdep_objects_RC
25934 # Dependencies to place before the objects being linked to create a
25936 predeps=$lt_predeps_RC
25938 # Dependencies to place after the objects being linked to create a
25940 postdeps=$lt_postdeps_RC
25942 # The library search path used internally by the compiler when linking
25943 # a shared library.
25944 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25946 # Method to check whether dependent libraries are shared objects.
25947 deplibs_check_method=$lt_deplibs_check_method
25949 # Command to use when deplibs_check_method == file_magic.
25950 file_magic_cmd=$lt_file_magic_cmd
25952 # Flag that allows shared libraries with undefined symbols to be built.
25953 allow_undefined_flag=$lt_allow_undefined_flag_RC
25955 # Flag that forces no undefined symbols.
25956 no_undefined_flag=$lt_no_undefined_flag_RC
25958 # Commands used to finish a libtool library installation in a directory.
25959 finish_cmds=$lt_finish_cmds
25961 # Same as above, but a single script fragment to be evaled but not shown.
25962 finish_eval=$lt_finish_eval
25964 # Take the output of nm and produce a listing of raw symbols and C names.
25965 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25967 # Transform the output of nm in a proper C declaration
25968 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25970 # Transform the output of nm in a C name address pair
25971 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25973 # This is the shared library runtime path variable.
25974 runpath_var=$runpath_var
25976 # This is the shared library path variable.
25977 shlibpath_var=$shlibpath_var
25979 # Is shlibpath searched before the hard-coded library search path?
25980 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25982 # How to hardcode a shared library path into an executable.
25983 hardcode_action=$hardcode_action_RC
25985 # Whether we should hardcode library paths into libraries.
25986 hardcode_into_libs=$hardcode_into_libs
25988 # Flag to hardcode \$libdir into a binary during linking.
25989 # This must work even if \$libdir does not exist.
25990 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25992 # If ld is used when linking, flag to hardcode \$libdir into
25993 # a binary during linking. This must work even if \$libdir does
25995 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
25997 # Whether we need a single -rpath flag with a separated argument.
25998 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26000 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26001 # resulting binary.
26002 hardcode_direct=$hardcode_direct_RC
26004 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26005 # resulting binary.
26006 hardcode_minus_L=$hardcode_minus_L_RC
26008 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26009 # the resulting binary.
26010 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26012 # Set to yes if building a shared library automatically hardcodes DIR into the library
26013 # and all subsequent libraries and executables linked against it.
26014 hardcode_automatic=$hardcode_automatic_RC
26016 # Variables whose values should be saved in libtool wrapper scripts and
26017 # restored at relink time.
26018 variables_saved_for_relink="$variables_saved_for_relink"
26020 # Whether libtool must link a program against all its dependency libraries.
26021 link_all_deplibs=$link_all_deplibs_RC
26023 # Compile-time system search path for libraries
26024 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26026 # Run-time system search path for libraries
26027 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26029 # Fix the shell variable \$srcfile for the compiler.
26030 fix_srcfile_path="$fix_srcfile_path_RC"
26032 # Set to yes if exported symbols are required.
26033 always_export_symbols=$always_export_symbols_RC
26035 # The commands to list exported symbols.
26036 export_symbols_cmds=$lt_export_symbols_cmds_RC
26038 # The commands to extract the exported symbol list from a shared archive.
26039 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26041 # Symbols that should not be listed in the preloaded symbols.
26042 exclude_expsyms=$lt_exclude_expsyms_RC
26044 # Symbols that must always be exported.
26045 include_expsyms=$lt_include_expsyms_RC
26047 # ### END LIBTOOL TAG CONFIG: $tagname
26053 # If there is no Makefile yet, we rely on a make rule to execute
26054 # `config.status --recheck' to rerun these tests and create the
26055 # libtool script then.
26056 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26057 if test -f "$ltmain_in"; then
26058 test -f Makefile && make "$ltmain"
26064 ac_cpp='$CPP $CPPFLAGS'
26065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26074 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26075 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26076 { (exit 1); exit 1; }; }
26080 # Append the new tag name to the list of available tags.
26081 if test -n "$tagname" ; then
26082 available_tags="$available_tags $tagname"
26088 # Now substitute the updated list of available tags.
26089 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26090 mv "${ofile}T" "$ofile"
26094 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26095 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26096 { (exit 1); exit 1; }; }
26102 # This can be used to rebuild libtool when needed
26103 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
26105 # Always use our own libtool.
26106 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
26108 # Prevent multiple expansion
26132 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26133 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
26135 # Check whether --with-vrootdir or --without-vrootdir was given.
26136 if test "${with_vrootdir+set}" = set; then
26137 withval="$with_vrootdir"
26139 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26140 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26141 { (exit 1); exit 1; }; };;
26142 *) ensc_uv_path_vrootdir=$withval;;
26145 ensc_uv_path_vrootdir=/vservers
26147 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26148 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
26150 if test x"vserverdir" != x; then
26151 vserverdir=$ensc_uv_path_vrootdir
26156 for ac_prog in svn2cl
26158 # Extract the first word of "$ac_prog", so it can be a program name with args.
26159 set dummy $ac_prog; ac_word=$2
26160 echo "$as_me:$LINENO: checking for $ac_word" >&5
26161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26162 if test "${ac_cv_prog_SVN2CL+set}" = set; then
26163 echo $ECHO_N "(cached) $ECHO_C" >&6
26165 if test -n "$SVN2CL"; then
26166 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
26168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26169 for as_dir in $PATH
26172 test -z "$as_dir" && as_dir=.
26173 for ac_exec_ext in '' $ac_executable_extensions; do
26174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26175 ac_cv_prog_SVN2CL="$ac_prog"
26176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26184 SVN2CL=$ac_cv_prog_SVN2CL
26185 if test -n "$SVN2CL"; then
26186 echo "$as_me:$LINENO: result: $SVN2CL" >&5
26187 echo "${ECHO_T}$SVN2CL" >&6
26189 echo "$as_me:$LINENO: result: no" >&5
26190 echo "${ECHO_T}no" >&6
26193 test -n "$SVN2CL" && break
26198 if test x"$SVN2CL" != x; then
26200 HAVE_SVN2CL_FALSE='#'
26202 HAVE_SVN2CL_TRUE='#'
26209 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26210 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
26211 # Check whether --enable-internal-headers or --disable-internal-headers was given.
26212 if test "${enable_internal_headers+set}" = set; then
26213 enableval="$enable_internal_headers"
26214 case "$enableval" in
26216 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26217 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26218 { (exit 1); exit 1; }; };;
26221 enable_internal_headers=yes
26226 if test x"$enable_internal_headers" = xyes; then
26227 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26228 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26230 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26231 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26234 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26235 echo "${ECHO_T}$enable_internal_headers" >&6
26258 echo "$as_me:$LINENO: checking for supported APIs" >&5
26259 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
26260 # Check whether --enable-apis or --disable-apis was given.
26261 if test "${enable_apis+set}" = set; then
26262 enableval="$enable_apis"
26265 enable_apis=v13,net,v21
26268 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21'
26269 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21'
26270 enable_api_oldproc=
26275 for i in $enable_apis; do
26277 (compat) cat >>confdefs.h <<\_ACEOF
26278 #define VC_ENABLE_API_COMPAT 1
26281 enable_api_oldproc=${enable_api_oldproc:-1}
26282 enable_api_olduts=${enable_api_olduts:-1}
26284 (legacy) cat >>confdefs.h <<\_ACEOF
26285 #define VC_ENABLE_API_LEGACY 1
26288 enable_api_oldproc=${enable_api_oldproc:-1}
26289 enable_api_olduts=${enable_api_olduts:-1}
26291 (v11) cat >>confdefs.h <<\_ACEOF
26292 #define VC_ENABLE_API_V11 1
26295 enable_api_oldproc=${enable_api_oldproc:-1}
26296 enable_api_olduts=${enable_api_olduts:-1}
26298 (fscompat) cat >>confdefs.h <<\_ACEOF
26299 #define VC_ENABLE_API_FSCOMPAT 1
26302 (v13obs) cat >>confdefs.h <<\_ACEOF
26303 #define VC_ENABLE_API_V13OBS 1
26306 cat >>confdefs.h <<\_ACEOF
26307 #define VC_ENABLE_API_V13 1
26310 (v13) cat >>confdefs.h <<\_ACEOF
26311 #define VC_ENABLE_API_V13 1
26314 (net) cat >>confdefs.h <<\_ACEOF
26315 #define VC_ENABLE_API_NET 1
26318 (v21) cat >>confdefs.h <<\_ACEOF
26319 #define VC_ENABLE_API_V21 1
26322 (oldproc) enable_api_oldproc=2;;
26323 (olduts) enable_api_olduts=2;;
26324 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
26325 echo "$as_me: error: '$i' is not a supported API" >&2;}
26326 { (exit 1); exit 1; }; };;
26330 if test x"$enable_api_oldproc" != x; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define VC_ENABLE_API_OLDPROC 1
26335 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
26337 if test x"$enable_api_olduts" != x; then
26338 cat >>confdefs.h <<\_ACEOF
26339 #define VC_ENABLE_API_OLDUTS 1
26342 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
26344 echo "$as_me:$LINENO: result: $enable_apis" >&5
26345 echo "${ECHO_T}$enable_apis" >&6
26352 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
26353 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
26354 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 ac_cpp='$CPP $CPPFLAGS'
26360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26364 cat >conftest.$ac_ext <<_ACEOF
26366 #ifdef ENSC_SYSCALL_FALLBACK
26367 # include ENSC_SYSCALL_FALLBACK
26369 # include <asm/unistd.h>
26371 #ifdef __NR_vserver
26372 ensc_syscall_tmp_nr=__NR_vserver;
26373 ensc_syscall_tmp_src=ENSC_MARK
26377 ensc_syscall_tmp_nr=
26378 ensc_syscall_tmp_src=
26379 test x"$ensc_syscall_tmp_nr" != x || \
26380 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
26381 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
26382 eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"lib/syscall-fallback.h"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
26383 test "$ensc_syscall_tmp_nr" || {
26384 ensc_syscall_tmp_nr=273
26385 ensc_syscall_tmp_src=default
26388 if test x"$ensc_syscall_tmp_nr" = x; then
26389 { { 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
26390 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;}
26391 { (exit 1); exit 1; }; }
26394 ac_cpp='$CPP $CPPFLAGS'
26395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26400 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
26403 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
26404 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
26406 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
26407 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
26409 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
26411 cat >>confdefs.h <<_ACEOF
26412 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
26420 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
26421 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
26423 # Check whether --with-syscall or --without-syscall was given.
26424 if test "${with_syscall+set}" = set; then
26425 withval="$with_syscall"
26430 echo "$as_me:$LINENO: result: $with_syscall" >&5
26431 echo "${ECHO_T}$with_syscall" >&6
26433 case x"$with_syscall" in
26435 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
26436 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
26437 if test "${ensc_cv_test_syscall+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26442 ac_cpp='$CPP $CPPFLAGS'
26443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26447 cat >conftest.$ac_ext <<_ACEOF
26450 cat confdefs.h >>conftest.$ac_ext
26451 cat >>conftest.$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26454 #include "$srcdir/lib/syscall-wrap.h"
26457 #define __NR_foo0 300
26458 #define __NR_foo1 301
26459 #define __NR_foo2 302
26460 #define __NR_foo3 303
26461 #define __NR_foo4 304
26462 #define __NR_foo5 305
26463 inline static _syscall0(int, foo0)
26464 inline static _syscall1(int, foo1, int, a)
26465 inline static _syscall2(int, foo2, int, a, int, b)
26466 inline static _syscall3(int, foo3, int, a, int, b, int, c)
26467 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
26468 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
26480 rm -f conftest.$ac_objext
26481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26482 (eval $ac_compile) 2>conftest.er1
26484 grep -v '^ *+' conftest.er1 >conftest.err
26486 cat conftest.err >&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } &&
26489 { ac_try='test -z "$ac_c_werror_flag"
26490 || test ! -s conftest.err'
26491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26492 (eval $ac_try) 2>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); }; } &&
26496 { ac_try='test -s conftest.$ac_objext'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; }; then
26502 ensc_cv_test_syscall=fast
26504 echo "$as_me: failed program was:" >&5
26505 sed 's/^/| /' conftest.$ac_ext >&5
26507 ensc_cv_test_syscall=traditional
26509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26512 ac_cpp='$CPP $CPPFLAGS'
26513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26519 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
26520 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
26521 with_syscall=$ensc_cv_test_syscall
26523 (xfast|xtraditional)
26526 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
26527 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
26528 { (exit 1); exit 1; }; }
26532 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
26533 with_syscall='alternative'
26536 if test x"$with_syscall" = xtraditional; then
26538 cat >>confdefs.h <<\_ACEOF
26539 #define ENSC_SYSCALL_TRADITIONAL 1
26550 ac_cpp='$CXXCPP $CPPFLAGS'
26551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26555 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
26556 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
26557 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 cat >conftest.$ac_ext <<_ACEOF
26564 cat confdefs.h >>conftest.$ac_ext
26565 cat >>conftest.$ac_ext <<_ACEOF
26566 /* end confdefs.h. */
26567 #include <ext2fs/ext2_fs.h>
26568 int main() { return 0; }
26570 rm -f conftest.$ac_objext
26571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26572 (eval $ac_compile) 2>conftest.er1
26574 grep -v '^ *+' conftest.er1 >conftest.err
26576 cat conftest.err >&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } &&
26579 { ac_try='test -z "$ac_cxx_werror_flag"
26580 || test ! -s conftest.err'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; } &&
26586 { ac_try='test -s conftest.$ac_objext'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; }; then
26592 ensc_cv_test_ext2fs_header=e2fsprogs
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.$ac_ext >&5
26598 cat >conftest.$ac_ext <<_ACEOF
26601 cat confdefs.h >>conftest.$ac_ext
26602 cat >>conftest.$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 #include <linux/ext2_fs.h>
26605 int main() { return 0; }
26607 rm -f conftest.$ac_objext
26608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26609 (eval $ac_compile) 2>conftest.er1
26611 grep -v '^ *+' conftest.er1 >conftest.err
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 { ac_try='test -z "$ac_cxx_werror_flag"
26617 || test ! -s conftest.err'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; } &&
26623 { ac_try='test -s conftest.$ac_objext'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; }; then
26629 ensc_cv_test_ext2fs_header=kernel
26631 echo "$as_me: failed program was:" >&5
26632 sed 's/^/| /' conftest.$ac_ext >&5
26635 ensc_cv_test_ext2fs_header=none
26637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26641 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26642 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
26644 case x"$ensc_cv_test_ext2fs_header" in
26646 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26647 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26648 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26649 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26653 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26655 # Is the header compilable?
26656 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26657 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
26658 cat >conftest.$ac_ext <<_ACEOF
26661 cat confdefs.h >>conftest.$ac_ext
26662 cat >>conftest.$ac_ext <<_ACEOF
26663 /* end confdefs.h. */
26664 $ac_includes_default
26665 #include <ext2fs/ext2_fs.h>
26667 rm -f conftest.$ac_objext
26668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26669 (eval $ac_compile) 2>conftest.er1
26671 grep -v '^ *+' conftest.er1 >conftest.err
26673 cat conftest.err >&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } &&
26676 { ac_try='test -z "$ac_cxx_werror_flag"
26677 || test ! -s conftest.err'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; } &&
26683 { ac_try='test -s conftest.$ac_objext'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 ac_header_compiler=yes
26691 echo "$as_me: failed program was:" >&5
26692 sed 's/^/| /' conftest.$ac_ext >&5
26694 ac_header_compiler=no
26696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26698 echo "${ECHO_T}$ac_header_compiler" >&6
26700 # Is the header present?
26701 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26702 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26703 cat >conftest.$ac_ext <<_ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709 #include <ext2fs/ext2_fs.h>
26711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26714 grep -v '^ *+' conftest.er1 >conftest.err
26716 cat conftest.err >&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } >/dev/null; then
26719 if test -s conftest.err; then
26720 ac_cpp_err=$ac_cxx_preproc_warn_flag
26721 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26728 if test -z "$ac_cpp_err"; then
26729 ac_header_preproc=yes
26731 echo "$as_me: failed program was:" >&5
26732 sed 's/^/| /' conftest.$ac_ext >&5
26734 ac_header_preproc=no
26736 rm -f conftest.err conftest.$ac_ext
26737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26738 echo "${ECHO_T}$ac_header_preproc" >&6
26740 # So? What about this header?
26741 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26743 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26744 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26745 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26746 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26747 ac_header_preproc=yes
26750 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26751 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26753 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26755 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26757 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26759 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26760 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26761 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26764 ## --------------------------------------------- ##
26765 ## Report this to vserver@list.linux-vserver.org ##
26766 ## --------------------------------------------- ##
26769 sed "s/^/$as_me: WARNING: /" >&2
26772 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26773 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26774 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26775 echo $ECHO_N "(cached) $ECHO_C" >&6
26777 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26779 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26780 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26783 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26785 cat >>confdefs.h <<\_ACEOF
26786 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26790 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26791 See \`config.log' for more details." >&5
26792 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26793 See \`config.log' for more details." >&2;}
26794 { (exit 1); exit 1; }; }
26800 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26801 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26802 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26803 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26807 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26809 # Is the header compilable?
26810 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26811 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26812 cat >conftest.$ac_ext <<_ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818 $ac_includes_default
26819 #include <linux/ext2_fs.h>
26821 rm -f conftest.$ac_objext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26823 (eval $ac_compile) 2>conftest.er1
26825 grep -v '^ *+' conftest.er1 >conftest.err
26827 cat conftest.err >&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); } &&
26830 { ac_try='test -z "$ac_cxx_werror_flag"
26831 || test ! -s conftest.err'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; } &&
26837 { ac_try='test -s conftest.$ac_objext'
26838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839 (eval $ac_try) 2>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); }; }; then
26843 ac_header_compiler=yes
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26848 ac_header_compiler=no
26850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26852 echo "${ECHO_T}$ac_header_compiler" >&6
26854 # Is the header present?
26855 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26856 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26857 cat >conftest.$ac_ext <<_ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863 #include <linux/ext2_fs.h>
26865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26868 grep -v '^ *+' conftest.er1 >conftest.err
26870 cat conftest.err >&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } >/dev/null; then
26873 if test -s conftest.err; then
26874 ac_cpp_err=$ac_cxx_preproc_warn_flag
26875 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26882 if test -z "$ac_cpp_err"; then
26883 ac_header_preproc=yes
26885 echo "$as_me: failed program was:" >&5
26886 sed 's/^/| /' conftest.$ac_ext >&5
26888 ac_header_preproc=no
26890 rm -f conftest.err conftest.$ac_ext
26891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26892 echo "${ECHO_T}$ac_header_preproc" >&6
26894 # So? What about this header?
26895 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26897 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26898 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26899 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26900 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26901 ac_header_preproc=yes
26904 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
26905 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
26906 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
26907 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26908 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
26909 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
26910 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26911 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26912 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
26913 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26914 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
26915 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26918 ## --------------------------------------------- ##
26919 ## Report this to vserver@list.linux-vserver.org ##
26920 ## --------------------------------------------- ##
26923 sed "s/^/$as_me: WARNING: /" >&2
26926 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26927 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26928 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26929 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
26933 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26934 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26937 if test $ac_cv_header_linux_ext2_fs_h = yes; then
26939 cat >>confdefs.h <<\_ACEOF
26940 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
26944 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
26945 See \`config.log' for more details." >&5
26946 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
26947 See \`config.log' for more details." >&2;}
26948 { (exit 1); exit 1; }; }
26954 { { echo "$as_me:$LINENO: error:
26955 ext2fs headers were not found, or they are not usable. This can have
26956 the following reasons:
26958 * you have neither the e2fsprogs nor the kernel headers installed
26960 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26961 and you do not have e2fsprogs headers installed; please try to install
26962 - e2fsprogs-devel (for Red Hat), or
26963 - lib*ext2fs2-devel (for Mandriva), or
26964 - e2fslibs-dev (for Debian)
26967 * kernel headers are broken and your e2fsprogs headers are too old;
26968 until version 1.27 (inclusive), they are using reserved C++ keywords
26970 * kernel headers are broken and your e2fsprogs headers are too new;
26971 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26972 C++, for details and a solution see
26973 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26976 In the latter two cases you have the following options:
26977 * fix the headers manually, or
26978 * install a stable version of e2fsprogs (e.g. 1.34), or
26979 * use good kernel headers (from linux 2.4.x)
26981 See \`config.log' for more details." >&5
26982 echo "$as_me: error:
26983 ext2fs headers were not found, or they are not usable. This can have
26984 the following reasons:
26986 * you have neither the e2fsprogs nor the kernel headers installed
26988 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26989 and you do not have e2fsprogs headers installed; please try to install
26990 - e2fsprogs-devel (for Red Hat), or
26991 - lib*ext2fs2-devel (for Mandriva), or
26992 - e2fslibs-dev (for Debian)
26995 * kernel headers are broken and your e2fsprogs headers are too old;
26996 until version 1.27 (inclusive), they are using reserved C++ keywords
26998 * kernel headers are broken and your e2fsprogs headers are too new;
26999 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27000 C++, for details and a solution see
27001 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27004 In the latter two cases you have the following options:
27005 * fix the headers manually, or
27006 * install a stable version of e2fsprogs (e.g. 1.34), or
27007 * use good kernel headers (from linux 2.4.x)
27009 See \`config.log' for more details." >&2;}
27010 { (exit 1); exit 1; }; }
27014 ac_cpp='$CPP $CPPFLAGS'
27015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27021 for ac_func in vserver
27023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27024 echo "$as_me:$LINENO: checking for $ac_func" >&5
27025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27026 if eval "test \"\${$as_ac_var+set}\" = set"; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 cat >conftest.$ac_ext <<_ACEOF
27032 cat confdefs.h >>conftest.$ac_ext
27033 cat >>conftest.$ac_ext <<_ACEOF
27034 /* end confdefs.h. */
27035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27037 #define $ac_func innocuous_$ac_func
27039 /* System header to define __stub macros and hopefully few prototypes,
27040 which can conflict with char $ac_func (); below.
27041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27042 <limits.h> exists even on freestanding compilers. */
27045 # include <limits.h>
27047 # include <assert.h>
27052 /* Override any gcc2 internal prototype to avoid an error. */
27057 /* We use char because int might match the return type of a gcc2
27058 builtin and then its argument prototype would still apply. */
27060 /* The GNU C library defines this for functions which it implements
27061 to always fail with ENOSYS. Some functions are actually named
27062 something starting with __ and the normal name is an alias. */
27063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27066 char (*f) () = $ac_func;
27075 return f != $ac_func;
27080 rm -f conftest.$ac_objext conftest$ac_exeext
27081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27082 (eval $ac_link) 2>conftest.er1
27084 grep -v '^ *+' conftest.er1 >conftest.err
27086 cat conftest.err >&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); } &&
27089 { ac_try='test -z "$ac_c_werror_flag"
27090 || test ! -s conftest.err'
27091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092 (eval $ac_try) 2>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; } &&
27096 { ac_try='test -s conftest$ac_exeext'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; }; then
27102 eval "$as_ac_var=yes"
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27107 eval "$as_ac_var=no"
27109 rm -f conftest.err conftest.$ac_objext \
27110 conftest$ac_exeext conftest.$ac_ext
27112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27114 if test `eval echo '${'$as_ac_var'}'` = yes; then
27115 cat >>confdefs.h <<_ACEOF
27116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27122 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27123 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
27124 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 cat >conftest.$ac_ext <<_ACEOF
27130 cat confdefs.h >>conftest.$ac_ext
27131 cat >>conftest.$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27133 #include <linux/fs.h>
27139 char *p = (char *) MS_MOVE;
27146 rm -f conftest.$ac_objext
27147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27148 (eval $ac_compile) 2>conftest.er1
27150 grep -v '^ *+' conftest.er1 >conftest.err
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -z "$ac_c_werror_flag"
27156 || test ! -s conftest.err'
27157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27158 (eval $ac_try) 2>&5
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); }; } &&
27162 { ac_try='test -s conftest.$ac_objext'
27163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27164 (eval $ac_try) 2>&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); }; }; then
27168 ac_cv_have_decl_MS_MOVE=yes
27170 echo "$as_me: failed program was:" >&5
27171 sed 's/^/| /' conftest.$ac_ext >&5
27173 ac_cv_have_decl_MS_MOVE=no
27175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27177 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27178 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
27179 if test $ac_cv_have_decl_MS_MOVE = yes; then
27181 cat >>confdefs.h <<_ACEOF
27182 #define HAVE_DECL_MS_MOVE 1
27187 cat >>confdefs.h <<_ACEOF
27188 #define HAVE_DECL_MS_MOVE 0
27195 echo "$as_me:$LINENO: checking for xid_t" >&5
27196 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
27197 if test "${ac_cv_type_xid_t+set}" = set; then
27198 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 cat >conftest.$ac_ext <<_ACEOF
27203 cat confdefs.h >>conftest.$ac_ext
27204 cat >>conftest.$ac_ext <<_ACEOF
27205 /* end confdefs.h. */
27206 #include <sys/types.h>
27213 if (sizeof (xid_t))
27219 rm -f conftest.$ac_objext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27221 (eval $ac_compile) 2>conftest.er1
27223 grep -v '^ *+' conftest.er1 >conftest.err
27225 cat conftest.err >&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try='test -z "$ac_c_werror_flag"
27229 || test ! -s conftest.err'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; } &&
27235 { ac_try='test -s conftest.$ac_objext'
27236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237 (eval $ac_try) 2>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; }; then
27241 ac_cv_type_xid_t=yes
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27246 ac_cv_type_xid_t=no
27248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27250 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27251 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
27252 if test $ac_cv_type_xid_t = yes; then
27254 cat >>confdefs.h <<_ACEOF
27255 #define HAVE_XID_T 1
27261 echo "$as_me:$LINENO: checking for nid_t" >&5
27262 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
27263 if test "${ac_cv_type_nid_t+set}" = set; then
27264 echo $ECHO_N "(cached) $ECHO_C" >&6
27266 cat >conftest.$ac_ext <<_ACEOF
27269 cat confdefs.h >>conftest.$ac_ext
27270 cat >>conftest.$ac_ext <<_ACEOF
27271 /* end confdefs.h. */
27272 #include <sys/types.h>
27279 if (sizeof (nid_t))
27285 rm -f conftest.$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287 (eval $ac_compile) 2>conftest.er1
27289 grep -v '^ *+' conftest.er1 >conftest.err
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } &&
27294 { ac_try='test -z "$ac_c_werror_flag"
27295 || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try='test -s conftest.$ac_objext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 ac_cv_type_nid_t=yes
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27312 ac_cv_type_nid_t=no
27314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27316 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27317 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
27318 if test $ac_cv_type_nid_t = yes; then
27320 cat >>confdefs.h <<_ACEOF
27321 #define HAVE_NID_T 1
27329 for ac_header in sys/capability.h
27331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27333 echo "$as_me:$LINENO: checking for $ac_header" >&5
27334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27341 # Is the header compilable?
27342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27344 cat >conftest.$ac_ext <<_ACEOF
27347 cat confdefs.h >>conftest.$ac_ext
27348 cat >>conftest.$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27350 $ac_includes_default
27351 #include <$ac_header>
27353 rm -f conftest.$ac_objext
27354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27355 (eval $ac_compile) 2>conftest.er1
27357 grep -v '^ *+' conftest.er1 >conftest.err
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } &&
27362 { ac_try='test -z "$ac_c_werror_flag"
27363 || test ! -s conftest.err'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; } &&
27369 { ac_try='test -s conftest.$ac_objext'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; }; then
27375 ac_header_compiler=yes
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27380 ac_header_compiler=no
27382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27384 echo "${ECHO_T}$ac_header_compiler" >&6
27386 # Is the header present?
27387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27389 cat >conftest.$ac_ext <<_ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 #include <$ac_header>
27397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27400 grep -v '^ *+' conftest.er1 >conftest.err
27402 cat conftest.err >&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } >/dev/null; then
27405 if test -s conftest.err; then
27406 ac_cpp_err=$ac_c_preproc_warn_flag
27407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27414 if test -z "$ac_cpp_err"; then
27415 ac_header_preproc=yes
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27420 ac_header_preproc=no
27422 rm -f conftest.err conftest.$ac_ext
27423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27424 echo "${ECHO_T}$ac_header_preproc" >&6
27426 # So? What about this header?
27427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27433 ac_header_preproc=yes
27436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27450 ## --------------------------------------------- ##
27451 ## Report this to vserver@list.linux-vserver.org ##
27452 ## --------------------------------------------- ##
27455 sed "s/^/$as_me: WARNING: /" >&2
27458 echo "$as_me:$LINENO: checking for $ac_header" >&5
27459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27463 eval "$as_ac_Header=\$ac_header_preproc"
27465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27470 cat >>confdefs.h <<_ACEOF
27471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27479 if test x"$ensc_have_dietlibc" = xno; then
27480 echo "$as_me:$LINENO: checking for openpty" >&5
27481 echo $ECHO_N "checking for openpty... $ECHO_C" >&6
27482 if test "${ac_cv_func_openpty+set}" = set; then
27483 echo $ECHO_N "(cached) $ECHO_C" >&6
27485 cat >conftest.$ac_ext <<_ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
27492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27493 #define openpty innocuous_openpty
27495 /* System header to define __stub macros and hopefully few prototypes,
27496 which can conflict with char openpty (); below.
27497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27498 <limits.h> exists even on freestanding compilers. */
27501 # include <limits.h>
27503 # include <assert.h>
27508 /* Override any gcc2 internal prototype to avoid an error. */
27513 /* We use char because int might match the return type of a gcc2
27514 builtin and then its argument prototype would still apply. */
27516 /* The GNU C library defines this for functions which it implements
27517 to always fail with ENOSYS. Some functions are actually named
27518 something starting with __ and the normal name is an alias. */
27519 #if defined (__stub_openpty) || defined (__stub___openpty)
27522 char (*f) () = openpty;
27531 return f != openpty;
27536 rm -f conftest.$ac_objext conftest$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27540 grep -v '^ *+' conftest.er1 >conftest.err
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -z "$ac_c_werror_flag"
27546 || test ! -s conftest.err'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; } &&
27552 { ac_try='test -s conftest$ac_exeext'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27558 ac_cv_func_openpty=yes
27560 echo "$as_me: failed program was:" >&5
27561 sed 's/^/| /' conftest.$ac_ext >&5
27563 ac_cv_func_openpty=no
27565 rm -f conftest.err conftest.$ac_objext \
27566 conftest$ac_exeext conftest.$ac_ext
27568 echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
27569 echo "${ECHO_T}$ac_cv_func_openpty" >&6
27570 if test $ac_cv_func_openpty = yes; then
27574 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
27575 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
27576 if test "${ac_cv_lib_util_openpty+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 ac_check_lib_save_LIBS=$LIBS
27580 LIBS="-lutil $LIBS"
27581 cat >conftest.$ac_ext <<_ACEOF
27584 cat confdefs.h >>conftest.$ac_ext
27585 cat >>conftest.$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27588 /* Override any gcc2 internal prototype to avoid an error. */
27592 /* We use char because int might match the return type of a gcc2
27593 builtin and then its argument prototype would still apply. */
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>conftest.er1
27607 grep -v '^ *+' conftest.er1 >conftest.err
27609 cat conftest.err >&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try='test -z "$ac_c_werror_flag"
27613 || test ! -s conftest.err'
27614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27615 (eval $ac_try) 2>&5
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); }; } &&
27619 { ac_try='test -s conftest$ac_exeext'
27620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621 (eval $ac_try) 2>&5
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); }; }; then
27625 ac_cv_lib_util_openpty=yes
27627 echo "$as_me: failed program was:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27630 ac_cv_lib_util_openpty=no
27632 rm -f conftest.err conftest.$ac_objext \
27633 conftest$ac_exeext conftest.$ac_ext
27634 LIBS=$ac_check_lib_save_LIBS
27636 echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
27637 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
27638 if test $ac_cv_lib_util_openpty = yes; then
27639 cat >>confdefs.h <<_ACEOF
27640 #define HAVE_LIBUTIL 1
27643 LIBS="-lutil $LIBS"
27646 { { echo "$as_me:$LINENO: error:
27648 **** openpty could not be found
27650 echo "$as_me: error:
27652 **** openpty could not be found
27654 { (exit 1); exit 1; }; }
27662 if test x"$ensc_cv_c99_c99compiler" = xyes; then
27663 ensc_have_beecrypt=yes
27665 if test x"$ensc_have_beecrypt" = xyes; then
27666 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27667 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27668 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27669 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27670 echo $ECHO_N "(cached) $ECHO_C" >&6
27672 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27673 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27675 # Is the header compilable?
27676 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
27677 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
27678 cat >conftest.$ac_ext <<_ACEOF
27681 cat confdefs.h >>conftest.$ac_ext
27682 cat >>conftest.$ac_ext <<_ACEOF
27683 /* end confdefs.h. */
27684 $ac_includes_default
27685 #include <beecrypt/beecrypt.h>
27687 rm -f conftest.$ac_objext
27688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27689 (eval $ac_compile) 2>conftest.er1
27691 grep -v '^ *+' conftest.er1 >conftest.err
27693 cat conftest.err >&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); } &&
27696 { ac_try='test -z "$ac_c_werror_flag"
27697 || test ! -s conftest.err'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; } &&
27703 { ac_try='test -s conftest.$ac_objext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 ac_header_compiler=yes
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27714 ac_header_compiler=no
27716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27718 echo "${ECHO_T}$ac_header_compiler" >&6
27720 # Is the header present?
27721 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27722 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
27723 cat >conftest.$ac_ext <<_ACEOF
27726 cat confdefs.h >>conftest.$ac_ext
27727 cat >>conftest.$ac_ext <<_ACEOF
27728 /* end confdefs.h. */
27729 #include <beecrypt/beecrypt.h>
27731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27734 grep -v '^ *+' conftest.er1 >conftest.err
27736 cat conftest.err >&5
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } >/dev/null; then
27739 if test -s conftest.err; then
27740 ac_cpp_err=$ac_c_preproc_warn_flag
27741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27748 if test -z "$ac_cpp_err"; then
27749 ac_header_preproc=yes
27751 echo "$as_me: failed program was:" >&5
27752 sed 's/^/| /' conftest.$ac_ext >&5
27754 ac_header_preproc=no
27756 rm -f conftest.err conftest.$ac_ext
27757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27758 echo "${ECHO_T}$ac_header_preproc" >&6
27760 # So? What about this header?
27761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27763 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27764 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27765 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27766 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27767 ac_header_preproc=yes
27770 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27771 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27772 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27773 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27774 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27775 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27776 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27777 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27778 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27779 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27780 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27781 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27784 ## --------------------------------------------- ##
27785 ## Report this to vserver@list.linux-vserver.org ##
27786 ## --------------------------------------------- ##
27789 sed "s/^/$as_me: WARNING: /" >&2
27792 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27793 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27794 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27797 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27799 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27800 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27803 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27806 ensc_have_beecrypt=no
27812 if test x"$ensc_have_beecrypt" = xyes; then
27813 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27814 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27815 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 ac_check_lib_save_LIBS=$LIBS
27819 LIBS="-lbeecrypt $LIBS"
27820 cat >conftest.$ac_ext <<_ACEOF
27823 cat confdefs.h >>conftest.$ac_ext
27824 cat >>conftest.$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27827 /* Override any gcc2 internal prototype to avoid an error. */
27831 /* We use char because int might match the return type of a gcc2
27832 builtin and then its argument prototype would still apply. */
27833 char hashFunctionContextInit ();
27837 hashFunctionContextInit ();
27842 rm -f conftest.$ac_objext conftest$ac_exeext
27843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27844 (eval $ac_link) 2>conftest.er1
27846 grep -v '^ *+' conftest.er1 >conftest.err
27848 cat conftest.err >&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } &&
27851 { ac_try='test -z "$ac_c_werror_flag"
27852 || test ! -s conftest.err'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; } &&
27858 { ac_try='test -s conftest$ac_exeext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27869 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27871 rm -f conftest.err conftest.$ac_objext \
27872 conftest$ac_exeext conftest.$ac_ext
27873 LIBS=$ac_check_lib_save_LIBS
27875 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27876 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27877 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27880 ensc_have_beecrypt=no
27885 if test x"$ensc_have_beecrypt" != xyes; then
27886 { echo "$as_me:$LINENO: WARNING:
27888 **** 'beecrypt' could not be found;
27889 **** this will disable the build of 'vhashify'
27891 echo "$as_me: WARNING:
27893 **** 'beecrypt' could not be found;
27894 **** this will disable the build of 'vhashify'
27898 ensc_have_beecrypt=no
27903 if test x"$ensc_have_beecrypt" = xyes; then
27904 ENSC_HAVE_BEECRYPT_TRUE=
27905 ENSC_HAVE_BEECRYPT_FALSE='#'
27907 ENSC_HAVE_BEECRYPT_TRUE='#'
27908 ENSC_HAVE_BEECRYPT_FALSE=
27914 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27915 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27917 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27918 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27924 cat >>confdefs.h <<\_ACEOF
27925 #define UTMP_GID 22
27931 cat >>confdefs.h <<\_ACEOF
27932 #define HAVE_GROWING_STACK 1
27938 cat >>confdefs.h <<\_ACEOF
27939 #define _FILE_OFFSET_BITS 64
27943 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27944 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27945 ensc_diet_msg=" (you have been warned)"
27946 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27947 ensc_diet_compat_msg=" (using -lcompat)"
27948 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27949 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27950 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27951 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27952 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27958 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27960 cat >confcache <<\_ACEOF
27961 # This file is a shell script that caches the results of configure
27962 # tests run on this system so they can be shared between configure
27963 # scripts and configure runs, see configure's option --config-cache.
27964 # It is not useful on other systems. If it contains results you don't
27965 # want to keep, you may remove or edit it.
27967 # config.status only pays attention to the cache file if you give it
27968 # the --recheck option to rerun configure.
27970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27972 # following values.
27976 # The following way of writing the cache mishandles newlines in values,
27977 # but we know of no workaround that is simple, portable, and efficient.
27978 # So, don't put newlines in cache variables' values.
27979 # Ultrix sh set writes to stderr and can't be redirected directly,
27980 # and sets the high bit in the cache file unless we assign to the vars.
27983 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27985 # `set' does not quote correctly, so add quotes (double-quote
27986 # substitution turns \\\\ into \\, and sed turns \\ into \).
27989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27992 # `set' quotes correctly as required by POSIX, so do not add quotes.
27994 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28003 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28005 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28006 if test -w $cache_file; then
28007 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28008 cat confcache >$cache_file
28010 echo "not updating unwritable cache $cache_file"
28015 test "x$prefix" = xNONE && prefix=$ac_default_prefix
28016 # Let make expand exec_prefix.
28017 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28019 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28020 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28021 # trailing colons and then remove the whole line if VPATH becomes empty
28022 # (actually we leave an empty line to preserve line numbers).
28023 if test "x$srcdir" = x.; then
28024 ac_vpsub='/^[ ]*VPATH[ ]*=/{
28025 s/:*\$(srcdir):*/:/;
28026 s/:*\${srcdir}:*/:/;
28028 s/^\([^=]*=[ ]*\):*/\1/;
28034 DEFS=-DHAVE_CONFIG_H
28038 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28039 # 1. Remove the extension, and $U if already installed.
28040 ac_i=`echo "$ac_i" |
28041 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28043 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
28044 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28046 LIBOBJS=$ac_libobjs
28048 LTLIBOBJS=$ac_ltlibobjs
28051 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28052 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28053 Usually this means the macro was only invoked conditionally." >&5
28054 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28055 Usually this means the macro was only invoked conditionally." >&2;}
28056 { (exit 1); exit 1; }; }
28058 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28059 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28060 Usually this means the macro was only invoked conditionally." >&5
28061 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28062 Usually this means the macro was only invoked conditionally." >&2;}
28063 { (exit 1); exit 1; }; }
28065 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28066 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28067 Usually this means the macro was only invoked conditionally." >&5
28068 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28069 Usually this means the macro was only invoked conditionally." >&2;}
28070 { (exit 1); exit 1; }; }
28072 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28073 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28074 Usually this means the macro was only invoked conditionally." >&5
28075 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28076 Usually this means the macro was only invoked conditionally." >&2;}
28077 { (exit 1); exit 1; }; }
28079 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
28080 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
28081 Usually this means the macro was only invoked conditionally." >&5
28082 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
28083 Usually this means the macro was only invoked conditionally." >&2;}
28084 { (exit 1); exit 1; }; }
28086 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
28087 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28088 Usually this means the macro was only invoked conditionally." >&5
28089 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28090 Usually this means the macro was only invoked conditionally." >&2;}
28091 { (exit 1); exit 1; }; }
28093 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
28094 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
28095 Usually this means the macro was only invoked conditionally." >&5
28096 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
28097 Usually this means the macro was only invoked conditionally." >&2;}
28098 { (exit 1); exit 1; }; }
28100 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
28101 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
28102 Usually this means the macro was only invoked conditionally." >&5
28103 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
28104 Usually this means the macro was only invoked conditionally." >&2;}
28105 { (exit 1); exit 1; }; }
28107 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28108 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28109 Usually this means the macro was only invoked conditionally." >&5
28110 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28111 Usually this means the macro was only invoked conditionally." >&2;}
28112 { (exit 1); exit 1; }; }
28114 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28115 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28116 Usually this means the macro was only invoked conditionally." >&5
28117 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28118 Usually this means the macro was only invoked conditionally." >&2;}
28119 { (exit 1); exit 1; }; }
28121 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28122 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28123 Usually this means the macro was only invoked conditionally." >&5
28124 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28125 Usually this means the macro was only invoked conditionally." >&2;}
28126 { (exit 1); exit 1; }; }
28128 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28129 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28130 Usually this means the macro was only invoked conditionally." >&5
28131 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28132 Usually this means the macro was only invoked conditionally." >&2;}
28133 { (exit 1); exit 1; }; }
28135 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28136 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28137 Usually this means the macro was only invoked conditionally." >&5
28138 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28139 Usually this means the macro was only invoked conditionally." >&2;}
28140 { (exit 1); exit 1; }; }
28142 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28143 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28144 Usually this means the macro was only invoked conditionally." >&5
28145 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28146 Usually this means the macro was only invoked conditionally." >&2;}
28147 { (exit 1); exit 1; }; }
28149 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28150 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28151 Usually this means the macro was only invoked conditionally." >&5
28152 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28153 Usually this means the macro was only invoked conditionally." >&2;}
28154 { (exit 1); exit 1; }; }
28156 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
28157 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28158 Usually this means the macro was only invoked conditionally." >&5
28159 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28160 Usually this means the macro was only invoked conditionally." >&2;}
28161 { (exit 1); exit 1; }; }
28163 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
28164 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28165 Usually this means the macro was only invoked conditionally." >&5
28166 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28167 Usually this means the macro was only invoked conditionally." >&2;}
28168 { (exit 1); exit 1; }; }
28170 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
28171 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
28172 Usually this means the macro was only invoked conditionally." >&5
28173 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
28174 Usually this means the macro was only invoked conditionally." >&2;}
28175 { (exit 1); exit 1; }; }
28177 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
28178 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28179 Usually this means the macro was only invoked conditionally." >&5
28180 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28181 Usually this means the macro was only invoked conditionally." >&2;}
28182 { (exit 1); exit 1; }; }
28184 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
28185 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28186 Usually this means the macro was only invoked conditionally." >&5
28187 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28188 Usually this means the macro was only invoked conditionally." >&2;}
28189 { (exit 1); exit 1; }; }
28191 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
28192 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28193 Usually this means the macro was only invoked conditionally." >&5
28194 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28195 Usually this means the macro was only invoked conditionally." >&2;}
28196 { (exit 1); exit 1; }; }
28201 CC: $CC, $($CC --version | sed -e '1p;d')
28202 CXX: $CXX, $($CXX --version | sed -e '1p;d')
28203 CPPFLAGS: '$CPPFLAGS'
28205 CXXFLAGS: '$CXXFLAGS'
28206 build/host: $build/$host
28207 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
28208 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
28209 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
28210 Available APIs: $enable_apis
28211 ext2fs Source: $ensc_cv_test_ext2fs_header
28212 syscall(2) invocation: $with_syscall
28213 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
28217 sysconf-Directory: $sysconfdir
28218 cfg-Directory: $sysconfdir/vservers
28219 initrd-Directory: $initrddir
28220 pkgstate-Directory: $localstatedir/run/vservers
28221 vserver-Rootdir: $vserverdir
28223 echo "$FEATURES_TXT" >FEATURES.txt
28226 : ${CONFIG_STATUS=./config.status}
28227 ac_clean_files_save=$ac_clean_files
28228 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28229 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28230 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28231 cat >$CONFIG_STATUS <<_ACEOF
28233 # Generated by $as_me.
28234 # Run this file to recreate the current configuration.
28235 # Compiler output produced by configure, useful for debugging
28236 # configure, is in config.log if it exists.
28239 ac_cs_recheck=false
28241 SHELL=\${CONFIG_SHELL-$SHELL}
28244 cat >>$CONFIG_STATUS <<\_ACEOF
28245 ## --------------------- ##
28246 ## M4sh Initialization. ##
28247 ## --------------------- ##
28249 # Be Bourne compatible
28250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28254 # is contrary to our usage. Disable this feature.
28255 alias -g '${1+"$@"}'='"$@"'
28256 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28259 DUALCASE=1; export DUALCASE # for MKS sh
28261 # Support unset when possible.
28262 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28269 # Work around bugs in pre-3.0 UWIN ksh.
28270 $as_unset ENV MAIL MAILPATH
28277 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28278 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28279 LC_TELEPHONE LC_TIME
28281 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28282 eval $as_var=C; export $as_var
28288 # Required to use basename.
28289 if expr a : '\(a\)' >/dev/null 2>&1; then
28295 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28296 as_basename=basename
28302 # Name of the executable.
28303 as_me=`$as_basename "$0" ||
28304 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28305 X"$0" : 'X\(//\)$' \| \
28306 X"$0" : 'X\(/\)$' \| \
28307 . : '\(.\)' 2>/dev/null ||
28309 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28310 /^X\/\(\/\/\)$/{ s//\1/; q; }
28311 /^X\/\(\/\).*/{ s//\1/; q; }
28315 # PATH needs CR, and LINENO needs CR and PATH.
28316 # Avoid depending upon Character Ranges.
28317 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28318 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28319 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28320 as_cr_digits='0123456789'
28321 as_cr_alnum=$as_cr_Letters$as_cr_digits
28323 # The user is always right.
28324 if test "${PATH_SEPARATOR+set}" != set; then
28325 echo "#! /bin/sh" >conf$$.sh
28326 echo "exit 0" >>conf$$.sh
28328 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28337 as_lineno_1=$LINENO
28338 as_lineno_2=$LINENO
28339 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28340 test "x$as_lineno_1" != "x$as_lineno_2" &&
28341 test "x$as_lineno_3" = "x$as_lineno_2" || {
28342 # Find who we are. Look in the path if we contain no path at all
28345 *[\\/]* ) as_myself=$0 ;;
28346 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28347 for as_dir in $PATH
28350 test -z "$as_dir" && as_dir=.
28351 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28356 # We did not find ourselves, most probably we were run as `sh COMMAND'
28357 # in which case we are not to be found in the path.
28358 if test "x$as_myself" = x; then
28361 if test ! -f "$as_myself"; then
28362 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28363 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28364 { (exit 1); exit 1; }; }
28366 case $CONFIG_SHELL in
28368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28369 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
28372 test -z "$as_dir" && as_dir=.
28373 for as_base in sh bash ksh sh5; do
28376 if ("$as_dir/$as_base" -c '
28377 as_lineno_1=$LINENO
28378 as_lineno_2=$LINENO
28379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28380 test "x$as_lineno_1" != "x$as_lineno_2" &&
28381 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
28382 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
28383 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
28384 CONFIG_SHELL=$as_dir/$as_base
28385 export CONFIG_SHELL
28386 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28394 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28395 # uniformly replaced by the line number. The first 'sed' inserts a
28396 # line-number line before each line; the second 'sed' does the real
28397 # work. The second script uses 'N' to pair each line-number line
28398 # with the numbered line, and appends trailing '-' during
28399 # substitution so that $LINENO is not a special case at line end.
28400 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28401 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28402 sed '=' <$as_myself |
28407 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28410 s,^['$as_cr_digits']*\n,,
28411 ' >$as_me.lineno &&
28412 chmod +x $as_me.lineno ||
28413 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28414 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28415 { (exit 1); exit 1; }; }
28417 # Don't try to exec as it changes $[0], causing all sort of problems
28418 # (the dirname of $[0] is not the place where we might find the
28419 # original and so on. Autoconf is especially sensible to this).
28421 # Exit status is that of the last command.
28426 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28427 *c*,-n*) ECHO_N= ECHO_C='
28429 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
28430 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
28433 if expr a : '\(a\)' >/dev/null 2>&1; then
28439 rm -f conf$$ conf$$.exe conf$$.file
28441 if ln -s conf$$.file conf$$ 2>/dev/null; then
28442 # We could just check for DJGPP; but this test a) works b) is more generic
28443 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28444 if test -f conf$$.exe; then
28445 # Don't use ln at all; we don't have any links
28450 elif ln conf$$.file conf$$ 2>/dev/null; then
28455 rm -f conf$$ conf$$.exe conf$$.file
28457 if mkdir -p . 2>/dev/null; then
28460 test -d ./-p && rmdir ./-p
28464 as_executable_p="test -f"
28466 # Sed expression to map a string onto a valid CPP name.
28467 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28469 # Sed expression to map a string onto a valid variable name.
28470 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28474 # We need space, tab and new line, in precisely that order.
28484 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28485 # report actual input values of CONFIG_FILES etc. instead of their
28486 # values after options handling. Logging --version etc. is OK.
28490 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28491 ## Running $as_me. ##
28496 This file was extended by util-vserver $as_me 0.30.212, which was
28497 generated by GNU Autoconf 2.59. Invocation command line was
28499 CONFIG_FILES = $CONFIG_FILES
28500 CONFIG_HEADERS = $CONFIG_HEADERS
28501 CONFIG_LINKS = $CONFIG_LINKS
28502 CONFIG_COMMANDS = $CONFIG_COMMANDS
28506 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28510 # Files that config.status was made for.
28511 if test -n "$ac_config_files"; then
28512 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28515 if test -n "$ac_config_headers"; then
28516 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28519 if test -n "$ac_config_links"; then
28520 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28523 if test -n "$ac_config_commands"; then
28524 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28527 cat >>$CONFIG_STATUS <<\_ACEOF
28530 \`$as_me' instantiates files from templates according to the
28531 current configuration.
28533 Usage: $0 [OPTIONS] [FILE]...
28535 -h, --help print this help, then exit
28536 -V, --version print version number, then exit
28537 -q, --quiet do not print progress messages
28538 -d, --debug don't remove temporary files
28539 --recheck update $as_me by reconfiguring in the same conditions
28540 --file=FILE[:TEMPLATE]
28541 instantiate the configuration file FILE
28542 --header=FILE[:TEMPLATE]
28543 instantiate the configuration header FILE
28545 Configuration files:
28548 Configuration headers:
28551 Configuration commands:
28554 Report bugs to <bug-autoconf@gnu.org>."
28557 cat >>$CONFIG_STATUS <<_ACEOF
28559 util-vserver config.status 0.30.212
28560 configured by $0, generated by GNU Autoconf 2.59,
28561 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28563 Copyright (C) 2003 Free Software Foundation, Inc.
28564 This config.status script is free software; the Free Software Foundation
28565 gives unlimited permission to copy, distribute and modify it."
28570 cat >>$CONFIG_STATUS <<\_ACEOF
28571 # If no file are specified by the user, then we need to provide default
28572 # value. By we need to know if files were specified by the user.
28578 ac_option=`expr "x$1" : 'x\([^=]*\)='`
28579 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
28587 *) # This is not an option, so the user has probably given explicit
28590 ac_need_defaults=false;;
28594 # Handling of the options.
28596 cat >>$CONFIG_STATUS <<\_ACEOF
28597 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28599 --version | --vers* | -V )
28600 echo "$ac_cs_version"; exit 0 ;;
28602 # Conflict between --help and --header
28603 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28604 Try \`$0 --help' for more information." >&5
28605 echo "$as_me: error: ambiguous option: $1
28606 Try \`$0 --help' for more information." >&2;}
28607 { (exit 1); exit 1; }; };;
28608 --help | --hel | -h )
28609 echo "$ac_cs_usage"; exit 0 ;;
28610 --debug | --d* | -d )
28612 --file | --fil | --fi | --f )
28614 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28615 ac_need_defaults=false;;
28616 --header | --heade | --head | --hea )
28618 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28619 ac_need_defaults=false;;
28620 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28621 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28624 # This is an error.
28625 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28626 Try \`$0 --help' for more information." >&5
28627 echo "$as_me: error: unrecognized option: $1
28628 Try \`$0 --help' for more information." >&2;}
28629 { (exit 1); exit 1; }; } ;;
28631 *) ac_config_targets="$ac_config_targets $1" ;;
28637 ac_configure_extra_args=
28639 if $ac_cs_silent; then
28641 ac_configure_extra_args="$ac_configure_extra_args --silent"
28645 cat >>$CONFIG_STATUS <<_ACEOF
28646 if \$ac_cs_recheck; then
28647 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28648 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28653 cat >>$CONFIG_STATUS <<_ACEOF
28655 # INIT-COMMANDS section.
28658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28664 cat >>$CONFIG_STATUS <<\_ACEOF
28665 for ac_config_target in $ac_config_targets
28667 case "$ac_config_target" in
28668 # Handling of arguments.
28669 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
28670 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28671 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
28672 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
28673 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28674 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28675 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28676 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28677 { (exit 1); exit 1; }; };;
28681 # If the user did not use the arguments to specify the items to instantiate,
28682 # then the envvar interface is used. Set only those that are not.
28683 # We use the long form for the default assignment because of an extremely
28684 # bizarre bug on SunOS 4.1.3.
28685 if $ac_need_defaults; then
28686 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28687 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28688 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28691 # Have a temporary directory for convenience. Make it in the build tree
28692 # simply because there is no reason to put it here, and in addition,
28693 # creating and moving files from /tmp can sometimes cause problems.
28694 # Create a temporary directory, and hook for its removal unless debugging.
28697 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
28698 trap '{ (exit 1); exit 1; }' 1 2 13 15
28701 # Create a (secure) tmp directory for tmp files.
28704 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28705 test -n "$tmp" && test -d "$tmp"
28708 tmp=./confstat$$-$RANDOM
28709 (umask 077 && mkdir $tmp)
28712 echo "$me: cannot create a temporary directory in ." >&2
28713 { (exit 1); exit 1; }
28718 cat >>$CONFIG_STATUS <<_ACEOF
28721 # CONFIG_FILES section.
28724 # No need to generate the scripts if there are no CONFIG_FILES.
28725 # This happens for instance when ./config.status config.h
28726 if test -n "\$CONFIG_FILES"; then
28727 # Protect against being on the right side of a sed subst in config.status.
28728 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28729 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28730 s,@SHELL@,$SHELL,;t t
28731 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28732 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28733 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28734 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28735 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
28736 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
28737 s,@exec_prefix@,$exec_prefix,;t t
28738 s,@prefix@,$prefix,;t t
28739 s,@program_transform_name@,$program_transform_name,;t t
28740 s,@bindir@,$bindir,;t t
28741 s,@sbindir@,$sbindir,;t t
28742 s,@libexecdir@,$libexecdir,;t t
28743 s,@datadir@,$datadir,;t t
28744 s,@sysconfdir@,$sysconfdir,;t t
28745 s,@sharedstatedir@,$sharedstatedir,;t t
28746 s,@localstatedir@,$localstatedir,;t t
28747 s,@libdir@,$libdir,;t t
28748 s,@includedir@,$includedir,;t t
28749 s,@oldincludedir@,$oldincludedir,;t t
28750 s,@infodir@,$infodir,;t t
28751 s,@mandir@,$mandir,;t t
28752 s,@build_alias@,$build_alias,;t t
28753 s,@host_alias@,$host_alias,;t t
28754 s,@target_alias@,$target_alias,;t t
28755 s,@DEFS@,$DEFS,;t t
28756 s,@ECHO_C@,$ECHO_C,;t t
28757 s,@ECHO_N@,$ECHO_N,;t t
28758 s,@ECHO_T@,$ECHO_T,;t t
28759 s,@LIBS@,$LIBS,;t t
28760 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28761 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28762 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28763 s,@CYGPATH_W@,$CYGPATH_W,;t t
28764 s,@PACKAGE@,$PACKAGE,;t t
28765 s,@VERSION@,$VERSION,;t t
28766 s,@ACLOCAL@,$ACLOCAL,;t t
28767 s,@AUTOCONF@,$AUTOCONF,;t t
28768 s,@AUTOMAKE@,$AUTOMAKE,;t t
28769 s,@AUTOHEADER@,$AUTOHEADER,;t t
28770 s,@MAKEINFO@,$MAKEINFO,;t t
28771 s,@AMTAR@,$AMTAR,;t t
28772 s,@install_sh@,$install_sh,;t t
28773 s,@STRIP@,$STRIP,;t t
28774 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28775 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28776 s,@mkdir_p@,$mkdir_p,;t t
28778 s,@SET_MAKE@,$SET_MAKE,;t t
28779 s,@am__leading_dot@,$am__leading_dot,;t t
28780 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28781 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28782 s,@MAINT@,$MAINT,;t t
28783 s,@build@,$build,;t t
28784 s,@build_cpu@,$build_cpu,;t t
28785 s,@build_vendor@,$build_vendor,;t t
28786 s,@build_os@,$build_os,;t t
28787 s,@host@,$host,;t t
28788 s,@host_cpu@,$host_cpu,;t t
28789 s,@host_vendor@,$host_vendor,;t t
28790 s,@host_os@,$host_os,;t t
28791 s,@GPG_KEY@,$GPG_KEY,;t t
28793 s,@CXXFLAGS@,$CXXFLAGS,;t t
28794 s,@LDFLAGS@,$LDFLAGS,;t t
28795 s,@CPPFLAGS@,$CPPFLAGS,;t t
28796 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28797 s,@EXEEXT@,$EXEEXT,;t t
28798 s,@OBJEXT@,$OBJEXT,;t t
28799 s,@DEPDIR@,$DEPDIR,;t t
28800 s,@am__include@,$am__include,;t t
28801 s,@am__quote@,$am__quote,;t t
28802 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28803 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28804 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28805 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28806 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28807 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28809 s,@CFLAGS@,$CFLAGS,;t t
28810 s,@ac_ct_CC@,$ac_ct_CC,;t t
28811 s,@CCDEPMODE@,$CCDEPMODE,;t t
28812 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28813 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28814 s,@LN_S@,$LN_S,;t t
28815 s,@PYTHON@,$PYTHON,;t t
28816 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
28817 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
28818 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
28819 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
28820 s,@pythondir@,$pythondir,;t t
28821 s,@pkgpythondir@,$pkgpythondir,;t t
28822 s,@pyexecdir@,$pyexecdir,;t t
28823 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
28824 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28825 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28826 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28827 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28828 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28830 s,@CHOWN@,$CHOWN,;t t
28833 s,@DIRNAME@,$DIRNAME,;t t
28834 s,@EGREP@,$EGREP,;t t
28836 s,@GREP@,$GREP,;t t
28838 s,@MKDIR@,$MKDIR,;t t
28839 s,@MKFIFO@,$MKFIFO,;t t
28840 s,@MKTEMP@,$MKTEMP,;t t
28841 s,@MOUNT@,$MOUNT,;t t
28843 s,@NICE@,$NICE,;t t
28846 s,@RMDIR@,$RMDIR,;t t
28851 s,@TOUCH@,$TOUCH,;t t
28853 s,@UMOUNT@,$UMOUNT,;t t
28856 s,@IPTABLES@,$IPTABLES,;t t
28857 s,@MODPROBE@,$MODPROBE,;t t
28858 s,@NAMEIF@,$NAMEIF,;t t
28859 s,@NOHUP@,$NOHUP,;t t
28860 s,@RMMOD@,$RMMOD,;t t
28861 s,@VCONFIG@,$VCONFIG,;t t
28862 s,@WGET@,$WGET,;t t
28863 s,@FILE@,$FILE,;t t
28864 s,@GZIP@,$GZIP,;t t
28865 s,@BZIP2@,$BZIP2,;t t
28866 s,@CPIO@,$CPIO,;t t
28867 s,@RESTORE@,$RESTORE,;t t
28868 s,@RSYNC@,$RSYNC,;t t
28869 s,@DOXYGEN@,$DOXYGEN,;t t
28870 s,@XSLTP@,$XSLTP,;t t
28871 s,@XSLTPROC@,$XSLTPROC,;t t
28872 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28873 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28874 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28875 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28876 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28877 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28878 s,@initrddir@,$initrddir,;t t
28879 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28880 s,@DIET@,$DIET,;t t
28881 s,@DIETFLAGS@,$DIETFLAGS,;t t
28882 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28883 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28884 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28885 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28886 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28887 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28888 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28889 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28890 s,@ECHO@,$ECHO,;t t
28892 s,@ac_ct_AR@,$ac_ct_AR,;t t
28893 s,@RANLIB@,$RANLIB,;t t
28894 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28896 s,@CXXCPP@,$CXXCPP,;t t
28898 s,@FFLAGS@,$FFLAGS,;t t
28899 s,@ac_ct_F77@,$ac_ct_F77,;t t
28900 s,@LIBTOOL@,$LIBTOOL,;t t
28901 s,@vserverdir@,$vserverdir,;t t
28902 s,@SVN2CL@,$SVN2CL,;t t
28903 s,@HAVE_SVN2CL_TRUE@,$HAVE_SVN2CL_TRUE,;t t
28904 s,@HAVE_SVN2CL_FALSE@,$HAVE_SVN2CL_FALSE,;t t
28905 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28906 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28907 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28908 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28909 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28910 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28911 s,@LIBOBJS@,$LIBOBJS,;t t
28912 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28917 cat >>$CONFIG_STATUS <<\_ACEOF
28918 # Split the substitutions into bite-sized pieces for seds with
28919 # small command number limits, like on Digital OSF/1 and HP-UX.
28920 ac_max_sed_lines=48
28921 ac_sed_frag=1 # Number of current file.
28922 ac_beg=1 # First line for current file.
28923 ac_end=$ac_max_sed_lines # Line after last line for current file.
28926 while $ac_more_lines; do
28927 if test $ac_beg -gt 1; then
28928 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28930 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28932 if test ! -s $tmp/subs.frag; then
28933 ac_more_lines=false
28935 # The purpose of the label and of the branching condition is to
28936 # speed up the sed processing (if there are no `@' at all, there
28937 # is no need to browse any of the substitutions).
28938 # These are the two extra sed commands mentioned above.
28940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28941 if test -z "$ac_sed_cmds"; then
28942 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28944 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28946 ac_sed_frag=`expr $ac_sed_frag + 1`
28948 ac_end=`expr $ac_end + $ac_max_sed_lines`
28951 if test -z "$ac_sed_cmds"; then
28954 fi # test -n "$CONFIG_FILES"
28957 cat >>$CONFIG_STATUS <<\_ACEOF
28958 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28959 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28961 - | *:- | *:-:* ) # input from stdin
28963 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28964 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28965 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28966 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28967 * ) ac_file_in=$ac_file.in ;;
28970 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28971 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28973 X"$ac_file" : 'X\(//\)[^/]' \| \
28974 X"$ac_file" : 'X\(//\)$' \| \
28975 X"$ac_file" : 'X\(/\)' \| \
28976 . : '\(.\)' 2>/dev/null ||
28978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28980 /^X\(\/\/\)$/{ s//\1/; q; }
28981 /^X\(\/\).*/{ s//\1/; q; }
28983 { if $as_mkdir_p; then
28988 while test ! -d "$as_dir"; do
28989 as_dirs="$as_dir $as_dirs"
28990 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28992 X"$as_dir" : 'X\(//\)[^/]' \| \
28993 X"$as_dir" : 'X\(//\)$' \| \
28994 X"$as_dir" : 'X\(/\)' \| \
28995 . : '\(.\)' 2>/dev/null ||
28997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28999 /^X\(\/\/\)$/{ s//\1/; q; }
29000 /^X\(\/\).*/{ s//\1/; q; }
29003 test ! -n "$as_dirs" || mkdir $as_dirs
29004 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29005 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29006 { (exit 1); exit 1; }; }; }
29010 if test "$ac_dir" != .; then
29011 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29012 # A "../" for each directory in $ac_dir_suffix.
29013 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29015 ac_dir_suffix= ac_top_builddir=
29019 .) # No --srcdir option. We are building in place.
29021 if test -z "$ac_top_builddir"; then
29024 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29026 [\\/]* | ?:[\\/]* ) # Absolute path.
29027 ac_srcdir=$srcdir$ac_dir_suffix;
29028 ac_top_srcdir=$srcdir ;;
29029 *) # Relative path.
29030 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29031 ac_top_srcdir=$ac_top_builddir$srcdir ;;
29034 # Do not use `cd foo && pwd` to compute absolute paths, because
29035 # the directories may not exist.
29037 .) ac_abs_builddir="$ac_dir";;
29040 .) ac_abs_builddir=`pwd`;;
29041 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29042 *) ac_abs_builddir=`pwd`/"$ac_dir";;
29045 case $ac_abs_builddir in
29046 .) ac_abs_top_builddir=${ac_top_builddir}.;;
29048 case ${ac_top_builddir}. in
29049 .) ac_abs_top_builddir=$ac_abs_builddir;;
29050 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29051 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29054 case $ac_abs_builddir in
29055 .) ac_abs_srcdir=$ac_srcdir;;
29058 .) ac_abs_srcdir=$ac_abs_builddir;;
29059 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29060 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29063 case $ac_abs_builddir in
29064 .) ac_abs_top_srcdir=$ac_top_srcdir;;
29066 case $ac_top_srcdir in
29067 .) ac_abs_top_srcdir=$ac_abs_builddir;;
29068 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29069 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29075 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29076 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
29079 if test x"$ac_file" != x-; then
29080 { echo "$as_me:$LINENO: creating $ac_file" >&5
29081 echo "$as_me: creating $ac_file" >&6;}
29084 # Let's still pretend it is `configure' which instantiates (i.e., don't
29085 # use $as_me), people would be surprised to read:
29086 # /* config.h. Generated by config.status. */
29087 if test x"$ac_file" = x-; then
29090 configure_input="$ac_file. "
29092 configure_input=$configure_input"Generated from `echo $ac_file_in |
29093 sed 's,.*/,,'` by configure."
29095 # First look for the input files in the build tree, otherwise in the
29097 ac_file_inputs=`IFS=:
29098 for f in $ac_file_in; do
29100 -) echo $tmp/stdin ;;
29102 # Absolute (can't be DOS-style, as IFS=:)
29103 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29104 echo "$as_me: error: cannot find input file: $f" >&2;}
29105 { (exit 1); exit 1; }; }
29108 if test -f "$f"; then
29111 elif test -f "$srcdir/$f"; then
29116 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29117 echo "$as_me: error: cannot find input file: $f" >&2;}
29118 { (exit 1); exit 1; }; }
29121 done` || { (exit 1); exit 1; }
29123 cat >>$CONFIG_STATUS <<_ACEOF
29127 cat >>$CONFIG_STATUS <<\_ACEOF
29129 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29130 s,@configure_input@,$configure_input,;t t
29131 s,@srcdir@,$ac_srcdir,;t t
29132 s,@abs_srcdir@,$ac_abs_srcdir,;t t
29133 s,@top_srcdir@,$ac_top_srcdir,;t t
29134 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
29135 s,@builddir@,$ac_builddir,;t t
29136 s,@abs_builddir@,$ac_abs_builddir,;t t
29137 s,@top_builddir@,$ac_top_builddir,;t t
29138 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
29139 s,@INSTALL@,$ac_INSTALL,;t t
29140 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29142 if test x"$ac_file" != x-; then
29143 mv $tmp/out $ac_file
29151 cat >>$CONFIG_STATUS <<\_ACEOF
29154 # CONFIG_HEADER section.
29157 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
29158 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29160 # ac_d sets the value in "#define NAME VALUE" lines.
29161 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29162 ac_dB='[ ].*$,\1#\2'
29165 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29166 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29167 ac_uB='$,\1#\2define\3'
29171 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
29172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29174 - | *:- | *:-:* ) # input from stdin
29176 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29177 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29178 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29179 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29180 * ) ac_file_in=$ac_file.in ;;
29183 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
29184 echo "$as_me: creating $ac_file" >&6;}
29186 # First look for the input files in the build tree, otherwise in the
29188 ac_file_inputs=`IFS=:
29189 for f in $ac_file_in; do
29191 -) echo $tmp/stdin ;;
29193 # Absolute (can't be DOS-style, as IFS=:)
29194 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29195 echo "$as_me: error: cannot find input file: $f" >&2;}
29196 { (exit 1); exit 1; }; }
29197 # Do quote $f, to prevent DOS paths from being IFS'd.
29200 if test -f "$f"; then
29203 elif test -f "$srcdir/$f"; then
29208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29209 echo "$as_me: error: cannot find input file: $f" >&2;}
29210 { (exit 1); exit 1; }; }
29213 done` || { (exit 1); exit 1; }
29214 # Remove the trailing spaces.
29215 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29219 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29220 # `conftest.undefs', that substitutes the proper values into
29221 # config.h.in to produce config.h. The first handles `#define'
29222 # templates, and the second `#undef' templates.
29223 # And first: Protect against being on the right side of a sed subst in
29224 # config.status. Protect against being in an unquoted here document
29225 # in config.status.
29226 rm -f conftest.defines conftest.undefs
29227 # Using a here document instead of a string reduces the quoting nightmare.
29228 # Putting comments in sed scripts is not portable.
29230 # `end' is used to avoid that the second main sed command (meant for
29231 # 0-ary CPP macros) applies to n-ary macro definitions.
29232 # See the Autoconf documentation for `clear'.
29233 cat >confdef2sed.sed <<\_ACEOF
29238 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29240 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29243 # If some macros were called several times there might be several times
29244 # the same #defines, which is useless. Nevertheless, we may not want to
29245 # sort them, since we want the *last* AC-DEFINE to be honored.
29246 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29247 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29248 rm -f confdef2sed.sed
29250 # This sed command replaces #undef with comments. This is necessary, for
29251 # example, in the case of _POSIX_SOURCE, which is predefined and required
29252 # on some systems where configure will not decide to define it.
29253 cat >>conftest.undefs <<\_ACEOF
29254 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29257 # Break up conftest.defines because some shells have a limit on the size
29258 # of here documents, and old seds have small limits too (100 cmds).
29259 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29260 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29261 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29262 echo ' :' >>$CONFIG_STATUS
29263 rm -f conftest.tail
29264 while grep . conftest.defines >/dev/null
29266 # Write a limited-size here document to $tmp/defines.sed.
29267 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29268 # Speed up: don't consider the non `#define' lines.
29269 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29270 # Work around the forget-to-reset-the-flag bug.
29271 echo 't clr' >>$CONFIG_STATUS
29272 echo ': clr' >>$CONFIG_STATUS
29273 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
29275 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29277 mv $tmp/out $tmp/in
29279 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
29280 rm -f conftest.defines
29281 mv conftest.tail conftest.defines
29283 rm -f conftest.defines
29284 echo ' fi # grep' >>$CONFIG_STATUS
29285 echo >>$CONFIG_STATUS
29287 # Break up conftest.undefs because some shells have a limit on the size
29288 # of here documents, and old seds have small limits too (100 cmds).
29289 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29290 rm -f conftest.tail
29291 while grep . conftest.undefs >/dev/null
29293 # Write a limited-size here document to $tmp/undefs.sed.
29294 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29295 # Speed up: don't consider the non `#undef'
29296 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29297 # Work around the forget-to-reset-the-flag bug.
29298 echo 't clr' >>$CONFIG_STATUS
29299 echo ': clr' >>$CONFIG_STATUS
29300 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29302 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29304 mv $tmp/out $tmp/in
29306 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29307 rm -f conftest.undefs
29308 mv conftest.tail conftest.undefs
29310 rm -f conftest.undefs
29312 cat >>$CONFIG_STATUS <<\_ACEOF
29313 # Let's still pretend it is `configure' which instantiates (i.e., don't
29314 # use $as_me), people would be surprised to read:
29315 # /* config.h. Generated by config.status. */
29316 if test x"$ac_file" = x-; then
29317 echo "/* Generated by configure. */" >$tmp/config.h
29319 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29321 cat $tmp/in >>$tmp/config.h
29323 if test x"$ac_file" != x-; then
29324 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
29325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29326 echo "$as_me: $ac_file is unchanged" >&6;}
29328 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29329 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29330 X"$ac_file" : 'X\(//\)[^/]' \| \
29331 X"$ac_file" : 'X\(//\)$' \| \
29332 X"$ac_file" : 'X\(/\)' \| \
29333 . : '\(.\)' 2>/dev/null ||
29335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29337 /^X\(\/\/\)$/{ s//\1/; q; }
29338 /^X\(\/\).*/{ s//\1/; q; }
29340 { if $as_mkdir_p; then
29345 while test ! -d "$as_dir"; do
29346 as_dirs="$as_dir $as_dirs"
29347 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29349 X"$as_dir" : 'X\(//\)[^/]' \| \
29350 X"$as_dir" : 'X\(//\)$' \| \
29351 X"$as_dir" : 'X\(/\)' \| \
29352 . : '\(.\)' 2>/dev/null ||
29354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29356 /^X\(\/\/\)$/{ s//\1/; q; }
29357 /^X\(\/\).*/{ s//\1/; q; }
29360 test ! -n "$as_dirs" || mkdir $as_dirs
29361 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29362 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29363 { (exit 1); exit 1; }; }; }
29366 mv $tmp/config.h $ac_file
29370 rm -f $tmp/config.h
29372 # Compute $ac_file's index in $config_headers.
29374 for _am_header in $config_headers :; do
29375 case $_am_header in
29376 $ac_file | $ac_file:* )
29379 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29382 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29383 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29384 X$ac_file : 'X\(//\)[^/]' \| \
29385 X$ac_file : 'X\(//\)$' \| \
29386 X$ac_file : 'X\(/\)' \| \
29387 . : '\(.\)' 2>/dev/null ||
29389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29391 /^X\(\/\/\)$/{ s//\1/; q; }
29392 /^X\(\/\).*/{ s//\1/; q; }
29393 s/.*/./; q'`/stamp-h$_am_stamp_count
29396 cat >>$CONFIG_STATUS <<\_ACEOF
29399 # CONFIG_COMMANDS section.
29401 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
29402 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
29403 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
29404 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
29405 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29406 X"$ac_dest" : 'X\(//\)[^/]' \| \
29407 X"$ac_dest" : 'X\(//\)$' \| \
29408 X"$ac_dest" : 'X\(/\)' \| \
29409 . : '\(.\)' 2>/dev/null ||
29411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29413 /^X\(\/\/\)$/{ s//\1/; q; }
29414 /^X\(\/\).*/{ s//\1/; q; }
29416 { if $as_mkdir_p; then
29421 while test ! -d "$as_dir"; do
29422 as_dirs="$as_dir $as_dirs"
29423 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29425 X"$as_dir" : 'X\(//\)[^/]' \| \
29426 X"$as_dir" : 'X\(//\)$' \| \
29427 X"$as_dir" : 'X\(/\)' \| \
29428 . : '\(.\)' 2>/dev/null ||
29430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29432 /^X\(\/\/\)$/{ s//\1/; q; }
29433 /^X\(\/\).*/{ s//\1/; q; }
29436 test ! -n "$as_dirs" || mkdir $as_dirs
29437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29439 { (exit 1); exit 1; }; }; }
29443 if test "$ac_dir" != .; then
29444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29445 # A "../" for each directory in $ac_dir_suffix.
29446 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29448 ac_dir_suffix= ac_top_builddir=
29452 .) # No --srcdir option. We are building in place.
29454 if test -z "$ac_top_builddir"; then
29457 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29459 [\\/]* | ?:[\\/]* ) # Absolute path.
29460 ac_srcdir=$srcdir$ac_dir_suffix;
29461 ac_top_srcdir=$srcdir ;;
29462 *) # Relative path.
29463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29464 ac_top_srcdir=$ac_top_builddir$srcdir ;;
29467 # Do not use `cd foo && pwd` to compute absolute paths, because
29468 # the directories may not exist.
29470 .) ac_abs_builddir="$ac_dir";;
29473 .) ac_abs_builddir=`pwd`;;
29474 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29475 *) ac_abs_builddir=`pwd`/"$ac_dir";;
29478 case $ac_abs_builddir in
29479 .) ac_abs_top_builddir=${ac_top_builddir}.;;
29481 case ${ac_top_builddir}. in
29482 .) ac_abs_top_builddir=$ac_abs_builddir;;
29483 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29484 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29487 case $ac_abs_builddir in
29488 .) ac_abs_srcdir=$ac_srcdir;;
29491 .) ac_abs_srcdir=$ac_abs_builddir;;
29492 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29493 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29496 case $ac_abs_builddir in
29497 .) ac_abs_top_srcdir=$ac_top_srcdir;;
29499 case $ac_top_srcdir in
29500 .) ac_abs_top_srcdir=$ac_abs_builddir;;
29501 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29502 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29507 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
29508 echo "$as_me: executing $ac_dest commands" >&6;}
29510 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29511 # Strip MF so we end up with the name of the file.
29512 mf=`echo "$mf" | sed -e 's/:.*$//'`
29513 # Check whether this is an Automake generated Makefile or not.
29514 # We used to match only the files named `Makefile.in', but
29515 # some people rename them; so instead we look at the file content.
29516 # Grep'ing the first line is not enough: some people post-process
29517 # each Makefile.in and add a new line on top of each file to say so.
29518 # So let's grep whole file.
29519 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
29520 dirpart=`(dirname "$mf") 2>/dev/null ||
29521 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29522 X"$mf" : 'X\(//\)[^/]' \| \
29523 X"$mf" : 'X\(//\)$' \| \
29524 X"$mf" : 'X\(/\)' \| \
29525 . : '\(.\)' 2>/dev/null ||
29527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29529 /^X\(\/\/\)$/{ s//\1/; q; }
29530 /^X\(\/\).*/{ s//\1/; q; }
29535 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
29536 # Extract the definition of DEP_FILES from the Makefile without
29538 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29539 test -z "$DEPDIR" && continue
29540 # When using ansi2knr, U may be empty or an underscore; expand it
29541 U=`sed -n 's/^U = //p' < "$mf"`
29542 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
29543 # We invoke sed twice because it is the simplest approach to
29544 # changing $(DEPDIR) to its actual value in the expansion.
29545 for file in `sed -n '
29546 /^DEP_FILES = .*\\\\$/ {
29555 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
29556 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29557 # Make sure the directory exists.
29558 test -f "$dirpart/$file" && continue
29559 fdir=`(dirname "$file") 2>/dev/null ||
29560 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29561 X"$file" : 'X\(//\)[^/]' \| \
29562 X"$file" : 'X\(//\)$' \| \
29563 X"$file" : 'X\(/\)' \| \
29564 . : '\(.\)' 2>/dev/null ||
29566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29568 /^X\(\/\/\)$/{ s//\1/; q; }
29569 /^X\(\/\).*/{ s//\1/; q; }
29571 { if $as_mkdir_p; then
29572 mkdir -p $dirpart/$fdir
29574 as_dir=$dirpart/$fdir
29576 while test ! -d "$as_dir"; do
29577 as_dirs="$as_dir $as_dirs"
29578 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29580 X"$as_dir" : 'X\(//\)[^/]' \| \
29581 X"$as_dir" : 'X\(//\)$' \| \
29582 X"$as_dir" : 'X\(/\)' \| \
29583 . : '\(.\)' 2>/dev/null ||
29585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29587 /^X\(\/\/\)$/{ s//\1/; q; }
29588 /^X\(\/\).*/{ s//\1/; q; }
29591 test ! -n "$as_dirs" || mkdir $as_dirs
29592 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
29593 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
29594 { (exit 1); exit 1; }; }; }
29596 # echo "creating $dirpart/$file"
29597 echo '# dummy' > "$dirpart/$file"
29605 cat >>$CONFIG_STATUS <<\_ACEOF
29607 { (exit 0); exit 0; }
29609 chmod +x $CONFIG_STATUS
29610 ac_clean_files=$ac_clean_files_save
29613 # configure is writing to config.log, and then calls config.status.
29614 # config.status does its own redirection, appending to config.log.
29615 # Unfortunately, on DOS this fails, as config.log is still kept open
29616 # by configure, so config.status won't be able to write to it; its
29617 # output is simply discarded. So we exec the FD to /dev/null,
29618 # effectively closing config.log, so it can be properly (re)opened and
29619 # appended to by config.status. When coming back to configure, we
29620 # need to make the FD available again.
29621 if test "$no_create" != yes; then
29623 ac_config_status_args=
29624 test "$silent" = yes &&
29625 ac_config_status_args="$ac_config_status_args --quiet"
29627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29630 # would make configure fail if this is the last instruction.
29631 $ac_cs_success || { (exit 1); exit 1; }
29635 { echo "$as_me:$LINENO:
29644 $FEATURES_TXT" >&6;}