2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.213.
5 # Report bugs to <vserver@list.linux-vserver.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
291 echo_test_string=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
311 for dir in $PATH /usr/ucb; do
313 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X/bin/ksh; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL=/bin/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
352 SHELL="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames=${tagnames+${tagnames},}CXX
398 tagnames=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix=/usr/local
411 ac_config_libobj_dir=.
416 SHELL=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME='util-vserver'
425 PACKAGE_TARNAME='util-vserver'
426 PACKAGE_VERSION='0.30.213'
427 PACKAGE_STRING='util-vserver 0.30.213'
428 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
430 ac_unique_file="src/capchroot.c"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os GPG_KEY CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S 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 CPP 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 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 HAVE_GENTOO_INIT_TRUE HAVE_GENTOO_INIT_FALSE HAVE_SYSV_INIT_TRUE HAVE_SYSV_INIT_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_CPP_set=${CPP+set}
934 ac_env_CPP_value=$CPP
935 ac_cv_env_CPP_set=${CPP+set}
936 ac_cv_env_CPP_value=$CPP
937 ac_env_DIET_set=${DIET+set}
938 ac_env_DIET_value=$DIET
939 ac_cv_env_DIET_set=${DIET+set}
940 ac_cv_env_DIET_value=$DIET
941 ac_env_DIETFLAGS_set=${DIETFLAGS+set}
942 ac_env_DIETFLAGS_value=$DIETFLAGS
943 ac_cv_env_DIETFLAGS_set=${DIETFLAGS+set}
944 ac_cv_env_DIETFLAGS_value=$DIETFLAGS
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.213 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.213:";;
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-alternative-syscalls
1051 do not use the alternative _syscallX macros provided
1052 by Herbert Poetzl (default: use them)
1053 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1054 --enable-dietlibc) (default: autodetect dietlibc)
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-syscall=METHOD call syscall(2) with the specified METHOD; valid
1075 values are 'fast', 'traditional' and 'auto'
1077 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1078 --with-pic try to use only PIC/non-PIC objects [default=use
1081 include additional configurations [automatic]
1082 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1083 --with-initscripts=TYPE force host initscripts; valid values are 'gentoo'
1084 and 'sysv' (default: guess)
1086 Some influential environment variables:
1087 CXX C++ compiler command
1088 CXXFLAGS C++ compiler flags
1089 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1090 nonstandard directory <lib dir>
1091 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1092 headers in a nonstandard directory <include dir>
1093 CC C compiler command
1094 CFLAGS C compiler flags
1096 DIET The 'diet' wrapper (default: diet)
1097 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1098 CXXCPP C++ preprocessor
1099 F77 Fortran 77 compiler command
1100 FFLAGS Fortran 77 compiler flags
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1105 Report bugs to <vserver@list.linux-vserver.org>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix= ac_top_builddir=
1125 .) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .) ac_abs_builddir="$ac_dir";;
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 util-vserver configure 0.30.213
1202 generated by GNU Autoconf 2.59
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by util-vserver $as_me 0.30.213, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next=true ;;
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1552 ac_config_headers="$ac_config_headers config.h"
1555 am__api_version="1.9"
1557 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1558 if test -f $ac_dir/install-sh; then
1560 ac_install_sh="$ac_aux_dir/install-sh -c"
1562 elif test -f $ac_dir/install.sh; then
1564 ac_install_sh="$ac_aux_dir/install.sh -c"
1566 elif test -f $ac_dir/shtool; then
1568 ac_install_sh="$ac_aux_dir/shtool install -c"
1572 if test -z "$ac_aux_dir"; then
1573 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1574 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1575 { (exit 1); exit 1; }; }
1577 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1578 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1579 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1674 set X `ls -t $srcdir/configure conftest.file`
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1752 for d in ./-p ./--version;
1754 test -d $d && rmdir $d
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1760 mkdir_p='$(install_sh) -d'
1764 for ac_prog in gawk mawk nawk awk
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1801 test -n "$AWK" && break
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 cat >conftest.make <<\_ACEOF
1812 @echo 'ac_maketemp="$(MAKE)"'
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1819 eval ac_cv_prog_make_${ac_make}_set=no
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1840 rmdir .tst 2>/dev/null
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1860 # Define the identity of the package.
1861 PACKAGE='util-vserver'
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE "$PACKAGE"
1870 cat >>confdefs.h <<_ACEOF
1871 #define VERSION "$VERSION"
1874 # Some tools Automake needs.
1876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1890 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1892 # Installed binaries are usually stripped using `strip' when the user
1893 # run `make install-strip'. However `strip' might not be the right
1894 # tool to use in cross-compilation environments, therefore Automake
1895 # will honor the `STRIP' environment variable to overrule this program.
1896 if test "$cross_compiling" != no; then
1897 if test -n "$ac_tool_prefix"; then
1898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1899 set dummy ${ac_tool_prefix}strip; ac_word=$2
1900 echo "$as_me:$LINENO: checking for $ac_word" >&5
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1902 if test "${ac_cv_prog_STRIP+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 if test -n "$STRIP"; then
1906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1915 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 STRIP=$ac_cv_prog_STRIP
1925 if test -n "$STRIP"; then
1926 echo "$as_me:$LINENO: result: $STRIP" >&5
1927 echo "${ECHO_T}$STRIP" >&6
1929 echo "$as_me:$LINENO: result: no" >&5
1930 echo "${ECHO_T}no" >&6
1934 if test -z "$ac_cv_prog_STRIP"; then
1936 # Extract the first word of "strip", so it can be a program name with args.
1937 set dummy strip; ac_word=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 if test -n "$ac_ct_STRIP"; then
1944 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir=.
1951 for ac_exec_ext in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_ac_ct_STRIP="strip"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1963 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1964 if test -n "$ac_ct_STRIP"; then
1965 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1966 echo "${ECHO_T}$ac_ct_STRIP" >&6
1968 echo "$as_me:$LINENO: result: no" >&5
1969 echo "${ECHO_T}no" >&6
1974 STRIP="$ac_cv_prog_STRIP"
1978 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1980 # We need awk for the "check" target. The system "awk" is bad on
1982 # Always define AMTAR for backward compatibility.
1984 AMTAR=${AMTAR-"${am_missing_run}tar"}
1986 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1992 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1993 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1994 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1995 if test "${enable_maintainer_mode+set}" = set; then
1996 enableval="$enable_maintainer_mode"
1997 USE_MAINTAINER_MODE=$enableval
1999 USE_MAINTAINER_MODE=no
2001 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2002 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2005 if test $USE_MAINTAINER_MODE = yes; then
2006 MAINTAINER_MODE_TRUE=
2007 MAINTAINER_MODE_FALSE='#'
2009 MAINTAINER_MODE_TRUE='#'
2010 MAINTAINER_MODE_FALSE=
2013 MAINT=$MAINTAINER_MODE_TRUE
2017 # Make sure we can run config.sub.
2018 $ac_config_sub sun4 >/dev/null 2>&1 ||
2019 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2020 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2021 { (exit 1); exit 1; }; }
2023 echo "$as_me:$LINENO: checking build system type" >&5
2024 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2025 if test "${ac_cv_build+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 ac_cv_build_alias=$build_alias
2029 test -z "$ac_cv_build_alias" &&
2030 ac_cv_build_alias=`$ac_config_guess`
2031 test -z "$ac_cv_build_alias" &&
2032 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2033 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2034 { (exit 1); exit 1; }; }
2035 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2036 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2037 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2038 { (exit 1); exit 1; }; }
2041 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2042 echo "${ECHO_T}$ac_cv_build" >&6
2044 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2045 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2046 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2049 echo "$as_me:$LINENO: checking host system type" >&5
2050 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2051 if test "${ac_cv_host+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 ac_cv_host_alias=$host_alias
2055 test -z "$ac_cv_host_alias" &&
2056 ac_cv_host_alias=$ac_cv_build_alias
2057 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2058 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2059 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2060 { (exit 1); exit 1; }; }
2063 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2064 echo "${ECHO_T}$ac_cv_host" >&6
2066 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2067 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2068 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2072 GPG_KEY="0xFFD316AC53ACA43A!"
2075 # Checks for programs.
2077 ac_cpp='$CXXCPP $CPPFLAGS'
2078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2081 if test -n "$ac_tool_prefix"; then
2082 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088 if test "${ac_cv_prog_CXX+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$CXX"; then
2092 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test -n "$CXX"; then
2112 echo "$as_me:$LINENO: result: $CXX" >&5
2113 echo "${ECHO_T}$CXX" >&6
2115 echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2119 test -n "$CXX" && break
2122 if test -z "$CXX"; then
2124 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2126 # Extract the first word of "$ac_prog", so it can be a program name with args.
2127 set dummy $ac_prog; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$ac_ct_CXX"; then
2134 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_CXX="$ac_prog"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2153 if test -n "$ac_ct_CXX"; then
2154 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2155 echo "${ECHO_T}$ac_ct_CXX" >&6
2157 echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6
2161 test -n "$ac_ct_CXX" && break
2163 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2169 # Provide some information about the compiler.
2170 echo "$as_me:$LINENO:" \
2171 "checking for C++ compiler version" >&5
2172 ac_compiler=`set X $ac_compile; echo $2`
2173 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2174 (eval $ac_compiler --version </dev/null >&5) 2>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }
2178 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2179 (eval $ac_compiler -v </dev/null >&5) 2>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }
2183 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2184 (eval $ac_compiler -V </dev/null >&5) 2>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }
2189 cat >conftest.$ac_ext <<_ACEOF
2192 cat confdefs.h >>conftest.$ac_ext
2193 cat >>conftest.$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2204 ac_clean_files_save=$ac_clean_files
2205 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2206 # Try to create an executable without -o first, disregard a.out.
2207 # It will help us diagnose broken compilers, and finding out an intuition
2209 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2210 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2211 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2212 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2213 (eval $ac_link_default) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; then
2217 # Find the output, starting from the most likely. This scheme is
2218 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2221 # Be careful to initialize this variable, since it used to be cached.
2222 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2224 # b.out is created by i960 compilers.
2225 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2227 test -f "$ac_file" || continue
2229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2232 # This is the source file.
2235 # We found the default executable, but exeext='' is most
2239 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2240 # FIXME: I believe we export ac_cv_exeext for Libtool,
2241 # but it would be cool to find out if it's true. Does anybody
2242 # maintain Libtool? --akim.
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2254 See \`config.log' for more details." >&5
2255 echo "$as_me: error: C++ compiler cannot create executables
2256 See \`config.log' for more details." >&2;}
2257 { (exit 77); exit 77; }; }
2260 ac_exeext=$ac_cv_exeext
2261 echo "$as_me:$LINENO: result: $ac_file" >&5
2262 echo "${ECHO_T}$ac_file" >&6
2264 # Check the compiler produces executables we can run. If not, either
2265 # the compiler is broken, or we cross compile.
2266 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2267 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2268 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2269 # If not cross compiling, check that we can run a simple program.
2270 if test "$cross_compiling" != yes; then
2271 if { ac_try='./$ac_file'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2279 if test "$cross_compiling" = maybe; then
2282 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2283 If you meant to cross compile, use \`--host'.
2284 See \`config.log' for more details." >&5
2285 echo "$as_me: error: cannot run C++ compiled programs.
2286 If you meant to cross compile, use \`--host'.
2287 See \`config.log' for more details." >&2;}
2288 { (exit 1); exit 1; }; }
2292 echo "$as_me:$LINENO: result: yes" >&5
2293 echo "${ECHO_T}yes" >&6
2295 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2296 ac_clean_files=$ac_clean_files_save
2297 # Check the compiler produces executables we can run. If not, either
2298 # the compiler is broken, or we cross compile.
2299 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2300 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2301 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2302 echo "${ECHO_T}$cross_compiling" >&6
2304 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2305 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2307 (eval $ac_link) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; then
2311 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2312 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2313 # work properly (i.e., refer to `conftest.exe'), while it won't with
2315 for ac_file in conftest.exe conftest conftest.*; do
2316 test -f "$ac_file" || continue
2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2319 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2326 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2333 rm -f conftest$ac_cv_exeext
2334 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2335 echo "${ECHO_T}$ac_cv_exeext" >&6
2337 rm -f conftest.$ac_ext
2338 EXEEXT=$ac_cv_exeext
2340 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2341 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2342 if test "${ac_cv_objext+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 cat >conftest.$ac_ext <<_ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2360 rm -f conftest.o conftest.obj
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2369 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2374 echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.$ac_ext >&5
2377 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2378 See \`config.log' for more details." >&5
2379 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2380 See \`config.log' for more details." >&2;}
2381 { (exit 1); exit 1; }; }
2384 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2386 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2387 echo "${ECHO_T}$ac_cv_objext" >&6
2388 OBJEXT=$ac_cv_objext
2390 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2391 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2392 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.$ac_ext <<_ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2413 rm -f conftest.$ac_objext
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 (eval $ac_compile) 2>conftest.er1
2417 grep -v '^ *+' conftest.er1 >conftest.err
2419 cat conftest.err >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); } &&
2422 { ac_try='test -z "$ac_cxx_werror_flag"
2423 || test ! -s conftest.err'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; } &&
2429 { ac_try='test -s conftest.$ac_objext'
2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; }; then
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2443 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2446 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2447 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2448 GXX=`test $ac_compiler_gnu = yes && echo yes`
2449 ac_test_CXXFLAGS=${CXXFLAGS+set}
2450 ac_save_CXXFLAGS=$CXXFLAGS
2452 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2454 if test "${ac_cv_prog_cxx_g+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 cat >conftest.$ac_ext <<_ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
2461 cat >>conftest.$ac_ext <<_ACEOF
2462 /* end confdefs.h. */
2472 rm -f conftest.$ac_objext
2473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474 (eval $ac_compile) 2>conftest.er1
2476 grep -v '^ *+' conftest.er1 >conftest.err
2478 cat conftest.err >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } &&
2481 { ac_try='test -z "$ac_cxx_werror_flag"
2482 || test ! -s conftest.err'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; } &&
2488 { ac_try='test -s conftest.$ac_objext'
2489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; }; then
2494 ac_cv_prog_cxx_g=yes
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2503 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2504 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2505 if test "$ac_test_CXXFLAGS" = set; then
2506 CXXFLAGS=$ac_save_CXXFLAGS
2507 elif test $ac_cv_prog_cxx_g = yes; then
2508 if test "$GXX" = yes; then
2514 if test "$GXX" = yes; then
2520 for ac_declaration in \
2522 'extern "C" void std::exit (int) throw (); using std::exit;' \
2523 'extern "C" void std::exit (int); using std::exit;' \
2524 'extern "C" void exit (int) throw ();' \
2525 'extern "C" void exit (int);' \
2528 cat >conftest.$ac_ext <<_ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2544 rm -f conftest.$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1 >conftest.err
2550 cat conftest.err >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -z "$ac_cxx_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.$ac_objext
2590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2591 (eval $ac_compile) 2>conftest.er1
2593 grep -v '^ *+' conftest.er1 >conftest.err
2595 cat conftest.err >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } &&
2598 { ac_try='test -z "$ac_cxx_werror_flag"
2599 || test ! -s conftest.err'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; } &&
2605 { ac_try='test -s conftest.$ac_objext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2620 if test -n "$ac_declaration"; then
2621 echo '#ifdef __cplusplus' >>confdefs.h
2622 echo $ac_declaration >>confdefs.h
2623 echo '#endif' >>confdefs.h
2627 ac_cpp='$CPP $CPPFLAGS'
2628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2631 DEPDIR="${am__leading_dot}deps"
2633 ac_config_commands="$ac_config_commands depfiles"
2636 am_make=${MAKE-make}
2637 cat > confinc << 'END'
2642 # If we don't find an include directive, just comment out the code.
2643 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2644 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2648 # First try GNU make style include.
2649 echo "include confinc" > confmf
2650 # We grep out `Entering directory' and `Leaving directory'
2651 # messages which can occur if `w' ends up in MAKEFLAGS.
2652 # In particular we don't look at `^make:' because GNU make might
2653 # be invoked under some other name (usually "gmake"), in which
2654 # case it prints its new name instead of `make'.
2655 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2660 # Now try BSD make style include.
2661 if test "$am__include" = "#"; then
2662 echo '.include "confinc"' > confmf
2663 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2664 am__include=.include
2671 echo "$as_me:$LINENO: result: $_am_result" >&5
2672 echo "${ECHO_T}$_am_result" >&6
2673 rm -f confinc confmf
2675 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2676 if test "${enable_dependency_tracking+set}" = set; then
2677 enableval="$enable_dependency_tracking"
2680 if test "x$enable_dependency_tracking" != xno; then
2681 am_depcomp="$ac_aux_dir/depcomp"
2686 if test "x$enable_dependency_tracking" != xno; then
2697 depcc="$CXX" am_compiler_list=
2699 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2700 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2701 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2705 # We make a subdir and do the tests there. Otherwise we can end up
2706 # making bogus files that we don't know about and never remove. For
2707 # instance it was reported that on HP-UX the gcc test will end up
2708 # making a dummy file named `D' -- because `-MD' means `put the output
2711 # Copy depcomp to subdir because otherwise we won't find it if we're
2712 # using a relative directory.
2713 cp "$am_depcomp" conftest.dir
2715 # We will build objects and dependencies in a subdirectory because
2716 # it helps to detect inapplicable dependency modes. For instance
2717 # both Tru64's cc and ICC support -MD to output dependencies as a
2718 # side effect of compilation, but ICC will put the dependencies in
2719 # the current directory while Tru64 will put them in the object
2723 am_cv_CXX_dependencies_compiler_type=none
2724 if test "$am_compiler_list" = ""; then
2725 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2727 for depmode in $am_compiler_list; do
2728 # Setup a source with many dependencies, because some compilers
2729 # like to wrap large dependency lists on column 80 (with \), and
2730 # we should not choose a depcomp mode which is confused by this.
2732 # We need to recreate these files for each test, as the compiler may
2733 # overwrite some of them when testing with obscure command lines.
2734 # This happens at least with the AIX C compiler.
2736 for i in 1 2 3 4 5 6; do
2737 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2738 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2739 # Solaris 8's {/usr,}/bin/sh.
2740 touch sub/conftst$i.h
2742 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2746 # after this tag, mechanisms are not by side-effect, so they'll
2747 # only be used when explicitly requested
2748 if test "x$enable_dependency_tracking" = xyes; then
2756 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2757 # mode. It turns out that the SunPro C++ compiler does not properly
2758 # handle `-M -o', and we need to detect this.
2759 if depmode=$depmode \
2760 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2761 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2762 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2763 >/dev/null 2>conftest.err &&
2764 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2765 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2766 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2767 # icc doesn't choke on unknown options, it will just issue warnings
2768 # or remarks (even with -Werror). So we grep stderr for any message
2769 # that says an option was ignored or not supported.
2770 # When given -MP, icc 7.0 and 7.1 complain thusly:
2771 # icc: Command line warning: ignoring option '-M'; no argument required
2772 # The diagnosis changed in icc 8.0:
2773 # icc: Command line remark: option '-MP' not supported
2774 if (grep 'ignoring option' conftest.err ||
2775 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2776 am_cv_CXX_dependencies_compiler_type=$depmode
2785 am_cv_CXX_dependencies_compiler_type=none
2789 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2790 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2791 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2796 test "x$enable_dependency_tracking" != xno \
2797 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2798 am__fastdepCXX_TRUE=
2799 am__fastdepCXX_FALSE='#'
2801 am__fastdepCXX_TRUE='#'
2802 am__fastdepCXX_FALSE=
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2811 if test -n "$ac_tool_prefix"; then
2812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2813 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2814 echo "$as_me:$LINENO: checking for $ac_word" >&5
2815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2816 if test "${ac_cv_prog_CC+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 if test -n "$CC"; then
2820 ac_cv_prog_CC="$CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2829 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$CC"; then
2840 echo "$as_me:$LINENO: result: $CC" >&5
2841 echo "${ECHO_T}$CC" >&6
2843 echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6
2848 if test -z "$ac_cv_prog_CC"; then
2850 # Extract the first word of "gcc", so it can be a program name with args.
2851 set dummy gcc; ac_word=$2
2852 echo "$as_me:$LINENO: checking for $ac_word" >&5
2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 if test -n "$ac_ct_CC"; then
2858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir=.
2865 for ac_exec_ext in '' $ac_executable_extensions; do
2866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2867 ac_cv_prog_ac_ct_CC="gcc"
2868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2879 echo "${ECHO_T}$ac_ct_CC" >&6
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
2894 echo "$as_me:$LINENO: checking for $ac_word" >&5
2895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2896 if test "${ac_cv_prog_CC+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909 ac_cv_prog_CC="${ac_tool_prefix}cc"
2910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 echo "$as_me:$LINENO: result: $CC" >&5
2921 echo "${ECHO_T}$CC" >&6
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2928 if test -z "$ac_cv_prog_CC"; then
2930 # Extract the first word of "cc", so it can be a program name with args.
2931 set dummy cc; ac_word=$2
2932 echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 if test -n "$ac_ct_CC"; then
2938 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_ac_ct_CC="cc"
2948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2957 if test -n "$ac_ct_CC"; then
2958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2959 echo "${ECHO_T}$ac_ct_CC" >&6
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2971 if test -z "$CC"; then
2972 # Extract the first word of "cc", so it can be a program name with args.
2973 set dummy cc; ac_word=$2
2974 echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976 if test "${ac_cv_prog_CC+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC="$CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991 ac_prog_rejected=yes
2995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test $ac_prog_rejected = yes; then
3002 # We found a bogon in the path, so make sure we never use it.
3003 set dummy $ac_cv_prog_CC
3005 if test $# != 0; then
3006 # We chose a different compiler from the bogus one.
3007 # However, it has the same basename, so the bogon will be chosen
3008 # first if we set CC to just the basename; use the full file name.
3010 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3016 if test -n "$CC"; then
3017 echo "$as_me:$LINENO: result: $CC" >&5
3018 echo "${ECHO_T}$CC" >&6
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3025 if test -z "$CC"; then
3026 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3031 echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3033 if test "${ac_cv_prog_CC+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 echo "$as_me:$LINENO: result: $CC" >&5
3058 echo "${ECHO_T}$CC" >&6
3060 echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3064 test -n "$CC" && break
3067 if test -z "$CC"; then
3071 # Extract the first word of "$ac_prog", so it can be a program name with args.
3072 set dummy $ac_prog; ac_word=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_ac_ct_CC="$ac_prog"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3098 if test -n "$ac_ct_CC"; then
3099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3100 echo "${ECHO_T}$ac_ct_CC" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3106 test -n "$ac_ct_CC" && break
3115 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3116 See \`config.log' for more details." >&5
3117 echo "$as_me: error: no acceptable C compiler found in \$PATH
3118 See \`config.log' for more details." >&2;}
3119 { (exit 1); exit 1; }; }
3121 # Provide some information about the compiler.
3122 echo "$as_me:$LINENO:" \
3123 "checking for C compiler version" >&5
3124 ac_compiler=`set X $ac_compile; echo $2`
3125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3126 (eval $ac_compiler --version </dev/null >&5) 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }
3130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3131 (eval $ac_compiler -v </dev/null >&5) 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }
3135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3136 (eval $ac_compiler -V </dev/null >&5) 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }
3141 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3142 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3143 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3166 (eval $ac_compile) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } &&
3173 { ac_try='test -z "$ac_c_werror_flag"
3174 || test ! -s conftest.err'
3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; } &&
3180 { ac_try='test -s conftest.$ac_objext'
3181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }; }; then
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3194 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3197 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3198 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3199 GCC=`test $ac_compiler_gnu = yes && echo yes`
3200 ac_test_CFLAGS=${CFLAGS+set}
3201 ac_save_CFLAGS=$CFLAGS
3203 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3204 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3205 if test "${ac_cv_prog_cc_g+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3223 rm -f conftest.$ac_objext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>conftest.er1
3227 grep -v '^ *+' conftest.er1 >conftest.err
3229 cat conftest.err >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try='test -z "$ac_c_werror_flag"
3233 || test ! -s conftest.err'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; } &&
3239 { ac_try='test -s conftest.$ac_objext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3254 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3255 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3256 if test "$ac_test_CFLAGS" = set; then
3257 CFLAGS=$ac_save_CFLAGS
3258 elif test $ac_cv_prog_cc_g = yes; then
3259 if test "$GCC" = yes; then
3265 if test "$GCC" = yes; then
3271 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3272 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3273 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 ac_cv_prog_cc_stdc=no
3278 cat >conftest.$ac_ext <<_ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3286 #include <sys/types.h>
3287 #include <sys/stat.h>
3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3289 struct buf { int x; };
3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291 static char *e (p, i)
3297 static char *f (char * (*g) (char **, int), char **p, ...)
3302 s = g (p, va_arg (v,int));
3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3308 function prototypes and stuff, but not '\xHH' hex character constants.
3309 These don't provoke an error unfortunately, instead are silently treated
3310 as 'x'. The following induces an error, until -std1 is added to get
3311 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3312 array size at least. It's necessary to write '\x00'==0 to get something
3313 that's true only with -std1. */
3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3316 int test (int i, double x);
3317 struct s1 {int (*f) (int a);};
3318 struct s2 {int (*f) (double a);};
3319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3330 # Don't try gcc -ansi; that turns off useful extensions and
3331 # breaks some systems' header files.
3332 # AIX -qlanglvl=ansi
3333 # Ultrix and OSF/1 -std1
3334 # HP-UX 10.20 and later -Ae
3335 # HP-UX older versions -Aa -D_HPUX_SOURCE
3336 # SVR4 -Xc -D__EXTENSIONS__
3337 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3339 CC="$ac_save_CC $ac_arg"
3340 rm -f conftest.$ac_objext
3341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3342 (eval $ac_compile) 2>conftest.er1
3344 grep -v '^ *+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } &&
3349 { ac_try='test -z "$ac_c_werror_flag"
3350 || test ! -s conftest.err'
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; } &&
3356 { ac_try='test -s conftest.$ac_objext'
3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; }; then
3362 ac_cv_prog_cc_stdc=$ac_arg
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3369 rm -f conftest.err conftest.$ac_objext
3371 rm -f conftest.$ac_ext conftest.$ac_objext
3376 case "x$ac_cv_prog_cc_stdc" in
3378 echo "$as_me:$LINENO: result: none needed" >&5
3379 echo "${ECHO_T}none needed" >&6 ;;
3381 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3382 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3383 CC="$CC $ac_cv_prog_cc_stdc" ;;
3386 # Some people use a C++ compiler to compile C. Since we use `exit',
3387 # in C++ we need to declare it. In case someone uses the same compiler
3388 # for both compiling C and C++ we need to have the C++ compiler decide
3389 # the declaration of exit, since it's the most demanding environment.
3390 cat >conftest.$ac_ext <<_ACEOF
3395 rm -f conftest.$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1 >conftest.err
3401 cat conftest.err >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try='test -z "$ac_c_werror_flag"
3405 || test ! -s conftest.err'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3417 for ac_declaration in \
3419 'extern "C" void std::exit (int) throw (); using std::exit;' \
3420 'extern "C" void std::exit (int); using std::exit;' \
3421 'extern "C" void exit (int) throw ();' \
3422 'extern "C" void exit (int);' \
3425 cat >conftest.$ac_ext <<_ACEOF
3428 cat confdefs.h >>conftest.$ac_ext
3429 cat >>conftest.$ac_ext <<_ACEOF
3430 /* end confdefs.h. */
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3445 grep -v '^ *+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3486 rm -f conftest.$ac_objext
3487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3488 (eval $ac_compile) 2>conftest.er1
3490 grep -v '^ *+' conftest.er1 >conftest.err
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } &&
3495 { ac_try='test -z "$ac_c_werror_flag"
3496 || test ! -s conftest.err'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; } &&
3502 { ac_try='test -s conftest.$ac_objext'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); }; }; then
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3517 if test -n "$ac_declaration"; then
3518 echo '#ifdef __cplusplus' >>confdefs.h
3519 echo $ac_declaration >>confdefs.h
3520 echo '#endif' >>confdefs.h
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 depcc="$CC" am_compiler_list=
3537 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3538 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3539 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3543 # We make a subdir and do the tests there. Otherwise we can end up
3544 # making bogus files that we don't know about and never remove. For
3545 # instance it was reported that on HP-UX the gcc test will end up
3546 # making a dummy file named `D' -- because `-MD' means `put the output
3549 # Copy depcomp to subdir because otherwise we won't find it if we're
3550 # using a relative directory.
3551 cp "$am_depcomp" conftest.dir
3553 # We will build objects and dependencies in a subdirectory because
3554 # it helps to detect inapplicable dependency modes. For instance
3555 # both Tru64's cc and ICC support -MD to output dependencies as a
3556 # side effect of compilation, but ICC will put the dependencies in
3557 # the current directory while Tru64 will put them in the object
3561 am_cv_CC_dependencies_compiler_type=none
3562 if test "$am_compiler_list" = ""; then
3563 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3565 for depmode in $am_compiler_list; do
3566 # Setup a source with many dependencies, because some compilers
3567 # like to wrap large dependency lists on column 80 (with \), and
3568 # we should not choose a depcomp mode which is confused by this.
3570 # We need to recreate these files for each test, as the compiler may
3571 # overwrite some of them when testing with obscure command lines.
3572 # This happens at least with the AIX C compiler.
3574 for i in 1 2 3 4 5 6; do
3575 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3576 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3577 # Solaris 8's {/usr,}/bin/sh.
3578 touch sub/conftst$i.h
3580 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3584 # after this tag, mechanisms are not by side-effect, so they'll
3585 # only be used when explicitly requested
3586 if test "x$enable_dependency_tracking" = xyes; then
3594 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3595 # mode. It turns out that the SunPro C++ compiler does not properly
3596 # handle `-M -o', and we need to detect this.
3597 if depmode=$depmode \
3598 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3599 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3600 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3601 >/dev/null 2>conftest.err &&
3602 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3603 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3604 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3605 # icc doesn't choke on unknown options, it will just issue warnings
3606 # or remarks (even with -Werror). So we grep stderr for any message
3607 # that says an option was ignored or not supported.
3608 # When given -MP, icc 7.0 and 7.1 complain thusly:
3609 # icc: Command line warning: ignoring option '-M'; no argument required
3610 # The diagnosis changed in icc 8.0:
3611 # icc: Command line remark: option '-MP' not supported
3612 if (grep 'ignoring option' conftest.err ||
3613 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3614 am_cv_CC_dependencies_compiler_type=$depmode
3623 am_cv_CC_dependencies_compiler_type=none
3627 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3628 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3629 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3634 test "x$enable_dependency_tracking" != xno \
3635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3637 am__fastdepCC_FALSE='#'
3639 am__fastdepCC_TRUE='#'
3640 am__fastdepCC_FALSE=
3644 # Find a good install program. We prefer a C program (faster),
3645 # so one script is as good as another. But avoid the broken or
3646 # incompatible versions:
3647 # SysV /etc/install, /usr/sbin/install
3648 # SunOS /usr/etc/install
3649 # IRIX /sbin/install
3651 # AmigaOS /C/install, which installs bootblocks on floppy discs
3652 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3653 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3654 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3655 # OS/2's system install, which has a completely different semantic
3656 # ./install, which can be erroneously created by make from ./install.sh.
3657 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3658 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3659 if test -z "$INSTALL"; then
3660 if test "${ac_cv_path_install+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir=.
3668 # Account for people who put trailing slashes in PATH elements.
3670 ./ | .// | /cC/* | \
3671 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3672 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3675 # OSF1 and SCO ODT 3.0 have their own names for install.
3676 # Don't use installbsd from OSF since it installs stuff as root
3678 for ac_prog in ginstall scoinst install; do
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3681 if test $ac_prog = install &&
3682 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3683 # AIX install. It has an incompatible calling convention.
3685 elif test $ac_prog = install &&
3686 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3687 # program-specific install script used by HP pwplus--don't use.
3690 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3702 if test "${ac_cv_path_install+set}" = set; then
3703 INSTALL=$ac_cv_path_install
3705 # As a last resort, use the slow shell script. We don't cache a
3706 # path for INSTALL within a source directory, because that will
3707 # break other packages using the cache if that directory is
3708 # removed, or if the path is relative.
3709 INSTALL=$ac_install_sh
3712 echo "$as_me:$LINENO: result: $INSTALL" >&5
3713 echo "${ECHO_T}$INSTALL" >&6
3715 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3716 # It thinks the first close brace ends the variable substitution.
3717 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3719 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3721 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3723 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3724 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3726 if test "$LN_S" = "ln -s"; then
3727 echo "$as_me:$LINENO: result: yes" >&5
3728 echo "${ECHO_T}yes" >&6
3730 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3731 echo "${ECHO_T}no, using $LN_S" >&6
3734 if test "x$CC" != xcc; then
3735 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3736 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3738 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3739 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3741 set dummy $CC; ac_cc=`echo $2 |
3742 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3743 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 cat >conftest.$ac_ext <<_ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3761 # Make sure it works both with $CC and with simple cc.
3762 # We do the test twice because some compilers refuse to overwrite an
3763 # existing .o file with -o, though they will create one.
3764 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3765 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); };
3776 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3777 if test "x$CC" != xcc; then
3778 # Test first that cc exists at all.
3779 if { ac_try='cc -c conftest.$ac_ext >&5'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; }; then
3785 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3786 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); };
3800 # cc exists but doesn't like -o.
3801 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3806 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3811 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3818 cat >>confdefs.h <<\_ACEOF
3819 #define NO_MINUS_C_MINUS_O 1
3824 # FIXME: we rely on the cache variable name because
3825 # there is no other way.
3827 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3828 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3829 # Losing compiler, so override with the script.
3830 # FIXME: It is wrong to rewrite CC.
3831 # But if we don't then we get into trouble of one sort or another.
3832 # A longer-term fix would be to have automake use am__CC in this case,
3833 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3834 CC="$am_aux_dir/compile $CC"
3841 if test -n "$PYTHON"; then
3842 # If the user set $PYTHON, use it and don't search something else.
3843 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
3844 echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6
3845 prog="import sys, string
3846 # split strings by '.' and convert to numeric. Append some zeros
3847 # because we need at least 4 digits for the hex conversion.
3848 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
3850 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3851 sys.exit(sys.hexversion < minverhex)"
3852 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3853 ($PYTHON -c "$prog") >&5 2>&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; then
3857 echo "$as_me:$LINENO: result: yes" >&5
3858 echo "${ECHO_T}yes" >&6
3860 { { echo "$as_me:$LINENO: error: too old" >&5
3861 echo "$as_me: error: too old" >&2;}
3862 { (exit 1); exit 1; }; }
3865 am_display_PYTHON=$PYTHON
3867 # Otherwise, try each interpreter until we find one that satisfies
3869 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
3870 echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6
3871 if test "${am_cv_pathless_PYTHON+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
3876 test "$am_cv_pathless_PYTHON" = none && break
3877 prog="import sys, string
3878 # split strings by '.' and convert to numeric. Append some zeros
3879 # because we need at least 4 digits for the hex conversion.
3880 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
3882 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3883 sys.exit(sys.hexversion < minverhex)"
3884 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3885 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); }; then
3894 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
3895 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
3896 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3897 if test "$am_cv_pathless_PYTHON" = none; then
3900 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3901 set dummy $am_cv_pathless_PYTHON; ac_word=$2
3902 echo "$as_me:$LINENO: checking for $ac_word" >&5
3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3904 if test "${ac_cv_path_PYTHON+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir=.
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 PYTHON=$ac_cv_path_PYTHON
3931 if test -n "$PYTHON"; then
3932 echo "$as_me:$LINENO: result: $PYTHON" >&5
3933 echo "${ECHO_T}$PYTHON" >&6
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3940 am_display_PYTHON=$am_cv_pathless_PYTHON
3944 if test "$PYTHON" = :; then
3945 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
3946 echo "$as_me: error: no suitable Python interpreter found" >&2;}
3947 { (exit 1); exit 1; }; }
3951 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
3952 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
3953 if test "${am_cv_python_version+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
3958 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
3959 echo "${ECHO_T}$am_cv_python_version" >&6
3960 PYTHON_VERSION=$am_cv_python_version
3964 PYTHON_PREFIX='${prefix}'
3966 PYTHON_EXEC_PREFIX='${exec_prefix}'
3970 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
3971 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
3972 if test "${am_cv_python_platform+set}" = set; then
3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
3977 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
3978 echo "${ECHO_T}$am_cv_python_platform" >&6
3979 PYTHON_PLATFORM=$am_cv_python_platform
3984 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
3985 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
3986 if test "${am_cv_python_pythondir+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
3990 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
3992 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
3993 echo "${ECHO_T}$am_cv_python_pythondir" >&6
3994 pythondir=$am_cv_python_pythondir
3998 pkgpythondir=\${pythondir}/$PACKAGE
4001 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
4002 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
4003 if test "${am_cv_python_pyexecdir+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
4007 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
4009 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
4010 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
4011 pyexecdir=$am_cv_python_pyexecdir
4015 pkgpyexecdir=\${pyexecdir}/$PACKAGE
4026 echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
4027 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6
4028 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 ac_cpp='$CXXCPP $CPPFLAGS'
4034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4038 cat >conftest.$ac_ext <<_ACEOF
4043 rm -f conftest.$ac_objext
4044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4045 (eval $ac_compile) 2>conftest.er1
4047 grep -v '^ *+' conftest.er1 >conftest.err
4049 cat conftest.err >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } &&
4052 { ac_try='test -z "$ac_cxx_werror_flag"
4053 || test ! -s conftest.err'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; } &&
4059 { ac_try='test -s conftest.$ac_objext'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 ensc_cv_cxx_cxxcompiler=yes
4067 echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.$ac_ext >&5
4070 ensc_cv_cxx_cxxcompiler=no
4072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081 echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
4082 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6
4086 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
4087 ENSC_HAVE_CXX_COMPILER_TRUE=
4088 ENSC_HAVE_CXX_COMPILER_FALSE='#'
4090 ENSC_HAVE_CXX_COMPILER_TRUE='#'
4091 ENSC_HAVE_CXX_COMPILER_FALSE=
4095 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
4096 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
4097 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
4104 echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
4105 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6
4106 if test "${ensc_cv_c99_c99compiler+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 ac_cpp='$CPP $CPPFLAGS'
4112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4116 cat >conftest.$ac_ext <<_ACEOF
4118 int main(int argc, char *argv) {
4119 struct { int x; } a = { .x = argc };
4125 rm -f conftest.$ac_objext
4126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4127 (eval $ac_compile) 2>conftest.er1
4129 grep -v '^ *+' conftest.er1 >conftest.err
4131 cat conftest.err >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); } &&
4134 { ac_try='test -z "$ac_c_werror_flag"
4135 || test ! -s conftest.err'
4136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); }; } &&
4141 { ac_try='test -s conftest.$ac_objext'
4142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); }; }; then
4147 ensc_cv_c99_c99compiler=yes
4149 echo "$as_me: failed program was:" >&5
4150 sed 's/^/| /' conftest.$ac_ext >&5
4152 ensc_cv_c99_c99compiler=no
4154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4156 ac_cpp='$CPP $CPPFLAGS'
4157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
4164 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6
4168 if test x"$ensc_cv_c99_c99compiler" = xyes; then
4169 ENSC_HAVE_C99_COMPILER_TRUE=
4170 ENSC_HAVE_C99_COMPILER_FALSE='#'
4172 ENSC_HAVE_C99_COMPILER_TRUE='#'
4173 ENSC_HAVE_C99_COMPILER_FALSE=
4177 if test x"$ensc_cv_c99_c99compiler" = xno; then
4178 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
4179 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
4184 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4209 # Extract the first word of "$ac_prog", so it can be a program name with args.
4210 set dummy $ac_prog; ac_word=$2
4211 echo "$as_me:$LINENO: checking for $ac_word" >&5
4212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4213 if test "${ac_cv_path_AWK+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $ensc_searchpath
4225 test -z "$as_dir" && as_dir=.
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4228 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 if test -n "$AWK"; then
4241 echo "$as_me:$LINENO: result: $AWK" >&5
4242 echo "${ECHO_T}$AWK" >&6
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4248 test -n "$AWK" && break
4250 test -n "$AWK" || AWK="$ensc_dflt"
4253 if test -z "${AWK}" && $rq; then
4255 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4256 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4257 { (exit 1); exit 1; }; }
4259 { { echo "$as_me:$LINENO: error:
4260 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4262 echo "$as_me: error:
4263 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4265 { (exit 1); exit 1; }; }
4269 if test -e "${AWK}"; then
4270 AWK=`readlink -f "${AWK}"`
4273 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4294 # Extract the first word of "$ac_prog", so it can be a program name with args.
4295 set dummy $ac_prog; ac_word=$2
4296 echo "$as_me:$LINENO: checking for $ac_word" >&5
4297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4298 if test "${ac_cv_path_CAT+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307 for as_dir in $ensc_searchpath
4310 test -z "$as_dir" && as_dir=.
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 if test -n "$CAT"; then
4326 echo "$as_me:$LINENO: result: $CAT" >&5
4327 echo "${ECHO_T}$CAT" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4333 test -n "$CAT" && break
4335 test -n "$CAT" || CAT="$ensc_dflt"
4338 if test -z "${CAT}" && $rq; then
4340 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4341 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4342 { (exit 1); exit 1; }; }
4344 { { echo "$as_me:$LINENO: error:
4345 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4347 echo "$as_me: error:
4348 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4350 { (exit 1); exit 1; }; }
4354 if test -e "${CAT}"; then
4355 CAT=`readlink -f "${CAT}"`
4358 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4377 for ac_prog in chown
4379 # Extract the first word of "$ac_prog", so it can be a program name with args.
4380 set dummy $ac_prog; ac_word=$2
4381 echo "$as_me:$LINENO: checking for $ac_word" >&5
4382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4383 if test "${ac_cv_path_CHOWN+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $ensc_searchpath
4395 test -z "$as_dir" && as_dir=.
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 CHOWN=$ac_cv_path_CHOWN
4410 if test -n "$CHOWN"; then
4411 echo "$as_me:$LINENO: result: $CHOWN" >&5
4412 echo "${ECHO_T}$CHOWN" >&6
4414 echo "$as_me:$LINENO: result: no" >&5
4415 echo "${ECHO_T}no" >&6
4418 test -n "$CHOWN" && break
4420 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4423 if test -z "${CHOWN}" && $rq; then
4425 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4426 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4427 { (exit 1); exit 1; }; }
4429 { { echo "$as_me:$LINENO: error:
4430 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4432 echo "$as_me: error:
4433 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4435 { (exit 1); exit 1; }; }
4439 if test -e "${CHOWN}"; then
4440 CHOWN=`readlink -f "${CHOWN}"`
4443 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4464 # Extract the first word of "$ac_prog", so it can be a program name with args.
4465 set dummy $ac_prog; ac_word=$2
4466 echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4468 if test "${ac_cv_path_CMP+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in $ensc_searchpath
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 if test -n "$CMP"; then
4496 echo "$as_me:$LINENO: result: $CMP" >&5
4497 echo "${ECHO_T}$CMP" >&6
4499 echo "$as_me:$LINENO: result: no" >&5
4500 echo "${ECHO_T}no" >&6
4503 test -n "$CMP" && break
4505 test -n "$CMP" || CMP="$ensc_dflt"
4508 if test -z "${CMP}" && $rq; then
4510 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4511 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4512 { (exit 1); exit 1; }; }
4514 { { echo "$as_me:$LINENO: error:
4515 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4517 echo "$as_me: error:
4518 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4520 { (exit 1); exit 1; }; }
4524 if test -e "${CMP}"; then
4525 CMP=`readlink -f "${CMP}"`
4528 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4549 # Extract the first word of "$ac_prog", so it can be a program name with args.
4550 set dummy $ac_prog; ac_word=$2
4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553 if test "${ac_cv_path_CP+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $ensc_searchpath
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 if test -n "$CP"; then
4581 echo "$as_me:$LINENO: result: $CP" >&5
4582 echo "${ECHO_T}$CP" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4588 test -n "$CP" && break
4590 test -n "$CP" || CP="$ensc_dflt"
4593 if test -z "${CP}" && $rq; then
4595 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4596 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4597 { (exit 1); exit 1; }; }
4599 { { echo "$as_me:$LINENO: error:
4600 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4602 echo "$as_me: error:
4603 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4605 { (exit 1); exit 1; }; }
4609 if test -e "${CP}"; then
4610 CP=`readlink -f "${CP}"`
4613 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4632 for ac_prog in dirname
4634 # Extract the first word of "$ac_prog", so it can be a program name with args.
4635 set dummy $ac_prog; ac_word=$2
4636 echo "$as_me:$LINENO: checking for $ac_word" >&5
4637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4638 if test "${ac_cv_path_DIRNAME+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $ensc_searchpath
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 DIRNAME=$ac_cv_path_DIRNAME
4665 if test -n "$DIRNAME"; then
4666 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4667 echo "${ECHO_T}$DIRNAME" >&6
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4673 test -n "$DIRNAME" && break
4675 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4678 if test -z "${DIRNAME}" && $rq; then
4680 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4681 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4682 { (exit 1); exit 1; }; }
4684 { { echo "$as_me:$LINENO: error:
4685 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4687 echo "$as_me: error:
4688 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4690 { (exit 1); exit 1; }; }
4694 if test -e "${DIRNAME}"; then
4695 DIRNAME=`readlink -f "${DIRNAME}"`
4698 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4717 for ac_prog in egrep
4719 # Extract the first word of "$ac_prog", so it can be a program name with args.
4720 set dummy $ac_prog; ac_word=$2
4721 echo "$as_me:$LINENO: checking for $ac_word" >&5
4722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4723 if test "${ac_cv_path_EGREP+set}" = set; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 for as_dir in $ensc_searchpath
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 EGREP=$ac_cv_path_EGREP
4750 if test -n "$EGREP"; then
4751 echo "$as_me:$LINENO: result: $EGREP" >&5
4752 echo "${ECHO_T}$EGREP" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4758 test -n "$EGREP" && break
4760 test -n "$EGREP" || EGREP="$ensc_dflt"
4763 if test -z "${EGREP}" && $rq; then
4765 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4766 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4767 { (exit 1); exit 1; }; }
4769 { { echo "$as_me:$LINENO: error:
4770 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4772 echo "$as_me: error:
4773 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4775 { (exit 1); exit 1; }; }
4779 if test -e "${EGREP}"; then
4780 EGREP=`readlink -f "${EGREP}"`
4783 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4804 # Extract the first word of "$ac_prog", so it can be a program name with args.
4805 set dummy $ac_prog; ac_word=$2
4806 echo "$as_me:$LINENO: checking for $ac_word" >&5
4807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4808 if test "${ac_cv_path_ENV+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $ensc_searchpath
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
4824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 if test -n "$ENV"; then
4836 echo "$as_me:$LINENO: result: $ENV" >&5
4837 echo "${ECHO_T}$ENV" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4843 test -n "$ENV" && break
4845 test -n "$ENV" || ENV="$ensc_dflt"
4848 if test -z "${ENV}" && $rq; then
4850 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
4851 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4852 { (exit 1); exit 1; }; }
4854 { { echo "$as_me:$LINENO: error:
4855 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4857 echo "$as_me: error:
4858 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4860 { (exit 1); exit 1; }; }
4864 if test -e "${ENV}"; then
4865 ENV=`readlink -f "${ENV}"`
4868 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
4889 # Extract the first word of "$ac_prog", so it can be a program name with args.
4890 set dummy $ac_prog; ac_word=$2
4891 echo "$as_me:$LINENO: checking for $ac_word" >&5
4892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4893 if test "${ac_cv_path_GREP+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $ensc_searchpath
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 GREP=$ac_cv_path_GREP
4920 if test -n "$GREP"; then
4921 echo "$as_me:$LINENO: result: $GREP" >&5
4922 echo "${ECHO_T}$GREP" >&6
4924 echo "$as_me:$LINENO: result: no" >&5
4925 echo "${ECHO_T}no" >&6
4928 test -n "$GREP" && break
4930 test -n "$GREP" || GREP="$ensc_dflt"
4933 if test -z "${GREP}" && $rq; then
4935 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4936 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4937 { (exit 1); exit 1; }; }
4939 { { echo "$as_me:$LINENO: error:
4940 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4942 echo "$as_me: error:
4943 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4945 { (exit 1); exit 1; }; }
4949 if test -e "${GREP}"; then
4950 GREP=`readlink -f "${GREP}"`
4953 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4974 # Extract the first word of "$ac_prog", so it can be a program name with args.
4975 set dummy $ac_prog; ac_word=$2
4976 echo "$as_me:$LINENO: checking for $ac_word" >&5
4977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4978 if test "${ac_cv_path_LN+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $ensc_searchpath
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 if test -n "$LN"; then
5006 echo "$as_me:$LINENO: result: $LN" >&5
5007 echo "${ECHO_T}$LN" >&6
5009 echo "$as_me:$LINENO: result: no" >&5
5010 echo "${ECHO_T}no" >&6
5013 test -n "$LN" && break
5015 test -n "$LN" || LN="$ensc_dflt"
5018 if test -z "${LN}" && $rq; then
5020 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
5021 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5022 { (exit 1); exit 1; }; }
5024 { { echo "$as_me:$LINENO: error:
5025 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5027 echo "$as_me: error:
5028 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
5030 { (exit 1); exit 1; }; }
5034 if test -e "${LN}"; then
5035 LN=`readlink -f "${LN}"`
5038 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
5057 for ac_prog in mkdir
5059 # Extract the first word of "$ac_prog", so it can be a program name with args.
5060 set dummy $ac_prog; ac_word=$2
5061 echo "$as_me:$LINENO: checking for $ac_word" >&5
5062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5063 if test "${ac_cv_path_MKDIR+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $ensc_searchpath
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 MKDIR=$ac_cv_path_MKDIR
5090 if test -n "$MKDIR"; then
5091 echo "$as_me:$LINENO: result: $MKDIR" >&5
5092 echo "${ECHO_T}$MKDIR" >&6
5094 echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6
5098 test -n "$MKDIR" && break
5100 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5103 if test -z "${MKDIR}" && $rq; then
5105 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5106 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5107 { (exit 1); exit 1; }; }
5109 { { echo "$as_me:$LINENO: error:
5110 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5112 echo "$as_me: error:
5113 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5115 { (exit 1); exit 1; }; }
5119 if test -e "${MKDIR}"; then
5120 MKDIR=`readlink -f "${MKDIR}"`
5123 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5142 for ac_prog in mkfifo
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5148 if test "${ac_cv_path_MKFIFO+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $ensc_searchpath
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 MKFIFO=$ac_cv_path_MKFIFO
5175 if test -n "$MKFIFO"; then
5176 echo "$as_me:$LINENO: result: $MKFIFO" >&5
5177 echo "${ECHO_T}$MKFIFO" >&6
5179 echo "$as_me:$LINENO: result: no" >&5
5180 echo "${ECHO_T}no" >&6
5183 test -n "$MKFIFO" && break
5185 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5188 if test -z "${MKFIFO}" && $rq; then
5190 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5191 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5192 { (exit 1); exit 1; }; }
5194 { { echo "$as_me:$LINENO: error:
5195 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5197 echo "$as_me: error:
5198 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5200 { (exit 1); exit 1; }; }
5204 if test -e "${MKFIFO}"; then
5205 MKFIFO=`readlink -f "${MKFIFO}"`
5208 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5227 for ac_prog in mktemp
5229 # Extract the first word of "$ac_prog", so it can be a program name with args.
5230 set dummy $ac_prog; ac_word=$2
5231 echo "$as_me:$LINENO: checking for $ac_word" >&5
5232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5233 if test "${ac_cv_path_MKTEMP+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $ensc_searchpath
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 MKTEMP=$ac_cv_path_MKTEMP
5260 if test -n "$MKTEMP"; then
5261 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5262 echo "${ECHO_T}$MKTEMP" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5268 test -n "$MKTEMP" && break
5270 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5273 if test -z "${MKTEMP}" && $rq; then
5275 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5276 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5277 { (exit 1); exit 1; }; }
5279 { { echo "$as_me:$LINENO: error:
5280 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5282 echo "$as_me: error:
5283 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5285 { (exit 1); exit 1; }; }
5289 if test -e "${MKTEMP}"; then
5290 MKTEMP=`readlink -f "${MKTEMP}"`
5293 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5312 for ac_prog in mount
5314 # Extract the first word of "$ac_prog", so it can be a program name with args.
5315 set dummy $ac_prog; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_path_MOUNT+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $ensc_searchpath
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 MOUNT=$ac_cv_path_MOUNT
5345 if test -n "$MOUNT"; then
5346 echo "$as_me:$LINENO: result: $MOUNT" >&5
5347 echo "${ECHO_T}$MOUNT" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5353 test -n "$MOUNT" && break
5355 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5358 if test -z "${MOUNT}" && $rq; then
5360 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5361 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5362 { (exit 1); exit 1; }; }
5364 { { echo "$as_me:$LINENO: error:
5365 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5367 echo "$as_me: error:
5368 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5370 { (exit 1); exit 1; }; }
5374 if test -e "${MOUNT}"; then
5375 MOUNT=`readlink -f "${MOUNT}"`
5378 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5399 # Extract the first word of "$ac_prog", so it can be a program name with args.
5400 set dummy $ac_prog; ac_word=$2
5401 echo "$as_me:$LINENO: checking for $ac_word" >&5
5402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5403 if test "${ac_cv_path_MV+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $ensc_searchpath
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 if test -n "$MV"; then
5431 echo "$as_me:$LINENO: result: $MV" >&5
5432 echo "${ECHO_T}$MV" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5438 test -n "$MV" && break
5440 test -n "$MV" || MV="$ensc_dflt"
5443 if test -z "${MV}" && $rq; then
5445 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5446 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5447 { (exit 1); exit 1; }; }
5449 { { echo "$as_me:$LINENO: error:
5450 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5452 echo "$as_me: error:
5453 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5455 { (exit 1); exit 1; }; }
5459 if test -e "${MV}"; then
5460 MV=`readlink -f "${MV}"`
5463 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5484 # Extract the first word of "$ac_prog", so it can be a program name with args.
5485 set dummy $ac_prog; ac_word=$2
5486 echo "$as_me:$LINENO: checking for $ac_word" >&5
5487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5488 if test "${ac_cv_path_NICE+set}" = set; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $ensc_searchpath
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 NICE=$ac_cv_path_NICE
5515 if test -n "$NICE"; then
5516 echo "$as_me:$LINENO: result: $NICE" >&5
5517 echo "${ECHO_T}$NICE" >&6
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5523 test -n "$NICE" && break
5525 test -n "$NICE" || NICE="$ensc_dflt"
5528 if test -z "${NICE}" && $rq; then
5530 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5531 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5532 { (exit 1); exit 1; }; }
5534 { { echo "$as_me:$LINENO: error:
5535 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5537 echo "$as_me: error:
5538 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5540 { (exit 1); exit 1; }; }
5544 if test -e "${NICE}"; then
5545 NICE=`readlink -f "${NICE}"`
5548 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5569 # Extract the first word of "$ac_prog", so it can be a program name with args.
5570 set dummy $ac_prog; ac_word=$2
5571 echo "$as_me:$LINENO: checking for $ac_word" >&5
5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5573 if test "${ac_cv_path_PS+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $ensc_searchpath
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 if test -n "$PS"; then
5601 echo "$as_me:$LINENO: result: $PS" >&5
5602 echo "${ECHO_T}$PS" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5608 test -n "$PS" && break
5610 test -n "$PS" || PS="$ensc_dflt"
5613 if test -z "${PS}" && $rq; then
5615 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5616 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5617 { (exit 1); exit 1; }; }
5619 { { echo "$as_me:$LINENO: error:
5620 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5622 echo "$as_me: error:
5623 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5625 { (exit 1); exit 1; }; }
5629 if test -e "${PS}"; then
5630 PS=`readlink -f "${PS}"`
5633 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5654 # Extract the first word of "$ac_prog", so it can be a program name with args.
5655 set dummy $ac_prog; ac_word=$2
5656 echo "$as_me:$LINENO: checking for $ac_word" >&5
5657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5658 if test "${ac_cv_path_RM+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $ensc_searchpath
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 if test -n "$RM"; then
5686 echo "$as_me:$LINENO: result: $RM" >&5
5687 echo "${ECHO_T}$RM" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5693 test -n "$RM" && break
5695 test -n "$RM" || RM="$ensc_dflt"
5698 if test -z "${RM}" && $rq; then
5700 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5701 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5702 { (exit 1); exit 1; }; }
5704 { { echo "$as_me:$LINENO: error:
5705 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5707 echo "$as_me: error:
5708 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5710 { (exit 1); exit 1; }; }
5714 if test -e "${RM}"; then
5715 RM=`readlink -f "${RM}"`
5718 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5737 for ac_prog in rmdir
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy $ac_prog; ac_word=$2
5741 echo "$as_me:$LINENO: checking for $ac_word" >&5
5742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5743 if test "${ac_cv_path_RMDIR+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $ensc_searchpath
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 RMDIR=$ac_cv_path_RMDIR
5770 if test -n "$RMDIR"; then
5771 echo "$as_me:$LINENO: result: $RMDIR" >&5
5772 echo "${ECHO_T}$RMDIR" >&6
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5778 test -n "$RMDIR" && break
5780 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5783 if test -z "${RMDIR}" && $rq; then
5785 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5786 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5787 { (exit 1); exit 1; }; }
5789 { { echo "$as_me:$LINENO: error:
5790 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5792 echo "$as_me: error:
5793 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5795 { (exit 1); exit 1; }; }
5799 if test -e "${RMDIR}"; then
5800 RMDIR=`readlink -f "${RMDIR}"`
5803 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5824 # Extract the first word of "$ac_prog", so it can be a program name with args.
5825 set dummy $ac_prog; ac_word=$2
5826 echo "$as_me:$LINENO: checking for $ac_word" >&5
5827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5828 if test "${ac_cv_path_SED+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $ensc_searchpath
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 if test -n "$SED"; then
5856 echo "$as_me:$LINENO: result: $SED" >&5
5857 echo "${ECHO_T}$SED" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5863 test -n "$SED" && break
5865 test -n "$SED" || SED="$ensc_dflt"
5868 if test -z "${SED}" && $rq; then
5870 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5871 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5872 { (exit 1); exit 1; }; }
5874 { { echo "$as_me:$LINENO: error:
5875 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5877 echo "$as_me: error:
5878 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5880 { (exit 1); exit 1; }; }
5884 if test -e "${SED}"; then
5885 SED=`readlink -f "${SED}"`
5888 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 echo "$as_me:$LINENO: checking for $ac_word" >&5
5912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5913 if test "${ac_cv_path_SH+set}" = set; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 for as_dir in $ensc_searchpath
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 if test -n "$SH"; then
5941 echo "$as_me:$LINENO: result: $SH" >&5
5942 echo "${ECHO_T}$SH" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5948 test -n "$SH" && break
5950 test -n "$SH" || SH="$ensc_dflt"
5953 if test -z "${SH}" && $rq; then
5955 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5956 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5957 { (exit 1); exit 1; }; }
5959 { { echo "$as_me:$LINENO: error:
5960 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5962 echo "$as_me: error:
5963 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5965 { (exit 1); exit 1; }; }
5969 if test -e "${SH}"; then
5970 SH=`readlink -f "${SH}"`
5973 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy $ac_prog; ac_word=$2
5996 echo "$as_me:$LINENO: checking for $ac_word" >&5
5997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5998 if test "${ac_cv_path_TAC+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $ensc_searchpath
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6013 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 if test -n "$TAC"; then
6026 echo "$as_me:$LINENO: result: $TAC" >&5
6027 echo "${ECHO_T}$TAC" >&6
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6033 test -n "$TAC" && break
6035 test -n "$TAC" || TAC="$ensc_dflt"
6038 if test -z "${TAC}" && $rq; then
6040 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
6041 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6042 { (exit 1); exit 1; }; }
6044 { { echo "$as_me:$LINENO: error:
6045 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6047 echo "$as_me: error:
6048 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
6050 { (exit 1); exit 1; }; }
6054 if test -e "${TAC}"; then
6055 TAC=`readlink -f "${TAC}"`
6058 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy $ac_prog; ac_word=$2
6081 echo "$as_me:$LINENO: checking for $ac_word" >&5
6082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6083 if test "${ac_cv_path_TAR+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $ensc_searchpath
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 if test -n "$TAR"; then
6111 echo "$as_me:$LINENO: result: $TAR" >&5
6112 echo "${ECHO_T}$TAR" >&6
6114 echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6
6118 test -n "$TAR" && break
6120 test -n "$TAR" || TAR="$ensc_dflt"
6123 if test -z "${TAR}" && $rq; then
6125 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6126 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6127 { (exit 1); exit 1; }; }
6129 { { echo "$as_me:$LINENO: error:
6130 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6132 echo "$as_me: error:
6133 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6135 { (exit 1); exit 1; }; }
6139 if test -e "${TAR}"; then
6140 TAR=`readlink -f "${TAR}"`
6143 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6162 for ac_prog in touch
6164 # Extract the first word of "$ac_prog", so it can be a program name with args.
6165 set dummy $ac_prog; ac_word=$2
6166 echo "$as_me:$LINENO: checking for $ac_word" >&5
6167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6168 if test "${ac_cv_path_TOUCH+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $ensc_searchpath
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 TOUCH=$ac_cv_path_TOUCH
6195 if test -n "$TOUCH"; then
6196 echo "$as_me:$LINENO: result: $TOUCH" >&5
6197 echo "${ECHO_T}$TOUCH" >&6
6199 echo "$as_me:$LINENO: result: no" >&5
6200 echo "${ECHO_T}no" >&6
6203 test -n "$TOUCH" && break
6205 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6208 if test -z "${TOUCH}" && $rq; then
6210 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6211 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6212 { (exit 1); exit 1; }; }
6214 { { echo "$as_me:$LINENO: error:
6215 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6217 echo "$as_me: error:
6218 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6220 { (exit 1); exit 1; }; }
6224 if test -e "${TOUCH}"; then
6225 TOUCH=`readlink -f "${TOUCH}"`
6228 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6249 # Extract the first word of "$ac_prog", so it can be a program name with args.
6250 set dummy $ac_prog; ac_word=$2
6251 echo "$as_me:$LINENO: checking for $ac_word" >&5
6252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6253 if test "${ac_cv_path_TTY+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $ensc_searchpath
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 if test -n "$TTY"; then
6281 echo "$as_me:$LINENO: result: $TTY" >&5
6282 echo "${ECHO_T}$TTY" >&6
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6288 test -n "$TTY" && break
6290 test -n "$TTY" || TTY="$ensc_dflt"
6293 if test -z "${TTY}" && $rq; then
6295 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6296 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6297 { (exit 1); exit 1; }; }
6299 { { echo "$as_me:$LINENO: error:
6300 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6302 echo "$as_me: error:
6303 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6305 { (exit 1); exit 1; }; }
6309 if test -e "${TTY}"; then
6310 TTY=`readlink -f "${TTY}"`
6313 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6332 for ac_prog in umount
6334 # Extract the first word of "$ac_prog", so it can be a program name with args.
6335 set dummy $ac_prog; ac_word=$2
6336 echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6338 if test "${ac_cv_path_UMOUNT+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 for as_dir in $ensc_searchpath
6350 test -z "$as_dir" && as_dir=.
6351 for ac_exec_ext in '' $ac_executable_extensions; do
6352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6353 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 UMOUNT=$ac_cv_path_UMOUNT
6365 if test -n "$UMOUNT"; then
6366 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6367 echo "${ECHO_T}$UMOUNT" >&6
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6373 test -n "$UMOUNT" && break
6375 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6378 if test -z "${UMOUNT}" && $rq; then
6380 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6381 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6382 { (exit 1); exit 1; }; }
6384 { { echo "$as_me:$LINENO: error:
6385 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6387 echo "$as_me: error:
6388 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6390 { (exit 1); exit 1; }; }
6394 if test -e "${UMOUNT}"; then
6395 UMOUNT=`readlink -f "${UMOUNT}"`
6398 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy $ac_prog; ac_word=$2
6421 echo "$as_me:$LINENO: checking for $ac_word" >&5
6422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6423 if test "${ac_cv_path_WC+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $ensc_searchpath
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 if test -n "$WC"; then
6451 echo "$as_me:$LINENO: result: $WC" >&5
6452 echo "${ECHO_T}$WC" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6458 test -n "$WC" && break
6460 test -n "$WC" || WC="$ensc_dflt"
6463 if test -z "${WC}" && $rq; then
6465 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6466 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6467 { (exit 1); exit 1; }; }
6469 { { echo "$as_me:$LINENO: error:
6470 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6472 echo "$as_me: error:
6473 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6475 { (exit 1); exit 1; }; }
6479 if test -e "${WC}"; then
6480 WC=`readlink -f "${WC}"`
6483 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6506 # Extract the first word of "$ac_prog", so it can be a program name with args.
6507 set dummy $ac_prog; ac_word=$2
6508 echo "$as_me:$LINENO: checking for $ac_word" >&5
6509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6510 if test "${ac_cv_path_IP+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $ensc_searchpath
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 if test -n "$IP"; then
6538 echo "$as_me:$LINENO: result: $IP" >&5
6539 echo "${ECHO_T}$IP" >&6
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6545 test -n "$IP" && break
6547 test -n "$IP" || IP="$ensc_dflt"
6550 if test -z "${IP}" && $rq; then
6551 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6552 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6553 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6554 { (exit 1); exit 1; }; }
6556 { { echo "$as_me:$LINENO: error:
6557 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6558 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6559 echo "$as_me: error:
6560 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6561 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6562 { (exit 1); exit 1; }; }
6566 if test -e "${IP}"; then
6567 IP=`readlink -f "${IP}"`
6570 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6589 for ac_prog in iptables
6591 # Extract the first word of "$ac_prog", so it can be a program name with args.
6592 set dummy $ac_prog; ac_word=$2
6593 echo "$as_me:$LINENO: checking for $ac_word" >&5
6594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6595 if test "${ac_cv_path_IPTABLES+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 for as_dir in $ensc_searchpath
6607 test -z "$as_dir" && as_dir=.
6608 for ac_exec_ext in '' $ac_executable_extensions; do
6609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6610 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 IPTABLES=$ac_cv_path_IPTABLES
6622 if test -n "$IPTABLES"; then
6623 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6624 echo "${ECHO_T}$IPTABLES" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6630 test -n "$IPTABLES" && break
6632 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6635 if test -z "${IPTABLES}" && $rq; then
6637 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6638 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6639 { (exit 1); exit 1; }; }
6641 { { echo "$as_me:$LINENO: error:
6642 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6644 echo "$as_me: error:
6645 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6647 { (exit 1); exit 1; }; }
6651 if test -e "${IPTABLES}"; then
6652 IPTABLES=`readlink -f "${IPTABLES}"`
6655 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6674 for ac_prog in modprobe
6676 # Extract the first word of "$ac_prog", so it can be a program name with args.
6677 set dummy $ac_prog; ac_word=$2
6678 echo "$as_me:$LINENO: checking for $ac_word" >&5
6679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6680 if test "${ac_cv_path_MODPROBE+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 for as_dir in $ensc_searchpath
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 MODPROBE=$ac_cv_path_MODPROBE
6707 if test -n "$MODPROBE"; then
6708 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6709 echo "${ECHO_T}$MODPROBE" >&6
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6715 test -n "$MODPROBE" && break
6717 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6720 if test -z "${MODPROBE}" && $rq; then
6722 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6723 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6724 { (exit 1); exit 1; }; }
6726 { { echo "$as_me:$LINENO: error:
6727 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6729 echo "$as_me: error:
6730 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6732 { (exit 1); exit 1; }; }
6736 if test -e "${MODPROBE}"; then
6737 MODPROBE=`readlink -f "${MODPROBE}"`
6740 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6759 for ac_prog in nameif
6761 # Extract the first word of "$ac_prog", so it can be a program name with args.
6762 set dummy $ac_prog; ac_word=$2
6763 echo "$as_me:$LINENO: checking for $ac_word" >&5
6764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6765 if test "${ac_cv_path_NAMEIF+set}" = set; then
6766 echo $ECHO_N "(cached) $ECHO_C" >&6
6770 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774 for as_dir in $ensc_searchpath
6777 test -z "$as_dir" && as_dir=.
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 NAMEIF=$ac_cv_path_NAMEIF
6792 if test -n "$NAMEIF"; then
6793 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6794 echo "${ECHO_T}$NAMEIF" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6800 test -n "$NAMEIF" && break
6802 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6805 if test -z "${NAMEIF}" && $rq; then
6807 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6808 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6809 { (exit 1); exit 1; }; }
6811 { { echo "$as_me:$LINENO: error:
6812 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6814 echo "$as_me: error:
6815 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6817 { (exit 1); exit 1; }; }
6821 if test -e "${NAMEIF}"; then
6822 NAMEIF=`readlink -f "${NAMEIF}"`
6825 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6844 for ac_prog in nohup
6846 # Extract the first word of "$ac_prog", so it can be a program name with args.
6847 set dummy $ac_prog; ac_word=$2
6848 echo "$as_me:$LINENO: checking for $ac_word" >&5
6849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6850 if test "${ac_cv_path_NOHUP+set}" = set; then
6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 for as_dir in $ensc_searchpath
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6865 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 NOHUP=$ac_cv_path_NOHUP
6877 if test -n "$NOHUP"; then
6878 echo "$as_me:$LINENO: result: $NOHUP" >&5
6879 echo "${ECHO_T}$NOHUP" >&6
6881 echo "$as_me:$LINENO: result: no" >&5
6882 echo "${ECHO_T}no" >&6
6885 test -n "$NOHUP" && break
6887 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6890 if test -z "${NOHUP}" && $rq; then
6892 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6893 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6894 { (exit 1); exit 1; }; }
6896 { { echo "$as_me:$LINENO: error:
6897 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6899 echo "$as_me: error:
6900 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6902 { (exit 1); exit 1; }; }
6906 if test -e "${NOHUP}"; then
6907 NOHUP=`readlink -f "${NOHUP}"`
6910 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6929 for ac_prog in rmmod
6931 # Extract the first word of "$ac_prog", so it can be a program name with args.
6932 set dummy $ac_prog; ac_word=$2
6933 echo "$as_me:$LINENO: checking for $ac_word" >&5
6934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6935 if test "${ac_cv_path_RMMOD+set}" = set; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6940 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 for as_dir in $ensc_searchpath
6947 test -z "$as_dir" && as_dir=.
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6950 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 RMMOD=$ac_cv_path_RMMOD
6962 if test -n "$RMMOD"; then
6963 echo "$as_me:$LINENO: result: $RMMOD" >&5
6964 echo "${ECHO_T}$RMMOD" >&6
6966 echo "$as_me:$LINENO: result: no" >&5
6967 echo "${ECHO_T}no" >&6
6970 test -n "$RMMOD" && break
6972 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6975 if test -z "${RMMOD}" && $rq; then
6977 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6978 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6979 { (exit 1); exit 1; }; }
6981 { { echo "$as_me:$LINENO: error:
6982 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6984 echo "$as_me: error:
6985 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6987 { (exit 1); exit 1; }; }
6991 if test -e "${RMMOD}"; then
6992 RMMOD=`readlink -f "${RMMOD}"`
6995 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
7014 for ac_prog in vconfig
7016 # Extract the first word of "$ac_prog", so it can be a program name with args.
7017 set dummy $ac_prog; ac_word=$2
7018 echo "$as_me:$LINENO: checking for $ac_word" >&5
7019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7020 if test "${ac_cv_path_VCONFIG+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $ensc_searchpath
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
7036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 VCONFIG=$ac_cv_path_VCONFIG
7047 if test -n "$VCONFIG"; then
7048 echo "$as_me:$LINENO: result: $VCONFIG" >&5
7049 echo "${ECHO_T}$VCONFIG" >&6
7051 echo "$as_me:$LINENO: result: no" >&5
7052 echo "${ECHO_T}no" >&6
7055 test -n "$VCONFIG" && break
7057 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
7060 if test -z "${VCONFIG}" && $rq; then
7061 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
7062 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
7063 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7064 { (exit 1); exit 1; }; }
7066 { { echo "$as_me:$LINENO: error:
7067 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7068 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
7069 echo "$as_me: error:
7070 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
7071 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
7072 { (exit 1); exit 1; }; }
7076 if test -e "${VCONFIG}"; then
7077 VCONFIG=`readlink -f "${VCONFIG}"`
7080 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
7101 # Extract the first word of "$ac_prog", so it can be a program name with args.
7102 set dummy $ac_prog; ac_word=$2
7103 echo "$as_me:$LINENO: checking for $ac_word" >&5
7104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7105 if test "${ac_cv_path_WGET+set}" = set; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $ensc_searchpath
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
7121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 WGET=$ac_cv_path_WGET
7132 if test -n "$WGET"; then
7133 echo "$as_me:$LINENO: result: $WGET" >&5
7134 echo "${ECHO_T}$WGET" >&6
7136 echo "$as_me:$LINENO: result: no" >&5
7137 echo "${ECHO_T}no" >&6
7140 test -n "$WGET" && break
7142 test -n "$WGET" || WGET="$ensc_dflt"
7145 if test -z "${WGET}" && $rq; then
7147 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
7148 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7149 { (exit 1); exit 1; }; }
7151 { { echo "$as_me:$LINENO: error:
7152 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7154 echo "$as_me: error:
7155 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7157 { (exit 1); exit 1; }; }
7161 if test -e "${WGET}"; then
7162 WGET=`readlink -f "${WGET}"`
7165 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7172 if test -z "file"; then
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_FILE+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 ac_cv_path_FILE="$FILE" # 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_FILE="$as_dir/$ac_word$ac_exec_ext"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 FILE=$ac_cv_path_FILE
7217 if test -n "$FILE"; then
7218 echo "$as_me:$LINENO: result: $FILE" >&5
7219 echo "${ECHO_T}$FILE" >&6
7221 echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6
7225 test -n "$FILE" && break
7227 test -n "$FILE" || FILE="$ensc_dflt"
7230 if test -z "${FILE}" && $rq; then
7232 { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5
7233 echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7234 { (exit 1); exit 1; }; }
7236 { { echo "$as_me:$LINENO: error:
7237 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7239 echo "$as_me: error:
7240 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
7242 { (exit 1); exit 1; }; }
7246 if test -e "${FILE}"; then
7247 FILE=`readlink -f "${FILE}"`
7250 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
7257 if test -z "gzip"; then
7271 # Extract the first word of "$ac_prog", so it can be a program name with args.
7272 set dummy $ac_prog; ac_word=$2
7273 echo "$as_me:$LINENO: checking for $ac_word" >&5
7274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7275 if test "${ac_cv_path_GZIP+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7280 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $ensc_searchpath
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7290 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
7291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 GZIP=$ac_cv_path_GZIP
7302 if test -n "$GZIP"; then
7303 echo "$as_me:$LINENO: result: $GZIP" >&5
7304 echo "${ECHO_T}$GZIP" >&6
7306 echo "$as_me:$LINENO: result: no" >&5
7307 echo "${ECHO_T}no" >&6
7310 test -n "$GZIP" && break
7312 test -n "$GZIP" || GZIP="$ensc_dflt"
7315 if test -z "${GZIP}" && $rq; then
7317 { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5
7318 echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7319 { (exit 1); exit 1; }; }
7321 { { echo "$as_me:$LINENO: error:
7322 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7324 echo "$as_me: error:
7325 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
7327 { (exit 1); exit 1; }; }
7331 if test -e "${GZIP}"; then
7332 GZIP=`readlink -f "${GZIP}"`
7335 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
7342 if test -z "bzip2"; then
7354 for ac_prog in bzip2
7356 # Extract the first word of "$ac_prog", so it can be a program name with args.
7357 set dummy $ac_prog; ac_word=$2
7358 echo "$as_me:$LINENO: checking for $ac_word" >&5
7359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7360 if test "${ac_cv_path_BZIP2+set}" = set; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7365 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 for as_dir in $ensc_searchpath
7372 test -z "$as_dir" && as_dir=.
7373 for ac_exec_ext in '' $ac_executable_extensions; do
7374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
7376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7385 BZIP2=$ac_cv_path_BZIP2
7387 if test -n "$BZIP2"; then
7388 echo "$as_me:$LINENO: result: $BZIP2" >&5
7389 echo "${ECHO_T}$BZIP2" >&6
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7395 test -n "$BZIP2" && break
7397 test -n "$BZIP2" || BZIP2="$ensc_dflt"
7400 if test -z "${BZIP2}" && $rq; then
7402 { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5
7403 echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7404 { (exit 1); exit 1; }; }
7406 { { echo "$as_me:$LINENO: error:
7407 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7409 echo "$as_me: error:
7410 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
7412 { (exit 1); exit 1; }; }
7416 if test -e "${BZIP2}"; then
7417 BZIP2=`readlink -f "${BZIP2}"`
7420 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
7427 if test -z "cpio"; then
7441 # Extract the first word of "$ac_prog", so it can be a program name with args.
7442 set dummy $ac_prog; ac_word=$2
7443 echo "$as_me:$LINENO: checking for $ac_word" >&5
7444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7445 if test "${ac_cv_path_CPIO+set}" = set; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7454 for as_dir in $ensc_searchpath
7457 test -z "$as_dir" && as_dir=.
7458 for ac_exec_ext in '' $ac_executable_extensions; do
7459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
7461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 CPIO=$ac_cv_path_CPIO
7472 if test -n "$CPIO"; then
7473 echo "$as_me:$LINENO: result: $CPIO" >&5
7474 echo "${ECHO_T}$CPIO" >&6
7476 echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6
7480 test -n "$CPIO" && break
7482 test -n "$CPIO" || CPIO="$ensc_dflt"
7485 if test -z "${CPIO}" && $rq; then
7487 { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5
7488 echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7489 { (exit 1); exit 1; }; }
7491 { { echo "$as_me:$LINENO: error:
7492 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7494 echo "$as_me: error:
7495 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
7497 { (exit 1); exit 1; }; }
7501 if test -e "${CPIO}"; then
7502 CPIO=`readlink -f "${CPIO}"`
7505 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
7512 if test -z "restore"; then
7524 for ac_prog in restore
7526 # Extract the first word of "$ac_prog", so it can be a program name with args.
7527 set dummy $ac_prog; ac_word=$2
7528 echo "$as_me:$LINENO: checking for $ac_word" >&5
7529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7530 if test "${ac_cv_path_RESTORE+set}" = set; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7535 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path.
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 for as_dir in $ensc_searchpath
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext"
7546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 RESTORE=$ac_cv_path_RESTORE
7557 if test -n "$RESTORE"; then
7558 echo "$as_me:$LINENO: result: $RESTORE" >&5
7559 echo "${ECHO_T}$RESTORE" >&6
7561 echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7565 test -n "$RESTORE" && break
7567 test -n "$RESTORE" || RESTORE="$ensc_dflt"
7570 if test -z "${RESTORE}" && $rq; then
7572 { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5
7573 echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7574 { (exit 1); exit 1; }; }
7576 { { echo "$as_me:$LINENO: error:
7577 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
7579 echo "$as_me: error:
7580 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
7582 { (exit 1); exit 1; }; }
7586 if test -e "${RESTORE}"; then
7587 RESTORE=`readlink -f "${RESTORE}"`
7590 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
7597 if test -z "rsync"; then
7609 for ac_prog in rsync
7611 # Extract the first word of "$ac_prog", so it can be a program name with args.
7612 set dummy $ac_prog; ac_word=$2
7613 echo "$as_me:$LINENO: checking for $ac_word" >&5
7614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7615 if test "${ac_cv_path_RSYNC+set}" = set; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7620 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
7623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 for as_dir in $ensc_searchpath
7627 test -z "$as_dir" && as_dir=.
7628 for ac_exec_ext in '' $ac_executable_extensions; do
7629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7630 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
7631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 RSYNC=$ac_cv_path_RSYNC
7642 if test -n "$RSYNC"; then
7643 echo "$as_me:$LINENO: result: $RSYNC" >&5
7644 echo "${ECHO_T}$RSYNC" >&6
7646 echo "$as_me:$LINENO: result: no" >&5
7647 echo "${ECHO_T}no" >&6
7650 test -n "$RSYNC" && break
7652 test -n "$RSYNC" || RSYNC="$ensc_dflt"
7655 if test -z "${RSYNC}" && $rq; then
7657 { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
7658 echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7659 { (exit 1); exit 1; }; }
7661 { { echo "$as_me:$LINENO: error:
7662 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
7664 echo "$as_me: error:
7665 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
7667 { (exit 1); exit 1; }; }
7671 if test -e "${RSYNC}"; then
7672 RSYNC=`readlink -f "${RSYNC}"`
7675 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
7683 if test -z ":"; then
7695 for ac_prog in doxygen
7697 # Extract the first word of "$ac_prog", so it can be a program name with args.
7698 set dummy $ac_prog; ac_word=$2
7699 echo "$as_me:$LINENO: checking for $ac_word" >&5
7700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7701 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 for as_dir in $ensc_searchpath
7713 test -z "$as_dir" && as_dir=.
7714 for ac_exec_ext in '' $ac_executable_extensions; do
7715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 DOXYGEN=$ac_cv_path_DOXYGEN
7728 if test -n "$DOXYGEN"; then
7729 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7730 echo "${ECHO_T}$DOXYGEN" >&6
7732 echo "$as_me:$LINENO: result: no" >&5
7733 echo "${ECHO_T}no" >&6
7736 test -n "$DOXYGEN" && break
7738 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
7741 if test -z "${DOXYGEN}" && $rq; then
7743 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
7744 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7745 { (exit 1); exit 1; }; }
7747 { { echo "$as_me:$LINENO: error:
7748 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7750 echo "$as_me: error:
7751 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7753 { (exit 1); exit 1; }; }
7757 if test -e "${DOXYGEN}"; then
7758 DOXYGEN=`readlink -f "${DOXYGEN}"`
7761 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
7768 if test -z ":"; then
7780 for ac_prog in xsltp
7782 # Extract the first word of "$ac_prog", so it can be a program name with args.
7783 set dummy $ac_prog; ac_word=$2
7784 echo "$as_me:$LINENO: checking for $ac_word" >&5
7785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7786 if test "${ac_cv_path_XSLTP+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 for as_dir in $ensc_searchpath
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7801 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
7802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 XSLTP=$ac_cv_path_XSLTP
7813 if test -n "$XSLTP"; then
7814 echo "$as_me:$LINENO: result: $XSLTP" >&5
7815 echo "${ECHO_T}$XSLTP" >&6
7817 echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6
7821 test -n "$XSLTP" && break
7823 test -n "$XSLTP" || XSLTP="$ensc_dflt"
7826 if test -z "${XSLTP}" && $rq; then
7828 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
7829 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7830 { (exit 1); exit 1; }; }
7832 { { echo "$as_me:$LINENO: error:
7833 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7835 echo "$as_me: error:
7836 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7838 { (exit 1); exit 1; }; }
7842 if test -e "${XSLTP}"; then
7843 XSLTP=`readlink -f "${XSLTP}"`
7846 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7853 if test -z ":"; then
7865 for ac_prog in xsltproc
7867 # Extract the first word of "$ac_prog", so it can be a program name with args.
7868 set dummy $ac_prog; ac_word=$2
7869 echo "$as_me:$LINENO: checking for $ac_word" >&5
7870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7871 if test "${ac_cv_path_XSLTPROC+set}" = set; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7876 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $ensc_searchpath
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 XSLTPROC=$ac_cv_path_XSLTPROC
7898 if test -n "$XSLTPROC"; then
7899 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7900 echo "${ECHO_T}$XSLTPROC" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7906 test -n "$XSLTPROC" && break
7908 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7911 if test -z "${XSLTPROC}" && $rq; then
7913 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7914 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7915 { (exit 1); exit 1; }; }
7917 { { echo "$as_me:$LINENO: error:
7918 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7920 echo "$as_me: error:
7921 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7923 { (exit 1); exit 1; }; }
7927 if test -e "${XSLTPROC}"; then
7928 XSLTPROC=`readlink -f "${XSLTPROC}"`
7931 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7938 if test "$XSLTP" != ':'; then
7940 HAVE_XSLTP_FALSE='#'
7948 if test "$XSLTPROC" != ':'; then
7950 HAVE_XSLTPROC_FALSE='#'
7952 HAVE_XSLTPROC_TRUE='#'
7953 HAVE_XSLTPROC_FALSE=
7957 if test x"$prefix" = x/; then
7963 warn_flags="-Werror -W"
7964 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7965 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7967 ac_cpp='$CPP $CPPFLAGS'
7968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7972 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7973 CFLAGS="$warn_flags"
7974 cat >conftest.$ac_ext <<_ACEOF
7977 cat confdefs.h >>conftest.$ac_ext
7978 cat >>conftest.$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7980 inline static void f(){}
7989 rm -f conftest.$ac_objext
7990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7991 (eval $ac_compile) 2>conftest.er1
7993 grep -v '^ *+' conftest.er1 >conftest.err
7995 cat conftest.err >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } &&
7998 { ac_try='test -z "$ac_c_werror_flag"
7999 || test ! -s conftest.err'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; } &&
8005 { ac_try='test -s conftest.$ac_objext'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; }; then
8011 ensc_sys_compilerwarnflags_C=${warn_flags}
8013 echo "$as_me: failed program was:" >&5
8014 sed 's/^/| /' conftest.$ac_ext >&5
8016 ensc_sys_compilerwarnflags_C=
8018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8020 ac_cpp='$CPP $CPPFLAGS'
8021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8025 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8027 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8039 echo 'void f(){}' > conftest.c
8040 for i in -std=c99 -Wall -pedantic -W
8042 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8043 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
8044 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8046 CFLAGS="${CFLAGS} $i"
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8054 rm -f conftest.c conftest.o
8058 warn_flags="-Werror -W"
8059 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
8060 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
8062 ac_cpp='$CXXCPP $CPPFLAGS'
8063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8067 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
8068 CXXFLAGS="$warn_flags"
8069 cat >conftest.$ac_ext <<_ACEOF
8072 cat confdefs.h >>conftest.$ac_ext
8073 cat >>conftest.$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8075 inline static void f(){}
8084 rm -f conftest.$ac_objext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8086 (eval $ac_compile) 2>conftest.er1
8088 grep -v '^ *+' conftest.er1 >conftest.err
8090 cat conftest.err >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try='test -z "$ac_cxx_werror_flag"
8094 || test ! -s conftest.err'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; } &&
8100 { ac_try='test -s conftest.$ac_objext'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then
8106 ensc_sys_compilerwarnflags_CXX=${warn_flags}
8108 echo "$as_me: failed program was:" >&5
8109 sed 's/^/| /' conftest.$ac_ext >&5
8111 ensc_sys_compilerwarnflags_CXX=
8113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8115 ac_cpp='$CPP $CPPFLAGS'
8116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8120 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
8122 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
8123 echo "$as_me:$LINENO: result: no" >&5
8124 echo "${ECHO_T}no" >&6
8126 echo "$as_me:$LINENO: result: yes" >&5
8127 echo "${ECHO_T}yes" >&6
8134 echo 'void f(){}' > conftest.cc
8135 for i in -ansi -Wall -pedantic -W -fmessage-length=0
8137 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8138 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
8139 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8141 CXXFLAGS="${CXXFLAGS} $i"
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8149 rm -f conftest.cc conftest.o
8152 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
8153 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
8154 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
8155 if test "${enable_extra_optimizations+set}" = set; then
8156 enableval="$enable_extra_optimizations"
8157 case "$enableval" in
8158 (yes) use_extra_optimizations=1;;
8159 (no) use_extra_optimizations=;;
8160 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
8161 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
8162 { (exit 1); exit 1; }; };;
8165 use_extra_optimizations=1
8168 if test x"$use_extra_optimizations" = x; then
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8177 echo 'void f(){}' > conftest.c
8178 for i in -funit-at-a-time
8180 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
8181 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
8182 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
8184 CFLAGS="${CFLAGS} $i"
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8192 rm -f conftest.c conftest.o
8197 echo 'void f(){}' > conftest.cc
8198 for i in -funit-at-a-time
8200 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
8201 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
8202 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
8204 CXXFLAGS="${CXXFLAGS} $i"
8205 echo "$as_me:$LINENO: result: yes" >&5
8206 echo "${ECHO_T}yes" >&6
8208 echo "$as_me:$LINENO: result: no" >&5
8209 echo "${ECHO_T}no" >&6
8212 rm -f conftest.cc conftest.o
8216 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
8217 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
8218 # Check whether --enable-lib-debug or --disable-lib-debug was given.
8219 if test "${enable_lib_debug+set}" = set; then
8220 enableval="$enable_lib_debug"
8221 case "$enableval" in
8222 (yes) use_lib_debug=1;;
8223 (no) use_lib_debug=;;
8224 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
8225 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
8226 { (exit 1); exit 1; }; };;
8232 if test x"$use_lib_debug" = x; then
8233 LIB_DEBUG_CPPFLAGS=-DNDEBUG
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: result: yes" >&5
8240 echo "${ECHO_T}yes" >&6
8243 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
8244 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
8245 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
8246 if test "${enable_expensive_tests+set}" = set; then
8247 enableval="$enable_expensive_tests"
8248 case "$enableval" in
8249 (yes|no) use_expensive_tests=$enableval;;
8250 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5
8251 echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;}
8252 { (exit 1); exit 1; }; };;
8255 use_expensive_tests=no
8257 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
8258 echo "${ECHO_T}$use_expensive_tests" >&6
8260 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
8265 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
8266 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
8267 echo "$as_me:$LINENO: result: " >&5
8268 echo "${ECHO_T}" >&6
8271 ac_cpp='$CPP $CPPFLAGS'
8272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8276 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
8277 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
8278 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 cat >conftest.$ac_ext <<_ACEOF
8284 cat confdefs.h >>conftest.$ac_ext
8285 cat >>conftest.$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8288 #include <linux/personality.h>
8294 #ifndef MMAP_PAGE_ZERO
8295 char *p = (char *) MMAP_PAGE_ZERO;
8302 rm -f conftest.$ac_objext
8303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8304 (eval $ac_compile) 2>conftest.er1
8306 grep -v '^ *+' conftest.er1 >conftest.err
8308 cat conftest.err >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } &&
8311 { ac_try='test -z "$ac_c_werror_flag"
8312 || test ! -s conftest.err'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; } &&
8318 { ac_try='test -s conftest.$ac_objext'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; }; then
8324 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
8326 echo "$as_me: failed program was:" >&5
8327 sed 's/^/| /' conftest.$ac_ext >&5
8329 ac_cv_have_decl_MMAP_PAGE_ZERO=no
8331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8333 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
8334 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
8335 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
8337 cat >>confdefs.h <<_ACEOF
8338 #define HAVE_DECL_MMAP_PAGE_ZERO 1
8343 cat >>confdefs.h <<_ACEOF
8344 #define HAVE_DECL_MMAP_PAGE_ZERO 0
8349 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
8350 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
8351 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
8352 echo $ECHO_N "(cached) $ECHO_C" >&6
8354 cat >conftest.$ac_ext <<_ACEOF
8357 cat confdefs.h >>conftest.$ac_ext
8358 cat >>conftest.$ac_ext <<_ACEOF
8359 /* end confdefs.h. */
8361 #include <linux/personality.h>
8367 #ifndef ADDR_LIMIT_32BIT
8368 char *p = (char *) ADDR_LIMIT_32BIT;
8375 rm -f conftest.$ac_objext
8376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8377 (eval $ac_compile) 2>conftest.er1
8379 grep -v '^ *+' conftest.er1 >conftest.err
8381 cat conftest.err >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try='test -z "$ac_c_werror_flag"
8385 || test ! -s conftest.err'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; } &&
8391 { ac_try='test -s conftest.$ac_objext'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then
8397 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.$ac_ext >&5
8402 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
8404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8406 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
8407 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
8408 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
8410 cat >>confdefs.h <<_ACEOF
8411 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
8416 cat >>confdefs.h <<_ACEOF
8417 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
8422 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
8423 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
8424 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6
8427 cat >conftest.$ac_ext <<_ACEOF
8430 cat confdefs.h >>conftest.$ac_ext
8431 cat >>conftest.$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8434 #include <linux/personality.h>
8441 char *p = (char *) SHORT_INODE;
8448 rm -f conftest.$ac_objext
8449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8450 (eval $ac_compile) 2>conftest.er1
8452 grep -v '^ *+' conftest.er1 >conftest.err
8454 cat conftest.err >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } &&
8457 { ac_try='test -z "$ac_c_werror_flag"
8458 || test ! -s conftest.err'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; } &&
8464 { ac_try='test -s conftest.$ac_objext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_cv_have_decl_SHORT_INODE=yes
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.$ac_ext >&5
8475 ac_cv_have_decl_SHORT_INODE=no
8477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8479 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
8480 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
8481 if test $ac_cv_have_decl_SHORT_INODE = yes; then
8483 cat >>confdefs.h <<_ACEOF
8484 #define HAVE_DECL_SHORT_INODE 1
8489 cat >>confdefs.h <<_ACEOF
8490 #define HAVE_DECL_SHORT_INODE 0
8495 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
8496 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
8497 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8507 #include <linux/personality.h>
8513 #ifndef WHOLE_SECONDS
8514 char *p = (char *) WHOLE_SECONDS;
8521 rm -f conftest.$ac_objext
8522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8523 (eval $ac_compile) 2>conftest.er1
8525 grep -v '^ *+' conftest.er1 >conftest.err
8527 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } &&
8530 { ac_try='test -z "$ac_c_werror_flag"
8531 || test ! -s conftest.err'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); }; }; then
8543 ac_cv_have_decl_WHOLE_SECONDS=yes
8545 echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.$ac_ext >&5
8548 ac_cv_have_decl_WHOLE_SECONDS=no
8550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8552 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
8553 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
8554 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
8556 cat >>confdefs.h <<_ACEOF
8557 #define HAVE_DECL_WHOLE_SECONDS 1
8562 cat >>confdefs.h <<_ACEOF
8563 #define HAVE_DECL_WHOLE_SECONDS 0
8568 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
8569 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
8570 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
8571 echo $ECHO_N "(cached) $ECHO_C" >&6
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8580 #include <linux/personality.h>
8586 #ifndef STICKY_TIMEOUTS
8587 char *p = (char *) STICKY_TIMEOUTS;
8594 rm -f conftest.$ac_objext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8596 (eval $ac_compile) 2>conftest.er1
8598 grep -v '^ *+' conftest.er1 >conftest.err
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_c_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try='test -s conftest.$ac_objext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 ac_cv_have_decl_STICKY_TIMEOUTS=yes
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8621 ac_cv_have_decl_STICKY_TIMEOUTS=no
8623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8625 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
8626 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
8627 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
8629 cat >>confdefs.h <<_ACEOF
8630 #define HAVE_DECL_STICKY_TIMEOUTS 1
8635 cat >>confdefs.h <<_ACEOF
8636 #define HAVE_DECL_STICKY_TIMEOUTS 0
8641 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
8642 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
8643 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 cat >conftest.$ac_ext <<_ACEOF
8649 cat confdefs.h >>conftest.$ac_ext
8650 cat >>conftest.$ac_ext <<_ACEOF
8651 /* end confdefs.h. */
8653 #include <linux/personality.h>
8659 #ifndef ADDR_LIMIT_3GB
8660 char *p = (char *) ADDR_LIMIT_3GB;
8667 rm -f conftest.$ac_objext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8669 (eval $ac_compile) 2>conftest.er1
8671 grep -v '^ *+' conftest.er1 >conftest.err
8673 cat conftest.err >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } &&
8676 { ac_try='test -z "$ac_c_werror_flag"
8677 || test ! -s conftest.err'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; } &&
8683 { ac_try='test -s conftest.$ac_objext'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then
8689 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8694 ac_cv_have_decl_ADDR_LIMIT_3GB=no
8696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8698 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
8699 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
8700 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
8702 cat >>confdefs.h <<_ACEOF
8703 #define HAVE_DECL_ADDR_LIMIT_3GB 1
8708 cat >>confdefs.h <<_ACEOF
8709 #define HAVE_DECL_ADDR_LIMIT_3GB 0
8717 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
8718 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
8719 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 cat >conftest.$ac_ext <<_ACEOF
8725 cat confdefs.h >>conftest.$ac_ext
8726 cat >>conftest.$ac_ext <<_ACEOF
8727 /* end confdefs.h. */
8729 #include <linux/personality.h>
8736 char *p = (char *) PER_LINUX;
8743 rm -f conftest.$ac_objext
8744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8745 (eval $ac_compile) 2>conftest.er1
8747 grep -v '^ *+' conftest.er1 >conftest.err
8749 cat conftest.err >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); } &&
8752 { ac_try='test -z "$ac_c_werror_flag"
8753 || test ! -s conftest.err'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); }; } &&
8759 { ac_try='test -s conftest.$ac_objext'
8760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); }; }; then
8765 ac_cv_have_decl_PER_LINUX=yes
8767 echo "$as_me: failed program was:" >&5
8768 sed 's/^/| /' conftest.$ac_ext >&5
8770 ac_cv_have_decl_PER_LINUX=no
8772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8774 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
8775 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
8776 if test $ac_cv_have_decl_PER_LINUX = yes; then
8778 cat >>confdefs.h <<_ACEOF
8779 #define HAVE_DECL_PER_LINUX 1
8784 cat >>confdefs.h <<_ACEOF
8785 #define HAVE_DECL_PER_LINUX 0
8790 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
8791 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
8792 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 cat >conftest.$ac_ext <<_ACEOF
8798 cat confdefs.h >>conftest.$ac_ext
8799 cat >>conftest.$ac_ext <<_ACEOF
8800 /* end confdefs.h. */
8802 #include <linux/personality.h>
8808 #ifndef PER_LINUX_32BIT
8809 char *p = (char *) PER_LINUX_32BIT;
8816 rm -f conftest.$ac_objext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8818 (eval $ac_compile) 2>conftest.er1
8820 grep -v '^ *+' conftest.er1 >conftest.err
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try='test -z "$ac_c_werror_flag"
8826 || test ! -s conftest.err'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; } &&
8832 { ac_try='test -s conftest.$ac_objext'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; }; then
8838 ac_cv_have_decl_PER_LINUX_32BIT=yes
8840 echo "$as_me: failed program was:" >&5
8841 sed 's/^/| /' conftest.$ac_ext >&5
8843 ac_cv_have_decl_PER_LINUX_32BIT=no
8845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8847 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
8848 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
8849 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8851 cat >>confdefs.h <<_ACEOF
8852 #define HAVE_DECL_PER_LINUX_32BIT 1
8857 cat >>confdefs.h <<_ACEOF
8858 #define HAVE_DECL_PER_LINUX_32BIT 0
8863 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8864 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8865 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8868 cat >conftest.$ac_ext <<_ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8875 #include <linux/personality.h>
8882 char *p = (char *) PER_SVR4;
8889 rm -f conftest.$ac_objext
8890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8891 (eval $ac_compile) 2>conftest.er1
8893 grep -v '^ *+' conftest.er1 >conftest.err
8895 cat conftest.err >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); } &&
8898 { ac_try='test -z "$ac_c_werror_flag"
8899 || test ! -s conftest.err'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; } &&
8905 { ac_try='test -s conftest.$ac_objext'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_have_decl_PER_SVR4=yes
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 ac_cv_have_decl_PER_SVR4=no
8918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8920 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8921 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8922 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8924 cat >>confdefs.h <<_ACEOF
8925 #define HAVE_DECL_PER_SVR4 1
8930 cat >>confdefs.h <<_ACEOF
8931 #define HAVE_DECL_PER_SVR4 0
8936 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8937 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8938 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 cat >conftest.$ac_ext <<_ACEOF
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8948 #include <linux/personality.h>
8955 char *p = (char *) PER_SVR3;
8962 rm -f conftest.$ac_objext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8964 (eval $ac_compile) 2>conftest.er1
8966 grep -v '^ *+' conftest.er1 >conftest.err
8968 cat conftest.err >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); } &&
8971 { ac_try='test -z "$ac_c_werror_flag"
8972 || test ! -s conftest.err'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; } &&
8978 { ac_try='test -s conftest.$ac_objext'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; }; then
8984 ac_cv_have_decl_PER_SVR3=yes
8986 echo "$as_me: failed program was:" >&5
8987 sed 's/^/| /' conftest.$ac_ext >&5
8989 ac_cv_have_decl_PER_SVR3=no
8991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8993 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8994 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8995 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8997 cat >>confdefs.h <<_ACEOF
8998 #define HAVE_DECL_PER_SVR3 1
9003 cat >>confdefs.h <<_ACEOF
9004 #define HAVE_DECL_PER_SVR3 0
9009 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
9010 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
9011 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 cat >conftest.$ac_ext <<_ACEOF
9017 cat confdefs.h >>conftest.$ac_ext
9018 cat >>conftest.$ac_ext <<_ACEOF
9019 /* end confdefs.h. */
9021 #include <linux/personality.h>
9028 char *p = (char *) PER_SCOSVR3;
9035 rm -f conftest.$ac_objext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9037 (eval $ac_compile) 2>conftest.er1
9039 grep -v '^ *+' conftest.er1 >conftest.err
9041 cat conftest.err >&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try='test -z "$ac_c_werror_flag"
9045 || test ! -s conftest.err'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; } &&
9051 { ac_try='test -s conftest.$ac_objext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 ac_cv_have_decl_PER_SCOSVR3=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.$ac_ext >&5
9062 ac_cv_have_decl_PER_SCOSVR3=no
9064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9066 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
9067 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
9068 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
9070 cat >>confdefs.h <<_ACEOF
9071 #define HAVE_DECL_PER_SCOSVR3 1
9076 cat >>confdefs.h <<_ACEOF
9077 #define HAVE_DECL_PER_SCOSVR3 0
9082 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
9083 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
9084 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 cat >conftest.$ac_ext <<_ACEOF
9090 cat confdefs.h >>conftest.$ac_ext
9091 cat >>conftest.$ac_ext <<_ACEOF
9092 /* end confdefs.h. */
9094 #include <linux/personality.h>
9101 char *p = (char *) PER_OSR5;
9108 rm -f conftest.$ac_objext
9109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9110 (eval $ac_compile) 2>conftest.er1
9112 grep -v '^ *+' conftest.er1 >conftest.err
9114 cat conftest.err >&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } &&
9117 { ac_try='test -z "$ac_c_werror_flag"
9118 || test ! -s conftest.err'
9119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); }; } &&
9124 { ac_try='test -s conftest.$ac_objext'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; }; then
9130 ac_cv_have_decl_PER_OSR5=yes
9132 echo "$as_me: failed program was:" >&5
9133 sed 's/^/| /' conftest.$ac_ext >&5
9135 ac_cv_have_decl_PER_OSR5=no
9137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9139 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
9140 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
9141 if test $ac_cv_have_decl_PER_OSR5 = yes; then
9143 cat >>confdefs.h <<_ACEOF
9144 #define HAVE_DECL_PER_OSR5 1
9149 cat >>confdefs.h <<_ACEOF
9150 #define HAVE_DECL_PER_OSR5 0
9155 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
9156 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
9157 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 cat >conftest.$ac_ext <<_ACEOF
9163 cat confdefs.h >>conftest.$ac_ext
9164 cat >>conftest.$ac_ext <<_ACEOF
9165 /* end confdefs.h. */
9167 #include <linux/personality.h>
9173 #ifndef PER_WYSEV386
9174 char *p = (char *) PER_WYSEV386;
9181 rm -f conftest.$ac_objext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>conftest.er1
9185 grep -v '^ *+' conftest.er1 >conftest.err
9187 cat conftest.err >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } &&
9190 { ac_try='test -z "$ac_c_werror_flag"
9191 || test ! -s conftest.err'
9192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); }; } &&
9197 { ac_try='test -s conftest.$ac_objext'
9198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); }; }; then
9203 ac_cv_have_decl_PER_WYSEV386=yes
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.$ac_ext >&5
9208 ac_cv_have_decl_PER_WYSEV386=no
9210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9212 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
9213 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
9214 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
9216 cat >>confdefs.h <<_ACEOF
9217 #define HAVE_DECL_PER_WYSEV386 1
9222 cat >>confdefs.h <<_ACEOF
9223 #define HAVE_DECL_PER_WYSEV386 0
9228 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
9229 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
9230 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 cat >conftest.$ac_ext <<_ACEOF
9236 cat confdefs.h >>conftest.$ac_ext
9237 cat >>conftest.$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9240 #include <linux/personality.h>
9247 char *p = (char *) PER_ISCR4;
9254 rm -f conftest.$ac_objext
9255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9256 (eval $ac_compile) 2>conftest.er1
9258 grep -v '^ *+' conftest.er1 >conftest.err
9260 cat conftest.err >&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); } &&
9263 { ac_try='test -z "$ac_c_werror_flag"
9264 || test ! -s conftest.err'
9265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); }; } &&
9270 { ac_try='test -s conftest.$ac_objext'
9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); }; }; then
9276 ac_cv_have_decl_PER_ISCR4=yes
9278 echo "$as_me: failed program was:" >&5
9279 sed 's/^/| /' conftest.$ac_ext >&5
9281 ac_cv_have_decl_PER_ISCR4=no
9283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9285 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
9286 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
9287 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
9289 cat >>confdefs.h <<_ACEOF
9290 #define HAVE_DECL_PER_ISCR4 1
9295 cat >>confdefs.h <<_ACEOF
9296 #define HAVE_DECL_PER_ISCR4 0
9301 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
9302 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
9303 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
9304 echo $ECHO_N "(cached) $ECHO_C" >&6
9306 cat >conftest.$ac_ext <<_ACEOF
9309 cat confdefs.h >>conftest.$ac_ext
9310 cat >>conftest.$ac_ext <<_ACEOF
9311 /* end confdefs.h. */
9313 #include <linux/personality.h>
9320 char *p = (char *) PER_BSD;
9327 rm -f conftest.$ac_objext
9328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9329 (eval $ac_compile) 2>conftest.er1
9331 grep -v '^ *+' conftest.er1 >conftest.err
9333 cat conftest.err >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); } &&
9336 { ac_try='test -z "$ac_c_werror_flag"
9337 || test ! -s conftest.err'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; } &&
9343 { ac_try='test -s conftest.$ac_objext'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; }; then
9349 ac_cv_have_decl_PER_BSD=yes
9351 echo "$as_me: failed program was:" >&5
9352 sed 's/^/| /' conftest.$ac_ext >&5
9354 ac_cv_have_decl_PER_BSD=no
9356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9358 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
9359 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
9360 if test $ac_cv_have_decl_PER_BSD = yes; then
9362 cat >>confdefs.h <<_ACEOF
9363 #define HAVE_DECL_PER_BSD 1
9368 cat >>confdefs.h <<_ACEOF
9369 #define HAVE_DECL_PER_BSD 0
9374 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
9375 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
9376 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 cat >conftest.$ac_ext <<_ACEOF
9382 cat confdefs.h >>conftest.$ac_ext
9383 cat >>conftest.$ac_ext <<_ACEOF
9384 /* end confdefs.h. */
9386 #include <linux/personality.h>
9393 char *p = (char *) PER_SUNOS;
9400 rm -f conftest.$ac_objext
9401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9402 (eval $ac_compile) 2>conftest.er1
9404 grep -v '^ *+' conftest.er1 >conftest.err
9406 cat conftest.err >&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } &&
9409 { ac_try='test -z "$ac_c_werror_flag"
9410 || test ! -s conftest.err'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; } &&
9416 { ac_try='test -s conftest.$ac_objext'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 ac_cv_have_decl_PER_SUNOS=yes
9424 echo "$as_me: failed program was:" >&5
9425 sed 's/^/| /' conftest.$ac_ext >&5
9427 ac_cv_have_decl_PER_SUNOS=no
9429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9431 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
9432 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
9433 if test $ac_cv_have_decl_PER_SUNOS = yes; then
9435 cat >>confdefs.h <<_ACEOF
9436 #define HAVE_DECL_PER_SUNOS 1
9441 cat >>confdefs.h <<_ACEOF
9442 #define HAVE_DECL_PER_SUNOS 0
9447 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
9448 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
9449 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
9450 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 cat >conftest.$ac_ext <<_ACEOF
9455 cat confdefs.h >>conftest.$ac_ext
9456 cat >>conftest.$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9459 #include <linux/personality.h>
9466 char *p = (char *) PER_XENIX;
9473 rm -f conftest.$ac_objext
9474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9475 (eval $ac_compile) 2>conftest.er1
9477 grep -v '^ *+' conftest.er1 >conftest.err
9479 cat conftest.err >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); } &&
9482 { ac_try='test -z "$ac_c_werror_flag"
9483 || test ! -s conftest.err'
9484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); }; } &&
9489 { ac_try='test -s conftest.$ac_objext'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; }; then
9495 ac_cv_have_decl_PER_XENIX=yes
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9500 ac_cv_have_decl_PER_XENIX=no
9502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9504 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
9505 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
9506 if test $ac_cv_have_decl_PER_XENIX = yes; then
9508 cat >>confdefs.h <<_ACEOF
9509 #define HAVE_DECL_PER_XENIX 1
9514 cat >>confdefs.h <<_ACEOF
9515 #define HAVE_DECL_PER_XENIX 0
9520 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
9521 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
9522 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
9523 echo $ECHO_N "(cached) $ECHO_C" >&6
9525 cat >conftest.$ac_ext <<_ACEOF
9528 cat confdefs.h >>conftest.$ac_ext
9529 cat >>conftest.$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9532 #include <linux/personality.h>
9539 char *p = (char *) PER_LINUX32;
9546 rm -f conftest.$ac_objext
9547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9548 (eval $ac_compile) 2>conftest.er1
9550 grep -v '^ *+' conftest.er1 >conftest.err
9552 cat conftest.err >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); } &&
9555 { ac_try='test -z "$ac_c_werror_flag"
9556 || test ! -s conftest.err'
9557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); }; } &&
9562 { ac_try='test -s conftest.$ac_objext'
9563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); }; }; then
9568 ac_cv_have_decl_PER_LINUX32=yes
9570 echo "$as_me: failed program was:" >&5
9571 sed 's/^/| /' conftest.$ac_ext >&5
9573 ac_cv_have_decl_PER_LINUX32=no
9575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9577 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
9578 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
9579 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
9581 cat >>confdefs.h <<_ACEOF
9582 #define HAVE_DECL_PER_LINUX32 1
9587 cat >>confdefs.h <<_ACEOF
9588 #define HAVE_DECL_PER_LINUX32 0
9593 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
9594 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
9595 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
9596 echo $ECHO_N "(cached) $ECHO_C" >&6
9598 cat >conftest.$ac_ext <<_ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9605 #include <linux/personality.h>
9611 #ifndef PER_LINUX32_3GB
9612 char *p = (char *) PER_LINUX32_3GB;
9619 rm -f conftest.$ac_objext
9620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9621 (eval $ac_compile) 2>conftest.er1
9623 grep -v '^ *+' conftest.er1 >conftest.err
9625 cat conftest.err >&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); } &&
9628 { ac_try='test -z "$ac_c_werror_flag"
9629 || test ! -s conftest.err'
9630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); }; } &&
9635 { ac_try='test -s conftest.$ac_objext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 ac_cv_have_decl_PER_LINUX32_3GB=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9646 ac_cv_have_decl_PER_LINUX32_3GB=no
9648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9650 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
9651 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
9652 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
9654 cat >>confdefs.h <<_ACEOF
9655 #define HAVE_DECL_PER_LINUX32_3GB 1
9660 cat >>confdefs.h <<_ACEOF
9661 #define HAVE_DECL_PER_LINUX32_3GB 0
9666 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
9667 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
9668 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 cat >conftest.$ac_ext <<_ACEOF
9674 cat confdefs.h >>conftest.$ac_ext
9675 cat >>conftest.$ac_ext <<_ACEOF
9676 /* end confdefs.h. */
9678 #include <linux/personality.h>
9685 char *p = (char *) PER_IRIX32;
9692 rm -f conftest.$ac_objext
9693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9694 (eval $ac_compile) 2>conftest.er1
9696 grep -v '^ *+' conftest.er1 >conftest.err
9698 cat conftest.err >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } &&
9701 { ac_try='test -z "$ac_c_werror_flag"
9702 || test ! -s conftest.err'
9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); }; } &&
9708 { ac_try='test -s conftest.$ac_objext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 ac_cv_have_decl_PER_IRIX32=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_have_decl_PER_IRIX32=no
9721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9723 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
9724 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
9725 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
9727 cat >>confdefs.h <<_ACEOF
9728 #define HAVE_DECL_PER_IRIX32 1
9733 cat >>confdefs.h <<_ACEOF
9734 #define HAVE_DECL_PER_IRIX32 0
9739 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
9740 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
9741 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 cat >conftest.$ac_ext <<_ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 #include <linux/personality.h>
9758 char *p = (char *) PER_IRIXN32;
9765 rm -f conftest.$ac_objext
9766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9767 (eval $ac_compile) 2>conftest.er1
9769 grep -v '^ *+' conftest.er1 >conftest.err
9771 cat conftest.err >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } &&
9774 { ac_try='test -z "$ac_c_werror_flag"
9775 || test ! -s conftest.err'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; } &&
9781 { ac_try='test -s conftest.$ac_objext'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; }; then
9787 ac_cv_have_decl_PER_IRIXN32=yes
9789 echo "$as_me: failed program was:" >&5
9790 sed 's/^/| /' conftest.$ac_ext >&5
9792 ac_cv_have_decl_PER_IRIXN32=no
9794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9796 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
9797 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
9798 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
9800 cat >>confdefs.h <<_ACEOF
9801 #define HAVE_DECL_PER_IRIXN32 1
9806 cat >>confdefs.h <<_ACEOF
9807 #define HAVE_DECL_PER_IRIXN32 0
9812 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
9813 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
9814 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 cat >conftest.$ac_ext <<_ACEOF
9820 cat confdefs.h >>conftest.$ac_ext
9821 cat >>conftest.$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9824 #include <linux/personality.h>
9831 char *p = (char *) PER_IRIX64;
9838 rm -f conftest.$ac_objext
9839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9840 (eval $ac_compile) 2>conftest.er1
9842 grep -v '^ *+' conftest.er1 >conftest.err
9844 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } &&
9847 { ac_try='test -z "$ac_c_werror_flag"
9848 || test ! -s conftest.err'
9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; } &&
9854 { ac_try='test -s conftest.$ac_objext'
9855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); }; }; then
9860 ac_cv_have_decl_PER_IRIX64=yes
9862 echo "$as_me: failed program was:" >&5
9863 sed 's/^/| /' conftest.$ac_ext >&5
9865 ac_cv_have_decl_PER_IRIX64=no
9867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9869 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9870 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9871 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9873 cat >>confdefs.h <<_ACEOF
9874 #define HAVE_DECL_PER_IRIX64 1
9879 cat >>confdefs.h <<_ACEOF
9880 #define HAVE_DECL_PER_IRIX64 0
9885 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9886 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9887 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9888 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 cat >conftest.$ac_ext <<_ACEOF
9893 cat confdefs.h >>conftest.$ac_ext
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9897 #include <linux/personality.h>
9904 char *p = (char *) PER_RISCOS;
9911 rm -f conftest.$ac_objext
9912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9913 (eval $ac_compile) 2>conftest.er1
9915 grep -v '^ *+' conftest.er1 >conftest.err
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } &&
9920 { ac_try='test -z "$ac_c_werror_flag"
9921 || test ! -s conftest.err'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; } &&
9927 { ac_try='test -s conftest.$ac_objext'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; }; then
9933 ac_cv_have_decl_PER_RISCOS=yes
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.$ac_ext >&5
9938 ac_cv_have_decl_PER_RISCOS=no
9940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9942 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9943 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9944 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9946 cat >>confdefs.h <<_ACEOF
9947 #define HAVE_DECL_PER_RISCOS 1
9952 cat >>confdefs.h <<_ACEOF
9953 #define HAVE_DECL_PER_RISCOS 0
9958 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9959 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9960 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9963 cat >conftest.$ac_ext <<_ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9970 #include <linux/personality.h>
9977 char *p = (char *) PER_SOLARIS;
9984 rm -f conftest.$ac_objext
9985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9986 (eval $ac_compile) 2>conftest.er1
9988 grep -v '^ *+' conftest.er1 >conftest.err
9990 cat conftest.err >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); } &&
9993 { ac_try='test -z "$ac_c_werror_flag"
9994 || test ! -s conftest.err'
9995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; } &&
10000 { ac_try='test -s conftest.$ac_objext'
10001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10002 (eval $ac_try) 2>&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }; }; then
10006 ac_cv_have_decl_PER_SOLARIS=yes
10008 echo "$as_me: failed program was:" >&5
10009 sed 's/^/| /' conftest.$ac_ext >&5
10011 ac_cv_have_decl_PER_SOLARIS=no
10013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10015 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
10016 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
10017 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
10019 cat >>confdefs.h <<_ACEOF
10020 #define HAVE_DECL_PER_SOLARIS 1
10025 cat >>confdefs.h <<_ACEOF
10026 #define HAVE_DECL_PER_SOLARIS 0
10031 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
10032 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
10033 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 cat >conftest.$ac_ext <<_ACEOF
10039 cat confdefs.h >>conftest.$ac_ext
10040 cat >>conftest.$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10043 #include <linux/personality.h>
10050 char *p = (char *) PER_UW7;
10057 rm -f conftest.$ac_objext
10058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10059 (eval $ac_compile) 2>conftest.er1
10061 grep -v '^ *+' conftest.er1 >conftest.err
10063 cat conftest.err >&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); } &&
10066 { ac_try='test -z "$ac_c_werror_flag"
10067 || test ! -s conftest.err'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; } &&
10073 { ac_try='test -s conftest.$ac_objext'
10074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10075 (eval $ac_try) 2>&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); }; }; then
10079 ac_cv_have_decl_PER_UW7=yes
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.$ac_ext >&5
10084 ac_cv_have_decl_PER_UW7=no
10086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10088 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
10089 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
10090 if test $ac_cv_have_decl_PER_UW7 = yes; then
10092 cat >>confdefs.h <<_ACEOF
10093 #define HAVE_DECL_PER_UW7 1
10098 cat >>confdefs.h <<_ACEOF
10099 #define HAVE_DECL_PER_UW7 0
10104 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
10105 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
10106 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 cat >conftest.$ac_ext <<_ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10116 #include <linux/personality.h>
10123 char *p = (char *) PER_HPUX;
10130 rm -f conftest.$ac_objext
10131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10132 (eval $ac_compile) 2>conftest.er1
10134 grep -v '^ *+' conftest.er1 >conftest.err
10136 cat conftest.err >&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); } &&
10139 { ac_try='test -z "$ac_c_werror_flag"
10140 || test ! -s conftest.err'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; } &&
10146 { ac_try='test -s conftest.$ac_objext'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; }; then
10152 ac_cv_have_decl_PER_HPUX=yes
10154 echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.$ac_ext >&5
10157 ac_cv_have_decl_PER_HPUX=no
10159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10161 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
10162 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
10163 if test $ac_cv_have_decl_PER_HPUX = yes; then
10165 cat >>confdefs.h <<_ACEOF
10166 #define HAVE_DECL_PER_HPUX 1
10171 cat >>confdefs.h <<_ACEOF
10172 #define HAVE_DECL_PER_HPUX 0
10177 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
10178 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
10179 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 cat >conftest.$ac_ext <<_ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 cat >>conftest.$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10189 #include <linux/personality.h>
10196 char *p = (char *) PER_OSF4;
10203 rm -f conftest.$ac_objext
10204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10205 (eval $ac_compile) 2>conftest.er1
10207 grep -v '^ *+' conftest.er1 >conftest.err
10209 cat conftest.err >&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } &&
10212 { ac_try='test -z "$ac_c_werror_flag"
10213 || test ! -s conftest.err'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; } &&
10219 { ac_try='test -s conftest.$ac_objext'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; }; then
10225 ac_cv_have_decl_PER_OSF4=yes
10227 echo "$as_me: failed program was:" >&5
10228 sed 's/^/| /' conftest.$ac_ext >&5
10230 ac_cv_have_decl_PER_OSF4=no
10232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10234 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
10235 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
10236 if test $ac_cv_have_decl_PER_OSF4 = yes; then
10238 cat >>confdefs.h <<_ACEOF
10239 #define HAVE_DECL_PER_OSF4 1
10244 cat >>confdefs.h <<_ACEOF
10245 #define HAVE_DECL_PER_OSF4 0
10253 ac_cpp='$CPP $CPPFLAGS'
10254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10263 echo "$as_me:$LINENO: checking for initrddir" >&5
10264 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
10266 # Check whether --with-initrddir or --without-initrddir was given.
10267 if test "${with_initrddir+set}" = set; then
10268 withval="$with_initrddir"
10270 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
10271 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
10272 { (exit 1); exit 1; }; };;
10273 *) ensc_initrddir=$withval;;
10276 ensc_initrddir='$(sysconfdir)/init.d'
10279 if test "initrddir"; then
10280 initrddir=$ensc_initrddir
10284 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
10285 echo "${ECHO_T}$ensc_initrddir" >&6
10288 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
10289 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
10290 # Check whether --enable-release or --disable-release was given.
10291 if test "${enable_release+set}" = set; then
10292 enableval="$enable_release"
10293 case "$enableval" in
10294 yes) ensc_release_mode=yes;;
10295 no) ensc_release_mode=no;;
10296 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
10297 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
10298 { (exit 1); exit 1; }; };;
10301 ensc_release_mode=no
10304 if test x"$ensc_release_mode" = xno; then
10307 RELEASE_CPPFLAGS='-DNDEBUG'
10311 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
10312 echo "${ECHO_T}$ensc_release_mode" >&6
10315 # HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative
10316 # syscalls will never be enabled for glibc.
10318 ac_cpp='$CPP $CPPFLAGS'
10319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10322 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10323 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10324 # On Suns, sometimes $CPP names a directory.
10325 if test -n "$CPP" && test -d "$CPP"; then
10328 if test -z "$CPP"; then
10329 if test "${ac_cv_prog_CPP+set}" = set; then
10330 echo $ECHO_N "(cached) $ECHO_C" >&6
10332 # Double quotes because CPP needs to be expanded
10333 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10335 ac_preproc_ok=false
10336 for ac_c_preproc_warn_flag in '' yes
10338 # Use a header file that comes with gcc, so configuring glibc
10339 # with a fresh cross-compiler works.
10340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10341 # <limits.h> exists even on freestanding compilers.
10342 # On the NeXT, cc -E runs the code through the compiler's parser,
10343 # not just through cpp. "Syntax error" is here to catch this case.
10344 cat >conftest.$ac_ext <<_ACEOF
10347 cat confdefs.h >>conftest.$ac_ext
10348 cat >>conftest.$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10351 # include <limits.h>
10353 # include <assert.h>
10357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10360 grep -v '^ *+' conftest.er1 >conftest.err
10362 cat conftest.err >&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } >/dev/null; then
10365 if test -s conftest.err; then
10366 ac_cpp_err=$ac_c_preproc_warn_flag
10367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10374 if test -z "$ac_cpp_err"; then
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.$ac_ext >&5
10380 # Broken: fails on valid input.
10383 rm -f conftest.err conftest.$ac_ext
10385 # OK, works on sane cases. Now check whether non-existent headers
10386 # can be detected and how.
10387 cat >conftest.$ac_ext <<_ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10393 #include <ac_nonexistent.h>
10395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10398 grep -v '^ *+' conftest.er1 >conftest.err
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } >/dev/null; then
10403 if test -s conftest.err; then
10404 ac_cpp_err=$ac_c_preproc_warn_flag
10405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10412 if test -z "$ac_cpp_err"; then
10413 # Broken: success on invalid input.
10416 echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.$ac_ext >&5
10419 # Passes both tests.
10423 rm -f conftest.err conftest.$ac_ext
10426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10427 rm -f conftest.err conftest.$ac_ext
10428 if $ac_preproc_ok; then
10433 ac_cv_prog_CPP=$CPP
10436 CPP=$ac_cv_prog_CPP
10438 ac_cv_prog_CPP=$CPP
10440 echo "$as_me:$LINENO: result: $CPP" >&5
10441 echo "${ECHO_T}$CPP" >&6
10442 ac_preproc_ok=false
10443 for ac_c_preproc_warn_flag in '' yes
10445 # Use a header file that comes with gcc, so configuring glibc
10446 # with a fresh cross-compiler works.
10447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10448 # <limits.h> exists even on freestanding compilers.
10449 # On the NeXT, cc -E runs the code through the compiler's parser,
10450 # not just through cpp. "Syntax error" is here to catch this case.
10451 cat >conftest.$ac_ext <<_ACEOF
10454 cat confdefs.h >>conftest.$ac_ext
10455 cat >>conftest.$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10458 # include <limits.h>
10460 # include <assert.h>
10464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10467 grep -v '^ *+' conftest.er1 >conftest.err
10469 cat conftest.err >&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); } >/dev/null; then
10472 if test -s conftest.err; then
10473 ac_cpp_err=$ac_c_preproc_warn_flag
10474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10481 if test -z "$ac_cpp_err"; then
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10487 # Broken: fails on valid input.
10490 rm -f conftest.err conftest.$ac_ext
10492 # OK, works on sane cases. Now check whether non-existent headers
10493 # can be detected and how.
10494 cat >conftest.$ac_ext <<_ACEOF
10497 cat confdefs.h >>conftest.$ac_ext
10498 cat >>conftest.$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10500 #include <ac_nonexistent.h>
10502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10505 grep -v '^ *+' conftest.er1 >conftest.err
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } >/dev/null; then
10510 if test -s conftest.err; then
10511 ac_cpp_err=$ac_c_preproc_warn_flag
10512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10519 if test -z "$ac_cpp_err"; then
10520 # Broken: success on invalid input.
10523 echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.$ac_ext >&5
10526 # Passes both tests.
10530 rm -f conftest.err conftest.$ac_ext
10533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10534 rm -f conftest.err conftest.$ac_ext
10535 if $ac_preproc_ok; then
10538 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10539 See \`config.log' for more details." >&5
10540 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10541 See \`config.log' for more details." >&2;}
10542 { (exit 1); exit 1; }; }
10546 ac_cpp='$CPP $CPPFLAGS'
10547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10551 echo "$as_me:$LINENO: checking for egrep" >&5
10552 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10553 if test "${ac_cv_prog_egrep+set}" = set; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10557 then ac_cv_prog_egrep='grep -E'
10558 else ac_cv_prog_egrep='egrep'
10561 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10562 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10563 EGREP=$ac_cv_prog_egrep
10570 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
10571 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
10572 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
10573 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 ac_cpp='$CPP $CPPFLAGS'
10578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10582 cat >conftest.$ac_ext <<_ACEOF
10584 #ifdef ENSC_SYSCALL_FALLBACK
10585 # include ENSC_SYSCALL_FALLBACK
10587 # include <asm/unistd.h>
10589 #ifdef __NR_vserver
10590 ensc_syscall_tmp_nr=__NR_vserver;
10591 ensc_syscall_tmp_src=ENSC_MARK
10595 ensc_syscall_tmp_nr=
10596 ensc_syscall_tmp_src=
10597 test x"$ensc_syscall_tmp_nr" != x || \
10598 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
10599 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
10600 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=.*)$')
10601 test "$ensc_syscall_tmp_nr" || {
10602 ensc_syscall_tmp_nr=273
10603 ensc_syscall_tmp_src=default
10606 if test x"$ensc_syscall_tmp_nr" = x; then
10607 { { 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
10608 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;}
10609 { (exit 1); exit 1; }; }
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10618 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
10621 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
10622 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
10624 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
10625 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
10627 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
10629 cat >>confdefs.h <<_ACEOF
10630 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
10636 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
10637 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
10638 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
10639 if test "${enable_alternative_syscalls+set}" = set; then
10640 enableval="$enable_alternative_syscalls"
10642 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
10643 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
10644 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
10645 { (exit 1); exit 1; }; };;
10648 ensc_use_alternative_syscall_macros=yes
10651 case $ensc_use_alternative_syscall_macros in
10653 cat >>confdefs.h <<\_ACEOF
10654 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
10659 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
10660 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
10665 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
10666 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
10668 # Check whether --with-syscall or --without-syscall was given.
10669 if test "${with_syscall+set}" = set; then
10670 withval="$with_syscall"
10675 echo "$as_me:$LINENO: result: $with_syscall" >&5
10676 echo "${ECHO_T}$with_syscall" >&6
10678 case x"$with_syscall" in
10680 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
10681 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
10682 if test "${ensc_cv_test_syscall+set}" = set; then
10683 echo $ECHO_N "(cached) $ECHO_C" >&6
10687 ac_cpp='$CPP $CPPFLAGS'
10688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10692 cat >conftest.$ac_ext <<_ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10699 #include "$srcdir/lib/syscall-wrap.h"
10702 #define __NR_foo0 300
10703 #define __NR_foo1 301
10704 #define __NR_foo2 302
10705 #define __NR_foo3 303
10706 #define __NR_foo4 304
10707 #define __NR_foo5 305
10708 inline static _syscall0(int, foo0)
10709 inline static _syscall1(int, foo1, int, a)
10710 inline static _syscall2(int, foo2, int, a, int, b)
10711 inline static _syscall3(int, foo3, int, a, int, b, int, c)
10712 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
10713 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
10725 rm -f conftest.$ac_objext
10726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10727 (eval $ac_compile) 2>conftest.er1
10729 grep -v '^ *+' conftest.er1 >conftest.err
10731 cat conftest.err >&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } &&
10734 { ac_try='test -z "$ac_c_werror_flag"
10735 || test ! -s conftest.err'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; } &&
10741 { ac_try='test -s conftest.$ac_objext'
10742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743 (eval $ac_try) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }; }; then
10747 ensc_cv_test_syscall=fast
10749 echo "$as_me: failed program was:" >&5
10750 sed 's/^/| /' conftest.$ac_ext >&5
10752 ensc_cv_test_syscall=traditional
10754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10757 ac_cpp='$CPP $CPPFLAGS'
10758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10764 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
10765 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
10766 with_syscall=$ensc_cv_test_syscall
10768 (xfast|xtraditional)
10771 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
10772 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
10773 { (exit 1); exit 1; }; }
10777 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
10778 with_syscall='alternative'
10781 if test x"$with_syscall" = xtraditional; then
10783 cat >>confdefs.h <<\_ACEOF
10784 #define ENSC_SYSCALL_TRADITIONAL 1
10795 (i*86|athlon) min_diet_ver=0.25;;
10796 (ia64|hppa*) min_diet_ver=0.29;;
10797 (sparc*) min_diet_ver=0.30;;
10798 (x86_64) min_diet_ver=0.27;;
10799 (*) min_diet_ver=0.28;;
10803 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
10804 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
10812 # Check whether --enable-dietlibc or --disable-dietlibc was given.
10813 if test "${enable_dietlibc+set}" = set; then
10814 enableval="$enable_dietlibc"
10815 case "$enableval" in
10816 (yes) use_dietlibc=forced;;
10817 (no) use_dietlibc=forced_no;;
10818 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
10819 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
10820 { (exit 1); exit 1; }; };;
10823 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
10826 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
10827 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
10828 _dietlibc_ver=${_dietlibc_ver##*diet version }
10829 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
10830 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
10831 _dietlibc_ver_min=${_dietlibc_ver##*.}
10832 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
10833 _dietlibc_cmp="$min_diet_ver"
10834 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
10835 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
10837 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
10839 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
10840 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
10842 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
10844 ENSC_VERSION_DIETLIBC=
10848 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
10849 ensc_have_dietlibc=no
10851 case x"$use_dietlibc" in
10857 USE_DIETLIBC_FALSE='#'
10859 USE_DIETLIBC_TRUE='#'
10860 USE_DIETLIBC_FALSE=
10863 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
10864 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
10865 ensc_have_dietlibc=yes
10872 USE_DIETLIBC_FALSE='#'
10874 USE_DIETLIBC_TRUE='#'
10875 USE_DIETLIBC_FALSE=
10878 echo "$as_me:$LINENO: result: yes (forced)" >&5
10879 echo "${ECHO_T}yes (forced)" >&6
10880 ensc_have_dietlibc=yes
10887 USE_DIETLIBC_FALSE='#'
10889 USE_DIETLIBC_TRUE='#'
10890 USE_DIETLIBC_FALSE=
10893 echo "$as_me:$LINENO: result: no (detected)" >&5
10894 echo "${ECHO_T}no (detected)" >&6
10901 USE_DIETLIBC_FALSE='#'
10903 USE_DIETLIBC_TRUE='#'
10904 USE_DIETLIBC_FALSE=
10907 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
10908 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
10915 USE_DIETLIBC_FALSE='#'
10917 USE_DIETLIBC_TRUE='#'
10918 USE_DIETLIBC_FALSE=
10921 echo "$as_me:$LINENO: result: no (forced)" >&5
10922 echo "${ECHO_T}no (forced)" >&6
10925 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
10926 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
10927 { (exit 1); exit 1; }; }
10931 if test x"$ensc_have_dietlibc" != xno; then
10936 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
10937 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
10938 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
10943 _ensc_dietlibc_c99_old_CC=$CC
10946 CC="${DIET:-diet} $CC"
10949 ac_cpp='$CPP $CPPFLAGS'
10950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10954 cat >conftest.$ac_ext <<_ACEOF
10957 rm -f conftest.$ac_objext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10959 (eval $ac_compile) 2>conftest.er1
10961 grep -v '^ *+' conftest.er1 >conftest.err
10963 cat conftest.err >&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } &&
10966 { ac_try='test -z "$ac_c_werror_flag"
10967 || test ! -s conftest.err'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; } &&
10973 { ac_try='test -s conftest.$ac_objext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10980 cat >conftest.$ac_ext <<_ACEOF
10982 #include <stdint.h>
10983 #include <sys/cdefs.h>
10984 #if defined(inline)
10985 # error 'inline' badly defined
10987 volatile uint64_t a;
10990 rm -f conftest.$ac_objext
10991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10992 (eval $ac_compile) 2>conftest.er1
10994 grep -v '^ *+' conftest.er1 >conftest.err
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try='test -z "$ac_c_werror_flag"
11000 || test ! -s conftest.err'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; } &&
11006 { ac_try='test -s conftest.$ac_objext'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; }; then
11012 ensc_cv_c_dietlibc_c99=yes
11014 echo "$as_me: failed program was:" >&5
11015 sed 's/^/| /' conftest.$ac_ext >&5
11017 ensc_cv_c_dietlibc_c99=no
11019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.$ac_ext >&5
11024 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
11026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11028 ac_cpp='$CPP $CPPFLAGS'
11029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11034 CC=$_ensc_dietlibc_c99_old_CC
11035 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
11038 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
11039 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
11041 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
11042 cat >>confdefs.h <<\_ACEOF
11043 #define ENSC_DIETLIBC_C99 1
11052 echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5
11053 echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6
11054 if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 _ensc_dietlibc_syscall_old_CC="$CC"
11059 CC="${DIET:-diet} $CC"
11062 ac_cpp='$CPP $CPPFLAGS'
11063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11067 cat >conftest.$ac_ext <<_ACEOF
11069 #include <sys/syscall.h>
11070 long int syscall(long int __sysno, ...);
11073 rm -f conftest.$ac_objext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11075 (eval $ac_compile) 2>conftest.er1
11077 grep -v '^ *+' conftest.er1 >conftest.err
11079 cat conftest.err >&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try='test -z "$ac_c_werror_flag"
11083 || test ! -s conftest.err'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; } &&
11089 { ac_try='test -s conftest.$ac_objext'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then
11095 ensc_cv_c_dietlibc_syscall=no
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11100 ensc_cv_c_dietlibc_syscall=yes
11102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11104 ac_cpp='$CPP $CPPFLAGS'
11105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11110 CC="$_ensc_dietlibc_syscall_old_CC"
11113 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5
11114 echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6
11116 if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then
11117 cat >>confdefs.h <<\_ACEOF
11118 #define ENSC_DIETLIBC_HAS_SYSCALL 1
11126 if test x"$ensc_have_dietlibc" = xno; then
11127 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11128 echo "$as_me: WARNING: *** ***" >&2;}
11129 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
11130 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
11131 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
11132 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
11133 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
11134 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
11135 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
11136 echo "$as_me: WARNING: *** there. ***" >&2;}
11137 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
11138 echo "$as_me: WARNING: *** ***" >&2;}
11142 USE_DIETLIBC_COMPAT_TRUE=
11143 USE_DIETLIBC_COMPAT_FALSE='#'
11145 USE_DIETLIBC_COMPAT_TRUE='#'
11146 USE_DIETLIBC_COMPAT_FALSE=
11150 # HACK: libtool does not have cmdline options to build only
11151 # dynamic libraries; this can be done with the
11152 # '--disable-static' ./configure option only. As our static
11153 # libraries will be build with dietlibc, we have to do set
11154 # this option which is evaluated by 'AC_PROG_LIBTOOL'
11155 # below. Therefore, this macro must not be called earlier.
11161 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
11162 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
11163 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 ac_cpp='$CPP $CPPFLAGS'
11169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11173 ensc_dietlibc_need_compat_old_CC=$CC
11174 CC="${DIET:-diet} $CC"
11175 cat >conftest.$ac_ext <<_ACEOF
11179 cat confdefs.h >>conftest.$ac_ext
11180 cat >>conftest.$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11183 #include "$srcdir/lib/syscall-wrap.h"
11186 #define __NR_foo0 42
11187 #define __NR_foo1 42
11188 #define __NR_foo2 42
11189 #define __NR_foo3 42
11190 #define __NR_foo4 42
11191 #define __NR_foo5 42
11192 inline static _syscall0(int, foo0)
11193 inline static _syscall1(int, foo1, int, a)
11194 inline static _syscall2(int, foo2, int, a, int, b)
11195 inline static _syscall3(int, foo3, int, a, int, b, int, c)
11196 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
11197 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
11202 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
11207 rm -f conftest.$ac_objext conftest$ac_exeext
11208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11209 (eval $ac_link) 2>conftest.er1
11211 grep -v '^ *+' conftest.er1 >conftest.err
11213 cat conftest.err >&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } &&
11216 { ac_try='test -z "$ac_c_werror_flag"
11217 || test ! -s conftest.err'
11218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11219 (eval $ac_try) 2>&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); }; } &&
11223 { ac_try='test -s conftest$ac_exeext'
11224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225 (eval $ac_try) 2>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; }; then
11229 ensc_cv_c_dietlibc_compat=no
11231 echo "$as_me: failed program was:" >&5
11232 sed 's/^/| /' conftest.$ac_ext >&5
11234 ensc_cv_c_dietlibc_compat=yes
11236 rm -f conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 CC=$ensc_dietlibc_need_compat_old_CC
11240 ac_cpp='$CPP $CPPFLAGS'
11241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11247 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
11248 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
11250 if test x"USE_DIETLIBC_COMPAT" != x; then
11253 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
11254 USE_DIETLIBC_COMPAT_TRUE=
11255 USE_DIETLIBC_COMPAT_FALSE='#'
11257 USE_DIETLIBC_COMPAT_TRUE='#'
11258 USE_DIETLIBC_COMPAT_FALSE=
11267 if test x"$ensc_have_dietlibc" = xyes; then
11268 ENSC_USE_DIETLIBC_TRUE=
11269 ENSC_USE_DIETLIBC_FALSE='#'
11271 ENSC_USE_DIETLIBC_TRUE='#'
11272 ENSC_USE_DIETLIBC_FALSE=
11278 ENSC_USE_GLIBC_TRUE=
11279 ENSC_USE_GLIBC_FALSE='#'
11281 ENSC_USE_GLIBC_TRUE='#'
11282 ENSC_USE_GLIBC_FALSE=
11286 # HACK: see comments at 'enable_static' above
11287 # Check whether --enable-shared or --disable-shared was given.
11288 if test "${enable_shared+set}" = set; then
11289 enableval="$enable_shared"
11290 p=${PACKAGE-default}
11292 yes) enable_shared=yes ;;
11293 no) enable_shared=no ;;
11296 # Look at the argument we got. We use all the common list separators.
11297 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11298 for pkg in $enableval; do
11300 if test "X$pkg" = "X$p"; then
11311 # Check whether --enable-static or --disable-static was given.
11312 if test "${enable_static+set}" = set; then
11313 enableval="$enable_static"
11314 p=${PACKAGE-default}
11316 yes) enable_static=yes ;;
11317 no) enable_static=no ;;
11320 # Look at the argument we got. We use all the common list separators.
11321 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11322 for pkg in $enableval; do
11324 if test "X$pkg" = "X$p"; then
11335 # Check whether --enable-fast-install or --disable-fast-install was given.
11336 if test "${enable_fast_install+set}" = set; then
11337 enableval="$enable_fast_install"
11338 p=${PACKAGE-default}
11340 yes) enable_fast_install=yes ;;
11341 no) enable_fast_install=no ;;
11343 enable_fast_install=no
11344 # Look at the argument we got. We use all the common list separators.
11345 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11346 for pkg in $enableval; do
11348 if test "X$pkg" = "X$p"; then
11349 enable_fast_install=yes
11356 enable_fast_install=yes
11359 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11360 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
11361 if test "${lt_cv_path_SED+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 # Loop through the user's path and test for sed and gsed.
11365 # Then use that list of sed's as ones to test for truncation.
11366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11367 for as_dir in $PATH
11370 test -z "$as_dir" && as_dir=.
11371 for lt_ac_prog in sed gsed; do
11372 for ac_exec_ext in '' $ac_executable_extensions; do
11373 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
11374 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
11382 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
11383 # along with /bin/sed that truncates output.
11384 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
11385 test ! -f $lt_ac_sed && continue
11386 cat /dev/null > conftest.in
11388 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
11389 # Check for GNU sed and select it if it is found.
11390 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
11391 lt_cv_path_SED=$lt_ac_sed
11395 cat conftest.in conftest.in >conftest.tmp
11396 mv conftest.tmp conftest.in
11397 cp conftest.in conftest.nl
11399 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
11400 cmp -s conftest.out conftest.nl || break
11401 # 10000 chars as input seems more than enough
11402 test $lt_ac_count -gt 10 && break
11403 lt_ac_count=`expr $lt_ac_count + 1`
11404 if test $lt_ac_count -gt $lt_ac_max; then
11405 lt_ac_max=$lt_ac_count
11406 lt_cv_path_SED=$lt_ac_sed
11413 SED=$lt_cv_path_SED
11415 echo "$as_me:$LINENO: result: $SED" >&5
11416 echo "${ECHO_T}$SED" >&6
11419 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11420 if test "${with_gnu_ld+set}" = set; then
11421 withval="$with_gnu_ld"
11422 test "$withval" = no || with_gnu_ld=yes
11427 if test "$GCC" = yes; then
11428 # Check if gcc -print-prog-name=ld gives a path.
11429 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11430 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11433 # gcc leaves a trailing carriage return which upsets mingw
11434 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11436 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11439 # Accept absolute paths.
11441 re_direlt='/[^/][^/]*/\.\./'
11442 # Canonicalize the pathname of ld
11443 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11444 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11445 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11447 test -z "$LD" && LD="$ac_prog"
11450 # If it fails, then pretend we aren't using GCC.
11454 # If it is relative, then search for the first ld in PATH.
11455 with_gnu_ld=unknown
11458 elif test "$with_gnu_ld" = yes; then
11459 echo "$as_me:$LINENO: checking for GNU ld" >&5
11460 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11462 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11463 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11465 if test "${lt_cv_path_LD+set}" = set; then
11466 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 if test -z "$LD"; then
11469 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11470 for ac_dir in $PATH; do
11472 test -z "$ac_dir" && ac_dir=.
11473 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11474 lt_cv_path_LD="$ac_dir/$ac_prog"
11475 # Check to see if the program is GNU ld. I'd rather use --version,
11476 # but apparently some variants of GNU ld only accept -v.
11477 # Break only if it was the GNU/non-GNU ld that we prefer.
11478 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11479 *GNU* | *'with BFD'*)
11480 test "$with_gnu_ld" != no && break
11483 test "$with_gnu_ld" != yes && break
11490 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11494 LD="$lt_cv_path_LD"
11495 if test -n "$LD"; then
11496 echo "$as_me:$LINENO: result: $LD" >&5
11497 echo "${ECHO_T}$LD" >&6
11499 echo "$as_me:$LINENO: result: no" >&5
11500 echo "${ECHO_T}no" >&6
11502 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11503 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11504 { (exit 1); exit 1; }; }
11505 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11506 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11507 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11511 case `$LD -v 2>&1 </dev/null` in
11512 *GNU* | *'with BFD'*)
11513 lt_cv_prog_gnu_ld=yes
11516 lt_cv_prog_gnu_ld=no
11520 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11521 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11522 with_gnu_ld=$lt_cv_prog_gnu_ld
11525 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
11526 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
11527 if test "${lt_cv_ld_reload_flag+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 lt_cv_ld_reload_flag='-r'
11532 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
11533 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
11534 reload_flag=$lt_cv_ld_reload_flag
11535 case $reload_flag in
11537 *) reload_flag=" $reload_flag" ;;
11539 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11542 if test "$GCC" = yes; then
11543 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
11545 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11550 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
11551 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
11552 if test "${lt_cv_path_NM+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 if test -n "$NM"; then
11556 # Let the user override the test.
11557 lt_cv_path_NM="$NM"
11559 lt_nm_to_check="${ac_tool_prefix}nm"
11560 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
11561 lt_nm_to_check="$lt_nm_to_check nm"
11563 for lt_tmp_nm in $lt_nm_to_check; do
11564 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11565 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
11567 test -z "$ac_dir" && ac_dir=.
11568 tmp_nm="$ac_dir/$lt_tmp_nm"
11569 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
11570 # Check to see if the nm accepts a BSD-compat flag.
11571 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
11572 # nm: unknown option "B" ignored
11573 # Tru64's nm complains that /dev/null is an invalid object file
11574 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
11575 */dev/null* | *'Invalid file or object type'*)
11576 lt_cv_path_NM="$tmp_nm -B"
11580 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
11582 lt_cv_path_NM="$tmp_nm -p"
11586 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
11587 continue # so that we can try to find one that supports BSD flags
11596 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
11599 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
11600 echo "${ECHO_T}$lt_cv_path_NM" >&6
11601 NM="$lt_cv_path_NM"
11603 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
11604 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
11605 if test "${lt_cv_deplibs_check_method+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11608 lt_cv_file_magic_cmd='$MAGIC_CMD'
11609 lt_cv_file_magic_test_file=
11610 lt_cv_deplibs_check_method='unknown'
11611 # Need to set the preceding variable on all platforms that support
11612 # interlibrary dependencies.
11613 # 'none' -- dependencies not supported.
11614 # `unknown' -- same as none, but documents that we really don't know.
11615 # 'pass_all' -- all dependencies passed with no checks.
11616 # 'test_compile' -- check by making test program.
11617 # 'file_magic [[regex]]' -- check by looking for files in library path
11618 # which responds to the $file_magic_cmd with a given extended regex.
11619 # If you have `file' or equivalent on your system and you're not sure
11620 # whether `pass_all' will *always* work, you probably want this one.
11624 lt_cv_deplibs_check_method=pass_all
11628 lt_cv_deplibs_check_method=pass_all
11632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
11633 lt_cv_file_magic_cmd='/usr/bin/file -L'
11634 lt_cv_file_magic_test_file=/shlib/libc.so
11638 # func_win32_libid is a shell function defined in ltmain.sh
11639 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11640 lt_cv_file_magic_cmd='func_win32_libid'
11644 # Base MSYS/MinGW do not provide the 'file' command needed by
11645 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
11646 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
11647 lt_cv_file_magic_cmd='$OBJDUMP -f'
11650 darwin* | rhapsody*)
11651 lt_cv_deplibs_check_method=pass_all
11654 freebsd* | kfreebsd*-gnu | dragonfly*)
11655 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
11658 # Not sure whether the presence of OpenBSD here was a mistake.
11659 # Let's accept both of them until this is cleared up.
11660 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
11661 lt_cv_file_magic_cmd=/usr/bin/file
11662 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
11666 lt_cv_deplibs_check_method=pass_all
11671 lt_cv_deplibs_check_method=pass_all
11674 hpux10.20* | hpux11*)
11675 lt_cv_file_magic_cmd=/usr/bin/file
11678 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
11679 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
11682 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]'
11683 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
11686 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
11687 lt_cv_file_magic_test_file=/usr/lib/libc.sl
11693 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
11694 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
11697 irix5* | irix6* | nonstopux*)
11699 *-32|*"-32 ") libmagic=32-bit;;
11700 *-n32|*"-n32 ") libmagic=N32;;
11701 *-64|*"-64 ") libmagic=64-bit;;
11702 *) libmagic=never-match;;
11704 lt_cv_deplibs_check_method=pass_all
11707 # This must be Linux ELF.
11709 lt_cv_deplibs_check_method=pass_all
11713 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
11714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11716 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11721 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
11722 lt_cv_file_magic_cmd=/usr/bin/file
11723 lt_cv_file_magic_test_file=/usr/lib/libnls.so
11727 lt_cv_deplibs_check_method=unknown
11731 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11732 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
11734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11738 osf3* | osf4* | osf5*)
11739 lt_cv_deplibs_check_method=pass_all
11743 lt_cv_deplibs_check_method=pass_all
11747 case $host_vendor in
11749 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]'
11750 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
11753 lt_cv_deplibs_check_method=pass_all
11756 lt_cv_file_magic_cmd='/bin/file'
11757 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
11760 lt_cv_file_magic_cmd='/bin/file'
11761 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
11762 lt_cv_file_magic_test_file=/lib/libc.so
11765 lt_cv_deplibs_check_method=pass_all
11768 lt_cv_deplibs_check_method=pass_all
11773 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11774 lt_cv_deplibs_check_method=pass_all
11779 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
11780 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
11781 file_magic_cmd=$lt_cv_file_magic_cmd
11782 deplibs_check_method=$lt_cv_deplibs_check_method
11783 test -z "$deplibs_check_method" && deplibs_check_method=unknown
11788 # If no C compiler was specified, use CC.
11791 # If no C compiler flags were specified, use CFLAGS.
11792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11794 # Allow CC to be a program name with arguments.
11797 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11798 if test "${enable_libtool_lock+set}" = set; then
11799 enableval="$enable_libtool_lock"
11802 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11804 # Some flags need to be propagated to the compiler or linker for good
11808 # Find out which ABI we are using.
11809 echo 'int i;' > conftest.$ac_ext
11810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11811 (eval $ac_compile) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; then
11815 case `/usr/bin/file conftest.$ac_objext` in
11817 HPUX_IA64_MODE="32"
11820 HPUX_IA64_MODE="64"
11827 # Find out which ABI we are using.
11828 echo '#line 11828 "configure"' > conftest.$ac_ext
11829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11830 (eval $ac_compile) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; then
11834 if test "$lt_cv_prog_gnu_ld" = yes; then
11835 case `/usr/bin/file conftest.$ac_objext` in
11837 LD="${LD-ld} -melf32bsmip"
11840 LD="${LD-ld} -melf32bmipn32"
11843 LD="${LD-ld} -melf64bmip"
11847 case `/usr/bin/file conftest.$ac_objext` in
11863 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
11864 # Find out which ABI we are using.
11865 echo 'int i;' > conftest.$ac_ext
11866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11867 (eval $ac_compile) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; then
11871 case `/usr/bin/file conftest.o` in
11875 LD="${LD-ld} -m elf_i386"
11877 ppc64-*linux*|powerpc64-*linux*)
11878 LD="${LD-ld} -m elf32ppclinux"
11881 LD="${LD-ld} -m elf_s390"
11884 LD="${LD-ld} -m elf32_sparc"
11891 LD="${LD-ld} -m elf_x86_64"
11893 ppc*-*linux*|powerpc*-*linux*)
11894 LD="${LD-ld} -m elf64ppc"
11897 LD="${LD-ld} -m elf64_s390"
11900 LD="${LD-ld} -m elf64_sparc"
11910 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11911 SAVE_CFLAGS="$CFLAGS"
11912 CFLAGS="$CFLAGS -belf"
11913 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11914 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
11915 if test "${lt_cv_cc_needs_belf+set}" = set; then
11916 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 ac_cpp='$CPP $CPPFLAGS'
11920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11924 cat >conftest.$ac_ext <<_ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11939 rm -f conftest.$ac_objext conftest$ac_exeext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11941 (eval $ac_link) 2>conftest.er1
11943 grep -v '^ *+' conftest.er1 >conftest.err
11945 cat conftest.err >&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -z "$ac_c_werror_flag"
11949 || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try='test -s conftest$ac_exeext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 lt_cv_cc_needs_belf=yes
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.$ac_ext >&5
11966 lt_cv_cc_needs_belf=no
11968 rm -f conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11971 ac_cpp='$CPP $CPPFLAGS'
11972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11977 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11978 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
11979 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11980 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11981 CFLAGS="$SAVE_CFLAGS"
11985 # Find out which ABI we are using.
11986 echo 'int i;' > conftest.$ac_ext
11987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11988 (eval $ac_compile) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; then
11992 case `/usr/bin/file conftest.o` in
11994 case $lt_cv_prog_gnu_ld in
11995 yes*) LD="${LD-ld} -m elf64_sparc" ;;
11996 *) LD="${LD-ld} -64" ;;
12007 need_locks="$enable_libtool_lock"
12011 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12012 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12013 if test "${ac_cv_header_stdc+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 cat >conftest.$ac_ext <<_ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12022 #include <stdlib.h>
12023 #include <stdarg.h>
12024 #include <string.h>
12035 rm -f conftest.$ac_objext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>conftest.er1
12039 grep -v '^ *+' conftest.er1 >conftest.err
12041 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try='test -z "$ac_c_werror_flag"
12045 || test ! -s conftest.err'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); }; } &&
12051 { ac_try='test -s conftest.$ac_objext'
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 (eval $ac_try) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; }; then
12057 ac_cv_header_stdc=yes
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.$ac_ext >&5
12062 ac_cv_header_stdc=no
12064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12066 if test $ac_cv_header_stdc = yes; then
12067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12068 cat >conftest.$ac_ext <<_ACEOF
12071 cat confdefs.h >>conftest.$ac_ext
12072 cat >>conftest.$ac_ext <<_ACEOF
12073 /* end confdefs.h. */
12074 #include <string.h>
12077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12078 $EGREP "memchr" >/dev/null 2>&1; then
12081 ac_cv_header_stdc=no
12087 if test $ac_cv_header_stdc = yes; then
12088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12089 cat >conftest.$ac_ext <<_ACEOF
12092 cat confdefs.h >>conftest.$ac_ext
12093 cat >>conftest.$ac_ext <<_ACEOF
12094 /* end confdefs.h. */
12095 #include <stdlib.h>
12098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12099 $EGREP "free" >/dev/null 2>&1; then
12102 ac_cv_header_stdc=no
12108 if test $ac_cv_header_stdc = yes; then
12109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12110 if test "$cross_compiling" = yes; then
12113 cat >conftest.$ac_ext <<_ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12120 #if ((' ' & 0x0FF) == 0x020)
12121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12124 # define ISLOWER(c) \
12125 (('a' <= (c) && (c) <= 'i') \
12126 || ('j' <= (c) && (c) <= 'r') \
12127 || ('s' <= (c) && (c) <= 'z'))
12128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12136 for (i = 0; i < 256; i++)
12137 if (XOR (islower (i), ISLOWER (i))
12138 || toupper (i) != TOUPPER (i))
12143 rm -f conftest$ac_exeext
12144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12145 (eval $ac_link) 2>&5
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12150 (eval $ac_try) 2>&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); }; }; then
12156 echo "$as_me: program exited with status $ac_status" >&5
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 ( exit $ac_status )
12161 ac_cv_header_stdc=no
12163 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12167 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12168 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12169 if test $ac_cv_header_stdc = yes; then
12171 cat >>confdefs.h <<\_ACEOF
12172 #define STDC_HEADERS 1
12177 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12187 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12188 inttypes.h stdint.h unistd.h
12190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12191 echo "$as_me:$LINENO: checking for $ac_header" >&5
12192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 cat >conftest.$ac_ext <<_ACEOF
12199 cat confdefs.h >>conftest.$ac_ext
12200 cat >>conftest.$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12202 $ac_includes_default
12204 #include <$ac_header>
12206 rm -f conftest.$ac_objext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12208 (eval $ac_compile) 2>conftest.er1
12210 grep -v '^ *+' conftest.er1 >conftest.err
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try='test -z "$ac_c_werror_flag"
12216 || test ! -s conftest.err'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; } &&
12222 { ac_try='test -s conftest.$ac_objext'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; }; then
12228 eval "$as_ac_Header=yes"
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.$ac_ext >&5
12233 eval "$as_ac_Header=no"
12235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12240 cat >>confdefs.h <<_ACEOF
12241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12250 for ac_header in dlfcn.h
12252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12254 echo "$as_me:$LINENO: checking for $ac_header" >&5
12255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12262 # Is the header compilable?
12263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12265 cat >conftest.$ac_ext <<_ACEOF
12268 cat confdefs.h >>conftest.$ac_ext
12269 cat >>conftest.$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12271 $ac_includes_default
12272 #include <$ac_header>
12274 rm -f conftest.$ac_objext
12275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12276 (eval $ac_compile) 2>conftest.er1
12278 grep -v '^ *+' conftest.er1 >conftest.err
12280 cat conftest.err >&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } &&
12283 { ac_try='test -z "$ac_c_werror_flag"
12284 || test ! -s conftest.err'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; } &&
12290 { ac_try='test -s conftest.$ac_objext'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; }; then
12296 ac_header_compiler=yes
12298 echo "$as_me: failed program was:" >&5
12299 sed 's/^/| /' conftest.$ac_ext >&5
12301 ac_header_compiler=no
12303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12305 echo "${ECHO_T}$ac_header_compiler" >&6
12307 # Is the header present?
12308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12310 cat >conftest.$ac_ext <<_ACEOF
12313 cat confdefs.h >>conftest.$ac_ext
12314 cat >>conftest.$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12316 #include <$ac_header>
12318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12321 grep -v '^ *+' conftest.er1 >conftest.err
12323 cat conftest.err >&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } >/dev/null; then
12326 if test -s conftest.err; then
12327 ac_cpp_err=$ac_c_preproc_warn_flag
12328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12335 if test -z "$ac_cpp_err"; then
12336 ac_header_preproc=yes
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.$ac_ext >&5
12341 ac_header_preproc=no
12343 rm -f conftest.err conftest.$ac_ext
12344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12345 echo "${ECHO_T}$ac_header_preproc" >&6
12347 # So? What about this header?
12348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12354 ac_header_preproc=yes
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12371 ## --------------------------------------------- ##
12372 ## Report this to vserver@list.linux-vserver.org ##
12373 ## --------------------------------------------- ##
12376 sed "s/^/$as_me: WARNING: /" >&2
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 eval "$as_ac_Header=\$ac_header_preproc"
12386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12391 cat >>confdefs.h <<_ACEOF
12392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12401 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12402 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12403 (test "X$CXX" != "Xg++"))) ; then
12405 ac_cpp='$CXXCPP $CPPFLAGS'
12406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12409 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12410 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
12411 if test -z "$CXXCPP"; then
12412 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 # Double quotes because CXXCPP needs to be expanded
12416 for CXXCPP in "$CXX -E" "/lib/cpp"
12418 ac_preproc_ok=false
12419 for ac_cxx_preproc_warn_flag in '' yes
12421 # Use a header file that comes with gcc, so configuring glibc
12422 # with a fresh cross-compiler works.
12423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12424 # <limits.h> exists even on freestanding compilers.
12425 # On the NeXT, cc -E runs the code through the compiler's parser,
12426 # not just through cpp. "Syntax error" is here to catch this case.
12427 cat >conftest.$ac_ext <<_ACEOF
12430 cat confdefs.h >>conftest.$ac_ext
12431 cat >>conftest.$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12434 # include <limits.h>
12436 # include <assert.h>
12440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12443 grep -v '^ *+' conftest.er1 >conftest.err
12445 cat conftest.err >&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } >/dev/null; then
12448 if test -s conftest.err; then
12449 ac_cpp_err=$ac_cxx_preproc_warn_flag
12450 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12457 if test -z "$ac_cpp_err"; then
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.$ac_ext >&5
12463 # Broken: fails on valid input.
12466 rm -f conftest.err conftest.$ac_ext
12468 # OK, works on sane cases. Now check whether non-existent headers
12469 # can be detected and how.
12470 cat >conftest.$ac_ext <<_ACEOF
12473 cat confdefs.h >>conftest.$ac_ext
12474 cat >>conftest.$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12476 #include <ac_nonexistent.h>
12478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1 >conftest.err
12483 cat conftest.err >&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } >/dev/null; then
12486 if test -s conftest.err; then
12487 ac_cpp_err=$ac_cxx_preproc_warn_flag
12488 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12495 if test -z "$ac_cpp_err"; then
12496 # Broken: success on invalid input.
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 # Passes both tests.
12506 rm -f conftest.err conftest.$ac_ext
12509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12510 rm -f conftest.err conftest.$ac_ext
12511 if $ac_preproc_ok; then
12516 ac_cv_prog_CXXCPP=$CXXCPP
12519 CXXCPP=$ac_cv_prog_CXXCPP
12521 ac_cv_prog_CXXCPP=$CXXCPP
12523 echo "$as_me:$LINENO: result: $CXXCPP" >&5
12524 echo "${ECHO_T}$CXXCPP" >&6
12525 ac_preproc_ok=false
12526 for ac_cxx_preproc_warn_flag in '' yes
12528 # Use a header file that comes with gcc, so configuring glibc
12529 # with a fresh cross-compiler works.
12530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12531 # <limits.h> exists even on freestanding compilers.
12532 # On the NeXT, cc -E runs the code through the compiler's parser,
12533 # not just through cpp. "Syntax error" is here to catch this case.
12534 cat >conftest.$ac_ext <<_ACEOF
12537 cat confdefs.h >>conftest.$ac_ext
12538 cat >>conftest.$ac_ext <<_ACEOF
12539 /* end confdefs.h. */
12541 # include <limits.h>
12543 # include <assert.h>
12547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12550 grep -v '^ *+' conftest.er1 >conftest.err
12552 cat conftest.err >&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } >/dev/null; then
12555 if test -s conftest.err; then
12556 ac_cpp_err=$ac_cxx_preproc_warn_flag
12557 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12564 if test -z "$ac_cpp_err"; then
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.$ac_ext >&5
12570 # Broken: fails on valid input.
12573 rm -f conftest.err conftest.$ac_ext
12575 # OK, works on sane cases. Now check whether non-existent headers
12576 # can be detected and how.
12577 cat >conftest.$ac_ext <<_ACEOF
12580 cat confdefs.h >>conftest.$ac_ext
12581 cat >>conftest.$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 #include <ac_nonexistent.h>
12585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1 >conftest.err
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } >/dev/null; then
12593 if test -s conftest.err; then
12594 ac_cpp_err=$ac_cxx_preproc_warn_flag
12595 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12602 if test -z "$ac_cpp_err"; then
12603 # Broken: success on invalid input.
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12609 # Passes both tests.
12613 rm -f conftest.err conftest.$ac_ext
12616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12617 rm -f conftest.err conftest.$ac_ext
12618 if $ac_preproc_ok; then
12621 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12622 See \`config.log' for more details." >&5
12623 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12624 See \`config.log' for more details." >&2;}
12625 { (exit 1); exit 1; }; }
12629 ac_cpp='$CXXCPP $CPPFLAGS'
12630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12637 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12638 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12639 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12640 if test -n "$ac_tool_prefix"; then
12641 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
12643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12645 echo "$as_me:$LINENO: checking for $ac_word" >&5
12646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12647 if test "${ac_cv_prog_F77+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 if test -n "$F77"; then
12651 ac_cv_prog_F77="$F77" # Let the user override the test.
12653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654 for as_dir in $PATH
12657 test -z "$as_dir" && as_dir=.
12658 for ac_exec_ext in '' $ac_executable_extensions; do
12659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12660 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12669 F77=$ac_cv_prog_F77
12670 if test -n "$F77"; then
12671 echo "$as_me:$LINENO: result: $F77" >&5
12672 echo "${ECHO_T}$F77" >&6
12674 echo "$as_me:$LINENO: result: no" >&5
12675 echo "${ECHO_T}no" >&6
12678 test -n "$F77" && break
12681 if test -z "$F77"; then
12683 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
12685 # Extract the first word of "$ac_prog", so it can be a program name with args.
12686 set dummy $ac_prog; ac_word=$2
12687 echo "$as_me:$LINENO: checking for $ac_word" >&5
12688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12689 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 if test -n "$ac_ct_F77"; then
12693 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12696 for as_dir in $PATH
12699 test -z "$as_dir" && as_dir=.
12700 for ac_exec_ext in '' $ac_executable_extensions; do
12701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12702 ac_cv_prog_ac_ct_F77="$ac_prog"
12703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12711 ac_ct_F77=$ac_cv_prog_ac_ct_F77
12712 if test -n "$ac_ct_F77"; then
12713 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
12714 echo "${ECHO_T}$ac_ct_F77" >&6
12716 echo "$as_me:$LINENO: result: no" >&5
12717 echo "${ECHO_T}no" >&6
12720 test -n "$ac_ct_F77" && break
12727 # Provide some information about the compiler.
12728 echo "$as_me:12728:" \
12729 "checking for Fortran 77 compiler version" >&5
12730 ac_compiler=`set X $ac_compile; echo $2`
12731 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12732 (eval $ac_compiler --version </dev/null >&5) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }
12736 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12737 (eval $ac_compiler -v </dev/null >&5) 2>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }
12741 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12742 (eval $ac_compiler -V </dev/null >&5) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }
12748 # If we don't use `.F' as extension, the preprocessor is not run on the
12749 # input file. (Note that this only needs to work for GNU compilers.)
12750 ac_save_ext=$ac_ext
12752 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
12753 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
12754 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
12755 echo $ECHO_N "(cached) $ECHO_C" >&6
12757 cat >conftest.$ac_ext <<_ACEOF
12765 rm -f conftest.$ac_objext
12766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12767 (eval $ac_compile) 2>conftest.er1
12769 grep -v '^ *+' conftest.er1 >conftest.err
12771 cat conftest.err >&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); } &&
12774 { ac_try='test -z "$ac_f77_werror_flag"
12775 || test ! -s conftest.err'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; } &&
12781 { ac_try='test -s conftest.$ac_objext'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; }; then
12787 ac_compiler_gnu=yes
12789 echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.$ac_ext >&5
12794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12795 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
12798 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
12799 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
12800 ac_ext=$ac_save_ext
12801 ac_test_FFLAGS=${FFLAGS+set}
12802 ac_save_FFLAGS=$FFLAGS
12804 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
12805 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
12806 if test "${ac_cv_prog_f77_g+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 cat >conftest.$ac_ext <<_ACEOF
12815 rm -f conftest.$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12819 grep -v '^ *+' conftest.er1 >conftest.err
12821 cat conftest.err >&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try='test -z "$ac_f77_werror_flag"
12825 || test ! -s conftest.err'
12826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12827 (eval $ac_try) 2>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); }; } &&
12831 { ac_try='test -s conftest.$ac_objext'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; }; then
12837 ac_cv_prog_f77_g=yes
12839 echo "$as_me: failed program was:" >&5
12840 sed 's/^/| /' conftest.$ac_ext >&5
12842 ac_cv_prog_f77_g=no
12844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12847 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
12848 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
12849 if test "$ac_test_FFLAGS" = set; then
12850 FFLAGS=$ac_save_FFLAGS
12851 elif test $ac_cv_prog_f77_g = yes; then
12852 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12858 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12865 G77=`test $ac_compiler_gnu = yes && echo yes`
12867 ac_cpp='$CPP $CPPFLAGS'
12868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12874 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
12876 # find the maximum length of command line arguments
12877 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
12878 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
12879 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 # On DJGPP, this test can blow up pretty badly due to problems in libc
12888 # (any single argument exceeding 2000 bytes causes a buffer overrun
12889 # during glob expansion). Even if it were fixed, the result of this
12890 # check would be larger than it should be.
12891 lt_cv_sys_max_cmd_len=12288; # 12K is about right
12895 # Under GNU Hurd, this test is not required because there is
12896 # no limit to the length of command line arguments.
12897 # Libtool will interpret -1 as no limit whatsoever
12898 lt_cv_sys_max_cmd_len=-1;
12902 # On Win9x/ME, this test blows up -- it succeeds, but takes
12903 # about 5 minutes as the teststring grows exponentially.
12904 # Worse, since 9x/ME are not pre-emptively multitasking,
12905 # you end up with a "frozen" computer, even though with patience
12906 # the test eventually succeeds (with a max line length of 256k).
12907 # Instead, let's just punt: use the minimum linelength reported by
12908 # all of the supported platforms: 8192 (on NT/2K/XP).
12909 lt_cv_sys_max_cmd_len=8192;
12913 # On AmigaOS with pdksh, this test takes hours, literally.
12914 # So we just punt and use a minimum line length of 8192.
12915 lt_cv_sys_max_cmd_len=8192;
12918 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
12919 # This has been around since 386BSD, at least. Likely further.
12920 if test -x /sbin/sysctl; then
12921 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
12922 elif test -x /usr/sbin/sysctl; then
12923 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
12925 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
12927 # And add a safety zone
12928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
12929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12933 # We know the value 262144 and hardcode it with a safety zone (like BSD)
12934 lt_cv_sys_max_cmd_len=196608
12938 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
12939 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
12940 # nice to cause kernel panics so lets avoid the loop below.
12941 # First set a reasonable default.
12942 lt_cv_sys_max_cmd_len=16384
12944 if test -x /sbin/sysconfig; then
12945 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
12946 *1*) lt_cv_sys_max_cmd_len=-1 ;;
12951 lt_cv_sys_max_cmd_len=102400
12953 sysv5* | sco5v6* | sysv4.2uw2*)
12954 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
12955 if test -n "$kargmax"; then
12956 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
12958 lt_cv_sys_max_cmd_len=32768
12962 # If test is not a shell built-in, we'll probably end up computing a
12963 # maximum length that is only half of the actual maximum length, but
12965 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
12966 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
12967 = "XX$teststring") >/dev/null 2>&1 &&
12968 new_result=`expr "X$teststring" : ".*" 2>&1` &&
12969 lt_cv_sys_max_cmd_len=$new_result &&
12970 test $i != 17 # 1/2 MB should be enough
12973 teststring=$teststring$teststring
12976 # Add a significant safety factor because C++ compilers can tack on massive
12977 # amounts of additional arguments before passing them to the linker.
12978 # It appears as though 1/2 is a usable value.
12979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12985 if test -n $lt_cv_sys_max_cmd_len ; then
12986 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12987 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
12989 echo "$as_me:$LINENO: result: none" >&5
12990 echo "${ECHO_T}none" >&6
12996 # Check for command to grab the raw symbol name followed by C symbol from nm.
12997 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
12998 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
12999 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 # These are sane defaults that work on at least a few old systems.
13004 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13006 # Character class describing NM global symbol codes.
13007 symcode='[BCDEGRST]'
13009 # Regexp to match symbols that can be accessed directly from C.
13010 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13012 # Transform an extracted symbol line into a proper C declaration
13013 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13015 # Transform an extracted symbol line into symbol name and symbol address
13016 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'"
13018 # Define system-specific variables.
13023 cygwin* | mingw* | pw32*)
13024 symcode='[ABCDGISTW]'
13026 hpux*) # Its linker distinguishes data from code symbols
13027 if test "$host_cpu" = ia64; then
13028 symcode='[ABCDEGRST]'
13030 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13031 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'"
13034 if test "$host_cpu" = ia64; then
13035 symcode='[ABCDGIRSTW]'
13036 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13037 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'"
13040 irix* | nonstopux*)
13041 symcode='[BCDEGRST]'
13044 symcode='[BCDEGQRST]'
13055 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13063 # Handle CRLF in mingw tool chain
13067 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13071 # If we're using GNU nm, then use its standard symbol codes.
13072 case `$NM -V 2>&1` in
13073 *GNU* | *'with BFD'*)
13074 symcode='[ABCDGIRSTW]' ;;
13077 # Try without a prefix undercore, then with it.
13078 for ac_symprfx in "" "_"; do
13080 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13081 symxfrm="\\1 $ac_symprfx\\2 \\2"
13083 # Write the raw and C identifiers.
13084 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13086 # Check to see that the pipe works correctly.
13090 cat > conftest.$ac_ext <<EOF
13095 void nm_test_func(){}
13099 int main(){nm_test_var='a';nm_test_func();return(0);}
13102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13103 (eval $ac_compile) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; then
13107 # Now try to grab the symbols.
13109 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13110 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); } && test -s "$nlist"; then
13114 # Try sorting and uniquifying the output.
13115 if sort "$nlist" | uniq > "$nlist"T; then
13116 mv -f "$nlist"T "$nlist"
13121 # Make sure that we snagged all the symbols we need.
13122 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13123 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13124 cat <<EOF > conftest.$ac_ext
13130 # Now generate the symbol file.
13131 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13133 cat <<EOF >> conftest.$ac_ext
13134 #if defined (__STDC__) && __STDC__
13135 # define lt_ptr_t void *
13137 # define lt_ptr_t char *
13141 /* The mapping between symbol names and symbols. */
13146 lt_preloaded_symbols[] =
13149 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13150 cat <<\EOF >> conftest.$ac_ext
13158 # Now try linking the two files.
13159 mv conftest.$ac_objext conftstm.$ac_objext
13160 lt_save_LIBS="$LIBS"
13161 lt_save_CFLAGS="$CFLAGS"
13162 LIBS="conftstm.$ac_objext"
13163 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13165 (eval $ac_link) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13171 LIBS="$lt_save_LIBS"
13172 CFLAGS="$lt_save_CFLAGS"
13174 echo "cannot find nm_test_func in $nlist" >&5
13177 echo "cannot find nm_test_var in $nlist" >&5
13180 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13183 echo "$progname: failed program was:" >&5
13184 cat conftest.$ac_ext >&5
13186 rm -f conftest* conftst*
13188 # Do not use the global_symbol_pipe unless it works.
13189 if test "$pipe_works" = yes; then
13192 lt_cv_sys_global_symbol_pipe=
13198 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13199 lt_cv_sys_global_symbol_to_cdecl=
13201 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13202 echo "$as_me:$LINENO: result: failed" >&5
13203 echo "${ECHO_T}failed" >&6
13205 echo "$as_me:$LINENO: result: ok" >&5
13206 echo "${ECHO_T}ok" >&6
13209 echo "$as_me:$LINENO: checking for objdir" >&5
13210 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
13211 if test "${lt_cv_objdir+set}" = set; then
13212 echo $ECHO_N "(cached) $ECHO_C" >&6
13214 rm -f .libs 2>/dev/null
13215 mkdir .libs 2>/dev/null
13216 if test -d .libs; then
13219 # MS-DOS does not allow filenames that begin with a dot.
13222 rmdir .libs 2>/dev/null
13224 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13225 echo "${ECHO_T}$lt_cv_objdir" >&6
13226 objdir=$lt_cv_objdir
13234 # AIX sometimes has problems with the GCC collect2 program. For some
13235 # reason, if we set the COLLECT_NAMES environment variable, the problems
13236 # vanish in a puff of smoke.
13237 if test "X${COLLECT_NAMES+set}" != Xset; then
13239 export COLLECT_NAMES
13244 # Sed substitution that helps us do robust quoting. It backslashifies
13245 # metacharacters that are still active within double-quoted strings.
13246 Xsed='sed -e 1s/^X//'
13247 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13249 # Same as above, but do not quote variable references.
13250 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
13252 # Sed substitution to delay expansion of an escaped shell variable in a
13253 # double_quote_subst'ed string.
13254 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13256 # Sed substitution to avoid accidental globbing in evaled expressions
13257 no_glob_subst='s/\*/\\\*/g'
13262 # Global variables:
13263 default_ofile=libtool
13264 can_build_shared=yes
13266 # All known linkers require a `.a' archive for static linking (except MSVC,
13267 # which needs '.lib').
13269 ltmain="$ac_aux_dir/ltmain.sh"
13270 ofile="$default_ofile"
13271 with_gnu_ld="$lt_cv_prog_gnu_ld"
13273 if test -n "$ac_tool_prefix"; then
13274 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13275 set dummy ${ac_tool_prefix}ar; ac_word=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_prog_AR+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 if test -n "$AR"; then
13282 ac_cv_prog_AR="$AR" # Let the user override the test.
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13288 test -z "$as_dir" && as_dir=.
13289 for ac_exec_ext in '' $ac_executable_extensions; do
13290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_AR="${ac_tool_prefix}ar"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13301 if test -n "$AR"; then
13302 echo "$as_me:$LINENO: result: $AR" >&5
13303 echo "${ECHO_T}$AR" >&6
13305 echo "$as_me:$LINENO: result: no" >&5
13306 echo "${ECHO_T}no" >&6
13310 if test -z "$ac_cv_prog_AR"; then
13312 # Extract the first word of "ar", so it can be a program name with args.
13313 set dummy ar; ac_word=$2
13314 echo "$as_me:$LINENO: checking for $ac_word" >&5
13315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13316 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 if test -n "$ac_ct_AR"; then
13320 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13323 for as_dir in $PATH
13326 test -z "$as_dir" && as_dir=.
13327 for ac_exec_ext in '' $ac_executable_extensions; do
13328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13329 ac_cv_prog_ac_ct_AR="ar"
13330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13336 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
13339 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13340 if test -n "$ac_ct_AR"; then
13341 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13342 echo "${ECHO_T}$ac_ct_AR" >&6
13344 echo "$as_me:$LINENO: result: no" >&5
13345 echo "${ECHO_T}no" >&6
13350 AR="$ac_cv_prog_AR"
13353 if test -n "$ac_tool_prefix"; then
13354 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13355 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13356 echo "$as_me:$LINENO: checking for $ac_word" >&5
13357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13358 if test "${ac_cv_prog_RANLIB+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 if test -n "$RANLIB"; then
13362 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13365 for as_dir in $PATH
13368 test -z "$as_dir" && as_dir=.
13369 for ac_exec_ext in '' $ac_executable_extensions; do
13370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13371 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13380 RANLIB=$ac_cv_prog_RANLIB
13381 if test -n "$RANLIB"; then
13382 echo "$as_me:$LINENO: result: $RANLIB" >&5
13383 echo "${ECHO_T}$RANLIB" >&6
13385 echo "$as_me:$LINENO: result: no" >&5
13386 echo "${ECHO_T}no" >&6
13390 if test -z "$ac_cv_prog_RANLIB"; then
13391 ac_ct_RANLIB=$RANLIB
13392 # Extract the first word of "ranlib", so it can be a program name with args.
13393 set dummy ranlib; ac_word=$2
13394 echo "$as_me:$LINENO: checking for $ac_word" >&5
13395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 if test -n "$ac_ct_RANLIB"; then
13400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13403 for as_dir in $PATH
13406 test -z "$as_dir" && as_dir=.
13407 for ac_exec_ext in '' $ac_executable_extensions; do
13408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13409 ac_cv_prog_ac_ct_RANLIB="ranlib"
13410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13416 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13420 if test -n "$ac_ct_RANLIB"; then
13421 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13422 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13424 echo "$as_me:$LINENO: result: no" >&5
13425 echo "${ECHO_T}no" >&6
13428 RANLIB=$ac_ct_RANLIB
13430 RANLIB="$ac_cv_prog_RANLIB"
13433 if test -n "$ac_tool_prefix"; then
13434 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13435 set dummy ${ac_tool_prefix}strip; ac_word=$2
13436 echo "$as_me:$LINENO: checking for $ac_word" >&5
13437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13438 if test "${ac_cv_prog_STRIP+set}" = set; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 if test -n "$STRIP"; then
13442 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13445 for as_dir in $PATH
13448 test -z "$as_dir" && as_dir=.
13449 for ac_exec_ext in '' $ac_executable_extensions; do
13450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13451 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
13452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13460 STRIP=$ac_cv_prog_STRIP
13461 if test -n "$STRIP"; then
13462 echo "$as_me:$LINENO: result: $STRIP" >&5
13463 echo "${ECHO_T}$STRIP" >&6
13465 echo "$as_me:$LINENO: result: no" >&5
13466 echo "${ECHO_T}no" >&6
13470 if test -z "$ac_cv_prog_STRIP"; then
13472 # Extract the first word of "strip", so it can be a program name with args.
13473 set dummy strip; ac_word=$2
13474 echo "$as_me:$LINENO: checking for $ac_word" >&5
13475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13476 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 if test -n "$ac_ct_STRIP"; then
13480 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13483 for as_dir in $PATH
13486 test -z "$as_dir" && as_dir=.
13487 for ac_exec_ext in '' $ac_executable_extensions; do
13488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13489 ac_cv_prog_ac_ct_STRIP="strip"
13490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13496 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
13499 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13500 if test -n "$ac_ct_STRIP"; then
13501 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13502 echo "${ECHO_T}$ac_ct_STRIP" >&6
13504 echo "$as_me:$LINENO: result: no" >&5
13505 echo "${ECHO_T}no" >&6
13510 STRIP="$ac_cv_prog_STRIP"
13515 old_CFLAGS="$CFLAGS"
13517 # Set sane defaults for various variables
13518 test -z "$AR" && AR=ar
13519 test -z "$AR_FLAGS" && AR_FLAGS=cru
13520 test -z "$AS" && AS=as
13521 test -z "$CC" && CC=cc
13522 test -z "$LTCC" && LTCC=$CC
13523 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13524 test -z "$DLLTOOL" && DLLTOOL=dlltool
13525 test -z "$LD" && LD=ld
13526 test -z "$LN_S" && LN_S="ln -s"
13527 test -z "$MAGIC_CMD" && MAGIC_CMD=file
13528 test -z "$NM" && NM=nm
13529 test -z "$SED" && SED=sed
13530 test -z "$OBJDUMP" && OBJDUMP=objdump
13531 test -z "$RANLIB" && RANLIB=:
13532 test -z "$STRIP" && STRIP=:
13533 test -z "$ac_objext" && ac_objext=o
13535 # Determine commands to create old-style static archives.
13536 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
13537 old_postinstall_cmds='chmod 644 $oldlib'
13538 old_postuninstall_cmds=
13540 if test -n "$RANLIB"; then
13543 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
13546 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
13549 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
13552 for cc_temp in $compiler""; do
13554 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13555 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13560 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13563 # Only perform the check for file, if the check method requires it
13564 case $deplibs_check_method in
13566 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13567 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
13568 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
13569 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13574 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13577 lt_save_MAGIC_CMD="$MAGIC_CMD"
13578 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13579 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13580 for ac_dir in $ac_dummy; do
13582 test -z "$ac_dir" && ac_dir=.
13583 if test -f $ac_dir/${ac_tool_prefix}file; then
13584 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
13585 if test -n "$file_magic_test_file"; then
13586 case $deplibs_check_method in
13588 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13589 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13590 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13591 $EGREP "$file_magic_regex" > /dev/null; then
13596 *** Warning: the command libtool uses to detect shared libraries,
13597 *** $file_magic_cmd, produces output that libtool cannot recognize.
13598 *** The result is that libtool may fail to recognize shared libraries
13599 *** as such. This will affect the creation of libtool libraries that
13600 *** depend on shared libraries, but programs linked with such libtool
13601 *** libraries will work regardless of this problem. Nevertheless, you
13602 *** may want to report the problem to your system manager and/or to
13603 *** bug-libtool@gnu.org
13613 MAGIC_CMD="$lt_save_MAGIC_CMD"
13618 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13619 if test -n "$MAGIC_CMD"; then
13620 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13621 echo "${ECHO_T}$MAGIC_CMD" >&6
13623 echo "$as_me:$LINENO: result: no" >&5
13624 echo "${ECHO_T}no" >&6
13627 if test -z "$lt_cv_path_MAGIC_CMD"; then
13628 if test -n "$ac_tool_prefix"; then
13629 echo "$as_me:$LINENO: checking for file" >&5
13630 echo $ECHO_N "checking for file... $ECHO_C" >&6
13631 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13639 lt_save_MAGIC_CMD="$MAGIC_CMD"
13640 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13641 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13642 for ac_dir in $ac_dummy; do
13644 test -z "$ac_dir" && ac_dir=.
13645 if test -f $ac_dir/file; then
13646 lt_cv_path_MAGIC_CMD="$ac_dir/file"
13647 if test -n "$file_magic_test_file"; then
13648 case $deplibs_check_method in
13650 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13651 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13652 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13653 $EGREP "$file_magic_regex" > /dev/null; then
13658 *** Warning: the command libtool uses to detect shared libraries,
13659 *** $file_magic_cmd, produces output that libtool cannot recognize.
13660 *** The result is that libtool may fail to recognize shared libraries
13661 *** as such. This will affect the creation of libtool libraries that
13662 *** depend on shared libraries, but programs linked with such libtool
13663 *** libraries will work regardless of this problem. Nevertheless, you
13664 *** may want to report the problem to your system manager and/or to
13665 *** bug-libtool@gnu.org
13675 MAGIC_CMD="$lt_save_MAGIC_CMD"
13680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13681 if test -n "$MAGIC_CMD"; then
13682 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13683 echo "${ECHO_T}$MAGIC_CMD" >&6
13685 echo "$as_me:$LINENO: result: no" >&5
13686 echo "${ECHO_T}no" >&6
13699 enable_win32_dll=no
13701 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
13702 if test "${enable_libtool_lock+set}" = set; then
13703 enableval="$enable_libtool_lock"
13706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13709 # Check whether --with-pic or --without-pic was given.
13710 if test "${with_pic+set}" = set; then
13711 withval="$with_pic"
13712 pic_mode="$withval"
13716 test -z "$pic_mode" && pic_mode=default
13718 # Use C for the default configuration in the libtool script
13722 ac_cpp='$CPP $CPPFLAGS'
13723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13728 # Source file extension for C test sources.
13731 # Object file extension for compiled C test sources.
13735 # Code to be used in simple compile tests
13736 lt_simple_compile_test_code="int some_variable = 0;\n"
13738 # Code to be used in simple link tests
13739 lt_simple_link_test_code='int main(){return(0);}\n'
13742 # If no C compiler was specified, use CC.
13745 # If no C compiler flags were specified, use CFLAGS.
13746 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13748 # Allow CC to be a program name with arguments.
13752 # save warnings/boilerplate of simple test code
13753 ac_outfile=conftest.$ac_objext
13754 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13755 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13756 _lt_compiler_boilerplate=`cat conftest.err`
13759 ac_outfile=conftest.$ac_objext
13760 printf "$lt_simple_link_test_code" >conftest.$ac_ext
13761 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13762 _lt_linker_boilerplate=`cat conftest.err`
13767 lt_prog_compiler_no_builtin_flag=
13769 if test "$GCC" = yes; then
13770 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
13773 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13774 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
13775 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
13776 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 lt_cv_prog_compiler_rtti_exceptions=no
13779 ac_outfile=conftest.$ac_objext
13780 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13781 lt_compiler_flag="-fno-rtti -fno-exceptions"
13782 # Insert the option either (1) after the last *FLAGS variable, or
13783 # (2) before a word containing "conftest.", or (3) at the end.
13784 # Note that $ac_compile itself does not contain backslashes and begins
13785 # with a dollar sign (not a hyphen), so the echo should work correctly.
13786 # The option is referenced via a variable to avoid confusing sed.
13787 lt_compile=`echo "$ac_compile" | $SED \
13788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13790 -e 's:$: $lt_compiler_flag:'`
13791 (eval echo "\"\$as_me:13791: $lt_compile\"" >&5)
13792 (eval "$lt_compile" 2>conftest.err)
13794 cat conftest.err >&5
13795 echo "$as_me:13795: \$? = $ac_status" >&5
13796 if (exit $ac_status) && test -s "$ac_outfile"; then
13797 # The compiler can only warn and ignore the option if not recognized
13798 # So say no if there are warnings other than the usual output.
13799 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13800 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13801 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13802 lt_cv_prog_compiler_rtti_exceptions=yes
13808 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13809 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
13811 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
13812 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13819 lt_prog_compiler_wl=
13820 lt_prog_compiler_pic=
13821 lt_prog_compiler_static=
13823 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13824 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13826 if test "$GCC" = yes; then
13827 lt_prog_compiler_wl='-Wl,'
13828 lt_prog_compiler_static='-static'
13832 # All AIX code is PIC.
13833 if test "$host_cpu" = ia64; then
13834 # AIX 5 now supports IA64 processor
13835 lt_prog_compiler_static='-Bstatic'
13840 # FIXME: we need at least 68020 code to build shared libraries, but
13841 # adding the `-m68020' flag to GCC prevents building anything better,
13843 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13846 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13847 # PIC is the default for these OSes.
13850 mingw* | pw32* | os2*)
13851 # This hack is so that the source file can tell whether it is being
13852 # built for inclusion in a dll (and should export symbols for example).
13853 lt_prog_compiler_pic='-DDLL_EXPORT'
13856 darwin* | rhapsody*)
13857 # PIC is the default on this platform
13858 # Common symbols not allowed in MH_DYLIB files
13859 lt_prog_compiler_pic='-fno-common'
13863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13864 # Instead, we relocate shared libraries at runtime.
13868 # Just because we use GCC doesn't mean we suddenly get shared libraries
13869 # on systems that don't support them.
13870 lt_prog_compiler_can_build_shared=no
13875 if test -d /usr/nec; then
13876 lt_prog_compiler_pic=-Kconform_pic
13881 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13882 # not for PA HP-UX.
13888 lt_prog_compiler_pic='-fPIC'
13894 lt_prog_compiler_pic='-fPIC'
13898 # PORTME Check for flag to pass linker flags through the system compiler.
13901 lt_prog_compiler_wl='-Wl,'
13902 if test "$host_cpu" = ia64; then
13903 # AIX 5 now supports IA64 processor
13904 lt_prog_compiler_static='-Bstatic'
13906 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13910 # PIC is the default on this platform
13911 # Common symbols not allowed in MH_DYLIB files
13912 case $cc_basename in
13914 lt_prog_compiler_pic='-qnocommon'
13915 lt_prog_compiler_wl='-Wl,'
13920 mingw* | pw32* | os2*)
13921 # This hack is so that the source file can tell whether it is being
13922 # built for inclusion in a dll (and should export symbols for example).
13923 lt_prog_compiler_pic='-DDLL_EXPORT'
13926 hpux9* | hpux10* | hpux11*)
13927 lt_prog_compiler_wl='-Wl,'
13928 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13929 # not for PA HP-UX.
13935 lt_prog_compiler_pic='+Z'
13938 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13939 lt_prog_compiler_static='${wl}-a ${wl}archive'
13942 irix5* | irix6* | nonstopux*)
13943 lt_prog_compiler_wl='-Wl,'
13944 # PIC (with -KPIC) is the default.
13945 lt_prog_compiler_static='-non_shared'
13949 lt_prog_compiler_pic='-KPIC'
13950 lt_prog_compiler_static='-Bstatic'
13954 case $cc_basename in
13956 lt_prog_compiler_wl='-Wl,'
13957 lt_prog_compiler_pic='-KPIC'
13958 lt_prog_compiler_static='-static'
13960 pgcc* | pgf77* | pgf90* | pgf95*)
13961 # Portland Group compilers (*not* the Pentium gcc compiler,
13962 # which looks to be a dead project)
13963 lt_prog_compiler_wl='-Wl,'
13964 lt_prog_compiler_pic='-fpic'
13965 lt_prog_compiler_static='-Bstatic'
13968 lt_prog_compiler_wl='-Wl,'
13969 # All Alpha code is PIC.
13970 lt_prog_compiler_static='-non_shared'
13975 osf3* | osf4* | osf5*)
13976 lt_prog_compiler_wl='-Wl,'
13977 # All OSF/1 code is PIC.
13978 lt_prog_compiler_static='-non_shared'
13982 lt_prog_compiler_pic='-KPIC'
13983 lt_prog_compiler_static='-Bstatic'
13984 case $cc_basename in
13985 f77* | f90* | f95*)
13986 lt_prog_compiler_wl='-Qoption ld ';;
13988 lt_prog_compiler_wl='-Wl,';;
13993 lt_prog_compiler_wl='-Qoption ld '
13994 lt_prog_compiler_pic='-PIC'
13995 lt_prog_compiler_static='-Bstatic'
13998 sysv4 | sysv4.2uw2* | sysv4.3*)
13999 lt_prog_compiler_wl='-Wl,'
14000 lt_prog_compiler_pic='-KPIC'
14001 lt_prog_compiler_static='-Bstatic'
14005 if test -d /usr/nec ;then
14006 lt_prog_compiler_pic='-Kconform_pic'
14007 lt_prog_compiler_static='-Bstatic'
14011 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14012 lt_prog_compiler_wl='-Wl,'
14013 lt_prog_compiler_pic='-KPIC'
14014 lt_prog_compiler_static='-Bstatic'
14018 lt_prog_compiler_wl='-Wl,'
14019 lt_prog_compiler_can_build_shared=no
14023 lt_prog_compiler_pic='-pic'
14024 lt_prog_compiler_static='-Bstatic'
14028 lt_prog_compiler_can_build_shared=no
14033 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
14034 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
14037 # Check to make sure the PIC flag actually works.
14039 if test -n "$lt_prog_compiler_pic"; then
14041 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14042 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
14043 if test "${lt_prog_compiler_pic_works+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14046 lt_prog_compiler_pic_works=no
14047 ac_outfile=conftest.$ac_objext
14048 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14049 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14050 # Insert the option either (1) after the last *FLAGS variable, or
14051 # (2) before a word containing "conftest.", or (3) at the end.
14052 # Note that $ac_compile itself does not contain backslashes and begins
14053 # with a dollar sign (not a hyphen), so the echo should work correctly.
14054 # The option is referenced via a variable to avoid confusing sed.
14055 lt_compile=`echo "$ac_compile" | $SED \
14056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14058 -e 's:$: $lt_compiler_flag:'`
14059 (eval echo "\"\$as_me:14059: $lt_compile\"" >&5)
14060 (eval "$lt_compile" 2>conftest.err)
14062 cat conftest.err >&5
14063 echo "$as_me:14063: \$? = $ac_status" >&5
14064 if (exit $ac_status) && test -s "$ac_outfile"; then
14065 # The compiler can only warn and ignore the option if not recognized
14066 # So say no if there are warnings other than the usual output.
14067 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14068 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14069 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14070 lt_prog_compiler_pic_works=yes
14076 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
14077 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
14079 if test x"$lt_prog_compiler_pic_works" = xyes; then
14080 case $lt_prog_compiler_pic in
14082 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14085 lt_prog_compiler_pic=
14086 lt_prog_compiler_can_build_shared=no
14091 # For platforms which do not support PIC, -DPIC is meaningless:
14093 lt_prog_compiler_pic=
14096 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14101 # Check to make sure the static flag actually works.
14103 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14104 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14105 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14106 if test "${lt_prog_compiler_static_works+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14109 lt_prog_compiler_static_works=no
14110 save_LDFLAGS="$LDFLAGS"
14111 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14112 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14113 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14114 # The linker can only warn and ignore the option if not recognized
14115 # So say no if there are warnings
14116 if test -s conftest.err; then
14117 # Append any errors to the config.log.
14118 cat conftest.err 1>&5
14119 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14120 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14121 if diff conftest.exp conftest.er2 >/dev/null; then
14122 lt_prog_compiler_static_works=yes
14125 lt_prog_compiler_static_works=yes
14129 LDFLAGS="$save_LDFLAGS"
14132 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
14133 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
14135 if test x"$lt_prog_compiler_static_works" = xyes; then
14138 lt_prog_compiler_static=
14142 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14143 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14144 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14145 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 lt_cv_prog_compiler_c_o=no
14148 $rm -r conftest 2>/dev/null
14152 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14154 lt_compiler_flag="-o out/conftest2.$ac_objext"
14155 # Insert the option either (1) after the last *FLAGS variable, or
14156 # (2) before a word containing "conftest.", or (3) at the end.
14157 # Note that $ac_compile itself does not contain backslashes and begins
14158 # with a dollar sign (not a hyphen), so the echo should work correctly.
14159 lt_compile=`echo "$ac_compile" | $SED \
14160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14162 -e 's:$: $lt_compiler_flag:'`
14163 (eval echo "\"\$as_me:14163: $lt_compile\"" >&5)
14164 (eval "$lt_compile" 2>out/conftest.err)
14166 cat out/conftest.err >&5
14167 echo "$as_me:14167: \$? = $ac_status" >&5
14168 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14170 # The compiler can only warn and ignore the option if not recognized
14171 # So say no if there are warnings
14172 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14173 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14174 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14175 lt_cv_prog_compiler_c_o=yes
14180 # SGI C++ compiler will create directory out/ii_files/ for
14181 # template instantiation
14182 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14183 $rm out/* && rmdir out
14189 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
14190 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
14193 hard_links="nottested"
14194 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14195 # do not overwrite the value of need_locks provided by the user
14196 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14197 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14200 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14202 ln conftest.a conftest.b 2>&5 || hard_links=no
14203 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14204 echo "$as_me:$LINENO: result: $hard_links" >&5
14205 echo "${ECHO_T}$hard_links" >&6
14206 if test "$hard_links" = no; then
14207 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14208 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14215 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14216 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14219 allow_undefined_flag=
14220 enable_shared_with_static_runtimes=no
14222 archive_expsym_cmds=
14223 old_archive_From_new_cmds=
14224 old_archive_from_expsyms_cmds=
14225 export_dynamic_flag_spec=
14226 whole_archive_flag_spec=
14227 thread_safe_flag_spec=
14228 hardcode_libdir_flag_spec=
14229 hardcode_libdir_flag_spec_ld=
14230 hardcode_libdir_separator=
14232 hardcode_minus_L=no
14233 hardcode_shlibpath_var=unsupported
14234 link_all_deplibs=unknown
14235 hardcode_automatic=no
14237 module_expsym_cmds=
14238 always_export_symbols=no
14239 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14240 # include_expsyms should be a list of space-separated symbols to be *always*
14241 # included in the symbol list
14243 # exclude_expsyms can be an extended regexp of symbols to exclude
14244 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14245 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14246 # as well as any symbol that contains `d'.
14247 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
14248 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14249 # platforms (ab)use it in PIC code, but their linkers get confused if
14250 # the symbol is explicitly referenced. Since portable code cannot
14251 # rely on this symbol name, it's probably fine to never include it in
14252 # preloaded symbol tables.
14253 extract_expsyms_cmds=
14254 # Just being paranoid about ensuring that cc_basename is set.
14255 for cc_temp in $compiler""; do
14257 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14258 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14263 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14266 cygwin* | mingw* | pw32*)
14267 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14268 # When not using gcc, we currently assume that we are using
14269 # Microsoft Visual C++.
14270 if test "$GCC" != yes; then
14275 # we just hope/assume this is gcc and not c89 (= MSVC++)
14284 if test "$with_gnu_ld" = yes; then
14285 # If archive_cmds runs LD, not CC, wlarc should be empty
14288 # Set some defaults for GNU ld with shared library support. These
14289 # are reset later if shared libraries are not supported. Putting them
14290 # here allows them to be overridden if necessary.
14291 runpath_var=LD_RUN_PATH
14292 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14293 export_dynamic_flag_spec='${wl}--export-dynamic'
14294 # ancient GNU ld didn't support --whole-archive et. al.
14295 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14296 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14298 whole_archive_flag_spec=
14300 supports_anon_versioning=no
14301 case `$LD -v 2>/dev/null` in
14302 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14303 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14304 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14305 *\ 2.11.*) ;; # other 2.11 versions
14306 *) supports_anon_versioning=yes ;;
14309 # See if GNU ld supports shared libraries.
14311 aix3* | aix4* | aix5*)
14312 # On AIX/PPC, the GNU linker is very broken
14313 if test "$host_cpu" != ia64; then
14317 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14318 *** to be unable to reliably create shared libraries on AIX.
14319 *** Therefore, libtool is disabling shared libraries support. If you
14320 *** really care for shared libraries, you may want to modify your PATH
14321 *** so that a non-GNU linker is found, and then restart.
14328 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)'
14329 hardcode_libdir_flag_spec='-L$libdir'
14330 hardcode_minus_L=yes
14332 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14333 # that the semantics of dynamic libraries on AmigaOS, at least up
14334 # to version 4, is to share data among multiple programs linked
14335 # with the same dynamic library. Since this doesn't match the
14336 # behavior of shared libraries on other platforms, we can't use
14342 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14343 allow_undefined_flag=unsupported
14344 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14345 # support --undefined. This deserves some investigation. FIXME
14346 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14352 cygwin* | mingw* | pw32*)
14353 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14354 # as there is no search path for DLLs.
14355 hardcode_libdir_flag_spec='-L$libdir'
14356 allow_undefined_flag=unsupported
14357 always_export_symbols=no
14358 enable_shared_with_static_runtimes=yes
14359 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14361 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14363 # If the export-symbols file already is a .def file (1st line
14364 # is EXPORTS), use it as is; otherwise, prepend...
14365 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14366 cp $export_symbols $output_objdir/$soname.def;
14368 echo EXPORTS > $output_objdir/$soname.def;
14369 cat $export_symbols >> $output_objdir/$soname.def;
14371 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14379 hardcode_shlibpath_var=no
14380 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14381 export_dynamic_flag_spec='${wl}-E'
14382 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14383 # Instead, shared libraries are loaded at an image base (0x10000000 by
14384 # default) and relocated if they conflict, which is a slow very memory
14385 # consuming and fragmenting process. To avoid this, we pick a random,
14386 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14387 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14388 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14389 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14393 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14395 case $cc_basename,$host_cpu in
14396 pgcc*) # Portland Group C compiler
14397 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14398 tmp_addflag=' $pic_flag'
14400 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14401 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14402 tmp_addflag=' $pic_flag -Mnomain' ;;
14403 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14404 tmp_addflag=' -i_dynamic' ;;
14405 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14406 tmp_addflag=' -i_dynamic -nofor_main' ;;
14407 ifc* | ifort*) # Intel Fortran compiler
14408 tmp_addflag=' -nofor_main' ;;
14410 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14412 if test $supports_anon_versioning = yes; then
14413 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
14414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14415 $echo "local: *; };" >> $output_objdir/$libname.ver~
14416 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14424 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14425 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14434 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14438 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14439 *** create shared libraries on Solaris systems. Therefore, libtool
14440 *** is disabling shared libraries support. We urge you to upgrade GNU
14441 *** binutils to release 2.9.1 or newer. Another option is to modify
14442 *** your PATH or compiler configuration so that the native linker is
14443 *** used, and then restart.
14446 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14447 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14448 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14454 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14455 case `$LD -v 2>&1` in
14456 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14460 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14461 *** reliably create shared libraries on SCO systems. Therefore, libtool
14462 *** is disabling shared libraries support. We urge you to upgrade GNU
14463 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14464 *** your PATH or compiler configuration so that the native linker is
14465 *** used, and then restart.
14470 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14471 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14472 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14473 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14482 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14484 hardcode_direct=yes
14485 hardcode_shlibpath_var=no
14489 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14490 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14491 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14498 if test "$ld_shlibs" = no; then
14500 hardcode_libdir_flag_spec=
14501 export_dynamic_flag_spec=
14502 whole_archive_flag_spec=
14505 # PORTME fill in a description of your system's linker (not GNU ld)
14508 allow_undefined_flag=unsupported
14509 always_export_symbols=yes
14510 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'
14511 # Note: this linker hardcodes the directories in LIBPATH if there
14512 # are no directories specified by -L.
14513 hardcode_minus_L=yes
14514 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14515 # Neither direct hardcoding nor static linking is supported with a
14517 hardcode_direct=unsupported
14522 if test "$host_cpu" = ia64; then
14523 # On IA64, the linker does run time linking by default, so we don't
14524 # have to do anything special.
14525 aix_use_runtimelinking=no
14526 exp_sym_flag='-Bexport'
14529 # If we're using GNU nm, then we don't want the "-C" option.
14530 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14531 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14532 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'
14534 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'
14536 aix_use_runtimelinking=no
14538 # Test if we are trying to use run time linking or normal
14539 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14540 # need to do runtime linking.
14541 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14542 for ld_flag in $LDFLAGS; do
14543 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14544 aix_use_runtimelinking=yes
14551 exp_sym_flag='-bexport'
14552 no_entry_flag='-bnoentry'
14555 # When large executables or shared objects are built, AIX ld can
14556 # have problems creating the table of contents. If linking a library
14557 # or program results in "error TOC overflow" add -mminimal-toc to
14558 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14559 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14562 hardcode_direct=yes
14563 hardcode_libdir_separator=':'
14564 link_all_deplibs=yes
14566 if test "$GCC" = yes; then
14567 case $host_os in aix4.[012]|aix4.[012].*)
14568 # We only want to do this on AIX 4.2 and lower, the check
14569 # below for broken collect2 doesn't work under 4.3+
14570 collect2name=`${CC} -print-prog-name=collect2`
14571 if test -f "$collect2name" && \
14572 strings "$collect2name" | grep resolve_lib_name >/dev/null
14574 # We have reworked collect2
14575 hardcode_direct=yes
14577 # We have old collect2
14578 hardcode_direct=unsupported
14579 # It fails to find uninstalled libraries when the uninstalled
14580 # path is not listed in the libpath. Setting hardcode_minus_L
14581 # to unsupported forces relinking
14582 hardcode_minus_L=yes
14583 hardcode_libdir_flag_spec='-L$libdir'
14584 hardcode_libdir_separator=
14588 shared_flag='-shared'
14589 if test "$aix_use_runtimelinking" = yes; then
14590 shared_flag="$shared_flag "'${wl}-G'
14594 if test "$host_cpu" = ia64; then
14595 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14596 # chokes on -Wl,-G. The following line is correct:
14599 if test "$aix_use_runtimelinking" = yes; then
14600 shared_flag='${wl}-G'
14602 shared_flag='${wl}-bM:SRE'
14607 # It seems that -bexpall does not export symbols beginning with
14608 # underscore (_), so it is better to generate a list of symbols to export.
14609 always_export_symbols=yes
14610 if test "$aix_use_runtimelinking" = yes; then
14611 # Warning - without using the other runtime loading flags (-brtl),
14612 # -berok will link without error, but may produce a broken library.
14613 allow_undefined_flag='-berok'
14614 # Determine the default libpath from the value encoded in an empty executable.
14615 cat >conftest.$ac_ext <<_ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14630 rm -f conftest.$ac_objext conftest$ac_exeext
14631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14632 (eval $ac_link) 2>conftest.er1
14634 grep -v '^ *+' conftest.er1 >conftest.err
14636 cat conftest.err >&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try='test -z "$ac_c_werror_flag"
14640 || test ! -s conftest.err'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; } &&
14646 { ac_try='test -s conftest$ac_exeext'
14647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; }; then
14653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14655 # Check for a 64-bit object if we didn't find anything.
14656 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; }
14659 echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14663 rm -f conftest.err conftest.$ac_objext \
14664 conftest$ac_exeext conftest.$ac_ext
14665 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14667 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14668 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14670 if test "$host_cpu" = ia64; then
14671 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
14672 allow_undefined_flag="-z nodefs"
14673 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14675 # Determine the default libpath from the value encoded in an empty executable.
14676 cat >conftest.$ac_ext <<_ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14691 rm -f conftest.$ac_objext conftest$ac_exeext
14692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14693 (eval $ac_link) 2>conftest.er1
14695 grep -v '^ *+' conftest.er1 >conftest.err
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } &&
14700 { ac_try='test -z "$ac_c_werror_flag"
14701 || test ! -s conftest.err'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; } &&
14707 { ac_try='test -s conftest$ac_exeext'
14708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14709 (eval $ac_try) 2>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); }; }; then
14714 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14716 # Check for a 64-bit object if we didn't find anything.
14717 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; }
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14724 rm -f conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14726 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14728 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14729 # Warning - without using the other run time loading flags,
14730 # -berok will link without error, but may produce a broken library.
14731 no_undefined_flag=' ${wl}-bernotok'
14732 allow_undefined_flag=' ${wl}-berok'
14733 # Exported symbols can be pulled into shared objects from archives
14734 whole_archive_flag_spec='$convenience'
14735 archive_cmds_need_lc=yes
14736 # This is similar to how AIX traditionally builds its shared libraries.
14737 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14743 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)'
14744 hardcode_libdir_flag_spec='-L$libdir'
14745 hardcode_minus_L=yes
14746 # see comment about different semantics on the GNU ld section
14751 export_dynamic_flag_spec=-rdynamic
14754 cygwin* | mingw* | pw32*)
14755 # When not using gcc, we currently assume that we are using
14756 # Microsoft Visual C++.
14757 # hardcode_libdir_flag_spec is actually meaningless, as there is
14758 # no search path for DLLs.
14759 hardcode_libdir_flag_spec=' '
14760 allow_undefined_flag=unsupported
14761 # Tell ltmain to make .lib files, not .a files.
14763 # Tell ltmain to make .dll files, not .so files.
14765 # FIXME: Setting linknames here is a bad hack.
14766 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14767 # The linker will automatically build a .lib file if we build a DLL.
14768 old_archive_From_new_cmds='true'
14769 # FIXME: Should let the user specify the lib program.
14770 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
14771 fix_srcfile_path='`cygpath -w "$srcfile"`'
14772 enable_shared_with_static_runtimes=yes
14775 darwin* | rhapsody*)
14777 rhapsody* | darwin1.[012])
14778 allow_undefined_flag='${wl}-undefined ${wl}suppress'
14781 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14782 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14784 case ${MACOSX_DEPLOYMENT_TARGET} in
14786 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14789 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
14795 archive_cmds_need_lc=no
14797 hardcode_automatic=yes
14798 hardcode_shlibpath_var=unsupported
14799 whole_archive_flag_spec=''
14800 link_all_deplibs=yes
14801 if test "$GCC" = yes ; then
14802 output_verbose_link_cmd='echo'
14803 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14804 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14805 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14806 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}'
14807 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}'
14809 case $cc_basename in
14811 output_verbose_link_cmd='echo'
14812 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14813 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14814 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14815 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14816 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}'
14826 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14827 hardcode_libdir_flag_spec='-L$libdir'
14828 hardcode_shlibpath_var=no
14835 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14836 # support. Future versions do this automatically, but an explicit c++rt0.o
14837 # does not break anything, and helps significantly (at the cost of a little
14840 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14841 hardcode_libdir_flag_spec='-R$libdir'
14842 hardcode_direct=yes
14843 hardcode_shlibpath_var=no
14846 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14848 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14849 hardcode_direct=yes
14850 hardcode_minus_L=yes
14851 hardcode_shlibpath_var=no
14854 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14855 freebsd* | kfreebsd*-gnu | dragonfly*)
14856 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14857 hardcode_libdir_flag_spec='-R$libdir'
14858 hardcode_direct=yes
14859 hardcode_shlibpath_var=no
14863 if test "$GCC" = yes; then
14864 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'
14866 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'
14868 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14869 hardcode_libdir_separator=:
14870 hardcode_direct=yes
14872 # hardcode_minus_L: Not really in the search PATH,
14873 # but as the default location of the library.
14874 hardcode_minus_L=yes
14875 export_dynamic_flag_spec='${wl}-E'
14879 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14880 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14882 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14884 if test "$with_gnu_ld" = no; then
14885 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14886 hardcode_libdir_separator=:
14888 hardcode_direct=yes
14889 export_dynamic_flag_spec='${wl}-E'
14891 # hardcode_minus_L: Not really in the search PATH,
14892 # but as the default location of the library.
14893 hardcode_minus_L=yes
14898 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14901 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14904 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14907 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14913 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14916 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14919 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14923 if test "$with_gnu_ld" = no; then
14924 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
14925 hardcode_libdir_separator=:
14929 hardcode_libdir_flag_spec_ld='+b $libdir'
14931 hardcode_shlibpath_var=no
14934 hardcode_direct=yes
14935 export_dynamic_flag_spec='${wl}-E'
14937 # hardcode_minus_L: Not really in the search PATH,
14938 # but as the default location of the library.
14939 hardcode_minus_L=yes
14945 irix5* | irix6* | nonstopux*)
14946 if test "$GCC" = yes; then
14947 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'
14949 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'
14950 hardcode_libdir_flag_spec_ld='-rpath $libdir'
14952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14953 hardcode_libdir_separator=:
14954 link_all_deplibs=yes
14958 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14959 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14961 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14963 hardcode_libdir_flag_spec='-R$libdir'
14964 hardcode_direct=yes
14965 hardcode_shlibpath_var=no
14969 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14970 hardcode_direct=yes
14971 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14972 hardcode_libdir_separator=:
14973 hardcode_shlibpath_var=no
14977 hardcode_direct=yes
14978 hardcode_shlibpath_var=no
14979 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14980 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14981 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14982 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14983 export_dynamic_flag_spec='${wl}-E'
14986 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14987 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14988 hardcode_libdir_flag_spec='-R$libdir'
14991 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14992 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
14999 hardcode_libdir_flag_spec='-L$libdir'
15000 hardcode_minus_L=yes
15001 allow_undefined_flag=unsupported
15002 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'
15003 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15007 if test "$GCC" = yes; then
15008 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15009 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'
15011 allow_undefined_flag=' -expect_unresolved \*'
15012 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'
15014 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15015 hardcode_libdir_separator=:
15018 osf4* | osf5*) # as osf3* with the addition of -msym flag
15019 if test "$GCC" = yes; then
15020 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15021 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'
15022 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15024 allow_undefined_flag=' -expect_unresolved \*'
15025 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'
15026 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15027 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15029 # Both c and cxx compiler support -rpath directly
15030 hardcode_libdir_flag_spec='-rpath $libdir'
15032 hardcode_libdir_separator=:
15036 no_undefined_flag=' -z text'
15037 if test "$GCC" = yes; then
15039 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15040 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15041 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15044 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15045 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15046 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15048 hardcode_libdir_flag_spec='-R$libdir'
15049 hardcode_shlibpath_var=no
15051 solaris2.[0-5] | solaris2.[0-5].*) ;;
15053 # The compiler driver will combine linker options so we
15054 # cannot just pass the convience library names through
15055 # without $wl, iff we do not link with $LD.
15056 # Luckily, gcc supports the same syntax we need for Sun Studio.
15057 # Supported since Solaris 2.6 (maybe 2.5.1?)
15060 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
15062 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15065 link_all_deplibs=yes
15069 if test "x$host_vendor" = xsequent; then
15070 # Use $CC to link under sequent, because it throws in some extra .o
15071 # files that make .init and .fini sections work.
15072 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15074 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15076 hardcode_libdir_flag_spec='-L$libdir'
15077 hardcode_direct=yes
15078 hardcode_minus_L=yes
15079 hardcode_shlibpath_var=no
15083 case $host_vendor in
15085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15086 hardcode_direct=yes # is this really true???
15089 ## LD is ld it makes a PLAMLIB
15090 ## CC just makes a GrossModule.
15091 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15092 reload_cmds='$CC -r -o $output$reload_objs'
15096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15097 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15100 runpath_var='LD_RUN_PATH'
15101 hardcode_shlibpath_var=no
15105 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15106 hardcode_shlibpath_var=no
15107 export_dynamic_flag_spec='-Bexport'
15111 if test -d /usr/nec; then
15112 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15113 hardcode_shlibpath_var=no
15114 runpath_var=LD_RUN_PATH
15115 hardcode_runpath_var=yes
15120 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15121 no_undefined_flag='${wl}-z,text'
15122 archive_cmds_need_lc=no
15123 hardcode_shlibpath_var=no
15124 runpath_var='LD_RUN_PATH'
15126 if test "$GCC" = yes; then
15127 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15128 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15130 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15131 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15135 sysv5* | sco3.2v5* | sco5v6*)
15136 # Note: We can NOT use -z defs as we might desire, because we do not
15137 # link with -lc, and that would cause any symbols used from libc to
15138 # always be unresolved, which means just about no library would
15139 # ever link correctly. If we're not using GNU ld we use -z text
15140 # though, which does catch some bad symbols but isn't as heavy-handed
15142 no_undefined_flag='${wl}-z,text'
15143 allow_undefined_flag='${wl}-z,nodefs'
15144 archive_cmds_need_lc=no
15145 hardcode_shlibpath_var=no
15146 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15147 hardcode_libdir_separator=':'
15148 link_all_deplibs=yes
15149 export_dynamic_flag_spec='${wl}-Bexport'
15150 runpath_var='LD_RUN_PATH'
15152 if test "$GCC" = yes; then
15153 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15154 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15156 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15157 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15163 hardcode_libdir_flag_spec='-L$libdir'
15164 hardcode_shlibpath_var=no
15173 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15174 echo "${ECHO_T}$ld_shlibs" >&6
15175 test "$ld_shlibs" = no && can_build_shared=no
15178 # Do we need to explicitly link libc?
15180 case "x$archive_cmds_need_lc" in
15182 # Assume -lc should be added
15183 archive_cmds_need_lc=yes
15185 if test "$enable_shared" = yes && test "$GCC" = yes; then
15186 case $archive_cmds in
15188 # FIXME: we may have to deal with multi-command sequences.
15191 # Test whether the compiler implicitly links with -lc since on some
15192 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15193 # to ld, don't add -lc before -lgcc.
15194 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15195 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15197 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15200 (eval $ac_compile) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } 2>conftest.err; then
15206 libobjs=conftest.$ac_objext
15208 wl=$lt_prog_compiler_wl
15209 pic_flag=$lt_prog_compiler_pic
15215 lt_save_allow_undefined_flag=$allow_undefined_flag
15216 allow_undefined_flag=
15217 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15218 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }
15223 archive_cmds_need_lc=no
15225 archive_cmds_need_lc=yes
15227 allow_undefined_flag=$lt_save_allow_undefined_flag
15229 cat conftest.err 1>&5
15232 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15233 echo "${ECHO_T}$archive_cmds_need_lc" >&6
15240 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15241 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15242 library_names_spec=
15243 libname_spec='lib$name'
15247 postuninstall_cmds=
15251 shlibpath_overrides_runpath=unknown
15253 dynamic_linker="$host_os ld.so"
15254 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15255 if test "$GCC" = yes; then
15256 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15257 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15258 # if the path contains ";" then we assume it to be the separator
15259 # otherwise default to the standard path separator (i.e. ":") - it is
15260 # assumed that no part of a normal pathname contains ";" but that should
15261 # okay in the real world where ";" in dirpaths is itself problematic.
15262 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15264 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15267 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15269 need_lib_prefix=unknown
15270 hardcode_into_libs=no
15272 # when you set need_version to no, make sure it does not cause -set_version
15273 # flags to be left without arguments
15274 need_version=unknown
15279 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15280 shlibpath_var=LIBPATH
15282 # AIX 3 has no versioning support, so we append a major version to the name.
15283 soname_spec='${libname}${release}${shared_ext}$major'
15290 hardcode_into_libs=yes
15291 if test "$host_cpu" = ia64; then
15292 # AIX 5 supports IA64
15293 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15294 shlibpath_var=LD_LIBRARY_PATH
15296 # With GCC up to 2.95.x, collect2 would create an import file
15297 # for dependence libraries. The import file would start with
15298 # the line `#! .'. This would cause the generated library to
15299 # depend on `.', always an invalid library. This was fixed in
15300 # development snapshots of GCC prior to 3.0.
15302 aix4 | aix4.[01] | aix4.[01].*)
15303 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15305 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15308 can_build_shared=no
15312 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15313 # soname into executable. Probably we can add versioning support to
15314 # collect2, so additional links can be useful in future.
15315 if test "$aix_use_runtimelinking" = yes; then
15316 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15317 # instead of lib<name>.a to let people know that these are not
15318 # typical AIX shared libraries.
15319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15321 # We preserve .a as extension for shared libraries through AIX4.2
15322 # and later when we are not doing run time linking.
15323 library_names_spec='${libname}${release}.a $libname.a'
15324 soname_spec='${libname}${release}${shared_ext}$major'
15326 shlibpath_var=LIBPATH
15331 library_names_spec='$libname.ixlibrary $libname.a'
15332 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15333 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'
15337 library_names_spec='${libname}${shared_ext}'
15338 dynamic_linker="$host_os ld.so"
15339 shlibpath_var=LIBRARY_PATH
15345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 soname_spec='${libname}${release}${shared_ext}$major'
15347 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15348 shlibpath_var=LD_LIBRARY_PATH
15349 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15350 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15351 # the default ld.so.conf also contains /usr/contrib/lib and
15352 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15353 # libtool to hard-code these into programs
15356 cygwin* | mingw* | pw32*)
15357 version_type=windows
15362 case $GCC,$host_os in
15363 yes,cygwin* | yes,mingw* | yes,pw32*)
15364 library_names_spec='$libname.dll.a'
15365 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15366 postinstall_cmds='base_file=`basename \${file}`~
15367 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15368 dldir=$destdir/`dirname \$dlpath`~
15369 test -d \$dldir || mkdir -p \$dldir~
15370 $install_prog $dir/$dlname \$dldir/$dlname~
15371 chmod a+x \$dldir/$dlname'
15372 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15373 dlpath=$dir/\$dldll~
15375 shlibpath_overrides_runpath=yes
15379 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15380 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15381 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15384 # MinGW DLLs use traditional 'lib' prefix
15385 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15386 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15387 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15388 # It is most probably a Windows format PATH printed by
15389 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15390 # path with ; separators, and with drive letters. We can handle the
15391 # drive letters (cygwin fileutils understands them), so leave them,
15392 # especially as we might pass files found there to a mingw objdump,
15393 # which wouldn't understand a cygwinified path. Ahh.
15394 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15396 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15400 # pw32 DLLs use 'pw' prefix rather than 'lib'
15401 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15407 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15410 dynamic_linker='Win32 ld.exe'
15411 # FIXME: first we should search . and the directory the executable is in
15415 darwin* | rhapsody*)
15416 dynamic_linker="$host_os dyld"
15417 version_type=darwin
15420 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15421 soname_spec='${libname}${release}${major}$shared_ext'
15422 shlibpath_overrides_runpath=yes
15423 shlibpath_var=DYLD_LIBRARY_PATH
15424 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15425 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15426 if test "$GCC" = yes; then
15427 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"`
15429 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15431 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15439 soname_spec='${libname}${release}${shared_ext}$major'
15440 shlibpath_var=LD_LIBRARY_PATH
15451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15452 soname_spec='${libname}${release}${shared_ext}$major'
15453 shlibpath_var=LD_LIBRARY_PATH
15454 shlibpath_overrides_runpath=no
15455 hardcode_into_libs=yes
15456 dynamic_linker='GNU ld.so'
15459 freebsd* | dragonfly*)
15460 # DragonFly does not have aout. When/if they implement a new
15461 # versioning mechanism, adjust this.
15462 if test -x /usr/bin/objformat; then
15463 objformat=`/usr/bin/objformat`
15466 freebsd[123]*) objformat=aout ;;
15467 *) objformat=elf ;;
15470 version_type=freebsd-$objformat
15471 case $version_type in
15473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15482 shlibpath_var=LD_LIBRARY_PATH
15485 shlibpath_overrides_runpath=yes
15487 freebsd3.[01]* | freebsdelf3.[01]*)
15488 shlibpath_overrides_runpath=yes
15489 hardcode_into_libs=yes
15491 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15492 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15493 shlibpath_overrides_runpath=no
15494 hardcode_into_libs=yes
15496 freebsd*) # from 4.6 on
15497 shlibpath_overrides_runpath=yes
15498 hardcode_into_libs=yes
15507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15508 soname_spec='${libname}${release}${shared_ext}$major'
15509 shlibpath_var=LD_LIBRARY_PATH
15510 hardcode_into_libs=yes
15513 hpux9* | hpux10* | hpux11*)
15514 # Give a soname corresponding to the major version so that dld.sl refuses to
15515 # link against other versions.
15522 hardcode_into_libs=yes
15523 dynamic_linker="$host_os dld.so"
15524 shlibpath_var=LD_LIBRARY_PATH
15525 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15527 soname_spec='${libname}${release}${shared_ext}$major'
15528 if test "X$HPUX_IA64_MODE" = X32; then
15529 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15531 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15537 hardcode_into_libs=yes
15538 dynamic_linker="$host_os dld.sl"
15539 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15540 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15542 soname_spec='${libname}${release}${shared_ext}$major'
15543 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15544 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15548 dynamic_linker="$host_os dld.sl"
15549 shlibpath_var=SHLIB_PATH
15550 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15552 soname_spec='${libname}${release}${shared_ext}$major'
15555 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15556 postinstall_cmds='chmod 555 $lib'
15563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15564 soname_spec='${libname}${release}${shared_ext}$major'
15565 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15566 shlibpath_var=LD_LIBRARY_PATH
15567 shlibpath_overrides_runpath=no
15568 hardcode_into_libs=yes
15571 irix5* | irix6* | nonstopux*)
15573 nonstopux*) version_type=nonstopux ;;
15575 if test "$lt_cv_prog_gnu_ld" = yes; then
15583 soname_spec='${libname}${release}${shared_ext}$major'
15584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15586 irix5* | nonstopux*)
15587 libsuff= shlibsuff=
15590 case $LD in # libtool.m4 will add one of these switches to LD
15591 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15592 libsuff= shlibsuff= libmagic=32-bit;;
15593 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15594 libsuff=32 shlibsuff=N32 libmagic=N32;;
15595 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15596 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15597 *) libsuff= shlibsuff= libmagic=never-match;;
15601 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15602 shlibpath_overrides_runpath=no
15603 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15604 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15605 hardcode_into_libs=yes
15608 # No shared lib support for Linux oldld, aout, or coff.
15609 linux*oldld* | linux*aout* | linux*coff*)
15613 # This must be Linux ELF.
15618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15619 soname_spec='${libname}${release}${shared_ext}$major'
15620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15621 shlibpath_var=LD_LIBRARY_PATH
15622 shlibpath_overrides_runpath=no
15623 # This implies no fast_install, which is unacceptable.
15624 # Some rework will be needed to allow for fast_install
15625 # before this can be enabled.
15626 hardcode_into_libs=yes
15628 # find out which ABI we are using
15630 case "$host_cpu" in
15631 x86_64*|s390x*|powerpc64*)
15632 echo '#line 15632 "configure"' > conftest.$ac_ext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15634 (eval $ac_compile) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; then
15638 case `/usr/bin/file conftest.$ac_objext` in
15641 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15649 # Append ld.so.conf contents to the search path
15650 if test -f /etc/ld.so.conf; then
15651 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15652 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15655 # We used to test for /lib/ld.so.1 and disable shared libraries on
15656 # powerpc, because MkLinux only supported shared libraries with the
15657 # GNU dynamic linker. Since this was broken with cross compilers,
15658 # most powerpc-linux boxes support dynamic linking these days and
15659 # people can always --disable-shared, the test was removed, and we
15660 # assume the GNU/Linux dynamic linker is in use.
15661 dynamic_linker='GNU/Linux ld.so'
15668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15669 soname_spec='${libname}${release}${shared_ext}$major'
15670 shlibpath_var=LD_LIBRARY_PATH
15671 shlibpath_overrides_runpath=no
15672 hardcode_into_libs=yes
15673 dynamic_linker='GNU ld.so'
15680 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15682 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15683 dynamic_linker='NetBSD (a.out) ld.so'
15685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15686 soname_spec='${libname}${release}${shared_ext}$major'
15687 dynamic_linker='NetBSD ld.elf_so'
15689 shlibpath_var=LD_LIBRARY_PATH
15690 shlibpath_overrides_runpath=yes
15691 hardcode_into_libs=yes
15696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 shlibpath_var=LD_LIBRARY_PATH
15698 shlibpath_overrides_runpath=yes
15705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 soname_spec='${libname}${release}${shared_ext}$major'
15707 shlibpath_var=LD_LIBRARY_PATH
15708 shlibpath_overrides_runpath=yes
15713 sys_lib_dlsearch_path_spec="/usr/lib"
15715 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15717 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15718 *) need_version=no ;;
15720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15721 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15722 shlibpath_var=LD_LIBRARY_PATH
15723 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15725 openbsd2.[89] | openbsd2.[89].*)
15726 shlibpath_overrides_runpath=no
15729 shlibpath_overrides_runpath=yes
15733 shlibpath_overrides_runpath=yes
15738 libname_spec='$name'
15741 library_names_spec='$libname${shared_ext} $libname.a'
15742 dynamic_linker='OS/2 ld.exe'
15743 shlibpath_var=LIBPATH
15746 osf3* | osf4* | osf5*)
15750 soname_spec='${libname}${release}${shared_ext}$major'
15751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15752 shlibpath_var=LD_LIBRARY_PATH
15753 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15754 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15762 soname_spec='${libname}${release}${shared_ext}$major'
15763 shlibpath_var=LD_LIBRARY_PATH
15764 shlibpath_overrides_runpath=yes
15765 hardcode_into_libs=yes
15766 # ldd complains unless libraries are executable
15767 postinstall_cmds='chmod +x $lib'
15772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15774 shlibpath_var=LD_LIBRARY_PATH
15775 shlibpath_overrides_runpath=yes
15776 if test "$with_gnu_ld" = yes; then
15784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15785 soname_spec='${libname}${release}${shared_ext}$major'
15786 shlibpath_var=LD_LIBRARY_PATH
15787 case $host_vendor in
15789 shlibpath_overrides_runpath=no
15791 export_dynamic_flag_spec='${wl}-Blargedynsym'
15792 runpath_var=LD_RUN_PATH
15800 shlibpath_overrides_runpath=no
15801 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15807 if test -d /usr/nec ;then
15809 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15810 soname_spec='$libname${shared_ext}.$major'
15811 shlibpath_var=LD_LIBRARY_PATH
15815 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15816 version_type=freebsd-elf
15819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15820 soname_spec='${libname}${release}${shared_ext}$major'
15821 shlibpath_var=LD_LIBRARY_PATH
15822 hardcode_into_libs=yes
15823 if test "$with_gnu_ld" = yes; then
15824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15825 shlibpath_overrides_runpath=no
15827 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15828 shlibpath_overrides_runpath=yes
15831 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15835 sys_lib_dlsearch_path_spec='/usr/lib'
15840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15841 soname_spec='${libname}${release}${shared_ext}$major'
15842 shlibpath_var=LD_LIBRARY_PATH
15849 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15850 echo "${ECHO_T}$dynamic_linker" >&6
15851 test "$dynamic_linker" = no && can_build_shared=no
15853 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15854 if test "$GCC" = yes; then
15855 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15858 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15859 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15861 if test -n "$hardcode_libdir_flag_spec" || \
15862 test -n "$runpath_var" || \
15863 test "X$hardcode_automatic" = "Xyes" ; then
15865 # We can hardcode non-existant directories.
15866 if test "$hardcode_direct" != no &&
15867 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15868 # have to relink, otherwise we might link with an installed library
15869 # when we should be linking with a yet-to-be-installed one
15870 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
15871 test "$hardcode_minus_L" != no; then
15872 # Linking always hardcodes the temporary library directory.
15873 hardcode_action=relink
15875 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15876 hardcode_action=immediate
15879 # We cannot hardcode anything, or else we can only hardcode existing
15881 hardcode_action=unsupported
15883 echo "$as_me:$LINENO: result: $hardcode_action" >&5
15884 echo "${ECHO_T}$hardcode_action" >&6
15886 if test "$hardcode_action" = relink; then
15887 # Fast installation is not supported
15888 enable_fast_install=no
15889 elif test "$shlibpath_overrides_runpath" = yes ||
15890 test "$enable_shared" = no; then
15891 # Fast installation is not necessary
15892 enable_fast_install=needless
15897 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15898 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15899 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15900 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15901 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15902 echo "$as_me:$LINENO: result: yes" >&5
15903 echo "${ECHO_T}yes" >&6
15905 # FIXME - insert some real tests, host_os isn't really good enough
15908 if test -n "$STRIP" ; then
15909 striplib="$STRIP -x"
15910 echo "$as_me:$LINENO: result: yes" >&5
15911 echo "${ECHO_T}yes" >&6
15913 echo "$as_me:$LINENO: result: no" >&5
15914 echo "${ECHO_T}no" >&6
15918 echo "$as_me:$LINENO: result: no" >&5
15919 echo "${ECHO_T}no" >&6
15924 if test "x$enable_dlopen" != xyes; then
15925 enable_dlopen=unknown
15926 enable_dlopen_self=unknown
15927 enable_dlopen_self_static=unknown
15934 lt_cv_dlopen="load_add_on"
15936 lt_cv_dlopen_self=yes
15940 lt_cv_dlopen="LoadLibrary"
15945 lt_cv_dlopen="dlopen"
15950 # if libdl is installed we need to link against it
15951 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15952 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15953 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 ac_check_lib_save_LIBS=$LIBS
15958 cat >conftest.$ac_ext <<_ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15965 /* Override any gcc2 internal prototype to avoid an error. */
15969 /* We use char because int might match the return type of a gcc2
15970 builtin and then its argument prototype would still apply. */
15980 rm -f conftest.$ac_objext conftest$ac_exeext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15982 (eval $ac_link) 2>conftest.er1
15984 grep -v '^ *+' conftest.er1 >conftest.err
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try='test -z "$ac_c_werror_flag"
15990 || test ! -s conftest.err'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; } &&
15996 { ac_try='test -s conftest$ac_exeext'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; }; then
16002 ac_cv_lib_dl_dlopen=yes
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16007 ac_cv_lib_dl_dlopen=no
16009 rm -f conftest.err conftest.$ac_objext \
16010 conftest$ac_exeext conftest.$ac_ext
16011 LIBS=$ac_check_lib_save_LIBS
16013 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16014 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16015 if test $ac_cv_lib_dl_dlopen = yes; then
16016 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16019 lt_cv_dlopen="dyld"
16021 lt_cv_dlopen_self=yes
16028 echo "$as_me:$LINENO: checking for shl_load" >&5
16029 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16030 if test "${ac_cv_func_shl_load+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 cat >conftest.$ac_ext <<_ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16041 #define shl_load innocuous_shl_load
16043 /* System header to define __stub macros and hopefully few prototypes,
16044 which can conflict with char shl_load (); below.
16045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16046 <limits.h> exists even on freestanding compilers. */
16049 # include <limits.h>
16051 # include <assert.h>
16056 /* Override any gcc2 internal prototype to avoid an error. */
16061 /* We use char because int might match the return type of a gcc2
16062 builtin and then its argument prototype would still apply. */
16064 /* The GNU C library defines this for functions which it implements
16065 to always fail with ENOSYS. Some functions are actually named
16066 something starting with __ and the normal name is an alias. */
16067 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16070 char (*f) () = shl_load;
16079 return f != shl_load;
16084 rm -f conftest.$ac_objext conftest$ac_exeext
16085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16086 (eval $ac_link) 2>conftest.er1
16088 grep -v '^ *+' conftest.er1 >conftest.err
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } &&
16093 { ac_try='test -z "$ac_c_werror_flag"
16094 || test ! -s conftest.err'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; } &&
16100 { ac_try='test -s conftest$ac_exeext'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; }; then
16106 ac_cv_func_shl_load=yes
16108 echo "$as_me: failed program was:" >&5
16109 sed 's/^/| /' conftest.$ac_ext >&5
16111 ac_cv_func_shl_load=no
16113 rm -f conftest.err conftest.$ac_objext \
16114 conftest$ac_exeext conftest.$ac_ext
16116 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16117 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16118 if test $ac_cv_func_shl_load = yes; then
16119 lt_cv_dlopen="shl_load"
16121 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16122 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16123 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 ac_check_lib_save_LIBS=$LIBS
16128 cat >conftest.$ac_ext <<_ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16135 /* Override any gcc2 internal prototype to avoid an error. */
16139 /* We use char because int might match the return type of a gcc2
16140 builtin and then its argument prototype would still apply. */
16150 rm -f conftest.$ac_objext conftest$ac_exeext
16151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16152 (eval $ac_link) 2>conftest.er1
16154 grep -v '^ *+' conftest.er1 >conftest.err
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_c_werror_flag"
16160 || test ! -s conftest.err'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; } &&
16166 { ac_try='test -s conftest$ac_exeext'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 ac_cv_lib_dld_shl_load=yes
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.$ac_ext >&5
16177 ac_cv_lib_dld_shl_load=no
16179 rm -f conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16181 LIBS=$ac_check_lib_save_LIBS
16183 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16184 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
16185 if test $ac_cv_lib_dld_shl_load = yes; then
16186 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16188 echo "$as_me:$LINENO: checking for dlopen" >&5
16189 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
16190 if test "${ac_cv_func_dlopen+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 cat >conftest.$ac_ext <<_ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16201 #define dlopen innocuous_dlopen
16203 /* System header to define __stub macros and hopefully few prototypes,
16204 which can conflict with char dlopen (); below.
16205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16206 <limits.h> exists even on freestanding compilers. */
16209 # include <limits.h>
16211 # include <assert.h>
16216 /* Override any gcc2 internal prototype to avoid an error. */
16221 /* We use char because int might match the return type of a gcc2
16222 builtin and then its argument prototype would still apply. */
16224 /* The GNU C library defines this for functions which it implements
16225 to always fail with ENOSYS. Some functions are actually named
16226 something starting with __ and the normal name is an alias. */
16227 #if defined (__stub_dlopen) || defined (__stub___dlopen)
16230 char (*f) () = dlopen;
16239 return f != dlopen;
16244 rm -f conftest.$ac_objext conftest$ac_exeext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16246 (eval $ac_link) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1 >conftest.err
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try='test -s conftest$ac_exeext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_cv_func_dlopen=yes
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16271 ac_cv_func_dlopen=no
16273 rm -f conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16276 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16277 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
16278 if test $ac_cv_func_dlopen = yes; then
16279 lt_cv_dlopen="dlopen"
16281 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16282 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16283 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 ac_check_lib_save_LIBS=$LIBS
16288 cat >conftest.$ac_ext <<_ACEOF
16291 cat confdefs.h >>conftest.$ac_ext
16292 cat >>conftest.$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16295 /* Override any gcc2 internal prototype to avoid an error. */
16299 /* We use char because int might match the return type of a gcc2
16300 builtin and then its argument prototype would still apply. */
16310 rm -f conftest.$ac_objext conftest$ac_exeext
16311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16312 (eval $ac_link) 2>conftest.er1
16314 grep -v '^ *+' conftest.er1 >conftest.err
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } &&
16319 { ac_try='test -z "$ac_c_werror_flag"
16320 || test ! -s conftest.err'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; } &&
16326 { ac_try='test -s conftest$ac_exeext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_cv_lib_dl_dlopen=yes
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.$ac_ext >&5
16337 ac_cv_lib_dl_dlopen=no
16339 rm -f conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16341 LIBS=$ac_check_lib_save_LIBS
16343 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16344 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16345 if test $ac_cv_lib_dl_dlopen = yes; then
16346 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16348 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16349 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
16350 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 ac_check_lib_save_LIBS=$LIBS
16354 LIBS="-lsvld $LIBS"
16355 cat >conftest.$ac_ext <<_ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16362 /* Override any gcc2 internal prototype to avoid an error. */
16366 /* We use char because int might match the return type of a gcc2
16367 builtin and then its argument prototype would still apply. */
16377 rm -f conftest.$ac_objext conftest$ac_exeext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16379 (eval $ac_link) 2>conftest.er1
16381 grep -v '^ *+' conftest.er1 >conftest.err
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try='test -z "$ac_c_werror_flag"
16387 || test ! -s conftest.err'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; } &&
16393 { ac_try='test -s conftest$ac_exeext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16399 ac_cv_lib_svld_dlopen=yes
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.$ac_ext >&5
16404 ac_cv_lib_svld_dlopen=no
16406 rm -f conftest.err conftest.$ac_objext \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_lib_save_LIBS
16410 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16411 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
16412 if test $ac_cv_lib_svld_dlopen = yes; then
16413 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16415 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16416 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
16417 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16418 echo $ECHO_N "(cached) $ECHO_C" >&6
16420 ac_check_lib_save_LIBS=$LIBS
16422 cat >conftest.$ac_ext <<_ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16429 /* Override any gcc2 internal prototype to avoid an error. */
16433 /* We use char because int might match the return type of a gcc2
16434 builtin and then its argument prototype would still apply. */
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16446 (eval $ac_link) 2>conftest.er1
16448 grep -v '^ *+' conftest.er1 >conftest.err
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -z "$ac_c_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try='test -s conftest$ac_exeext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_cv_lib_dld_dld_link=yes
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16471 ac_cv_lib_dld_dld_link=no
16473 rm -f conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16475 LIBS=$ac_check_lib_save_LIBS
16477 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16478 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
16479 if test $ac_cv_lib_dld_dld_link = yes; then
16480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16501 if test "x$lt_cv_dlopen" != xno; then
16507 case $lt_cv_dlopen in
16509 save_CPPFLAGS="$CPPFLAGS"
16510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16512 save_LDFLAGS="$LDFLAGS"
16513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16516 LIBS="$lt_cv_dlopen_libs $LIBS"
16518 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16519 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
16520 if test "${lt_cv_dlopen_self+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 if test "$cross_compiling" = yes; then :
16524 lt_cv_dlopen_self=cross
16526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16527 lt_status=$lt_dlunknown
16528 cat > conftest.$ac_ext <<EOF
16529 #line 16529 "configure"
16530 #include "confdefs.h"
16539 # define LT_DLGLOBAL RTLD_GLOBAL
16542 # define LT_DLGLOBAL DL_GLOBAL
16544 # define LT_DLGLOBAL 0
16548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16549 find out it does not work in some platform. */
16550 #ifndef LT_DLLAZY_OR_NOW
16552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
16555 # define LT_DLLAZY_OR_NOW DL_LAZY
16558 # define LT_DLLAZY_OR_NOW RTLD_NOW
16561 # define LT_DLLAZY_OR_NOW DL_NOW
16563 # define LT_DLLAZY_OR_NOW 0
16571 extern "C" void exit (int);
16574 void fnord() { int i=42;}
16577 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16578 int status = $lt_dlunknown;
16582 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16583 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16584 /* dlclose (self); */
16592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16593 (eval $ac_link) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16597 (./conftest; exit; ) >&5 2>/dev/null
16599 case x$lt_status in
16600 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16601 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16602 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
16605 # compilation failed
16606 lt_cv_dlopen_self=no
16613 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16614 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
16616 if test "x$lt_cv_dlopen_self" = xyes; then
16617 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
16618 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16619 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
16620 if test "${lt_cv_dlopen_self_static+set}" = set; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 if test "$cross_compiling" = yes; then :
16624 lt_cv_dlopen_self_static=cross
16626 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16627 lt_status=$lt_dlunknown
16628 cat > conftest.$ac_ext <<EOF
16629 #line 16629 "configure"
16630 #include "confdefs.h"
16639 # define LT_DLGLOBAL RTLD_GLOBAL
16642 # define LT_DLGLOBAL DL_GLOBAL
16644 # define LT_DLGLOBAL 0
16648 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16649 find out it does not work in some platform. */
16650 #ifndef LT_DLLAZY_OR_NOW
16652 # define LT_DLLAZY_OR_NOW RTLD_LAZY
16655 # define LT_DLLAZY_OR_NOW DL_LAZY
16658 # define LT_DLLAZY_OR_NOW RTLD_NOW
16661 # define LT_DLLAZY_OR_NOW DL_NOW
16663 # define LT_DLLAZY_OR_NOW 0
16671 extern "C" void exit (int);
16674 void fnord() { int i=42;}
16677 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16678 int status = $lt_dlunknown;
16682 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16683 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16684 /* dlclose (self); */
16692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16693 (eval $ac_link) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16697 (./conftest; exit; ) >&5 2>/dev/null
16699 case x$lt_status in
16700 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16701 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16702 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16705 # compilation failed
16706 lt_cv_dlopen_self_static=no
16713 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16714 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
16717 CPPFLAGS="$save_CPPFLAGS"
16718 LDFLAGS="$save_LDFLAGS"
16723 case $lt_cv_dlopen_self in
16724 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16725 *) enable_dlopen_self=unknown ;;
16728 case $lt_cv_dlopen_self_static in
16729 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16730 *) enable_dlopen_self_static=unknown ;;
16735 # Report which library types will actually be built
16736 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16737 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16738 echo "$as_me:$LINENO: result: $can_build_shared" >&5
16739 echo "${ECHO_T}$can_build_shared" >&6
16741 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16742 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
16743 test "$can_build_shared" = "no" && enable_shared=no
16745 # On AIX, shared libraries and static libraries use the same namespace, and
16746 # are all built from PIC.
16749 test "$enable_shared" = yes && enable_static=no
16750 if test -n "$RANLIB"; then
16751 archive_cmds="$archive_cmds~\$RANLIB \$lib"
16752 postinstall_cmds='$RANLIB $lib'
16757 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16758 test "$enable_shared" = yes && enable_static=no
16762 echo "$as_me:$LINENO: result: $enable_shared" >&5
16763 echo "${ECHO_T}$enable_shared" >&6
16765 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16766 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
16767 # Make sure either enable_shared or enable_static is yes.
16768 test "$enable_shared" = yes || enable_static=yes
16769 echo "$as_me:$LINENO: result: $enable_static" >&5
16770 echo "${ECHO_T}$enable_static" >&6
16772 # The else clause should only fire when bootstrapping the
16773 # libtool distribution, otherwise you forgot to ship ltmain.sh
16774 # with your package, and you will get complaints that there are
16775 # no rules to generate ltmain.sh.
16776 if test -f "$ltmain"; then
16777 # See if we are running on zsh, and set the options which allow our commands through
16778 # without removal of \ escapes.
16779 if test -n "${ZSH_VERSION+set}" ; then
16780 setopt NO_GLOB_SUBST
16782 # Now quote all the things that may contain metacharacters while being
16783 # careful not to overquote the AC_SUBSTed values. We take copies of the
16784 # variables and quote the copies for generation of the libtool script.
16785 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16787 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16788 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16789 deplibs_check_method reload_flag reload_cmds need_locks \
16790 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16791 lt_cv_sys_global_symbol_to_c_name_address \
16792 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16793 old_postinstall_cmds old_postuninstall_cmds \
16797 lt_prog_compiler_wl \
16798 lt_prog_compiler_pic \
16799 lt_prog_compiler_static \
16800 lt_prog_compiler_no_builtin_flag \
16801 export_dynamic_flag_spec \
16802 thread_safe_flag_spec \
16803 whole_archive_flag_spec \
16804 enable_shared_with_static_runtimes \
16806 old_archive_from_new_cmds \
16811 compiler_lib_search_path \
16813 archive_expsym_cmds \
16815 postuninstall_cmds \
16816 old_archive_from_expsyms_cmds \
16817 allow_undefined_flag \
16818 no_undefined_flag \
16819 export_symbols_cmds \
16820 hardcode_libdir_flag_spec \
16821 hardcode_libdir_flag_spec_ld \
16822 hardcode_libdir_separator \
16823 hardcode_automatic \
16825 module_expsym_cmds \
16826 lt_cv_prog_compiler_c_o \
16828 include_expsyms; do
16831 old_archive_cmds | \
16832 old_archive_from_new_cmds | \
16834 archive_expsym_cmds | \
16836 module_expsym_cmds | \
16837 old_archive_from_expsyms_cmds | \
16838 export_symbols_cmds | \
16839 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16840 postinstall_cmds | postuninstall_cmds | \
16841 old_postinstall_cmds | old_postuninstall_cmds | \
16842 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16843 # Double-quote double-evaled strings.
16844 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16847 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16853 *'\$0 --fallback-echo"')
16854 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16858 cfgfile="${ofile}T"
16859 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
16861 { echo "$as_me:$LINENO: creating $ofile" >&5
16862 echo "$as_me: creating $ofile" >&6;}
16864 cat <<__EOF__ >> "$cfgfile"
16867 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16868 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
16869 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16871 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
16872 # Free Software Foundation, Inc.
16874 # This file is part of GNU Libtool:
16875 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16877 # This program is free software; you can redistribute it and/or modify
16878 # it under the terms of the GNU General Public License as published by
16879 # the Free Software Foundation; either version 2 of the License, or
16880 # (at your option) any later version.
16882 # This program is distributed in the hope that it will be useful, but
16883 # WITHOUT ANY WARRANTY; without even the implied warranty of
16884 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16885 # General Public License for more details.
16887 # You should have received a copy of the GNU General Public License
16888 # along with this program; if not, write to the Free Software
16889 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16891 # As a special exception to the GNU General Public License, if you
16892 # distribute this file as part of a program that contains a
16893 # configuration script generated by Autoconf, you may include it under
16894 # the same distribution terms that you use for the rest of that program.
16896 # A sed program that does not truncate output.
16899 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16900 Xsed="$SED -e 1s/^X//"
16902 # The HP-UX ksh and POSIX shell print the target directory to stdout
16903 # if CDPATH is set.
16904 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16906 # The names of the tagged configurations supported by this script.
16909 # ### BEGIN LIBTOOL CONFIG
16911 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16913 # Shell to use when invoking shell scripts.
16916 # Whether or not to build shared libraries.
16917 build_libtool_libs=$enable_shared
16919 # Whether or not to build static libraries.
16920 build_old_libs=$enable_static
16922 # Whether or not to add -lc for building shared libraries.
16923 build_libtool_need_lc=$archive_cmds_need_lc
16925 # Whether or not to disallow shared libs when runtime libs are static
16926 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16928 # Whether or not to optimize for fast installation.
16929 fast_install=$enable_fast_install
16932 host_alias=$host_alias
16936 # The build system.
16937 build_alias=$build_alias
16941 # An echo program that does not interpret backslashes.
16946 AR_FLAGS=$lt_AR_FLAGS
16951 # LTCC compiler flags.
16952 LTCFLAGS=$lt_LTCFLAGS
16954 # A language-specific compiler.
16957 # Is the compiler the GNU C compiler?
16960 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
16961 gcc_ver=\`gcc -dumpversion\`
16966 # The linker used to build libraries.
16969 # Whether we need hard or soft links.
16972 # A BSD-compatible nm program.
16975 # A symbol stripping program
16978 # Used to examine libraries when file_magic_cmd begins "file"
16979 MAGIC_CMD=$MAGIC_CMD
16981 # Used on cygwin: DLL creation program.
16984 # Used on cygwin: object dumper.
16987 # Used on cygwin: assembler.
16990 # The name of the directory that contains temporary libtool files.
16993 # How to create reloadable object files.
16994 reload_flag=$lt_reload_flag
16995 reload_cmds=$lt_reload_cmds
16997 # How to pass a linker flag through the compiler.
16998 wl=$lt_lt_prog_compiler_wl
17000 # Object file suffix (normally "o").
17001 objext="$ac_objext"
17003 # Old archive suffix (normally "a").
17006 # Shared library suffix (normally ".so").
17007 shrext_cmds='$shrext_cmds'
17009 # Executable file suffix (normally "").
17012 # Additional compiler flags for building library objects.
17013 pic_flag=$lt_lt_prog_compiler_pic
17016 # What is the maximum length of a command?
17017 max_cmd_len=$lt_cv_sys_max_cmd_len
17019 # Does compiler simultaneously support -c and -o options?
17020 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17022 # Must we lock files when doing compilation?
17023 need_locks=$lt_need_locks
17025 # Do we need the lib prefix for modules?
17026 need_lib_prefix=$need_lib_prefix
17028 # Do we need a version for libraries?
17029 need_version=$need_version
17031 # Whether dlopen is supported.
17032 dlopen_support=$enable_dlopen
17034 # Whether dlopen of programs is supported.
17035 dlopen_self=$enable_dlopen_self
17037 # Whether dlopen of statically linked programs is supported.
17038 dlopen_self_static=$enable_dlopen_self_static
17040 # Compiler flag to prevent dynamic linking.
17041 link_static_flag=$lt_lt_prog_compiler_static
17043 # Compiler flag to turn off builtin functions.
17044 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17046 # Compiler flag to allow reflexive dlopens.
17047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17049 # Compiler flag to generate shared objects directly from archives.
17050 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17052 # Compiler flag to generate thread-safe objects.
17053 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17055 # Library versioning type.
17056 version_type=$version_type
17058 # Format of library name prefix.
17059 libname_spec=$lt_libname_spec
17061 # List of archive names. First name is the real one, the rest are links.
17062 # The last name is the one that the linker finds with -lNAME.
17063 library_names_spec=$lt_library_names_spec
17065 # The coded name of the library, if different from the real name.
17066 soname_spec=$lt_soname_spec
17068 # Commands used to build and install an old-style archive.
17070 old_archive_cmds=$lt_old_archive_cmds
17071 old_postinstall_cmds=$lt_old_postinstall_cmds
17072 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17074 # Create an old-style archive from a shared archive.
17075 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17077 # Create a temporary old-style archive to link instead of a shared archive.
17078 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17080 # Commands used to build and install a shared archive.
17081 archive_cmds=$lt_archive_cmds
17082 archive_expsym_cmds=$lt_archive_expsym_cmds
17083 postinstall_cmds=$lt_postinstall_cmds
17084 postuninstall_cmds=$lt_postuninstall_cmds
17086 # Commands used to build a loadable module (assumed same as above if empty)
17087 module_cmds=$lt_module_cmds
17088 module_expsym_cmds=$lt_module_expsym_cmds
17090 # Commands to strip libraries.
17091 old_striplib=$lt_old_striplib
17092 striplib=$lt_striplib
17094 # Dependencies to place before the objects being linked to create a
17096 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17098 # Dependencies to place after the objects being linked to create a
17100 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17102 # Dependencies to place before the objects being linked to create a
17104 predeps=$lt_predeps
17106 # Dependencies to place after the objects being linked to create a
17108 postdeps=$lt_postdeps
17110 # The library search path used internally by the compiler when linking
17111 # a shared library.
17112 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17114 # Method to check whether dependent libraries are shared objects.
17115 deplibs_check_method=$lt_deplibs_check_method
17117 # Command to use when deplibs_check_method == file_magic.
17118 file_magic_cmd=$lt_file_magic_cmd
17120 # Flag that allows shared libraries with undefined symbols to be built.
17121 allow_undefined_flag=$lt_allow_undefined_flag
17123 # Flag that forces no undefined symbols.
17124 no_undefined_flag=$lt_no_undefined_flag
17126 # Commands used to finish a libtool library installation in a directory.
17127 finish_cmds=$lt_finish_cmds
17129 # Same as above, but a single script fragment to be evaled but not shown.
17130 finish_eval=$lt_finish_eval
17132 # Take the output of nm and produce a listing of raw symbols and C names.
17133 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17135 # Transform the output of nm in a proper C declaration
17136 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17138 # Transform the output of nm in a C name address pair
17139 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17141 # This is the shared library runtime path variable.
17142 runpath_var=$runpath_var
17144 # This is the shared library path variable.
17145 shlibpath_var=$shlibpath_var
17147 # Is shlibpath searched before the hard-coded library search path?
17148 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17150 # How to hardcode a shared library path into an executable.
17151 hardcode_action=$hardcode_action
17153 # Whether we should hardcode library paths into libraries.
17154 hardcode_into_libs=$hardcode_into_libs
17156 # Flag to hardcode \$libdir into a binary during linking.
17157 # This must work even if \$libdir does not exist.
17158 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17160 # If ld is used when linking, flag to hardcode \$libdir into
17161 # a binary during linking. This must work even if \$libdir does
17163 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17165 # Whether we need a single -rpath flag with a separated argument.
17166 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17168 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17169 # resulting binary.
17170 hardcode_direct=$hardcode_direct
17172 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17173 # resulting binary.
17174 hardcode_minus_L=$hardcode_minus_L
17176 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17177 # the resulting binary.
17178 hardcode_shlibpath_var=$hardcode_shlibpath_var
17180 # Set to yes if building a shared library automatically hardcodes DIR into the library
17181 # and all subsequent libraries and executables linked against it.
17182 hardcode_automatic=$hardcode_automatic
17184 # Variables whose values should be saved in libtool wrapper scripts and
17185 # restored at relink time.
17186 variables_saved_for_relink="$variables_saved_for_relink"
17188 # Whether libtool must link a program against all its dependency libraries.
17189 link_all_deplibs=$link_all_deplibs
17191 # Compile-time system search path for libraries
17192 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17194 # Run-time system search path for libraries
17195 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17197 # Fix the shell variable \$srcfile for the compiler.
17198 fix_srcfile_path="$fix_srcfile_path"
17200 # Set to yes if exported symbols are required.
17201 always_export_symbols=$always_export_symbols
17203 # The commands to list exported symbols.
17204 export_symbols_cmds=$lt_export_symbols_cmds
17206 # The commands to extract the exported symbol list from a shared archive.
17207 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17209 # Symbols that should not be listed in the preloaded symbols.
17210 exclude_expsyms=$lt_exclude_expsyms
17212 # Symbols that must always be exported.
17213 include_expsyms=$lt_include_expsyms
17215 # ### END LIBTOOL CONFIG
17222 cat <<\EOF >> "$cfgfile"
17224 # AIX sometimes has problems with the GCC collect2 program. For some
17225 # reason, if we set the COLLECT_NAMES environment variable, the problems
17226 # vanish in a puff of smoke.
17227 if test "X${COLLECT_NAMES+set}" != Xset; then
17229 export COLLECT_NAMES
17235 # We use sed instead of cat because bash on DJGPP gets confused if
17236 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17237 # text mode, it properly converts lines to CR/LF. This bash problem
17238 # is reportedly fixed, but why not run on old versions too?
17239 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17241 mv -f "$cfgfile" "$ofile" || \
17242 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17246 # If there is no Makefile yet, we rely on a make rule to execute
17247 # `config.status --recheck' to rerun these tests and create the
17248 # libtool script then.
17249 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17250 if test -f "$ltmain_in"; then
17251 test -f Makefile && make "$ltmain"
17257 ac_cpp='$CPP $CPPFLAGS'
17258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17265 # Check whether --with-tags or --without-tags was given.
17266 if test "${with_tags+set}" = set; then
17267 withval="$with_tags"
17268 tagnames="$withval"
17271 if test -f "$ltmain" && test -n "$tagnames"; then
17272 if test ! -f "${ofile}"; then
17273 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
17274 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
17277 if test -z "$LTCC"; then
17278 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
17279 if test -z "$LTCC"; then
17280 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17281 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
17284 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
17287 if test -z "$LTCFLAGS"; then
17288 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
17291 # Extract list of available tagged configurations in $ofile.
17292 # Note that this assumes the entire list is on one line.
17293 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17295 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17296 for tagname in $tagnames; do
17298 # Check whether tagname contains only valid characters
17299 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
17301 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
17302 echo "$as_me: error: invalid tag name: $tagname" >&2;}
17303 { (exit 1); exit 1; }; }
17307 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17309 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
17310 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
17311 { (exit 1); exit 1; }; }
17314 # Update the list of available tags.
17315 if test -n "$tagname"; then
17316 echo appending configuration tag \"$tagname\" to $ofile
17320 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17321 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17322 (test "X$CXX" != "Xg++"))) ; then
17324 ac_cpp='$CXXCPP $CPPFLAGS'
17325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17332 archive_cmds_need_lc_CXX=no
17333 allow_undefined_flag_CXX=
17334 always_export_symbols_CXX=no
17335 archive_expsym_cmds_CXX=
17336 export_dynamic_flag_spec_CXX=
17337 hardcode_direct_CXX=no
17338 hardcode_libdir_flag_spec_CXX=
17339 hardcode_libdir_flag_spec_ld_CXX=
17340 hardcode_libdir_separator_CXX=
17341 hardcode_minus_L_CXX=no
17342 hardcode_shlibpath_var_CXX=unsupported
17343 hardcode_automatic_CXX=no
17345 module_expsym_cmds_CXX=
17346 link_all_deplibs_CXX=unknown
17347 old_archive_cmds_CXX=$old_archive_cmds
17348 no_undefined_flag_CXX=
17349 whole_archive_flag_spec_CXX=
17350 enable_shared_with_static_runtimes_CXX=no
17352 # Dependencies to place before and after the object being linked:
17353 predep_objects_CXX=
17354 postdep_objects_CXX=
17357 compiler_lib_search_path_CXX=
17359 # Source file extension for C++ test sources.
17362 # Object file extension for compiled C++ test sources.
17366 # Code to be used in simple compile tests
17367 lt_simple_compile_test_code="int some_variable = 0;\n"
17369 # Code to be used in simple link tests
17370 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
17372 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17374 # If no C compiler was specified, use CC.
17377 # If no C compiler flags were specified, use CFLAGS.
17378 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17380 # Allow CC to be a program name with arguments.
17384 # save warnings/boilerplate of simple test code
17385 ac_outfile=conftest.$ac_objext
17386 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17387 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17388 _lt_compiler_boilerplate=`cat conftest.err`
17391 ac_outfile=conftest.$ac_objext
17392 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17393 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17394 _lt_linker_boilerplate=`cat conftest.err`
17398 # Allow CC to be a program name with arguments.
17403 lt_save_with_gnu_ld=$with_gnu_ld
17404 lt_save_path_LD=$lt_cv_path_LD
17405 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17406 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17408 $as_unset lt_cv_prog_gnu_ld
17410 if test -n "${lt_cv_path_LDCXX+set}"; then
17411 lt_cv_path_LD=$lt_cv_path_LDCXX
17413 $as_unset lt_cv_path_LD
17415 test -z "${LDCXX+set}" || LD=$LDCXX
17419 for cc_temp in $compiler""; do
17421 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17422 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17427 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17430 # We don't want -fno-exception wen compiling C++ code, so set the
17431 # no_builtin_flag separately
17432 if test "$GXX" = yes; then
17433 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17435 lt_prog_compiler_no_builtin_flag_CXX=
17438 if test "$GXX" = yes; then
17439 # Set up default GNU C++ configuration
17442 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17443 if test "${with_gnu_ld+set}" = set; then
17444 withval="$with_gnu_ld"
17445 test "$withval" = no || with_gnu_ld=yes
17450 if test "$GCC" = yes; then
17451 # Check if gcc -print-prog-name=ld gives a path.
17452 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17453 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17456 # gcc leaves a trailing carriage return which upsets mingw
17457 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17459 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17462 # Accept absolute paths.
17464 re_direlt='/[^/][^/]*/\.\./'
17465 # Canonicalize the pathname of ld
17466 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
17467 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17468 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
17470 test -z "$LD" && LD="$ac_prog"
17473 # If it fails, then pretend we aren't using GCC.
17477 # If it is relative, then search for the first ld in PATH.
17478 with_gnu_ld=unknown
17481 elif test "$with_gnu_ld" = yes; then
17482 echo "$as_me:$LINENO: checking for GNU ld" >&5
17483 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17485 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17486 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17488 if test "${lt_cv_path_LD+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 if test -z "$LD"; then
17492 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17493 for ac_dir in $PATH; do
17495 test -z "$ac_dir" && ac_dir=.
17496 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17497 lt_cv_path_LD="$ac_dir/$ac_prog"
17498 # Check to see if the program is GNU ld. I'd rather use --version,
17499 # but apparently some variants of GNU ld only accept -v.
17500 # Break only if it was the GNU/non-GNU ld that we prefer.
17501 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17502 *GNU* | *'with BFD'*)
17503 test "$with_gnu_ld" != no && break
17506 test "$with_gnu_ld" != yes && break
17513 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17517 LD="$lt_cv_path_LD"
17518 if test -n "$LD"; then
17519 echo "$as_me:$LINENO: result: $LD" >&5
17520 echo "${ECHO_T}$LD" >&6
17522 echo "$as_me:$LINENO: result: no" >&5
17523 echo "${ECHO_T}no" >&6
17525 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17526 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17527 { (exit 1); exit 1; }; }
17528 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17529 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17530 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17534 case `$LD -v 2>&1 </dev/null` in
17535 *GNU* | *'with BFD'*)
17536 lt_cv_prog_gnu_ld=yes
17539 lt_cv_prog_gnu_ld=no
17543 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17544 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17545 with_gnu_ld=$lt_cv_prog_gnu_ld
17549 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17550 # archiving commands below assume that GNU ld is being used.
17551 if test "$with_gnu_ld" = yes; then
17552 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17553 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'
17555 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
17556 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17558 # If archive_cmds runs LD, not CC, wlarc should be empty
17559 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17560 # investigate it a little bit more. (MM)
17563 # ancient GNU ld didn't support --whole-archive et. al.
17564 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
17565 grep 'no-whole-archive' > /dev/null; then
17566 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17568 whole_archive_flag_spec_CXX=
17574 # A generic and very simple default shared library creation
17575 # command for GNU C++ for the case where it uses the native
17576 # linker, instead of GNU ld. If possible, this setting should
17577 # overridden to take advantage of the native linker features on
17578 # the platform it is being used on.
17579 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17582 # Commands to make compiler produce verbose output that lists
17583 # what "hidden" libraries, object files and flags are used when
17584 # linking a shared library.
17585 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17593 # PORTME: fill in a description of your system's C++ link characteristics
17594 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17595 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17599 # FIXME: insert proper C++ library support
17603 if test "$host_cpu" = ia64; then
17604 # On IA64, the linker does run time linking by default, so we don't
17605 # have to do anything special.
17606 aix_use_runtimelinking=no
17607 exp_sym_flag='-Bexport'
17610 aix_use_runtimelinking=no
17612 # Test if we are trying to use run time linking or normal
17613 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17614 # need to do runtime linking.
17615 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17616 for ld_flag in $LDFLAGS; do
17619 aix_use_runtimelinking=yes
17627 exp_sym_flag='-bexport'
17628 no_entry_flag='-bnoentry'
17631 # When large executables or shared objects are built, AIX ld can
17632 # have problems creating the table of contents. If linking a library
17633 # or program results in "error TOC overflow" add -mminimal-toc to
17634 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17635 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17637 archive_cmds_CXX=''
17638 hardcode_direct_CXX=yes
17639 hardcode_libdir_separator_CXX=':'
17640 link_all_deplibs_CXX=yes
17642 if test "$GXX" = yes; then
17643 case $host_os in aix4.[012]|aix4.[012].*)
17644 # We only want to do this on AIX 4.2 and lower, the check
17645 # below for broken collect2 doesn't work under 4.3+
17646 collect2name=`${CC} -print-prog-name=collect2`
17647 if test -f "$collect2name" && \
17648 strings "$collect2name" | grep resolve_lib_name >/dev/null
17650 # We have reworked collect2
17651 hardcode_direct_CXX=yes
17653 # We have old collect2
17654 hardcode_direct_CXX=unsupported
17655 # It fails to find uninstalled libraries when the uninstalled
17656 # path is not listed in the libpath. Setting hardcode_minus_L
17657 # to unsupported forces relinking
17658 hardcode_minus_L_CXX=yes
17659 hardcode_libdir_flag_spec_CXX='-L$libdir'
17660 hardcode_libdir_separator_CXX=
17664 shared_flag='-shared'
17665 if test "$aix_use_runtimelinking" = yes; then
17666 shared_flag="$shared_flag "'${wl}-G'
17670 if test "$host_cpu" = ia64; then
17671 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17672 # chokes on -Wl,-G. The following line is correct:
17675 if test "$aix_use_runtimelinking" = yes; then
17676 shared_flag='${wl}-G'
17678 shared_flag='${wl}-bM:SRE'
17683 # It seems that -bexpall does not export symbols beginning with
17684 # underscore (_), so it is better to generate a list of symbols to export.
17685 always_export_symbols_CXX=yes
17686 if test "$aix_use_runtimelinking" = yes; then
17687 # Warning - without using the other runtime loading flags (-brtl),
17688 # -berok will link without error, but may produce a broken library.
17689 allow_undefined_flag_CXX='-berok'
17690 # Determine the default libpath from the value encoded in an empty executable.
17691 cat >conftest.$ac_ext <<_ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17706 rm -f conftest.$ac_objext conftest$ac_exeext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17708 (eval $ac_link) 2>conftest.er1
17710 grep -v '^ *+' conftest.er1 >conftest.err
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try='test -z "$ac_cxx_werror_flag"
17716 || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try='test -s conftest$ac_exeext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17729 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17731 # Check for a 64-bit object if we didn't find anything.
17732 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; }
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17739 rm -f conftest.err conftest.$ac_objext \
17740 conftest$ac_exeext conftest.$ac_ext
17741 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17743 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17745 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17747 if test "$host_cpu" = ia64; then
17748 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17749 allow_undefined_flag_CXX="-z nodefs"
17750 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17752 # Determine the default libpath from the value encoded in an empty executable.
17753 cat >conftest.$ac_ext <<_ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17768 rm -f conftest.$ac_objext conftest$ac_exeext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17770 (eval $ac_link) 2>conftest.er1
17772 grep -v '^ *+' conftest.er1 >conftest.err
17774 cat conftest.err >&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try='test -z "$ac_cxx_werror_flag"
17778 || test ! -s conftest.err'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; } &&
17784 { ac_try='test -s conftest$ac_exeext'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; }; then
17791 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17793 # Check for a 64-bit object if we didn't find anything.
17794 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; }
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17801 rm -f conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17803 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17805 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17806 # Warning - without using the other run time loading flags,
17807 # -berok will link without error, but may produce a broken library.
17808 no_undefined_flag_CXX=' ${wl}-bernotok'
17809 allow_undefined_flag_CXX=' ${wl}-berok'
17810 # Exported symbols can be pulled into shared objects from archives
17811 whole_archive_flag_spec_CXX='$convenience'
17812 archive_cmds_need_lc_CXX=yes
17813 # This is similar to how AIX traditionally builds its shared libraries.
17814 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17820 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17821 allow_undefined_flag_CXX=unsupported
17822 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17823 # support --undefined. This deserves some investigation. FIXME
17824 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17831 case $cc_basename in
17833 # FIXME: insert proper C++ library support
17839 cygwin* | mingw* | pw32*)
17840 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17841 # as there is no search path for DLLs.
17842 hardcode_libdir_flag_spec_CXX='-L$libdir'
17843 allow_undefined_flag_CXX=unsupported
17844 always_export_symbols_CXX=no
17845 enable_shared_with_static_runtimes_CXX=yes
17847 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17848 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17849 # If the export-symbols file already is a .def file (1st line
17850 # is EXPORTS), use it as is; otherwise, prepend...
17851 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17852 cp $export_symbols $output_objdir/$soname.def;
17854 echo EXPORTS > $output_objdir/$soname.def;
17855 cat $export_symbols >> $output_objdir/$soname.def;
17857 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17862 darwin* | rhapsody*)
17864 rhapsody* | darwin1.[012])
17865 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
17868 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17869 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17871 case ${MACOSX_DEPLOYMENT_TARGET} in
17873 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17876 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
17882 archive_cmds_need_lc_CXX=no
17883 hardcode_direct_CXX=no
17884 hardcode_automatic_CXX=yes
17885 hardcode_shlibpath_var_CXX=unsupported
17886 whole_archive_flag_spec_CXX=''
17887 link_all_deplibs_CXX=yes
17889 if test "$GXX" = yes ; then
17890 lt_int_apple_cc_single_mod=no
17891 output_verbose_link_cmd='echo'
17892 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
17893 lt_int_apple_cc_single_mod=yes
17895 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17896 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17898 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17900 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17901 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17902 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17903 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}'
17905 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17907 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}'
17909 case $cc_basename in
17911 output_verbose_link_cmd='echo'
17912 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17913 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17914 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17915 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17916 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}'
17926 case $cc_basename in
17928 # FIXME: insert proper C++ library support
17932 # Green Hills C++ Compiler
17933 # FIXME: insert proper C++ library support
17937 # FIXME: insert proper C++ library support
17943 # C++ shared libraries reported to be fairly broken before switch to ELF
17947 archive_cmds_need_lc_CXX=no
17949 freebsd* | kfreebsd*-gnu | dragonfly*)
17950 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17957 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17958 hardcode_libdir_separator_CXX=:
17959 export_dynamic_flag_spec_CXX='${wl}-E'
17960 hardcode_direct_CXX=yes
17961 hardcode_minus_L_CXX=yes # Not in the search PATH,
17962 # but as the default
17963 # location of the library.
17965 case $cc_basename in
17967 # FIXME: insert proper C++ library support
17971 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'
17972 # Commands to make compiler produce verbose output that lists
17973 # what "hidden" libraries, object files and flags are used when
17974 # linking a shared library.
17976 # There doesn't appear to be a way to prevent this compiler from
17977 # explicitly linking system object files so we need to strip them
17978 # from the output so that they don't get included in the library
17980 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'
17983 if test "$GXX" = yes; then
17984 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'
17986 # FIXME: insert proper C++ library support
17993 if test $with_gnu_ld = no; then
17994 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17995 hardcode_libdir_separator_CXX=:
17999 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18002 export_dynamic_flag_spec_CXX='${wl}-E'
18008 hardcode_direct_CXX=no
18009 hardcode_shlibpath_var_CXX=no
18012 hardcode_direct_CXX=yes
18013 hardcode_minus_L_CXX=yes # Not in the search PATH,
18014 # but as the default
18015 # location of the library.
18019 case $cc_basename in
18021 # FIXME: insert proper C++ library support
18027 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18030 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18033 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18036 # Commands to make compiler produce verbose output that lists
18037 # what "hidden" libraries, object files and flags are used when
18038 # linking a shared library.
18040 # There doesn't appear to be a way to prevent this compiler from
18041 # explicitly linking system object files so we need to strip them
18042 # from the output so that they don't get included in the library
18044 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'
18047 if test "$GXX" = yes; then
18048 if test $with_gnu_ld = no; then
18051 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18054 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18057 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'
18062 # FIXME: insert proper C++ library support
18069 hardcode_direct_CXX=no
18070 hardcode_shlibpath_var_CXX=no
18071 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18072 export_dynamic_flag_spec_CXX='${wl}-E'
18073 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18074 # Instead, shared libraries are loaded at an image base (0x10000000 by
18075 # default) and relocated if they conflict, which is a slow very memory
18076 # consuming and fragmenting process. To avoid this, we pick a random,
18077 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18078 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18079 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18080 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18083 case $cc_basename in
18086 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18088 # Archives containing C++ object files must be created using
18089 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18090 # necessary to make sure instantiated templates are included
18092 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18095 if test "$GXX" = yes; then
18096 if test "$with_gnu_ld" = no; then
18097 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18099 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'
18102 link_all_deplibs_CXX=yes
18105 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18106 hardcode_libdir_separator_CXX=:
18109 case $cc_basename in
18111 # Kuck and Associates, Inc. (KAI) C++ Compiler
18113 # KCC will only create a shared library if the output file
18114 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18115 # to its proper name (with version) after linking.
18116 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'
18117 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'
18118 # Commands to make compiler produce verbose output that lists
18119 # what "hidden" libraries, object files and flags are used when
18120 # linking a shared library.
18122 # There doesn't appear to be a way to prevent this compiler from
18123 # explicitly linking system object files so we need to strip them
18124 # from the output so that they don't get included in the library
18126 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'
18128 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
18129 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18131 # Archives containing C++ object files must be created using
18132 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18133 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18138 # version 8.0 and above of icpc choke on multiply defined symbols
18139 # if we add $predep_objects and $postdep_objects, however 7.1 and
18140 # earlier do not add the objects themselves.
18141 case `$CC -V 2>&1` in
18143 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18144 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'
18146 *) # Version 8.0 or newer
18149 ia64*) tmp_idyn=' -i_dynamic';;
18151 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18152 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18155 archive_cmds_need_lc_CXX=no
18156 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18157 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18158 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18161 # Portland Group C++ compiler
18162 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18163 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18165 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18166 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18167 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18171 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18172 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'
18174 runpath_var=LD_RUN_PATH
18175 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18176 hardcode_libdir_separator_CXX=:
18178 # Commands to make compiler produce verbose output that lists
18179 # what "hidden" libraries, object files and flags are used when
18180 # linking a shared library.
18182 # There doesn't appear to be a way to prevent this compiler from
18183 # explicitly linking system object files so we need to strip them
18184 # from the output so that they don't get included in the library
18186 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'
18191 # FIXME: insert proper C++ library support
18195 # FIXME: insert proper C++ library support
18199 case $cc_basename in
18201 # FIXME: insert proper C++ library support
18205 # FIXME: insert proper C++ library support
18211 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18212 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18214 hardcode_libdir_flag_spec_CXX='-R$libdir'
18215 hardcode_direct_CXX=yes
18216 hardcode_shlibpath_var_CXX=no
18218 # Workaround some broken pre-1.5 toolchains
18219 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18222 # C++ shared libraries are fairly broken
18226 hardcode_direct_CXX=yes
18227 hardcode_shlibpath_var_CXX=no
18228 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18229 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18230 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18231 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18232 export_dynamic_flag_spec_CXX='${wl}-E'
18233 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18235 output_verbose_link_cmd='echo'
18238 case $cc_basename in
18240 # Kuck and Associates, Inc. (KAI) C++ Compiler
18242 # KCC will only create a shared library if the output file
18243 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18244 # to its proper name (with version) after linking.
18245 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'
18247 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18248 hardcode_libdir_separator_CXX=:
18250 # Archives containing C++ object files must be created using
18251 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18252 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18256 # Rational C++ 2.4.1
18257 # FIXME: insert proper C++ library support
18261 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18262 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18264 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18265 hardcode_libdir_separator_CXX=:
18267 # Commands to make compiler produce verbose output that lists
18268 # what "hidden" libraries, object files and flags are used when
18269 # linking a shared library.
18271 # There doesn't appear to be a way to prevent this compiler from
18272 # explicitly linking system object files so we need to strip them
18273 # from the output so that they don't get included in the library
18275 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'
18278 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18279 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18280 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18282 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18283 hardcode_libdir_separator_CXX=:
18285 # Commands to make compiler produce verbose output that lists
18286 # what "hidden" libraries, object files and flags are used when
18287 # linking a shared library.
18288 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18291 # FIXME: insert proper C++ library support
18298 case $cc_basename in
18300 # Kuck and Associates, Inc. (KAI) C++ Compiler
18302 # KCC will only create a shared library if the output file
18303 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18304 # to its proper name (with version) after linking.
18305 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'
18307 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18308 hardcode_libdir_separator_CXX=:
18310 # Archives containing C++ object files must be created using
18311 # the KAI C++ compiler.
18312 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
18315 # Rational C++ 2.4.1
18316 # FIXME: insert proper C++ library support
18320 allow_undefined_flag_CXX=' -expect_unresolved \*'
18321 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18322 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18323 echo "-hidden">> $lib.exp~
18324 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
18327 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18328 hardcode_libdir_separator_CXX=:
18330 # Commands to make compiler produce verbose output that lists
18331 # what "hidden" libraries, object files and flags are used when
18332 # linking a shared library.
18334 # There doesn't appear to be a way to prevent this compiler from
18335 # explicitly linking system object files so we need to strip them
18336 # from the output so that they don't get included in the library
18338 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'
18341 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18342 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18343 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18345 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18346 hardcode_libdir_separator_CXX=:
18348 # Commands to make compiler produce verbose output that lists
18349 # what "hidden" libraries, object files and flags are used when
18350 # linking a shared library.
18351 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18354 # FIXME: insert proper C++ library support
18361 # FIXME: insert proper C++ library support
18365 case $cc_basename in
18368 # FIXME: insert proper C++ library support
18373 # FIXME: insert proper C++ library support
18377 # FIXME: insert proper C++ library support
18383 case $cc_basename in
18385 # Sun C++ 4.2, 5.x and Centerline C++
18386 archive_cmds_need_lc_CXX=yes
18387 no_undefined_flag_CXX=' -zdefs'
18388 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18389 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18390 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18392 hardcode_libdir_flag_spec_CXX='-R$libdir'
18393 hardcode_shlibpath_var_CXX=no
18395 solaris2.[0-5] | solaris2.[0-5].*) ;;
18397 # The C++ compiler is used as linker so we must use $wl
18398 # flag to pass the commands to the underlying system
18399 # linker. We must also pass each convience library through
18400 # to the system linker between allextract/defaultextract.
18401 # The C++ compiler will combine linker options so we
18402 # cannot just pass the convience library names through
18404 # Supported since Solaris 2.6 (maybe 2.5.1?)
18405 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
18408 link_all_deplibs_CXX=yes
18410 output_verbose_link_cmd='echo'
18412 # Archives containing C++ object files must be created using
18413 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18414 # necessary to make sure instantiated templates are included
18416 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18419 # Green Hills C++ Compiler
18420 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18422 # The C++ compiler must be used to create the archive.
18423 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18426 # GNU C++ compiler with Solaris linker
18427 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18428 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18429 if $CC --version | grep -v '^2\.7' > /dev/null; then
18430 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18431 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18432 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18434 # Commands to make compiler produce verbose output that lists
18435 # what "hidden" libraries, object files and flags are used when
18436 # linking a shared library.
18437 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18439 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18441 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18442 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18443 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18445 # Commands to make compiler produce verbose output that lists
18446 # what "hidden" libraries, object files and flags are used when
18447 # linking a shared library.
18448 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18451 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18456 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18457 no_undefined_flag_CXX='${wl}-z,text'
18458 archive_cmds_need_lc_CXX=no
18459 hardcode_shlibpath_var_CXX=no
18460 runpath_var='LD_RUN_PATH'
18462 case $cc_basename in
18464 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18465 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18468 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18469 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18473 sysv5* | sco3.2v5* | sco5v6*)
18474 # Note: We can NOT use -z defs as we might desire, because we do not
18475 # link with -lc, and that would cause any symbols used from libc to
18476 # always be unresolved, which means just about no library would
18477 # ever link correctly. If we're not using GNU ld we use -z text
18478 # though, which does catch some bad symbols but isn't as heavy-handed
18480 # For security reasons, it is highly recommended that you always
18481 # use absolute paths for naming shared libraries, and exclude the
18482 # DT_RUNPATH tag from executables and libraries. But doing so
18483 # requires that you compile everything twice, which is a pain.
18484 # So that behaviour is only enabled if SCOABSPATH is set to a
18485 # non-empty value in the environment. Most likely only useful for
18486 # creating official distributions of packages.
18487 # This is a hack until libtool officially supports absolute path
18488 # names for shared libraries.
18489 no_undefined_flag_CXX='${wl}-z,text'
18490 allow_undefined_flag_CXX='${wl}-z,nodefs'
18491 archive_cmds_need_lc_CXX=no
18492 hardcode_shlibpath_var_CXX=no
18493 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18494 hardcode_libdir_separator_CXX=':'
18495 link_all_deplibs_CXX=yes
18496 export_dynamic_flag_spec_CXX='${wl}-Bexport'
18497 runpath_var='LD_RUN_PATH'
18499 case $cc_basename in
18501 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18502 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18505 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18506 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18511 case $cc_basename in
18513 # NonStop-UX NCC 3.20
18514 # FIXME: insert proper C++ library support
18518 # FIXME: insert proper C++ library support
18524 # FIXME: insert proper C++ library support
18528 # FIXME: insert proper C++ library support
18532 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18533 echo "${ECHO_T}$ld_shlibs_CXX" >&6
18534 test "$ld_shlibs_CXX" = no && can_build_shared=no
18540 cat > conftest.$ac_ext <<EOF
18544 Foo (void) { a = 0; }
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; then
18555 # Parse the compiler output and extract the necessary
18556 # objects, libraries and library flags.
18558 # Sentinel used to keep track of whether or not we are before
18559 # the conftest object file.
18560 pre_test_object_deps_done=no
18562 # The `*' in the case matches for architectures that use `case' in
18563 # $output_verbose_cmd can trigger glob expansion during the loop
18564 # eval without this substitution.
18565 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
18567 for p in `eval $output_verbose_link_cmd`; do
18571 # Some compilers place space between "-{L,R}" and the path.
18572 # Remove the space.
18573 if test $p = "-L" \
18574 || test $p = "-R"; then
18581 if test "$pre_test_object_deps_done" = no; then
18584 # Internal compiler library paths should come after those
18585 # provided the user. The postdeps already come after the
18586 # user supplied libs so there is no need to process them.
18587 if test -z "$compiler_lib_search_path_CXX"; then
18588 compiler_lib_search_path_CXX="${prev}${p}"
18590 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18593 # The "-l" case would never come before the object being
18594 # linked, so don't bother handling this case.
18597 if test -z "$postdeps_CXX"; then
18598 postdeps_CXX="${prev}${p}"
18600 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18606 # This assumes that the test object file only shows up
18607 # once in the compiler output.
18608 if test "$p" = "conftest.$objext"; then
18609 pre_test_object_deps_done=yes
18613 if test "$pre_test_object_deps_done" = no; then
18614 if test -z "$predep_objects_CXX"; then
18615 predep_objects_CXX="$p"
18617 predep_objects_CXX="$predep_objects_CXX $p"
18620 if test -z "$postdep_objects_CXX"; then
18621 postdep_objects_CXX="$p"
18623 postdep_objects_CXX="$postdep_objects_CXX $p"
18628 *) ;; # Ignore the rest.
18636 echo "libtool.m4: error: problem compiling CXX test program"
18639 $rm -f confest.$objext
18641 # PORTME: override above test on systems where it is broken
18644 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18645 # hack all around it, let's just trust "g++" to DTRT.
18646 predep_objects_CXX=
18647 postdep_objects_CXX=
18652 case $cc_basename in
18654 # Adding this requires a known-good setup of shared libraries for
18655 # Sun compiler versions before 5.6, else PIC objects from an old
18656 # archive will be linked into the output, leading to subtle bugs.
18657 postdeps_CXX='-lCstd -lCrun'
18664 case " $postdeps_CXX " in
18665 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18668 lt_prog_compiler_wl_CXX=
18669 lt_prog_compiler_pic_CXX=
18670 lt_prog_compiler_static_CXX=
18672 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18673 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18675 # C++ specific cases for pic, static, wl, etc.
18676 if test "$GXX" = yes; then
18677 lt_prog_compiler_wl_CXX='-Wl,'
18678 lt_prog_compiler_static_CXX='-static'
18682 # All AIX code is PIC.
18683 if test "$host_cpu" = ia64; then
18684 # AIX 5 now supports IA64 processor
18685 lt_prog_compiler_static_CXX='-Bstatic'
18689 # FIXME: we need at least 68020 code to build shared libraries, but
18690 # adding the `-m68020' flag to GCC prevents building anything better,
18692 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18694 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18695 # PIC is the default for these OSes.
18697 mingw* | os2* | pw32*)
18698 # This hack is so that the source file can tell whether it is being
18699 # built for inclusion in a dll (and should export symbols for example).
18700 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18702 darwin* | rhapsody*)
18703 # PIC is the default on this platform
18704 # Common symbols not allowed in MH_DYLIB files
18705 lt_prog_compiler_pic_CXX='-fno-common'
18708 # DJGPP does not support shared libraries at all
18709 lt_prog_compiler_pic_CXX=
18712 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18713 # Instead, we relocate shared libraries at runtime.
18716 if test -d /usr/nec; then
18717 lt_prog_compiler_pic_CXX=-Kconform_pic
18721 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18722 # not for PA HP-UX.
18727 lt_prog_compiler_pic_CXX='-fPIC'
18732 lt_prog_compiler_pic_CXX='-fPIC'
18738 # All AIX code is PIC.
18739 if test "$host_cpu" = ia64; then
18740 # AIX 5 now supports IA64 processor
18741 lt_prog_compiler_static_CXX='-Bstatic'
18743 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18747 case $cc_basename in
18749 # Green Hills C++ Compiler
18750 # _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"
18755 # PIC is the default on this platform
18756 # Common symbols not allowed in MH_DYLIB files
18757 case $cc_basename in
18759 lt_prog_compiler_pic_CXX='-qnocommon'
18760 lt_prog_compiler_wl_CXX='-Wl,'
18765 case $cc_basename in
18767 lt_prog_compiler_pic_CXX='-KPIC'
18770 # Green Hills C++ Compiler
18771 lt_prog_compiler_pic_CXX='-pic'
18777 freebsd* | kfreebsd*-gnu | dragonfly*)
18778 # FreeBSD uses GNU C++
18780 hpux9* | hpux10* | hpux11*)
18781 case $cc_basename in
18783 lt_prog_compiler_wl_CXX='-Wl,'
18784 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18785 if test "$host_cpu" != ia64; then
18786 lt_prog_compiler_pic_CXX='+Z'
18790 lt_prog_compiler_wl_CXX='-Wl,'
18791 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18797 lt_prog_compiler_pic_CXX='+Z'
18806 # This is c89, which is MS Visual C++ (no shared libs)
18807 # Anyone wants to do a port?
18809 irix5* | irix6* | nonstopux*)
18810 case $cc_basename in
18812 lt_prog_compiler_wl_CXX='-Wl,'
18813 lt_prog_compiler_static_CXX='-non_shared'
18814 # CC pic flag -KPIC is the default.
18821 case $cc_basename in
18824 lt_prog_compiler_wl_CXX='--backend -Wl,'
18825 lt_prog_compiler_pic_CXX='-fPIC'
18829 lt_prog_compiler_wl_CXX='-Wl,'
18830 lt_prog_compiler_pic_CXX='-KPIC'
18831 lt_prog_compiler_static_CXX='-static'
18834 # Portland Group C++ compiler.
18835 lt_prog_compiler_wl_CXX='-Wl,'
18836 lt_prog_compiler_pic_CXX='-fpic'
18837 lt_prog_compiler_static_CXX='-Bstatic'
18841 # Make sure the PIC flag is empty. It appears that all Alpha
18842 # Linux and Compaq Tru64 Unix objects are PIC.
18843 lt_prog_compiler_pic_CXX=
18844 lt_prog_compiler_static_CXX='-non_shared'
18855 case $cc_basename in
18857 lt_prog_compiler_pic_CXX='-W c,exportall'
18865 osf3* | osf4* | osf5*)
18866 case $cc_basename in
18868 lt_prog_compiler_wl_CXX='--backend -Wl,'
18871 # Rational C++ 2.4.1
18872 lt_prog_compiler_pic_CXX='-pic'
18875 # Digital/Compaq C++
18876 lt_prog_compiler_wl_CXX='-Wl,'
18877 # Make sure the PIC flag is empty. It appears that all Alpha
18878 # Linux and Compaq Tru64 Unix objects are PIC.
18879 lt_prog_compiler_pic_CXX=
18880 lt_prog_compiler_static_CXX='-non_shared'
18889 case $cc_basename in
18891 # Sun C++ 4.2, 5.x and Centerline C++
18892 lt_prog_compiler_pic_CXX='-KPIC'
18893 lt_prog_compiler_static_CXX='-Bstatic'
18894 lt_prog_compiler_wl_CXX='-Qoption ld '
18897 # Green Hills C++ Compiler
18898 lt_prog_compiler_pic_CXX='-PIC'
18905 case $cc_basename in
18908 lt_prog_compiler_pic_CXX='-pic'
18909 lt_prog_compiler_static_CXX='-Bstatic'
18913 lt_prog_compiler_pic_CXX='-pic'
18920 case $cc_basename in
18922 # NonStop-UX NCC 3.20
18923 lt_prog_compiler_pic_CXX='-KPIC'
18929 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18930 case $cc_basename in
18932 lt_prog_compiler_wl_CXX='-Wl,'
18933 lt_prog_compiler_pic_CXX='-KPIC'
18934 lt_prog_compiler_static_CXX='-Bstatic'
18941 lt_prog_compiler_can_build_shared_CXX=no
18946 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
18947 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
18950 # Check to make sure the PIC flag actually works.
18952 if test -n "$lt_prog_compiler_pic_CXX"; then
18954 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18955 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
18956 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 lt_prog_compiler_pic_works_CXX=no
18960 ac_outfile=conftest.$ac_objext
18961 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18962 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
18963 # Insert the option either (1) after the last *FLAGS variable, or
18964 # (2) before a word containing "conftest.", or (3) at the end.
18965 # Note that $ac_compile itself does not contain backslashes and begins
18966 # with a dollar sign (not a hyphen), so the echo should work correctly.
18967 # The option is referenced via a variable to avoid confusing sed.
18968 lt_compile=`echo "$ac_compile" | $SED \
18969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18971 -e 's:$: $lt_compiler_flag:'`
18972 (eval echo "\"\$as_me:18972: $lt_compile\"" >&5)
18973 (eval "$lt_compile" 2>conftest.err)
18975 cat conftest.err >&5
18976 echo "$as_me:18976: \$? = $ac_status" >&5
18977 if (exit $ac_status) && test -s "$ac_outfile"; then
18978 # The compiler can only warn and ignore the option if not recognized
18979 # So say no if there are warnings other than the usual output.
18980 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18981 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18982 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18983 lt_prog_compiler_pic_works_CXX=yes
18989 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
18990 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
18992 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
18993 case $lt_prog_compiler_pic_CXX in
18995 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18998 lt_prog_compiler_pic_CXX=
18999 lt_prog_compiler_can_build_shared_CXX=no
19004 # For platforms which do not support PIC, -DPIC is meaningless:
19006 lt_prog_compiler_pic_CXX=
19009 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19014 # Check to make sure the static flag actually works.
19016 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19017 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19018 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
19019 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19020 echo $ECHO_N "(cached) $ECHO_C" >&6
19022 lt_prog_compiler_static_works_CXX=no
19023 save_LDFLAGS="$LDFLAGS"
19024 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19025 printf "$lt_simple_link_test_code" > conftest.$ac_ext
19026 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19027 # The linker can only warn and ignore the option if not recognized
19028 # So say no if there are warnings
19029 if test -s conftest.err; then
19030 # Append any errors to the config.log.
19031 cat conftest.err 1>&5
19032 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19033 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19034 if diff conftest.exp conftest.er2 >/dev/null; then
19035 lt_prog_compiler_static_works_CXX=yes
19038 lt_prog_compiler_static_works_CXX=yes
19042 LDFLAGS="$save_LDFLAGS"
19045 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19046 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
19048 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
19051 lt_prog_compiler_static_CXX=
19055 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19056 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
19057 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 lt_cv_prog_compiler_c_o_CXX=no
19061 $rm -r conftest 2>/dev/null
19065 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19067 lt_compiler_flag="-o out/conftest2.$ac_objext"
19068 # Insert the option either (1) after the last *FLAGS variable, or
19069 # (2) before a word containing "conftest.", or (3) at the end.
19070 # Note that $ac_compile itself does not contain backslashes and begins
19071 # with a dollar sign (not a hyphen), so the echo should work correctly.
19072 lt_compile=`echo "$ac_compile" | $SED \
19073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19075 -e 's:$: $lt_compiler_flag:'`
19076 (eval echo "\"\$as_me:19076: $lt_compile\"" >&5)
19077 (eval "$lt_compile" 2>out/conftest.err)
19079 cat out/conftest.err >&5
19080 echo "$as_me:19080: \$? = $ac_status" >&5
19081 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19083 # The compiler can only warn and ignore the option if not recognized
19084 # So say no if there are warnings
19085 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19086 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19087 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19088 lt_cv_prog_compiler_c_o_CXX=yes
19093 # SGI C++ compiler will create directory out/ii_files/ for
19094 # template instantiation
19095 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19096 $rm out/* && rmdir out
19102 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19103 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
19106 hard_links="nottested"
19107 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19108 # do not overwrite the value of need_locks provided by the user
19109 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19110 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
19113 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19115 ln conftest.a conftest.b 2>&5 || hard_links=no
19116 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19117 echo "$as_me:$LINENO: result: $hard_links" >&5
19118 echo "${ECHO_T}$hard_links" >&6
19119 if test "$hard_links" = no; then
19120 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19121 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19128 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19129 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
19131 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19134 # If we're using GNU nm, then we don't want the "-C" option.
19135 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19136 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19137 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'
19139 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'
19143 export_symbols_cmds_CXX="$ltdll_cmds"
19146 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19149 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19153 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19154 echo "${ECHO_T}$ld_shlibs_CXX" >&6
19155 test "$ld_shlibs_CXX" = no && can_build_shared=no
19158 # Do we need to explicitly link libc?
19160 case "x$archive_cmds_need_lc_CXX" in
19162 # Assume -lc should be added
19163 archive_cmds_need_lc_CXX=yes
19165 if test "$enable_shared" = yes && test "$GCC" = yes; then
19166 case $archive_cmds_CXX in
19168 # FIXME: we may have to deal with multi-command sequences.
19171 # Test whether the compiler implicitly links with -lc since on some
19172 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19173 # to ld, don't add -lc before -lgcc.
19174 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19175 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19177 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19180 (eval $ac_compile) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); } 2>conftest.err; then
19186 libobjs=conftest.$ac_objext
19188 wl=$lt_prog_compiler_wl_CXX
19189 pic_flag=$lt_prog_compiler_pic_CXX
19195 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19196 allow_undefined_flag_CXX=
19197 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19198 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }
19203 archive_cmds_need_lc_CXX=no
19205 archive_cmds_need_lc_CXX=yes
19207 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19209 cat conftest.err 1>&5
19212 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19213 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
19220 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19221 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19222 library_names_spec=
19223 libname_spec='lib$name'
19227 postuninstall_cmds=
19231 shlibpath_overrides_runpath=unknown
19233 dynamic_linker="$host_os ld.so"
19234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19235 if test "$GCC" = yes; then
19236 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19237 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19238 # if the path contains ";" then we assume it to be the separator
19239 # otherwise default to the standard path separator (i.e. ":") - it is
19240 # assumed that no part of a normal pathname contains ";" but that should
19241 # okay in the real world where ";" in dirpaths is itself problematic.
19242 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19244 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19247 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19249 need_lib_prefix=unknown
19250 hardcode_into_libs=no
19252 # when you set need_version to no, make sure it does not cause -set_version
19253 # flags to be left without arguments
19254 need_version=unknown
19259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19260 shlibpath_var=LIBPATH
19262 # AIX 3 has no versioning support, so we append a major version to the name.
19263 soname_spec='${libname}${release}${shared_ext}$major'
19270 hardcode_into_libs=yes
19271 if test "$host_cpu" = ia64; then
19272 # AIX 5 supports IA64
19273 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19274 shlibpath_var=LD_LIBRARY_PATH
19276 # With GCC up to 2.95.x, collect2 would create an import file
19277 # for dependence libraries. The import file would start with
19278 # the line `#! .'. This would cause the generated library to
19279 # depend on `.', always an invalid library. This was fixed in
19280 # development snapshots of GCC prior to 3.0.
19282 aix4 | aix4.[01] | aix4.[01].*)
19283 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19285 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19288 can_build_shared=no
19292 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19293 # soname into executable. Probably we can add versioning support to
19294 # collect2, so additional links can be useful in future.
19295 if test "$aix_use_runtimelinking" = yes; then
19296 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19297 # instead of lib<name>.a to let people know that these are not
19298 # typical AIX shared libraries.
19299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19301 # We preserve .a as extension for shared libraries through AIX4.2
19302 # and later when we are not doing run time linking.
19303 library_names_spec='${libname}${release}.a $libname.a'
19304 soname_spec='${libname}${release}${shared_ext}$major'
19306 shlibpath_var=LIBPATH
19311 library_names_spec='$libname.ixlibrary $libname.a'
19312 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19313 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'
19317 library_names_spec='${libname}${shared_ext}'
19318 dynamic_linker="$host_os ld.so"
19319 shlibpath_var=LIBRARY_PATH
19325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19326 soname_spec='${libname}${release}${shared_ext}$major'
19327 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19328 shlibpath_var=LD_LIBRARY_PATH
19329 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19330 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19331 # the default ld.so.conf also contains /usr/contrib/lib and
19332 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19333 # libtool to hard-code these into programs
19336 cygwin* | mingw* | pw32*)
19337 version_type=windows
19342 case $GCC,$host_os in
19343 yes,cygwin* | yes,mingw* | yes,pw32*)
19344 library_names_spec='$libname.dll.a'
19345 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19346 postinstall_cmds='base_file=`basename \${file}`~
19347 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19348 dldir=$destdir/`dirname \$dlpath`~
19349 test -d \$dldir || mkdir -p \$dldir~
19350 $install_prog $dir/$dlname \$dldir/$dlname~
19351 chmod a+x \$dldir/$dlname'
19352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19353 dlpath=$dir/\$dldll~
19355 shlibpath_overrides_runpath=yes
19359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19361 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19364 # MinGW DLLs use traditional 'lib' prefix
19365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19366 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19367 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19368 # It is most probably a Windows format PATH printed by
19369 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19370 # path with ; separators, and with drive letters. We can handle the
19371 # drive letters (cygwin fileutils understands them), so leave them,
19372 # especially as we might pass files found there to a mingw objdump,
19373 # which wouldn't understand a cygwinified path. Ahh.
19374 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19376 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19380 # pw32 DLLs use 'pw' prefix rather than 'lib'
19381 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19387 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19390 dynamic_linker='Win32 ld.exe'
19391 # FIXME: first we should search . and the directory the executable is in
19395 darwin* | rhapsody*)
19396 dynamic_linker="$host_os dyld"
19397 version_type=darwin
19400 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19401 soname_spec='${libname}${release}${major}$shared_ext'
19402 shlibpath_overrides_runpath=yes
19403 shlibpath_var=DYLD_LIBRARY_PATH
19404 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19405 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19406 if test "$GCC" = yes; then
19407 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"`
19409 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19411 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19419 soname_spec='${libname}${release}${shared_ext}$major'
19420 shlibpath_var=LD_LIBRARY_PATH
19431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19432 soname_spec='${libname}${release}${shared_ext}$major'
19433 shlibpath_var=LD_LIBRARY_PATH
19434 shlibpath_overrides_runpath=no
19435 hardcode_into_libs=yes
19436 dynamic_linker='GNU ld.so'
19439 freebsd* | dragonfly*)
19440 # DragonFly does not have aout. When/if they implement a new
19441 # versioning mechanism, adjust this.
19442 if test -x /usr/bin/objformat; then
19443 objformat=`/usr/bin/objformat`
19446 freebsd[123]*) objformat=aout ;;
19447 *) objformat=elf ;;
19450 version_type=freebsd-$objformat
19451 case $version_type in
19453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19458 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19462 shlibpath_var=LD_LIBRARY_PATH
19465 shlibpath_overrides_runpath=yes
19467 freebsd3.[01]* | freebsdelf3.[01]*)
19468 shlibpath_overrides_runpath=yes
19469 hardcode_into_libs=yes
19471 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19472 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19473 shlibpath_overrides_runpath=no
19474 hardcode_into_libs=yes
19476 freebsd*) # from 4.6 on
19477 shlibpath_overrides_runpath=yes
19478 hardcode_into_libs=yes
19487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19488 soname_spec='${libname}${release}${shared_ext}$major'
19489 shlibpath_var=LD_LIBRARY_PATH
19490 hardcode_into_libs=yes
19493 hpux9* | hpux10* | hpux11*)
19494 # Give a soname corresponding to the major version so that dld.sl refuses to
19495 # link against other versions.
19502 hardcode_into_libs=yes
19503 dynamic_linker="$host_os dld.so"
19504 shlibpath_var=LD_LIBRARY_PATH
19505 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19507 soname_spec='${libname}${release}${shared_ext}$major'
19508 if test "X$HPUX_IA64_MODE" = X32; then
19509 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19511 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19513 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19517 hardcode_into_libs=yes
19518 dynamic_linker="$host_os dld.sl"
19519 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19520 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19522 soname_spec='${libname}${release}${shared_ext}$major'
19523 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19524 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19528 dynamic_linker="$host_os dld.sl"
19529 shlibpath_var=SHLIB_PATH
19530 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19532 soname_spec='${libname}${release}${shared_ext}$major'
19535 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19536 postinstall_cmds='chmod 555 $lib'
19543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19544 soname_spec='${libname}${release}${shared_ext}$major'
19545 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19546 shlibpath_var=LD_LIBRARY_PATH
19547 shlibpath_overrides_runpath=no
19548 hardcode_into_libs=yes
19551 irix5* | irix6* | nonstopux*)
19553 nonstopux*) version_type=nonstopux ;;
19555 if test "$lt_cv_prog_gnu_ld" = yes; then
19563 soname_spec='${libname}${release}${shared_ext}$major'
19564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19566 irix5* | nonstopux*)
19567 libsuff= shlibsuff=
19570 case $LD in # libtool.m4 will add one of these switches to LD
19571 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19572 libsuff= shlibsuff= libmagic=32-bit;;
19573 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19574 libsuff=32 shlibsuff=N32 libmagic=N32;;
19575 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19576 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19577 *) libsuff= shlibsuff= libmagic=never-match;;
19581 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19582 shlibpath_overrides_runpath=no
19583 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19584 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19585 hardcode_into_libs=yes
19588 # No shared lib support for Linux oldld, aout, or coff.
19589 linux*oldld* | linux*aout* | linux*coff*)
19593 # This must be Linux ELF.
19598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19599 soname_spec='${libname}${release}${shared_ext}$major'
19600 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19601 shlibpath_var=LD_LIBRARY_PATH
19602 shlibpath_overrides_runpath=no
19603 # This implies no fast_install, which is unacceptable.
19604 # Some rework will be needed to allow for fast_install
19605 # before this can be enabled.
19606 hardcode_into_libs=yes
19608 # find out which ABI we are using
19610 case "$host_cpu" in
19611 x86_64*|s390x*|powerpc64*)
19612 echo '#line 19612 "configure"' > conftest.$ac_ext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; then
19618 case `/usr/bin/file conftest.$ac_objext` in
19621 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19629 # Append ld.so.conf contents to the search path
19630 if test -f /etc/ld.so.conf; then
19631 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19632 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19635 # We used to test for /lib/ld.so.1 and disable shared libraries on
19636 # powerpc, because MkLinux only supported shared libraries with the
19637 # GNU dynamic linker. Since this was broken with cross compilers,
19638 # most powerpc-linux boxes support dynamic linking these days and
19639 # people can always --disable-shared, the test was removed, and we
19640 # assume the GNU/Linux dynamic linker is in use.
19641 dynamic_linker='GNU/Linux ld.so'
19648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19649 soname_spec='${libname}${release}${shared_ext}$major'
19650 shlibpath_var=LD_LIBRARY_PATH
19651 shlibpath_overrides_runpath=no
19652 hardcode_into_libs=yes
19653 dynamic_linker='GNU ld.so'
19660 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19662 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19663 dynamic_linker='NetBSD (a.out) ld.so'
19665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19666 soname_spec='${libname}${release}${shared_ext}$major'
19667 dynamic_linker='NetBSD ld.elf_so'
19669 shlibpath_var=LD_LIBRARY_PATH
19670 shlibpath_overrides_runpath=yes
19671 hardcode_into_libs=yes
19676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19677 shlibpath_var=LD_LIBRARY_PATH
19678 shlibpath_overrides_runpath=yes
19685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19686 soname_spec='${libname}${release}${shared_ext}$major'
19687 shlibpath_var=LD_LIBRARY_PATH
19688 shlibpath_overrides_runpath=yes
19693 sys_lib_dlsearch_path_spec="/usr/lib"
19695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19698 *) need_version=no ;;
19700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19702 shlibpath_var=LD_LIBRARY_PATH
19703 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19705 openbsd2.[89] | openbsd2.[89].*)
19706 shlibpath_overrides_runpath=no
19709 shlibpath_overrides_runpath=yes
19713 shlibpath_overrides_runpath=yes
19718 libname_spec='$name'
19721 library_names_spec='$libname${shared_ext} $libname.a'
19722 dynamic_linker='OS/2 ld.exe'
19723 shlibpath_var=LIBPATH
19726 osf3* | osf4* | osf5*)
19730 soname_spec='${libname}${release}${shared_ext}$major'
19731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19732 shlibpath_var=LD_LIBRARY_PATH
19733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19742 soname_spec='${libname}${release}${shared_ext}$major'
19743 shlibpath_var=LD_LIBRARY_PATH
19744 shlibpath_overrides_runpath=yes
19745 hardcode_into_libs=yes
19746 # ldd complains unless libraries are executable
19747 postinstall_cmds='chmod +x $lib'
19752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19753 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19754 shlibpath_var=LD_LIBRARY_PATH
19755 shlibpath_overrides_runpath=yes
19756 if test "$with_gnu_ld" = yes; then
19764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19765 soname_spec='${libname}${release}${shared_ext}$major'
19766 shlibpath_var=LD_LIBRARY_PATH
19767 case $host_vendor in
19769 shlibpath_overrides_runpath=no
19771 export_dynamic_flag_spec='${wl}-Blargedynsym'
19772 runpath_var=LD_RUN_PATH
19780 shlibpath_overrides_runpath=no
19781 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19787 if test -d /usr/nec ;then
19789 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19790 soname_spec='$libname${shared_ext}.$major'
19791 shlibpath_var=LD_LIBRARY_PATH
19795 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19796 version_type=freebsd-elf
19799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19800 soname_spec='${libname}${release}${shared_ext}$major'
19801 shlibpath_var=LD_LIBRARY_PATH
19802 hardcode_into_libs=yes
19803 if test "$with_gnu_ld" = yes; then
19804 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19805 shlibpath_overrides_runpath=no
19807 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19808 shlibpath_overrides_runpath=yes
19811 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19815 sys_lib_dlsearch_path_spec='/usr/lib'
19820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19821 soname_spec='${libname}${release}${shared_ext}$major'
19822 shlibpath_var=LD_LIBRARY_PATH
19829 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19830 echo "${ECHO_T}$dynamic_linker" >&6
19831 test "$dynamic_linker" = no && can_build_shared=no
19833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19834 if test "$GCC" = yes; then
19835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19838 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19839 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19840 hardcode_action_CXX=
19841 if test -n "$hardcode_libdir_flag_spec_CXX" || \
19842 test -n "$runpath_var_CXX" || \
19843 test "X$hardcode_automatic_CXX" = "Xyes" ; then
19845 # We can hardcode non-existant directories.
19846 if test "$hardcode_direct_CXX" != no &&
19847 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19848 # have to relink, otherwise we might link with an installed library
19849 # when we should be linking with a yet-to-be-installed one
19850 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
19851 test "$hardcode_minus_L_CXX" != no; then
19852 # Linking always hardcodes the temporary library directory.
19853 hardcode_action_CXX=relink
19855 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19856 hardcode_action_CXX=immediate
19859 # We cannot hardcode anything, or else we can only hardcode existing
19861 hardcode_action_CXX=unsupported
19863 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
19864 echo "${ECHO_T}$hardcode_action_CXX" >&6
19866 if test "$hardcode_action_CXX" = relink; then
19867 # Fast installation is not supported
19868 enable_fast_install=no
19869 elif test "$shlibpath_overrides_runpath" = yes ||
19870 test "$enable_shared" = no; then
19871 # Fast installation is not necessary
19872 enable_fast_install=needless
19876 # The else clause should only fire when bootstrapping the
19877 # libtool distribution, otherwise you forgot to ship ltmain.sh
19878 # with your package, and you will get complaints that there are
19879 # no rules to generate ltmain.sh.
19880 if test -f "$ltmain"; then
19881 # See if we are running on zsh, and set the options which allow our commands through
19882 # without removal of \ escapes.
19883 if test -n "${ZSH_VERSION+set}" ; then
19884 setopt NO_GLOB_SUBST
19886 # Now quote all the things that may contain metacharacters while being
19887 # careful not to overquote the AC_SUBSTed values. We take copies of the
19888 # variables and quote the copies for generation of the libtool script.
19889 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19891 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19892 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19893 deplibs_check_method reload_flag reload_cmds need_locks \
19894 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19895 lt_cv_sys_global_symbol_to_c_name_address \
19896 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19897 old_postinstall_cmds old_postuninstall_cmds \
19901 lt_prog_compiler_wl_CXX \
19902 lt_prog_compiler_pic_CXX \
19903 lt_prog_compiler_static_CXX \
19904 lt_prog_compiler_no_builtin_flag_CXX \
19905 export_dynamic_flag_spec_CXX \
19906 thread_safe_flag_spec_CXX \
19907 whole_archive_flag_spec_CXX \
19908 enable_shared_with_static_runtimes_CXX \
19909 old_archive_cmds_CXX \
19910 old_archive_from_new_cmds_CXX \
19911 predep_objects_CXX \
19912 postdep_objects_CXX \
19915 compiler_lib_search_path_CXX \
19917 archive_expsym_cmds_CXX \
19918 postinstall_cmds_CXX \
19919 postuninstall_cmds_CXX \
19920 old_archive_from_expsyms_cmds_CXX \
19921 allow_undefined_flag_CXX \
19922 no_undefined_flag_CXX \
19923 export_symbols_cmds_CXX \
19924 hardcode_libdir_flag_spec_CXX \
19925 hardcode_libdir_flag_spec_ld_CXX \
19926 hardcode_libdir_separator_CXX \
19927 hardcode_automatic_CXX \
19929 module_expsym_cmds_CXX \
19930 lt_cv_prog_compiler_c_o_CXX \
19931 exclude_expsyms_CXX \
19932 include_expsyms_CXX; do
19935 old_archive_cmds_CXX | \
19936 old_archive_from_new_cmds_CXX | \
19937 archive_cmds_CXX | \
19938 archive_expsym_cmds_CXX | \
19939 module_cmds_CXX | \
19940 module_expsym_cmds_CXX | \
19941 old_archive_from_expsyms_cmds_CXX | \
19942 export_symbols_cmds_CXX | \
19943 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19944 postinstall_cmds | postuninstall_cmds | \
19945 old_postinstall_cmds | old_postuninstall_cmds | \
19946 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19947 # Double-quote double-evaled strings.
19948 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19951 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19957 *'\$0 --fallback-echo"')
19958 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19964 cat <<__EOF__ >> "$cfgfile"
19965 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19969 # Shell to use when invoking shell scripts.
19972 # Whether or not to build shared libraries.
19973 build_libtool_libs=$enable_shared
19975 # Whether or not to build static libraries.
19976 build_old_libs=$enable_static
19978 # Whether or not to add -lc for building shared libraries.
19979 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19981 # Whether or not to disallow shared libs when runtime libs are static
19982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19984 # Whether or not to optimize for fast installation.
19985 fast_install=$enable_fast_install
19988 host_alias=$host_alias
19992 # The build system.
19993 build_alias=$build_alias
19997 # An echo program that does not interpret backslashes.
20002 AR_FLAGS=$lt_AR_FLAGS
20007 # LTCC compiler flags.
20008 LTCFLAGS=$lt_LTCFLAGS
20010 # A language-specific compiler.
20011 CC=$lt_compiler_CXX
20013 # Is the compiler the GNU C compiler?
20016 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
20017 gcc_ver=\`gcc -dumpversion\`
20022 # The linker used to build libraries.
20025 # Whether we need hard or soft links.
20028 # A BSD-compatible nm program.
20031 # A symbol stripping program
20034 # Used to examine libraries when file_magic_cmd begins "file"
20035 MAGIC_CMD=$MAGIC_CMD
20037 # Used on cygwin: DLL creation program.
20040 # Used on cygwin: object dumper.
20043 # Used on cygwin: assembler.
20046 # The name of the directory that contains temporary libtool files.
20049 # How to create reloadable object files.
20050 reload_flag=$lt_reload_flag
20051 reload_cmds=$lt_reload_cmds
20053 # How to pass a linker flag through the compiler.
20054 wl=$lt_lt_prog_compiler_wl_CXX
20056 # Object file suffix (normally "o").
20057 objext="$ac_objext"
20059 # Old archive suffix (normally "a").
20062 # Shared library suffix (normally ".so").
20063 shrext_cmds='$shrext_cmds'
20065 # Executable file suffix (normally "").
20068 # Additional compiler flags for building library objects.
20069 pic_flag=$lt_lt_prog_compiler_pic_CXX
20072 # What is the maximum length of a command?
20073 max_cmd_len=$lt_cv_sys_max_cmd_len
20075 # Does compiler simultaneously support -c and -o options?
20076 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20078 # Must we lock files when doing compilation?
20079 need_locks=$lt_need_locks
20081 # Do we need the lib prefix for modules?
20082 need_lib_prefix=$need_lib_prefix
20084 # Do we need a version for libraries?
20085 need_version=$need_version
20087 # Whether dlopen is supported.
20088 dlopen_support=$enable_dlopen
20090 # Whether dlopen of programs is supported.
20091 dlopen_self=$enable_dlopen_self
20093 # Whether dlopen of statically linked programs is supported.
20094 dlopen_self_static=$enable_dlopen_self_static
20096 # Compiler flag to prevent dynamic linking.
20097 link_static_flag=$lt_lt_prog_compiler_static_CXX
20099 # Compiler flag to turn off builtin functions.
20100 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20102 # Compiler flag to allow reflexive dlopens.
20103 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20105 # Compiler flag to generate shared objects directly from archives.
20106 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20108 # Compiler flag to generate thread-safe objects.
20109 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20111 # Library versioning type.
20112 version_type=$version_type
20114 # Format of library name prefix.
20115 libname_spec=$lt_libname_spec
20117 # List of archive names. First name is the real one, the rest are links.
20118 # The last name is the one that the linker finds with -lNAME.
20119 library_names_spec=$lt_library_names_spec
20121 # The coded name of the library, if different from the real name.
20122 soname_spec=$lt_soname_spec
20124 # Commands used to build and install an old-style archive.
20126 old_archive_cmds=$lt_old_archive_cmds_CXX
20127 old_postinstall_cmds=$lt_old_postinstall_cmds
20128 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20130 # Create an old-style archive from a shared archive.
20131 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20133 # Create a temporary old-style archive to link instead of a shared archive.
20134 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20136 # Commands used to build and install a shared archive.
20137 archive_cmds=$lt_archive_cmds_CXX
20138 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20139 postinstall_cmds=$lt_postinstall_cmds
20140 postuninstall_cmds=$lt_postuninstall_cmds
20142 # Commands used to build a loadable module (assumed same as above if empty)
20143 module_cmds=$lt_module_cmds_CXX
20144 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20146 # Commands to strip libraries.
20147 old_striplib=$lt_old_striplib
20148 striplib=$lt_striplib
20150 # Dependencies to place before the objects being linked to create a
20152 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
20154 # Dependencies to place after the objects being linked to create a
20156 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
20158 # Dependencies to place before the objects being linked to create a
20160 predeps=$lt_predeps_CXX
20162 # Dependencies to place after the objects being linked to create a
20164 postdeps=$lt_postdeps_CXX
20166 # The library search path used internally by the compiler when linking
20167 # a shared library.
20168 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
20170 # Method to check whether dependent libraries are shared objects.
20171 deplibs_check_method=$lt_deplibs_check_method
20173 # Command to use when deplibs_check_method == file_magic.
20174 file_magic_cmd=$lt_file_magic_cmd
20176 # Flag that allows shared libraries with undefined symbols to be built.
20177 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20179 # Flag that forces no undefined symbols.
20180 no_undefined_flag=$lt_no_undefined_flag_CXX
20182 # Commands used to finish a libtool library installation in a directory.
20183 finish_cmds=$lt_finish_cmds
20185 # Same as above, but a single script fragment to be evaled but not shown.
20186 finish_eval=$lt_finish_eval
20188 # Take the output of nm and produce a listing of raw symbols and C names.
20189 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20191 # Transform the output of nm in a proper C declaration
20192 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20194 # Transform the output of nm in a C name address pair
20195 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20197 # This is the shared library runtime path variable.
20198 runpath_var=$runpath_var
20200 # This is the shared library path variable.
20201 shlibpath_var=$shlibpath_var
20203 # Is shlibpath searched before the hard-coded library search path?
20204 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20206 # How to hardcode a shared library path into an executable.
20207 hardcode_action=$hardcode_action_CXX
20209 # Whether we should hardcode library paths into libraries.
20210 hardcode_into_libs=$hardcode_into_libs
20212 # Flag to hardcode \$libdir into a binary during linking.
20213 # This must work even if \$libdir does not exist.
20214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20216 # If ld is used when linking, flag to hardcode \$libdir into
20217 # a binary during linking. This must work even if \$libdir does
20219 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20221 # Whether we need a single -rpath flag with a separated argument.
20222 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20224 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20225 # resulting binary.
20226 hardcode_direct=$hardcode_direct_CXX
20228 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20229 # resulting binary.
20230 hardcode_minus_L=$hardcode_minus_L_CXX
20232 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20233 # the resulting binary.
20234 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20236 # Set to yes if building a shared library automatically hardcodes DIR into the library
20237 # and all subsequent libraries and executables linked against it.
20238 hardcode_automatic=$hardcode_automatic_CXX
20240 # Variables whose values should be saved in libtool wrapper scripts and
20241 # restored at relink time.
20242 variables_saved_for_relink="$variables_saved_for_relink"
20244 # Whether libtool must link a program against all its dependency libraries.
20245 link_all_deplibs=$link_all_deplibs_CXX
20247 # Compile-time system search path for libraries
20248 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
20250 # Run-time system search path for libraries
20251 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20253 # Fix the shell variable \$srcfile for the compiler.
20254 fix_srcfile_path="$fix_srcfile_path_CXX"
20256 # Set to yes if exported symbols are required.
20257 always_export_symbols=$always_export_symbols_CXX
20259 # The commands to list exported symbols.
20260 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20262 # The commands to extract the exported symbol list from a shared archive.
20263 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20265 # Symbols that should not be listed in the preloaded symbols.
20266 exclude_expsyms=$lt_exclude_expsyms_CXX
20268 # Symbols that must always be exported.
20269 include_expsyms=$lt_include_expsyms_CXX
20271 # ### END LIBTOOL TAG CONFIG: $tagname
20277 # If there is no Makefile yet, we rely on a make rule to execute
20278 # `config.status --recheck' to rerun these tests and create the
20279 # libtool script then.
20280 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20281 if test -f "$ltmain_in"; then
20282 test -f Makefile && make "$ltmain"
20288 ac_cpp='$CPP $CPPFLAGS'
20289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20297 with_gnu_ldcxx=$with_gnu_ld
20298 with_gnu_ld=$lt_save_with_gnu_ld
20299 lt_cv_path_LDCXX=$lt_cv_path_LD
20300 lt_cv_path_LD=$lt_save_path_LD
20301 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20302 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20310 if test -n "$F77" && test "X$F77" != "Xno"; then
20313 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20314 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
20318 archive_cmds_need_lc_F77=no
20319 allow_undefined_flag_F77=
20320 always_export_symbols_F77=no
20321 archive_expsym_cmds_F77=
20322 export_dynamic_flag_spec_F77=
20323 hardcode_direct_F77=no
20324 hardcode_libdir_flag_spec_F77=
20325 hardcode_libdir_flag_spec_ld_F77=
20326 hardcode_libdir_separator_F77=
20327 hardcode_minus_L_F77=no
20328 hardcode_automatic_F77=no
20330 module_expsym_cmds_F77=
20331 link_all_deplibs_F77=unknown
20332 old_archive_cmds_F77=$old_archive_cmds
20333 no_undefined_flag_F77=
20334 whole_archive_flag_spec_F77=
20335 enable_shared_with_static_runtimes_F77=no
20337 # Source file extension for f77 test sources.
20340 # Object file extension for compiled f77 test sources.
20344 # Code to be used in simple compile tests
20345 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
20347 # Code to be used in simple link tests
20348 lt_simple_link_test_code=" program t\n end\n"
20350 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20352 # If no C compiler was specified, use CC.
20355 # If no C compiler flags were specified, use CFLAGS.
20356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20358 # Allow CC to be a program name with arguments.
20362 # save warnings/boilerplate of simple test code
20363 ac_outfile=conftest.$ac_objext
20364 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
20365 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20366 _lt_compiler_boilerplate=`cat conftest.err`
20369 ac_outfile=conftest.$ac_objext
20370 printf "$lt_simple_link_test_code" >conftest.$ac_ext
20371 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20372 _lt_linker_boilerplate=`cat conftest.err`
20376 # Allow CC to be a program name with arguments.
20381 for cc_temp in $compiler""; do
20383 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20384 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20389 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20392 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20393 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
20394 echo "$as_me:$LINENO: result: $can_build_shared" >&5
20395 echo "${ECHO_T}$can_build_shared" >&6
20397 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20398 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
20399 test "$can_build_shared" = "no" && enable_shared=no
20401 # On AIX, shared libraries and static libraries use the same namespace, and
20402 # are all built from PIC.
20405 test "$enable_shared" = yes && enable_static=no
20406 if test -n "$RANLIB"; then
20407 archive_cmds="$archive_cmds~\$RANLIB \$lib"
20408 postinstall_cmds='$RANLIB $lib'
20412 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
20413 test "$enable_shared" = yes && enable_static=no
20417 echo "$as_me:$LINENO: result: $enable_shared" >&5
20418 echo "${ECHO_T}$enable_shared" >&6
20420 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20421 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
20422 # Make sure either enable_shared or enable_static is yes.
20423 test "$enable_shared" = yes || enable_static=yes
20424 echo "$as_me:$LINENO: result: $enable_static" >&5
20425 echo "${ECHO_T}$enable_static" >&6
20430 lt_prog_compiler_wl_F77=
20431 lt_prog_compiler_pic_F77=
20432 lt_prog_compiler_static_F77=
20434 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20435 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
20437 if test "$GCC" = yes; then
20438 lt_prog_compiler_wl_F77='-Wl,'
20439 lt_prog_compiler_static_F77='-static'
20443 # All AIX code is PIC.
20444 if test "$host_cpu" = ia64; then
20445 # AIX 5 now supports IA64 processor
20446 lt_prog_compiler_static_F77='-Bstatic'
20451 # FIXME: we need at least 68020 code to build shared libraries, but
20452 # adding the `-m68020' flag to GCC prevents building anything better,
20454 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
20457 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20458 # PIC is the default for these OSes.
20461 mingw* | pw32* | os2*)
20462 # This hack is so that the source file can tell whether it is being
20463 # built for inclusion in a dll (and should export symbols for example).
20464 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20467 darwin* | rhapsody*)
20468 # PIC is the default on this platform
20469 # Common symbols not allowed in MH_DYLIB files
20470 lt_prog_compiler_pic_F77='-fno-common'
20474 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20475 # Instead, we relocate shared libraries at runtime.
20479 # Just because we use GCC doesn't mean we suddenly get shared libraries
20480 # on systems that don't support them.
20481 lt_prog_compiler_can_build_shared_F77=no
20486 if test -d /usr/nec; then
20487 lt_prog_compiler_pic_F77=-Kconform_pic
20492 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20493 # not for PA HP-UX.
20499 lt_prog_compiler_pic_F77='-fPIC'
20505 lt_prog_compiler_pic_F77='-fPIC'
20509 # PORTME Check for flag to pass linker flags through the system compiler.
20512 lt_prog_compiler_wl_F77='-Wl,'
20513 if test "$host_cpu" = ia64; then
20514 # AIX 5 now supports IA64 processor
20515 lt_prog_compiler_static_F77='-Bstatic'
20517 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
20521 # PIC is the default on this platform
20522 # Common symbols not allowed in MH_DYLIB files
20523 case $cc_basename in
20525 lt_prog_compiler_pic_F77='-qnocommon'
20526 lt_prog_compiler_wl_F77='-Wl,'
20531 mingw* | pw32* | os2*)
20532 # This hack is so that the source file can tell whether it is being
20533 # built for inclusion in a dll (and should export symbols for example).
20534 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20537 hpux9* | hpux10* | hpux11*)
20538 lt_prog_compiler_wl_F77='-Wl,'
20539 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20540 # not for PA HP-UX.
20546 lt_prog_compiler_pic_F77='+Z'
20549 # Is there a better lt_prog_compiler_static that works with the bundled CC?
20550 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
20553 irix5* | irix6* | nonstopux*)
20554 lt_prog_compiler_wl_F77='-Wl,'
20555 # PIC (with -KPIC) is the default.
20556 lt_prog_compiler_static_F77='-non_shared'
20560 lt_prog_compiler_pic_F77='-KPIC'
20561 lt_prog_compiler_static_F77='-Bstatic'
20565 case $cc_basename in
20567 lt_prog_compiler_wl_F77='-Wl,'
20568 lt_prog_compiler_pic_F77='-KPIC'
20569 lt_prog_compiler_static_F77='-static'
20571 pgcc* | pgf77* | pgf90* | pgf95*)
20572 # Portland Group compilers (*not* the Pentium gcc compiler,
20573 # which looks to be a dead project)
20574 lt_prog_compiler_wl_F77='-Wl,'
20575 lt_prog_compiler_pic_F77='-fpic'
20576 lt_prog_compiler_static_F77='-Bstatic'
20579 lt_prog_compiler_wl_F77='-Wl,'
20580 # All Alpha code is PIC.
20581 lt_prog_compiler_static_F77='-non_shared'
20586 osf3* | osf4* | osf5*)
20587 lt_prog_compiler_wl_F77='-Wl,'
20588 # All OSF/1 code is PIC.
20589 lt_prog_compiler_static_F77='-non_shared'
20593 lt_prog_compiler_pic_F77='-KPIC'
20594 lt_prog_compiler_static_F77='-Bstatic'
20595 case $cc_basename in
20596 f77* | f90* | f95*)
20597 lt_prog_compiler_wl_F77='-Qoption ld ';;
20599 lt_prog_compiler_wl_F77='-Wl,';;
20604 lt_prog_compiler_wl_F77='-Qoption ld '
20605 lt_prog_compiler_pic_F77='-PIC'
20606 lt_prog_compiler_static_F77='-Bstatic'
20609 sysv4 | sysv4.2uw2* | sysv4.3*)
20610 lt_prog_compiler_wl_F77='-Wl,'
20611 lt_prog_compiler_pic_F77='-KPIC'
20612 lt_prog_compiler_static_F77='-Bstatic'
20616 if test -d /usr/nec ;then
20617 lt_prog_compiler_pic_F77='-Kconform_pic'
20618 lt_prog_compiler_static_F77='-Bstatic'
20622 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20623 lt_prog_compiler_wl_F77='-Wl,'
20624 lt_prog_compiler_pic_F77='-KPIC'
20625 lt_prog_compiler_static_F77='-Bstatic'
20629 lt_prog_compiler_wl_F77='-Wl,'
20630 lt_prog_compiler_can_build_shared_F77=no
20634 lt_prog_compiler_pic_F77='-pic'
20635 lt_prog_compiler_static_F77='-Bstatic'
20639 lt_prog_compiler_can_build_shared_F77=no
20644 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20645 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
20648 # Check to make sure the PIC flag actually works.
20650 if test -n "$lt_prog_compiler_pic_F77"; then
20652 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20653 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
20654 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 lt_prog_compiler_pic_works_F77=no
20658 ac_outfile=conftest.$ac_objext
20659 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20660 lt_compiler_flag="$lt_prog_compiler_pic_F77"
20661 # Insert the option either (1) after the last *FLAGS variable, or
20662 # (2) before a word containing "conftest.", or (3) at the end.
20663 # Note that $ac_compile itself does not contain backslashes and begins
20664 # with a dollar sign (not a hyphen), so the echo should work correctly.
20665 # The option is referenced via a variable to avoid confusing sed.
20666 lt_compile=`echo "$ac_compile" | $SED \
20667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20669 -e 's:$: $lt_compiler_flag:'`
20670 (eval echo "\"\$as_me:20670: $lt_compile\"" >&5)
20671 (eval "$lt_compile" 2>conftest.err)
20673 cat conftest.err >&5
20674 echo "$as_me:20674: \$? = $ac_status" >&5
20675 if (exit $ac_status) && test -s "$ac_outfile"; then
20676 # The compiler can only warn and ignore the option if not recognized
20677 # So say no if there are warnings other than the usual output.
20678 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20680 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20681 lt_prog_compiler_pic_works_F77=yes
20687 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
20688 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
20690 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
20691 case $lt_prog_compiler_pic_F77 in
20693 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
20696 lt_prog_compiler_pic_F77=
20697 lt_prog_compiler_can_build_shared_F77=no
20702 # For platforms which do not support PIC, -DPIC is meaningless:
20704 lt_prog_compiler_pic_F77=
20707 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
20712 # Check to make sure the static flag actually works.
20714 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
20715 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20716 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
20717 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
20718 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 lt_prog_compiler_static_works_F77=no
20721 save_LDFLAGS="$LDFLAGS"
20722 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20723 printf "$lt_simple_link_test_code" > conftest.$ac_ext
20724 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20725 # The linker can only warn and ignore the option if not recognized
20726 # So say no if there are warnings
20727 if test -s conftest.err; then
20728 # Append any errors to the config.log.
20729 cat conftest.err 1>&5
20730 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20731 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20732 if diff conftest.exp conftest.er2 >/dev/null; then
20733 lt_prog_compiler_static_works_F77=yes
20736 lt_prog_compiler_static_works_F77=yes
20740 LDFLAGS="$save_LDFLAGS"
20743 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
20744 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
20746 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
20749 lt_prog_compiler_static_F77=
20753 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
20755 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 lt_cv_prog_compiler_c_o_F77=no
20759 $rm -r conftest 2>/dev/null
20763 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20765 lt_compiler_flag="-o out/conftest2.$ac_objext"
20766 # Insert the option either (1) after the last *FLAGS variable, or
20767 # (2) before a word containing "conftest.", or (3) at the end.
20768 # Note that $ac_compile itself does not contain backslashes and begins
20769 # with a dollar sign (not a hyphen), so the echo should work correctly.
20770 lt_compile=`echo "$ac_compile" | $SED \
20771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20773 -e 's:$: $lt_compiler_flag:'`
20774 (eval echo "\"\$as_me:20774: $lt_compile\"" >&5)
20775 (eval "$lt_compile" 2>out/conftest.err)
20777 cat out/conftest.err >&5
20778 echo "$as_me:20778: \$? = $ac_status" >&5
20779 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20781 # The compiler can only warn and ignore the option if not recognized
20782 # So say no if there are warnings
20783 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20784 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20785 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20786 lt_cv_prog_compiler_c_o_F77=yes
20791 # SGI C++ compiler will create directory out/ii_files/ for
20792 # template instantiation
20793 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20794 $rm out/* && rmdir out
20800 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
20804 hard_links="nottested"
20805 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20806 # do not overwrite the value of need_locks provided by the user
20807 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20808 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20811 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20813 ln conftest.a conftest.b 2>&5 || hard_links=no
20814 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20815 echo "$as_me:$LINENO: result: $hard_links" >&5
20816 echo "${ECHO_T}$hard_links" >&6
20817 if test "$hard_links" = no; then
20818 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20819 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20826 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20827 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20830 allow_undefined_flag_F77=
20831 enable_shared_with_static_runtimes_F77=no
20833 archive_expsym_cmds_F77=
20834 old_archive_From_new_cmds_F77=
20835 old_archive_from_expsyms_cmds_F77=
20836 export_dynamic_flag_spec_F77=
20837 whole_archive_flag_spec_F77=
20838 thread_safe_flag_spec_F77=
20839 hardcode_libdir_flag_spec_F77=
20840 hardcode_libdir_flag_spec_ld_F77=
20841 hardcode_libdir_separator_F77=
20842 hardcode_direct_F77=no
20843 hardcode_minus_L_F77=no
20844 hardcode_shlibpath_var_F77=unsupported
20845 link_all_deplibs_F77=unknown
20846 hardcode_automatic_F77=no
20848 module_expsym_cmds_F77=
20849 always_export_symbols_F77=no
20850 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20851 # include_expsyms should be a list of space-separated symbols to be *always*
20852 # included in the symbol list
20853 include_expsyms_F77=
20854 # exclude_expsyms can be an extended regexp of symbols to exclude
20855 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20856 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20857 # as well as any symbol that contains `d'.
20858 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
20859 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20860 # platforms (ab)use it in PIC code, but their linkers get confused if
20861 # the symbol is explicitly referenced. Since portable code cannot
20862 # rely on this symbol name, it's probably fine to never include it in
20863 # preloaded symbol tables.
20864 extract_expsyms_cmds=
20865 # Just being paranoid about ensuring that cc_basename is set.
20866 for cc_temp in $compiler""; do
20868 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20869 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20874 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20877 cygwin* | mingw* | pw32*)
20878 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20879 # When not using gcc, we currently assume that we are using
20880 # Microsoft Visual C++.
20881 if test "$GCC" != yes; then
20886 # we just hope/assume this is gcc and not c89 (= MSVC++)
20895 if test "$with_gnu_ld" = yes; then
20896 # If archive_cmds runs LD, not CC, wlarc should be empty
20899 # Set some defaults for GNU ld with shared library support. These
20900 # are reset later if shared libraries are not supported. Putting them
20901 # here allows them to be overridden if necessary.
20902 runpath_var=LD_RUN_PATH
20903 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20904 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20905 # ancient GNU ld didn't support --whole-archive et. al.
20906 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20907 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20909 whole_archive_flag_spec_F77=
20911 supports_anon_versioning=no
20912 case `$LD -v 2>/dev/null` in
20913 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20914 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20915 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20916 *\ 2.11.*) ;; # other 2.11 versions
20917 *) supports_anon_versioning=yes ;;
20920 # See if GNU ld supports shared libraries.
20922 aix3* | aix4* | aix5*)
20923 # On AIX/PPC, the GNU linker is very broken
20924 if test "$host_cpu" != ia64; then
20928 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20929 *** to be unable to reliably create shared libraries on AIX.
20930 *** Therefore, libtool is disabling shared libraries support. If you
20931 *** really care for shared libraries, you may want to modify your PATH
20932 *** so that a non-GNU linker is found, and then restart.
20939 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)'
20940 hardcode_libdir_flag_spec_F77='-L$libdir'
20941 hardcode_minus_L_F77=yes
20943 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20944 # that the semantics of dynamic libraries on AmigaOS, at least up
20945 # to version 4, is to share data among multiple programs linked
20946 # with the same dynamic library. Since this doesn't match the
20947 # behavior of shared libraries on other platforms, we can't use
20953 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20954 allow_undefined_flag_F77=unsupported
20955 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20956 # support --undefined. This deserves some investigation. FIXME
20957 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20963 cygwin* | mingw* | pw32*)
20964 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
20965 # as there is no search path for DLLs.
20966 hardcode_libdir_flag_spec_F77='-L$libdir'
20967 allow_undefined_flag_F77=unsupported
20968 always_export_symbols_F77=no
20969 enable_shared_with_static_runtimes_F77=yes
20970 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20972 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20973 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20974 # If the export-symbols file already is a .def file (1st line
20975 # is EXPORTS), use it as is; otherwise, prepend...
20976 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20977 cp $export_symbols $output_objdir/$soname.def;
20979 echo EXPORTS > $output_objdir/$soname.def;
20980 cat $export_symbols >> $output_objdir/$soname.def;
20982 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20989 hardcode_direct_F77=no
20990 hardcode_shlibpath_var_F77=no
20991 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20992 export_dynamic_flag_spec_F77='${wl}-E'
20993 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20994 # Instead, shared libraries are loaded at an image base (0x10000000 by
20995 # default) and relocated if they conflict, which is a slow very memory
20996 # consuming and fragmenting process. To avoid this, we pick a random,
20997 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20998 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20999 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21000 archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21004 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21006 case $cc_basename,$host_cpu in
21007 pgcc*) # Portland Group C compiler
21008 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21009 tmp_addflag=' $pic_flag'
21011 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21012 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21013 tmp_addflag=' $pic_flag -Mnomain' ;;
21014 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21015 tmp_addflag=' -i_dynamic' ;;
21016 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21017 tmp_addflag=' -i_dynamic -nofor_main' ;;
21018 ifc* | ifort*) # Intel Fortran compiler
21019 tmp_addflag=' -nofor_main' ;;
21021 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21023 if test $supports_anon_versioning = yes; then
21024 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
21025 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21026 $echo "local: *; };" >> $output_objdir/$libname.ver~
21027 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21035 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21036 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21039 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21040 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21045 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21049 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21050 *** create shared libraries on Solaris systems. Therefore, libtool
21051 *** is disabling shared libraries support. We urge you to upgrade GNU
21052 *** binutils to release 2.9.1 or newer. Another option is to modify
21053 *** your PATH or compiler configuration so that the native linker is
21054 *** used, and then restart.
21057 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21058 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21059 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21065 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21066 case `$LD -v 2>&1` in
21067 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21071 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21072 *** reliably create shared libraries on SCO systems. Therefore, libtool
21073 *** is disabling shared libraries support. We urge you to upgrade GNU
21074 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21075 *** your PATH or compiler configuration so that the native linker is
21076 *** used, and then restart.
21081 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21082 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21083 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21084 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21093 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21095 hardcode_direct_F77=yes
21096 hardcode_shlibpath_var_F77=no
21100 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21101 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21102 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21109 if test "$ld_shlibs_F77" = no; then
21111 hardcode_libdir_flag_spec_F77=
21112 export_dynamic_flag_spec_F77=
21113 whole_archive_flag_spec_F77=
21116 # PORTME fill in a description of your system's linker (not GNU ld)
21119 allow_undefined_flag_F77=unsupported
21120 always_export_symbols_F77=yes
21121 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'
21122 # Note: this linker hardcodes the directories in LIBPATH if there
21123 # are no directories specified by -L.
21124 hardcode_minus_L_F77=yes
21125 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21126 # Neither direct hardcoding nor static linking is supported with a
21128 hardcode_direct_F77=unsupported
21133 if test "$host_cpu" = ia64; then
21134 # On IA64, the linker does run time linking by default, so we don't
21135 # have to do anything special.
21136 aix_use_runtimelinking=no
21137 exp_sym_flag='-Bexport'
21140 # If we're using GNU nm, then we don't want the "-C" option.
21141 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21142 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21143 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'
21145 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'
21147 aix_use_runtimelinking=no
21149 # Test if we are trying to use run time linking or normal
21150 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21151 # need to do runtime linking.
21152 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
21153 for ld_flag in $LDFLAGS; do
21154 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21155 aix_use_runtimelinking=yes
21162 exp_sym_flag='-bexport'
21163 no_entry_flag='-bnoentry'
21166 # When large executables or shared objects are built, AIX ld can
21167 # have problems creating the table of contents. If linking a library
21168 # or program results in "error TOC overflow" add -mminimal-toc to
21169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21172 archive_cmds_F77=''
21173 hardcode_direct_F77=yes
21174 hardcode_libdir_separator_F77=':'
21175 link_all_deplibs_F77=yes
21177 if test "$GCC" = yes; then
21178 case $host_os in aix4.[012]|aix4.[012].*)
21179 # We only want to do this on AIX 4.2 and lower, the check
21180 # below for broken collect2 doesn't work under 4.3+
21181 collect2name=`${CC} -print-prog-name=collect2`
21182 if test -f "$collect2name" && \
21183 strings "$collect2name" | grep resolve_lib_name >/dev/null
21185 # We have reworked collect2
21186 hardcode_direct_F77=yes
21188 # We have old collect2
21189 hardcode_direct_F77=unsupported
21190 # It fails to find uninstalled libraries when the uninstalled
21191 # path is not listed in the libpath. Setting hardcode_minus_L
21192 # to unsupported forces relinking
21193 hardcode_minus_L_F77=yes
21194 hardcode_libdir_flag_spec_F77='-L$libdir'
21195 hardcode_libdir_separator_F77=
21199 shared_flag='-shared'
21200 if test "$aix_use_runtimelinking" = yes; then
21201 shared_flag="$shared_flag "'${wl}-G'
21205 if test "$host_cpu" = ia64; then
21206 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21207 # chokes on -Wl,-G. The following line is correct:
21210 if test "$aix_use_runtimelinking" = yes; then
21211 shared_flag='${wl}-G'
21213 shared_flag='${wl}-bM:SRE'
21218 # It seems that -bexpall does not export symbols beginning with
21219 # underscore (_), so it is better to generate a list of symbols to export.
21220 always_export_symbols_F77=yes
21221 if test "$aix_use_runtimelinking" = yes; then
21222 # Warning - without using the other runtime loading flags (-brtl),
21223 # -berok will link without error, but may produce a broken library.
21224 allow_undefined_flag_F77='-berok'
21225 # Determine the default libpath from the value encoded in an empty executable.
21226 cat >conftest.$ac_ext <<_ACEOF
21231 rm -f conftest.$ac_objext conftest$ac_exeext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21233 (eval $ac_link) 2>conftest.er1
21235 grep -v '^ *+' conftest.er1 >conftest.err
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_f77_werror_flag"
21241 || test ! -s conftest.err'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; } &&
21247 { ac_try='test -s conftest$ac_exeext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21254 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21256 # Check for a 64-bit object if we didn't find anything.
21257 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; }
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21264 rm -f conftest.err conftest.$ac_objext \
21265 conftest$ac_exeext conftest.$ac_ext
21266 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21268 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21269 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21271 if test "$host_cpu" = ia64; then
21272 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21273 allow_undefined_flag_F77="-z nodefs"
21274 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
21276 # Determine the default libpath from the value encoded in an empty executable.
21277 cat >conftest.$ac_ext <<_ACEOF
21282 rm -f conftest.$ac_objext conftest$ac_exeext
21283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21284 (eval $ac_link) 2>conftest.er1
21286 grep -v '^ *+' conftest.er1 >conftest.err
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } &&
21291 { ac_try='test -z "$ac_f77_werror_flag"
21292 || test ! -s conftest.err'
21293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294 (eval $ac_try) 2>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; } &&
21298 { ac_try='test -s conftest$ac_exeext'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; }; then
21305 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21307 # Check for a 64-bit object if we didn't find anything.
21308 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; }
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21315 rm -f conftest.err conftest.$ac_objext \
21316 conftest$ac_exeext conftest.$ac_ext
21317 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21319 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21320 # Warning - without using the other run time loading flags,
21321 # -berok will link without error, but may produce a broken library.
21322 no_undefined_flag_F77=' ${wl}-bernotok'
21323 allow_undefined_flag_F77=' ${wl}-berok'
21324 # Exported symbols can be pulled into shared objects from archives
21325 whole_archive_flag_spec_F77='$convenience'
21326 archive_cmds_need_lc_F77=yes
21327 # This is similar to how AIX traditionally builds its shared libraries.
21328 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21334 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)'
21335 hardcode_libdir_flag_spec_F77='-L$libdir'
21336 hardcode_minus_L_F77=yes
21337 # see comment about different semantics on the GNU ld section
21342 export_dynamic_flag_spec_F77=-rdynamic
21345 cygwin* | mingw* | pw32*)
21346 # When not using gcc, we currently assume that we are using
21347 # Microsoft Visual C++.
21348 # hardcode_libdir_flag_spec is actually meaningless, as there is
21349 # no search path for DLLs.
21350 hardcode_libdir_flag_spec_F77=' '
21351 allow_undefined_flag_F77=unsupported
21352 # Tell ltmain to make .lib files, not .a files.
21354 # Tell ltmain to make .dll files, not .so files.
21356 # FIXME: Setting linknames here is a bad hack.
21357 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21358 # The linker will automatically build a .lib file if we build a DLL.
21359 old_archive_From_new_cmds_F77='true'
21360 # FIXME: Should let the user specify the lib program.
21361 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
21362 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
21363 enable_shared_with_static_runtimes_F77=yes
21366 darwin* | rhapsody*)
21368 rhapsody* | darwin1.[012])
21369 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
21372 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21373 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21375 case ${MACOSX_DEPLOYMENT_TARGET} in
21377 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21380 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
21386 archive_cmds_need_lc_F77=no
21387 hardcode_direct_F77=no
21388 hardcode_automatic_F77=yes
21389 hardcode_shlibpath_var_F77=unsupported
21390 whole_archive_flag_spec_F77=''
21391 link_all_deplibs_F77=yes
21392 if test "$GCC" = yes ; then
21393 output_verbose_link_cmd='echo'
21394 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21395 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21396 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21397 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21398 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}'
21400 case $cc_basename in
21402 output_verbose_link_cmd='echo'
21403 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21404 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21405 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21406 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21407 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}'
21417 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21418 hardcode_libdir_flag_spec_F77='-L$libdir'
21419 hardcode_shlibpath_var_F77=no
21426 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21427 # support. Future versions do this automatically, but an explicit c++rt0.o
21428 # does not break anything, and helps significantly (at the cost of a little
21431 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21432 hardcode_libdir_flag_spec_F77='-R$libdir'
21433 hardcode_direct_F77=yes
21434 hardcode_shlibpath_var_F77=no
21437 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21439 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21440 hardcode_direct_F77=yes
21441 hardcode_minus_L_F77=yes
21442 hardcode_shlibpath_var_F77=no
21445 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21446 freebsd* | kfreebsd*-gnu | dragonfly*)
21447 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21448 hardcode_libdir_flag_spec_F77='-R$libdir'
21449 hardcode_direct_F77=yes
21450 hardcode_shlibpath_var_F77=no
21454 if test "$GCC" = yes; then
21455 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'
21457 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'
21459 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21460 hardcode_libdir_separator_F77=:
21461 hardcode_direct_F77=yes
21463 # hardcode_minus_L: Not really in the search PATH,
21464 # but as the default location of the library.
21465 hardcode_minus_L_F77=yes
21466 export_dynamic_flag_spec_F77='${wl}-E'
21470 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21471 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21473 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21475 if test "$with_gnu_ld" = no; then
21476 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21477 hardcode_libdir_separator_F77=:
21479 hardcode_direct_F77=yes
21480 export_dynamic_flag_spec_F77='${wl}-E'
21482 # hardcode_minus_L: Not really in the search PATH,
21483 # but as the default location of the library.
21484 hardcode_minus_L_F77=yes
21489 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21492 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21495 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21498 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21504 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21507 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21510 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21514 if test "$with_gnu_ld" = no; then
21515 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
21516 hardcode_libdir_separator_F77=:
21520 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
21521 hardcode_direct_F77=no
21522 hardcode_shlibpath_var_F77=no
21525 hardcode_direct_F77=yes
21526 export_dynamic_flag_spec_F77='${wl}-E'
21528 # hardcode_minus_L: Not really in the search PATH,
21529 # but as the default location of the library.
21530 hardcode_minus_L_F77=yes
21536 irix5* | irix6* | nonstopux*)
21537 if test "$GCC" = yes; then
21538 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'
21540 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'
21541 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
21543 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21544 hardcode_libdir_separator_F77=:
21545 link_all_deplibs_F77=yes
21549 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21550 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
21552 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21554 hardcode_libdir_flag_spec_F77='-R$libdir'
21555 hardcode_direct_F77=yes
21556 hardcode_shlibpath_var_F77=no
21560 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21561 hardcode_direct_F77=yes
21562 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21563 hardcode_libdir_separator_F77=:
21564 hardcode_shlibpath_var_F77=no
21568 hardcode_direct_F77=yes
21569 hardcode_shlibpath_var_F77=no
21570 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21571 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21572 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21573 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21574 export_dynamic_flag_spec_F77='${wl}-E'
21577 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
21578 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21579 hardcode_libdir_flag_spec_F77='-R$libdir'
21582 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21583 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21590 hardcode_libdir_flag_spec_F77='-L$libdir'
21591 hardcode_minus_L_F77=yes
21592 allow_undefined_flag_F77=unsupported
21593 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'
21594 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21598 if test "$GCC" = yes; then
21599 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
21600 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'
21602 allow_undefined_flag_F77=' -expect_unresolved \*'
21603 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'
21605 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21606 hardcode_libdir_separator_F77=:
21609 osf4* | osf5*) # as osf3* with the addition of -msym flag
21610 if test "$GCC" = yes; then
21611 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
21612 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'
21613 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21615 allow_undefined_flag_F77=' -expect_unresolved \*'
21616 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'
21617 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~
21618 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
21620 # Both c and cxx compiler support -rpath directly
21621 hardcode_libdir_flag_spec_F77='-rpath $libdir'
21623 hardcode_libdir_separator_F77=:
21627 no_undefined_flag_F77=' -z text'
21628 if test "$GCC" = yes; then
21630 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21631 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21632 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
21635 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21636 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21637 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21639 hardcode_libdir_flag_spec_F77='-R$libdir'
21640 hardcode_shlibpath_var_F77=no
21642 solaris2.[0-5] | solaris2.[0-5].*) ;;
21644 # The compiler driver will combine linker options so we
21645 # cannot just pass the convience library names through
21646 # without $wl, iff we do not link with $LD.
21647 # Luckily, gcc supports the same syntax we need for Sun Studio.
21648 # Supported since Solaris 2.6 (maybe 2.5.1?)
21651 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
21653 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
21656 link_all_deplibs_F77=yes
21660 if test "x$host_vendor" = xsequent; then
21661 # Use $CC to link under sequent, because it throws in some extra .o
21662 # files that make .init and .fini sections work.
21663 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21665 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21667 hardcode_libdir_flag_spec_F77='-L$libdir'
21668 hardcode_direct_F77=yes
21669 hardcode_minus_L_F77=yes
21670 hardcode_shlibpath_var_F77=no
21674 case $host_vendor in
21676 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21677 hardcode_direct_F77=yes # is this really true???
21680 ## LD is ld it makes a PLAMLIB
21681 ## CC just makes a GrossModule.
21682 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21683 reload_cmds_F77='$CC -r -o $output$reload_objs'
21684 hardcode_direct_F77=no
21687 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21688 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
21691 runpath_var='LD_RUN_PATH'
21692 hardcode_shlibpath_var_F77=no
21696 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21697 hardcode_shlibpath_var_F77=no
21698 export_dynamic_flag_spec_F77='-Bexport'
21702 if test -d /usr/nec; then
21703 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21704 hardcode_shlibpath_var_F77=no
21705 runpath_var=LD_RUN_PATH
21706 hardcode_runpath_var=yes
21711 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
21712 no_undefined_flag_F77='${wl}-z,text'
21713 archive_cmds_need_lc_F77=no
21714 hardcode_shlibpath_var_F77=no
21715 runpath_var='LD_RUN_PATH'
21717 if test "$GCC" = yes; then
21718 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21719 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21721 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21722 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21726 sysv5* | sco3.2v5* | sco5v6*)
21727 # Note: We can NOT use -z defs as we might desire, because we do not
21728 # link with -lc, and that would cause any symbols used from libc to
21729 # always be unresolved, which means just about no library would
21730 # ever link correctly. If we're not using GNU ld we use -z text
21731 # though, which does catch some bad symbols but isn't as heavy-handed
21733 no_undefined_flag_F77='${wl}-z,text'
21734 allow_undefined_flag_F77='${wl}-z,nodefs'
21735 archive_cmds_need_lc_F77=no
21736 hardcode_shlibpath_var_F77=no
21737 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21738 hardcode_libdir_separator_F77=':'
21739 link_all_deplibs_F77=yes
21740 export_dynamic_flag_spec_F77='${wl}-Bexport'
21741 runpath_var='LD_RUN_PATH'
21743 if test "$GCC" = yes; then
21744 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21745 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21747 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21748 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21753 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21754 hardcode_libdir_flag_spec_F77='-L$libdir'
21755 hardcode_shlibpath_var_F77=no
21764 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
21765 echo "${ECHO_T}$ld_shlibs_F77" >&6
21766 test "$ld_shlibs_F77" = no && can_build_shared=no
21769 # Do we need to explicitly link libc?
21771 case "x$archive_cmds_need_lc_F77" in
21773 # Assume -lc should be added
21774 archive_cmds_need_lc_F77=yes
21776 if test "$enable_shared" = yes && test "$GCC" = yes; then
21777 case $archive_cmds_F77 in
21779 # FIXME: we may have to deal with multi-command sequences.
21782 # Test whether the compiler implicitly links with -lc since on some
21783 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21784 # to ld, don't add -lc before -lgcc.
21785 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21786 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21788 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21791 (eval $ac_compile) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } 2>conftest.err; then
21797 libobjs=conftest.$ac_objext
21799 wl=$lt_prog_compiler_wl_F77
21800 pic_flag=$lt_prog_compiler_pic_F77
21806 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
21807 allow_undefined_flag_F77=
21808 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21809 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }
21814 archive_cmds_need_lc_F77=no
21816 archive_cmds_need_lc_F77=yes
21818 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
21820 cat conftest.err 1>&5
21823 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
21824 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
21831 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21832 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21833 library_names_spec=
21834 libname_spec='lib$name'
21838 postuninstall_cmds=
21842 shlibpath_overrides_runpath=unknown
21844 dynamic_linker="$host_os ld.so"
21845 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21846 if test "$GCC" = yes; then
21847 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21848 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21849 # if the path contains ";" then we assume it to be the separator
21850 # otherwise default to the standard path separator (i.e. ":") - it is
21851 # assumed that no part of a normal pathname contains ";" but that should
21852 # okay in the real world where ";" in dirpaths is itself problematic.
21853 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21855 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21858 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21860 need_lib_prefix=unknown
21861 hardcode_into_libs=no
21863 # when you set need_version to no, make sure it does not cause -set_version
21864 # flags to be left without arguments
21865 need_version=unknown
21870 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21871 shlibpath_var=LIBPATH
21873 # AIX 3 has no versioning support, so we append a major version to the name.
21874 soname_spec='${libname}${release}${shared_ext}$major'
21881 hardcode_into_libs=yes
21882 if test "$host_cpu" = ia64; then
21883 # AIX 5 supports IA64
21884 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21885 shlibpath_var=LD_LIBRARY_PATH
21887 # With GCC up to 2.95.x, collect2 would create an import file
21888 # for dependence libraries. The import file would start with
21889 # the line `#! .'. This would cause the generated library to
21890 # depend on `.', always an invalid library. This was fixed in
21891 # development snapshots of GCC prior to 3.0.
21893 aix4 | aix4.[01] | aix4.[01].*)
21894 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21896 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21899 can_build_shared=no
21903 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21904 # soname into executable. Probably we can add versioning support to
21905 # collect2, so additional links can be useful in future.
21906 if test "$aix_use_runtimelinking" = yes; then
21907 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21908 # instead of lib<name>.a to let people know that these are not
21909 # typical AIX shared libraries.
21910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21912 # We preserve .a as extension for shared libraries through AIX4.2
21913 # and later when we are not doing run time linking.
21914 library_names_spec='${libname}${release}.a $libname.a'
21915 soname_spec='${libname}${release}${shared_ext}$major'
21917 shlibpath_var=LIBPATH
21922 library_names_spec='$libname.ixlibrary $libname.a'
21923 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21924 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'
21928 library_names_spec='${libname}${shared_ext}'
21929 dynamic_linker="$host_os ld.so"
21930 shlibpath_var=LIBRARY_PATH
21936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21937 soname_spec='${libname}${release}${shared_ext}$major'
21938 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21939 shlibpath_var=LD_LIBRARY_PATH
21940 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21941 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21942 # the default ld.so.conf also contains /usr/contrib/lib and
21943 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21944 # libtool to hard-code these into programs
21947 cygwin* | mingw* | pw32*)
21948 version_type=windows
21953 case $GCC,$host_os in
21954 yes,cygwin* | yes,mingw* | yes,pw32*)
21955 library_names_spec='$libname.dll.a'
21956 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21957 postinstall_cmds='base_file=`basename \${file}`~
21958 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21959 dldir=$destdir/`dirname \$dlpath`~
21960 test -d \$dldir || mkdir -p \$dldir~
21961 $install_prog $dir/$dlname \$dldir/$dlname~
21962 chmod a+x \$dldir/$dlname'
21963 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21964 dlpath=$dir/\$dldll~
21966 shlibpath_overrides_runpath=yes
21970 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21971 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21972 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21975 # MinGW DLLs use traditional 'lib' prefix
21976 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21977 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21978 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21979 # It is most probably a Windows format PATH printed by
21980 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21981 # path with ; separators, and with drive letters. We can handle the
21982 # drive letters (cygwin fileutils understands them), so leave them,
21983 # especially as we might pass files found there to a mingw objdump,
21984 # which wouldn't understand a cygwinified path. Ahh.
21985 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21987 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21991 # pw32 DLLs use 'pw' prefix rather than 'lib'
21992 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21998 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22001 dynamic_linker='Win32 ld.exe'
22002 # FIXME: first we should search . and the directory the executable is in
22006 darwin* | rhapsody*)
22007 dynamic_linker="$host_os dyld"
22008 version_type=darwin
22011 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22012 soname_spec='${libname}${release}${major}$shared_ext'
22013 shlibpath_overrides_runpath=yes
22014 shlibpath_var=DYLD_LIBRARY_PATH
22015 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22016 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22017 if test "$GCC" = yes; then
22018 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"`
22020 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22022 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22030 soname_spec='${libname}${release}${shared_ext}$major'
22031 shlibpath_var=LD_LIBRARY_PATH
22042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22043 soname_spec='${libname}${release}${shared_ext}$major'
22044 shlibpath_var=LD_LIBRARY_PATH
22045 shlibpath_overrides_runpath=no
22046 hardcode_into_libs=yes
22047 dynamic_linker='GNU ld.so'
22050 freebsd* | dragonfly*)
22051 # DragonFly does not have aout. When/if they implement a new
22052 # versioning mechanism, adjust this.
22053 if test -x /usr/bin/objformat; then
22054 objformat=`/usr/bin/objformat`
22057 freebsd[123]*) objformat=aout ;;
22058 *) objformat=elf ;;
22061 version_type=freebsd-$objformat
22062 case $version_type in
22064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22069 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22073 shlibpath_var=LD_LIBRARY_PATH
22076 shlibpath_overrides_runpath=yes
22078 freebsd3.[01]* | freebsdelf3.[01]*)
22079 shlibpath_overrides_runpath=yes
22080 hardcode_into_libs=yes
22082 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22083 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22084 shlibpath_overrides_runpath=no
22085 hardcode_into_libs=yes
22087 freebsd*) # from 4.6 on
22088 shlibpath_overrides_runpath=yes
22089 hardcode_into_libs=yes
22098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22099 soname_spec='${libname}${release}${shared_ext}$major'
22100 shlibpath_var=LD_LIBRARY_PATH
22101 hardcode_into_libs=yes
22104 hpux9* | hpux10* | hpux11*)
22105 # Give a soname corresponding to the major version so that dld.sl refuses to
22106 # link against other versions.
22113 hardcode_into_libs=yes
22114 dynamic_linker="$host_os dld.so"
22115 shlibpath_var=LD_LIBRARY_PATH
22116 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22118 soname_spec='${libname}${release}${shared_ext}$major'
22119 if test "X$HPUX_IA64_MODE" = X32; then
22120 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22122 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22124 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22128 hardcode_into_libs=yes
22129 dynamic_linker="$host_os dld.sl"
22130 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22131 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22133 soname_spec='${libname}${release}${shared_ext}$major'
22134 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22135 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22139 dynamic_linker="$host_os dld.sl"
22140 shlibpath_var=SHLIB_PATH
22141 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22143 soname_spec='${libname}${release}${shared_ext}$major'
22146 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22147 postinstall_cmds='chmod 555 $lib'
22154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22155 soname_spec='${libname}${release}${shared_ext}$major'
22156 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22157 shlibpath_var=LD_LIBRARY_PATH
22158 shlibpath_overrides_runpath=no
22159 hardcode_into_libs=yes
22162 irix5* | irix6* | nonstopux*)
22164 nonstopux*) version_type=nonstopux ;;
22166 if test "$lt_cv_prog_gnu_ld" = yes; then
22174 soname_spec='${libname}${release}${shared_ext}$major'
22175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22177 irix5* | nonstopux*)
22178 libsuff= shlibsuff=
22181 case $LD in # libtool.m4 will add one of these switches to LD
22182 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22183 libsuff= shlibsuff= libmagic=32-bit;;
22184 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22185 libsuff=32 shlibsuff=N32 libmagic=N32;;
22186 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22187 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22188 *) libsuff= shlibsuff= libmagic=never-match;;
22192 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22193 shlibpath_overrides_runpath=no
22194 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22195 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22196 hardcode_into_libs=yes
22199 # No shared lib support for Linux oldld, aout, or coff.
22200 linux*oldld* | linux*aout* | linux*coff*)
22204 # This must be Linux ELF.
22209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22210 soname_spec='${libname}${release}${shared_ext}$major'
22211 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22212 shlibpath_var=LD_LIBRARY_PATH
22213 shlibpath_overrides_runpath=no
22214 # This implies no fast_install, which is unacceptable.
22215 # Some rework will be needed to allow for fast_install
22216 # before this can be enabled.
22217 hardcode_into_libs=yes
22219 # find out which ABI we are using
22221 case "$host_cpu" in
22222 x86_64*|s390x*|powerpc64*)
22223 echo '#line 22223 "configure"' > conftest.$ac_ext
22224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22225 (eval $ac_compile) 2>&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); }; then
22229 case `/usr/bin/file conftest.$ac_objext` in
22232 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22240 # Append ld.so.conf contents to the search path
22241 if test -f /etc/ld.so.conf; then
22242 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
22243 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22246 # We used to test for /lib/ld.so.1 and disable shared libraries on
22247 # powerpc, because MkLinux only supported shared libraries with the
22248 # GNU dynamic linker. Since this was broken with cross compilers,
22249 # most powerpc-linux boxes support dynamic linking these days and
22250 # people can always --disable-shared, the test was removed, and we
22251 # assume the GNU/Linux dynamic linker is in use.
22252 dynamic_linker='GNU/Linux ld.so'
22259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22260 soname_spec='${libname}${release}${shared_ext}$major'
22261 shlibpath_var=LD_LIBRARY_PATH
22262 shlibpath_overrides_runpath=no
22263 hardcode_into_libs=yes
22264 dynamic_linker='GNU ld.so'
22271 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22273 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22274 dynamic_linker='NetBSD (a.out) ld.so'
22276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22277 soname_spec='${libname}${release}${shared_ext}$major'
22278 dynamic_linker='NetBSD ld.elf_so'
22280 shlibpath_var=LD_LIBRARY_PATH
22281 shlibpath_overrides_runpath=yes
22282 hardcode_into_libs=yes
22287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22288 shlibpath_var=LD_LIBRARY_PATH
22289 shlibpath_overrides_runpath=yes
22296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22297 soname_spec='${libname}${release}${shared_ext}$major'
22298 shlibpath_var=LD_LIBRARY_PATH
22299 shlibpath_overrides_runpath=yes
22304 sys_lib_dlsearch_path_spec="/usr/lib"
22306 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22308 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22309 *) need_version=no ;;
22311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22312 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22313 shlibpath_var=LD_LIBRARY_PATH
22314 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22316 openbsd2.[89] | openbsd2.[89].*)
22317 shlibpath_overrides_runpath=no
22320 shlibpath_overrides_runpath=yes
22324 shlibpath_overrides_runpath=yes
22329 libname_spec='$name'
22332 library_names_spec='$libname${shared_ext} $libname.a'
22333 dynamic_linker='OS/2 ld.exe'
22334 shlibpath_var=LIBPATH
22337 osf3* | osf4* | osf5*)
22341 soname_spec='${libname}${release}${shared_ext}$major'
22342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22343 shlibpath_var=LD_LIBRARY_PATH
22344 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22345 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22353 soname_spec='${libname}${release}${shared_ext}$major'
22354 shlibpath_var=LD_LIBRARY_PATH
22355 shlibpath_overrides_runpath=yes
22356 hardcode_into_libs=yes
22357 # ldd complains unless libraries are executable
22358 postinstall_cmds='chmod +x $lib'
22363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22364 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22365 shlibpath_var=LD_LIBRARY_PATH
22366 shlibpath_overrides_runpath=yes
22367 if test "$with_gnu_ld" = yes; then
22375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22376 soname_spec='${libname}${release}${shared_ext}$major'
22377 shlibpath_var=LD_LIBRARY_PATH
22378 case $host_vendor in
22380 shlibpath_overrides_runpath=no
22382 export_dynamic_flag_spec='${wl}-Blargedynsym'
22383 runpath_var=LD_RUN_PATH
22391 shlibpath_overrides_runpath=no
22392 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22398 if test -d /usr/nec ;then
22400 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22401 soname_spec='$libname${shared_ext}.$major'
22402 shlibpath_var=LD_LIBRARY_PATH
22406 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22407 version_type=freebsd-elf
22410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22411 soname_spec='${libname}${release}${shared_ext}$major'
22412 shlibpath_var=LD_LIBRARY_PATH
22413 hardcode_into_libs=yes
22414 if test "$with_gnu_ld" = yes; then
22415 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22416 shlibpath_overrides_runpath=no
22418 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22419 shlibpath_overrides_runpath=yes
22422 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22426 sys_lib_dlsearch_path_spec='/usr/lib'
22431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22432 soname_spec='${libname}${release}${shared_ext}$major'
22433 shlibpath_var=LD_LIBRARY_PATH
22440 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22441 echo "${ECHO_T}$dynamic_linker" >&6
22442 test "$dynamic_linker" = no && can_build_shared=no
22444 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22445 if test "$GCC" = yes; then
22446 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22449 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22450 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22451 hardcode_action_F77=
22452 if test -n "$hardcode_libdir_flag_spec_F77" || \
22453 test -n "$runpath_var_F77" || \
22454 test "X$hardcode_automatic_F77" = "Xyes" ; then
22456 # We can hardcode non-existant directories.
22457 if test "$hardcode_direct_F77" != no &&
22458 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22459 # have to relink, otherwise we might link with an installed library
22460 # when we should be linking with a yet-to-be-installed one
22461 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
22462 test "$hardcode_minus_L_F77" != no; then
22463 # Linking always hardcodes the temporary library directory.
22464 hardcode_action_F77=relink
22466 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22467 hardcode_action_F77=immediate
22470 # We cannot hardcode anything, or else we can only hardcode existing
22472 hardcode_action_F77=unsupported
22474 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
22475 echo "${ECHO_T}$hardcode_action_F77" >&6
22477 if test "$hardcode_action_F77" = relink; then
22478 # Fast installation is not supported
22479 enable_fast_install=no
22480 elif test "$shlibpath_overrides_runpath" = yes ||
22481 test "$enable_shared" = no; then
22482 # Fast installation is not necessary
22483 enable_fast_install=needless
22487 # The else clause should only fire when bootstrapping the
22488 # libtool distribution, otherwise you forgot to ship ltmain.sh
22489 # with your package, and you will get complaints that there are
22490 # no rules to generate ltmain.sh.
22491 if test -f "$ltmain"; then
22492 # See if we are running on zsh, and set the options which allow our commands through
22493 # without removal of \ escapes.
22494 if test -n "${ZSH_VERSION+set}" ; then
22495 setopt NO_GLOB_SUBST
22497 # Now quote all the things that may contain metacharacters while being
22498 # careful not to overquote the AC_SUBSTed values. We take copies of the
22499 # variables and quote the copies for generation of the libtool script.
22500 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22502 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22503 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22504 deplibs_check_method reload_flag reload_cmds need_locks \
22505 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22506 lt_cv_sys_global_symbol_to_c_name_address \
22507 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22508 old_postinstall_cmds old_postuninstall_cmds \
22512 lt_prog_compiler_wl_F77 \
22513 lt_prog_compiler_pic_F77 \
22514 lt_prog_compiler_static_F77 \
22515 lt_prog_compiler_no_builtin_flag_F77 \
22516 export_dynamic_flag_spec_F77 \
22517 thread_safe_flag_spec_F77 \
22518 whole_archive_flag_spec_F77 \
22519 enable_shared_with_static_runtimes_F77 \
22520 old_archive_cmds_F77 \
22521 old_archive_from_new_cmds_F77 \
22522 predep_objects_F77 \
22523 postdep_objects_F77 \
22526 compiler_lib_search_path_F77 \
22528 archive_expsym_cmds_F77 \
22529 postinstall_cmds_F77 \
22530 postuninstall_cmds_F77 \
22531 old_archive_from_expsyms_cmds_F77 \
22532 allow_undefined_flag_F77 \
22533 no_undefined_flag_F77 \
22534 export_symbols_cmds_F77 \
22535 hardcode_libdir_flag_spec_F77 \
22536 hardcode_libdir_flag_spec_ld_F77 \
22537 hardcode_libdir_separator_F77 \
22538 hardcode_automatic_F77 \
22540 module_expsym_cmds_F77 \
22541 lt_cv_prog_compiler_c_o_F77 \
22542 exclude_expsyms_F77 \
22543 include_expsyms_F77; do
22546 old_archive_cmds_F77 | \
22547 old_archive_from_new_cmds_F77 | \
22548 archive_cmds_F77 | \
22549 archive_expsym_cmds_F77 | \
22550 module_cmds_F77 | \
22551 module_expsym_cmds_F77 | \
22552 old_archive_from_expsyms_cmds_F77 | \
22553 export_symbols_cmds_F77 | \
22554 extract_expsyms_cmds | reload_cmds | finish_cmds | \
22555 postinstall_cmds | postuninstall_cmds | \
22556 old_postinstall_cmds | old_postuninstall_cmds | \
22557 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22558 # Double-quote double-evaled strings.
22559 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22562 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22568 *'\$0 --fallback-echo"')
22569 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22575 cat <<__EOF__ >> "$cfgfile"
22576 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
22578 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22580 # Shell to use when invoking shell scripts.
22583 # Whether or not to build shared libraries.
22584 build_libtool_libs=$enable_shared
22586 # Whether or not to build static libraries.
22587 build_old_libs=$enable_static
22589 # Whether or not to add -lc for building shared libraries.
22590 build_libtool_need_lc=$archive_cmds_need_lc_F77
22592 # Whether or not to disallow shared libs when runtime libs are static
22593 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
22595 # Whether or not to optimize for fast installation.
22596 fast_install=$enable_fast_install
22599 host_alias=$host_alias
22603 # The build system.
22604 build_alias=$build_alias
22608 # An echo program that does not interpret backslashes.
22613 AR_FLAGS=$lt_AR_FLAGS
22618 # LTCC compiler flags.
22619 LTCFLAGS=$lt_LTCFLAGS
22621 # A language-specific compiler.
22622 CC=$lt_compiler_F77
22624 # Is the compiler the GNU C compiler?
22627 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
22628 gcc_ver=\`gcc -dumpversion\`
22633 # The linker used to build libraries.
22636 # Whether we need hard or soft links.
22639 # A BSD-compatible nm program.
22642 # A symbol stripping program
22645 # Used to examine libraries when file_magic_cmd begins "file"
22646 MAGIC_CMD=$MAGIC_CMD
22648 # Used on cygwin: DLL creation program.
22651 # Used on cygwin: object dumper.
22654 # Used on cygwin: assembler.
22657 # The name of the directory that contains temporary libtool files.
22660 # How to create reloadable object files.
22661 reload_flag=$lt_reload_flag
22662 reload_cmds=$lt_reload_cmds
22664 # How to pass a linker flag through the compiler.
22665 wl=$lt_lt_prog_compiler_wl_F77
22667 # Object file suffix (normally "o").
22668 objext="$ac_objext"
22670 # Old archive suffix (normally "a").
22673 # Shared library suffix (normally ".so").
22674 shrext_cmds='$shrext_cmds'
22676 # Executable file suffix (normally "").
22679 # Additional compiler flags for building library objects.
22680 pic_flag=$lt_lt_prog_compiler_pic_F77
22683 # What is the maximum length of a command?
22684 max_cmd_len=$lt_cv_sys_max_cmd_len
22686 # Does compiler simultaneously support -c and -o options?
22687 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
22689 # Must we lock files when doing compilation?
22690 need_locks=$lt_need_locks
22692 # Do we need the lib prefix for modules?
22693 need_lib_prefix=$need_lib_prefix
22695 # Do we need a version for libraries?
22696 need_version=$need_version
22698 # Whether dlopen is supported.
22699 dlopen_support=$enable_dlopen
22701 # Whether dlopen of programs is supported.
22702 dlopen_self=$enable_dlopen_self
22704 # Whether dlopen of statically linked programs is supported.
22705 dlopen_self_static=$enable_dlopen_self_static
22707 # Compiler flag to prevent dynamic linking.
22708 link_static_flag=$lt_lt_prog_compiler_static_F77
22710 # Compiler flag to turn off builtin functions.
22711 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
22713 # Compiler flag to allow reflexive dlopens.
22714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
22716 # Compiler flag to generate shared objects directly from archives.
22717 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
22719 # Compiler flag to generate thread-safe objects.
22720 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
22722 # Library versioning type.
22723 version_type=$version_type
22725 # Format of library name prefix.
22726 libname_spec=$lt_libname_spec
22728 # List of archive names. First name is the real one, the rest are links.
22729 # The last name is the one that the linker finds with -lNAME.
22730 library_names_spec=$lt_library_names_spec
22732 # The coded name of the library, if different from the real name.
22733 soname_spec=$lt_soname_spec
22735 # Commands used to build and install an old-style archive.
22737 old_archive_cmds=$lt_old_archive_cmds_F77
22738 old_postinstall_cmds=$lt_old_postinstall_cmds
22739 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22741 # Create an old-style archive from a shared archive.
22742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
22744 # Create a temporary old-style archive to link instead of a shared archive.
22745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
22747 # Commands used to build and install a shared archive.
22748 archive_cmds=$lt_archive_cmds_F77
22749 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
22750 postinstall_cmds=$lt_postinstall_cmds
22751 postuninstall_cmds=$lt_postuninstall_cmds
22753 # Commands used to build a loadable module (assumed same as above if empty)
22754 module_cmds=$lt_module_cmds_F77
22755 module_expsym_cmds=$lt_module_expsym_cmds_F77
22757 # Commands to strip libraries.
22758 old_striplib=$lt_old_striplib
22759 striplib=$lt_striplib
22761 # Dependencies to place before the objects being linked to create a
22763 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
22765 # Dependencies to place after the objects being linked to create a
22767 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
22769 # Dependencies to place before the objects being linked to create a
22771 predeps=$lt_predeps_F77
22773 # Dependencies to place after the objects being linked to create a
22775 postdeps=$lt_postdeps_F77
22777 # The library search path used internally by the compiler when linking
22778 # a shared library.
22779 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
22781 # Method to check whether dependent libraries are shared objects.
22782 deplibs_check_method=$lt_deplibs_check_method
22784 # Command to use when deplibs_check_method == file_magic.
22785 file_magic_cmd=$lt_file_magic_cmd
22787 # Flag that allows shared libraries with undefined symbols to be built.
22788 allow_undefined_flag=$lt_allow_undefined_flag_F77
22790 # Flag that forces no undefined symbols.
22791 no_undefined_flag=$lt_no_undefined_flag_F77
22793 # Commands used to finish a libtool library installation in a directory.
22794 finish_cmds=$lt_finish_cmds
22796 # Same as above, but a single script fragment to be evaled but not shown.
22797 finish_eval=$lt_finish_eval
22799 # Take the output of nm and produce a listing of raw symbols and C names.
22800 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22802 # Transform the output of nm in a proper C declaration
22803 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22805 # Transform the output of nm in a C name address pair
22806 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22808 # This is the shared library runtime path variable.
22809 runpath_var=$runpath_var
22811 # This is the shared library path variable.
22812 shlibpath_var=$shlibpath_var
22814 # Is shlibpath searched before the hard-coded library search path?
22815 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22817 # How to hardcode a shared library path into an executable.
22818 hardcode_action=$hardcode_action_F77
22820 # Whether we should hardcode library paths into libraries.
22821 hardcode_into_libs=$hardcode_into_libs
22823 # Flag to hardcode \$libdir into a binary during linking.
22824 # This must work even if \$libdir does not exist.
22825 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
22827 # If ld is used when linking, flag to hardcode \$libdir into
22828 # a binary during linking. This must work even if \$libdir does
22830 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
22832 # Whether we need a single -rpath flag with a separated argument.
22833 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
22835 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22836 # resulting binary.
22837 hardcode_direct=$hardcode_direct_F77
22839 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22840 # resulting binary.
22841 hardcode_minus_L=$hardcode_minus_L_F77
22843 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22844 # the resulting binary.
22845 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
22847 # Set to yes if building a shared library automatically hardcodes DIR into the library
22848 # and all subsequent libraries and executables linked against it.
22849 hardcode_automatic=$hardcode_automatic_F77
22851 # Variables whose values should be saved in libtool wrapper scripts and
22852 # restored at relink time.
22853 variables_saved_for_relink="$variables_saved_for_relink"
22855 # Whether libtool must link a program against all its dependency libraries.
22856 link_all_deplibs=$link_all_deplibs_F77
22858 # Compile-time system search path for libraries
22859 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
22861 # Run-time system search path for libraries
22862 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22864 # Fix the shell variable \$srcfile for the compiler.
22865 fix_srcfile_path="$fix_srcfile_path_F77"
22867 # Set to yes if exported symbols are required.
22868 always_export_symbols=$always_export_symbols_F77
22870 # The commands to list exported symbols.
22871 export_symbols_cmds=$lt_export_symbols_cmds_F77
22873 # The commands to extract the exported symbol list from a shared archive.
22874 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22876 # Symbols that should not be listed in the preloaded symbols.
22877 exclude_expsyms=$lt_exclude_expsyms_F77
22879 # Symbols that must always be exported.
22880 include_expsyms=$lt_include_expsyms_F77
22882 # ### END LIBTOOL TAG CONFIG: $tagname
22888 # If there is no Makefile yet, we rely on a make rule to execute
22889 # `config.status --recheck' to rerun these tests and create the
22890 # libtool script then.
22891 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22892 if test -f "$ltmain_in"; then
22893 test -f Makefile && make "$ltmain"
22899 ac_cpp='$CPP $CPPFLAGS'
22900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22912 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
22916 # Source file extension for Java test sources.
22919 # Object file extension for compiled Java test sources.
22923 # Code to be used in simple compile tests
22924 lt_simple_compile_test_code="class foo {}\n"
22926 # Code to be used in simple link tests
22927 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
22929 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22931 # If no C compiler was specified, use CC.
22934 # If no C compiler flags were specified, use CFLAGS.
22935 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22937 # Allow CC to be a program name with arguments.
22941 # save warnings/boilerplate of simple test code
22942 ac_outfile=conftest.$ac_objext
22943 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
22944 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22945 _lt_compiler_boilerplate=`cat conftest.err`
22948 ac_outfile=conftest.$ac_objext
22949 printf "$lt_simple_link_test_code" >conftest.$ac_ext
22950 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22951 _lt_linker_boilerplate=`cat conftest.err`
22955 # Allow CC to be a program name with arguments.
22960 for cc_temp in $compiler""; do
22962 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22963 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22968 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22971 # GCJ did not exist at the time GCC didn't implicitly link libc in.
22972 archive_cmds_need_lc_GCJ=no
22974 old_archive_cmds_GCJ=$old_archive_cmds
22977 lt_prog_compiler_no_builtin_flag_GCJ=
22979 if test "$GCC" = yes; then
22980 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
22983 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22984 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
22985 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
22986 echo $ECHO_N "(cached) $ECHO_C" >&6
22988 lt_cv_prog_compiler_rtti_exceptions=no
22989 ac_outfile=conftest.$ac_objext
22990 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22991 lt_compiler_flag="-fno-rtti -fno-exceptions"
22992 # Insert the option either (1) after the last *FLAGS variable, or
22993 # (2) before a word containing "conftest.", or (3) at the end.
22994 # Note that $ac_compile itself does not contain backslashes and begins
22995 # with a dollar sign (not a hyphen), so the echo should work correctly.
22996 # The option is referenced via a variable to avoid confusing sed.
22997 lt_compile=`echo "$ac_compile" | $SED \
22998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23000 -e 's:$: $lt_compiler_flag:'`
23001 (eval echo "\"\$as_me:23001: $lt_compile\"" >&5)
23002 (eval "$lt_compile" 2>conftest.err)
23004 cat conftest.err >&5
23005 echo "$as_me:23005: \$? = $ac_status" >&5
23006 if (exit $ac_status) && test -s "$ac_outfile"; then
23007 # The compiler can only warn and ignore the option if not recognized
23008 # So say no if there are warnings other than the usual output.
23009 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23010 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23011 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23012 lt_cv_prog_compiler_rtti_exceptions=yes
23018 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23019 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
23021 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23022 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23029 lt_prog_compiler_wl_GCJ=
23030 lt_prog_compiler_pic_GCJ=
23031 lt_prog_compiler_static_GCJ=
23033 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23034 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23036 if test "$GCC" = yes; then
23037 lt_prog_compiler_wl_GCJ='-Wl,'
23038 lt_prog_compiler_static_GCJ='-static'
23042 # All AIX code is PIC.
23043 if test "$host_cpu" = ia64; then
23044 # AIX 5 now supports IA64 processor
23045 lt_prog_compiler_static_GCJ='-Bstatic'
23050 # FIXME: we need at least 68020 code to build shared libraries, but
23051 # adding the `-m68020' flag to GCC prevents building anything better,
23053 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23056 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23057 # PIC is the default for these OSes.
23060 mingw* | pw32* | os2*)
23061 # This hack is so that the source file can tell whether it is being
23062 # built for inclusion in a dll (and should export symbols for example).
23063 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23066 darwin* | rhapsody*)
23067 # PIC is the default on this platform
23068 # Common symbols not allowed in MH_DYLIB files
23069 lt_prog_compiler_pic_GCJ='-fno-common'
23073 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23074 # Instead, we relocate shared libraries at runtime.
23078 # Just because we use GCC doesn't mean we suddenly get shared libraries
23079 # on systems that don't support them.
23080 lt_prog_compiler_can_build_shared_GCJ=no
23085 if test -d /usr/nec; then
23086 lt_prog_compiler_pic_GCJ=-Kconform_pic
23091 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23092 # not for PA HP-UX.
23098 lt_prog_compiler_pic_GCJ='-fPIC'
23104 lt_prog_compiler_pic_GCJ='-fPIC'
23108 # PORTME Check for flag to pass linker flags through the system compiler.
23111 lt_prog_compiler_wl_GCJ='-Wl,'
23112 if test "$host_cpu" = ia64; then
23113 # AIX 5 now supports IA64 processor
23114 lt_prog_compiler_static_GCJ='-Bstatic'
23116 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
23120 # PIC is the default on this platform
23121 # Common symbols not allowed in MH_DYLIB files
23122 case $cc_basename in
23124 lt_prog_compiler_pic_GCJ='-qnocommon'
23125 lt_prog_compiler_wl_GCJ='-Wl,'
23130 mingw* | pw32* | os2*)
23131 # This hack is so that the source file can tell whether it is being
23132 # built for inclusion in a dll (and should export symbols for example).
23133 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
23136 hpux9* | hpux10* | hpux11*)
23137 lt_prog_compiler_wl_GCJ='-Wl,'
23138 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23139 # not for PA HP-UX.
23145 lt_prog_compiler_pic_GCJ='+Z'
23148 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23149 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
23152 irix5* | irix6* | nonstopux*)
23153 lt_prog_compiler_wl_GCJ='-Wl,'
23154 # PIC (with -KPIC) is the default.
23155 lt_prog_compiler_static_GCJ='-non_shared'
23159 lt_prog_compiler_pic_GCJ='-KPIC'
23160 lt_prog_compiler_static_GCJ='-Bstatic'
23164 case $cc_basename in
23166 lt_prog_compiler_wl_GCJ='-Wl,'
23167 lt_prog_compiler_pic_GCJ='-KPIC'
23168 lt_prog_compiler_static_GCJ='-static'
23170 pgcc* | pgf77* | pgf90* | pgf95*)
23171 # Portland Group compilers (*not* the Pentium gcc compiler,
23172 # which looks to be a dead project)
23173 lt_prog_compiler_wl_GCJ='-Wl,'
23174 lt_prog_compiler_pic_GCJ='-fpic'
23175 lt_prog_compiler_static_GCJ='-Bstatic'
23178 lt_prog_compiler_wl_GCJ='-Wl,'
23179 # All Alpha code is PIC.
23180 lt_prog_compiler_static_GCJ='-non_shared'
23185 osf3* | osf4* | osf5*)
23186 lt_prog_compiler_wl_GCJ='-Wl,'
23187 # All OSF/1 code is PIC.
23188 lt_prog_compiler_static_GCJ='-non_shared'
23192 lt_prog_compiler_pic_GCJ='-KPIC'
23193 lt_prog_compiler_static_GCJ='-Bstatic'
23194 case $cc_basename in
23195 f77* | f90* | f95*)
23196 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
23198 lt_prog_compiler_wl_GCJ='-Wl,';;
23203 lt_prog_compiler_wl_GCJ='-Qoption ld '
23204 lt_prog_compiler_pic_GCJ='-PIC'
23205 lt_prog_compiler_static_GCJ='-Bstatic'
23208 sysv4 | sysv4.2uw2* | sysv4.3*)
23209 lt_prog_compiler_wl_GCJ='-Wl,'
23210 lt_prog_compiler_pic_GCJ='-KPIC'
23211 lt_prog_compiler_static_GCJ='-Bstatic'
23215 if test -d /usr/nec ;then
23216 lt_prog_compiler_pic_GCJ='-Kconform_pic'
23217 lt_prog_compiler_static_GCJ='-Bstatic'
23221 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23222 lt_prog_compiler_wl_GCJ='-Wl,'
23223 lt_prog_compiler_pic_GCJ='-KPIC'
23224 lt_prog_compiler_static_GCJ='-Bstatic'
23228 lt_prog_compiler_wl_GCJ='-Wl,'
23229 lt_prog_compiler_can_build_shared_GCJ=no
23233 lt_prog_compiler_pic_GCJ='-pic'
23234 lt_prog_compiler_static_GCJ='-Bstatic'
23238 lt_prog_compiler_can_build_shared_GCJ=no
23243 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23244 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
23247 # Check to make sure the PIC flag actually works.
23249 if test -n "$lt_prog_compiler_pic_GCJ"; then
23251 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23252 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
23253 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23254 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 lt_prog_compiler_pic_works_GCJ=no
23257 ac_outfile=conftest.$ac_objext
23258 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23259 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
23260 # Insert the option either (1) after the last *FLAGS variable, or
23261 # (2) before a word containing "conftest.", or (3) at the end.
23262 # Note that $ac_compile itself does not contain backslashes and begins
23263 # with a dollar sign (not a hyphen), so the echo should work correctly.
23264 # The option is referenced via a variable to avoid confusing sed.
23265 lt_compile=`echo "$ac_compile" | $SED \
23266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23268 -e 's:$: $lt_compiler_flag:'`
23269 (eval echo "\"\$as_me:23269: $lt_compile\"" >&5)
23270 (eval "$lt_compile" 2>conftest.err)
23272 cat conftest.err >&5
23273 echo "$as_me:23273: \$? = $ac_status" >&5
23274 if (exit $ac_status) && test -s "$ac_outfile"; then
23275 # The compiler can only warn and ignore the option if not recognized
23276 # So say no if there are warnings other than the usual output.
23277 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23278 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23279 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23280 lt_prog_compiler_pic_works_GCJ=yes
23286 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
23287 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
23289 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
23290 case $lt_prog_compiler_pic_GCJ in
23292 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
23295 lt_prog_compiler_pic_GCJ=
23296 lt_prog_compiler_can_build_shared_GCJ=no
23301 # For platforms which do not support PIC, -DPIC is meaningless:
23303 lt_prog_compiler_pic_GCJ=
23306 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
23311 # Check to make sure the static flag actually works.
23313 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
23314 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23315 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
23316 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 lt_prog_compiler_static_works_GCJ=no
23320 save_LDFLAGS="$LDFLAGS"
23321 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23322 printf "$lt_simple_link_test_code" > conftest.$ac_ext
23323 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23324 # The linker can only warn and ignore the option if not recognized
23325 # So say no if there are warnings
23326 if test -s conftest.err; then
23327 # Append any errors to the config.log.
23328 cat conftest.err 1>&5
23329 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
23330 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23331 if diff conftest.exp conftest.er2 >/dev/null; then
23332 lt_prog_compiler_static_works_GCJ=yes
23335 lt_prog_compiler_static_works_GCJ=yes
23339 LDFLAGS="$save_LDFLAGS"
23342 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
23343 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
23345 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
23348 lt_prog_compiler_static_GCJ=
23352 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23353 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
23354 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 lt_cv_prog_compiler_c_o_GCJ=no
23358 $rm -r conftest 2>/dev/null
23362 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23364 lt_compiler_flag="-o out/conftest2.$ac_objext"
23365 # Insert the option either (1) after the last *FLAGS variable, or
23366 # (2) before a word containing "conftest.", or (3) at the end.
23367 # Note that $ac_compile itself does not contain backslashes and begins
23368 # with a dollar sign (not a hyphen), so the echo should work correctly.
23369 lt_compile=`echo "$ac_compile" | $SED \
23370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23372 -e 's:$: $lt_compiler_flag:'`
23373 (eval echo "\"\$as_me:23373: $lt_compile\"" >&5)
23374 (eval "$lt_compile" 2>out/conftest.err)
23376 cat out/conftest.err >&5
23377 echo "$as_me:23377: \$? = $ac_status" >&5
23378 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23380 # The compiler can only warn and ignore the option if not recognized
23381 # So say no if there are warnings
23382 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
23383 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23384 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23385 lt_cv_prog_compiler_c_o_GCJ=yes
23390 # SGI C++ compiler will create directory out/ii_files/ for
23391 # template instantiation
23392 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
23393 $rm out/* && rmdir out
23399 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
23400 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
23403 hard_links="nottested"
23404 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
23405 # do not overwrite the value of need_locks provided by the user
23406 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23407 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
23410 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23412 ln conftest.a conftest.b 2>&5 || hard_links=no
23413 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23414 echo "$as_me:$LINENO: result: $hard_links" >&5
23415 echo "${ECHO_T}$hard_links" >&6
23416 if test "$hard_links" = no; then
23417 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23418 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23425 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23426 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
23429 allow_undefined_flag_GCJ=
23430 enable_shared_with_static_runtimes_GCJ=no
23432 archive_expsym_cmds_GCJ=
23433 old_archive_From_new_cmds_GCJ=
23434 old_archive_from_expsyms_cmds_GCJ=
23435 export_dynamic_flag_spec_GCJ=
23436 whole_archive_flag_spec_GCJ=
23437 thread_safe_flag_spec_GCJ=
23438 hardcode_libdir_flag_spec_GCJ=
23439 hardcode_libdir_flag_spec_ld_GCJ=
23440 hardcode_libdir_separator_GCJ=
23441 hardcode_direct_GCJ=no
23442 hardcode_minus_L_GCJ=no
23443 hardcode_shlibpath_var_GCJ=unsupported
23444 link_all_deplibs_GCJ=unknown
23445 hardcode_automatic_GCJ=no
23447 module_expsym_cmds_GCJ=
23448 always_export_symbols_GCJ=no
23449 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23450 # include_expsyms should be a list of space-separated symbols to be *always*
23451 # included in the symbol list
23452 include_expsyms_GCJ=
23453 # exclude_expsyms can be an extended regexp of symbols to exclude
23454 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23455 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23456 # as well as any symbol that contains `d'.
23457 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
23458 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23459 # platforms (ab)use it in PIC code, but their linkers get confused if
23460 # the symbol is explicitly referenced. Since portable code cannot
23461 # rely on this symbol name, it's probably fine to never include it in
23462 # preloaded symbol tables.
23463 extract_expsyms_cmds=
23464 # Just being paranoid about ensuring that cc_basename is set.
23465 for cc_temp in $compiler""; do
23467 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23468 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23473 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23476 cygwin* | mingw* | pw32*)
23477 # FIXME: the MSVC++ port hasn't been tested in a loooong time
23478 # When not using gcc, we currently assume that we are using
23479 # Microsoft Visual C++.
23480 if test "$GCC" != yes; then
23485 # we just hope/assume this is gcc and not c89 (= MSVC++)
23494 if test "$with_gnu_ld" = yes; then
23495 # If archive_cmds runs LD, not CC, wlarc should be empty
23498 # Set some defaults for GNU ld with shared library support. These
23499 # are reset later if shared libraries are not supported. Putting them
23500 # here allows them to be overridden if necessary.
23501 runpath_var=LD_RUN_PATH
23502 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
23503 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
23504 # ancient GNU ld didn't support --whole-archive et. al.
23505 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23506 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23508 whole_archive_flag_spec_GCJ=
23510 supports_anon_versioning=no
23511 case `$LD -v 2>/dev/null` in
23512 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23513 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23514 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23515 *\ 2.11.*) ;; # other 2.11 versions
23516 *) supports_anon_versioning=yes ;;
23519 # See if GNU ld supports shared libraries.
23521 aix3* | aix4* | aix5*)
23522 # On AIX/PPC, the GNU linker is very broken
23523 if test "$host_cpu" != ia64; then
23527 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
23528 *** to be unable to reliably create shared libraries on AIX.
23529 *** Therefore, libtool is disabling shared libraries support. If you
23530 *** really care for shared libraries, you may want to modify your PATH
23531 *** so that a non-GNU linker is found, and then restart.
23538 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)'
23539 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23540 hardcode_minus_L_GCJ=yes
23542 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
23543 # that the semantics of dynamic libraries on AmigaOS, at least up
23544 # to version 4, is to share data among multiple programs linked
23545 # with the same dynamic library. Since this doesn't match the
23546 # behavior of shared libraries on other platforms, we can't use
23552 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23553 allow_undefined_flag_GCJ=unsupported
23554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
23555 # support --undefined. This deserves some investigation. FIXME
23556 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23562 cygwin* | mingw* | pw32*)
23563 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
23564 # as there is no search path for DLLs.
23565 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23566 allow_undefined_flag_GCJ=unsupported
23567 always_export_symbols_GCJ=no
23568 enable_shared_with_static_runtimes_GCJ=yes
23569 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
23571 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
23572 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23573 # If the export-symbols file already is a .def file (1st line
23574 # is EXPORTS), use it as is; otherwise, prepend...
23575 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
23576 cp $export_symbols $output_objdir/$soname.def;
23578 echo EXPORTS > $output_objdir/$soname.def;
23579 cat $export_symbols >> $output_objdir/$soname.def;
23581 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23588 hardcode_direct_GCJ=no
23589 hardcode_shlibpath_var_GCJ=no
23590 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23591 export_dynamic_flag_spec_GCJ='${wl}-E'
23592 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
23593 # Instead, shared libraries are loaded at an image base (0x10000000 by
23594 # default) and relocated if they conflict, which is a slow very memory
23595 # consuming and fragmenting process. To avoid this, we pick a random,
23596 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
23597 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
23598 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
23599 archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
23603 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23605 case $cc_basename,$host_cpu in
23606 pgcc*) # Portland Group C compiler
23607 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
23608 tmp_addflag=' $pic_flag'
23610 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
23611 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
23612 tmp_addflag=' $pic_flag -Mnomain' ;;
23613 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
23614 tmp_addflag=' -i_dynamic' ;;
23615 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
23616 tmp_addflag=' -i_dynamic -nofor_main' ;;
23617 ifc* | ifort*) # Intel Fortran compiler
23618 tmp_addflag=' -nofor_main' ;;
23620 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23622 if test $supports_anon_versioning = yes; then
23623 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
23624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23625 $echo "local: *; };" >> $output_objdir/$libname.ver~
23626 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23634 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23635 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23638 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23639 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23644 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
23648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
23649 *** create shared libraries on Solaris systems. Therefore, libtool
23650 *** is disabling shared libraries support. We urge you to upgrade GNU
23651 *** binutils to release 2.9.1 or newer. Another option is to modify
23652 *** your PATH or compiler configuration so that the native linker is
23653 *** used, and then restart.
23656 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23657 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23658 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
23665 case `$LD -v 2>&1` in
23666 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
23670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
23671 *** reliably create shared libraries on SCO systems. Therefore, libtool
23672 *** is disabling shared libraries support. We urge you to upgrade GNU
23673 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
23674 *** your PATH or compiler configuration so that the native linker is
23675 *** used, and then restart.
23680 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23681 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
23682 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
23683 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
23692 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23694 hardcode_direct_GCJ=yes
23695 hardcode_shlibpath_var_GCJ=no
23699 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23700 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23701 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23708 if test "$ld_shlibs_GCJ" = no; then
23710 hardcode_libdir_flag_spec_GCJ=
23711 export_dynamic_flag_spec_GCJ=
23712 whole_archive_flag_spec_GCJ=
23715 # PORTME fill in a description of your system's linker (not GNU ld)
23718 allow_undefined_flag_GCJ=unsupported
23719 always_export_symbols_GCJ=yes
23720 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'
23721 # Note: this linker hardcodes the directories in LIBPATH if there
23722 # are no directories specified by -L.
23723 hardcode_minus_L_GCJ=yes
23724 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
23725 # Neither direct hardcoding nor static linking is supported with a
23727 hardcode_direct_GCJ=unsupported
23732 if test "$host_cpu" = ia64; then
23733 # On IA64, the linker does run time linking by default, so we don't
23734 # have to do anything special.
23735 aix_use_runtimelinking=no
23736 exp_sym_flag='-Bexport'
23739 # If we're using GNU nm, then we don't want the "-C" option.
23740 # -C means demangle to AIX nm, but means don't demangle with GNU nm
23741 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
23742 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'
23744 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'
23746 aix_use_runtimelinking=no
23748 # Test if we are trying to use run time linking or normal
23749 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23750 # need to do runtime linking.
23751 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23752 for ld_flag in $LDFLAGS; do
23753 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23754 aix_use_runtimelinking=yes
23761 exp_sym_flag='-bexport'
23762 no_entry_flag='-bnoentry'
23765 # When large executables or shared objects are built, AIX ld can
23766 # have problems creating the table of contents. If linking a library
23767 # or program results in "error TOC overflow" add -mminimal-toc to
23768 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23769 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23771 archive_cmds_GCJ=''
23772 hardcode_direct_GCJ=yes
23773 hardcode_libdir_separator_GCJ=':'
23774 link_all_deplibs_GCJ=yes
23776 if test "$GCC" = yes; then
23777 case $host_os in aix4.[012]|aix4.[012].*)
23778 # We only want to do this on AIX 4.2 and lower, the check
23779 # below for broken collect2 doesn't work under 4.3+
23780 collect2name=`${CC} -print-prog-name=collect2`
23781 if test -f "$collect2name" && \
23782 strings "$collect2name" | grep resolve_lib_name >/dev/null
23784 # We have reworked collect2
23785 hardcode_direct_GCJ=yes
23787 # We have old collect2
23788 hardcode_direct_GCJ=unsupported
23789 # It fails to find uninstalled libraries when the uninstalled
23790 # path is not listed in the libpath. Setting hardcode_minus_L
23791 # to unsupported forces relinking
23792 hardcode_minus_L_GCJ=yes
23793 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23794 hardcode_libdir_separator_GCJ=
23798 shared_flag='-shared'
23799 if test "$aix_use_runtimelinking" = yes; then
23800 shared_flag="$shared_flag "'${wl}-G'
23804 if test "$host_cpu" = ia64; then
23805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
23806 # chokes on -Wl,-G. The following line is correct:
23809 if test "$aix_use_runtimelinking" = yes; then
23810 shared_flag='${wl}-G'
23812 shared_flag='${wl}-bM:SRE'
23817 # It seems that -bexpall does not export symbols beginning with
23818 # underscore (_), so it is better to generate a list of symbols to export.
23819 always_export_symbols_GCJ=yes
23820 if test "$aix_use_runtimelinking" = yes; then
23821 # Warning - without using the other runtime loading flags (-brtl),
23822 # -berok will link without error, but may produce a broken library.
23823 allow_undefined_flag_GCJ='-berok'
23824 # Determine the default libpath from the value encoded in an empty executable.
23825 cat >conftest.$ac_ext <<_ACEOF
23828 cat confdefs.h >>conftest.$ac_ext
23829 cat >>conftest.$ac_ext <<_ACEOF
23830 /* end confdefs.h. */
23840 rm -f conftest.$ac_objext conftest$ac_exeext
23841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23842 (eval $ac_link) 2>conftest.er1
23844 grep -v '^ *+' conftest.er1 >conftest.err
23846 cat conftest.err >&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); } &&
23849 { ac_try='test -z "$ac_c_werror_flag"
23850 || test ! -s conftest.err'
23851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23852 (eval $ac_try) 2>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; } &&
23856 { ac_try='test -s conftest$ac_exeext'
23857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 (eval $ac_try) 2>&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); }; }; then
23863 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23865 # Check for a 64-bit object if we didn't find anything.
23866 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; }
23869 echo "$as_me: failed program was:" >&5
23870 sed 's/^/| /' conftest.$ac_ext >&5
23873 rm -f conftest.err conftest.$ac_objext \
23874 conftest$ac_exeext conftest.$ac_ext
23875 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23877 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23878 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
23880 if test "$host_cpu" = ia64; then
23881 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
23882 allow_undefined_flag_GCJ="-z nodefs"
23883 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
23885 # Determine the default libpath from the value encoded in an empty executable.
23886 cat >conftest.$ac_ext <<_ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23901 rm -f conftest.$ac_objext conftest$ac_exeext
23902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23903 (eval $ac_link) 2>conftest.er1
23905 grep -v '^ *+' conftest.er1 >conftest.err
23907 cat conftest.err >&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); } &&
23910 { ac_try='test -z "$ac_c_werror_flag"
23911 || test ! -s conftest.err'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; } &&
23917 { ac_try='test -s conftest$ac_exeext'
23918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23919 (eval $ac_try) 2>&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); }; }; then
23924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23926 # Check for a 64-bit object if we didn't find anything.
23927 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; }
23930 echo "$as_me: failed program was:" >&5
23931 sed 's/^/| /' conftest.$ac_ext >&5
23934 rm -f conftest.err conftest.$ac_objext \
23935 conftest$ac_exeext conftest.$ac_ext
23936 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23938 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23939 # Warning - without using the other run time loading flags,
23940 # -berok will link without error, but may produce a broken library.
23941 no_undefined_flag_GCJ=' ${wl}-bernotok'
23942 allow_undefined_flag_GCJ=' ${wl}-berok'
23943 # Exported symbols can be pulled into shared objects from archives
23944 whole_archive_flag_spec_GCJ='$convenience'
23945 archive_cmds_need_lc_GCJ=yes
23946 # This is similar to how AIX traditionally builds its shared libraries.
23947 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
23953 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)'
23954 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23955 hardcode_minus_L_GCJ=yes
23956 # see comment about different semantics on the GNU ld section
23961 export_dynamic_flag_spec_GCJ=-rdynamic
23964 cygwin* | mingw* | pw32*)
23965 # When not using gcc, we currently assume that we are using
23966 # Microsoft Visual C++.
23967 # hardcode_libdir_flag_spec is actually meaningless, as there is
23968 # no search path for DLLs.
23969 hardcode_libdir_flag_spec_GCJ=' '
23970 allow_undefined_flag_GCJ=unsupported
23971 # Tell ltmain to make .lib files, not .a files.
23973 # Tell ltmain to make .dll files, not .so files.
23975 # FIXME: Setting linknames here is a bad hack.
23976 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23977 # The linker will automatically build a .lib file if we build a DLL.
23978 old_archive_From_new_cmds_GCJ='true'
23979 # FIXME: Should let the user specify the lib program.
23980 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
23981 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
23982 enable_shared_with_static_runtimes_GCJ=yes
23985 darwin* | rhapsody*)
23987 rhapsody* | darwin1.[012])
23988 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
23991 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23992 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23994 case ${MACOSX_DEPLOYMENT_TARGET} in
23996 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23999 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24005 archive_cmds_need_lc_GCJ=no
24006 hardcode_direct_GCJ=no
24007 hardcode_automatic_GCJ=yes
24008 hardcode_shlibpath_var_GCJ=unsupported
24009 whole_archive_flag_spec_GCJ=''
24010 link_all_deplibs_GCJ=yes
24011 if test "$GCC" = yes ; then
24012 output_verbose_link_cmd='echo'
24013 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24014 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24015 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24016 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24017 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}'
24019 case $cc_basename in
24021 output_verbose_link_cmd='echo'
24022 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24023 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24024 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24025 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24026 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}'
24036 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24037 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24038 hardcode_shlibpath_var_GCJ=no
24045 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24046 # support. Future versions do this automatically, but an explicit c++rt0.o
24047 # does not break anything, and helps significantly (at the cost of a little
24050 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24051 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24052 hardcode_direct_GCJ=yes
24053 hardcode_shlibpath_var_GCJ=no
24056 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24058 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24059 hardcode_direct_GCJ=yes
24060 hardcode_minus_L_GCJ=yes
24061 hardcode_shlibpath_var_GCJ=no
24064 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24065 freebsd* | kfreebsd*-gnu | dragonfly*)
24066 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24067 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24068 hardcode_direct_GCJ=yes
24069 hardcode_shlibpath_var_GCJ=no
24073 if test "$GCC" = yes; then
24074 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'
24076 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'
24078 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24079 hardcode_libdir_separator_GCJ=:
24080 hardcode_direct_GCJ=yes
24082 # hardcode_minus_L: Not really in the search PATH,
24083 # but as the default location of the library.
24084 hardcode_minus_L_GCJ=yes
24085 export_dynamic_flag_spec_GCJ='${wl}-E'
24089 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24090 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24092 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24094 if test "$with_gnu_ld" = no; then
24095 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24096 hardcode_libdir_separator_GCJ=:
24098 hardcode_direct_GCJ=yes
24099 export_dynamic_flag_spec_GCJ='${wl}-E'
24101 # hardcode_minus_L: Not really in the search PATH,
24102 # but as the default location of the library.
24103 hardcode_minus_L_GCJ=yes
24108 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24111 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24114 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24117 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24123 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24126 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24129 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24133 if test "$with_gnu_ld" = no; then
24134 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
24135 hardcode_libdir_separator_GCJ=:
24139 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
24140 hardcode_direct_GCJ=no
24141 hardcode_shlibpath_var_GCJ=no
24144 hardcode_direct_GCJ=yes
24145 export_dynamic_flag_spec_GCJ='${wl}-E'
24147 # hardcode_minus_L: Not really in the search PATH,
24148 # but as the default location of the library.
24149 hardcode_minus_L_GCJ=yes
24155 irix5* | irix6* | nonstopux*)
24156 if test "$GCC" = yes; then
24157 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'
24159 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'
24160 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
24162 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24163 hardcode_libdir_separator_GCJ=:
24164 link_all_deplibs_GCJ=yes
24168 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24169 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24171 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24173 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24174 hardcode_direct_GCJ=yes
24175 hardcode_shlibpath_var_GCJ=no
24179 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24180 hardcode_direct_GCJ=yes
24181 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24182 hardcode_libdir_separator_GCJ=:
24183 hardcode_shlibpath_var_GCJ=no
24187 hardcode_direct_GCJ=yes
24188 hardcode_shlibpath_var_GCJ=no
24189 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24190 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24191 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24192 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24193 export_dynamic_flag_spec_GCJ='${wl}-E'
24196 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24197 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24198 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24201 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24202 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24209 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24210 hardcode_minus_L_GCJ=yes
24211 allow_undefined_flag_GCJ=unsupported
24212 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'
24213 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24217 if test "$GCC" = yes; then
24218 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24219 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'
24221 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24222 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'
24224 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24225 hardcode_libdir_separator_GCJ=:
24228 osf4* | osf5*) # as osf3* with the addition of -msym flag
24229 if test "$GCC" = yes; then
24230 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
24231 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'
24232 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
24234 allow_undefined_flag_GCJ=' -expect_unresolved \*'
24235 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'
24236 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~
24237 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
24239 # Both c and cxx compiler support -rpath directly
24240 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
24242 hardcode_libdir_separator_GCJ=:
24246 no_undefined_flag_GCJ=' -z text'
24247 if test "$GCC" = yes; then
24249 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24250 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24251 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24254 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24255 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24256 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24258 hardcode_libdir_flag_spec_GCJ='-R$libdir'
24259 hardcode_shlibpath_var_GCJ=no
24261 solaris2.[0-5] | solaris2.[0-5].*) ;;
24263 # The compiler driver will combine linker options so we
24264 # cannot just pass the convience library names through
24265 # without $wl, iff we do not link with $LD.
24266 # Luckily, gcc supports the same syntax we need for Sun Studio.
24267 # Supported since Solaris 2.6 (maybe 2.5.1?)
24270 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
24272 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
24275 link_all_deplibs_GCJ=yes
24279 if test "x$host_vendor" = xsequent; then
24280 # Use $CC to link under sequent, because it throws in some extra .o
24281 # files that make .init and .fini sections work.
24282 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24284 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24286 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24287 hardcode_direct_GCJ=yes
24288 hardcode_minus_L_GCJ=yes
24289 hardcode_shlibpath_var_GCJ=no
24293 case $host_vendor in
24295 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24296 hardcode_direct_GCJ=yes # is this really true???
24299 ## LD is ld it makes a PLAMLIB
24300 ## CC just makes a GrossModule.
24301 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24302 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
24303 hardcode_direct_GCJ=no
24306 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24307 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
24310 runpath_var='LD_RUN_PATH'
24311 hardcode_shlibpath_var_GCJ=no
24315 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24316 hardcode_shlibpath_var_GCJ=no
24317 export_dynamic_flag_spec_GCJ='-Bexport'
24321 if test -d /usr/nec; then
24322 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24323 hardcode_shlibpath_var_GCJ=no
24324 runpath_var=LD_RUN_PATH
24325 hardcode_runpath_var=yes
24330 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
24331 no_undefined_flag_GCJ='${wl}-z,text'
24332 archive_cmds_need_lc_GCJ=no
24333 hardcode_shlibpath_var_GCJ=no
24334 runpath_var='LD_RUN_PATH'
24336 if test "$GCC" = yes; then
24337 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24338 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24340 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24341 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24345 sysv5* | sco3.2v5* | sco5v6*)
24346 # Note: We can NOT use -z defs as we might desire, because we do not
24347 # link with -lc, and that would cause any symbols used from libc to
24348 # always be unresolved, which means just about no library would
24349 # ever link correctly. If we're not using GNU ld we use -z text
24350 # though, which does catch some bad symbols but isn't as heavy-handed
24352 no_undefined_flag_GCJ='${wl}-z,text'
24353 allow_undefined_flag_GCJ='${wl}-z,nodefs'
24354 archive_cmds_need_lc_GCJ=no
24355 hardcode_shlibpath_var_GCJ=no
24356 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24357 hardcode_libdir_separator_GCJ=':'
24358 link_all_deplibs_GCJ=yes
24359 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
24360 runpath_var='LD_RUN_PATH'
24362 if test "$GCC" = yes; then
24363 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24364 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24366 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24367 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24372 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24373 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24374 hardcode_shlibpath_var_GCJ=no
24383 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
24384 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
24385 test "$ld_shlibs_GCJ" = no && can_build_shared=no
24388 # Do we need to explicitly link libc?
24390 case "x$archive_cmds_need_lc_GCJ" in
24392 # Assume -lc should be added
24393 archive_cmds_need_lc_GCJ=yes
24395 if test "$enable_shared" = yes && test "$GCC" = yes; then
24396 case $archive_cmds_GCJ in
24398 # FIXME: we may have to deal with multi-command sequences.
24401 # Test whether the compiler implicitly links with -lc since on some
24402 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24403 # to ld, don't add -lc before -lgcc.
24404 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24405 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
24407 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24410 (eval $ac_compile) 2>&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } 2>conftest.err; then
24416 libobjs=conftest.$ac_objext
24418 wl=$lt_prog_compiler_wl_GCJ
24419 pic_flag=$lt_prog_compiler_pic_GCJ
24425 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
24426 allow_undefined_flag_GCJ=
24427 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24428 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }
24433 archive_cmds_need_lc_GCJ=no
24435 archive_cmds_need_lc_GCJ=yes
24437 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
24439 cat conftest.err 1>&5
24442 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
24443 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
24450 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24451 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
24452 library_names_spec=
24453 libname_spec='lib$name'
24457 postuninstall_cmds=
24461 shlibpath_overrides_runpath=unknown
24463 dynamic_linker="$host_os ld.so"
24464 sys_lib_dlsearch_path_spec="/lib /usr/lib"
24465 if test "$GCC" = yes; then
24466 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24467 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
24468 # if the path contains ";" then we assume it to be the separator
24469 # otherwise default to the standard path separator (i.e. ":") - it is
24470 # assumed that no part of a normal pathname contains ";" but that should
24471 # okay in the real world where ";" in dirpaths is itself problematic.
24472 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24474 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24477 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24479 need_lib_prefix=unknown
24480 hardcode_into_libs=no
24482 # when you set need_version to no, make sure it does not cause -set_version
24483 # flags to be left without arguments
24484 need_version=unknown
24489 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
24490 shlibpath_var=LIBPATH
24492 # AIX 3 has no versioning support, so we append a major version to the name.
24493 soname_spec='${libname}${release}${shared_ext}$major'
24500 hardcode_into_libs=yes
24501 if test "$host_cpu" = ia64; then
24502 # AIX 5 supports IA64
24503 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
24504 shlibpath_var=LD_LIBRARY_PATH
24506 # With GCC up to 2.95.x, collect2 would create an import file
24507 # for dependence libraries. The import file would start with
24508 # the line `#! .'. This would cause the generated library to
24509 # depend on `.', always an invalid library. This was fixed in
24510 # development snapshots of GCC prior to 3.0.
24512 aix4 | aix4.[01] | aix4.[01].*)
24513 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
24515 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
24518 can_build_shared=no
24522 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
24523 # soname into executable. Probably we can add versioning support to
24524 # collect2, so additional links can be useful in future.
24525 if test "$aix_use_runtimelinking" = yes; then
24526 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
24527 # instead of lib<name>.a to let people know that these are not
24528 # typical AIX shared libraries.
24529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24531 # We preserve .a as extension for shared libraries through AIX4.2
24532 # and later when we are not doing run time linking.
24533 library_names_spec='${libname}${release}.a $libname.a'
24534 soname_spec='${libname}${release}${shared_ext}$major'
24536 shlibpath_var=LIBPATH
24541 library_names_spec='$libname.ixlibrary $libname.a'
24542 # Create ${libname}_ixlibrary.a entries in /sys/libs.
24543 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'
24547 library_names_spec='${libname}${shared_ext}'
24548 dynamic_linker="$host_os ld.so"
24549 shlibpath_var=LIBRARY_PATH
24555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24556 soname_spec='${libname}${release}${shared_ext}$major'
24557 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
24558 shlibpath_var=LD_LIBRARY_PATH
24559 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
24560 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
24561 # the default ld.so.conf also contains /usr/contrib/lib and
24562 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
24563 # libtool to hard-code these into programs
24566 cygwin* | mingw* | pw32*)
24567 version_type=windows
24572 case $GCC,$host_os in
24573 yes,cygwin* | yes,mingw* | yes,pw32*)
24574 library_names_spec='$libname.dll.a'
24575 # DLL is installed to $(libdir)/../bin by postinstall_cmds
24576 postinstall_cmds='base_file=`basename \${file}`~
24577 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
24578 dldir=$destdir/`dirname \$dlpath`~
24579 test -d \$dldir || mkdir -p \$dldir~
24580 $install_prog $dir/$dlname \$dldir/$dlname~
24581 chmod a+x \$dldir/$dlname'
24582 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
24583 dlpath=$dir/\$dldll~
24585 shlibpath_overrides_runpath=yes
24589 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
24590 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24591 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
24594 # MinGW DLLs use traditional 'lib' prefix
24595 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24596 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24597 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
24598 # It is most probably a Windows format PATH printed by
24599 # mingw gcc, but we are running on Cygwin. Gcc prints its search
24600 # path with ; separators, and with drive letters. We can handle the
24601 # drive letters (cygwin fileutils understands them), so leave them,
24602 # especially as we might pass files found there to a mingw objdump,
24603 # which wouldn't understand a cygwinified path. Ahh.
24604 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24606 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24610 # pw32 DLLs use 'pw' prefix rather than 'lib'
24611 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24617 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
24620 dynamic_linker='Win32 ld.exe'
24621 # FIXME: first we should search . and the directory the executable is in
24625 darwin* | rhapsody*)
24626 dynamic_linker="$host_os dyld"
24627 version_type=darwin
24630 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
24631 soname_spec='${libname}${release}${major}$shared_ext'
24632 shlibpath_overrides_runpath=yes
24633 shlibpath_var=DYLD_LIBRARY_PATH
24634 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24635 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
24636 if test "$GCC" = yes; then
24637 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"`
24639 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
24641 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
24649 soname_spec='${libname}${release}${shared_ext}$major'
24650 shlibpath_var=LD_LIBRARY_PATH
24661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24662 soname_spec='${libname}${release}${shared_ext}$major'
24663 shlibpath_var=LD_LIBRARY_PATH
24664 shlibpath_overrides_runpath=no
24665 hardcode_into_libs=yes
24666 dynamic_linker='GNU ld.so'
24669 freebsd* | dragonfly*)
24670 # DragonFly does not have aout. When/if they implement a new
24671 # versioning mechanism, adjust this.
24672 if test -x /usr/bin/objformat; then
24673 objformat=`/usr/bin/objformat`
24676 freebsd[123]*) objformat=aout ;;
24677 *) objformat=elf ;;
24680 version_type=freebsd-$objformat
24681 case $version_type in
24683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24688 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
24692 shlibpath_var=LD_LIBRARY_PATH
24695 shlibpath_overrides_runpath=yes
24697 freebsd3.[01]* | freebsdelf3.[01]*)
24698 shlibpath_overrides_runpath=yes
24699 hardcode_into_libs=yes
24701 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24702 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24703 shlibpath_overrides_runpath=no
24704 hardcode_into_libs=yes
24706 freebsd*) # from 4.6 on
24707 shlibpath_overrides_runpath=yes
24708 hardcode_into_libs=yes
24717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
24718 soname_spec='${libname}${release}${shared_ext}$major'
24719 shlibpath_var=LD_LIBRARY_PATH
24720 hardcode_into_libs=yes
24723 hpux9* | hpux10* | hpux11*)
24724 # Give a soname corresponding to the major version so that dld.sl refuses to
24725 # link against other versions.
24732 hardcode_into_libs=yes
24733 dynamic_linker="$host_os dld.so"
24734 shlibpath_var=LD_LIBRARY_PATH
24735 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24737 soname_spec='${libname}${release}${shared_ext}$major'
24738 if test "X$HPUX_IA64_MODE" = X32; then
24739 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24741 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24743 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24747 hardcode_into_libs=yes
24748 dynamic_linker="$host_os dld.sl"
24749 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24750 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24752 soname_spec='${libname}${release}${shared_ext}$major'
24753 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24754 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24758 dynamic_linker="$host_os dld.sl"
24759 shlibpath_var=SHLIB_PATH
24760 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24762 soname_spec='${libname}${release}${shared_ext}$major'
24765 # HP-UX runs *really* slowly unless shared libraries are mode 555.
24766 postinstall_cmds='chmod 555 $lib'
24773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24774 soname_spec='${libname}${release}${shared_ext}$major'
24775 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24776 shlibpath_var=LD_LIBRARY_PATH
24777 shlibpath_overrides_runpath=no
24778 hardcode_into_libs=yes
24781 irix5* | irix6* | nonstopux*)
24783 nonstopux*) version_type=nonstopux ;;
24785 if test "$lt_cv_prog_gnu_ld" = yes; then
24793 soname_spec='${libname}${release}${shared_ext}$major'
24794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
24796 irix5* | nonstopux*)
24797 libsuff= shlibsuff=
24800 case $LD in # libtool.m4 will add one of these switches to LD
24801 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24802 libsuff= shlibsuff= libmagic=32-bit;;
24803 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24804 libsuff=32 shlibsuff=N32 libmagic=N32;;
24805 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24806 libsuff=64 shlibsuff=64 libmagic=64-bit;;
24807 *) libsuff= shlibsuff= libmagic=never-match;;
24811 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
24812 shlibpath_overrides_runpath=no
24813 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
24814 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
24815 hardcode_into_libs=yes
24818 # No shared lib support for Linux oldld, aout, or coff.
24819 linux*oldld* | linux*aout* | linux*coff*)
24823 # This must be Linux ELF.
24828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24829 soname_spec='${libname}${release}${shared_ext}$major'
24830 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24831 shlibpath_var=LD_LIBRARY_PATH
24832 shlibpath_overrides_runpath=no
24833 # This implies no fast_install, which is unacceptable.
24834 # Some rework will be needed to allow for fast_install
24835 # before this can be enabled.
24836 hardcode_into_libs=yes
24838 # find out which ABI we are using
24840 case "$host_cpu" in
24841 x86_64*|s390x*|powerpc64*)
24842 echo '#line 24842 "configure"' > conftest.$ac_ext
24843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24844 (eval $ac_compile) 2>&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); }; then
24848 case `/usr/bin/file conftest.$ac_objext` in
24851 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24859 # Append ld.so.conf contents to the search path
24860 if test -f /etc/ld.so.conf; then
24861 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
24862 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24865 # We used to test for /lib/ld.so.1 and disable shared libraries on
24866 # powerpc, because MkLinux only supported shared libraries with the
24867 # GNU dynamic linker. Since this was broken with cross compilers,
24868 # most powerpc-linux boxes support dynamic linking these days and
24869 # people can always --disable-shared, the test was removed, and we
24870 # assume the GNU/Linux dynamic linker is in use.
24871 dynamic_linker='GNU/Linux ld.so'
24878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24879 soname_spec='${libname}${release}${shared_ext}$major'
24880 shlibpath_var=LD_LIBRARY_PATH
24881 shlibpath_overrides_runpath=no
24882 hardcode_into_libs=yes
24883 dynamic_linker='GNU ld.so'
24890 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24893 dynamic_linker='NetBSD (a.out) ld.so'
24895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24896 soname_spec='${libname}${release}${shared_ext}$major'
24897 dynamic_linker='NetBSD ld.elf_so'
24899 shlibpath_var=LD_LIBRARY_PATH
24900 shlibpath_overrides_runpath=yes
24901 hardcode_into_libs=yes
24906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24907 shlibpath_var=LD_LIBRARY_PATH
24908 shlibpath_overrides_runpath=yes
24915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24916 soname_spec='${libname}${release}${shared_ext}$major'
24917 shlibpath_var=LD_LIBRARY_PATH
24918 shlibpath_overrides_runpath=yes
24923 sys_lib_dlsearch_path_spec="/usr/lib"
24925 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
24927 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
24928 *) need_version=no ;;
24930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24931 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24932 shlibpath_var=LD_LIBRARY_PATH
24933 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24935 openbsd2.[89] | openbsd2.[89].*)
24936 shlibpath_overrides_runpath=no
24939 shlibpath_overrides_runpath=yes
24943 shlibpath_overrides_runpath=yes
24948 libname_spec='$name'
24951 library_names_spec='$libname${shared_ext} $libname.a'
24952 dynamic_linker='OS/2 ld.exe'
24953 shlibpath_var=LIBPATH
24956 osf3* | osf4* | osf5*)
24960 soname_spec='${libname}${release}${shared_ext}$major'
24961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24962 shlibpath_var=LD_LIBRARY_PATH
24963 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24964 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24972 soname_spec='${libname}${release}${shared_ext}$major'
24973 shlibpath_var=LD_LIBRARY_PATH
24974 shlibpath_overrides_runpath=yes
24975 hardcode_into_libs=yes
24976 # ldd complains unless libraries are executable
24977 postinstall_cmds='chmod +x $lib'
24982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24983 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24984 shlibpath_var=LD_LIBRARY_PATH
24985 shlibpath_overrides_runpath=yes
24986 if test "$with_gnu_ld" = yes; then
24994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24995 soname_spec='${libname}${release}${shared_ext}$major'
24996 shlibpath_var=LD_LIBRARY_PATH
24997 case $host_vendor in
24999 shlibpath_overrides_runpath=no
25001 export_dynamic_flag_spec='${wl}-Blargedynsym'
25002 runpath_var=LD_RUN_PATH
25010 shlibpath_overrides_runpath=no
25011 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
25017 if test -d /usr/nec ;then
25019 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25020 soname_spec='$libname${shared_ext}.$major'
25021 shlibpath_var=LD_LIBRARY_PATH
25025 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25026 version_type=freebsd-elf
25029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25030 soname_spec='${libname}${release}${shared_ext}$major'
25031 shlibpath_var=LD_LIBRARY_PATH
25032 hardcode_into_libs=yes
25033 if test "$with_gnu_ld" = yes; then
25034 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25035 shlibpath_overrides_runpath=no
25037 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
25038 shlibpath_overrides_runpath=yes
25041 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
25045 sys_lib_dlsearch_path_spec='/usr/lib'
25050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25051 soname_spec='${libname}${release}${shared_ext}$major'
25052 shlibpath_var=LD_LIBRARY_PATH
25059 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25060 echo "${ECHO_T}$dynamic_linker" >&6
25061 test "$dynamic_linker" = no && can_build_shared=no
25063 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25064 if test "$GCC" = yes; then
25065 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25068 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25069 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
25070 hardcode_action_GCJ=
25071 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25072 test -n "$runpath_var_GCJ" || \
25073 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25075 # We can hardcode non-existant directories.
25076 if test "$hardcode_direct_GCJ" != no &&
25077 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25078 # have to relink, otherwise we might link with an installed library
25079 # when we should be linking with a yet-to-be-installed one
25080 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25081 test "$hardcode_minus_L_GCJ" != no; then
25082 # Linking always hardcodes the temporary library directory.
25083 hardcode_action_GCJ=relink
25085 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25086 hardcode_action_GCJ=immediate
25089 # We cannot hardcode anything, or else we can only hardcode existing
25091 hardcode_action_GCJ=unsupported
25093 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25094 echo "${ECHO_T}$hardcode_action_GCJ" >&6
25096 if test "$hardcode_action_GCJ" = relink; then
25097 # Fast installation is not supported
25098 enable_fast_install=no
25099 elif test "$shlibpath_overrides_runpath" = yes ||
25100 test "$enable_shared" = no; then
25101 # Fast installation is not necessary
25102 enable_fast_install=needless
25106 # The else clause should only fire when bootstrapping the
25107 # libtool distribution, otherwise you forgot to ship ltmain.sh
25108 # with your package, and you will get complaints that there are
25109 # no rules to generate ltmain.sh.
25110 if test -f "$ltmain"; then
25111 # See if we are running on zsh, and set the options which allow our commands through
25112 # without removal of \ escapes.
25113 if test -n "${ZSH_VERSION+set}" ; then
25114 setopt NO_GLOB_SUBST
25116 # Now quote all the things that may contain metacharacters while being
25117 # careful not to overquote the AC_SUBSTed values. We take copies of the
25118 # variables and quote the copies for generation of the libtool script.
25119 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25121 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25122 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25123 deplibs_check_method reload_flag reload_cmds need_locks \
25124 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25125 lt_cv_sys_global_symbol_to_c_name_address \
25126 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25127 old_postinstall_cmds old_postuninstall_cmds \
25131 lt_prog_compiler_wl_GCJ \
25132 lt_prog_compiler_pic_GCJ \
25133 lt_prog_compiler_static_GCJ \
25134 lt_prog_compiler_no_builtin_flag_GCJ \
25135 export_dynamic_flag_spec_GCJ \
25136 thread_safe_flag_spec_GCJ \
25137 whole_archive_flag_spec_GCJ \
25138 enable_shared_with_static_runtimes_GCJ \
25139 old_archive_cmds_GCJ \
25140 old_archive_from_new_cmds_GCJ \
25141 predep_objects_GCJ \
25142 postdep_objects_GCJ \
25145 compiler_lib_search_path_GCJ \
25147 archive_expsym_cmds_GCJ \
25148 postinstall_cmds_GCJ \
25149 postuninstall_cmds_GCJ \
25150 old_archive_from_expsyms_cmds_GCJ \
25151 allow_undefined_flag_GCJ \
25152 no_undefined_flag_GCJ \
25153 export_symbols_cmds_GCJ \
25154 hardcode_libdir_flag_spec_GCJ \
25155 hardcode_libdir_flag_spec_ld_GCJ \
25156 hardcode_libdir_separator_GCJ \
25157 hardcode_automatic_GCJ \
25159 module_expsym_cmds_GCJ \
25160 lt_cv_prog_compiler_c_o_GCJ \
25161 exclude_expsyms_GCJ \
25162 include_expsyms_GCJ; do
25165 old_archive_cmds_GCJ | \
25166 old_archive_from_new_cmds_GCJ | \
25167 archive_cmds_GCJ | \
25168 archive_expsym_cmds_GCJ | \
25169 module_cmds_GCJ | \
25170 module_expsym_cmds_GCJ | \
25171 old_archive_from_expsyms_cmds_GCJ | \
25172 export_symbols_cmds_GCJ | \
25173 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25174 postinstall_cmds | postuninstall_cmds | \
25175 old_postinstall_cmds | old_postuninstall_cmds | \
25176 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25177 # Double-quote double-evaled strings.
25178 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25181 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25187 *'\$0 --fallback-echo"')
25188 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25194 cat <<__EOF__ >> "$cfgfile"
25195 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25197 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25199 # Shell to use when invoking shell scripts.
25202 # Whether or not to build shared libraries.
25203 build_libtool_libs=$enable_shared
25205 # Whether or not to build static libraries.
25206 build_old_libs=$enable_static
25208 # Whether or not to add -lc for building shared libraries.
25209 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25211 # Whether or not to disallow shared libs when runtime libs are static
25212 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25214 # Whether or not to optimize for fast installation.
25215 fast_install=$enable_fast_install
25218 host_alias=$host_alias
25222 # The build system.
25223 build_alias=$build_alias
25227 # An echo program that does not interpret backslashes.
25232 AR_FLAGS=$lt_AR_FLAGS
25237 # LTCC compiler flags.
25238 LTCFLAGS=$lt_LTCFLAGS
25240 # A language-specific compiler.
25241 CC=$lt_compiler_GCJ
25243 # Is the compiler the GNU C compiler?
25246 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
25247 gcc_ver=\`gcc -dumpversion\`
25252 # The linker used to build libraries.
25255 # Whether we need hard or soft links.
25258 # A BSD-compatible nm program.
25261 # A symbol stripping program
25264 # Used to examine libraries when file_magic_cmd begins "file"
25265 MAGIC_CMD=$MAGIC_CMD
25267 # Used on cygwin: DLL creation program.
25270 # Used on cygwin: object dumper.
25273 # Used on cygwin: assembler.
25276 # The name of the directory that contains temporary libtool files.
25279 # How to create reloadable object files.
25280 reload_flag=$lt_reload_flag
25281 reload_cmds=$lt_reload_cmds
25283 # How to pass a linker flag through the compiler.
25284 wl=$lt_lt_prog_compiler_wl_GCJ
25286 # Object file suffix (normally "o").
25287 objext="$ac_objext"
25289 # Old archive suffix (normally "a").
25292 # Shared library suffix (normally ".so").
25293 shrext_cmds='$shrext_cmds'
25295 # Executable file suffix (normally "").
25298 # Additional compiler flags for building library objects.
25299 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25302 # What is the maximum length of a command?
25303 max_cmd_len=$lt_cv_sys_max_cmd_len
25305 # Does compiler simultaneously support -c and -o options?
25306 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25308 # Must we lock files when doing compilation?
25309 need_locks=$lt_need_locks
25311 # Do we need the lib prefix for modules?
25312 need_lib_prefix=$need_lib_prefix
25314 # Do we need a version for libraries?
25315 need_version=$need_version
25317 # Whether dlopen is supported.
25318 dlopen_support=$enable_dlopen
25320 # Whether dlopen of programs is supported.
25321 dlopen_self=$enable_dlopen_self
25323 # Whether dlopen of statically linked programs is supported.
25324 dlopen_self_static=$enable_dlopen_self_static
25326 # Compiler flag to prevent dynamic linking.
25327 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25329 # Compiler flag to turn off builtin functions.
25330 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25332 # Compiler flag to allow reflexive dlopens.
25333 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25335 # Compiler flag to generate shared objects directly from archives.
25336 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25338 # Compiler flag to generate thread-safe objects.
25339 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25341 # Library versioning type.
25342 version_type=$version_type
25344 # Format of library name prefix.
25345 libname_spec=$lt_libname_spec
25347 # List of archive names. First name is the real one, the rest are links.
25348 # The last name is the one that the linker finds with -lNAME.
25349 library_names_spec=$lt_library_names_spec
25351 # The coded name of the library, if different from the real name.
25352 soname_spec=$lt_soname_spec
25354 # Commands used to build and install an old-style archive.
25356 old_archive_cmds=$lt_old_archive_cmds_GCJ
25357 old_postinstall_cmds=$lt_old_postinstall_cmds
25358 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25360 # Create an old-style archive from a shared archive.
25361 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25363 # Create a temporary old-style archive to link instead of a shared archive.
25364 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25366 # Commands used to build and install a shared archive.
25367 archive_cmds=$lt_archive_cmds_GCJ
25368 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25369 postinstall_cmds=$lt_postinstall_cmds
25370 postuninstall_cmds=$lt_postuninstall_cmds
25372 # Commands used to build a loadable module (assumed same as above if empty)
25373 module_cmds=$lt_module_cmds_GCJ
25374 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25376 # Commands to strip libraries.
25377 old_striplib=$lt_old_striplib
25378 striplib=$lt_striplib
25380 # Dependencies to place before the objects being linked to create a
25382 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25384 # Dependencies to place after the objects being linked to create a
25386 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25388 # Dependencies to place before the objects being linked to create a
25390 predeps=$lt_predeps_GCJ
25392 # Dependencies to place after the objects being linked to create a
25394 postdeps=$lt_postdeps_GCJ
25396 # The library search path used internally by the compiler when linking
25397 # a shared library.
25398 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25400 # Method to check whether dependent libraries are shared objects.
25401 deplibs_check_method=$lt_deplibs_check_method
25403 # Command to use when deplibs_check_method == file_magic.
25404 file_magic_cmd=$lt_file_magic_cmd
25406 # Flag that allows shared libraries with undefined symbols to be built.
25407 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25409 # Flag that forces no undefined symbols.
25410 no_undefined_flag=$lt_no_undefined_flag_GCJ
25412 # Commands used to finish a libtool library installation in a directory.
25413 finish_cmds=$lt_finish_cmds
25415 # Same as above, but a single script fragment to be evaled but not shown.
25416 finish_eval=$lt_finish_eval
25418 # Take the output of nm and produce a listing of raw symbols and C names.
25419 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25421 # Transform the output of nm in a proper C declaration
25422 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25424 # Transform the output of nm in a C name address pair
25425 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25427 # This is the shared library runtime path variable.
25428 runpath_var=$runpath_var
25430 # This is the shared library path variable.
25431 shlibpath_var=$shlibpath_var
25433 # Is shlibpath searched before the hard-coded library search path?
25434 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25436 # How to hardcode a shared library path into an executable.
25437 hardcode_action=$hardcode_action_GCJ
25439 # Whether we should hardcode library paths into libraries.
25440 hardcode_into_libs=$hardcode_into_libs
25442 # Flag to hardcode \$libdir into a binary during linking.
25443 # This must work even if \$libdir does not exist.
25444 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25446 # If ld is used when linking, flag to hardcode \$libdir into
25447 # a binary during linking. This must work even if \$libdir does
25449 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25451 # Whether we need a single -rpath flag with a separated argument.
25452 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25454 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25455 # resulting binary.
25456 hardcode_direct=$hardcode_direct_GCJ
25458 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25459 # resulting binary.
25460 hardcode_minus_L=$hardcode_minus_L_GCJ
25462 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25463 # the resulting binary.
25464 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25466 # Set to yes if building a shared library automatically hardcodes DIR into the library
25467 # and all subsequent libraries and executables linked against it.
25468 hardcode_automatic=$hardcode_automatic_GCJ
25470 # Variables whose values should be saved in libtool wrapper scripts and
25471 # restored at relink time.
25472 variables_saved_for_relink="$variables_saved_for_relink"
25474 # Whether libtool must link a program against all its dependency libraries.
25475 link_all_deplibs=$link_all_deplibs_GCJ
25477 # Compile-time system search path for libraries
25478 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25480 # Run-time system search path for libraries
25481 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25483 # Fix the shell variable \$srcfile for the compiler.
25484 fix_srcfile_path="$fix_srcfile_path_GCJ"
25486 # Set to yes if exported symbols are required.
25487 always_export_symbols=$always_export_symbols_GCJ
25489 # The commands to list exported symbols.
25490 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
25492 # The commands to extract the exported symbol list from a shared archive.
25493 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25495 # Symbols that should not be listed in the preloaded symbols.
25496 exclude_expsyms=$lt_exclude_expsyms_GCJ
25498 # Symbols that must always be exported.
25499 include_expsyms=$lt_include_expsyms_GCJ
25501 # ### END LIBTOOL TAG CONFIG: $tagname
25507 # If there is no Makefile yet, we rely on a make rule to execute
25508 # `config.status --recheck' to rerun these tests and create the
25509 # libtool script then.
25510 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25511 if test -f "$ltmain_in"; then
25512 test -f Makefile && make "$ltmain"
25518 ac_cpp='$CPP $CPPFLAGS'
25519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25534 # Source file extension for RC test sources.
25537 # Object file extension for compiled RC test sources.
25541 # Code to be used in simple compile tests
25542 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
25544 # Code to be used in simple link tests
25545 lt_simple_link_test_code="$lt_simple_compile_test_code"
25547 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25549 # If no C compiler was specified, use CC.
25552 # If no C compiler flags were specified, use CFLAGS.
25553 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
25555 # Allow CC to be a program name with arguments.
25559 # save warnings/boilerplate of simple test code
25560 ac_outfile=conftest.$ac_objext
25561 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
25562 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25563 _lt_compiler_boilerplate=`cat conftest.err`
25566 ac_outfile=conftest.$ac_objext
25567 printf "$lt_simple_link_test_code" >conftest.$ac_ext
25568 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25569 _lt_linker_boilerplate=`cat conftest.err`
25573 # Allow CC to be a program name with arguments.
25578 for cc_temp in $compiler""; do
25580 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25581 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25586 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25588 lt_cv_prog_compiler_c_o_RC=yes
25590 # The else clause should only fire when bootstrapping the
25591 # libtool distribution, otherwise you forgot to ship ltmain.sh
25592 # with your package, and you will get complaints that there are
25593 # no rules to generate ltmain.sh.
25594 if test -f "$ltmain"; then
25595 # See if we are running on zsh, and set the options which allow our commands through
25596 # without removal of \ escapes.
25597 if test -n "${ZSH_VERSION+set}" ; then
25598 setopt NO_GLOB_SUBST
25600 # Now quote all the things that may contain metacharacters while being
25601 # careful not to overquote the AC_SUBSTed values. We take copies of the
25602 # variables and quote the copies for generation of the libtool script.
25603 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25605 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25606 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25607 deplibs_check_method reload_flag reload_cmds need_locks \
25608 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25609 lt_cv_sys_global_symbol_to_c_name_address \
25610 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25611 old_postinstall_cmds old_postuninstall_cmds \
25615 lt_prog_compiler_wl_RC \
25616 lt_prog_compiler_pic_RC \
25617 lt_prog_compiler_static_RC \
25618 lt_prog_compiler_no_builtin_flag_RC \
25619 export_dynamic_flag_spec_RC \
25620 thread_safe_flag_spec_RC \
25621 whole_archive_flag_spec_RC \
25622 enable_shared_with_static_runtimes_RC \
25623 old_archive_cmds_RC \
25624 old_archive_from_new_cmds_RC \
25625 predep_objects_RC \
25626 postdep_objects_RC \
25629 compiler_lib_search_path_RC \
25631 archive_expsym_cmds_RC \
25632 postinstall_cmds_RC \
25633 postuninstall_cmds_RC \
25634 old_archive_from_expsyms_cmds_RC \
25635 allow_undefined_flag_RC \
25636 no_undefined_flag_RC \
25637 export_symbols_cmds_RC \
25638 hardcode_libdir_flag_spec_RC \
25639 hardcode_libdir_flag_spec_ld_RC \
25640 hardcode_libdir_separator_RC \
25641 hardcode_automatic_RC \
25643 module_expsym_cmds_RC \
25644 lt_cv_prog_compiler_c_o_RC \
25645 exclude_expsyms_RC \
25646 include_expsyms_RC; do
25649 old_archive_cmds_RC | \
25650 old_archive_from_new_cmds_RC | \
25651 archive_cmds_RC | \
25652 archive_expsym_cmds_RC | \
25654 module_expsym_cmds_RC | \
25655 old_archive_from_expsyms_cmds_RC | \
25656 export_symbols_cmds_RC | \
25657 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25658 postinstall_cmds | postuninstall_cmds | \
25659 old_postinstall_cmds | old_postuninstall_cmds | \
25660 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25661 # Double-quote double-evaled strings.
25662 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25665 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25671 *'\$0 --fallback-echo"')
25672 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25678 cat <<__EOF__ >> "$cfgfile"
25679 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25681 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25683 # Shell to use when invoking shell scripts.
25686 # Whether or not to build shared libraries.
25687 build_libtool_libs=$enable_shared
25689 # Whether or not to build static libraries.
25690 build_old_libs=$enable_static
25692 # Whether or not to add -lc for building shared libraries.
25693 build_libtool_need_lc=$archive_cmds_need_lc_RC
25695 # Whether or not to disallow shared libs when runtime libs are static
25696 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25698 # Whether or not to optimize for fast installation.
25699 fast_install=$enable_fast_install
25702 host_alias=$host_alias
25706 # The build system.
25707 build_alias=$build_alias
25711 # An echo program that does not interpret backslashes.
25716 AR_FLAGS=$lt_AR_FLAGS
25721 # LTCC compiler flags.
25722 LTCFLAGS=$lt_LTCFLAGS
25724 # A language-specific compiler.
25727 # Is the compiler the GNU C compiler?
25730 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
25731 gcc_ver=\`gcc -dumpversion\`
25736 # The linker used to build libraries.
25739 # Whether we need hard or soft links.
25742 # A BSD-compatible nm program.
25745 # A symbol stripping program
25748 # Used to examine libraries when file_magic_cmd begins "file"
25749 MAGIC_CMD=$MAGIC_CMD
25751 # Used on cygwin: DLL creation program.
25754 # Used on cygwin: object dumper.
25757 # Used on cygwin: assembler.
25760 # The name of the directory that contains temporary libtool files.
25763 # How to create reloadable object files.
25764 reload_flag=$lt_reload_flag
25765 reload_cmds=$lt_reload_cmds
25767 # How to pass a linker flag through the compiler.
25768 wl=$lt_lt_prog_compiler_wl_RC
25770 # Object file suffix (normally "o").
25771 objext="$ac_objext"
25773 # Old archive suffix (normally "a").
25776 # Shared library suffix (normally ".so").
25777 shrext_cmds='$shrext_cmds'
25779 # Executable file suffix (normally "").
25782 # Additional compiler flags for building library objects.
25783 pic_flag=$lt_lt_prog_compiler_pic_RC
25786 # What is the maximum length of a command?
25787 max_cmd_len=$lt_cv_sys_max_cmd_len
25789 # Does compiler simultaneously support -c and -o options?
25790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25792 # Must we lock files when doing compilation?
25793 need_locks=$lt_need_locks
25795 # Do we need the lib prefix for modules?
25796 need_lib_prefix=$need_lib_prefix
25798 # Do we need a version for libraries?
25799 need_version=$need_version
25801 # Whether dlopen is supported.
25802 dlopen_support=$enable_dlopen
25804 # Whether dlopen of programs is supported.
25805 dlopen_self=$enable_dlopen_self
25807 # Whether dlopen of statically linked programs is supported.
25808 dlopen_self_static=$enable_dlopen_self_static
25810 # Compiler flag to prevent dynamic linking.
25811 link_static_flag=$lt_lt_prog_compiler_static_RC
25813 # Compiler flag to turn off builtin functions.
25814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25816 # Compiler flag to allow reflexive dlopens.
25817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25819 # Compiler flag to generate shared objects directly from archives.
25820 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25822 # Compiler flag to generate thread-safe objects.
25823 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25825 # Library versioning type.
25826 version_type=$version_type
25828 # Format of library name prefix.
25829 libname_spec=$lt_libname_spec
25831 # List of archive names. First name is the real one, the rest are links.
25832 # The last name is the one that the linker finds with -lNAME.
25833 library_names_spec=$lt_library_names_spec
25835 # The coded name of the library, if different from the real name.
25836 soname_spec=$lt_soname_spec
25838 # Commands used to build and install an old-style archive.
25840 old_archive_cmds=$lt_old_archive_cmds_RC
25841 old_postinstall_cmds=$lt_old_postinstall_cmds
25842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25844 # Create an old-style archive from a shared archive.
25845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25847 # Create a temporary old-style archive to link instead of a shared archive.
25848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25850 # Commands used to build and install a shared archive.
25851 archive_cmds=$lt_archive_cmds_RC
25852 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25853 postinstall_cmds=$lt_postinstall_cmds
25854 postuninstall_cmds=$lt_postuninstall_cmds
25856 # Commands used to build a loadable module (assumed same as above if empty)
25857 module_cmds=$lt_module_cmds_RC
25858 module_expsym_cmds=$lt_module_expsym_cmds_RC
25860 # Commands to strip libraries.
25861 old_striplib=$lt_old_striplib
25862 striplib=$lt_striplib
25864 # Dependencies to place before the objects being linked to create a
25866 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25868 # Dependencies to place after the objects being linked to create a
25870 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25872 # Dependencies to place before the objects being linked to create a
25874 predeps=$lt_predeps_RC
25876 # Dependencies to place after the objects being linked to create a
25878 postdeps=$lt_postdeps_RC
25880 # The library search path used internally by the compiler when linking
25881 # a shared library.
25882 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25884 # Method to check whether dependent libraries are shared objects.
25885 deplibs_check_method=$lt_deplibs_check_method
25887 # Command to use when deplibs_check_method == file_magic.
25888 file_magic_cmd=$lt_file_magic_cmd
25890 # Flag that allows shared libraries with undefined symbols to be built.
25891 allow_undefined_flag=$lt_allow_undefined_flag_RC
25893 # Flag that forces no undefined symbols.
25894 no_undefined_flag=$lt_no_undefined_flag_RC
25896 # Commands used to finish a libtool library installation in a directory.
25897 finish_cmds=$lt_finish_cmds
25899 # Same as above, but a single script fragment to be evaled but not shown.
25900 finish_eval=$lt_finish_eval
25902 # Take the output of nm and produce a listing of raw symbols and C names.
25903 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25905 # Transform the output of nm in a proper C declaration
25906 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25908 # Transform the output of nm in a C name address pair
25909 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25911 # This is the shared library runtime path variable.
25912 runpath_var=$runpath_var
25914 # This is the shared library path variable.
25915 shlibpath_var=$shlibpath_var
25917 # Is shlibpath searched before the hard-coded library search path?
25918 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25920 # How to hardcode a shared library path into an executable.
25921 hardcode_action=$hardcode_action_RC
25923 # Whether we should hardcode library paths into libraries.
25924 hardcode_into_libs=$hardcode_into_libs
25926 # Flag to hardcode \$libdir into a binary during linking.
25927 # This must work even if \$libdir does not exist.
25928 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25930 # If ld is used when linking, flag to hardcode \$libdir into
25931 # a binary during linking. This must work even if \$libdir does
25933 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
25935 # Whether we need a single -rpath flag with a separated argument.
25936 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
25938 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25939 # resulting binary.
25940 hardcode_direct=$hardcode_direct_RC
25942 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25943 # resulting binary.
25944 hardcode_minus_L=$hardcode_minus_L_RC
25946 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25947 # the resulting binary.
25948 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
25950 # Set to yes if building a shared library automatically hardcodes DIR into the library
25951 # and all subsequent libraries and executables linked against it.
25952 hardcode_automatic=$hardcode_automatic_RC
25954 # Variables whose values should be saved in libtool wrapper scripts and
25955 # restored at relink time.
25956 variables_saved_for_relink="$variables_saved_for_relink"
25958 # Whether libtool must link a program against all its dependency libraries.
25959 link_all_deplibs=$link_all_deplibs_RC
25961 # Compile-time system search path for libraries
25962 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
25964 # Run-time system search path for libraries
25965 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25967 # Fix the shell variable \$srcfile for the compiler.
25968 fix_srcfile_path="$fix_srcfile_path_RC"
25970 # Set to yes if exported symbols are required.
25971 always_export_symbols=$always_export_symbols_RC
25973 # The commands to list exported symbols.
25974 export_symbols_cmds=$lt_export_symbols_cmds_RC
25976 # The commands to extract the exported symbol list from a shared archive.
25977 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25979 # Symbols that should not be listed in the preloaded symbols.
25980 exclude_expsyms=$lt_exclude_expsyms_RC
25982 # Symbols that must always be exported.
25983 include_expsyms=$lt_include_expsyms_RC
25985 # ### END LIBTOOL TAG CONFIG: $tagname
25991 # If there is no Makefile yet, we rely on a make rule to execute
25992 # `config.status --recheck' to rerun these tests and create the
25993 # libtool script then.
25994 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25995 if test -f "$ltmain_in"; then
25996 test -f Makefile && make "$ltmain"
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26012 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26013 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26014 { (exit 1); exit 1; }; }
26018 # Append the new tag name to the list of available tags.
26019 if test -n "$tagname" ; then
26020 available_tags="$available_tags $tagname"
26026 # Now substitute the updated list of available tags.
26027 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26028 mv "${ofile}T" "$ofile"
26032 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26033 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26034 { (exit 1); exit 1; }; }
26040 # This can be used to rebuild libtool when needed
26041 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
26043 # Always use our own libtool.
26044 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
26046 # Prevent multiple expansion
26070 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26071 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
26073 # Check whether --with-vrootdir or --without-vrootdir was given.
26074 if test "${with_vrootdir+set}" = set; then
26075 withval="$with_vrootdir"
26077 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26078 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26079 { (exit 1); exit 1; }; };;
26080 *) ensc_uv_path_vrootdir=$withval;;
26083 ensc_uv_path_vrootdir=/vservers
26085 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26086 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
26088 if test x"vserverdir" != x; then
26089 vserverdir=$ensc_uv_path_vrootdir
26094 for ac_prog in svn2cl
26096 # Extract the first word of "$ac_prog", so it can be a program name with args.
26097 set dummy $ac_prog; ac_word=$2
26098 echo "$as_me:$LINENO: checking for $ac_word" >&5
26099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26100 if test "${ac_cv_prog_SVN2CL+set}" = set; then
26101 echo $ECHO_N "(cached) $ECHO_C" >&6
26103 if test -n "$SVN2CL"; then
26104 ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test.
26106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26107 for as_dir in $PATH
26110 test -z "$as_dir" && as_dir=.
26111 for ac_exec_ext in '' $ac_executable_extensions; do
26112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26113 ac_cv_prog_SVN2CL="$ac_prog"
26114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26122 SVN2CL=$ac_cv_prog_SVN2CL
26123 if test -n "$SVN2CL"; then
26124 echo "$as_me:$LINENO: result: $SVN2CL" >&5
26125 echo "${ECHO_T}$SVN2CL" >&6
26127 echo "$as_me:$LINENO: result: no" >&5
26128 echo "${ECHO_T}no" >&6
26131 test -n "$SVN2CL" && break
26136 if test x"$SVN2CL" != x; then
26138 HAVE_SVN2CL_FALSE='#'
26140 HAVE_SVN2CL_TRUE='#'
26147 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26148 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
26149 # Check whether --enable-internal-headers or --disable-internal-headers was given.
26150 if test "${enable_internal_headers+set}" = set; then
26151 enableval="$enable_internal_headers"
26152 case "$enableval" in
26154 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26155 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26156 { (exit 1); exit 1; }; };;
26159 enable_internal_headers=yes
26164 if test x"$enable_internal_headers" = xyes; then
26165 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26166 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26168 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26169 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26172 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26173 echo "${ECHO_T}$enable_internal_headers" >&6
26196 echo "$as_me:$LINENO: checking for supported APIs" >&5
26197 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
26198 # Check whether --enable-apis or --disable-apis was given.
26199 if test "${enable_apis+set}" = set; then
26200 enableval="$enable_apis"
26203 enable_apis=v13,net,v21
26206 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21'
26207 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21'
26208 enable_api_oldproc=
26213 for i in $enable_apis; do
26215 (compat) cat >>confdefs.h <<\_ACEOF
26216 #define VC_ENABLE_API_COMPAT 1
26219 enable_api_oldproc=${enable_api_oldproc:-1}
26220 enable_api_olduts=${enable_api_olduts:-1}
26222 (legacy) cat >>confdefs.h <<\_ACEOF
26223 #define VC_ENABLE_API_LEGACY 1
26226 enable_api_oldproc=${enable_api_oldproc:-1}
26227 enable_api_olduts=${enable_api_olduts:-1}
26229 (v11) cat >>confdefs.h <<\_ACEOF
26230 #define VC_ENABLE_API_V11 1
26233 enable_api_oldproc=${enable_api_oldproc:-1}
26234 enable_api_olduts=${enable_api_olduts:-1}
26236 (fscompat) cat >>confdefs.h <<\_ACEOF
26237 #define VC_ENABLE_API_FSCOMPAT 1
26240 (v13obs) cat >>confdefs.h <<\_ACEOF
26241 #define VC_ENABLE_API_V13OBS 1
26244 cat >>confdefs.h <<\_ACEOF
26245 #define VC_ENABLE_API_V13 1
26248 (v13) cat >>confdefs.h <<\_ACEOF
26249 #define VC_ENABLE_API_V13 1
26252 (net) cat >>confdefs.h <<\_ACEOF
26253 #define VC_ENABLE_API_NET 1
26256 (v21) cat >>confdefs.h <<\_ACEOF
26257 #define VC_ENABLE_API_V21 1
26260 (oldproc) enable_api_oldproc=2;;
26261 (olduts) enable_api_olduts=2;;
26262 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
26263 echo "$as_me: error: '$i' is not a supported API" >&2;}
26264 { (exit 1); exit 1; }; };;
26268 if test x"$enable_api_oldproc" != x; then
26269 cat >>confdefs.h <<\_ACEOF
26270 #define VC_ENABLE_API_OLDPROC 1
26273 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
26275 if test x"$enable_api_olduts" != x; then
26276 cat >>confdefs.h <<\_ACEOF
26277 #define VC_ENABLE_API_OLDUTS 1
26280 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts"
26282 echo "$as_me:$LINENO: result: $enable_apis" >&5
26283 echo "${ECHO_T}$enable_apis" >&6
26289 ac_cpp='$CXXCPP $CPPFLAGS'
26290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26294 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
26295 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
26296 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
26297 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 cat >conftest.$ac_ext <<_ACEOF
26303 cat confdefs.h >>conftest.$ac_ext
26304 cat >>conftest.$ac_ext <<_ACEOF
26305 /* end confdefs.h. */
26306 #include <ext2fs/ext2_fs.h>
26307 int main() { return 0; }
26309 rm -f conftest.$ac_objext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26311 (eval $ac_compile) 2>conftest.er1
26313 grep -v '^ *+' conftest.er1 >conftest.err
26315 cat conftest.err >&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } &&
26318 { ac_try='test -z "$ac_cxx_werror_flag"
26319 || test ! -s conftest.err'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; } &&
26325 { ac_try='test -s conftest.$ac_objext'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; }; then
26331 ensc_cv_test_ext2fs_header=e2fsprogs
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26337 cat >conftest.$ac_ext <<_ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343 #include <linux/ext2_fs.h>
26344 int main() { return 0; }
26346 rm -f conftest.$ac_objext
26347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26348 (eval $ac_compile) 2>conftest.er1
26350 grep -v '^ *+' conftest.er1 >conftest.err
26352 cat conftest.err >&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); } &&
26355 { ac_try='test -z "$ac_cxx_werror_flag"
26356 || test ! -s conftest.err'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; } &&
26362 { ac_try='test -s conftest.$ac_objext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26368 ensc_cv_test_ext2fs_header=kernel
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26374 ensc_cv_test_ext2fs_header=none
26376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26380 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26381 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
26383 case x"$ensc_cv_test_ext2fs_header" in
26385 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26386 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26387 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26388 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26391 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26392 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26394 # Is the header compilable?
26395 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26396 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
26397 cat >conftest.$ac_ext <<_ACEOF
26400 cat confdefs.h >>conftest.$ac_ext
26401 cat >>conftest.$ac_ext <<_ACEOF
26402 /* end confdefs.h. */
26403 $ac_includes_default
26404 #include <ext2fs/ext2_fs.h>
26406 rm -f conftest.$ac_objext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26408 (eval $ac_compile) 2>conftest.er1
26410 grep -v '^ *+' conftest.er1 >conftest.err
26412 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try='test -z "$ac_cxx_werror_flag"
26416 || test ! -s conftest.err'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; } &&
26422 { ac_try='test -s conftest.$ac_objext'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; }; then
26428 ac_header_compiler=yes
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26433 ac_header_compiler=no
26435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26437 echo "${ECHO_T}$ac_header_compiler" >&6
26439 # Is the header present?
26440 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26441 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26442 cat >conftest.$ac_ext <<_ACEOF
26445 cat confdefs.h >>conftest.$ac_ext
26446 cat >>conftest.$ac_ext <<_ACEOF
26447 /* end confdefs.h. */
26448 #include <ext2fs/ext2_fs.h>
26450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26453 grep -v '^ *+' conftest.er1 >conftest.err
26455 cat conftest.err >&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } >/dev/null; then
26458 if test -s conftest.err; then
26459 ac_cpp_err=$ac_cxx_preproc_warn_flag
26460 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26467 if test -z "$ac_cpp_err"; then
26468 ac_header_preproc=yes
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26473 ac_header_preproc=no
26475 rm -f conftest.err conftest.$ac_ext
26476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26477 echo "${ECHO_T}$ac_header_preproc" >&6
26479 # So? What about this header?
26480 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26482 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26483 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26484 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26485 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26486 ac_header_preproc=yes
26489 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26490 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26491 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26492 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26493 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26494 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26495 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26496 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26497 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26498 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26499 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26500 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26503 ## --------------------------------------------- ##
26504 ## Report this to vserver@list.linux-vserver.org ##
26505 ## --------------------------------------------- ##
26508 sed "s/^/$as_me: WARNING: /" >&2
26511 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26512 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26513 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26514 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26518 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26519 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26522 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26524 cat >>confdefs.h <<\_ACEOF
26525 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26529 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26530 See \`config.log' for more details." >&5
26531 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26532 See \`config.log' for more details." >&2;}
26533 { (exit 1); exit 1; }; }
26539 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26540 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26541 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26542 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26545 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26546 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26548 # Is the header compilable?
26549 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26550 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26551 cat >conftest.$ac_ext <<_ACEOF
26554 cat confdefs.h >>conftest.$ac_ext
26555 cat >>conftest.$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26557 $ac_includes_default
26558 #include <linux/ext2_fs.h>
26560 rm -f conftest.$ac_objext
26561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26562 (eval $ac_compile) 2>conftest.er1
26564 grep -v '^ *+' conftest.er1 >conftest.err
26566 cat conftest.err >&5
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); } &&
26569 { ac_try='test -z "$ac_cxx_werror_flag"
26570 || test ! -s conftest.err'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; } &&
26576 { ac_try='test -s conftest.$ac_objext'
26577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26578 (eval $ac_try) 2>&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); }; }; then
26582 ac_header_compiler=yes
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26587 ac_header_compiler=no
26589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26591 echo "${ECHO_T}$ac_header_compiler" >&6
26593 # Is the header present?
26594 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26595 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26596 cat >conftest.$ac_ext <<_ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 #include <linux/ext2_fs.h>
26604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26607 grep -v '^ *+' conftest.er1 >conftest.err
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } >/dev/null; then
26612 if test -s conftest.err; then
26613 ac_cpp_err=$ac_cxx_preproc_warn_flag
26614 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26621 if test -z "$ac_cpp_err"; then
26622 ac_header_preproc=yes
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26627 ac_header_preproc=no
26629 rm -f conftest.err conftest.$ac_ext
26630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26631 echo "${ECHO_T}$ac_header_preproc" >&6
26633 # So? What about this header?
26634 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26636 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26637 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26638 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26639 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26640 ac_header_preproc=yes
26643 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
26644 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
26645 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
26646 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26647 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
26648 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
26649 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26650 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26651 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
26652 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26653 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
26654 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26657 ## --------------------------------------------- ##
26658 ## Report this to vserver@list.linux-vserver.org ##
26659 ## --------------------------------------------- ##
26662 sed "s/^/$as_me: WARNING: /" >&2
26665 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26666 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26667 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26668 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
26672 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26673 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26676 if test $ac_cv_header_linux_ext2_fs_h = yes; then
26678 cat >>confdefs.h <<\_ACEOF
26679 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
26683 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
26684 See \`config.log' for more details." >&5
26685 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
26686 See \`config.log' for more details." >&2;}
26687 { (exit 1); exit 1; }; }
26693 { { echo "$as_me:$LINENO: error:
26694 ext2fs headers were not found, or they are not usable. This can have
26695 the following reasons:
26697 * you have neither the e2fsprogs nor the kernel headers installed
26699 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26700 and you do not have e2fsprogs headers installed; please try to install
26701 - e2fsprogs-devel (for Red Hat), or
26702 - lib*ext2fs2-devel (for Mandriva), or
26703 - e2fslibs-dev (for Debian)
26706 * kernel headers are broken and your e2fsprogs headers are too old;
26707 until version 1.27 (inclusive), they are using reserved C++ keywords
26709 * kernel headers are broken and your e2fsprogs headers are too new;
26710 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26711 C++, for details and a solution see
26712 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26715 In the latter two cases you have the following options:
26716 * fix the headers manually, or
26717 * install a stable version of e2fsprogs (e.g. 1.34), or
26718 * use good kernel headers (from linux 2.4.x)
26720 See \`config.log' for more details." >&5
26721 echo "$as_me: error:
26722 ext2fs headers were not found, or they are not usable. This can have
26723 the following reasons:
26725 * you have neither the e2fsprogs nor the kernel headers installed
26727 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26728 and you do not have e2fsprogs headers installed; please try to install
26729 - e2fsprogs-devel (for Red Hat), or
26730 - lib*ext2fs2-devel (for Mandriva), or
26731 - e2fslibs-dev (for Debian)
26734 * kernel headers are broken and your e2fsprogs headers are too old;
26735 until version 1.27 (inclusive), they are using reserved C++ keywords
26737 * kernel headers are broken and your e2fsprogs headers are too new;
26738 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26739 C++, for details and a solution see
26740 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26743 In the latter two cases you have the following options:
26744 * fix the headers manually, or
26745 * install a stable version of e2fsprogs (e.g. 1.34), or
26746 * use good kernel headers (from linux 2.4.x)
26748 See \`config.log' for more details." >&2;}
26749 { (exit 1); exit 1; }; }
26753 ac_cpp='$CPP $CPPFLAGS'
26754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26760 for ac_func in vserver
26762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26763 echo "$as_me:$LINENO: checking for $ac_func" >&5
26764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26765 if eval "test \"\${$as_ac_var+set}\" = set"; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 cat >conftest.$ac_ext <<_ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26776 #define $ac_func innocuous_$ac_func
26778 /* System header to define __stub macros and hopefully few prototypes,
26779 which can conflict with char $ac_func (); below.
26780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26781 <limits.h> exists even on freestanding compilers. */
26784 # include <limits.h>
26786 # include <assert.h>
26791 /* Override any gcc2 internal prototype to avoid an error. */
26796 /* We use char because int might match the return type of a gcc2
26797 builtin and then its argument prototype would still apply. */
26799 /* The GNU C library defines this for functions which it implements
26800 to always fail with ENOSYS. Some functions are actually named
26801 something starting with __ and the normal name is an alias. */
26802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26805 char (*f) () = $ac_func;
26814 return f != $ac_func;
26819 rm -f conftest.$ac_objext conftest$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821 (eval $ac_link) 2>conftest.er1
26823 grep -v '^ *+' conftest.er1 >conftest.err
26825 cat conftest.err >&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try='test -z "$ac_c_werror_flag"
26829 || test ! -s conftest.err'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; } &&
26835 { ac_try='test -s conftest$ac_exeext'
26836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837 (eval $ac_try) 2>&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); }; }; then
26841 eval "$as_ac_var=yes"
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26846 eval "$as_ac_var=no"
26848 rm -f conftest.err conftest.$ac_objext \
26849 conftest$ac_exeext conftest.$ac_ext
26851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26853 if test `eval echo '${'$as_ac_var'}'` = yes; then
26854 cat >>confdefs.h <<_ACEOF
26855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26861 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
26862 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
26863 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
26864 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 cat >conftest.$ac_ext <<_ACEOF
26869 cat confdefs.h >>conftest.$ac_ext
26870 cat >>conftest.$ac_ext <<_ACEOF
26871 /* end confdefs.h. */
26872 #include <linux/fs.h>
26878 char *p = (char *) MS_MOVE;
26885 rm -f conftest.$ac_objext
26886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26887 (eval $ac_compile) 2>conftest.er1
26889 grep -v '^ *+' conftest.er1 >conftest.err
26891 cat conftest.err >&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } &&
26894 { ac_try='test -z "$ac_c_werror_flag"
26895 || test ! -s conftest.err'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; } &&
26901 { ac_try='test -s conftest.$ac_objext'
26902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903 (eval $ac_try) 2>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); }; }; then
26907 ac_cv_have_decl_MS_MOVE=yes
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26912 ac_cv_have_decl_MS_MOVE=no
26914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26916 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
26917 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
26918 if test $ac_cv_have_decl_MS_MOVE = yes; then
26920 cat >>confdefs.h <<_ACEOF
26921 #define HAVE_DECL_MS_MOVE 1
26926 cat >>confdefs.h <<_ACEOF
26927 #define HAVE_DECL_MS_MOVE 0
26934 echo "$as_me:$LINENO: checking for xid_t" >&5
26935 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
26936 if test "${ac_cv_type_xid_t+set}" = set; then
26937 echo $ECHO_N "(cached) $ECHO_C" >&6
26939 cat >conftest.$ac_ext <<_ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <sys/types.h>
26952 if (sizeof (xid_t))
26958 rm -f conftest.$ac_objext
26959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26960 (eval $ac_compile) 2>conftest.er1
26962 grep -v '^ *+' conftest.er1 >conftest.err
26964 cat conftest.err >&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } &&
26967 { ac_try='test -z "$ac_c_werror_flag"
26968 || test ! -s conftest.err'
26969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26970 (eval $ac_try) 2>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); }; } &&
26974 { ac_try='test -s conftest.$ac_objext'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; }; then
26980 ac_cv_type_xid_t=yes
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.$ac_ext >&5
26985 ac_cv_type_xid_t=no
26987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26989 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
26990 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
26991 if test $ac_cv_type_xid_t = yes; then
26993 cat >>confdefs.h <<_ACEOF
26994 #define HAVE_XID_T 1
27000 echo "$as_me:$LINENO: checking for nid_t" >&5
27001 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
27002 if test "${ac_cv_type_nid_t+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27005 cat >conftest.$ac_ext <<_ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 #include <sys/types.h>
27018 if (sizeof (nid_t))
27024 rm -f conftest.$ac_objext
27025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27026 (eval $ac_compile) 2>conftest.er1
27028 grep -v '^ *+' conftest.er1 >conftest.err
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try='test -z "$ac_c_werror_flag"
27034 || test ! -s conftest.err'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; } &&
27040 { ac_try='test -s conftest.$ac_objext'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; }; then
27046 ac_cv_type_nid_t=yes
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.$ac_ext >&5
27051 ac_cv_type_nid_t=no
27053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27055 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27056 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
27057 if test $ac_cv_type_nid_t = yes; then
27059 cat >>confdefs.h <<_ACEOF
27060 #define HAVE_NID_T 1
27068 for ac_header in sys/capability.h
27070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27072 echo "$as_me:$LINENO: checking for $ac_header" >&5
27073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27080 # Is the header compilable?
27081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27083 cat >conftest.$ac_ext <<_ACEOF
27086 cat confdefs.h >>conftest.$ac_ext
27087 cat >>conftest.$ac_ext <<_ACEOF
27088 /* end confdefs.h. */
27089 $ac_includes_default
27090 #include <$ac_header>
27092 rm -f conftest.$ac_objext
27093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27094 (eval $ac_compile) 2>conftest.er1
27096 grep -v '^ *+' conftest.er1 >conftest.err
27098 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } &&
27101 { ac_try='test -z "$ac_c_werror_flag"
27102 || test ! -s conftest.err'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; } &&
27108 { ac_try='test -s conftest.$ac_objext'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; }; then
27114 ac_header_compiler=yes
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27119 ac_header_compiler=no
27121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27123 echo "${ECHO_T}$ac_header_compiler" >&6
27125 # Is the header present?
27126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27128 cat >conftest.$ac_ext <<_ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 #include <$ac_header>
27136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27139 grep -v '^ *+' conftest.er1 >conftest.err
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } >/dev/null; then
27144 if test -s conftest.err; then
27145 ac_cpp_err=$ac_c_preproc_warn_flag
27146 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27153 if test -z "$ac_cpp_err"; then
27154 ac_header_preproc=yes
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27159 ac_header_preproc=no
27161 rm -f conftest.err conftest.$ac_ext
27162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27163 echo "${ECHO_T}$ac_header_preproc" >&6
27165 # So? What about this header?
27166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27172 ac_header_preproc=yes
27175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27189 ## --------------------------------------------- ##
27190 ## Report this to vserver@list.linux-vserver.org ##
27191 ## --------------------------------------------- ##
27194 sed "s/^/$as_me: WARNING: /" >&2
27197 echo "$as_me:$LINENO: checking for $ac_header" >&5
27198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27200 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 eval "$as_ac_Header=\$ac_header_preproc"
27204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27209 cat >>confdefs.h <<_ACEOF
27210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27218 if test x"$ensc_have_dietlibc" = xno; then
27219 echo "$as_me:$LINENO: checking for openpty" >&5
27220 echo $ECHO_N "checking for openpty... $ECHO_C" >&6
27221 if test "${ac_cv_func_openpty+set}" = set; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 cat >conftest.$ac_ext <<_ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h. */
27230 /* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
27231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27232 #define openpty innocuous_openpty
27234 /* System header to define __stub macros and hopefully few prototypes,
27235 which can conflict with char openpty (); below.
27236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27237 <limits.h> exists even on freestanding compilers. */
27240 # include <limits.h>
27242 # include <assert.h>
27247 /* Override any gcc2 internal prototype to avoid an error. */
27252 /* We use char because int might match the return type of a gcc2
27253 builtin and then its argument prototype would still apply. */
27255 /* The GNU C library defines this for functions which it implements
27256 to always fail with ENOSYS. Some functions are actually named
27257 something starting with __ and the normal name is an alias. */
27258 #if defined (__stub_openpty) || defined (__stub___openpty)
27261 char (*f) () = openpty;
27270 return f != openpty;
27275 rm -f conftest.$ac_objext conftest$ac_exeext
27276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27277 (eval $ac_link) 2>conftest.er1
27279 grep -v '^ *+' conftest.er1 >conftest.err
27281 cat conftest.err >&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); } &&
27284 { ac_try='test -z "$ac_c_werror_flag"
27285 || test ! -s conftest.err'
27286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287 (eval $ac_try) 2>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); }; } &&
27291 { ac_try='test -s conftest$ac_exeext'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27297 ac_cv_func_openpty=yes
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27302 ac_cv_func_openpty=no
27304 rm -f conftest.err conftest.$ac_objext \
27305 conftest$ac_exeext conftest.$ac_ext
27307 echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
27308 echo "${ECHO_T}$ac_cv_func_openpty" >&6
27309 if test $ac_cv_func_openpty = yes; then
27313 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
27314 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
27315 if test "${ac_cv_lib_util_openpty+set}" = set; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27318 ac_check_lib_save_LIBS=$LIBS
27319 LIBS="-lutil $LIBS"
27320 cat >conftest.$ac_ext <<_ACEOF
27323 cat confdefs.h >>conftest.$ac_ext
27324 cat >>conftest.$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27327 /* Override any gcc2 internal prototype to avoid an error. */
27331 /* We use char because int might match the return type of a gcc2
27332 builtin and then its argument prototype would still apply. */
27342 rm -f conftest.$ac_objext conftest$ac_exeext
27343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27344 (eval $ac_link) 2>conftest.er1
27346 grep -v '^ *+' conftest.er1 >conftest.err
27348 cat conftest.err >&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); } &&
27351 { ac_try='test -z "$ac_c_werror_flag"
27352 || test ! -s conftest.err'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; } &&
27358 { ac_try='test -s conftest$ac_exeext'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; }; then
27364 ac_cv_lib_util_openpty=yes
27366 echo "$as_me: failed program was:" >&5
27367 sed 's/^/| /' conftest.$ac_ext >&5
27369 ac_cv_lib_util_openpty=no
27371 rm -f conftest.err conftest.$ac_objext \
27372 conftest$ac_exeext conftest.$ac_ext
27373 LIBS=$ac_check_lib_save_LIBS
27375 echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
27376 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
27377 if test $ac_cv_lib_util_openpty = yes; then
27378 cat >>confdefs.h <<_ACEOF
27379 #define HAVE_LIBUTIL 1
27382 LIBS="-lutil $LIBS"
27385 { { echo "$as_me:$LINENO: error:
27387 **** openpty could not be found
27389 echo "$as_me: error:
27391 **** openpty could not be found
27393 { (exit 1); exit 1; }; }
27401 if test x"$ensc_cv_c99_c99compiler" = xyes; then
27402 ensc_have_beecrypt=yes
27404 if test x"$ensc_have_beecrypt" = xyes; then
27405 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27406 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27407 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27408 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27409 echo $ECHO_N "(cached) $ECHO_C" >&6
27411 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27412 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27414 # Is the header compilable?
27415 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
27416 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
27417 cat >conftest.$ac_ext <<_ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423 $ac_includes_default
27424 #include <beecrypt/beecrypt.h>
27426 rm -f conftest.$ac_objext
27427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27428 (eval $ac_compile) 2>conftest.er1
27430 grep -v '^ *+' conftest.er1 >conftest.err
27432 cat conftest.err >&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); } &&
27435 { ac_try='test -z "$ac_c_werror_flag"
27436 || test ! -s conftest.err'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; } &&
27442 { ac_try='test -s conftest.$ac_objext'
27443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27444 (eval $ac_try) 2>&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); }; }; then
27448 ac_header_compiler=yes
27450 echo "$as_me: failed program was:" >&5
27451 sed 's/^/| /' conftest.$ac_ext >&5
27453 ac_header_compiler=no
27455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27457 echo "${ECHO_T}$ac_header_compiler" >&6
27459 # Is the header present?
27460 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27461 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
27462 cat >conftest.$ac_ext <<_ACEOF
27465 cat confdefs.h >>conftest.$ac_ext
27466 cat >>conftest.$ac_ext <<_ACEOF
27467 /* end confdefs.h. */
27468 #include <beecrypt/beecrypt.h>
27470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27473 grep -v '^ *+' conftest.er1 >conftest.err
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } >/dev/null; then
27478 if test -s conftest.err; then
27479 ac_cpp_err=$ac_c_preproc_warn_flag
27480 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27487 if test -z "$ac_cpp_err"; then
27488 ac_header_preproc=yes
27490 echo "$as_me: failed program was:" >&5
27491 sed 's/^/| /' conftest.$ac_ext >&5
27493 ac_header_preproc=no
27495 rm -f conftest.err conftest.$ac_ext
27496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27497 echo "${ECHO_T}$ac_header_preproc" >&6
27499 # So? What about this header?
27500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27502 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27503 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27504 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27505 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27506 ac_header_preproc=yes
27509 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27510 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27511 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27512 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27513 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27514 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27515 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27516 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27517 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27518 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27519 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27520 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27523 ## --------------------------------------------- ##
27524 ## Report this to vserver@list.linux-vserver.org ##
27525 ## --------------------------------------------- ##
27528 sed "s/^/$as_me: WARNING: /" >&2
27531 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27532 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27533 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27534 echo $ECHO_N "(cached) $ECHO_C" >&6
27536 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27538 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27539 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27542 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27545 ensc_have_beecrypt=no
27551 if test x"$ensc_have_beecrypt" = xyes; then
27552 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27553 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27554 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27557 ac_check_lib_save_LIBS=$LIBS
27558 LIBS="-lbeecrypt $LIBS"
27559 cat >conftest.$ac_ext <<_ACEOF
27562 cat confdefs.h >>conftest.$ac_ext
27563 cat >>conftest.$ac_ext <<_ACEOF
27564 /* end confdefs.h. */
27566 /* Override any gcc2 internal prototype to avoid an error. */
27570 /* We use char because int might match the return type of a gcc2
27571 builtin and then its argument prototype would still apply. */
27572 char hashFunctionContextInit ();
27576 hashFunctionContextInit ();
27581 rm -f conftest.$ac_objext conftest$ac_exeext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27583 (eval $ac_link) 2>conftest.er1
27585 grep -v '^ *+' conftest.er1 >conftest.err
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try='test -z "$ac_c_werror_flag"
27591 || test ! -s conftest.err'
27592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27593 (eval $ac_try) 2>&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); }; } &&
27597 { ac_try='test -s conftest$ac_exeext'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; }; then
27603 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27608 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27610 rm -f conftest.err conftest.$ac_objext \
27611 conftest$ac_exeext conftest.$ac_ext
27612 LIBS=$ac_check_lib_save_LIBS
27614 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27615 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27616 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27619 ensc_have_beecrypt=no
27624 if test x"$ensc_have_beecrypt" != xyes; then
27625 { echo "$as_me:$LINENO: WARNING:
27627 **** 'beecrypt' could not be found;
27628 **** this will disable the build of 'vhashify'
27630 echo "$as_me: WARNING:
27632 **** 'beecrypt' could not be found;
27633 **** this will disable the build of 'vhashify'
27637 ensc_have_beecrypt=no
27642 if test x"$ensc_have_beecrypt" = xyes; then
27643 ENSC_HAVE_BEECRYPT_TRUE=
27644 ENSC_HAVE_BEECRYPT_FALSE='#'
27646 ENSC_HAVE_BEECRYPT_TRUE='#'
27647 ENSC_HAVE_BEECRYPT_FALSE=
27653 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27654 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27656 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27657 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27662 echo "$as_me:$LINENO: checking for host initscripts" >&5
27663 echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6
27665 # Check whether --with-initscripts or --without-initscripts was given.
27666 if test "${with_initscripts+set}" = set; then
27667 withval="$with_initscripts"
27670 gentoo) ensc_with_init=gentoo;;
27671 sysv) ensc_with_init=sysv;;
27672 *) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
27673 echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
27674 { (exit 1); exit 1; }; };;
27679 if test -e /etc/gentoo-release; then
27680 ensc_with_init=gentoo
27682 ensc_with_init=sysv
27686 echo "$as_me:$LINENO: result: $ensc_with_init" >&5
27687 echo "${ECHO_T}$ensc_with_init" >&6
27690 if test x"$ensc_with_init" = xgentoo; then
27691 HAVE_GENTOO_INIT_TRUE=
27692 HAVE_GENTOO_INIT_FALSE='#'
27694 HAVE_GENTOO_INIT_TRUE='#'
27695 HAVE_GENTOO_INIT_FALSE=
27700 if test x"$ensc_with_init" = xsysv; then
27701 HAVE_SYSV_INIT_TRUE=
27702 HAVE_SYSV_INIT_FALSE='#'
27704 HAVE_SYSV_INIT_TRUE='#'
27705 HAVE_SYSV_INIT_FALSE=
27711 cat >>confdefs.h <<\_ACEOF
27712 #define UTMP_GID 22
27718 cat >>confdefs.h <<\_ACEOF
27719 #define HAVE_GROWING_STACK 1
27725 cat >>confdefs.h <<\_ACEOF
27726 #define _FILE_OFFSET_BITS 64
27730 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27731 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27732 ensc_diet_msg=" (you have been warned)"
27733 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27734 ensc_diet_compat_msg=" (using -lcompat)"
27735 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27736 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27737 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27738 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27739 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27745 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27747 cat >confcache <<\_ACEOF
27748 # This file is a shell script that caches the results of configure
27749 # tests run on this system so they can be shared between configure
27750 # scripts and configure runs, see configure's option --config-cache.
27751 # It is not useful on other systems. If it contains results you don't
27752 # want to keep, you may remove or edit it.
27754 # config.status only pays attention to the cache file if you give it
27755 # the --recheck option to rerun configure.
27757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27759 # following values.
27763 # The following way of writing the cache mishandles newlines in values,
27764 # but we know of no workaround that is simple, portable, and efficient.
27765 # So, don't put newlines in cache variables' values.
27766 # Ultrix sh set writes to stderr and can't be redirected directly,
27767 # and sets the high bit in the cache file unless we assign to the vars.
27770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27772 # `set' does not quote correctly, so add quotes (double-quote
27773 # substitution turns \\\\ into \\, and sed turns \\ into \).
27776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27779 # `set' quotes correctly as required by POSIX, so do not add quotes.
27781 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27790 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27792 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27793 if test -w $cache_file; then
27794 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27795 cat confcache >$cache_file
27797 echo "not updating unwritable cache $cache_file"
27802 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27803 # Let make expand exec_prefix.
27804 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27806 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27807 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27808 # trailing colons and then remove the whole line if VPATH becomes empty
27809 # (actually we leave an empty line to preserve line numbers).
27810 if test "x$srcdir" = x.; then
27811 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27812 s/:*\$(srcdir):*/:/;
27813 s/:*\${srcdir}:*/:/;
27815 s/^\([^=]*=[ ]*\):*/\1/;
27821 DEFS=-DHAVE_CONFIG_H
27825 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27826 # 1. Remove the extension, and $U if already installed.
27827 ac_i=`echo "$ac_i" |
27828 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27830 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27831 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
27833 LIBOBJS=$ac_libobjs
27835 LTLIBOBJS=$ac_ltlibobjs
27838 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27839 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27840 Usually this means the macro was only invoked conditionally." >&5
27841 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27842 Usually this means the macro was only invoked conditionally." >&2;}
27843 { (exit 1); exit 1; }; }
27845 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27846 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27847 Usually this means the macro was only invoked conditionally." >&5
27848 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27849 Usually this means the macro was only invoked conditionally." >&2;}
27850 { (exit 1); exit 1; }; }
27852 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27853 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27854 Usually this means the macro was only invoked conditionally." >&5
27855 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27856 Usually this means the macro was only invoked conditionally." >&2;}
27857 { (exit 1); exit 1; }; }
27859 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27860 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27861 Usually this means the macro was only invoked conditionally." >&5
27862 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27863 Usually this means the macro was only invoked conditionally." >&2;}
27864 { (exit 1); exit 1; }; }
27866 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
27867 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27868 Usually this means the macro was only invoked conditionally." >&5
27869 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27870 Usually this means the macro was only invoked conditionally." >&2;}
27871 { (exit 1); exit 1; }; }
27873 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
27874 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27875 Usually this means the macro was only invoked conditionally." >&5
27876 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27877 Usually this means the macro was only invoked conditionally." >&2;}
27878 { (exit 1); exit 1; }; }
27880 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
27881 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
27882 Usually this means the macro was only invoked conditionally." >&5
27883 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
27884 Usually this means the macro was only invoked conditionally." >&2;}
27885 { (exit 1); exit 1; }; }
27887 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
27888 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
27889 Usually this means the macro was only invoked conditionally." >&5
27890 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
27891 Usually this means the macro was only invoked conditionally." >&2;}
27892 { (exit 1); exit 1; }; }
27894 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27895 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27896 Usually this means the macro was only invoked conditionally." >&5
27897 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27898 Usually this means the macro was only invoked conditionally." >&2;}
27899 { (exit 1); exit 1; }; }
27901 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27902 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27903 Usually this means the macro was only invoked conditionally." >&5
27904 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27905 Usually this means the macro was only invoked conditionally." >&2;}
27906 { (exit 1); exit 1; }; }
27908 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27909 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27910 Usually this means the macro was only invoked conditionally." >&5
27911 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27912 Usually this means the macro was only invoked conditionally." >&2;}
27913 { (exit 1); exit 1; }; }
27915 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27916 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27917 Usually this means the macro was only invoked conditionally." >&5
27918 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27919 Usually this means the macro was only invoked conditionally." >&2;}
27920 { (exit 1); exit 1; }; }
27922 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27923 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27924 Usually this means the macro was only invoked conditionally." >&5
27925 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27926 Usually this means the macro was only invoked conditionally." >&2;}
27927 { (exit 1); exit 1; }; }
27929 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27930 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27931 Usually this means the macro was only invoked conditionally." >&5
27932 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27933 Usually this means the macro was only invoked conditionally." >&2;}
27934 { (exit 1); exit 1; }; }
27936 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27937 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27938 Usually this means the macro was only invoked conditionally." >&5
27939 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27940 Usually this means the macro was only invoked conditionally." >&2;}
27941 { (exit 1); exit 1; }; }
27943 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
27944 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27945 Usually this means the macro was only invoked conditionally." >&5
27946 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27947 Usually this means the macro was only invoked conditionally." >&2;}
27948 { (exit 1); exit 1; }; }
27950 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
27951 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27952 Usually this means the macro was only invoked conditionally." >&5
27953 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27954 Usually this means the macro was only invoked conditionally." >&2;}
27955 { (exit 1); exit 1; }; }
27957 if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then
27958 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined.
27959 Usually this means the macro was only invoked conditionally." >&5
27960 echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined.
27961 Usually this means the macro was only invoked conditionally." >&2;}
27962 { (exit 1); exit 1; }; }
27964 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
27965 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27966 Usually this means the macro was only invoked conditionally." >&5
27967 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27968 Usually this means the macro was only invoked conditionally." >&2;}
27969 { (exit 1); exit 1; }; }
27971 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
27972 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27973 Usually this means the macro was only invoked conditionally." >&5
27974 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27975 Usually this means the macro was only invoked conditionally." >&2;}
27976 { (exit 1); exit 1; }; }
27978 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
27979 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27980 Usually this means the macro was only invoked conditionally." >&5
27981 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27982 Usually this means the macro was only invoked conditionally." >&2;}
27983 { (exit 1); exit 1; }; }
27985 if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then
27986 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
27987 Usually this means the macro was only invoked conditionally." >&5
27988 echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
27989 Usually this means the macro was only invoked conditionally." >&2;}
27990 { (exit 1); exit 1; }; }
27992 if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then
27993 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined.
27994 Usually this means the macro was only invoked conditionally." >&5
27995 echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined.
27996 Usually this means the macro was only invoked conditionally." >&2;}
27997 { (exit 1); exit 1; }; }
28002 CC: $CC, $($CC --version | sed -e '1p;d')
28003 CXX: $CXX, $($CXX --version | sed -e '1p;d')
28004 CPPFLAGS: '$CPPFLAGS'
28006 CXXFLAGS: '$CXXFLAGS'
28007 build/host: $build/$host
28008 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
28009 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
28010 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
28011 Available APIs: $enable_apis
28012 ext2fs Source: $ensc_cv_test_ext2fs_header
28013 syscall(2) invocation: $with_syscall
28014 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
28018 sysconf-Directory: $sysconfdir
28019 cfg-Directory: $sysconfdir/vservers
28020 initrd-Directory: $initrddir
28021 pkgstate-Directory: $localstatedir/run/vservers
28022 vserver-Rootdir: $vserverdir
28024 echo "$FEATURES_TXT" >FEATURES.txt
28027 : ${CONFIG_STATUS=./config.status}
28028 ac_clean_files_save=$ac_clean_files
28029 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28030 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28031 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28032 cat >$CONFIG_STATUS <<_ACEOF
28034 # Generated by $as_me.
28035 # Run this file to recreate the current configuration.
28036 # Compiler output produced by configure, useful for debugging
28037 # configure, is in config.log if it exists.
28040 ac_cs_recheck=false
28042 SHELL=\${CONFIG_SHELL-$SHELL}
28045 cat >>$CONFIG_STATUS <<\_ACEOF
28046 ## --------------------- ##
28047 ## M4sh Initialization. ##
28048 ## --------------------- ##
28050 # Be Bourne compatible
28051 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28054 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28055 # is contrary to our usage. Disable this feature.
28056 alias -g '${1+"$@"}'='"$@"'
28057 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28060 DUALCASE=1; export DUALCASE # for MKS sh
28062 # Support unset when possible.
28063 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28070 # Work around bugs in pre-3.0 UWIN ksh.
28071 $as_unset ENV MAIL MAILPATH
28078 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28079 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28080 LC_TELEPHONE LC_TIME
28082 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28083 eval $as_var=C; export $as_var
28089 # Required to use basename.
28090 if expr a : '\(a\)' >/dev/null 2>&1; then
28096 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28097 as_basename=basename
28103 # Name of the executable.
28104 as_me=`$as_basename "$0" ||
28105 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28106 X"$0" : 'X\(//\)$' \| \
28107 X"$0" : 'X\(/\)$' \| \
28108 . : '\(.\)' 2>/dev/null ||
28110 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28111 /^X\/\(\/\/\)$/{ s//\1/; q; }
28112 /^X\/\(\/\).*/{ s//\1/; q; }
28116 # PATH needs CR, and LINENO needs CR and PATH.
28117 # Avoid depending upon Character Ranges.
28118 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28119 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28120 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28121 as_cr_digits='0123456789'
28122 as_cr_alnum=$as_cr_Letters$as_cr_digits
28124 # The user is always right.
28125 if test "${PATH_SEPARATOR+set}" != set; then
28126 echo "#! /bin/sh" >conf$$.sh
28127 echo "exit 0" >>conf$$.sh
28129 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28138 as_lineno_1=$LINENO
28139 as_lineno_2=$LINENO
28140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28141 test "x$as_lineno_1" != "x$as_lineno_2" &&
28142 test "x$as_lineno_3" = "x$as_lineno_2" || {
28143 # Find who we are. Look in the path if we contain no path at all
28146 *[\\/]* ) as_myself=$0 ;;
28147 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28148 for as_dir in $PATH
28151 test -z "$as_dir" && as_dir=.
28152 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28157 # We did not find ourselves, most probably we were run as `sh COMMAND'
28158 # in which case we are not to be found in the path.
28159 if test "x$as_myself" = x; then
28162 if test ! -f "$as_myself"; then
28163 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28164 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28165 { (exit 1); exit 1; }; }
28167 case $CONFIG_SHELL in
28169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28170 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
28173 test -z "$as_dir" && as_dir=.
28174 for as_base in sh bash ksh sh5; do
28177 if ("$as_dir/$as_base" -c '
28178 as_lineno_1=$LINENO
28179 as_lineno_2=$LINENO
28180 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28181 test "x$as_lineno_1" != "x$as_lineno_2" &&
28182 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
28183 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
28184 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
28185 CONFIG_SHELL=$as_dir/$as_base
28186 export CONFIG_SHELL
28187 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28195 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28196 # uniformly replaced by the line number. The first 'sed' inserts a
28197 # line-number line before each line; the second 'sed' does the real
28198 # work. The second script uses 'N' to pair each line-number line
28199 # with the numbered line, and appends trailing '-' during
28200 # substitution so that $LINENO is not a special case at line end.
28201 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28202 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28203 sed '=' <$as_myself |
28208 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28211 s,^['$as_cr_digits']*\n,,
28212 ' >$as_me.lineno &&
28213 chmod +x $as_me.lineno ||
28214 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28215 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28216 { (exit 1); exit 1; }; }
28218 # Don't try to exec as it changes $[0], causing all sort of problems
28219 # (the dirname of $[0] is not the place where we might find the
28220 # original and so on. Autoconf is especially sensible to this).
28222 # Exit status is that of the last command.
28227 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28228 *c*,-n*) ECHO_N= ECHO_C='
28230 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
28231 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
28234 if expr a : '\(a\)' >/dev/null 2>&1; then
28240 rm -f conf$$ conf$$.exe conf$$.file
28242 if ln -s conf$$.file conf$$ 2>/dev/null; then
28243 # We could just check for DJGPP; but this test a) works b) is more generic
28244 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28245 if test -f conf$$.exe; then
28246 # Don't use ln at all; we don't have any links
28251 elif ln conf$$.file conf$$ 2>/dev/null; then
28256 rm -f conf$$ conf$$.exe conf$$.file
28258 if mkdir -p . 2>/dev/null; then
28261 test -d ./-p && rmdir ./-p
28265 as_executable_p="test -f"
28267 # Sed expression to map a string onto a valid CPP name.
28268 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28270 # Sed expression to map a string onto a valid variable name.
28271 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28275 # We need space, tab and new line, in precisely that order.
28285 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28286 # report actual input values of CONFIG_FILES etc. instead of their
28287 # values after options handling. Logging --version etc. is OK.
28291 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28292 ## Running $as_me. ##
28297 This file was extended by util-vserver $as_me 0.30.213, which was
28298 generated by GNU Autoconf 2.59. Invocation command line was
28300 CONFIG_FILES = $CONFIG_FILES
28301 CONFIG_HEADERS = $CONFIG_HEADERS
28302 CONFIG_LINKS = $CONFIG_LINKS
28303 CONFIG_COMMANDS = $CONFIG_COMMANDS
28307 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28311 # Files that config.status was made for.
28312 if test -n "$ac_config_files"; then
28313 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28316 if test -n "$ac_config_headers"; then
28317 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28320 if test -n "$ac_config_links"; then
28321 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28324 if test -n "$ac_config_commands"; then
28325 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28328 cat >>$CONFIG_STATUS <<\_ACEOF
28331 \`$as_me' instantiates files from templates according to the
28332 current configuration.
28334 Usage: $0 [OPTIONS] [FILE]...
28336 -h, --help print this help, then exit
28337 -V, --version print version number, then exit
28338 -q, --quiet do not print progress messages
28339 -d, --debug don't remove temporary files
28340 --recheck update $as_me by reconfiguring in the same conditions
28341 --file=FILE[:TEMPLATE]
28342 instantiate the configuration file FILE
28343 --header=FILE[:TEMPLATE]
28344 instantiate the configuration header FILE
28346 Configuration files:
28349 Configuration headers:
28352 Configuration commands:
28355 Report bugs to <bug-autoconf@gnu.org>."
28358 cat >>$CONFIG_STATUS <<_ACEOF
28360 util-vserver config.status 0.30.213
28361 configured by $0, generated by GNU Autoconf 2.59,
28362 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28364 Copyright (C) 2003 Free Software Foundation, Inc.
28365 This config.status script is free software; the Free Software Foundation
28366 gives unlimited permission to copy, distribute and modify it."
28371 cat >>$CONFIG_STATUS <<\_ACEOF
28372 # If no file are specified by the user, then we need to provide default
28373 # value. By we need to know if files were specified by the user.
28379 ac_option=`expr "x$1" : 'x\([^=]*\)='`
28380 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
28388 *) # This is not an option, so the user has probably given explicit
28391 ac_need_defaults=false;;
28395 # Handling of the options.
28397 cat >>$CONFIG_STATUS <<\_ACEOF
28398 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28400 --version | --vers* | -V )
28401 echo "$ac_cs_version"; exit 0 ;;
28403 # Conflict between --help and --header
28404 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28405 Try \`$0 --help' for more information." >&5
28406 echo "$as_me: error: ambiguous option: $1
28407 Try \`$0 --help' for more information." >&2;}
28408 { (exit 1); exit 1; }; };;
28409 --help | --hel | -h )
28410 echo "$ac_cs_usage"; exit 0 ;;
28411 --debug | --d* | -d )
28413 --file | --fil | --fi | --f )
28415 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28416 ac_need_defaults=false;;
28417 --header | --heade | --head | --hea )
28419 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28420 ac_need_defaults=false;;
28421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28422 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28425 # This is an error.
28426 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28427 Try \`$0 --help' for more information." >&5
28428 echo "$as_me: error: unrecognized option: $1
28429 Try \`$0 --help' for more information." >&2;}
28430 { (exit 1); exit 1; }; } ;;
28432 *) ac_config_targets="$ac_config_targets $1" ;;
28438 ac_configure_extra_args=
28440 if $ac_cs_silent; then
28442 ac_configure_extra_args="$ac_configure_extra_args --silent"
28446 cat >>$CONFIG_STATUS <<_ACEOF
28447 if \$ac_cs_recheck; then
28448 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28449 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28454 cat >>$CONFIG_STATUS <<_ACEOF
28456 # INIT-COMMANDS section.
28459 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28465 cat >>$CONFIG_STATUS <<\_ACEOF
28466 for ac_config_target in $ac_config_targets
28468 case "$ac_config_target" in
28469 # Handling of arguments.
28470 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
28471 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28472 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
28473 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
28474 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28475 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28476 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28477 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28478 { (exit 1); exit 1; }; };;
28482 # If the user did not use the arguments to specify the items to instantiate,
28483 # then the envvar interface is used. Set only those that are not.
28484 # We use the long form for the default assignment because of an extremely
28485 # bizarre bug on SunOS 4.1.3.
28486 if $ac_need_defaults; then
28487 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28488 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28489 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28492 # Have a temporary directory for convenience. Make it in the build tree
28493 # simply because there is no reason to put it here, and in addition,
28494 # creating and moving files from /tmp can sometimes cause problems.
28495 # Create a temporary directory, and hook for its removal unless debugging.
28498 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
28499 trap '{ (exit 1); exit 1; }' 1 2 13 15
28502 # Create a (secure) tmp directory for tmp files.
28505 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28506 test -n "$tmp" && test -d "$tmp"
28509 tmp=./confstat$$-$RANDOM
28510 (umask 077 && mkdir $tmp)
28513 echo "$me: cannot create a temporary directory in ." >&2
28514 { (exit 1); exit 1; }
28519 cat >>$CONFIG_STATUS <<_ACEOF
28522 # CONFIG_FILES section.
28525 # No need to generate the scripts if there are no CONFIG_FILES.
28526 # This happens for instance when ./config.status config.h
28527 if test -n "\$CONFIG_FILES"; then
28528 # Protect against being on the right side of a sed subst in config.status.
28529 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28530 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28531 s,@SHELL@,$SHELL,;t t
28532 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28533 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28534 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28535 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28536 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
28537 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
28538 s,@exec_prefix@,$exec_prefix,;t t
28539 s,@prefix@,$prefix,;t t
28540 s,@program_transform_name@,$program_transform_name,;t t
28541 s,@bindir@,$bindir,;t t
28542 s,@sbindir@,$sbindir,;t t
28543 s,@libexecdir@,$libexecdir,;t t
28544 s,@datadir@,$datadir,;t t
28545 s,@sysconfdir@,$sysconfdir,;t t
28546 s,@sharedstatedir@,$sharedstatedir,;t t
28547 s,@localstatedir@,$localstatedir,;t t
28548 s,@libdir@,$libdir,;t t
28549 s,@includedir@,$includedir,;t t
28550 s,@oldincludedir@,$oldincludedir,;t t
28551 s,@infodir@,$infodir,;t t
28552 s,@mandir@,$mandir,;t t
28553 s,@build_alias@,$build_alias,;t t
28554 s,@host_alias@,$host_alias,;t t
28555 s,@target_alias@,$target_alias,;t t
28556 s,@DEFS@,$DEFS,;t t
28557 s,@ECHO_C@,$ECHO_C,;t t
28558 s,@ECHO_N@,$ECHO_N,;t t
28559 s,@ECHO_T@,$ECHO_T,;t t
28560 s,@LIBS@,$LIBS,;t t
28561 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28562 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28563 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28564 s,@CYGPATH_W@,$CYGPATH_W,;t t
28565 s,@PACKAGE@,$PACKAGE,;t t
28566 s,@VERSION@,$VERSION,;t t
28567 s,@ACLOCAL@,$ACLOCAL,;t t
28568 s,@AUTOCONF@,$AUTOCONF,;t t
28569 s,@AUTOMAKE@,$AUTOMAKE,;t t
28570 s,@AUTOHEADER@,$AUTOHEADER,;t t
28571 s,@MAKEINFO@,$MAKEINFO,;t t
28572 s,@install_sh@,$install_sh,;t t
28573 s,@STRIP@,$STRIP,;t t
28574 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28575 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28576 s,@mkdir_p@,$mkdir_p,;t t
28578 s,@SET_MAKE@,$SET_MAKE,;t t
28579 s,@am__leading_dot@,$am__leading_dot,;t t
28580 s,@AMTAR@,$AMTAR,;t t
28581 s,@am__tar@,$am__tar,;t t
28582 s,@am__untar@,$am__untar,;t t
28583 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28584 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28585 s,@MAINT@,$MAINT,;t t
28586 s,@build@,$build,;t t
28587 s,@build_cpu@,$build_cpu,;t t
28588 s,@build_vendor@,$build_vendor,;t t
28589 s,@build_os@,$build_os,;t t
28590 s,@host@,$host,;t t
28591 s,@host_cpu@,$host_cpu,;t t
28592 s,@host_vendor@,$host_vendor,;t t
28593 s,@host_os@,$host_os,;t t
28594 s,@GPG_KEY@,$GPG_KEY,;t t
28596 s,@CXXFLAGS@,$CXXFLAGS,;t t
28597 s,@LDFLAGS@,$LDFLAGS,;t t
28598 s,@CPPFLAGS@,$CPPFLAGS,;t t
28599 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28600 s,@EXEEXT@,$EXEEXT,;t t
28601 s,@OBJEXT@,$OBJEXT,;t t
28602 s,@DEPDIR@,$DEPDIR,;t t
28603 s,@am__include@,$am__include,;t t
28604 s,@am__quote@,$am__quote,;t t
28605 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28606 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28607 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28608 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28609 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28610 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28612 s,@CFLAGS@,$CFLAGS,;t t
28613 s,@ac_ct_CC@,$ac_ct_CC,;t t
28614 s,@CCDEPMODE@,$CCDEPMODE,;t t
28615 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28616 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28617 s,@LN_S@,$LN_S,;t t
28618 s,@PYTHON@,$PYTHON,;t t
28619 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
28620 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
28621 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
28622 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
28623 s,@pythondir@,$pythondir,;t t
28624 s,@pkgpythondir@,$pkgpythondir,;t t
28625 s,@pyexecdir@,$pyexecdir,;t t
28626 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
28627 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28628 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28629 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28630 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28631 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28633 s,@CHOWN@,$CHOWN,;t t
28636 s,@DIRNAME@,$DIRNAME,;t t
28637 s,@EGREP@,$EGREP,;t t
28639 s,@GREP@,$GREP,;t t
28641 s,@MKDIR@,$MKDIR,;t t
28642 s,@MKFIFO@,$MKFIFO,;t t
28643 s,@MKTEMP@,$MKTEMP,;t t
28644 s,@MOUNT@,$MOUNT,;t t
28646 s,@NICE@,$NICE,;t t
28649 s,@RMDIR@,$RMDIR,;t t
28654 s,@TOUCH@,$TOUCH,;t t
28656 s,@UMOUNT@,$UMOUNT,;t t
28659 s,@IPTABLES@,$IPTABLES,;t t
28660 s,@MODPROBE@,$MODPROBE,;t t
28661 s,@NAMEIF@,$NAMEIF,;t t
28662 s,@NOHUP@,$NOHUP,;t t
28663 s,@RMMOD@,$RMMOD,;t t
28664 s,@VCONFIG@,$VCONFIG,;t t
28665 s,@WGET@,$WGET,;t t
28666 s,@FILE@,$FILE,;t t
28667 s,@GZIP@,$GZIP,;t t
28668 s,@BZIP2@,$BZIP2,;t t
28669 s,@CPIO@,$CPIO,;t t
28670 s,@RESTORE@,$RESTORE,;t t
28671 s,@RSYNC@,$RSYNC,;t t
28672 s,@DOXYGEN@,$DOXYGEN,;t t
28673 s,@XSLTP@,$XSLTP,;t t
28674 s,@XSLTPROC@,$XSLTPROC,;t t
28675 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28676 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28677 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28678 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28679 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28680 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28681 s,@initrddir@,$initrddir,;t t
28682 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28684 s,@DIET@,$DIET,;t t
28685 s,@DIETFLAGS@,$DIETFLAGS,;t t
28686 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28687 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28688 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28689 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28690 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28691 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28692 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28693 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28694 s,@ECHO@,$ECHO,;t t
28696 s,@ac_ct_AR@,$ac_ct_AR,;t t
28697 s,@RANLIB@,$RANLIB,;t t
28698 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28699 s,@CXXCPP@,$CXXCPP,;t t
28701 s,@FFLAGS@,$FFLAGS,;t t
28702 s,@ac_ct_F77@,$ac_ct_F77,;t t
28703 s,@LIBTOOL@,$LIBTOOL,;t t
28704 s,@vserverdir@,$vserverdir,;t t
28705 s,@SVN2CL@,$SVN2CL,;t t
28706 s,@HAVE_SVN2CL_TRUE@,$HAVE_SVN2CL_TRUE,;t t
28707 s,@HAVE_SVN2CL_FALSE@,$HAVE_SVN2CL_FALSE,;t t
28708 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28709 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28710 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28711 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28712 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28713 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28714 s,@HAVE_GENTOO_INIT_TRUE@,$HAVE_GENTOO_INIT_TRUE,;t t
28715 s,@HAVE_GENTOO_INIT_FALSE@,$HAVE_GENTOO_INIT_FALSE,;t t
28716 s,@HAVE_SYSV_INIT_TRUE@,$HAVE_SYSV_INIT_TRUE,;t t
28717 s,@HAVE_SYSV_INIT_FALSE@,$HAVE_SYSV_INIT_FALSE,;t t
28718 s,@LIBOBJS@,$LIBOBJS,;t t
28719 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28724 cat >>$CONFIG_STATUS <<\_ACEOF
28725 # Split the substitutions into bite-sized pieces for seds with
28726 # small command number limits, like on Digital OSF/1 and HP-UX.
28727 ac_max_sed_lines=48
28728 ac_sed_frag=1 # Number of current file.
28729 ac_beg=1 # First line for current file.
28730 ac_end=$ac_max_sed_lines # Line after last line for current file.
28733 while $ac_more_lines; do
28734 if test $ac_beg -gt 1; then
28735 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28737 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28739 if test ! -s $tmp/subs.frag; then
28740 ac_more_lines=false
28742 # The purpose of the label and of the branching condition is to
28743 # speed up the sed processing (if there are no `@' at all, there
28744 # is no need to browse any of the substitutions).
28745 # These are the two extra sed commands mentioned above.
28747 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28748 if test -z "$ac_sed_cmds"; then
28749 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28751 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28753 ac_sed_frag=`expr $ac_sed_frag + 1`
28755 ac_end=`expr $ac_end + $ac_max_sed_lines`
28758 if test -z "$ac_sed_cmds"; then
28761 fi # test -n "$CONFIG_FILES"
28764 cat >>$CONFIG_STATUS <<\_ACEOF
28765 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28766 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28768 - | *:- | *:-:* ) # input from stdin
28770 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28771 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28772 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28773 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28774 * ) ac_file_in=$ac_file.in ;;
28777 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28778 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28779 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28780 X"$ac_file" : 'X\(//\)[^/]' \| \
28781 X"$ac_file" : 'X\(//\)$' \| \
28782 X"$ac_file" : 'X\(/\)' \| \
28783 . : '\(.\)' 2>/dev/null ||
28785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28786 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28787 /^X\(\/\/\)$/{ s//\1/; q; }
28788 /^X\(\/\).*/{ s//\1/; q; }
28790 { if $as_mkdir_p; then
28795 while test ! -d "$as_dir"; do
28796 as_dirs="$as_dir $as_dirs"
28797 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28799 X"$as_dir" : 'X\(//\)[^/]' \| \
28800 X"$as_dir" : 'X\(//\)$' \| \
28801 X"$as_dir" : 'X\(/\)' \| \
28802 . : '\(.\)' 2>/dev/null ||
28804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28805 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28806 /^X\(\/\/\)$/{ s//\1/; q; }
28807 /^X\(\/\).*/{ s//\1/; q; }
28810 test ! -n "$as_dirs" || mkdir $as_dirs
28811 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28812 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28813 { (exit 1); exit 1; }; }; }
28817 if test "$ac_dir" != .; then
28818 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28819 # A "../" for each directory in $ac_dir_suffix.
28820 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28822 ac_dir_suffix= ac_top_builddir=
28826 .) # No --srcdir option. We are building in place.
28828 if test -z "$ac_top_builddir"; then
28831 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28833 [\\/]* | ?:[\\/]* ) # Absolute path.
28834 ac_srcdir=$srcdir$ac_dir_suffix;
28835 ac_top_srcdir=$srcdir ;;
28836 *) # Relative path.
28837 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28838 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28841 # Do not use `cd foo && pwd` to compute absolute paths, because
28842 # the directories may not exist.
28844 .) ac_abs_builddir="$ac_dir";;
28847 .) ac_abs_builddir=`pwd`;;
28848 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28849 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28852 case $ac_abs_builddir in
28853 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28855 case ${ac_top_builddir}. in
28856 .) ac_abs_top_builddir=$ac_abs_builddir;;
28857 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28858 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28861 case $ac_abs_builddir in
28862 .) ac_abs_srcdir=$ac_srcdir;;
28865 .) ac_abs_srcdir=$ac_abs_builddir;;
28866 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28867 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28870 case $ac_abs_builddir in
28871 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28873 case $ac_top_srcdir in
28874 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28875 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28876 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28882 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28883 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
28886 if test x"$ac_file" != x-; then
28887 { echo "$as_me:$LINENO: creating $ac_file" >&5
28888 echo "$as_me: creating $ac_file" >&6;}
28891 # Let's still pretend it is `configure' which instantiates (i.e., don't
28892 # use $as_me), people would be surprised to read:
28893 # /* config.h. Generated by config.status. */
28894 if test x"$ac_file" = x-; then
28897 configure_input="$ac_file. "
28899 configure_input=$configure_input"Generated from `echo $ac_file_in |
28900 sed 's,.*/,,'` by configure."
28902 # First look for the input files in the build tree, otherwise in the
28904 ac_file_inputs=`IFS=:
28905 for f in $ac_file_in; do
28907 -) echo $tmp/stdin ;;
28909 # Absolute (can't be DOS-style, as IFS=:)
28910 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28911 echo "$as_me: error: cannot find input file: $f" >&2;}
28912 { (exit 1); exit 1; }; }
28915 if test -f "$f"; then
28918 elif test -f "$srcdir/$f"; then
28923 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28924 echo "$as_me: error: cannot find input file: $f" >&2;}
28925 { (exit 1); exit 1; }; }
28928 done` || { (exit 1); exit 1; }
28930 cat >>$CONFIG_STATUS <<_ACEOF
28934 cat >>$CONFIG_STATUS <<\_ACEOF
28936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28937 s,@configure_input@,$configure_input,;t t
28938 s,@srcdir@,$ac_srcdir,;t t
28939 s,@abs_srcdir@,$ac_abs_srcdir,;t t
28940 s,@top_srcdir@,$ac_top_srcdir,;t t
28941 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
28942 s,@builddir@,$ac_builddir,;t t
28943 s,@abs_builddir@,$ac_abs_builddir,;t t
28944 s,@top_builddir@,$ac_top_builddir,;t t
28945 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
28946 s,@INSTALL@,$ac_INSTALL,;t t
28947 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
28949 if test x"$ac_file" != x-; then
28950 mv $tmp/out $ac_file
28958 cat >>$CONFIG_STATUS <<\_ACEOF
28961 # CONFIG_HEADER section.
28964 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
28965 # NAME is the cpp macro being defined and VALUE is the value it is being given.
28967 # ac_d sets the value in "#define NAME VALUE" lines.
28968 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
28969 ac_dB='[ ].*$,\1#\2'
28972 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
28973 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
28974 ac_uB='$,\1#\2define\3'
28978 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
28979 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28981 - | *:- | *:-:* ) # input from stdin
28983 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28984 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28985 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28986 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28987 * ) ac_file_in=$ac_file.in ;;
28990 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
28991 echo "$as_me: creating $ac_file" >&6;}
28993 # First look for the input files in the build tree, otherwise in the
28995 ac_file_inputs=`IFS=:
28996 for f in $ac_file_in; do
28998 -) echo $tmp/stdin ;;
29000 # Absolute (can't be DOS-style, as IFS=:)
29001 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29002 echo "$as_me: error: cannot find input file: $f" >&2;}
29003 { (exit 1); exit 1; }; }
29004 # Do quote $f, to prevent DOS paths from being IFS'd.
29007 if test -f "$f"; then
29010 elif test -f "$srcdir/$f"; then
29015 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29016 echo "$as_me: error: cannot find input file: $f" >&2;}
29017 { (exit 1); exit 1; }; }
29020 done` || { (exit 1); exit 1; }
29021 # Remove the trailing spaces.
29022 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29026 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29027 # `conftest.undefs', that substitutes the proper values into
29028 # config.h.in to produce config.h. The first handles `#define'
29029 # templates, and the second `#undef' templates.
29030 # And first: Protect against being on the right side of a sed subst in
29031 # config.status. Protect against being in an unquoted here document
29032 # in config.status.
29033 rm -f conftest.defines conftest.undefs
29034 # Using a here document instead of a string reduces the quoting nightmare.
29035 # Putting comments in sed scripts is not portable.
29037 # `end' is used to avoid that the second main sed command (meant for
29038 # 0-ary CPP macros) applies to n-ary macro definitions.
29039 # See the Autoconf documentation for `clear'.
29040 cat >confdef2sed.sed <<\_ACEOF
29045 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29047 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29050 # If some macros were called several times there might be several times
29051 # the same #defines, which is useless. Nevertheless, we may not want to
29052 # sort them, since we want the *last* AC-DEFINE to be honored.
29053 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29054 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29055 rm -f confdef2sed.sed
29057 # This sed command replaces #undef with comments. This is necessary, for
29058 # example, in the case of _POSIX_SOURCE, which is predefined and required
29059 # on some systems where configure will not decide to define it.
29060 cat >>conftest.undefs <<\_ACEOF
29061 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29064 # Break up conftest.defines because some shells have a limit on the size
29065 # of here documents, and old seds have small limits too (100 cmds).
29066 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29067 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29068 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29069 echo ' :' >>$CONFIG_STATUS
29070 rm -f conftest.tail
29071 while grep . conftest.defines >/dev/null
29073 # Write a limited-size here document to $tmp/defines.sed.
29074 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29075 # Speed up: don't consider the non `#define' lines.
29076 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29077 # Work around the forget-to-reset-the-flag bug.
29078 echo 't clr' >>$CONFIG_STATUS
29079 echo ': clr' >>$CONFIG_STATUS
29080 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
29082 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29084 mv $tmp/out $tmp/in
29086 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
29087 rm -f conftest.defines
29088 mv conftest.tail conftest.defines
29090 rm -f conftest.defines
29091 echo ' fi # grep' >>$CONFIG_STATUS
29092 echo >>$CONFIG_STATUS
29094 # Break up conftest.undefs because some shells have a limit on the size
29095 # of here documents, and old seds have small limits too (100 cmds).
29096 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29097 rm -f conftest.tail
29098 while grep . conftest.undefs >/dev/null
29100 # Write a limited-size here document to $tmp/undefs.sed.
29101 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29102 # Speed up: don't consider the non `#undef'
29103 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29104 # Work around the forget-to-reset-the-flag bug.
29105 echo 't clr' >>$CONFIG_STATUS
29106 echo ': clr' >>$CONFIG_STATUS
29107 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29109 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29111 mv $tmp/out $tmp/in
29113 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29114 rm -f conftest.undefs
29115 mv conftest.tail conftest.undefs
29117 rm -f conftest.undefs
29119 cat >>$CONFIG_STATUS <<\_ACEOF
29120 # Let's still pretend it is `configure' which instantiates (i.e., don't
29121 # use $as_me), people would be surprised to read:
29122 # /* config.h. Generated by config.status. */
29123 if test x"$ac_file" = x-; then
29124 echo "/* Generated by configure. */" >$tmp/config.h
29126 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29128 cat $tmp/in >>$tmp/config.h
29130 if test x"$ac_file" != x-; then
29131 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
29132 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29133 echo "$as_me: $ac_file is unchanged" >&6;}
29135 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29136 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29137 X"$ac_file" : 'X\(//\)[^/]' \| \
29138 X"$ac_file" : 'X\(//\)$' \| \
29139 X"$ac_file" : 'X\(/\)' \| \
29140 . : '\(.\)' 2>/dev/null ||
29142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29143 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29144 /^X\(\/\/\)$/{ s//\1/; q; }
29145 /^X\(\/\).*/{ s//\1/; q; }
29147 { if $as_mkdir_p; then
29152 while test ! -d "$as_dir"; do
29153 as_dirs="$as_dir $as_dirs"
29154 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29156 X"$as_dir" : 'X\(//\)[^/]' \| \
29157 X"$as_dir" : 'X\(//\)$' \| \
29158 X"$as_dir" : 'X\(/\)' \| \
29159 . : '\(.\)' 2>/dev/null ||
29161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29163 /^X\(\/\/\)$/{ s//\1/; q; }
29164 /^X\(\/\).*/{ s//\1/; q; }
29167 test ! -n "$as_dirs" || mkdir $as_dirs
29168 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29169 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29170 { (exit 1); exit 1; }; }; }
29173 mv $tmp/config.h $ac_file
29177 rm -f $tmp/config.h
29179 # Compute $ac_file's index in $config_headers.
29181 for _am_header in $config_headers :; do
29182 case $_am_header in
29183 $ac_file | $ac_file:* )
29186 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29189 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29190 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29191 X$ac_file : 'X\(//\)[^/]' \| \
29192 X$ac_file : 'X\(//\)$' \| \
29193 X$ac_file : 'X\(/\)' \| \
29194 . : '\(.\)' 2>/dev/null ||
29196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29198 /^X\(\/\/\)$/{ s//\1/; q; }
29199 /^X\(\/\).*/{ s//\1/; q; }
29200 s/.*/./; q'`/stamp-h$_am_stamp_count
29203 cat >>$CONFIG_STATUS <<\_ACEOF
29206 # CONFIG_COMMANDS section.
29208 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
29209 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
29210 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
29211 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
29212 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29213 X"$ac_dest" : 'X\(//\)[^/]' \| \
29214 X"$ac_dest" : 'X\(//\)$' \| \
29215 X"$ac_dest" : 'X\(/\)' \| \
29216 . : '\(.\)' 2>/dev/null ||
29218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29220 /^X\(\/\/\)$/{ s//\1/; q; }
29221 /^X\(\/\).*/{ s//\1/; q; }
29223 { if $as_mkdir_p; then
29228 while test ! -d "$as_dir"; do
29229 as_dirs="$as_dir $as_dirs"
29230 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29232 X"$as_dir" : 'X\(//\)[^/]' \| \
29233 X"$as_dir" : 'X\(//\)$' \| \
29234 X"$as_dir" : 'X\(/\)' \| \
29235 . : '\(.\)' 2>/dev/null ||
29237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29239 /^X\(\/\/\)$/{ s//\1/; q; }
29240 /^X\(\/\).*/{ s//\1/; q; }
29243 test ! -n "$as_dirs" || mkdir $as_dirs
29244 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29245 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29246 { (exit 1); exit 1; }; }; }
29250 if test "$ac_dir" != .; then
29251 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29252 # A "../" for each directory in $ac_dir_suffix.
29253 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29255 ac_dir_suffix= ac_top_builddir=
29259 .) # No --srcdir option. We are building in place.
29261 if test -z "$ac_top_builddir"; then
29264 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29266 [\\/]* | ?:[\\/]* ) # Absolute path.
29267 ac_srcdir=$srcdir$ac_dir_suffix;
29268 ac_top_srcdir=$srcdir ;;
29269 *) # Relative path.
29270 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29271 ac_top_srcdir=$ac_top_builddir$srcdir ;;
29274 # Do not use `cd foo && pwd` to compute absolute paths, because
29275 # the directories may not exist.
29277 .) ac_abs_builddir="$ac_dir";;
29280 .) ac_abs_builddir=`pwd`;;
29281 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29282 *) ac_abs_builddir=`pwd`/"$ac_dir";;
29285 case $ac_abs_builddir in
29286 .) ac_abs_top_builddir=${ac_top_builddir}.;;
29288 case ${ac_top_builddir}. in
29289 .) ac_abs_top_builddir=$ac_abs_builddir;;
29290 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29291 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29294 case $ac_abs_builddir in
29295 .) ac_abs_srcdir=$ac_srcdir;;
29298 .) ac_abs_srcdir=$ac_abs_builddir;;
29299 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29300 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29303 case $ac_abs_builddir in
29304 .) ac_abs_top_srcdir=$ac_top_srcdir;;
29306 case $ac_top_srcdir in
29307 .) ac_abs_top_srcdir=$ac_abs_builddir;;
29308 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29309 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29314 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
29315 echo "$as_me: executing $ac_dest commands" >&6;}
29317 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29318 # Strip MF so we end up with the name of the file.
29319 mf=`echo "$mf" | sed -e 's/:.*$//'`
29320 # Check whether this is an Automake generated Makefile or not.
29321 # We used to match only the files named `Makefile.in', but
29322 # some people rename them; so instead we look at the file content.
29323 # Grep'ing the first line is not enough: some people post-process
29324 # each Makefile.in and add a new line on top of each file to say so.
29325 # So let's grep whole file.
29326 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
29327 dirpart=`(dirname "$mf") 2>/dev/null ||
29328 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29329 X"$mf" : 'X\(//\)[^/]' \| \
29330 X"$mf" : 'X\(//\)$' \| \
29331 X"$mf" : 'X\(/\)' \| \
29332 . : '\(.\)' 2>/dev/null ||
29334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29336 /^X\(\/\/\)$/{ s//\1/; q; }
29337 /^X\(\/\).*/{ s//\1/; q; }
29342 # Extract the definition of DEPDIR, am__include, and am__quote
29343 # from the Makefile without running `make'.
29344 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29345 test -z "$DEPDIR" && continue
29346 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29347 test -z "am__include" && continue
29348 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29349 # When using ansi2knr, U may be empty or an underscore; expand it
29350 U=`sed -n 's/^U = //p' < "$mf"`
29351 # Find all dependency output files, they are included files with
29352 # $(DEPDIR) in their names. We invoke sed twice because it is the
29353 # simplest approach to changing $(DEPDIR) to its actual value in the
29355 for file in `sed -n "
29356 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29357 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29358 # Make sure the directory exists.
29359 test -f "$dirpart/$file" && continue
29360 fdir=`(dirname "$file") 2>/dev/null ||
29361 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29362 X"$file" : 'X\(//\)[^/]' \| \
29363 X"$file" : 'X\(//\)$' \| \
29364 X"$file" : 'X\(/\)' \| \
29365 . : '\(.\)' 2>/dev/null ||
29367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29369 /^X\(\/\/\)$/{ s//\1/; q; }
29370 /^X\(\/\).*/{ s//\1/; q; }
29372 { if $as_mkdir_p; then
29373 mkdir -p $dirpart/$fdir
29375 as_dir=$dirpart/$fdir
29377 while test ! -d "$as_dir"; do
29378 as_dirs="$as_dir $as_dirs"
29379 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29381 X"$as_dir" : 'X\(//\)[^/]' \| \
29382 X"$as_dir" : 'X\(//\)$' \| \
29383 X"$as_dir" : 'X\(/\)' \| \
29384 . : '\(.\)' 2>/dev/null ||
29386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29388 /^X\(\/\/\)$/{ s//\1/; q; }
29389 /^X\(\/\).*/{ s//\1/; q; }
29392 test ! -n "$as_dirs" || mkdir $as_dirs
29393 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
29394 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
29395 { (exit 1); exit 1; }; }; }
29397 # echo "creating $dirpart/$file"
29398 echo '# dummy' > "$dirpart/$file"
29406 cat >>$CONFIG_STATUS <<\_ACEOF
29408 { (exit 0); exit 0; }
29410 chmod +x $CONFIG_STATUS
29411 ac_clean_files=$ac_clean_files_save
29414 # configure is writing to config.log, and then calls config.status.
29415 # config.status does its own redirection, appending to config.log.
29416 # Unfortunately, on DOS this fails, as config.log is still kept open
29417 # by configure, so config.status won't be able to write to it; its
29418 # output is simply discarded. So we exec the FD to /dev/null,
29419 # effectively closing config.log, so it can be properly (re)opened and
29420 # appended to by config.status. When coming back to configure, we
29421 # need to make the FD available again.
29422 if test "$no_create" != yes; then
29424 ac_config_status_args=
29425 test "$silent" = yes &&
29426 ac_config_status_args="$ac_config_status_args --quiet"
29428 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29430 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29431 # would make configure fail if this is the last instruction.
29432 $ac_cs_success || { (exit 1); exit 1; }
29436 { echo "$as_me:$LINENO:
29445 $FEATURES_TXT" >&6;}