2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.208.
5 # Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (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.208'
427 PACKAGE_STRING='util-vserver 0.30.208'
428 PACKAGE_BUGREPORT='enrico.scholz@informatik.tu-chemnitz.de'
430 ac_unique_file="src/capchroot.c"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO 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 DOXYGEN XSLTP XSLTPROC HAVE_XSLTP_TRUE HAVE_XSLTP_FALSE HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE LIB_DEBUG_CPPFLAGS ENSC_USE_EXPENSIVE_TESTS initrddir RELEASE_CPPFLAGS DIET DIETFLAGS USE_DIETLIBC_TRUE USE_DIETLIBC_FALSE USE_DIETLIBC_COMPAT_TRUE USE_DIETLIBC_COMPAT_FALSE ENSC_USE_DIETLIBC_TRUE ENSC_USE_DIETLIBC_FALSE ENSC_USE_GLIBC_TRUE ENSC_USE_GLIBC_FALSE ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL kernelincludedir vserverdir CVS2CL_TAG CVS2CL HAVE_CVS2CL_TRUE HAVE_CVS2CL_FALSE RCS2LOG HAVE_RCS2LOG_TRUE HAVE_RCS2LOG_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE ENSC_HAVE_BEECRYPT_TRUE ENSC_HAVE_BEECRYPT_FALSE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name=s,x,x,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir='${exec_prefix}/bin'
497 sbindir='${exec_prefix}/sbin'
498 libexecdir='${exec_prefix}/libexec'
499 datadir='${prefix}/share'
500 sysconfdir='${prefix}/etc'
501 sharedstatedir='${prefix}/com'
502 localstatedir='${prefix}/var'
503 libdir='${exec_prefix}/lib'
504 includedir='${prefix}/include'
505 oldincludedir='/usr/include'
506 infodir='${prefix}/info'
507 mandir='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
530 -build | --build | --buil | --bui | --bu)
531 ac_prev=build_alias ;;
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build_alias=$ac_optarg ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev=cache_file ;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file=$ac_optarg ;;
543 cache_file=config.cache ;;
545 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
547 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
549 datadir=$ac_optarg ;;
551 -disable-* | --disable-*)
552 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* | --enable-*)
561 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
575 | --exec | --exe | --ex)
576 ac_prev=exec_prefix ;;
577 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
578 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
579 | --exec=* | --exe=* | --ex=*)
580 exec_prefix=$ac_optarg ;;
582 -gas | --gas | --ga | --g)
583 # Obsolete; use --with-gas.
586 -help | --help | --hel | --he | -h)
588 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
589 ac_init_help=recursive ;;
590 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
591 ac_init_help=short ;;
593 -host | --host | --hos | --ho)
594 ac_prev=host_alias ;;
595 -host=* | --host=* | --hos=* | --ho=*)
596 host_alias=$ac_optarg ;;
598 -includedir | --includedir | --includedi | --included | --include \
599 | --includ | --inclu | --incl | --inc)
600 ac_prev=includedir ;;
601 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
602 | --includ=* | --inclu=* | --incl=* | --inc=*)
603 includedir=$ac_optarg ;;
605 -infodir | --infodir | --infodi | --infod | --info | --inf)
607 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
608 infodir=$ac_optarg ;;
610 -libdir | --libdir | --libdi | --libd)
612 -libdir=* | --libdir=* | --libdi=* | --libd=*)
615 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
616 | --libexe | --libex | --libe)
617 ac_prev=libexecdir ;;
618 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
619 | --libexe=* | --libex=* | --libe=*)
620 libexecdir=$ac_optarg ;;
622 -localstatedir | --localstatedir | --localstatedi | --localstated \
623 | --localstate | --localstat | --localsta | --localst \
624 | --locals | --local | --loca | --loc | --lo)
625 ac_prev=localstatedir ;;
626 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
629 localstatedir=$ac_optarg ;;
631 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
633 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
637 # Obsolete; use --without-fp.
640 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
641 | --no-cr | --no-c | -n)
644 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
645 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
648 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
649 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
650 | --oldin | --oldi | --old | --ol | --o)
651 ac_prev=oldincludedir ;;
652 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
653 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
654 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
655 oldincludedir=$ac_optarg ;;
657 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
659 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
662 -program-prefix | --program-prefix | --program-prefi | --program-pref \
663 | --program-pre | --program-pr | --program-p)
664 ac_prev=program_prefix ;;
665 -program-prefix=* | --program-prefix=* | --program-prefi=* \
666 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
667 program_prefix=$ac_optarg ;;
669 -program-suffix | --program-suffix | --program-suffi | --program-suff \
670 | --program-suf | --program-su | --program-s)
671 ac_prev=program_suffix ;;
672 -program-suffix=* | --program-suffix=* | --program-suffi=* \
673 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
674 program_suffix=$ac_optarg ;;
676 -program-transform-name | --program-transform-name \
677 | --program-transform-nam | --program-transform-na \
678 | --program-transform-n | --program-transform- \
679 | --program-transform | --program-transfor \
680 | --program-transfo | --program-transf \
681 | --program-trans | --program-tran \
682 | --progr-tra | --program-tr | --program-t)
683 ac_prev=program_transform_name ;;
684 -program-transform-name=* | --program-transform-name=* \
685 | --program-transform-nam=* | --program-transform-na=* \
686 | --program-transform-n=* | --program-transform-=* \
687 | --program-transform=* | --program-transfor=* \
688 | --program-transfo=* | --program-transf=* \
689 | --program-trans=* | --program-tran=* \
690 | --progr-tra=* | --program-tr=* | --program-t=*)
691 program_transform_name=$ac_optarg ;;
693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694 | -silent | --silent | --silen | --sile | --sil)
697 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
699 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
701 sbindir=$ac_optarg ;;
703 -sharedstatedir | --sharedstatedir | --sharedstatedi \
704 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
705 | --sharedst | --shareds | --shared | --share | --shar \
707 ac_prev=sharedstatedir ;;
708 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
709 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
710 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
712 sharedstatedir=$ac_optarg ;;
714 -site | --site | --sit)
716 -site=* | --site=* | --sit=*)
719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
724 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
725 | --syscon | --sysco | --sysc | --sys | --sy)
726 ac_prev=sysconfdir ;;
727 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
728 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
729 sysconfdir=$ac_optarg ;;
731 -target | --target | --targe | --targ | --tar | --ta | --t)
732 ac_prev=target_alias ;;
733 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
734 target_alias=$ac_optarg ;;
736 -v | -verbose | --verbose | --verbos | --verbo | --verb)
739 -version | --version | --versio | --versi | --vers | -V)
743 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* | --without-*)
756 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
769 | --x-incl | --x-inc | --x-in | --x-i)
770 ac_prev=x_includes ;;
771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
773 x_includes=$ac_optarg ;;
775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
777 ac_prev=x_libraries ;;
778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780 x_libraries=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var in exec_prefix prefix
817 eval ac_val=$`echo $ac_var`
819 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val=$`echo $ac_var`
831 [\\/$]* | ?:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x; then
846 if test "x$build_alias" = x; then
847 cross_compiling=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix=$host_alias-
858 test "$silent" = yes && exec 6>/dev/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set=${build_alias+set}
898 ac_env_build_alias_value=$build_alias
899 ac_cv_env_build_alias_set=${build_alias+set}
900 ac_cv_env_build_alias_value=$build_alias
901 ac_env_host_alias_set=${host_alias+set}
902 ac_env_host_alias_value=$host_alias
903 ac_cv_env_host_alias_set=${host_alias+set}
904 ac_cv_env_host_alias_value=$host_alias
905 ac_env_target_alias_set=${target_alias+set}
906 ac_env_target_alias_value=$target_alias
907 ac_cv_env_target_alias_set=${target_alias+set}
908 ac_cv_env_target_alias_value=$target_alias
909 ac_env_CXX_set=${CXX+set}
910 ac_env_CXX_value=$CXX
911 ac_cv_env_CXX_set=${CXX+set}
912 ac_cv_env_CXX_value=$CXX
913 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
914 ac_env_CXXFLAGS_value=$CXXFLAGS
915 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
921 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925 ac_env_CC_set=${CC+set}
927 ac_cv_env_CC_set=${CC+set}
928 ac_cv_env_CC_value=$CC
929 ac_env_CFLAGS_set=${CFLAGS+set}
930 ac_env_CFLAGS_value=$CFLAGS
931 ac_cv_env_CFLAGS_set=${CFLAGS+set}
932 ac_cv_env_CFLAGS_value=$CFLAGS
933 ac_env_DIET_set=${DIET+set}
934 ac_env_DIET_value=$DIET
935 ac_cv_env_DIET_set=${DIET+set}
936 ac_cv_env_DIET_value=$DIET
937 ac_env_DIETFLAGS_set=${DIETFLAGS+set}
938 ac_env_DIETFLAGS_value=$DIETFLAGS
939 ac_cv_env_DIETFLAGS_set=${DIETFLAGS+set}
940 ac_cv_env_DIETFLAGS_value=$DIETFLAGS
941 ac_env_CPP_set=${CPP+set}
942 ac_env_CPP_value=$CPP
943 ac_cv_env_CPP_set=${CPP+set}
944 ac_cv_env_CPP_value=$CPP
945 ac_env_CXXCPP_set=${CXXCPP+set}
946 ac_env_CXXCPP_value=$CXXCPP
947 ac_cv_env_CXXCPP_set=${CXXCPP+set}
948 ac_cv_env_CXXCPP_value=$CXXCPP
949 ac_env_F77_set=${F77+set}
950 ac_env_F77_value=$F77
951 ac_cv_env_F77_set=${F77+set}
952 ac_cv_env_F77_value=$F77
953 ac_env_FFLAGS_set=${FFLAGS+set}
954 ac_env_FFLAGS_value=$FFLAGS
955 ac_cv_env_FFLAGS_set=${FFLAGS+set}
956 ac_cv_env_FFLAGS_value=$FFLAGS
959 # Report the --help message.
961 if test "$ac_init_help" = "long"; then
962 # Omit some internal or obsolete options to make the list less imposing.
963 # This message is too long to be a string in the A/UX 3.1 sh.
965 \`configure' configures util-vserver 0.30.208 to adapt to many kinds of systems.
967 Usage: $0 [OPTION]... [VAR=VALUE]...
969 To assign environment variables (e.g., CC, CFLAGS...), specify them as
970 VAR=VALUE. See below for descriptions of some of the useful variables.
972 Defaults for the options are specified in brackets.
975 -h, --help display this help and exit
976 --help=short display options specific to this package
977 --help=recursive display the short help of all the included packages
978 -V, --version display version information and exit
979 -q, --quiet, --silent do not print \`checking...' messages
980 --cache-file=FILE cache test results in FILE [disabled]
981 -C, --config-cache alias for \`--cache-file=config.cache'
982 -n, --no-create do not create output files
983 --srcdir=DIR find the sources in DIR [configure dir or \`..']
988 Installation directories:
989 --prefix=PREFIX install architecture-independent files in PREFIX
991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
994 By default, \`make install' will install all the files in
995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
997 for instance \`--prefix=\$HOME'.
999 For better control, use the options below.
1001 Fine tuning of the installation directories:
1002 --bindir=DIR user executables [EPREFIX/bin]
1003 --sbindir=DIR system admin executables [EPREFIX/sbin]
1004 --libexecdir=DIR program executables [EPREFIX/libexec]
1005 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1006 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1007 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1008 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1009 --libdir=DIR object code libraries [EPREFIX/lib]
1010 --includedir=DIR C header files [PREFIX/include]
1011 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1012 --infodir=DIR info documentation [PREFIX/info]
1013 --mandir=DIR man documentation [PREFIX/man]
1019 --program-prefix=PREFIX prepend PREFIX to installed program names
1020 --program-suffix=SUFFIX append SUFFIX to installed program names
1021 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1024 --build=BUILD configure for building on BUILD [guessed]
1025 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1029 if test -n "$ac_init_help"; then
1030 case $ac_init_help in
1031 short | recursive ) echo "Configuration of util-vserver 0.30.208:";;
1036 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1037 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1038 --enable-maintainer-mode enable make rules and dependencies not useful
1039 (and sometimes confusing) to the casual installer
1040 --disable-dependency-tracking speeds up one-time build
1041 --enable-dependency-tracking do not reject slow dependency extractors
1042 --disable-extra-optimizations
1043 disable certain extra optimizations (default: no)
1044 --enable-lib-debug enable additional debug code in library (default:
1046 --disable-expensive-tests
1047 disable tests which might be expensive on some
1048 systems (default: no)
1049 --enable-release enable release mode (default: no)
1050 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1051 --enable-dietlibc) (default: autodetect dietlibc)
1052 --disable-alternative-syscalls
1053 do not use the alternative _syscallX macros provided
1054 by Herbert Poetzl (default: use them)
1055 --enable-shared[=PKGS]
1056 build shared libraries [default=yes]
1057 --enable-static[=PKGS]
1058 build static libraries [default=yes]
1059 --enable-fast-install[=PKGS]
1060 optimize for fast installation [default=yes]
1061 --disable-libtool-lock avoid locking (might break parallel builds)
1062 --disable-internal-headers
1063 use vserver specific headers from the kernel instead
1064 of the shipped versions (default: no)
1065 --enable-apis=APIS enable support for the given apis; possible values
1066 are: legacy,compat,v11,v13,fscompat,net,ALL
1067 (default: all except 'legacy')
1070 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1071 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1072 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1078 include additional configurations [automatic]
1079 --with-kerneldir=DIR assume kernelsources in DIR (default:
1080 /lib/modules/<current>/build)
1081 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1082 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1083 values are 'fast', 'traditional' and 'auto'
1086 Some influential environment variables:
1087 CXX C++ compiler command
1088 CXXFLAGS C++ compiler flags
1089 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1090 nonstandard directory <lib dir>
1091 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1092 headers in a nonstandard directory <include dir>
1093 CC C compiler command
1094 CFLAGS C compiler flags
1095 DIET The 'diet' wrapper (default: diet)
1096 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1098 CXXCPP C++ preprocessor
1099 F77 Fortran 77 compiler command
1100 FFLAGS Fortran 77 compiler flags
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1105 Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix= ac_top_builddir=
1125 .) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .) ac_abs_builddir="$ac_dir";;
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 util-vserver configure 0.30.208
1202 generated by GNU Autoconf 2.59
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by util-vserver $as_me 0.30.208, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next=true ;;
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1552 ac_config_headers="$ac_config_headers config.h"
1555 am__api_version="1.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.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 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4290 # Extract the first word of "$ac_prog", so it can be a program name with args.
4291 set dummy $ac_prog; ac_word=$2
4292 echo "$as_me:$LINENO: checking for $ac_word" >&5
4293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4294 if test "${ac_cv_path_CAT+set}" = set; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4299 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 for as_dir in $ensc_searchpath
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$CAT"; then
4322 echo "$as_me:$LINENO: result: $CAT" >&5
4323 echo "${ECHO_T}$CAT" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4329 test -n "$CAT" && break
4331 test -n "$CAT" || CAT="$ensc_dflt"
4334 if test -z "${CAT}" && $rq; then
4336 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4337 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4338 { (exit 1); exit 1; }; }
4340 { { echo "$as_me:$LINENO: error:
4341 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4343 echo "$as_me: error:
4344 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4346 { (exit 1); exit 1; }; }
4350 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4369 for ac_prog in chown
4371 # Extract the first word of "$ac_prog", so it can be a program name with args.
4372 set dummy $ac_prog; ac_word=$2
4373 echo "$as_me:$LINENO: checking for $ac_word" >&5
4374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4375 if test "${ac_cv_path_CHOWN+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $ensc_searchpath
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 CHOWN=$ac_cv_path_CHOWN
4402 if test -n "$CHOWN"; then
4403 echo "$as_me:$LINENO: result: $CHOWN" >&5
4404 echo "${ECHO_T}$CHOWN" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4410 test -n "$CHOWN" && break
4412 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4415 if test -z "${CHOWN}" && $rq; then
4417 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4418 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4419 { (exit 1); exit 1; }; }
4421 { { echo "$as_me:$LINENO: error:
4422 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4424 echo "$as_me: error:
4425 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4427 { (exit 1); exit 1; }; }
4431 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4452 # Extract the first word of "$ac_prog", so it can be a program name with args.
4453 set dummy $ac_prog; ac_word=$2
4454 echo "$as_me:$LINENO: checking for $ac_word" >&5
4455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4456 if test "${ac_cv_path_CMP+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $ensc_searchpath
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 if test -n "$CMP"; then
4484 echo "$as_me:$LINENO: result: $CMP" >&5
4485 echo "${ECHO_T}$CMP" >&6
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4491 test -n "$CMP" && break
4493 test -n "$CMP" || CMP="$ensc_dflt"
4496 if test -z "${CMP}" && $rq; then
4498 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4499 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4500 { (exit 1); exit 1; }; }
4502 { { echo "$as_me:$LINENO: error:
4503 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4505 echo "$as_me: error:
4506 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4508 { (exit 1); exit 1; }; }
4512 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4533 # Extract the first word of "$ac_prog", so it can be a program name with args.
4534 set dummy $ac_prog; ac_word=$2
4535 echo "$as_me:$LINENO: checking for $ac_word" >&5
4536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4537 if test "${ac_cv_path_CP+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $ensc_searchpath
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 if test -n "$CP"; then
4565 echo "$as_me:$LINENO: result: $CP" >&5
4566 echo "${ECHO_T}$CP" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4572 test -n "$CP" && break
4574 test -n "$CP" || CP="$ensc_dflt"
4577 if test -z "${CP}" && $rq; then
4579 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4580 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4581 { (exit 1); exit 1; }; }
4583 { { echo "$as_me:$LINENO: error:
4584 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4586 echo "$as_me: error:
4587 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4589 { (exit 1); exit 1; }; }
4593 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4612 for ac_prog in dirname
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 echo "$as_me:$LINENO: checking for $ac_word" >&5
4617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4618 if test "${ac_cv_path_DIRNAME+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $ensc_searchpath
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 DIRNAME=$ac_cv_path_DIRNAME
4645 if test -n "$DIRNAME"; then
4646 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4647 echo "${ECHO_T}$DIRNAME" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4653 test -n "$DIRNAME" && break
4655 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4658 if test -z "${DIRNAME}" && $rq; then
4660 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4661 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4662 { (exit 1); exit 1; }; }
4664 { { echo "$as_me:$LINENO: error:
4665 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4667 echo "$as_me: error:
4668 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4670 { (exit 1); exit 1; }; }
4674 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4693 for ac_prog in egrep
4695 # Extract the first word of "$ac_prog", so it can be a program name with args.
4696 set dummy $ac_prog; ac_word=$2
4697 echo "$as_me:$LINENO: checking for $ac_word" >&5
4698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4699 if test "${ac_cv_path_EGREP+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 for as_dir in $ensc_searchpath
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 EGREP=$ac_cv_path_EGREP
4726 if test -n "$EGREP"; then
4727 echo "$as_me:$LINENO: result: $EGREP" >&5
4728 echo "${ECHO_T}$EGREP" >&6
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4734 test -n "$EGREP" && break
4736 test -n "$EGREP" || EGREP="$ensc_dflt"
4739 if test -z "${EGREP}" && $rq; then
4741 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4742 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4743 { (exit 1); exit 1; }; }
4745 { { echo "$as_me:$LINENO: error:
4746 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4748 echo "$as_me: error:
4749 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4751 { (exit 1); exit 1; }; }
4755 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4776 # Extract the first word of "$ac_prog", so it can be a program name with args.
4777 set dummy $ac_prog; ac_word=$2
4778 echo "$as_me:$LINENO: checking for $ac_word" >&5
4779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4780 if test "${ac_cv_path_ENV+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $ensc_searchpath
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 if test -n "$ENV"; then
4808 echo "$as_me:$LINENO: result: $ENV" >&5
4809 echo "${ECHO_T}$ENV" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4815 test -n "$ENV" && break
4817 test -n "$ENV" || ENV="$ensc_dflt"
4820 if test -z "${ENV}" && $rq; then
4822 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
4823 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4824 { (exit 1); exit 1; }; }
4826 { { echo "$as_me:$LINENO: error:
4827 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4829 echo "$as_me: error:
4830 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4832 { (exit 1); exit 1; }; }
4836 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
4857 # Extract the first word of "$ac_prog", so it can be a program name with args.
4858 set dummy $ac_prog; ac_word=$2
4859 echo "$as_me:$LINENO: checking for $ac_word" >&5
4860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4861 if test "${ac_cv_path_GREP+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $ensc_searchpath
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4876 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 GREP=$ac_cv_path_GREP
4888 if test -n "$GREP"; then
4889 echo "$as_me:$LINENO: result: $GREP" >&5
4890 echo "${ECHO_T}$GREP" >&6
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4896 test -n "$GREP" && break
4898 test -n "$GREP" || GREP="$ensc_dflt"
4901 if test -z "${GREP}" && $rq; then
4903 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4904 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4905 { (exit 1); exit 1; }; }
4907 { { echo "$as_me:$LINENO: error:
4908 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4910 echo "$as_me: error:
4911 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4913 { (exit 1); exit 1; }; }
4917 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4938 # Extract the first word of "$ac_prog", so it can be a program name with args.
4939 set dummy $ac_prog; ac_word=$2
4940 echo "$as_me:$LINENO: checking for $ac_word" >&5
4941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4942 if test "${ac_cv_path_LN+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $ensc_searchpath
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 if test -n "$LN"; then
4970 echo "$as_me:$LINENO: result: $LN" >&5
4971 echo "${ECHO_T}$LN" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4977 test -n "$LN" && break
4979 test -n "$LN" || LN="$ensc_dflt"
4982 if test -z "${LN}" && $rq; then
4984 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
4985 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4986 { (exit 1); exit 1; }; }
4988 { { echo "$as_me:$LINENO: error:
4989 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4991 echo "$as_me: error:
4992 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4994 { (exit 1); exit 1; }; }
4998 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
5017 for ac_prog in mkdir
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5023 if test "${ac_cv_path_MKDIR+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $ensc_searchpath
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5038 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 MKDIR=$ac_cv_path_MKDIR
5050 if test -n "$MKDIR"; then
5051 echo "$as_me:$LINENO: result: $MKDIR" >&5
5052 echo "${ECHO_T}$MKDIR" >&6
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5058 test -n "$MKDIR" && break
5060 test -n "$MKDIR" || MKDIR="$ensc_dflt"
5063 if test -z "${MKDIR}" && $rq; then
5065 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5066 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5067 { (exit 1); exit 1; }; }
5069 { { echo "$as_me:$LINENO: error:
5070 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5072 echo "$as_me: error:
5073 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
5075 { (exit 1); exit 1; }; }
5079 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
5098 for ac_prog in mkfifo
5100 # Extract the first word of "$ac_prog", so it can be a program name with args.
5101 set dummy $ac_prog; ac_word=$2
5102 echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5104 if test "${ac_cv_path_MKFIFO+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 for as_dir in $ensc_searchpath
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
5120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 MKFIFO=$ac_cv_path_MKFIFO
5131 if test -n "$MKFIFO"; then
5132 echo "$as_me:$LINENO: result: $MKFIFO" >&5
5133 echo "${ECHO_T}$MKFIFO" >&6
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5139 test -n "$MKFIFO" && break
5141 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
5144 if test -z "${MKFIFO}" && $rq; then
5146 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
5147 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5148 { (exit 1); exit 1; }; }
5150 { { echo "$as_me:$LINENO: error:
5151 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5153 echo "$as_me: error:
5154 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
5156 { (exit 1); exit 1; }; }
5160 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
5179 for ac_prog in mktemp
5181 # Extract the first word of "$ac_prog", so it can be a program name with args.
5182 set dummy $ac_prog; ac_word=$2
5183 echo "$as_me:$LINENO: checking for $ac_word" >&5
5184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5185 if test "${ac_cv_path_MKTEMP+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 for as_dir in $ensc_searchpath
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 MKTEMP=$ac_cv_path_MKTEMP
5212 if test -n "$MKTEMP"; then
5213 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5214 echo "${ECHO_T}$MKTEMP" >&6
5216 echo "$as_me:$LINENO: result: no" >&5
5217 echo "${ECHO_T}no" >&6
5220 test -n "$MKTEMP" && break
5222 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5225 if test -z "${MKTEMP}" && $rq; then
5227 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5228 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5229 { (exit 1); exit 1; }; }
5231 { { echo "$as_me:$LINENO: error:
5232 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5234 echo "$as_me: error:
5235 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5237 { (exit 1); exit 1; }; }
5241 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5260 for ac_prog in mount
5262 # Extract the first word of "$ac_prog", so it can be a program name with args.
5263 set dummy $ac_prog; ac_word=$2
5264 echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5266 if test "${ac_cv_path_MOUNT+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 for as_dir in $ensc_searchpath
5278 test -z "$as_dir" && as_dir=.
5279 for ac_exec_ext in '' $ac_executable_extensions; do
5280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 MOUNT=$ac_cv_path_MOUNT
5293 if test -n "$MOUNT"; then
5294 echo "$as_me:$LINENO: result: $MOUNT" >&5
5295 echo "${ECHO_T}$MOUNT" >&6
5297 echo "$as_me:$LINENO: result: no" >&5
5298 echo "${ECHO_T}no" >&6
5301 test -n "$MOUNT" && break
5303 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5306 if test -z "${MOUNT}" && $rq; then
5308 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5309 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5310 { (exit 1); exit 1; }; }
5312 { { echo "$as_me:$LINENO: error:
5313 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5315 echo "$as_me: error:
5316 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5318 { (exit 1); exit 1; }; }
5322 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5343 # Extract the first word of "$ac_prog", so it can be a program name with args.
5344 set dummy $ac_prog; ac_word=$2
5345 echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5347 if test "${ac_cv_path_MV+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $ensc_searchpath
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 if test -n "$MV"; then
5375 echo "$as_me:$LINENO: result: $MV" >&5
5376 echo "${ECHO_T}$MV" >&6
5378 echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6
5382 test -n "$MV" && break
5384 test -n "$MV" || MV="$ensc_dflt"
5387 if test -z "${MV}" && $rq; then
5389 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5390 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5391 { (exit 1); exit 1; }; }
5393 { { echo "$as_me:$LINENO: error:
5394 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5396 echo "$as_me: error:
5397 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5399 { (exit 1); exit 1; }; }
5403 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy $ac_prog; ac_word=$2
5426 echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5428 if test "${ac_cv_path_NICE+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $ensc_searchpath
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 NICE=$ac_cv_path_NICE
5455 if test -n "$NICE"; then
5456 echo "$as_me:$LINENO: result: $NICE" >&5
5457 echo "${ECHO_T}$NICE" >&6
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5463 test -n "$NICE" && break
5465 test -n "$NICE" || NICE="$ensc_dflt"
5468 if test -z "${NICE}" && $rq; then
5470 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5471 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5472 { (exit 1); exit 1; }; }
5474 { { echo "$as_me:$LINENO: error:
5475 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5477 echo "$as_me: error:
5478 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5480 { (exit 1); exit 1; }; }
5484 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5505 # Extract the first word of "$ac_prog", so it can be a program name with args.
5506 set dummy $ac_prog; ac_word=$2
5507 echo "$as_me:$LINENO: checking for $ac_word" >&5
5508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5509 if test "${ac_cv_path_PS+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $ensc_searchpath
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 if test -n "$PS"; then
5537 echo "$as_me:$LINENO: result: $PS" >&5
5538 echo "${ECHO_T}$PS" >&6
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5544 test -n "$PS" && break
5546 test -n "$PS" || PS="$ensc_dflt"
5549 if test -z "${PS}" && $rq; then
5551 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5552 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5553 { (exit 1); exit 1; }; }
5555 { { echo "$as_me:$LINENO: error:
5556 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5558 echo "$as_me: error:
5559 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5561 { (exit 1); exit 1; }; }
5565 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5586 # Extract the first word of "$ac_prog", so it can be a program name with args.
5587 set dummy $ac_prog; ac_word=$2
5588 echo "$as_me:$LINENO: checking for $ac_word" >&5
5589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5590 if test "${ac_cv_path_RM+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $ensc_searchpath
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 if test -n "$RM"; then
5618 echo "$as_me:$LINENO: result: $RM" >&5
5619 echo "${ECHO_T}$RM" >&6
5621 echo "$as_me:$LINENO: result: no" >&5
5622 echo "${ECHO_T}no" >&6
5625 test -n "$RM" && break
5627 test -n "$RM" || RM="$ensc_dflt"
5630 if test -z "${RM}" && $rq; then
5632 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5633 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5634 { (exit 1); exit 1; }; }
5636 { { echo "$as_me:$LINENO: error:
5637 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5639 echo "$as_me: error:
5640 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5642 { (exit 1); exit 1; }; }
5646 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5665 for ac_prog in rmdir
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy $ac_prog; ac_word=$2
5669 echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5671 if test "${ac_cv_path_RMDIR+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 for as_dir in $ensc_searchpath
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 RMDIR=$ac_cv_path_RMDIR
5698 if test -n "$RMDIR"; then
5699 echo "$as_me:$LINENO: result: $RMDIR" >&5
5700 echo "${ECHO_T}$RMDIR" >&6
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5706 test -n "$RMDIR" && break
5708 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5711 if test -z "${RMDIR}" && $rq; then
5713 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5714 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5715 { (exit 1); exit 1; }; }
5717 { { echo "$as_me:$LINENO: error:
5718 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5720 echo "$as_me: error:
5721 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5723 { (exit 1); exit 1; }; }
5727 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 echo "$as_me:$LINENO: checking for $ac_word" >&5
5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5752 if test "${ac_cv_path_SED+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $ensc_searchpath
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 if test -n "$SED"; then
5780 echo "$as_me:$LINENO: result: $SED" >&5
5781 echo "${ECHO_T}$SED" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5787 test -n "$SED" && break
5789 test -n "$SED" || SED="$ensc_dflt"
5792 if test -z "${SED}" && $rq; then
5794 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5795 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5796 { (exit 1); exit 1; }; }
5798 { { echo "$as_me:$LINENO: error:
5799 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5801 echo "$as_me: error:
5802 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5804 { (exit 1); exit 1; }; }
5808 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5829 # Extract the first word of "$ac_prog", so it can be a program name with args.
5830 set dummy $ac_prog; ac_word=$2
5831 echo "$as_me:$LINENO: checking for $ac_word" >&5
5832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5833 if test "${ac_cv_path_SH+set}" = set; then
5834 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $ensc_searchpath
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 if test -n "$SH"; then
5861 echo "$as_me:$LINENO: result: $SH" >&5
5862 echo "${ECHO_T}$SH" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5868 test -n "$SH" && break
5870 test -n "$SH" || SH="$ensc_dflt"
5873 if test -z "${SH}" && $rq; then
5875 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5876 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5877 { (exit 1); exit 1; }; }
5879 { { echo "$as_me:$LINENO: error:
5880 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5882 echo "$as_me: error:
5883 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5885 { (exit 1); exit 1; }; }
5889 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5910 # Extract the first word of "$ac_prog", so it can be a program name with args.
5911 set dummy $ac_prog; ac_word=$2
5912 echo "$as_me:$LINENO: checking for $ac_word" >&5
5913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5914 if test "${ac_cv_path_TAC+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5919 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $ensc_searchpath
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
5930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 if test -n "$TAC"; then
5942 echo "$as_me:$LINENO: result: $TAC" >&5
5943 echo "${ECHO_T}$TAC" >&6
5945 echo "$as_me:$LINENO: result: no" >&5
5946 echo "${ECHO_T}no" >&6
5949 test -n "$TAC" && break
5951 test -n "$TAC" || TAC="$ensc_dflt"
5954 if test -z "${TAC}" && $rq; then
5956 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
5957 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5958 { (exit 1); exit 1; }; }
5960 { { echo "$as_me:$LINENO: error:
5961 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5963 echo "$as_me: error:
5964 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5966 { (exit 1); exit 1; }; }
5970 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
5991 # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy $ac_prog; ac_word=$2
5993 echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5995 if test "${ac_cv_path_TAR+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $ensc_searchpath
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 if test -n "$TAR"; then
6023 echo "$as_me:$LINENO: result: $TAR" >&5
6024 echo "${ECHO_T}$TAR" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6030 test -n "$TAR" && break
6032 test -n "$TAR" || TAR="$ensc_dflt"
6035 if test -z "${TAR}" && $rq; then
6037 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
6038 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6039 { (exit 1); exit 1; }; }
6041 { { echo "$as_me:$LINENO: error:
6042 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6044 echo "$as_me: error:
6045 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
6047 { (exit 1); exit 1; }; }
6051 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
6070 for ac_prog in touch
6072 # Extract the first word of "$ac_prog", so it can be a program name with args.
6073 set dummy $ac_prog; ac_word=$2
6074 echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6076 if test "${ac_cv_path_TOUCH+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $ensc_searchpath
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6091 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
6092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 TOUCH=$ac_cv_path_TOUCH
6103 if test -n "$TOUCH"; then
6104 echo "$as_me:$LINENO: result: $TOUCH" >&5
6105 echo "${ECHO_T}$TOUCH" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6111 test -n "$TOUCH" && break
6113 test -n "$TOUCH" || TOUCH="$ensc_dflt"
6116 if test -z "${TOUCH}" && $rq; then
6118 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
6119 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6120 { (exit 1); exit 1; }; }
6122 { { echo "$as_me:$LINENO: error:
6123 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6125 echo "$as_me: error:
6126 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
6128 { (exit 1); exit 1; }; }
6132 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
6153 # Extract the first word of "$ac_prog", so it can be a program name with args.
6154 set dummy $ac_prog; ac_word=$2
6155 echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6157 if test "${ac_cv_path_TTY+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 for as_dir in $ensc_searchpath
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6172 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 if test -n "$TTY"; then
6185 echo "$as_me:$LINENO: result: $TTY" >&5
6186 echo "${ECHO_T}$TTY" >&6
6188 echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6
6192 test -n "$TTY" && break
6194 test -n "$TTY" || TTY="$ensc_dflt"
6197 if test -z "${TTY}" && $rq; then
6199 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6200 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6201 { (exit 1); exit 1; }; }
6203 { { echo "$as_me:$LINENO: error:
6204 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6206 echo "$as_me: error:
6207 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6209 { (exit 1); exit 1; }; }
6213 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6232 for ac_prog in umount
6234 # Extract the first word of "$ac_prog", so it can be a program name with args.
6235 set dummy $ac_prog; ac_word=$2
6236 echo "$as_me:$LINENO: checking for $ac_word" >&5
6237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6238 if test "${ac_cv_path_UMOUNT+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $ensc_searchpath
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 UMOUNT=$ac_cv_path_UMOUNT
6265 if test -n "$UMOUNT"; then
6266 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6267 echo "${ECHO_T}$UMOUNT" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6273 test -n "$UMOUNT" && break
6275 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6278 if test -z "${UMOUNT}" && $rq; then
6280 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6281 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6282 { (exit 1); exit 1; }; }
6284 { { echo "$as_me:$LINENO: error:
6285 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6287 echo "$as_me: error:
6288 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6290 { (exit 1); exit 1; }; }
6294 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6315 # Extract the first word of "$ac_prog", so it can be a program name with args.
6316 set dummy $ac_prog; ac_word=$2
6317 echo "$as_me:$LINENO: checking for $ac_word" >&5
6318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6319 if test "${ac_cv_path_WC+set}" = set; then
6320 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $ensc_searchpath
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 if test -n "$WC"; then
6347 echo "$as_me:$LINENO: result: $WC" >&5
6348 echo "${ECHO_T}$WC" >&6
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6354 test -n "$WC" && break
6356 test -n "$WC" || WC="$ensc_dflt"
6359 if test -z "${WC}" && $rq; then
6361 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6362 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6363 { (exit 1); exit 1; }; }
6365 { { echo "$as_me:$LINENO: error:
6366 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6368 echo "$as_me: error:
6369 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6371 { (exit 1); exit 1; }; }
6375 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6398 # Extract the first word of "$ac_prog", so it can be a program name with args.
6399 set dummy $ac_prog; ac_word=$2
6400 echo "$as_me:$LINENO: checking for $ac_word" >&5
6401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6402 if test "${ac_cv_path_IP+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6407 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 for as_dir in $ensc_searchpath
6414 test -z "$as_dir" && as_dir=.
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6417 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 if test -n "$IP"; then
6430 echo "$as_me:$LINENO: result: $IP" >&5
6431 echo "${ECHO_T}$IP" >&6
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6437 test -n "$IP" && break
6439 test -n "$IP" || IP="$ensc_dflt"
6442 if test -z "${IP}" && $rq; then
6443 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6444 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6445 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6446 { (exit 1); exit 1; }; }
6448 { { echo "$as_me:$LINENO: error:
6449 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6450 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6451 echo "$as_me: error:
6452 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6453 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6454 { (exit 1); exit 1; }; }
6458 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6477 for ac_prog in iptables
6479 # Extract the first word of "$ac_prog", so it can be a program name with args.
6480 set dummy $ac_prog; ac_word=$2
6481 echo "$as_me:$LINENO: checking for $ac_word" >&5
6482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6483 if test "${ac_cv_path_IPTABLES+set}" = set; then
6484 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $ensc_searchpath
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 IPTABLES=$ac_cv_path_IPTABLES
6510 if test -n "$IPTABLES"; then
6511 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6512 echo "${ECHO_T}$IPTABLES" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6518 test -n "$IPTABLES" && break
6520 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6523 if test -z "${IPTABLES}" && $rq; then
6525 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6526 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6527 { (exit 1); exit 1; }; }
6529 { { echo "$as_me:$LINENO: error:
6530 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6532 echo "$as_me: error:
6533 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6535 { (exit 1); exit 1; }; }
6539 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6558 for ac_prog in modprobe
6560 # Extract the first word of "$ac_prog", so it can be a program name with args.
6561 set dummy $ac_prog; ac_word=$2
6562 echo "$as_me:$LINENO: checking for $ac_word" >&5
6563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6564 if test "${ac_cv_path_MODPROBE+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $ensc_searchpath
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 MODPROBE=$ac_cv_path_MODPROBE
6591 if test -n "$MODPROBE"; then
6592 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6593 echo "${ECHO_T}$MODPROBE" >&6
6595 echo "$as_me:$LINENO: result: no" >&5
6596 echo "${ECHO_T}no" >&6
6599 test -n "$MODPROBE" && break
6601 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6604 if test -z "${MODPROBE}" && $rq; then
6606 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6607 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6608 { (exit 1); exit 1; }; }
6610 { { echo "$as_me:$LINENO: error:
6611 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6613 echo "$as_me: error:
6614 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6616 { (exit 1); exit 1; }; }
6620 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6639 for ac_prog in nameif
6641 # Extract the first word of "$ac_prog", so it can be a program name with args.
6642 set dummy $ac_prog; ac_word=$2
6643 echo "$as_me:$LINENO: checking for $ac_word" >&5
6644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6645 if test "${ac_cv_path_NAMEIF+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6650 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $ensc_searchpath
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 NAMEIF=$ac_cv_path_NAMEIF
6672 if test -n "$NAMEIF"; then
6673 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6674 echo "${ECHO_T}$NAMEIF" >&6
6676 echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6
6680 test -n "$NAMEIF" && break
6682 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6685 if test -z "${NAMEIF}" && $rq; then
6687 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6688 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6689 { (exit 1); exit 1; }; }
6691 { { echo "$as_me:$LINENO: error:
6692 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6694 echo "$as_me: error:
6695 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6697 { (exit 1); exit 1; }; }
6701 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6720 for ac_prog in nohup
6722 # Extract the first word of "$ac_prog", so it can be a program name with args.
6723 set dummy $ac_prog; ac_word=$2
6724 echo "$as_me:$LINENO: checking for $ac_word" >&5
6725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6726 if test "${ac_cv_path_NOHUP+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6731 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $ensc_searchpath
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6741 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 NOHUP=$ac_cv_path_NOHUP
6753 if test -n "$NOHUP"; then
6754 echo "$as_me:$LINENO: result: $NOHUP" >&5
6755 echo "${ECHO_T}$NOHUP" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6761 test -n "$NOHUP" && break
6763 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6766 if test -z "${NOHUP}" && $rq; then
6768 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6769 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6770 { (exit 1); exit 1; }; }
6772 { { echo "$as_me:$LINENO: error:
6773 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6775 echo "$as_me: error:
6776 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6778 { (exit 1); exit 1; }; }
6782 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6801 for ac_prog in rmmod
6803 # Extract the first word of "$ac_prog", so it can be a program name with args.
6804 set dummy $ac_prog; ac_word=$2
6805 echo "$as_me:$LINENO: checking for $ac_word" >&5
6806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6807 if test "${ac_cv_path_RMMOD+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 for as_dir in $ensc_searchpath
6819 test -z "$as_dir" && as_dir=.
6820 for ac_exec_ext in '' $ac_executable_extensions; do
6821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6822 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6832 RMMOD=$ac_cv_path_RMMOD
6834 if test -n "$RMMOD"; then
6835 echo "$as_me:$LINENO: result: $RMMOD" >&5
6836 echo "${ECHO_T}$RMMOD" >&6
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6842 test -n "$RMMOD" && break
6844 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6847 if test -z "${RMMOD}" && $rq; then
6849 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6850 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6851 { (exit 1); exit 1; }; }
6853 { { echo "$as_me:$LINENO: error:
6854 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6856 echo "$as_me: error:
6857 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6859 { (exit 1); exit 1; }; }
6863 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
6882 for ac_prog in vconfig
6884 # Extract the first word of "$ac_prog", so it can be a program name with args.
6885 set dummy $ac_prog; ac_word=$2
6886 echo "$as_me:$LINENO: checking for $ac_word" >&5
6887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6888 if test "${ac_cv_path_VCONFIG+set}" = set; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 for as_dir in $ensc_searchpath
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
6904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 VCONFIG=$ac_cv_path_VCONFIG
6915 if test -n "$VCONFIG"; then
6916 echo "$as_me:$LINENO: result: $VCONFIG" >&5
6917 echo "${ECHO_T}$VCONFIG" >&6
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6923 test -n "$VCONFIG" && break
6925 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
6928 if test -z "${VCONFIG}" && $rq; then
6929 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
6930 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
6931 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6932 { (exit 1); exit 1; }; }
6934 { { echo "$as_me:$LINENO: error:
6935 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6936 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
6937 echo "$as_me: error:
6938 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6939 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
6940 { (exit 1); exit 1; }; }
6944 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
6965 # Extract the first word of "$ac_prog", so it can be a program name with args.
6966 set dummy $ac_prog; ac_word=$2
6967 echo "$as_me:$LINENO: checking for $ac_word" >&5
6968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6969 if test "${ac_cv_path_WGET+set}" = set; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $ensc_searchpath
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
6985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 WGET=$ac_cv_path_WGET
6996 if test -n "$WGET"; then
6997 echo "$as_me:$LINENO: result: $WGET" >&5
6998 echo "${ECHO_T}$WGET" >&6
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7004 test -n "$WGET" && break
7006 test -n "$WGET" || WGET="$ensc_dflt"
7009 if test -z "${WGET}" && $rq; then
7011 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
7012 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7013 { (exit 1); exit 1; }; }
7015 { { echo "$as_me:$LINENO: error:
7016 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7018 echo "$as_me: error:
7019 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
7021 { (exit 1); exit 1; }; }
7025 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
7033 if test -z ":"; then
7045 for ac_prog in doxygen
7047 # Extract the first word of "$ac_prog", so it can be a program name with args.
7048 set dummy $ac_prog; ac_word=$2
7049 echo "$as_me:$LINENO: checking for $ac_word" >&5
7050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7051 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7052 echo $ECHO_N "(cached) $ECHO_C" >&6
7056 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 for as_dir in $ensc_searchpath
7063 test -z "$as_dir" && as_dir=.
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 DOXYGEN=$ac_cv_path_DOXYGEN
7078 if test -n "$DOXYGEN"; then
7079 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7080 echo "${ECHO_T}$DOXYGEN" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7086 test -n "$DOXYGEN" && break
7088 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
7091 if test -z "${DOXYGEN}" && $rq; then
7093 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
7094 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7095 { (exit 1); exit 1; }; }
7097 { { echo "$as_me:$LINENO: error:
7098 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7100 echo "$as_me: error:
7101 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
7103 { (exit 1); exit 1; }; }
7107 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
7114 if test -z ":"; then
7126 for ac_prog in xsltp
7128 # Extract the first word of "$ac_prog", so it can be a program name with args.
7129 set dummy $ac_prog; ac_word=$2
7130 echo "$as_me:$LINENO: checking for $ac_word" >&5
7131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7132 if test "${ac_cv_path_XSLTP+set}" = set; then
7133 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 for as_dir in $ensc_searchpath
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
7148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 XSLTP=$ac_cv_path_XSLTP
7159 if test -n "$XSLTP"; then
7160 echo "$as_me:$LINENO: result: $XSLTP" >&5
7161 echo "${ECHO_T}$XSLTP" >&6
7163 echo "$as_me:$LINENO: result: no" >&5
7164 echo "${ECHO_T}no" >&6
7167 test -n "$XSLTP" && break
7169 test -n "$XSLTP" || XSLTP="$ensc_dflt"
7172 if test -z "${XSLTP}" && $rq; then
7174 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
7175 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7176 { (exit 1); exit 1; }; }
7178 { { echo "$as_me:$LINENO: error:
7179 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7181 echo "$as_me: error:
7182 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
7184 { (exit 1); exit 1; }; }
7188 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7195 if test -z ":"; then
7207 for ac_prog in xsltproc
7209 # Extract the first word of "$ac_prog", so it can be a program name with args.
7210 set dummy $ac_prog; ac_word=$2
7211 echo "$as_me:$LINENO: checking for $ac_word" >&5
7212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7213 if test "${ac_cv_path_XSLTPROC+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6
7218 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 for as_dir in $ensc_searchpath
7225 test -z "$as_dir" && as_dir=.
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7228 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 XSLTPROC=$ac_cv_path_XSLTPROC
7240 if test -n "$XSLTPROC"; then
7241 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7242 echo "${ECHO_T}$XSLTPROC" >&6
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7248 test -n "$XSLTPROC" && break
7250 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7253 if test -z "${XSLTPROC}" && $rq; then
7255 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7256 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7257 { (exit 1); exit 1; }; }
7259 { { echo "$as_me:$LINENO: error:
7260 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7262 echo "$as_me: error:
7263 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7265 { (exit 1); exit 1; }; }
7269 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7276 if test "$XSLTP" != ':'; then
7278 HAVE_XSLTP_FALSE='#'
7286 if test "$XSLTPROC" != ':'; then
7288 HAVE_XSLTPROC_FALSE='#'
7290 HAVE_XSLTPROC_TRUE='#'
7291 HAVE_XSLTPROC_FALSE=
7298 warn_flags="-Werror -W"
7299 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7300 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7302 ac_cpp='$CPP $CPPFLAGS'
7303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7307 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7308 CFLAGS="$warn_flags"
7309 cat >conftest.$ac_ext <<_ACEOF
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 inline static void f(){}
7324 rm -f conftest.$ac_objext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7326 (eval $ac_compile) 2>conftest.er1
7328 grep -v '^ *+' conftest.er1 >conftest.err
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try='test -z "$ac_c_werror_flag"
7334 || test ! -s conftest.err'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; } &&
7340 { ac_try='test -s conftest.$ac_objext'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; }; then
7346 ensc_sys_compilerwarnflags_C=${warn_flags}
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 ensc_sys_compilerwarnflags_C=
7353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7355 ac_cpp='$CPP $CPPFLAGS'
7356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7360 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7362 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
7363 echo "$as_me:$LINENO: result: no" >&5
7364 echo "${ECHO_T}no" >&6
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7374 echo 'void f(){}' > conftest.c
7375 for i in -std=c99 -Wall -pedantic -W
7377 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7378 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7379 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7381 CFLAGS="${CFLAGS} $i"
7382 echo "$as_me:$LINENO: result: yes" >&5
7383 echo "${ECHO_T}yes" >&6
7385 echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6
7389 rm -f conftest.c conftest.o
7393 warn_flags="-Werror -W"
7394 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
7395 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
7397 ac_cpp='$CXXCPP $CPPFLAGS'
7398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7402 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
7403 CXXFLAGS="$warn_flags"
7404 cat >conftest.$ac_ext <<_ACEOF
7407 cat confdefs.h >>conftest.$ac_ext
7408 cat >>conftest.$ac_ext <<_ACEOF
7409 /* end confdefs.h. */
7410 inline static void f(){}
7419 rm -f conftest.$ac_objext
7420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7421 (eval $ac_compile) 2>conftest.er1
7423 grep -v '^ *+' conftest.er1 >conftest.err
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } &&
7428 { ac_try='test -z "$ac_cxx_werror_flag"
7429 || test ! -s conftest.err'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; } &&
7435 { ac_try='test -s conftest.$ac_objext'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 ensc_sys_compilerwarnflags_CXX=${warn_flags}
7443 echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.$ac_ext >&5
7446 ensc_sys_compilerwarnflags_CXX=
7448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7450 ac_cpp='$CPP $CPPFLAGS'
7451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7455 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7457 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6
7469 echo 'void f(){}' > conftest.cc
7470 for i in -ansi -Wall -pedantic -W -fmessage-length=0
7472 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7473 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7474 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7476 CXXFLAGS="${CXXFLAGS} $i"
7477 echo "$as_me:$LINENO: result: yes" >&5
7478 echo "${ECHO_T}yes" >&6
7480 echo "$as_me:$LINENO: result: no" >&5
7481 echo "${ECHO_T}no" >&6
7484 rm -f conftest.cc conftest.o
7487 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
7488 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
7489 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
7490 if test "${enable_extra_optimizations+set}" = set; then
7491 enableval="$enable_extra_optimizations"
7492 case "$enableval" in
7493 (yes) use_extra_optimizations=1;;
7494 (no) use_extra_optimizations=;;
7495 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
7496 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
7497 { (exit 1); exit 1; }; };;
7500 use_extra_optimizations=1
7503 if test x"$use_extra_optimizations" = x; then
7504 echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7512 echo 'void f(){}' > conftest.c
7513 for i in -funit-at-a-time
7515 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7516 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7517 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7519 CFLAGS="${CFLAGS} $i"
7520 echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7527 rm -f conftest.c conftest.o
7532 echo 'void f(){}' > conftest.cc
7533 for i in -funit-at-a-time
7535 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7536 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7537 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7539 CXXFLAGS="${CXXFLAGS} $i"
7540 echo "$as_me:$LINENO: result: yes" >&5
7541 echo "${ECHO_T}yes" >&6
7543 echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6
7547 rm -f conftest.cc conftest.o
7551 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
7552 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
7553 # Check whether --enable-lib-debug or --disable-lib-debug was given.
7554 if test "${enable_lib_debug+set}" = set; then
7555 enableval="$enable_lib_debug"
7556 case "$enableval" in
7557 (yes) use_lib_debug=1;;
7558 (no) use_lib_debug=;;
7559 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
7560 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
7561 { (exit 1); exit 1; }; };;
7567 if test x"$use_lib_debug" = x; then
7568 LIB_DEBUG_CPPFLAGS=-DNDEBUG
7570 echo "$as_me:$LINENO: result: no" >&5
7571 echo "${ECHO_T}no" >&6
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
7579 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
7580 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
7581 if test "${enable_expensive_tests+set}" = set; then
7582 enableval="$enable_expensive_tests"
7583 case "$enableval" in
7584 (yes|no) use_expensive_tests=$enableval;;
7585 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&5
7586 echo "$as_me: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&2;}
7587 { (exit 1); exit 1; }; };;
7590 use_expensive_tests=yes
7592 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
7593 echo "${ECHO_T}$use_expensive_tests" >&6
7595 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
7600 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
7601 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
7602 echo "$as_me:$LINENO: result: " >&5
7603 echo "${ECHO_T}" >&6
7606 ac_cpp='$CPP $CPPFLAGS'
7607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7611 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
7612 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
7613 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 cat >conftest.$ac_ext <<_ACEOF
7619 cat confdefs.h >>conftest.$ac_ext
7620 cat >>conftest.$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7623 #include <linux/personality.h>
7629 #ifndef MMAP_PAGE_ZERO
7630 char *p = (char *) MMAP_PAGE_ZERO;
7637 rm -f conftest.$ac_objext
7638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7639 (eval $ac_compile) 2>conftest.er1
7641 grep -v '^ *+' conftest.er1 >conftest.err
7643 cat conftest.err >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); } &&
7646 { ac_try='test -z "$ac_c_werror_flag"
7647 || test ! -s conftest.err'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try='test -s conftest.$ac_objext'
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; }; then
7659 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.$ac_ext >&5
7664 ac_cv_have_decl_MMAP_PAGE_ZERO=no
7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7668 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
7669 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
7670 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_DECL_MMAP_PAGE_ZERO 1
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_DECL_MMAP_PAGE_ZERO 0
7684 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
7685 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
7686 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
7687 echo $ECHO_N "(cached) $ECHO_C" >&6
7689 cat >conftest.$ac_ext <<_ACEOF
7692 cat confdefs.h >>conftest.$ac_ext
7693 cat >>conftest.$ac_ext <<_ACEOF
7694 /* end confdefs.h. */
7696 #include <linux/personality.h>
7702 #ifndef ADDR_LIMIT_32BIT
7703 char *p = (char *) ADDR_LIMIT_32BIT;
7710 rm -f conftest.$ac_objext
7711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7712 (eval $ac_compile) 2>conftest.er1
7714 grep -v '^ *+' conftest.er1 >conftest.err
7716 cat conftest.err >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } &&
7719 { ac_try='test -z "$ac_c_werror_flag"
7720 || test ! -s conftest.err'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; } &&
7726 { ac_try='test -s conftest.$ac_objext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.$ac_ext >&5
7737 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
7739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7741 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
7742 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
7743 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
7751 cat >>confdefs.h <<_ACEOF
7752 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
7757 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
7758 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
7759 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 cat >conftest.$ac_ext <<_ACEOF
7765 cat confdefs.h >>conftest.$ac_ext
7766 cat >>conftest.$ac_ext <<_ACEOF
7767 /* end confdefs.h. */
7769 #include <linux/personality.h>
7776 char *p = (char *) SHORT_INODE;
7783 rm -f conftest.$ac_objext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7785 (eval $ac_compile) 2>conftest.er1
7787 grep -v '^ *+' conftest.er1 >conftest.err
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } &&
7792 { ac_try='test -z "$ac_c_werror_flag"
7793 || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try='test -s conftest.$ac_objext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7805 ac_cv_have_decl_SHORT_INODE=yes
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.$ac_ext >&5
7810 ac_cv_have_decl_SHORT_INODE=no
7812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7814 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
7815 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
7816 if test $ac_cv_have_decl_SHORT_INODE = yes; then
7818 cat >>confdefs.h <<_ACEOF
7819 #define HAVE_DECL_SHORT_INODE 1
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_DECL_SHORT_INODE 0
7830 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
7831 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
7832 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 cat >conftest.$ac_ext <<_ACEOF
7838 cat confdefs.h >>conftest.$ac_ext
7839 cat >>conftest.$ac_ext <<_ACEOF
7840 /* end confdefs.h. */
7842 #include <linux/personality.h>
7848 #ifndef WHOLE_SECONDS
7849 char *p = (char *) WHOLE_SECONDS;
7856 rm -f conftest.$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>conftest.er1
7860 grep -v '^ *+' conftest.er1 >conftest.err
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -z "$ac_c_werror_flag"
7866 || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 ac_cv_have_decl_WHOLE_SECONDS=yes
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 ac_cv_have_decl_WHOLE_SECONDS=no
7885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7887 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
7888 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
7889 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
7891 cat >>confdefs.h <<_ACEOF
7892 #define HAVE_DECL_WHOLE_SECONDS 1
7897 cat >>confdefs.h <<_ACEOF
7898 #define HAVE_DECL_WHOLE_SECONDS 0
7903 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
7904 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
7905 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
7906 echo $ECHO_N "(cached) $ECHO_C" >&6
7908 cat >conftest.$ac_ext <<_ACEOF
7911 cat confdefs.h >>conftest.$ac_ext
7912 cat >>conftest.$ac_ext <<_ACEOF
7913 /* end confdefs.h. */
7915 #include <linux/personality.h>
7921 #ifndef STICKY_TIMEOUTS
7922 char *p = (char *) STICKY_TIMEOUTS;
7929 rm -f conftest.$ac_objext
7930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7931 (eval $ac_compile) 2>conftest.er1
7933 grep -v '^ *+' conftest.er1 >conftest.err
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } &&
7938 { ac_try='test -z "$ac_c_werror_flag"
7939 || test ! -s conftest.err'
7940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); }; } &&
7945 { ac_try='test -s conftest.$ac_objext'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; }; then
7951 ac_cv_have_decl_STICKY_TIMEOUTS=yes
7953 echo "$as_me: failed program was:" >&5
7954 sed 's/^/| /' conftest.$ac_ext >&5
7956 ac_cv_have_decl_STICKY_TIMEOUTS=no
7958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7960 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
7961 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
7962 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
7964 cat >>confdefs.h <<_ACEOF
7965 #define HAVE_DECL_STICKY_TIMEOUTS 1
7970 cat >>confdefs.h <<_ACEOF
7971 #define HAVE_DECL_STICKY_TIMEOUTS 0
7976 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
7977 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
7978 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
7979 echo $ECHO_N "(cached) $ECHO_C" >&6
7981 cat >conftest.$ac_ext <<_ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7988 #include <linux/personality.h>
7994 #ifndef ADDR_LIMIT_3GB
7995 char *p = (char *) ADDR_LIMIT_3GB;
8002 rm -f conftest.$ac_objext
8003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8004 (eval $ac_compile) 2>conftest.er1
8006 grep -v '^ *+' conftest.er1 >conftest.err
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } &&
8011 { ac_try='test -z "$ac_c_werror_flag"
8012 || test ! -s conftest.err'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; } &&
8018 { ac_try='test -s conftest.$ac_objext'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; }; then
8024 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
8026 echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.$ac_ext >&5
8029 ac_cv_have_decl_ADDR_LIMIT_3GB=no
8031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8033 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
8034 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
8035 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
8037 cat >>confdefs.h <<_ACEOF
8038 #define HAVE_DECL_ADDR_LIMIT_3GB 1
8043 cat >>confdefs.h <<_ACEOF
8044 #define HAVE_DECL_ADDR_LIMIT_3GB 0
8052 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
8053 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
8054 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
8055 echo $ECHO_N "(cached) $ECHO_C" >&6
8057 cat >conftest.$ac_ext <<_ACEOF
8060 cat confdefs.h >>conftest.$ac_ext
8061 cat >>conftest.$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8064 #include <linux/personality.h>
8071 char *p = (char *) PER_LINUX;
8078 rm -f conftest.$ac_objext
8079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8080 (eval $ac_compile) 2>conftest.er1
8082 grep -v '^ *+' conftest.er1 >conftest.err
8084 cat conftest.err >&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); } &&
8087 { ac_try='test -z "$ac_c_werror_flag"
8088 || test ! -s conftest.err'
8089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); }; } &&
8094 { ac_try='test -s conftest.$ac_objext'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; }; then
8100 ac_cv_have_decl_PER_LINUX=yes
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.$ac_ext >&5
8105 ac_cv_have_decl_PER_LINUX=no
8107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8109 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
8110 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
8111 if test $ac_cv_have_decl_PER_LINUX = yes; then
8113 cat >>confdefs.h <<_ACEOF
8114 #define HAVE_DECL_PER_LINUX 1
8119 cat >>confdefs.h <<_ACEOF
8120 #define HAVE_DECL_PER_LINUX 0
8125 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
8126 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
8127 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 cat >conftest.$ac_ext <<_ACEOF
8133 cat confdefs.h >>conftest.$ac_ext
8134 cat >>conftest.$ac_ext <<_ACEOF
8135 /* end confdefs.h. */
8137 #include <linux/personality.h>
8143 #ifndef PER_LINUX_32BIT
8144 char *p = (char *) PER_LINUX_32BIT;
8151 rm -f conftest.$ac_objext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8153 (eval $ac_compile) 2>conftest.er1
8155 grep -v '^ *+' conftest.er1 >conftest.err
8157 cat conftest.err >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } &&
8160 { ac_try='test -z "$ac_c_werror_flag"
8161 || test ! -s conftest.err'
8162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); }; } &&
8167 { ac_try='test -s conftest.$ac_objext'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; }; then
8173 ac_cv_have_decl_PER_LINUX_32BIT=yes
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8178 ac_cv_have_decl_PER_LINUX_32BIT=no
8180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8182 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
8183 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
8184 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8186 cat >>confdefs.h <<_ACEOF
8187 #define HAVE_DECL_PER_LINUX_32BIT 1
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_DECL_PER_LINUX_32BIT 0
8198 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8199 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8200 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8201 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 cat >conftest.$ac_ext <<_ACEOF
8206 cat confdefs.h >>conftest.$ac_ext
8207 cat >>conftest.$ac_ext <<_ACEOF
8208 /* end confdefs.h. */
8210 #include <linux/personality.h>
8217 char *p = (char *) PER_SVR4;
8224 rm -f conftest.$ac_objext
8225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8226 (eval $ac_compile) 2>conftest.er1
8228 grep -v '^ *+' conftest.er1 >conftest.err
8230 cat conftest.err >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } &&
8233 { ac_try='test -z "$ac_c_werror_flag"
8234 || test ! -s conftest.err'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try='test -s conftest.$ac_objext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 ac_cv_have_decl_PER_SVR4=yes
8248 echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.$ac_ext >&5
8251 ac_cv_have_decl_PER_SVR4=no
8253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8255 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8256 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8257 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8259 cat >>confdefs.h <<_ACEOF
8260 #define HAVE_DECL_PER_SVR4 1
8265 cat >>confdefs.h <<_ACEOF
8266 #define HAVE_DECL_PER_SVR4 0
8271 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8272 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8273 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8274 echo $ECHO_N "(cached) $ECHO_C" >&6
8276 cat >conftest.$ac_ext <<_ACEOF
8279 cat confdefs.h >>conftest.$ac_ext
8280 cat >>conftest.$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8283 #include <linux/personality.h>
8290 char *p = (char *) PER_SVR3;
8297 rm -f conftest.$ac_objext
8298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8299 (eval $ac_compile) 2>conftest.er1
8301 grep -v '^ *+' conftest.er1 >conftest.err
8303 cat conftest.err >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } &&
8306 { ac_try='test -z "$ac_c_werror_flag"
8307 || test ! -s conftest.err'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; } &&
8313 { ac_try='test -s conftest.$ac_objext'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; }; then
8319 ac_cv_have_decl_PER_SVR3=yes
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 ac_cv_have_decl_PER_SVR3=no
8326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8328 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8329 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8330 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8332 cat >>confdefs.h <<_ACEOF
8333 #define HAVE_DECL_PER_SVR3 1
8338 cat >>confdefs.h <<_ACEOF
8339 #define HAVE_DECL_PER_SVR3 0
8344 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
8345 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
8346 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 cat >conftest.$ac_ext <<_ACEOF
8352 cat confdefs.h >>conftest.$ac_ext
8353 cat >>conftest.$ac_ext <<_ACEOF
8354 /* end confdefs.h. */
8356 #include <linux/personality.h>
8363 char *p = (char *) PER_SCOSVR3;
8370 rm -f conftest.$ac_objext
8371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8372 (eval $ac_compile) 2>conftest.er1
8374 grep -v '^ *+' conftest.er1 >conftest.err
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } &&
8379 { ac_try='test -z "$ac_c_werror_flag"
8380 || test ! -s conftest.err'
8381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); }; } &&
8386 { ac_try='test -s conftest.$ac_objext'
8387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); }; }; then
8392 ac_cv_have_decl_PER_SCOSVR3=yes
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_have_decl_PER_SCOSVR3=no
8399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8401 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
8402 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
8403 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
8405 cat >>confdefs.h <<_ACEOF
8406 #define HAVE_DECL_PER_SCOSVR3 1
8411 cat >>confdefs.h <<_ACEOF
8412 #define HAVE_DECL_PER_SCOSVR3 0
8417 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
8418 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
8419 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 cat >conftest.$ac_ext <<_ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8429 #include <linux/personality.h>
8436 char *p = (char *) PER_OSR5;
8443 rm -f conftest.$ac_objext
8444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8445 (eval $ac_compile) 2>conftest.er1
8447 grep -v '^ *+' conftest.er1 >conftest.err
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try='test -z "$ac_c_werror_flag"
8453 || test ! -s conftest.err'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; } &&
8459 { ac_try='test -s conftest.$ac_objext'
8460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 ac_cv_have_decl_PER_OSR5=yes
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 ac_cv_have_decl_PER_OSR5=no
8472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8474 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
8475 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
8476 if test $ac_cv_have_decl_PER_OSR5 = yes; then
8478 cat >>confdefs.h <<_ACEOF
8479 #define HAVE_DECL_PER_OSR5 1
8484 cat >>confdefs.h <<_ACEOF
8485 #define HAVE_DECL_PER_OSR5 0
8490 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
8491 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
8492 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 cat >conftest.$ac_ext <<_ACEOF
8498 cat confdefs.h >>conftest.$ac_ext
8499 cat >>conftest.$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8502 #include <linux/personality.h>
8508 #ifndef PER_WYSEV386
8509 char *p = (char *) PER_WYSEV386;
8516 rm -f conftest.$ac_objext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8518 (eval $ac_compile) 2>conftest.er1
8520 grep -v '^ *+' conftest.er1 >conftest.err
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try='test -z "$ac_c_werror_flag"
8526 || test ! -s conftest.err'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; } &&
8532 { ac_try='test -s conftest.$ac_objext'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; }; then
8538 ac_cv_have_decl_PER_WYSEV386=yes
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8543 ac_cv_have_decl_PER_WYSEV386=no
8545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8547 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
8548 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
8549 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
8551 cat >>confdefs.h <<_ACEOF
8552 #define HAVE_DECL_PER_WYSEV386 1
8557 cat >>confdefs.h <<_ACEOF
8558 #define HAVE_DECL_PER_WYSEV386 0
8563 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
8564 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
8565 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 cat >conftest.$ac_ext <<_ACEOF
8571 cat confdefs.h >>conftest.$ac_ext
8572 cat >>conftest.$ac_ext <<_ACEOF
8573 /* end confdefs.h. */
8575 #include <linux/personality.h>
8582 char *p = (char *) PER_ISCR4;
8589 rm -f conftest.$ac_objext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8591 (eval $ac_compile) 2>conftest.er1
8593 grep -v '^ *+' conftest.er1 >conftest.err
8595 cat conftest.err >&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try='test -z "$ac_c_werror_flag"
8599 || test ! -s conftest.err'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; } &&
8605 { ac_try='test -s conftest.$ac_objext'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; }; then
8611 ac_cv_have_decl_PER_ISCR4=yes
8613 echo "$as_me: failed program was:" >&5
8614 sed 's/^/| /' conftest.$ac_ext >&5
8616 ac_cv_have_decl_PER_ISCR4=no
8618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8620 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
8621 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
8622 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
8624 cat >>confdefs.h <<_ACEOF
8625 #define HAVE_DECL_PER_ISCR4 1
8630 cat >>confdefs.h <<_ACEOF
8631 #define HAVE_DECL_PER_ISCR4 0
8636 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
8637 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
8638 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
8639 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8648 #include <linux/personality.h>
8655 char *p = (char *) PER_BSD;
8662 rm -f conftest.$ac_objext
8663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8664 (eval $ac_compile) 2>conftest.er1
8666 grep -v '^ *+' conftest.er1 >conftest.err
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } &&
8671 { ac_try='test -z "$ac_c_werror_flag"
8672 || test ! -s conftest.err'
8673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); }; } &&
8678 { ac_try='test -s conftest.$ac_objext'
8679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); }; }; then
8684 ac_cv_have_decl_PER_BSD=yes
8686 echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.$ac_ext >&5
8689 ac_cv_have_decl_PER_BSD=no
8691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8693 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
8694 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
8695 if test $ac_cv_have_decl_PER_BSD = yes; then
8697 cat >>confdefs.h <<_ACEOF
8698 #define HAVE_DECL_PER_BSD 1
8703 cat >>confdefs.h <<_ACEOF
8704 #define HAVE_DECL_PER_BSD 0
8709 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
8710 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
8711 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 cat >conftest.$ac_ext <<_ACEOF
8717 cat confdefs.h >>conftest.$ac_ext
8718 cat >>conftest.$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8721 #include <linux/personality.h>
8728 char *p = (char *) PER_SUNOS;
8735 rm -f conftest.$ac_objext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8737 (eval $ac_compile) 2>conftest.er1
8739 grep -v '^ *+' conftest.er1 >conftest.err
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } &&
8744 { ac_try='test -z "$ac_c_werror_flag"
8745 || test ! -s conftest.err'
8746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); }; } &&
8751 { ac_try='test -s conftest.$ac_objext'
8752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); }; }; then
8757 ac_cv_have_decl_PER_SUNOS=yes
8759 echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8762 ac_cv_have_decl_PER_SUNOS=no
8764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8766 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
8767 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
8768 if test $ac_cv_have_decl_PER_SUNOS = yes; then
8770 cat >>confdefs.h <<_ACEOF
8771 #define HAVE_DECL_PER_SUNOS 1
8776 cat >>confdefs.h <<_ACEOF
8777 #define HAVE_DECL_PER_SUNOS 0
8782 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
8783 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
8784 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 cat >conftest.$ac_ext <<_ACEOF
8790 cat confdefs.h >>conftest.$ac_ext
8791 cat >>conftest.$ac_ext <<_ACEOF
8792 /* end confdefs.h. */
8794 #include <linux/personality.h>
8801 char *p = (char *) PER_XENIX;
8808 rm -f conftest.$ac_objext
8809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8810 (eval $ac_compile) 2>conftest.er1
8812 grep -v '^ *+' conftest.er1 >conftest.err
8814 cat conftest.err >&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } &&
8817 { ac_try='test -z "$ac_c_werror_flag"
8818 || test ! -s conftest.err'
8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }; } &&
8824 { ac_try='test -s conftest.$ac_objext'
8825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; }; then
8830 ac_cv_have_decl_PER_XENIX=yes
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.$ac_ext >&5
8835 ac_cv_have_decl_PER_XENIX=no
8837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8839 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
8840 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
8841 if test $ac_cv_have_decl_PER_XENIX = yes; then
8843 cat >>confdefs.h <<_ACEOF
8844 #define HAVE_DECL_PER_XENIX 1
8849 cat >>confdefs.h <<_ACEOF
8850 #define HAVE_DECL_PER_XENIX 0
8855 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
8856 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
8857 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
8858 echo $ECHO_N "(cached) $ECHO_C" >&6
8860 cat >conftest.$ac_ext <<_ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8867 #include <linux/personality.h>
8874 char *p = (char *) PER_LINUX32;
8881 rm -f conftest.$ac_objext
8882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8883 (eval $ac_compile) 2>conftest.er1
8885 grep -v '^ *+' conftest.er1 >conftest.err
8887 cat conftest.err >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try='test -z "$ac_c_werror_flag"
8891 || test ! -s conftest.err'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; } &&
8897 { ac_try='test -s conftest.$ac_objext'
8898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); }; }; then
8903 ac_cv_have_decl_PER_LINUX32=yes
8905 echo "$as_me: failed program was:" >&5
8906 sed 's/^/| /' conftest.$ac_ext >&5
8908 ac_cv_have_decl_PER_LINUX32=no
8910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8912 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
8913 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
8914 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
8916 cat >>confdefs.h <<_ACEOF
8917 #define HAVE_DECL_PER_LINUX32 1
8922 cat >>confdefs.h <<_ACEOF
8923 #define HAVE_DECL_PER_LINUX32 0
8928 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
8929 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
8930 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 cat >conftest.$ac_ext <<_ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8940 #include <linux/personality.h>
8946 #ifndef PER_LINUX32_3GB
8947 char *p = (char *) PER_LINUX32_3GB;
8954 rm -f conftest.$ac_objext
8955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8956 (eval $ac_compile) 2>conftest.er1
8958 grep -v '^ *+' conftest.er1 >conftest.err
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } &&
8963 { ac_try='test -z "$ac_c_werror_flag"
8964 || test ! -s conftest.err'
8965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); }; } &&
8970 { ac_try='test -s conftest.$ac_objext'
8971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); }; }; then
8976 ac_cv_have_decl_PER_LINUX32_3GB=yes
8978 echo "$as_me: failed program was:" >&5
8979 sed 's/^/| /' conftest.$ac_ext >&5
8981 ac_cv_have_decl_PER_LINUX32_3GB=no
8983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8985 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
8986 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
8987 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
8989 cat >>confdefs.h <<_ACEOF
8990 #define HAVE_DECL_PER_LINUX32_3GB 1
8995 cat >>confdefs.h <<_ACEOF
8996 #define HAVE_DECL_PER_LINUX32_3GB 0
9001 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
9002 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
9003 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9006 cat >conftest.$ac_ext <<_ACEOF
9009 cat confdefs.h >>conftest.$ac_ext
9010 cat >>conftest.$ac_ext <<_ACEOF
9011 /* end confdefs.h. */
9013 #include <linux/personality.h>
9020 char *p = (char *) PER_IRIX32;
9027 rm -f conftest.$ac_objext
9028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9029 (eval $ac_compile) 2>conftest.er1
9031 grep -v '^ *+' conftest.er1 >conftest.err
9033 cat conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 (exit $ac_status); } &&
9036 { ac_try='test -z "$ac_c_werror_flag"
9037 || test ! -s conftest.err'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; } &&
9043 { ac_try='test -s conftest.$ac_objext'
9044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); }; }; then
9049 ac_cv_have_decl_PER_IRIX32=yes
9051 echo "$as_me: failed program was:" >&5
9052 sed 's/^/| /' conftest.$ac_ext >&5
9054 ac_cv_have_decl_PER_IRIX32=no
9056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9058 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
9059 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
9060 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
9062 cat >>confdefs.h <<_ACEOF
9063 #define HAVE_DECL_PER_IRIX32 1
9068 cat >>confdefs.h <<_ACEOF
9069 #define HAVE_DECL_PER_IRIX32 0
9074 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
9075 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
9076 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 cat >conftest.$ac_ext <<_ACEOF
9082 cat confdefs.h >>conftest.$ac_ext
9083 cat >>conftest.$ac_ext <<_ACEOF
9084 /* end confdefs.h. */
9086 #include <linux/personality.h>
9093 char *p = (char *) PER_IRIXN32;
9100 rm -f conftest.$ac_objext
9101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9102 (eval $ac_compile) 2>conftest.er1
9104 grep -v '^ *+' conftest.er1 >conftest.err
9106 cat conftest.err >&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } &&
9109 { ac_try='test -z "$ac_c_werror_flag"
9110 || test ! -s conftest.err'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; } &&
9116 { ac_try='test -s conftest.$ac_objext'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; }; then
9122 ac_cv_have_decl_PER_IRIXN32=yes
9124 echo "$as_me: failed program was:" >&5
9125 sed 's/^/| /' conftest.$ac_ext >&5
9127 ac_cv_have_decl_PER_IRIXN32=no
9129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9131 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
9132 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
9133 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
9135 cat >>confdefs.h <<_ACEOF
9136 #define HAVE_DECL_PER_IRIXN32 1
9141 cat >>confdefs.h <<_ACEOF
9142 #define HAVE_DECL_PER_IRIXN32 0
9147 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
9148 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
9149 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 cat >conftest.$ac_ext <<_ACEOF
9155 cat confdefs.h >>conftest.$ac_ext
9156 cat >>conftest.$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9159 #include <linux/personality.h>
9166 char *p = (char *) PER_IRIX64;
9173 rm -f conftest.$ac_objext
9174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9175 (eval $ac_compile) 2>conftest.er1
9177 grep -v '^ *+' conftest.er1 >conftest.err
9179 cat conftest.err >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); } &&
9182 { ac_try='test -z "$ac_c_werror_flag"
9183 || test ! -s conftest.err'
9184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; } &&
9189 { ac_try='test -s conftest.$ac_objext'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; }; then
9195 ac_cv_have_decl_PER_IRIX64=yes
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9200 ac_cv_have_decl_PER_IRIX64=no
9202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9204 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9205 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9206 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9208 cat >>confdefs.h <<_ACEOF
9209 #define HAVE_DECL_PER_IRIX64 1
9214 cat >>confdefs.h <<_ACEOF
9215 #define HAVE_DECL_PER_IRIX64 0
9220 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9221 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9222 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9223 echo $ECHO_N "(cached) $ECHO_C" >&6
9225 cat >conftest.$ac_ext <<_ACEOF
9228 cat confdefs.h >>conftest.$ac_ext
9229 cat >>conftest.$ac_ext <<_ACEOF
9230 /* end confdefs.h. */
9232 #include <linux/personality.h>
9239 char *p = (char *) PER_RISCOS;
9246 rm -f conftest.$ac_objext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9248 (eval $ac_compile) 2>conftest.er1
9250 grep -v '^ *+' conftest.er1 >conftest.err
9252 cat conftest.err >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } &&
9255 { ac_try='test -z "$ac_c_werror_flag"
9256 || test ! -s conftest.err'
9257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); }; } &&
9262 { ac_try='test -s conftest.$ac_objext'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; }; then
9268 ac_cv_have_decl_PER_RISCOS=yes
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.$ac_ext >&5
9273 ac_cv_have_decl_PER_RISCOS=no
9275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9277 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9278 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9279 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9281 cat >>confdefs.h <<_ACEOF
9282 #define HAVE_DECL_PER_RISCOS 1
9287 cat >>confdefs.h <<_ACEOF
9288 #define HAVE_DECL_PER_RISCOS 0
9293 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9294 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9295 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 cat >conftest.$ac_ext <<_ACEOF
9301 cat confdefs.h >>conftest.$ac_ext
9302 cat >>conftest.$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9305 #include <linux/personality.h>
9312 char *p = (char *) PER_SOLARIS;
9319 rm -f conftest.$ac_objext
9320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9321 (eval $ac_compile) 2>conftest.er1
9323 grep -v '^ *+' conftest.er1 >conftest.err
9325 cat conftest.err >&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); } &&
9328 { ac_try='test -z "$ac_c_werror_flag"
9329 || test ! -s conftest.err'
9330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); }; } &&
9335 { ac_try='test -s conftest.$ac_objext'
9336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; }; then
9341 ac_cv_have_decl_PER_SOLARIS=yes
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9346 ac_cv_have_decl_PER_SOLARIS=no
9348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9350 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
9351 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
9352 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
9354 cat >>confdefs.h <<_ACEOF
9355 #define HAVE_DECL_PER_SOLARIS 1
9360 cat >>confdefs.h <<_ACEOF
9361 #define HAVE_DECL_PER_SOLARIS 0
9366 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
9367 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
9368 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 cat >conftest.$ac_ext <<_ACEOF
9374 cat confdefs.h >>conftest.$ac_ext
9375 cat >>conftest.$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9378 #include <linux/personality.h>
9385 char *p = (char *) PER_UW7;
9392 rm -f conftest.$ac_objext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9394 (eval $ac_compile) 2>conftest.er1
9396 grep -v '^ *+' conftest.er1 >conftest.err
9398 cat conftest.err >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); } &&
9401 { ac_try='test -z "$ac_c_werror_flag"
9402 || test ! -s conftest.err'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; } &&
9408 { ac_try='test -s conftest.$ac_objext'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; }; then
9414 ac_cv_have_decl_PER_UW7=yes
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9419 ac_cv_have_decl_PER_UW7=no
9421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9423 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
9424 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
9425 if test $ac_cv_have_decl_PER_UW7 = yes; then
9427 cat >>confdefs.h <<_ACEOF
9428 #define HAVE_DECL_PER_UW7 1
9433 cat >>confdefs.h <<_ACEOF
9434 #define HAVE_DECL_PER_UW7 0
9439 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
9440 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
9441 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
9442 echo $ECHO_N "(cached) $ECHO_C" >&6
9444 cat >conftest.$ac_ext <<_ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9451 #include <linux/personality.h>
9458 char *p = (char *) PER_HPUX;
9465 rm -f conftest.$ac_objext
9466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9467 (eval $ac_compile) 2>conftest.er1
9469 grep -v '^ *+' conftest.er1 >conftest.err
9471 cat conftest.err >&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } &&
9474 { ac_try='test -z "$ac_c_werror_flag"
9475 || test ! -s conftest.err'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try='test -s conftest.$ac_objext'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; }; then
9487 ac_cv_have_decl_PER_HPUX=yes
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.$ac_ext >&5
9492 ac_cv_have_decl_PER_HPUX=no
9494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9496 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
9497 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
9498 if test $ac_cv_have_decl_PER_HPUX = yes; then
9500 cat >>confdefs.h <<_ACEOF
9501 #define HAVE_DECL_PER_HPUX 1
9506 cat >>confdefs.h <<_ACEOF
9507 #define HAVE_DECL_PER_HPUX 0
9512 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
9513 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
9514 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 cat >conftest.$ac_ext <<_ACEOF
9520 cat confdefs.h >>conftest.$ac_ext
9521 cat >>conftest.$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9524 #include <linux/personality.h>
9531 char *p = (char *) PER_OSF4;
9538 rm -f conftest.$ac_objext
9539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9540 (eval $ac_compile) 2>conftest.er1
9542 grep -v '^ *+' conftest.er1 >conftest.err
9544 cat conftest.err >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } &&
9547 { ac_try='test -z "$ac_c_werror_flag"
9548 || test ! -s conftest.err'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; } &&
9554 { ac_try='test -s conftest.$ac_objext'
9555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; }; then
9560 ac_cv_have_decl_PER_OSF4=yes
9562 echo "$as_me: failed program was:" >&5
9563 sed 's/^/| /' conftest.$ac_ext >&5
9565 ac_cv_have_decl_PER_OSF4=no
9567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9569 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
9570 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
9571 if test $ac_cv_have_decl_PER_OSF4 = yes; then
9573 cat >>confdefs.h <<_ACEOF
9574 #define HAVE_DECL_PER_OSF4 1
9579 cat >>confdefs.h <<_ACEOF
9580 #define HAVE_DECL_PER_OSF4 0
9588 ac_cpp='$CPP $CPPFLAGS'
9589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9598 echo "$as_me:$LINENO: checking for initrddir" >&5
9599 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
9601 # Check whether --with-initrddir or --without-initrddir was given.
9602 if test "${with_initrddir+set}" = set; then
9603 withval="$with_initrddir"
9605 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
9606 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
9607 { (exit 1); exit 1; }; };;
9608 *) ensc_initrddir=$withval;;
9611 ensc_initrddir='$(sysconfdir)/init.d'
9614 if test "initrddir"; then
9615 initrddir=$ensc_initrddir
9619 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
9620 echo "${ECHO_T}$ensc_initrddir" >&6
9623 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
9624 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
9625 # Check whether --enable-release or --disable-release was given.
9626 if test "${enable_release+set}" = set; then
9627 enableval="$enable_release"
9628 case "$enableval" in
9629 yes) ensc_release_mode=yes;;
9630 no) ensc_release_mode=no;;
9631 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
9632 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
9633 { (exit 1); exit 1; }; };;
9636 ensc_release_mode=no
9639 if test x"$ensc_release_mode" = xno; then
9642 RELEASE_CPPFLAGS='-DNDEBUG'
9646 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
9647 echo "${ECHO_T}$ensc_release_mode" >&6
9652 (i*86|athlon) min_diet_ver=0.25;;
9653 (ia64|hppa*) min_diet_ver=0.29;;
9654 (*) min_diet_ver=0.28;;
9658 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
9659 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
9667 # Check whether --enable-dietlibc or --disable-dietlibc was given.
9668 if test "${enable_dietlibc+set}" = set; then
9669 enableval="$enable_dietlibc"
9670 case "$enableval" in
9671 (yes) use_dietlibc=forced;;
9672 (no) use_dietlibc=forced_no;;
9673 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
9674 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
9675 { (exit 1); exit 1; }; };;
9678 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
9681 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
9682 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
9683 _dietlibc_ver=${_dietlibc_ver##*diet version }
9684 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
9685 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
9686 _dietlibc_ver_min=${_dietlibc_ver##*.}
9687 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
9688 _dietlibc_cmp="$min_diet_ver"
9689 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
9690 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
9692 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
9694 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
9695 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
9697 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
9699 ENSC_VERSION_DIETLIBC=
9703 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
9704 ensc_have_dietlibc=no
9706 case x"$use_dietlibc" in
9712 USE_DIETLIBC_FALSE='#'
9714 USE_DIETLIBC_TRUE='#'
9718 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
9719 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
9720 ensc_have_dietlibc=yes
9727 USE_DIETLIBC_FALSE='#'
9729 USE_DIETLIBC_TRUE='#'
9733 echo "$as_me:$LINENO: result: yes (forced)" >&5
9734 echo "${ECHO_T}yes (forced)" >&6
9735 ensc_have_dietlibc=yes
9742 USE_DIETLIBC_FALSE='#'
9744 USE_DIETLIBC_TRUE='#'
9748 echo "$as_me:$LINENO: result: no (detected)" >&5
9749 echo "${ECHO_T}no (detected)" >&6
9756 USE_DIETLIBC_FALSE='#'
9758 USE_DIETLIBC_TRUE='#'
9762 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
9763 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
9770 USE_DIETLIBC_FALSE='#'
9772 USE_DIETLIBC_TRUE='#'
9776 echo "$as_me:$LINENO: result: no (forced)" >&5
9777 echo "${ECHO_T}no (forced)" >&6
9780 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
9781 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
9782 { (exit 1); exit 1; }; }
9786 if test x"$ensc_have_dietlibc" != xno; then
9791 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
9792 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
9793 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9797 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
9798 _ensc_dietlibc_c99_old_CC=$CC
9801 CC="${DIET:-diet} $CC"
9804 ac_cpp='$CPP $CPPFLAGS'
9805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9809 cat >conftest.$ac_ext <<_ACEOF
9812 rm -f conftest.$ac_objext
9813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9814 (eval $ac_compile) 2>conftest.er1
9816 grep -v '^ *+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } &&
9821 { ac_try='test -z "$ac_c_werror_flag"
9822 || test ! -s conftest.err'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try='test -s conftest.$ac_objext'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; }; then
9835 cat >conftest.$ac_ext <<_ACEOF
9838 #include <sys/cdefs.h>
9840 # error 'inline' badly defined
9842 volatile uint64_t a;
9845 rm -f conftest.$ac_objext
9846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9847 (eval $ac_compile) 2>conftest.er1
9849 grep -v '^ *+' conftest.er1 >conftest.err
9851 cat conftest.err >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } &&
9854 { ac_try='test -z "$ac_c_werror_flag"
9855 || test ! -s conftest.err'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; } &&
9861 { ac_try='test -s conftest.$ac_objext'
9862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; }; then
9867 ensc_cv_c_dietlibc_c99=yes
9869 echo "$as_me: failed program was:" >&5
9870 sed 's/^/| /' conftest.$ac_ext >&5
9872 ensc_cv_c_dietlibc_c99=no
9874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.$ac_ext >&5
9879 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
9881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9883 ac_cpp='$CPP $CPPFLAGS'
9884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9889 CC=$_ensc_dietlibc_c99_old_CC
9890 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
9893 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
9894 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
9896 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
9897 cat >>confdefs.h <<\_ACEOF
9898 #define ENSC_DIETLIBC_C99 1
9906 if test x"$ensc_have_dietlibc" = xno; then
9907 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9908 echo "$as_me: WARNING: *** ***" >&2;}
9909 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
9910 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
9911 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
9912 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
9913 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
9914 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
9915 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
9916 echo "$as_me: WARNING: *** there. ***" >&2;}
9917 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9918 echo "$as_me: WARNING: *** ***" >&2;}
9922 USE_DIETLIBC_COMPAT_TRUE=
9923 USE_DIETLIBC_COMPAT_FALSE='#'
9925 USE_DIETLIBC_COMPAT_TRUE='#'
9926 USE_DIETLIBC_COMPAT_FALSE=
9930 # HACK: libtool does not have cmdline options to build only
9931 # dynamic libraries; this can be done with the
9932 # '--disable-static' ./configure option only. As our static
9933 # libraries will be build with dietlibc, we have to do set
9934 # this option which is evaluated by 'AC_PROG_LIBTOOL'
9935 # below. Therefore, this macro must not be called earlier.
9942 if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
9943 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9944 echo "$as_me: WARNING: *** ***" >&2;}
9945 { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&5
9946 echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&2;}
9947 { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
9948 echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added ***" >&5
9950 echo "$as_me: WARNING: *** and lib/__nice.c added ***" >&2;}
9951 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9952 echo "$as_me: WARNING: *** ***" >&2;}
9956 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
9957 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
9958 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
9959 if test "${enable_alternative_syscalls+set}" = set; then
9960 enableval="$enable_alternative_syscalls"
9962 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
9963 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
9964 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
9965 { (exit 1); exit 1; }; };;
9968 ensc_use_alternative_syscall_macros=yes
9971 case $ensc_use_alternative_syscall_macros in
9973 cat >>confdefs.h <<\_ACEOF
9974 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
9979 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
9980 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
9985 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
9986 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
9987 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 ac_cpp='$CPP $CPPFLAGS'
9993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9997 ensc_dietlibc_need_compat_old_CC=$CC
9998 CC="${DIET:-diet} $CC"
9999 cat >conftest.$ac_ext <<_ACEOF
10003 cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10007 #include "$srcdir/lib/syscall-wrap.h"
10010 #define __NR_foo0 42
10011 #define __NR_foo1 42
10012 #define __NR_foo2 42
10013 #define __NR_foo3 42
10014 #define __NR_foo4 42
10015 #define __NR_foo5 42
10016 inline static _syscall0(int, foo0)
10017 inline static _syscall1(int, foo1, int, a)
10018 inline static _syscall2(int, foo2, int, a, int, b)
10019 inline static _syscall3(int, foo3, int, a, int, b, int, c)
10020 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
10021 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
10026 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
10031 rm -f conftest.$ac_objext conftest$ac_exeext
10032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10033 (eval $ac_link) 2>conftest.er1
10035 grep -v '^ *+' conftest.er1 >conftest.err
10037 cat conftest.err >&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); } &&
10040 { ac_try='test -z "$ac_c_werror_flag"
10041 || test ! -s conftest.err'
10042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10043 (eval $ac_try) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; } &&
10047 { ac_try='test -s conftest$ac_exeext'
10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10049 (eval $ac_try) 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; }; then
10053 ensc_cv_c_dietlibc_compat=no
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10058 ensc_cv_c_dietlibc_compat=yes
10060 rm -f conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 CC=$ensc_dietlibc_need_compat_old_CC
10064 ac_cpp='$CPP $CPPFLAGS'
10065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10071 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
10072 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
10074 if test x"USE_DIETLIBC_COMPAT" != x; then
10077 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
10078 USE_DIETLIBC_COMPAT_TRUE=
10079 USE_DIETLIBC_COMPAT_FALSE='#'
10081 USE_DIETLIBC_COMPAT_TRUE='#'
10082 USE_DIETLIBC_COMPAT_FALSE=
10091 if test x"$ensc_have_dietlibc" = xyes; then
10092 ENSC_USE_DIETLIBC_TRUE=
10093 ENSC_USE_DIETLIBC_FALSE='#'
10095 ENSC_USE_DIETLIBC_TRUE='#'
10096 ENSC_USE_DIETLIBC_FALSE=
10102 ENSC_USE_GLIBC_TRUE=
10103 ENSC_USE_GLIBC_FALSE='#'
10105 ENSC_USE_GLIBC_TRUE='#'
10106 ENSC_USE_GLIBC_FALSE=
10110 # HACK: see comments at 'enable_static' above
10111 # Check whether --enable-shared or --disable-shared was given.
10112 if test "${enable_shared+set}" = set; then
10113 enableval="$enable_shared"
10114 p=${PACKAGE-default}
10116 yes) enable_shared=yes ;;
10117 no) enable_shared=no ;;
10120 # Look at the argument we got. We use all the common list separators.
10121 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10122 for pkg in $enableval; do
10124 if test "X$pkg" = "X$p"; then
10135 # Check whether --enable-static or --disable-static was given.
10136 if test "${enable_static+set}" = set; then
10137 enableval="$enable_static"
10138 p=${PACKAGE-default}
10140 yes) enable_static=yes ;;
10141 no) enable_static=no ;;
10144 # Look at the argument we got. We use all the common list separators.
10145 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10146 for pkg in $enableval; do
10148 if test "X$pkg" = "X$p"; then
10159 # Check whether --enable-fast-install or --disable-fast-install was given.
10160 if test "${enable_fast_install+set}" = set; then
10161 enableval="$enable_fast_install"
10162 p=${PACKAGE-default}
10164 yes) enable_fast_install=yes ;;
10165 no) enable_fast_install=no ;;
10167 enable_fast_install=no
10168 # Look at the argument we got. We use all the common list separators.
10169 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10170 for pkg in $enableval; do
10172 if test "X$pkg" = "X$p"; then
10173 enable_fast_install=yes
10180 enable_fast_install=yes
10183 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
10184 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
10185 if test "${lt_cv_path_SED+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 # Loop through the user's path and test for sed and gsed.
10189 # Then use that list of sed's as ones to test for truncation.
10190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10191 for as_dir in $PATH
10194 test -z "$as_dir" && as_dir=.
10195 for lt_ac_prog in sed gsed; do
10196 for ac_exec_ext in '' $ac_executable_extensions; do
10197 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10198 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10205 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10206 # along with /bin/sed that truncates output.
10207 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10208 test ! -f $lt_ac_sed && continue
10209 cat /dev/null > conftest.in
10211 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10212 # Check for GNU sed and select it if it is found.
10213 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10214 lt_cv_path_SED=$lt_ac_sed
10218 cat conftest.in conftest.in >conftest.tmp
10219 mv conftest.tmp conftest.in
10220 cp conftest.in conftest.nl
10222 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10223 cmp -s conftest.out conftest.nl || break
10224 # 10000 chars as input seems more than enough
10225 test $lt_ac_count -gt 10 && break
10226 lt_ac_count=`expr $lt_ac_count + 1`
10227 if test $lt_ac_count -gt $lt_ac_max; then
10228 lt_ac_max=$lt_ac_count
10229 lt_cv_path_SED=$lt_ac_sed
10236 SED=$lt_cv_path_SED
10237 echo "$as_me:$LINENO: result: $SED" >&5
10238 echo "${ECHO_T}$SED" >&6
10240 echo "$as_me:$LINENO: checking for egrep" >&5
10241 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10242 if test "${ac_cv_prog_egrep+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10246 then ac_cv_prog_egrep='grep -E'
10247 else ac_cv_prog_egrep='egrep'
10250 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10251 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10252 EGREP=$ac_cv_prog_egrep
10256 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10257 if test "${with_gnu_ld+set}" = set; then
10258 withval="$with_gnu_ld"
10259 test "$withval" = no || with_gnu_ld=yes
10264 if test "$GCC" = yes; then
10265 # Check if gcc -print-prog-name=ld gives a path.
10266 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10267 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10270 # gcc leaves a trailing carriage return which upsets mingw
10271 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10273 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10276 # Accept absolute paths.
10278 re_direlt='/[^/][^/]*/\.\./'
10279 # Canonicalize the pathname of ld
10280 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10281 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10282 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10284 test -z "$LD" && LD="$ac_prog"
10287 # If it fails, then pretend we aren't using GCC.
10291 # If it is relative, then search for the first ld in PATH.
10292 with_gnu_ld=unknown
10295 elif test "$with_gnu_ld" = yes; then
10296 echo "$as_me:$LINENO: checking for GNU ld" >&5
10297 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10299 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10300 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10302 if test "${lt_cv_path_LD+set}" = set; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 if test -z "$LD"; then
10306 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10307 for ac_dir in $PATH; do
10309 test -z "$ac_dir" && ac_dir=.
10310 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10311 lt_cv_path_LD="$ac_dir/$ac_prog"
10312 # Check to see if the program is GNU ld. I'd rather use --version,
10313 # but apparently some GNU ld's only accept -v.
10314 # Break only if it was the GNU/non-GNU ld that we prefer.
10315 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10316 *GNU* | *'with BFD'*)
10317 test "$with_gnu_ld" != no && break
10320 test "$with_gnu_ld" != yes && break
10327 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10331 LD="$lt_cv_path_LD"
10332 if test -n "$LD"; then
10333 echo "$as_me:$LINENO: result: $LD" >&5
10334 echo "${ECHO_T}$LD" >&6
10336 echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6
10339 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10340 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10341 { (exit 1); exit 1; }; }
10342 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10343 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10344 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6
10347 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10348 case `$LD -v 2>&1 </dev/null` in
10349 *GNU* | *'with BFD'*)
10350 lt_cv_prog_gnu_ld=yes
10353 lt_cv_prog_gnu_ld=no
10357 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10358 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10359 with_gnu_ld=$lt_cv_prog_gnu_ld
10362 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10363 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10364 if test "${lt_cv_ld_reload_flag+set}" = set; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 lt_cv_ld_reload_flag='-r'
10369 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10370 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10371 reload_flag=$lt_cv_ld_reload_flag
10372 case $reload_flag in
10374 *) reload_flag=" $reload_flag" ;;
10376 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10379 if test "$GCC" = yes; then
10380 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
10382 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10387 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10388 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10389 if test "${lt_cv_path_NM+set}" = set; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 if test -n "$NM"; then
10393 # Let the user override the test.
10394 lt_cv_path_NM="$NM"
10396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10397 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10399 test -z "$ac_dir" && ac_dir=.
10400 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10401 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10402 # Check to see if the nm accepts a BSD-compat flag.
10403 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10404 # nm: unknown option "B" ignored
10405 # Tru64's nm complains that /dev/null is an invalid object file
10406 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10407 */dev/null* | *'Invalid file or object type'*)
10408 lt_cv_path_NM="$tmp_nm -B"
10412 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10414 lt_cv_path_NM="$tmp_nm -p"
10418 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10419 continue # so that we can try to find one that supports BSD flags
10426 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10429 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10430 echo "${ECHO_T}$lt_cv_path_NM" >&6
10431 NM="$lt_cv_path_NM"
10433 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10434 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10435 if test "${lt_cv_deplibs_check_method+set}" = set; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 lt_cv_file_magic_cmd='$MAGIC_CMD'
10439 lt_cv_file_magic_test_file=
10440 lt_cv_deplibs_check_method='unknown'
10441 # Need to set the preceding variable on all platforms that support
10442 # interlibrary dependencies.
10443 # 'none' -- dependencies not supported.
10444 # `unknown' -- same as none, but documents that we really don't know.
10445 # 'pass_all' -- all dependencies passed with no checks.
10446 # 'test_compile' -- check by making test program.
10447 # 'file_magic [[regex]]' -- check by looking for files in library path
10448 # which responds to the $file_magic_cmd with a given extended regex.
10449 # If you have `file' or equivalent on your system and you're not sure
10450 # whether `pass_all' will *always* work, you probably want this one.
10454 lt_cv_deplibs_check_method=pass_all
10458 lt_cv_deplibs_check_method=pass_all
10462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10463 lt_cv_file_magic_cmd='/usr/bin/file -L'
10464 lt_cv_file_magic_test_file=/shlib/libc.so
10468 # func_win32_libid is a shell function defined in ltmain.sh
10469 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10470 lt_cv_file_magic_cmd='func_win32_libid'
10474 # Base MSYS/MinGW do not provide the 'file' command needed by
10475 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10476 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10477 lt_cv_file_magic_cmd='$OBJDUMP -f'
10480 darwin* | rhapsody*)
10481 lt_cv_deplibs_check_method=pass_all
10484 freebsd* | kfreebsd*-gnu | dragonfly*)
10485 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10488 # Not sure whether the presence of OpenBSD here was a mistake.
10489 # Let's accept both of them until this is cleared up.
10490 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10491 lt_cv_file_magic_cmd=/usr/bin/file
10492 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10496 lt_cv_deplibs_check_method=pass_all
10501 lt_cv_deplibs_check_method=pass_all
10504 hpux10.20* | hpux11*)
10505 lt_cv_file_magic_cmd=/usr/bin/file
10506 case "$host_cpu" in
10508 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10509 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10512 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]'
10513 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10516 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10517 lt_cv_file_magic_test_file=/usr/lib/libc.sl
10522 irix5* | irix6* | nonstopux*)
10524 *-32|*"-32 ") libmagic=32-bit;;
10525 *-n32|*"-n32 ") libmagic=N32;;
10526 *-64|*"-64 ") libmagic=64-bit;;
10527 *) libmagic=never-match;;
10529 lt_cv_deplibs_check_method=pass_all
10532 # This must be Linux ELF.
10534 lt_cv_deplibs_check_method=pass_all
10538 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10539 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10541 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10546 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10547 lt_cv_file_magic_cmd=/usr/bin/file
10548 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10552 lt_cv_deplibs_check_method=unknown
10556 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10563 osf3* | osf4* | osf5*)
10564 lt_cv_deplibs_check_method=pass_all
10568 lt_cv_deplibs_check_method=pass_all
10572 lt_cv_deplibs_check_method=pass_all
10575 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10576 case $host_vendor in
10578 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]'
10579 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10582 lt_cv_deplibs_check_method=pass_all
10585 lt_cv_file_magic_cmd='/bin/file'
10586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10589 lt_cv_file_magic_cmd='/bin/file'
10590 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10591 lt_cv_file_magic_test_file=/lib/libc.so
10594 lt_cv_deplibs_check_method=pass_all
10599 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
10600 lt_cv_deplibs_check_method=pass_all
10605 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10606 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10607 file_magic_cmd=$lt_cv_file_magic_cmd
10608 deplibs_check_method=$lt_cv_deplibs_check_method
10609 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10614 # If no C compiler was specified, use CC.
10617 # Allow CC to be a program name with arguments.
10620 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10621 if test "${enable_libtool_lock+set}" = set; then
10622 enableval="$enable_libtool_lock"
10625 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10627 # Some flags need to be propagated to the compiler or linker for good
10631 # Find out which ABI we are using.
10632 echo 'int i;' > conftest.$ac_ext
10633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10634 (eval $ac_compile) 2>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); }; then
10638 case `/usr/bin/file conftest.$ac_objext` in
10640 HPUX_IA64_MODE="32"
10643 HPUX_IA64_MODE="64"
10650 # Find out which ABI we are using.
10651 echo '#line 10651 "configure"' > conftest.$ac_ext
10652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10653 (eval $ac_compile) 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; then
10657 if test "$lt_cv_prog_gnu_ld" = yes; then
10658 case `/usr/bin/file conftest.$ac_objext` in
10660 LD="${LD-ld} -melf32bsmip"
10663 LD="${LD-ld} -melf32bmipn32"
10666 LD="${LD-ld} -melf64bmip"
10670 case `/usr/bin/file conftest.$ac_objext` in
10686 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10687 # Find out which ABI we are using.
10688 echo 'int i;' > conftest.$ac_ext
10689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10690 (eval $ac_compile) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; then
10694 case "`/usr/bin/file conftest.o`" in
10698 LD="${LD-ld} -m elf_i386"
10700 ppc64-*linux*|powerpc64-*linux*)
10701 LD="${LD-ld} -m elf32ppclinux"
10704 LD="${LD-ld} -m elf_s390"
10707 LD="${LD-ld} -m elf32_sparc"
10714 LD="${LD-ld} -m elf_x86_64"
10716 ppc*-*linux*|powerpc*-*linux*)
10717 LD="${LD-ld} -m elf64ppc"
10720 LD="${LD-ld} -m elf64_s390"
10723 LD="${LD-ld} -m elf64_sparc"
10733 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10734 SAVE_CFLAGS="$CFLAGS"
10735 CFLAGS="$CFLAGS -belf"
10736 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10737 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10738 if test "${lt_cv_cc_needs_belf+set}" = set; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 ac_cpp='$CPP $CPPFLAGS'
10743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10747 cat >conftest.$ac_ext <<_ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10762 rm -f conftest.$ac_objext conftest$ac_exeext
10763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10764 (eval $ac_link) 2>conftest.er1
10766 grep -v '^ *+' conftest.er1 >conftest.err
10768 cat conftest.err >&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } &&
10771 { ac_try='test -z "$ac_c_werror_flag"
10772 || test ! -s conftest.err'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; } &&
10778 { ac_try='test -s conftest$ac_exeext'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; }; then
10784 lt_cv_cc_needs_belf=yes
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10789 lt_cv_cc_needs_belf=no
10791 rm -f conftest.err conftest.$ac_objext \
10792 conftest$ac_exeext conftest.$ac_ext
10794 ac_cpp='$CPP $CPPFLAGS'
10795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10800 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10801 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10802 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10803 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10804 CFLAGS="$SAVE_CFLAGS"
10810 need_locks="$enable_libtool_lock"
10814 ac_cpp='$CPP $CPPFLAGS'
10815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10818 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10819 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10820 # On Suns, sometimes $CPP names a directory.
10821 if test -n "$CPP" && test -d "$CPP"; then
10824 if test -z "$CPP"; then
10825 if test "${ac_cv_prog_CPP+set}" = set; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 # Double quotes because CPP needs to be expanded
10829 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10831 ac_preproc_ok=false
10832 for ac_c_preproc_warn_flag in '' yes
10834 # Use a header file that comes with gcc, so configuring glibc
10835 # with a fresh cross-compiler works.
10836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10837 # <limits.h> exists even on freestanding compilers.
10838 # On the NeXT, cc -E runs the code through the compiler's parser,
10839 # not just through cpp. "Syntax error" is here to catch this case.
10840 cat >conftest.$ac_ext <<_ACEOF
10843 cat confdefs.h >>conftest.$ac_ext
10844 cat >>conftest.$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10847 # include <limits.h>
10849 # include <assert.h>
10853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10856 grep -v '^ *+' conftest.er1 >conftest.err
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } >/dev/null; then
10861 if test -s conftest.err; then
10862 ac_cpp_err=$ac_c_preproc_warn_flag
10863 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10870 if test -z "$ac_cpp_err"; then
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.$ac_ext >&5
10876 # Broken: fails on valid input.
10879 rm -f conftest.err conftest.$ac_ext
10881 # OK, works on sane cases. Now check whether non-existent headers
10882 # can be detected and how.
10883 cat >conftest.$ac_ext <<_ACEOF
10886 cat confdefs.h >>conftest.$ac_ext
10887 cat >>conftest.$ac_ext <<_ACEOF
10888 /* end confdefs.h. */
10889 #include <ac_nonexistent.h>
10891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10892 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10894 grep -v '^ *+' conftest.er1 >conftest.err
10896 cat conftest.err >&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); } >/dev/null; then
10899 if test -s conftest.err; then
10900 ac_cpp_err=$ac_c_preproc_warn_flag
10901 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10908 if test -z "$ac_cpp_err"; then
10909 # Broken: success on invalid input.
10912 echo "$as_me: failed program was:" >&5
10913 sed 's/^/| /' conftest.$ac_ext >&5
10915 # Passes both tests.
10919 rm -f conftest.err conftest.$ac_ext
10922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10923 rm -f conftest.err conftest.$ac_ext
10924 if $ac_preproc_ok; then
10929 ac_cv_prog_CPP=$CPP
10932 CPP=$ac_cv_prog_CPP
10934 ac_cv_prog_CPP=$CPP
10936 echo "$as_me:$LINENO: result: $CPP" >&5
10937 echo "${ECHO_T}$CPP" >&6
10938 ac_preproc_ok=false
10939 for ac_c_preproc_warn_flag in '' yes
10941 # Use a header file that comes with gcc, so configuring glibc
10942 # with a fresh cross-compiler works.
10943 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10944 # <limits.h> exists even on freestanding compilers.
10945 # On the NeXT, cc -E runs the code through the compiler's parser,
10946 # not just through cpp. "Syntax error" is here to catch this case.
10947 cat >conftest.$ac_ext <<_ACEOF
10950 cat confdefs.h >>conftest.$ac_ext
10951 cat >>conftest.$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10954 # include <limits.h>
10956 # include <assert.h>
10960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10963 grep -v '^ *+' conftest.er1 >conftest.err
10965 cat conftest.err >&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); } >/dev/null; then
10968 if test -s conftest.err; then
10969 ac_cpp_err=$ac_c_preproc_warn_flag
10970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10977 if test -z "$ac_cpp_err"; then
10980 echo "$as_me: failed program was:" >&5
10981 sed 's/^/| /' conftest.$ac_ext >&5
10983 # Broken: fails on valid input.
10986 rm -f conftest.err conftest.$ac_ext
10988 # OK, works on sane cases. Now check whether non-existent headers
10989 # can be detected and how.
10990 cat >conftest.$ac_ext <<_ACEOF
10993 cat confdefs.h >>conftest.$ac_ext
10994 cat >>conftest.$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10996 #include <ac_nonexistent.h>
10998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11001 grep -v '^ *+' conftest.er1 >conftest.err
11003 cat conftest.err >&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); } >/dev/null; then
11006 if test -s conftest.err; then
11007 ac_cpp_err=$ac_c_preproc_warn_flag
11008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11015 if test -z "$ac_cpp_err"; then
11016 # Broken: success on invalid input.
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.$ac_ext >&5
11022 # Passes both tests.
11026 rm -f conftest.err conftest.$ac_ext
11029 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11030 rm -f conftest.err conftest.$ac_ext
11031 if $ac_preproc_ok; then
11034 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11035 See \`config.log' for more details." >&5
11036 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11037 See \`config.log' for more details." >&2;}
11038 { (exit 1); exit 1; }; }
11042 ac_cpp='$CPP $CPPFLAGS'
11043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11048 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11049 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11050 if test "${ac_cv_header_stdc+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 cat >conftest.$ac_ext <<_ACEOF
11056 cat confdefs.h >>conftest.$ac_ext
11057 cat >>conftest.$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11059 #include <stdlib.h>
11060 #include <stdarg.h>
11061 #include <string.h>
11072 rm -f conftest.$ac_objext
11073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11074 (eval $ac_compile) 2>conftest.er1
11076 grep -v '^ *+' conftest.er1 >conftest.err
11078 cat conftest.err >&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
11081 { ac_try='test -z "$ac_c_werror_flag"
11082 || test ! -s conftest.err'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; } &&
11088 { ac_try='test -s conftest.$ac_objext'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; }; then
11094 ac_cv_header_stdc=yes
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.$ac_ext >&5
11099 ac_cv_header_stdc=no
11101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11103 if test $ac_cv_header_stdc = yes; then
11104 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11105 cat >conftest.$ac_ext <<_ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111 #include <string.h>
11114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11115 $EGREP "memchr" >/dev/null 2>&1; then
11118 ac_cv_header_stdc=no
11124 if test $ac_cv_header_stdc = yes; then
11125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11126 cat >conftest.$ac_ext <<_ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 #include <stdlib.h>
11135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11136 $EGREP "free" >/dev/null 2>&1; then
11139 ac_cv_header_stdc=no
11145 if test $ac_cv_header_stdc = yes; then
11146 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11147 if test "$cross_compiling" = yes; then
11150 cat >conftest.$ac_ext <<_ACEOF
11153 cat confdefs.h >>conftest.$ac_ext
11154 cat >>conftest.$ac_ext <<_ACEOF
11155 /* end confdefs.h. */
11157 #if ((' ' & 0x0FF) == 0x020)
11158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11161 # define ISLOWER(c) \
11162 (('a' <= (c) && (c) <= 'i') \
11163 || ('j' <= (c) && (c) <= 'r') \
11164 || ('s' <= (c) && (c) <= 'z'))
11165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11173 for (i = 0; i < 256; i++)
11174 if (XOR (islower (i), ISLOWER (i))
11175 || toupper (i) != TOUPPER (i))
11180 rm -f conftest$ac_exeext
11181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11182 (eval $ac_link) 2>&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11193 echo "$as_me: program exited with status $ac_status" >&5
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.$ac_ext >&5
11197 ( exit $ac_status )
11198 ac_cv_header_stdc=no
11200 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11204 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11205 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11206 if test $ac_cv_header_stdc = yes; then
11208 cat >>confdefs.h <<\_ACEOF
11209 #define STDC_HEADERS 1
11214 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11224 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11225 inttypes.h stdint.h unistd.h
11227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 echo "$as_me:$LINENO: checking for $ac_header" >&5
11229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 cat >conftest.$ac_ext <<_ACEOF
11236 cat confdefs.h >>conftest.$ac_ext
11237 cat >>conftest.$ac_ext <<_ACEOF
11238 /* end confdefs.h. */
11239 $ac_includes_default
11241 #include <$ac_header>
11243 rm -f conftest.$ac_objext
11244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11245 (eval $ac_compile) 2>conftest.er1
11247 grep -v '^ *+' conftest.er1 >conftest.err
11249 cat conftest.err >&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } &&
11252 { ac_try='test -z "$ac_c_werror_flag"
11253 || test ! -s conftest.err'
11254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11255 (eval $ac_try) 2>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); }; } &&
11259 { ac_try='test -s conftest.$ac_objext'
11260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 (eval $ac_try) 2>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; }; then
11265 eval "$as_ac_Header=yes"
11267 echo "$as_me: failed program was:" >&5
11268 sed 's/^/| /' conftest.$ac_ext >&5
11270 eval "$as_ac_Header=no"
11272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11277 cat >>confdefs.h <<_ACEOF
11278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11287 for ac_header in dlfcn.h
11289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11291 echo "$as_me:$LINENO: checking for $ac_header" >&5
11292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11299 # Is the header compilable?
11300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11302 cat >conftest.$ac_ext <<_ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 $ac_includes_default
11309 #include <$ac_header>
11311 rm -f conftest.$ac_objext
11312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11313 (eval $ac_compile) 2>conftest.er1
11315 grep -v '^ *+' conftest.er1 >conftest.err
11317 cat conftest.err >&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } &&
11320 { ac_try='test -z "$ac_c_werror_flag"
11321 || test ! -s conftest.err'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; } &&
11327 { ac_try='test -s conftest.$ac_objext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_header_compiler=yes
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.$ac_ext >&5
11338 ac_header_compiler=no
11340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11342 echo "${ECHO_T}$ac_header_compiler" >&6
11344 # Is the header present?
11345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11347 cat >conftest.$ac_ext <<_ACEOF
11350 cat confdefs.h >>conftest.$ac_ext
11351 cat >>conftest.$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11353 #include <$ac_header>
11355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11358 grep -v '^ *+' conftest.er1 >conftest.err
11360 cat conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } >/dev/null; then
11363 if test -s conftest.err; then
11364 ac_cpp_err=$ac_c_preproc_warn_flag
11365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11372 if test -z "$ac_cpp_err"; then
11373 ac_header_preproc=yes
11375 echo "$as_me: failed program was:" >&5
11376 sed 's/^/| /' conftest.$ac_ext >&5
11378 ac_header_preproc=no
11380 rm -f conftest.err conftest.$ac_ext
11381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11382 echo "${ECHO_T}$ac_header_preproc" >&6
11384 # So? What about this header?
11385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11391 ac_header_preproc=yes
11394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11408 ## ------------------------------------------------------ ##
11409 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
11410 ## ------------------------------------------------------ ##
11413 sed "s/^/$as_me: WARNING: /" >&2
11416 echo "$as_me:$LINENO: checking for $ac_header" >&5
11417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 eval "$as_ac_Header=\$ac_header_preproc"
11423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11428 cat >>confdefs.h <<_ACEOF
11429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11438 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11439 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11440 (test "X$CXX" != "Xg++"))) ; then
11442 ac_cpp='$CXXCPP $CPPFLAGS'
11443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11446 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11447 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
11448 if test -z "$CXXCPP"; then
11449 if test "${ac_cv_prog_CXXCPP+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 # Double quotes because CXXCPP needs to be expanded
11453 for CXXCPP in "$CXX -E" "/lib/cpp"
11455 ac_preproc_ok=false
11456 for ac_cxx_preproc_warn_flag in '' yes
11458 # Use a header file that comes with gcc, so configuring glibc
11459 # with a fresh cross-compiler works.
11460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11461 # <limits.h> exists even on freestanding compilers.
11462 # On the NeXT, cc -E runs the code through the compiler's parser,
11463 # not just through cpp. "Syntax error" is here to catch this case.
11464 cat >conftest.$ac_ext <<_ACEOF
11467 cat confdefs.h >>conftest.$ac_ext
11468 cat >>conftest.$ac_ext <<_ACEOF
11469 /* end confdefs.h. */
11471 # include <limits.h>
11473 # include <assert.h>
11477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11478 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11480 grep -v '^ *+' conftest.er1 >conftest.err
11482 cat conftest.err >&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } >/dev/null; then
11485 if test -s conftest.err; then
11486 ac_cpp_err=$ac_cxx_preproc_warn_flag
11487 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11494 if test -z "$ac_cpp_err"; then
11497 echo "$as_me: failed program was:" >&5
11498 sed 's/^/| /' conftest.$ac_ext >&5
11500 # Broken: fails on valid input.
11503 rm -f conftest.err conftest.$ac_ext
11505 # OK, works on sane cases. Now check whether non-existent headers
11506 # can be detected and how.
11507 cat >conftest.$ac_ext <<_ACEOF
11510 cat confdefs.h >>conftest.$ac_ext
11511 cat >>conftest.$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11513 #include <ac_nonexistent.h>
11515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11518 grep -v '^ *+' conftest.er1 >conftest.err
11520 cat conftest.err >&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } >/dev/null; then
11523 if test -s conftest.err; then
11524 ac_cpp_err=$ac_cxx_preproc_warn_flag
11525 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11532 if test -z "$ac_cpp_err"; then
11533 # Broken: success on invalid input.
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11539 # Passes both tests.
11543 rm -f conftest.err conftest.$ac_ext
11546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11547 rm -f conftest.err conftest.$ac_ext
11548 if $ac_preproc_ok; then
11553 ac_cv_prog_CXXCPP=$CXXCPP
11556 CXXCPP=$ac_cv_prog_CXXCPP
11558 ac_cv_prog_CXXCPP=$CXXCPP
11560 echo "$as_me:$LINENO: result: $CXXCPP" >&5
11561 echo "${ECHO_T}$CXXCPP" >&6
11562 ac_preproc_ok=false
11563 for ac_cxx_preproc_warn_flag in '' yes
11565 # Use a header file that comes with gcc, so configuring glibc
11566 # with a fresh cross-compiler works.
11567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11568 # <limits.h> exists even on freestanding compilers.
11569 # On the NeXT, cc -E runs the code through the compiler's parser,
11570 # not just through cpp. "Syntax error" is here to catch this case.
11571 cat >conftest.$ac_ext <<_ACEOF
11574 cat confdefs.h >>conftest.$ac_ext
11575 cat >>conftest.$ac_ext <<_ACEOF
11576 /* end confdefs.h. */
11578 # include <limits.h>
11580 # include <assert.h>
11584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11587 grep -v '^ *+' conftest.er1 >conftest.err
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } >/dev/null; then
11592 if test -s conftest.err; then
11593 ac_cpp_err=$ac_cxx_preproc_warn_flag
11594 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11601 if test -z "$ac_cpp_err"; then
11604 echo "$as_me: failed program was:" >&5
11605 sed 's/^/| /' conftest.$ac_ext >&5
11607 # Broken: fails on valid input.
11610 rm -f conftest.err conftest.$ac_ext
11612 # OK, works on sane cases. Now check whether non-existent headers
11613 # can be detected and how.
11614 cat >conftest.$ac_ext <<_ACEOF
11617 cat confdefs.h >>conftest.$ac_ext
11618 cat >>conftest.$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11620 #include <ac_nonexistent.h>
11622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11625 grep -v '^ *+' conftest.er1 >conftest.err
11627 cat conftest.err >&5
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); } >/dev/null; then
11630 if test -s conftest.err; then
11631 ac_cpp_err=$ac_cxx_preproc_warn_flag
11632 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11639 if test -z "$ac_cpp_err"; then
11640 # Broken: success on invalid input.
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11646 # Passes both tests.
11650 rm -f conftest.err conftest.$ac_ext
11653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11654 rm -f conftest.err conftest.$ac_ext
11655 if $ac_preproc_ok; then
11658 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11659 See \`config.log' for more details." >&5
11660 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11661 See \`config.log' for more details." >&2;}
11662 { (exit 1); exit 1; }; }
11666 ac_cpp='$CXXCPP $CPPFLAGS'
11667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11674 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11675 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11676 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11677 if test -n "$ac_tool_prefix"; then
11678 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11682 echo "$as_me:$LINENO: checking for $ac_word" >&5
11683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11684 if test "${ac_cv_prog_F77+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 if test -n "$F77"; then
11688 ac_cv_prog_F77="$F77" # Let the user override the test.
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 for as_dir in $PATH
11694 test -z "$as_dir" && as_dir=.
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11706 F77=$ac_cv_prog_F77
11707 if test -n "$F77"; then
11708 echo "$as_me:$LINENO: result: $F77" >&5
11709 echo "${ECHO_T}$F77" >&6
11711 echo "$as_me:$LINENO: result: no" >&5
11712 echo "${ECHO_T}no" >&6
11715 test -n "$F77" && break
11718 if test -z "$F77"; then
11720 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11722 # Extract the first word of "$ac_prog", so it can be a program name with args.
11723 set dummy $ac_prog; ac_word=$2
11724 echo "$as_me:$LINENO: checking for $ac_word" >&5
11725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11726 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 if test -n "$ac_ct_F77"; then
11730 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11739 ac_cv_prog_ac_ct_F77="$ac_prog"
11740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 ac_ct_F77=$ac_cv_prog_ac_ct_F77
11749 if test -n "$ac_ct_F77"; then
11750 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11751 echo "${ECHO_T}$ac_ct_F77" >&6
11753 echo "$as_me:$LINENO: result: no" >&5
11754 echo "${ECHO_T}no" >&6
11757 test -n "$ac_ct_F77" && break
11764 # Provide some information about the compiler.
11765 echo "$as_me:11765:" \
11766 "checking for Fortran 77 compiler version" >&5
11767 ac_compiler=`set X $ac_compile; echo $2`
11768 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11769 (eval $ac_compiler --version </dev/null >&5) 2>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }
11773 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11774 (eval $ac_compiler -v </dev/null >&5) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }
11778 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11779 (eval $ac_compiler -V </dev/null >&5) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }
11785 # If we don't use `.F' as extension, the preprocessor is not run on the
11786 # input file. (Note that this only needs to work for GNU compilers.)
11787 ac_save_ext=$ac_ext
11789 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11790 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
11791 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 cat >conftest.$ac_ext <<_ACEOF
11802 rm -f conftest.$ac_objext
11803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11804 (eval $ac_compile) 2>conftest.er1
11806 grep -v '^ *+' conftest.er1 >conftest.err
11808 cat conftest.err >&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); } &&
11811 { ac_try='test -z "$ac_f77_werror_flag"
11812 || test ! -s conftest.err'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; } &&
11818 { ac_try='test -s conftest.$ac_objext'
11819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11820 (eval $ac_try) 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; }; then
11824 ac_compiler_gnu=yes
11826 echo "$as_me: failed program was:" >&5
11827 sed 's/^/| /' conftest.$ac_ext >&5
11831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11832 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11835 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11836 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
11837 ac_ext=$ac_save_ext
11838 ac_test_FFLAGS=${FFLAGS+set}
11839 ac_save_FFLAGS=$FFLAGS
11841 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11842 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
11843 if test "${ac_cv_prog_f77_g+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 cat >conftest.$ac_ext <<_ACEOF
11852 rm -f conftest.$ac_objext
11853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11854 (eval $ac_compile) 2>conftest.er1
11856 grep -v '^ *+' conftest.er1 >conftest.err
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } &&
11861 { ac_try='test -z "$ac_f77_werror_flag"
11862 || test ! -s conftest.err'
11863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11864 (eval $ac_try) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); }; } &&
11868 { ac_try='test -s conftest.$ac_objext'
11869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; }; then
11874 ac_cv_prog_f77_g=yes
11876 echo "$as_me: failed program was:" >&5
11877 sed 's/^/| /' conftest.$ac_ext >&5
11879 ac_cv_prog_f77_g=no
11881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11884 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11885 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
11886 if test "$ac_test_FFLAGS" = set; then
11887 FFLAGS=$ac_save_FFLAGS
11888 elif test $ac_cv_prog_f77_g = yes; then
11889 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11895 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11902 G77=`test $ac_compiler_gnu = yes && echo yes`
11904 ac_cpp='$CPP $CPPFLAGS'
11905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11911 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11913 # find the maximum length of command line arguments
11914 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11915 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
11916 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 # On DJGPP, this test can blow up pretty badly due to problems in libc
11925 # (any single argument exceeding 2000 bytes causes a buffer overrun
11926 # during glob expansion). Even if it were fixed, the result of this
11927 # check would be larger than it should be.
11928 lt_cv_sys_max_cmd_len=12288; # 12K is about right
11932 # Under GNU Hurd, this test is not required because there is
11933 # no limit to the length of command line arguments.
11934 # Libtool will interpret -1 as no limit whatsoever
11935 lt_cv_sys_max_cmd_len=-1;
11939 # On Win9x/ME, this test blows up -- it succeeds, but takes
11940 # about 5 minutes as the teststring grows exponentially.
11941 # Worse, since 9x/ME are not pre-emptively multitasking,
11942 # you end up with a "frozen" computer, even though with patience
11943 # the test eventually succeeds (with a max line length of 256k).
11944 # Instead, let's just punt: use the minimum linelength reported by
11945 # all of the supported platforms: 8192 (on NT/2K/XP).
11946 lt_cv_sys_max_cmd_len=8192;
11950 # On AmigaOS with pdksh, this test takes hours, literally.
11951 # So we just punt and use a minimum line length of 8192.
11952 lt_cv_sys_max_cmd_len=8192;
11955 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
11956 # This has been around since 386BSD, at least. Likely further.
11957 if test -x /sbin/sysctl; then
11958 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
11959 elif test -x /usr/sbin/sysctl; then
11960 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
11962 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
11964 # And add a safety zone
11965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
11966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
11969 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
11970 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
11971 # nice to cause kernel panics so lets avoid the loop below.
11972 # First set a reasonable default.
11973 lt_cv_sys_max_cmd_len=16384
11975 if test -x /sbin/sysconfig; then
11976 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
11977 *1*) lt_cv_sys_max_cmd_len=-1 ;;
11982 # If test is not a shell built-in, we'll probably end up computing a
11983 # maximum length that is only half of the actual maximum length, but
11985 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
11986 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
11987 = "XX$teststring") >/dev/null 2>&1 &&
11988 new_result=`expr "X$teststring" : ".*" 2>&1` &&
11989 lt_cv_sys_max_cmd_len=$new_result &&
11990 test $i != 17 # 1/2 MB should be enough
11993 teststring=$teststring$teststring
11996 # Add a significant safety factor because C++ compilers can tack on massive
11997 # amounts of additional arguments before passing them to the linker.
11998 # It appears as though 1/2 is a usable value.
11999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12005 if test -n $lt_cv_sys_max_cmd_len ; then
12006 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12007 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
12009 echo "$as_me:$LINENO: result: none" >&5
12010 echo "${ECHO_T}none" >&6
12016 # Check for command to grab the raw symbol name followed by C symbol from nm.
12017 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
12018 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
12019 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
12020 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 # These are sane defaults that work on at least a few old systems.
12024 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
12026 # Character class describing NM global symbol codes.
12027 symcode='[BCDEGRST]'
12029 # Regexp to match symbols that can be accessed directly from C.
12030 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
12032 # Transform an extracted symbol line into a proper C declaration
12033 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
12035 # Transform an extracted symbol line into symbol name and symbol address
12036 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'"
12038 # Define system-specific variables.
12043 cygwin* | mingw* | pw32*)
12044 symcode='[ABCDGISTW]'
12046 hpux*) # Its linker distinguishes data from code symbols
12047 if test "$host_cpu" = ia64; then
12048 symcode='[ABCDEGRST]'
12050 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12051 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'"
12054 if test "$host_cpu" = ia64; then
12055 symcode='[ABCDGIRSTW]'
12056 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12057 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'"
12060 irix* | nonstopux*)
12061 symcode='[BCDEGRST]'
12064 symcode='[BCDEGQRST]'
12074 # Handle CRLF in mingw tool chain
12078 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
12082 # If we're using GNU nm, then use its standard symbol codes.
12083 case `$NM -V 2>&1` in
12084 *GNU* | *'with BFD'*)
12085 symcode='[ABCDGIRSTW]' ;;
12088 # Try without a prefix undercore, then with it.
12089 for ac_symprfx in "" "_"; do
12091 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
12092 symxfrm="\\1 $ac_symprfx\\2 \\2"
12094 # Write the raw and C identifiers.
12095 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
12097 # Check to see that the pipe works correctly.
12101 cat > conftest.$ac_ext <<EOF
12106 void nm_test_func(){}
12110 int main(){nm_test_var='a';nm_test_func();return(0);}
12113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12114 (eval $ac_compile) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; then
12118 # Now try to grab the symbols.
12120 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
12121 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); } && test -s "$nlist"; then
12125 # Try sorting and uniquifying the output.
12126 if sort "$nlist" | uniq > "$nlist"T; then
12127 mv -f "$nlist"T "$nlist"
12132 # Make sure that we snagged all the symbols we need.
12133 if grep ' nm_test_var$' "$nlist" >/dev/null; then
12134 if grep ' nm_test_func$' "$nlist" >/dev/null; then
12135 cat <<EOF > conftest.$ac_ext
12141 # Now generate the symbol file.
12142 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
12144 cat <<EOF >> conftest.$ac_ext
12145 #if defined (__STDC__) && __STDC__
12146 # define lt_ptr_t void *
12148 # define lt_ptr_t char *
12152 /* The mapping between symbol names and symbols. */
12157 lt_preloaded_symbols[] =
12160 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
12161 cat <<\EOF >> conftest.$ac_ext
12169 # Now try linking the two files.
12170 mv conftest.$ac_objext conftstm.$ac_objext
12171 lt_save_LIBS="$LIBS"
12172 lt_save_CFLAGS="$CFLAGS"
12173 LIBS="conftstm.$ac_objext"
12174 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12176 (eval $ac_link) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && test -s conftest${ac_exeext}; then
12182 LIBS="$lt_save_LIBS"
12183 CFLAGS="$lt_save_CFLAGS"
12185 echo "cannot find nm_test_func in $nlist" >&5
12188 echo "cannot find nm_test_var in $nlist" >&5
12191 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12194 echo "$progname: failed program was:" >&5
12195 cat conftest.$ac_ext >&5
12197 rm -f conftest* conftst*
12199 # Do not use the global_symbol_pipe unless it works.
12200 if test "$pipe_works" = yes; then
12203 lt_cv_sys_global_symbol_pipe=
12209 if test -z "$lt_cv_sys_global_symbol_pipe"; then
12210 lt_cv_sys_global_symbol_to_cdecl=
12212 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12213 echo "$as_me:$LINENO: result: failed" >&5
12214 echo "${ECHO_T}failed" >&6
12216 echo "$as_me:$LINENO: result: ok" >&5
12217 echo "${ECHO_T}ok" >&6
12220 echo "$as_me:$LINENO: checking for objdir" >&5
12221 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12222 if test "${lt_cv_objdir+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 rm -f .libs 2>/dev/null
12226 mkdir .libs 2>/dev/null
12227 if test -d .libs; then
12230 # MS-DOS does not allow filenames that begin with a dot.
12233 rmdir .libs 2>/dev/null
12235 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12236 echo "${ECHO_T}$lt_cv_objdir" >&6
12237 objdir=$lt_cv_objdir
12245 # AIX sometimes has problems with the GCC collect2 program. For some
12246 # reason, if we set the COLLECT_NAMES environment variable, the problems
12247 # vanish in a puff of smoke.
12248 if test "X${COLLECT_NAMES+set}" != Xset; then
12250 export COLLECT_NAMES
12255 # Sed substitution that helps us do robust quoting. It backslashifies
12256 # metacharacters that are still active within double-quoted strings.
12257 Xsed='sed -e 1s/^X//'
12258 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12260 # Same as above, but do not quote variable references.
12261 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12263 # Sed substitution to delay expansion of an escaped shell variable in a
12264 # double_quote_subst'ed string.
12265 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12267 # Sed substitution to avoid accidental globbing in evaled expressions
12268 no_glob_subst='s/\*/\\\*/g'
12273 # Global variables:
12274 default_ofile=libtool
12275 can_build_shared=yes
12277 # All known linkers require a `.a' archive for static linking (except M$VC,
12278 # which needs '.lib').
12280 ltmain="$ac_aux_dir/ltmain.sh"
12281 ofile="$default_ofile"
12282 with_gnu_ld="$lt_cv_prog_gnu_ld"
12284 if test -n "$ac_tool_prefix"; then
12285 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12286 set dummy ${ac_tool_prefix}ar; ac_word=$2
12287 echo "$as_me:$LINENO: checking for $ac_word" >&5
12288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12289 if test "${ac_cv_prog_AR+set}" = set; then
12290 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 if test -n "$AR"; then
12293 ac_cv_prog_AR="$AR" # Let the user override the test.
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12299 test -z "$as_dir" && as_dir=.
12300 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 ac_cv_prog_AR="${ac_tool_prefix}ar"
12303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12312 if test -n "$AR"; then
12313 echo "$as_me:$LINENO: result: $AR" >&5
12314 echo "${ECHO_T}$AR" >&6
12316 echo "$as_me:$LINENO: result: no" >&5
12317 echo "${ECHO_T}no" >&6
12321 if test -z "$ac_cv_prog_AR"; then
12323 # Extract the first word of "ar", so it can be a program name with args.
12324 set dummy ar; ac_word=$2
12325 echo "$as_me:$LINENO: checking for $ac_word" >&5
12326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12327 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12330 if test -n "$ac_ct_AR"; then
12331 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12334 for as_dir in $PATH
12337 test -z "$as_dir" && as_dir=.
12338 for ac_exec_ext in '' $ac_executable_extensions; do
12339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12340 ac_cv_prog_ac_ct_AR="ar"
12341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12347 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
12350 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12351 if test -n "$ac_ct_AR"; then
12352 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12353 echo "${ECHO_T}$ac_ct_AR" >&6
12355 echo "$as_me:$LINENO: result: no" >&5
12356 echo "${ECHO_T}no" >&6
12361 AR="$ac_cv_prog_AR"
12364 if test -n "$ac_tool_prefix"; then
12365 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12366 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12367 echo "$as_me:$LINENO: checking for $ac_word" >&5
12368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12369 if test "${ac_cv_prog_RANLIB+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12372 if test -n "$RANLIB"; then
12373 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12376 for as_dir in $PATH
12379 test -z "$as_dir" && as_dir=.
12380 for ac_exec_ext in '' $ac_executable_extensions; do
12381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12382 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12391 RANLIB=$ac_cv_prog_RANLIB
12392 if test -n "$RANLIB"; then
12393 echo "$as_me:$LINENO: result: $RANLIB" >&5
12394 echo "${ECHO_T}$RANLIB" >&6
12396 echo "$as_me:$LINENO: result: no" >&5
12397 echo "${ECHO_T}no" >&6
12401 if test -z "$ac_cv_prog_RANLIB"; then
12402 ac_ct_RANLIB=$RANLIB
12403 # Extract the first word of "ranlib", so it can be a program name with args.
12404 set dummy ranlib; ac_word=$2
12405 echo "$as_me:$LINENO: checking for $ac_word" >&5
12406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12407 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 if test -n "$ac_ct_RANLIB"; then
12411 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12414 for as_dir in $PATH
12417 test -z "$as_dir" && as_dir=.
12418 for ac_exec_ext in '' $ac_executable_extensions; do
12419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12420 ac_cv_prog_ac_ct_RANLIB="ranlib"
12421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12427 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12430 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12431 if test -n "$ac_ct_RANLIB"; then
12432 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12433 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12435 echo "$as_me:$LINENO: result: no" >&5
12436 echo "${ECHO_T}no" >&6
12439 RANLIB=$ac_ct_RANLIB
12441 RANLIB="$ac_cv_prog_RANLIB"
12444 if test -n "$ac_tool_prefix"; then
12445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12446 set dummy ${ac_tool_prefix}strip; ac_word=$2
12447 echo "$as_me:$LINENO: checking for $ac_word" >&5
12448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12449 if test "${ac_cv_prog_STRIP+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 if test -n "$STRIP"; then
12453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12456 for as_dir in $PATH
12459 test -z "$as_dir" && as_dir=.
12460 for ac_exec_ext in '' $ac_executable_extensions; do
12461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12462 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12471 STRIP=$ac_cv_prog_STRIP
12472 if test -n "$STRIP"; then
12473 echo "$as_me:$LINENO: result: $STRIP" >&5
12474 echo "${ECHO_T}$STRIP" >&6
12476 echo "$as_me:$LINENO: result: no" >&5
12477 echo "${ECHO_T}no" >&6
12481 if test -z "$ac_cv_prog_STRIP"; then
12483 # Extract the first word of "strip", so it can be a program name with args.
12484 set dummy strip; ac_word=$2
12485 echo "$as_me:$LINENO: checking for $ac_word" >&5
12486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12487 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 if test -n "$ac_ct_STRIP"; then
12491 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12494 for as_dir in $PATH
12497 test -z "$as_dir" && as_dir=.
12498 for ac_exec_ext in '' $ac_executable_extensions; do
12499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12500 ac_cv_prog_ac_ct_STRIP="strip"
12501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12507 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12511 if test -n "$ac_ct_STRIP"; then
12512 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12513 echo "${ECHO_T}$ac_ct_STRIP" >&6
12515 echo "$as_me:$LINENO: result: no" >&5
12516 echo "${ECHO_T}no" >&6
12521 STRIP="$ac_cv_prog_STRIP"
12526 old_CFLAGS="$CFLAGS"
12528 # Set sane defaults for various variables
12529 test -z "$AR" && AR=ar
12530 test -z "$AR_FLAGS" && AR_FLAGS=cru
12531 test -z "$AS" && AS=as
12532 test -z "$CC" && CC=cc
12533 test -z "$LTCC" && LTCC=$CC
12534 test -z "$DLLTOOL" && DLLTOOL=dlltool
12535 test -z "$LD" && LD=ld
12536 test -z "$LN_S" && LN_S="ln -s"
12537 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12538 test -z "$NM" && NM=nm
12539 test -z "$SED" && SED=sed
12540 test -z "$OBJDUMP" && OBJDUMP=objdump
12541 test -z "$RANLIB" && RANLIB=:
12542 test -z "$STRIP" && STRIP=:
12543 test -z "$ac_objext" && ac_objext=o
12545 # Determine commands to create old-style static archives.
12546 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12547 old_postinstall_cmds='chmod 644 $oldlib'
12548 old_postuninstall_cmds=
12550 if test -n "$RANLIB"; then
12553 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12556 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12559 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12562 for cc_temp in $compiler""; do
12564 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12565 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12570 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12573 # Only perform the check for file, if the check method requires it
12574 case $deplibs_check_method in
12576 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12577 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12578 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
12579 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12587 lt_save_MAGIC_CMD="$MAGIC_CMD"
12588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12589 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12590 for ac_dir in $ac_dummy; do
12592 test -z "$ac_dir" && ac_dir=.
12593 if test -f $ac_dir/${ac_tool_prefix}file; then
12594 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12595 if test -n "$file_magic_test_file"; then
12596 case $deplibs_check_method in
12598 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12599 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12600 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12601 $EGREP "$file_magic_regex" > /dev/null; then
12606 *** Warning: the command libtool uses to detect shared libraries,
12607 *** $file_magic_cmd, produces output that libtool cannot recognize.
12608 *** The result is that libtool may fail to recognize shared libraries
12609 *** as such. This will affect the creation of libtool libraries that
12610 *** depend on shared libraries, but programs linked with such libtool
12611 *** libraries will work regardless of this problem. Nevertheless, you
12612 *** may want to report the problem to your system manager and/or to
12613 *** bug-libtool@gnu.org
12623 MAGIC_CMD="$lt_save_MAGIC_CMD"
12628 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12629 if test -n "$MAGIC_CMD"; then
12630 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12631 echo "${ECHO_T}$MAGIC_CMD" >&6
12633 echo "$as_me:$LINENO: result: no" >&5
12634 echo "${ECHO_T}no" >&6
12637 if test -z "$lt_cv_path_MAGIC_CMD"; then
12638 if test -n "$ac_tool_prefix"; then
12639 echo "$as_me:$LINENO: checking for file" >&5
12640 echo $ECHO_N "checking for file... $ECHO_C" >&6
12641 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12649 lt_save_MAGIC_CMD="$MAGIC_CMD"
12650 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12651 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12652 for ac_dir in $ac_dummy; do
12654 test -z "$ac_dir" && ac_dir=.
12655 if test -f $ac_dir/file; then
12656 lt_cv_path_MAGIC_CMD="$ac_dir/file"
12657 if test -n "$file_magic_test_file"; then
12658 case $deplibs_check_method in
12660 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12661 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12662 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12663 $EGREP "$file_magic_regex" > /dev/null; then
12668 *** Warning: the command libtool uses to detect shared libraries,
12669 *** $file_magic_cmd, produces output that libtool cannot recognize.
12670 *** The result is that libtool may fail to recognize shared libraries
12671 *** as such. This will affect the creation of libtool libraries that
12672 *** depend on shared libraries, but programs linked with such libtool
12673 *** libraries will work regardless of this problem. Nevertheless, you
12674 *** may want to report the problem to your system manager and/or to
12675 *** bug-libtool@gnu.org
12685 MAGIC_CMD="$lt_save_MAGIC_CMD"
12690 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12691 if test -n "$MAGIC_CMD"; then
12692 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12693 echo "${ECHO_T}$MAGIC_CMD" >&6
12695 echo "$as_me:$LINENO: result: no" >&5
12696 echo "${ECHO_T}no" >&6
12709 enable_win32_dll=no
12711 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
12712 if test "${enable_libtool_lock+set}" = set; then
12713 enableval="$enable_libtool_lock"
12716 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12719 # Check whether --with-pic or --without-pic was given.
12720 if test "${with_pic+set}" = set; then
12721 withval="$with_pic"
12722 pic_mode="$withval"
12726 test -z "$pic_mode" && pic_mode=default
12728 # Use C for the default configuration in the libtool script
12732 ac_cpp='$CPP $CPPFLAGS'
12733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12738 # Source file extension for C test sources.
12741 # Object file extension for compiled C test sources.
12745 # Code to be used in simple compile tests
12746 lt_simple_compile_test_code="int some_variable = 0;\n"
12748 # Code to be used in simple link tests
12749 lt_simple_link_test_code='int main(){return(0);}\n'
12752 # If no C compiler was specified, use CC.
12755 # Allow CC to be a program name with arguments.
12759 # save warnings/boilerplate of simple test code
12760 ac_outfile=conftest.$ac_objext
12761 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12762 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
12763 _lt_compiler_boilerplate=`cat conftest.err`
12766 ac_outfile=conftest.$ac_objext
12767 printf "$lt_simple_link_test_code" >conftest.$ac_ext
12768 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
12769 _lt_linker_boilerplate=`cat conftest.err`
12774 # Check for any special shared library compilation flags.
12777 if test "$GCC" = no; then
12780 lt_prog_cc_shlib='-belf'
12784 if test -n "$lt_prog_cc_shlib"; then
12785 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12786 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12787 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12789 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12790 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12791 lt_cv_prog_cc_can_build_shared=no
12797 # Check to make sure the static flag actually works.
12799 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12800 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
12801 if test "${lt_prog_compiler_static_works+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 lt_prog_compiler_static_works=no
12805 save_LDFLAGS="$LDFLAGS"
12806 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12807 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12808 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12809 # The compiler can only warn and ignore the option if not recognized
12810 # So say no if there are warnings
12811 if test -s conftest.err; then
12812 # Append any errors to the config.log.
12813 cat conftest.err 1>&5
12814 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
12815 $SED '/^$/d' conftest.err >conftest.er2
12816 if diff conftest.exp conftest.er2 >/dev/null; then
12817 lt_prog_compiler_static_works=yes
12820 lt_prog_compiler_static_works=yes
12824 LDFLAGS="$save_LDFLAGS"
12827 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12828 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
12830 if test x"$lt_prog_compiler_static_works" = xyes; then
12833 lt_prog_compiler_static=
12839 lt_prog_compiler_no_builtin_flag=
12841 if test "$GCC" = yes; then
12842 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12845 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12846 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12847 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12850 lt_cv_prog_compiler_rtti_exceptions=no
12851 ac_outfile=conftest.$ac_objext
12852 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12853 lt_compiler_flag="-fno-rtti -fno-exceptions"
12854 # Insert the option either (1) after the last *FLAGS variable, or
12855 # (2) before a word containing "conftest.", or (3) at the end.
12856 # Note that $ac_compile itself does not contain backslashes and begins
12857 # with a dollar sign (not a hyphen), so the echo should work correctly.
12858 # The option is referenced via a variable to avoid confusing sed.
12859 lt_compile=`echo "$ac_compile" | $SED \
12860 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12862 -e 's:$: $lt_compiler_flag:'`
12863 (eval echo "\"\$as_me:12863: $lt_compile\"" >&5)
12864 (eval "$lt_compile" 2>conftest.err)
12866 cat conftest.err >&5
12867 echo "$as_me:12867: \$? = $ac_status" >&5
12868 if (exit $ac_status) && test -s "$ac_outfile"; then
12869 # The compiler can only warn and ignore the option if not recognized
12870 # So say no if there are warnings other than the usual output.
12871 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12872 $SED '/^$/d' conftest.err >conftest.er2
12873 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12874 lt_cv_prog_compiler_rtti_exceptions=yes
12880 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12881 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12883 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12884 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12891 lt_prog_compiler_wl=
12892 lt_prog_compiler_pic=
12893 lt_prog_compiler_static=
12895 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12896 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12898 if test "$GCC" = yes; then
12899 lt_prog_compiler_wl='-Wl,'
12900 lt_prog_compiler_static='-static'
12904 # All AIX code is PIC.
12905 if test "$host_cpu" = ia64; then
12906 # AIX 5 now supports IA64 processor
12907 lt_prog_compiler_static='-Bstatic'
12912 # FIXME: we need at least 68020 code to build shared libraries, but
12913 # adding the `-m68020' flag to GCC prevents building anything better,
12915 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12918 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12919 # PIC is the default for these OSes.
12922 mingw* | pw32* | os2*)
12923 # This hack is so that the source file can tell whether it is being
12924 # built for inclusion in a dll (and should export symbols for example).
12925 lt_prog_compiler_pic='-DDLL_EXPORT'
12928 darwin* | rhapsody*)
12929 # PIC is the default on this platform
12930 # Common symbols not allowed in MH_DYLIB files
12931 lt_prog_compiler_pic='-fno-common'
12935 # Just because we use GCC doesn't mean we suddenly get shared libraries
12936 # on systems that don't support them.
12937 lt_prog_compiler_can_build_shared=no
12942 if test -d /usr/nec; then
12943 lt_prog_compiler_pic=-Kconform_pic
12948 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12949 # not for PA HP-UX.
12950 case "$host_cpu" in
12955 lt_prog_compiler_pic='-fPIC'
12961 lt_prog_compiler_pic='-fPIC'
12965 # PORTME Check for flag to pass linker flags through the system compiler.
12968 lt_prog_compiler_wl='-Wl,'
12969 if test "$host_cpu" = ia64; then
12970 # AIX 5 now supports IA64 processor
12971 lt_prog_compiler_static='-Bstatic'
12973 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12977 # PIC is the default on this platform
12978 # Common symbols not allowed in MH_DYLIB files
12979 case $cc_basename in
12981 lt_prog_compiler_pic='-qnocommon'
12982 lt_prog_compiler_wl='-Wl,'
12987 mingw* | pw32* | os2*)
12988 # This hack is so that the source file can tell whether it is being
12989 # built for inclusion in a dll (and should export symbols for example).
12990 lt_prog_compiler_pic='-DDLL_EXPORT'
12993 hpux9* | hpux10* | hpux11*)
12994 lt_prog_compiler_wl='-Wl,'
12995 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12996 # not for PA HP-UX.
12997 case "$host_cpu" in
13002 lt_prog_compiler_pic='+Z'
13005 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13006 lt_prog_compiler_static='${wl}-a ${wl}archive'
13009 irix5* | irix6* | nonstopux*)
13010 lt_prog_compiler_wl='-Wl,'
13011 # PIC (with -KPIC) is the default.
13012 lt_prog_compiler_static='-non_shared'
13016 lt_prog_compiler_pic='-KPIC'
13017 lt_prog_compiler_static='-Bstatic'
13021 case $cc_basename in
13023 lt_prog_compiler_wl='-Wl,'
13024 lt_prog_compiler_pic='-KPIC'
13025 lt_prog_compiler_static='-static'
13027 pgcc* | pgf77* | pgf90*)
13028 # Portland Group compilers (*not* the Pentium gcc compiler,
13029 # which looks to be a dead project)
13030 lt_prog_compiler_wl='-Wl,'
13031 lt_prog_compiler_pic='-fpic'
13032 lt_prog_compiler_static='-static'
13035 lt_prog_compiler_wl='-Wl,'
13036 # All Alpha code is PIC.
13037 lt_prog_compiler_static='-non_shared'
13042 osf3* | osf4* | osf5*)
13043 lt_prog_compiler_wl='-Wl,'
13044 # All OSF/1 code is PIC.
13045 lt_prog_compiler_static='-non_shared'
13049 lt_prog_compiler_pic='-Kpic'
13050 lt_prog_compiler_static='-dn'
13054 lt_prog_compiler_pic='-KPIC'
13055 lt_prog_compiler_static='-Bstatic'
13056 case $cc_basename in
13057 f77* | f90* | f95*)
13058 lt_prog_compiler_wl='-Qoption ld ';;
13060 lt_prog_compiler_wl='-Wl,';;
13065 lt_prog_compiler_wl='-Qoption ld '
13066 lt_prog_compiler_pic='-PIC'
13067 lt_prog_compiler_static='-Bstatic'
13070 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13071 lt_prog_compiler_wl='-Wl,'
13072 lt_prog_compiler_pic='-KPIC'
13073 lt_prog_compiler_static='-Bstatic'
13077 if test -d /usr/nec ;then
13078 lt_prog_compiler_pic='-Kconform_pic'
13079 lt_prog_compiler_static='-Bstatic'
13084 lt_prog_compiler_wl='-Wl,'
13085 lt_prog_compiler_can_build_shared=no
13089 lt_prog_compiler_pic='-pic'
13090 lt_prog_compiler_static='-Bstatic'
13094 lt_prog_compiler_can_build_shared=no
13099 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
13100 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
13103 # Check to make sure the PIC flag actually works.
13105 if test -n "$lt_prog_compiler_pic"; then
13107 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13108 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
13109 if test "${lt_prog_compiler_pic_works+set}" = set; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 lt_prog_compiler_pic_works=no
13113 ac_outfile=conftest.$ac_objext
13114 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13115 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
13116 # Insert the option either (1) after the last *FLAGS variable, or
13117 # (2) before a word containing "conftest.", or (3) at the end.
13118 # Note that $ac_compile itself does not contain backslashes and begins
13119 # with a dollar sign (not a hyphen), so the echo should work correctly.
13120 # The option is referenced via a variable to avoid confusing sed.
13121 lt_compile=`echo "$ac_compile" | $SED \
13122 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13124 -e 's:$: $lt_compiler_flag:'`
13125 (eval echo "\"\$as_me:13125: $lt_compile\"" >&5)
13126 (eval "$lt_compile" 2>conftest.err)
13128 cat conftest.err >&5
13129 echo "$as_me:13129: \$? = $ac_status" >&5
13130 if (exit $ac_status) && test -s "$ac_outfile"; then
13131 # The compiler can only warn and ignore the option if not recognized
13132 # So say no if there are warnings other than the usual output.
13133 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13134 $SED '/^$/d' conftest.err >conftest.er2
13135 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13136 lt_prog_compiler_pic_works=yes
13142 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
13143 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
13145 if test x"$lt_prog_compiler_pic_works" = xyes; then
13146 case $lt_prog_compiler_pic in
13148 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13151 lt_prog_compiler_pic=
13152 lt_prog_compiler_can_build_shared=no
13157 # For platforms which do not support PIC, -DPIC is meaningless:
13159 lt_prog_compiler_pic=
13162 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13166 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13167 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13168 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
13169 echo $ECHO_N "(cached) $ECHO_C" >&6
13171 lt_cv_prog_compiler_c_o=no
13172 $rm -r conftest 2>/dev/null
13176 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13178 lt_compiler_flag="-o out/conftest2.$ac_objext"
13179 # Insert the option either (1) after the last *FLAGS variable, or
13180 # (2) before a word containing "conftest.", or (3) at the end.
13181 # Note that $ac_compile itself does not contain backslashes and begins
13182 # with a dollar sign (not a hyphen), so the echo should work correctly.
13183 lt_compile=`echo "$ac_compile" | $SED \
13184 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13186 -e 's:$: $lt_compiler_flag:'`
13187 (eval echo "\"\$as_me:13187: $lt_compile\"" >&5)
13188 (eval "$lt_compile" 2>out/conftest.err)
13190 cat out/conftest.err >&5
13191 echo "$as_me:13191: \$? = $ac_status" >&5
13192 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13194 # The compiler can only warn and ignore the option if not recognized
13195 # So say no if there are warnings
13196 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13197 $SED '/^$/d' out/conftest.err >out/conftest.er2
13198 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13199 lt_cv_prog_compiler_c_o=yes
13204 # SGI C++ compiler will create directory out/ii_files/ for
13205 # template instantiation
13206 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13207 $rm out/* && rmdir out
13213 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
13214 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
13217 hard_links="nottested"
13218 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
13219 # do not overwrite the value of need_locks provided by the user
13220 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13221 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13224 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13226 ln conftest.a conftest.b 2>&5 || hard_links=no
13227 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13228 echo "$as_me:$LINENO: result: $hard_links" >&5
13229 echo "${ECHO_T}$hard_links" >&6
13230 if test "$hard_links" = no; then
13231 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13232 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13239 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13240 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13243 allow_undefined_flag=
13244 enable_shared_with_static_runtimes=no
13246 archive_expsym_cmds=
13247 old_archive_From_new_cmds=
13248 old_archive_from_expsyms_cmds=
13249 export_dynamic_flag_spec=
13250 whole_archive_flag_spec=
13251 thread_safe_flag_spec=
13252 hardcode_libdir_flag_spec=
13253 hardcode_libdir_flag_spec_ld=
13254 hardcode_libdir_separator=
13256 hardcode_minus_L=no
13257 hardcode_shlibpath_var=unsupported
13258 link_all_deplibs=unknown
13259 hardcode_automatic=no
13261 module_expsym_cmds=
13262 always_export_symbols=no
13263 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13264 # include_expsyms should be a list of space-separated symbols to be *always*
13265 # included in the symbol list
13267 # exclude_expsyms can be an extended regexp of symbols to exclude
13268 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13269 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13270 # as well as any symbol that contains `d'.
13271 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
13272 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13273 # platforms (ab)use it in PIC code, but their linkers get confused if
13274 # the symbol is explicitly referenced. Since portable code cannot
13275 # rely on this symbol name, it's probably fine to never include it in
13276 # preloaded symbol tables.
13277 extract_expsyms_cmds=
13278 # Just being paranoid about ensuring that cc_basename is set.
13279 for cc_temp in $compiler""; do
13281 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13282 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13287 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13290 cygwin* | mingw* | pw32*)
13291 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13292 # When not using gcc, we currently assume that we are using
13293 # Microsoft Visual C++.
13294 if test "$GCC" != yes; then
13304 if test "$with_gnu_ld" = yes; then
13305 # If archive_cmds runs LD, not CC, wlarc should be empty
13308 # Set some defaults for GNU ld with shared library support. These
13309 # are reset later if shared libraries are not supported. Putting them
13310 # here allows them to be overridden if necessary.
13311 runpath_var=LD_RUN_PATH
13312 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13313 export_dynamic_flag_spec='${wl}--export-dynamic'
13314 # ancient GNU ld didn't support --whole-archive et. al.
13315 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13316 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13318 whole_archive_flag_spec=
13320 supports_anon_versioning=no
13321 case `$LD -v 2>/dev/null` in
13322 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13323 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13324 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13325 *\ 2.11.*) ;; # other 2.11 versions
13326 *) supports_anon_versioning=yes ;;
13329 # See if GNU ld supports shared libraries.
13331 aix3* | aix4* | aix5*)
13332 # On AIX/PPC, the GNU linker is very broken
13333 if test "$host_cpu" != ia64; then
13337 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13338 *** to be unable to reliably create shared libraries on AIX.
13339 *** Therefore, libtool is disabling shared libraries support. If you
13340 *** really care for shared libraries, you may want to modify your PATH
13341 *** so that a non-GNU linker is found, and then restart.
13348 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)'
13349 hardcode_libdir_flag_spec='-L$libdir'
13350 hardcode_minus_L=yes
13352 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13353 # that the semantics of dynamic libraries on AmigaOS, at least up
13354 # to version 4, is to share data among multiple programs linked
13355 # with the same dynamic library. Since this doesn't match the
13356 # behavior of shared libraries on other platforms, we can't use
13362 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13363 allow_undefined_flag=unsupported
13364 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13365 # support --undefined. This deserves some investigation. FIXME
13366 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13372 cygwin* | mingw* | pw32*)
13373 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13374 # as there is no search path for DLLs.
13375 hardcode_libdir_flag_spec='-L$libdir'
13376 allow_undefined_flag=unsupported
13377 always_export_symbols=no
13378 enable_shared_with_static_runtimes=yes
13379 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13381 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13382 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13383 # If the export-symbols file already is a .def file (1st line
13384 # is EXPORTS), use it as is; otherwise, prepend...
13385 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13386 cp $export_symbols $output_objdir/$soname.def;
13388 echo EXPORTS > $output_objdir/$soname.def;
13389 cat $export_symbols >> $output_objdir/$soname.def;
13391 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13398 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13400 case $cc_basename,$host_cpu in
13401 pgcc*) # Portland Group C compiler
13402 whole_archive_flag_spec=
13404 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
13405 whole_archive_flag_spec=
13406 tmp_addflag=' -fpic -Mnomain' ;;
13407 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13408 tmp_addflag=' -i_dynamic' ;;
13409 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13410 tmp_addflag=' -i_dynamic -nofor_main' ;;
13411 ifc* | ifort*) # Intel Fortran compiler
13412 tmp_addflag=' -nofor_main' ;;
13414 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13416 if test $supports_anon_versioning = yes; then
13417 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13419 $echo "local: *; };" >> $output_objdir/$libname.ver~
13420 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13428 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13438 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13443 *** create shared libraries on Solaris systems. Therefore, libtool
13444 *** is disabling shared libraries support. We urge you to upgrade GNU
13445 *** binutils to release 2.9.1 or newer. Another option is to modify
13446 *** your PATH or compiler configuration so that the native linker is
13447 *** used, and then restart.
13450 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13459 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13461 hardcode_direct=yes
13462 hardcode_shlibpath_var=no
13466 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13467 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13468 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13475 if test "$ld_shlibs" = no; then
13477 hardcode_libdir_flag_spec=
13478 export_dynamic_flag_spec=
13479 whole_archive_flag_spec=
13482 # PORTME fill in a description of your system's linker (not GNU ld)
13485 allow_undefined_flag=unsupported
13486 always_export_symbols=yes
13487 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'
13488 # Note: this linker hardcodes the directories in LIBPATH if there
13489 # are no directories specified by -L.
13490 hardcode_minus_L=yes
13491 if test "$GCC" = yes && test -z "$link_static_flag"; then
13492 # Neither direct hardcoding nor static linking is supported with a
13494 hardcode_direct=unsupported
13499 if test "$host_cpu" = ia64; then
13500 # On IA64, the linker does run time linking by default, so we don't
13501 # have to do anything special.
13502 aix_use_runtimelinking=no
13503 exp_sym_flag='-Bexport'
13506 # If we're using GNU nm, then we don't want the "-C" option.
13507 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13508 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13509 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'
13511 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'
13513 aix_use_runtimelinking=no
13515 # Test if we are trying to use run time linking or normal
13516 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13517 # need to do runtime linking.
13518 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13519 for ld_flag in $LDFLAGS; do
13520 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13521 aix_use_runtimelinking=yes
13527 exp_sym_flag='-bexport'
13528 no_entry_flag='-bnoentry'
13531 # When large executables or shared objects are built, AIX ld can
13532 # have problems creating the table of contents. If linking a library
13533 # or program results in "error TOC overflow" add -mminimal-toc to
13534 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13535 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13538 hardcode_direct=yes
13539 hardcode_libdir_separator=':'
13540 link_all_deplibs=yes
13542 if test "$GCC" = yes; then
13543 case $host_os in aix4.[012]|aix4.[012].*)
13544 # We only want to do this on AIX 4.2 and lower, the check
13545 # below for broken collect2 doesn't work under 4.3+
13546 collect2name=`${CC} -print-prog-name=collect2`
13547 if test -f "$collect2name" && \
13548 strings "$collect2name" | grep resolve_lib_name >/dev/null
13550 # We have reworked collect2
13551 hardcode_direct=yes
13553 # We have old collect2
13554 hardcode_direct=unsupported
13555 # It fails to find uninstalled libraries when the uninstalled
13556 # path is not listed in the libpath. Setting hardcode_minus_L
13557 # to unsupported forces relinking
13558 hardcode_minus_L=yes
13559 hardcode_libdir_flag_spec='-L$libdir'
13560 hardcode_libdir_separator=
13563 shared_flag='-shared'
13564 if test "$aix_use_runtimelinking" = yes; then
13565 shared_flag="$shared_flag "'${wl}-G'
13569 if test "$host_cpu" = ia64; then
13570 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13571 # chokes on -Wl,-G. The following line is correct:
13574 if test "$aix_use_runtimelinking" = yes; then
13575 shared_flag='${wl}-G'
13577 shared_flag='${wl}-bM:SRE'
13582 # It seems that -bexpall does not export symbols beginning with
13583 # underscore (_), so it is better to generate a list of symbols to export.
13584 always_export_symbols=yes
13585 if test "$aix_use_runtimelinking" = yes; then
13586 # Warning - without using the other runtime loading flags (-brtl),
13587 # -berok will link without error, but may produce a broken library.
13588 allow_undefined_flag='-berok'
13589 # Determine the default libpath from the value encoded in an empty executable.
13590 cat >conftest.$ac_ext <<_ACEOF
13593 cat confdefs.h >>conftest.$ac_ext
13594 cat >>conftest.$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13605 rm -f conftest.$ac_objext conftest$ac_exeext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13607 (eval $ac_link) 2>conftest.er1
13609 grep -v '^ *+' conftest.er1 >conftest.err
13611 cat conftest.err >&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); } &&
13614 { ac_try='test -z "$ac_c_werror_flag"
13615 || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try='test -s conftest$ac_exeext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13628 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13630 # Check for a 64-bit object if we didn't find anything.
13631 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; }
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13638 rm -f conftest.err conftest.$ac_objext \
13639 conftest$ac_exeext conftest.$ac_ext
13640 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13642 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13643 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13645 if test "$host_cpu" = ia64; then
13646 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13647 allow_undefined_flag="-z nodefs"
13648 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13650 # Determine the default libpath from the value encoded in an empty executable.
13651 cat >conftest.$ac_ext <<_ACEOF
13654 cat confdefs.h >>conftest.$ac_ext
13655 cat >>conftest.$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13666 rm -f conftest.$ac_objext conftest$ac_exeext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13668 (eval $ac_link) 2>conftest.er1
13670 grep -v '^ *+' conftest.er1 >conftest.err
13672 cat conftest.err >&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try='test -z "$ac_c_werror_flag"
13676 || test ! -s conftest.err'
13677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678 (eval $ac_try) 2>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); }; } &&
13682 { ac_try='test -s conftest$ac_exeext'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; }; then
13689 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13691 # Check for a 64-bit object if we didn't find anything.
13692 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; }
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.$ac_ext >&5
13699 rm -f conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13704 # Warning - without using the other run time loading flags,
13705 # -berok will link without error, but may produce a broken library.
13706 no_undefined_flag=' ${wl}-bernotok'
13707 allow_undefined_flag=' ${wl}-berok'
13708 # -bexpall does not export symbols beginning with underscore (_)
13709 always_export_symbols=yes
13710 # Exported symbols can be pulled into shared objects from archives
13711 whole_archive_flag_spec=' '
13712 archive_cmds_need_lc=yes
13713 # This is similar to how AIX traditionally builds it's shared libraries.
13714 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13720 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)'
13721 hardcode_libdir_flag_spec='-L$libdir'
13722 hardcode_minus_L=yes
13723 # see comment about different semantics on the GNU ld section
13728 export_dynamic_flag_spec=-rdynamic
13731 cygwin* | mingw* | pw32*)
13732 # When not using gcc, we currently assume that we are using
13733 # Microsoft Visual C++.
13734 # hardcode_libdir_flag_spec is actually meaningless, as there is
13735 # no search path for DLLs.
13736 hardcode_libdir_flag_spec=' '
13737 allow_undefined_flag=unsupported
13738 # Tell ltmain to make .lib files, not .a files.
13740 # Tell ltmain to make .dll files, not .so files.
13742 # FIXME: Setting linknames here is a bad hack.
13743 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13744 # The linker will automatically build a .lib file if we build a DLL.
13745 old_archive_From_new_cmds='true'
13746 # FIXME: Should let the user specify the lib program.
13747 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13748 fix_srcfile_path='`cygpath -w "$srcfile"`'
13749 enable_shared_with_static_runtimes=yes
13752 darwin* | rhapsody*)
13754 rhapsody* | darwin1.[012])
13755 allow_undefined_flag='${wl}-undefined ${wl}suppress'
13758 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13759 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13761 case ${MACOSX_DEPLOYMENT_TARGET} in
13763 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13766 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
13772 archive_cmds_need_lc=no
13774 hardcode_automatic=yes
13775 hardcode_shlibpath_var=unsupported
13776 whole_archive_flag_spec=''
13777 link_all_deplibs=yes
13778 if test "$GCC" = yes ; then
13779 output_verbose_link_cmd='echo'
13780 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13781 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13782 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13783 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}'
13784 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}'
13786 case $cc_basename in
13788 output_verbose_link_cmd='echo'
13789 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13790 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13791 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13792 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}'
13793 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}'
13803 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13804 hardcode_libdir_flag_spec='-L$libdir'
13805 hardcode_shlibpath_var=no
13812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13813 # support. Future versions do this automatically, but an explicit c++rt0.o
13814 # does not break anything, and helps significantly (at the cost of a little
13817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13818 hardcode_libdir_flag_spec='-R$libdir'
13819 hardcode_direct=yes
13820 hardcode_shlibpath_var=no
13823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13826 hardcode_direct=yes
13827 hardcode_minus_L=yes
13828 hardcode_shlibpath_var=no
13831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13832 freebsd* | kfreebsd*-gnu | dragonfly*)
13833 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13834 hardcode_libdir_flag_spec='-R$libdir'
13835 hardcode_direct=yes
13836 hardcode_shlibpath_var=no
13840 if test "$GCC" = yes; then
13841 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'
13843 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'
13845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13846 hardcode_libdir_separator=:
13847 hardcode_direct=yes
13849 # hardcode_minus_L: Not really in the search PATH,
13850 # but as the default location of the library.
13851 hardcode_minus_L=yes
13852 export_dynamic_flag_spec='${wl}-E'
13856 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13857 case "$host_cpu" in
13859 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13862 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13866 case "$host_cpu" in
13868 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13871 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13875 if test "$with_gnu_ld" = no; then
13876 case "$host_cpu" in
13878 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13879 hardcode_libdir_flag_spec_ld='+b $libdir'
13880 hardcode_libdir_separator=:
13882 hardcode_shlibpath_var=no
13885 hardcode_libdir_flag_spec='-L$libdir'
13887 hardcode_shlibpath_var=no
13889 # hardcode_minus_L: Not really in the search PATH,
13890 # but as the default location of the library.
13891 hardcode_minus_L=yes
13894 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13895 hardcode_libdir_separator=:
13896 hardcode_direct=yes
13897 export_dynamic_flag_spec='${wl}-E'
13899 # hardcode_minus_L: Not really in the search PATH,
13900 # but as the default location of the library.
13901 hardcode_minus_L=yes
13907 irix5* | irix6* | nonstopux*)
13908 if test "$GCC" = yes; then
13909 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'
13911 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'
13912 hardcode_libdir_flag_spec_ld='-rpath $libdir'
13914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13915 hardcode_libdir_separator=:
13916 link_all_deplibs=yes
13920 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13921 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13923 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13925 hardcode_libdir_flag_spec='-R$libdir'
13926 hardcode_direct=yes
13927 hardcode_shlibpath_var=no
13931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13932 hardcode_direct=yes
13933 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13934 hardcode_libdir_separator=:
13935 hardcode_shlibpath_var=no
13939 hardcode_direct=yes
13940 hardcode_shlibpath_var=no
13941 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13942 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13943 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13944 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13945 export_dynamic_flag_spec='${wl}-E'
13948 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13950 hardcode_libdir_flag_spec='-R$libdir'
13953 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13961 hardcode_libdir_flag_spec='-L$libdir'
13962 hardcode_minus_L=yes
13963 allow_undefined_flag=unsupported
13964 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'
13965 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13969 if test "$GCC" = yes; then
13970 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13971 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'
13973 allow_undefined_flag=' -expect_unresolved \*'
13974 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'
13976 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13977 hardcode_libdir_separator=:
13980 osf4* | osf5*) # as osf3* with the addition of -msym flag
13981 if test "$GCC" = yes; then
13982 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13983 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'
13984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13986 allow_undefined_flag=' -expect_unresolved \*'
13987 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'
13988 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13989 $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'
13991 # Both c and cxx compiler support -rpath directly
13992 hardcode_libdir_flag_spec='-rpath $libdir'
13994 hardcode_libdir_separator=:
13998 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13999 hardcode_shlibpath_var=no
14000 export_dynamic_flag_spec='${wl}-Bexport'
14001 runpath_var=LD_RUN_PATH
14002 hardcode_runpath_var=yes
14006 no_undefined_flag=' -z text'
14007 if test "$GCC" = yes; then
14009 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14010 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14011 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14014 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14015 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14016 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14018 hardcode_libdir_flag_spec='-R$libdir'
14019 hardcode_shlibpath_var=no
14021 solaris2.[0-5] | solaris2.[0-5].*) ;;
14023 # The compiler driver will combine linker options so we
14024 # cannot just pass the convience library names through
14025 # without $wl, iff we do not link with $LD.
14026 # Luckily, gcc supports the same syntax we need for Sun Studio.
14027 # Supported since Solaris 2.6 (maybe 2.5.1?)
14030 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
14032 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' ;;
14035 link_all_deplibs=yes
14039 if test "x$host_vendor" = xsequent; then
14040 # Use $CC to link under sequent, because it throws in some extra .o
14041 # files that make .init and .fini sections work.
14042 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14044 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14046 hardcode_libdir_flag_spec='-L$libdir'
14047 hardcode_direct=yes
14048 hardcode_minus_L=yes
14049 hardcode_shlibpath_var=no
14053 case $host_vendor in
14055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14056 hardcode_direct=yes # is this really true???
14059 ## LD is ld it makes a PLAMLIB
14060 ## CC just makes a GrossModule.
14061 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14062 reload_cmds='$CC -r -o $output$reload_objs'
14066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14067 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14070 runpath_var='LD_RUN_PATH'
14071 hardcode_shlibpath_var=no
14075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14076 hardcode_shlibpath_var=no
14077 export_dynamic_flag_spec='-Bexport'
14081 if test -d /usr/nec; then
14082 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14083 hardcode_shlibpath_var=no
14084 runpath_var=LD_RUN_PATH
14085 hardcode_runpath_var=yes
14091 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14092 hardcode_direct=yes
14093 hardcode_minus_L=no
14094 hardcode_shlibpath_var=no
14095 hardcode_runpath_var=yes
14096 runpath_var=LD_RUN_PATH
14099 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14100 no_undefined_flag='${wl}-z ${wl}text'
14101 if test "$GCC" = yes; then
14102 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14104 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14106 runpath_var='LD_RUN_PATH'
14107 hardcode_shlibpath_var=no
14111 no_undefined_flag=' -z text'
14112 # $CC -shared without GNU ld will not create a library from C++
14113 # object files and a static libstdc++, better avoid it by now
14114 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14115 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14116 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14117 hardcode_libdir_flag_spec=
14118 hardcode_shlibpath_var=no
14119 runpath_var='LD_RUN_PATH'
14123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14124 hardcode_libdir_flag_spec='-L$libdir'
14125 hardcode_shlibpath_var=no
14134 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
14135 echo "${ECHO_T}$ld_shlibs" >&6
14136 test "$ld_shlibs" = no && can_build_shared=no
14138 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14139 if test "$GCC" = yes; then
14140 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14144 # Do we need to explicitly link libc?
14146 case "x$archive_cmds_need_lc" in
14148 # Assume -lc should be added
14149 archive_cmds_need_lc=yes
14151 if test "$enable_shared" = yes && test "$GCC" = yes; then
14152 case $archive_cmds in
14154 # FIXME: we may have to deal with multi-command sequences.
14157 # Test whether the compiler implicitly links with -lc since on some
14158 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14159 # to ld, don't add -lc before -lgcc.
14160 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14161 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14163 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } 2>conftest.err; then
14172 libobjs=conftest.$ac_objext
14174 wl=$lt_prog_compiler_wl
14180 lt_save_allow_undefined_flag=$allow_undefined_flag
14181 allow_undefined_flag=
14182 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14183 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }
14188 archive_cmds_need_lc=no
14190 archive_cmds_need_lc=yes
14192 allow_undefined_flag=$lt_save_allow_undefined_flag
14194 cat conftest.err 1>&5
14197 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
14198 echo "${ECHO_T}$archive_cmds_need_lc" >&6
14205 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14206 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14207 library_names_spec=
14208 libname_spec='lib$name'
14212 postuninstall_cmds=
14216 shlibpath_overrides_runpath=unknown
14218 dynamic_linker="$host_os ld.so"
14219 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14220 if test "$GCC" = yes; then
14221 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14222 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14223 # if the path contains ";" then we assume it to be the separator
14224 # otherwise default to the standard path separator (i.e. ":") - it is
14225 # assumed that no part of a normal pathname contains ";" but that should
14226 # okay in the real world where ";" in dirpaths is itself problematic.
14227 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14229 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14232 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14234 need_lib_prefix=unknown
14235 hardcode_into_libs=no
14237 # when you set need_version to no, make sure it does not cause -set_version
14238 # flags to be left without arguments
14239 need_version=unknown
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14245 shlibpath_var=LIBPATH
14247 # AIX 3 has no versioning support, so we append a major version to the name.
14248 soname_spec='${libname}${release}${shared_ext}$major'
14255 hardcode_into_libs=yes
14256 if test "$host_cpu" = ia64; then
14257 # AIX 5 supports IA64
14258 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14259 shlibpath_var=LD_LIBRARY_PATH
14261 # With GCC up to 2.95.x, collect2 would create an import file
14262 # for dependence libraries. The import file would start with
14263 # the line `#! .'. This would cause the generated library to
14264 # depend on `.', always an invalid library. This was fixed in
14265 # development snapshots of GCC prior to 3.0.
14267 aix4 | aix4.[01] | aix4.[01].*)
14268 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14273 can_build_shared=no
14277 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14278 # soname into executable. Probably we can add versioning support to
14279 # collect2, so additional links can be useful in future.
14280 if test "$aix_use_runtimelinking" = yes; then
14281 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14282 # instead of lib<name>.a to let people know that these are not
14283 # typical AIX shared libraries.
14284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 # We preserve .a as extension for shared libraries through AIX4.2
14287 # and later when we are not doing run time linking.
14288 library_names_spec='${libname}${release}.a $libname.a'
14289 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LIBPATH
14296 library_names_spec='$libname.ixlibrary $libname.a'
14297 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14298 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'
14302 library_names_spec='${libname}${shared_ext}'
14303 dynamic_linker="$host_os ld.so"
14304 shlibpath_var=LIBRARY_PATH
14310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14311 soname_spec='${libname}${release}${shared_ext}$major'
14312 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14313 shlibpath_var=LD_LIBRARY_PATH
14314 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14315 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14316 # the default ld.so.conf also contains /usr/contrib/lib and
14317 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14318 # libtool to hard-code these into programs
14321 cygwin* | mingw* | pw32*)
14322 version_type=windows
14327 case $GCC,$host_os in
14328 yes,cygwin* | yes,mingw* | yes,pw32*)
14329 library_names_spec='$libname.dll.a'
14330 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14331 postinstall_cmds='base_file=`basename \${file}`~
14332 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14333 dldir=$destdir/`dirname \$dlpath`~
14334 test -d \$dldir || mkdir -p \$dldir~
14335 $install_prog $dir/$dlname \$dldir/$dlname'
14336 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14337 dlpath=$dir/\$dldll~
14339 shlibpath_overrides_runpath=yes
14343 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14344 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14345 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14348 # MinGW DLLs use traditional 'lib' prefix
14349 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14350 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14351 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14352 # It is most probably a Windows format PATH printed by
14353 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14354 # path with ; separators, and with drive letters. We can handle the
14355 # drive letters (cygwin fileutils understands them), so leave them,
14356 # especially as we might pass files found there to a mingw objdump,
14357 # which wouldn't understand a cygwinified path. Ahh.
14358 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14360 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14364 # pw32 DLLs use 'pw' prefix rather than 'lib'
14365 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14374 dynamic_linker='Win32 ld.exe'
14375 # FIXME: first we should search . and the directory the executable is in
14379 darwin* | rhapsody*)
14380 dynamic_linker="$host_os dyld"
14381 version_type=darwin
14384 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14385 soname_spec='${libname}${release}${major}$shared_ext'
14386 shlibpath_overrides_runpath=yes
14387 shlibpath_var=DYLD_LIBRARY_PATH
14388 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14389 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14390 if test "$GCC" = yes; then
14391 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"`
14393 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14395 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 shlibpath_var=LD_LIBRARY_PATH
14415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14416 soname_spec='${libname}${release}${shared_ext}$major'
14417 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=no
14419 hardcode_into_libs=yes
14420 dynamic_linker='GNU ld.so'
14423 freebsd* | dragonfly*)
14424 # DragonFly does not have aout. When/if they implement a new
14425 # versioning mechanism, adjust this.
14426 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14427 version_type=freebsd-$objformat
14428 case $version_type in
14430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14439 shlibpath_var=LD_LIBRARY_PATH
14442 shlibpath_overrides_runpath=yes
14444 freebsd3.[01]* | freebsdelf3.[01]*)
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14449 shlibpath_overrides_runpath=no
14450 hardcode_into_libs=yes
14459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14460 soname_spec='${libname}${release}${shared_ext}$major'
14461 shlibpath_var=LD_LIBRARY_PATH
14462 hardcode_into_libs=yes
14465 hpux9* | hpux10* | hpux11*)
14466 # Give a soname corresponding to the major version so that dld.sl refuses to
14467 # link against other versions.
14471 case "$host_cpu" in
14474 hardcode_into_libs=yes
14475 dynamic_linker="$host_os dld.so"
14476 shlibpath_var=LD_LIBRARY_PATH
14477 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14479 soname_spec='${libname}${release}${shared_ext}$major'
14480 if test "X$HPUX_IA64_MODE" = X32; then
14481 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14483 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14485 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14489 hardcode_into_libs=yes
14490 dynamic_linker="$host_os dld.sl"
14491 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14492 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 soname_spec='${libname}${release}${shared_ext}$major'
14495 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14496 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14500 dynamic_linker="$host_os dld.sl"
14501 shlibpath_var=SHLIB_PATH
14502 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14504 soname_spec='${libname}${release}${shared_ext}$major'
14507 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14508 postinstall_cmds='chmod 555 $lib'
14511 irix5* | irix6* | nonstopux*)
14513 nonstopux*) version_type=nonstopux ;;
14515 if test "$lt_cv_prog_gnu_ld" = yes; then
14523 soname_spec='${libname}${release}${shared_ext}$major'
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14526 irix5* | nonstopux*)
14527 libsuff= shlibsuff=
14530 case $LD in # libtool.m4 will add one of these switches to LD
14531 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14532 libsuff= shlibsuff= libmagic=32-bit;;
14533 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14534 libsuff=32 shlibsuff=N32 libmagic=N32;;
14535 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14536 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14537 *) libsuff= shlibsuff= libmagic=never-match;;
14541 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14542 shlibpath_overrides_runpath=no
14543 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14544 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14545 hardcode_into_libs=yes
14548 # No shared lib support for Linux oldld, aout, or coff.
14549 linux*oldld* | linux*aout* | linux*coff*)
14553 # This must be Linux ELF.
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14559 soname_spec='${libname}${release}${shared_ext}$major'
14560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14561 shlibpath_var=LD_LIBRARY_PATH
14562 shlibpath_overrides_runpath=no
14563 # This implies no fast_install, which is unacceptable.
14564 # Some rework will be needed to allow for fast_install
14565 # before this can be enabled.
14566 hardcode_into_libs=yes
14568 # find out which ABI we are using
14570 case "$host_cpu" in
14571 x86_64*|s390x*|powerpc64*)
14572 echo '#line 14572 "configure"' > conftest.$ac_ext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; then
14578 case `/usr/bin/file conftest.$ac_objext` in
14581 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14589 # Append ld.so.conf contents to the search path
14590 if test -f /etc/ld.so.conf; then
14591 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14592 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14595 # We used to test for /lib/ld.so.1 and disable shared libraries on
14596 # powerpc, because MkLinux only supported shared libraries with the
14597 # GNU dynamic linker. Since this was broken with cross compilers,
14598 # most powerpc-linux boxes support dynamic linking these days and
14599 # people can always --disable-shared, the test was removed, and we
14600 # assume the GNU/Linux dynamic linker is in use.
14601 dynamic_linker='GNU/Linux ld.so'
14608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14609 soname_spec='${libname}${release}${shared_ext}$major'
14610 shlibpath_var=LD_LIBRARY_PATH
14611 shlibpath_overrides_runpath=no
14612 hardcode_into_libs=yes
14613 dynamic_linker='GNU ld.so'
14620 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14622 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14623 dynamic_linker='NetBSD (a.out) ld.so'
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 dynamic_linker='NetBSD ld.elf_so'
14629 shlibpath_var=LD_LIBRARY_PATH
14630 shlibpath_overrides_runpath=yes
14631 hardcode_into_libs=yes
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637 shlibpath_var=LD_LIBRARY_PATH
14638 shlibpath_overrides_runpath=yes
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 shlibpath_overrides_runpath=yes
14655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14656 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14657 shlibpath_var=LD_LIBRARY_PATH
14658 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14660 openbsd2.[89] | openbsd2.[89].*)
14661 shlibpath_overrides_runpath=no
14664 shlibpath_overrides_runpath=yes
14668 shlibpath_overrides_runpath=yes
14673 libname_spec='$name'
14676 library_names_spec='$libname${shared_ext} $libname.a'
14677 dynamic_linker='OS/2 ld.exe'
14678 shlibpath_var=LIBPATH
14681 osf3* | osf4* | osf5*)
14685 soname_spec='${libname}${release}${shared_ext}$major'
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14687 shlibpath_var=LD_LIBRARY_PATH
14688 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14689 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14694 soname_spec='${libname}${release}${shared_ext}$major'
14695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14696 shlibpath_var=LD_LIBRARY_PATH
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 soname_spec='${libname}${release}${shared_ext}$major'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 shlibpath_overrides_runpath=yes
14707 hardcode_into_libs=yes
14708 # ldd complains unless libraries are executable
14709 postinstall_cmds='chmod +x $lib'
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14715 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14716 shlibpath_var=LD_LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 if test "$with_gnu_ld" = yes; then
14724 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14727 soname_spec='${libname}${release}${shared_ext}$major'
14728 shlibpath_var=LD_LIBRARY_PATH
14729 case $host_vendor in
14731 shlibpath_overrides_runpath=no
14733 export_dynamic_flag_spec='${wl}-Blargedynsym'
14734 runpath_var=LD_RUN_PATH
14742 shlibpath_overrides_runpath=no
14743 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14749 if test -d /usr/nec ;then
14751 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14752 soname_spec='$libname${shared_ext}.$major'
14753 shlibpath_var=LD_LIBRARY_PATH
14759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14760 soname_spec='${libname}${release}${shared_ext}$major'
14761 shlibpath_var=LD_LIBRARY_PATH
14768 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14769 echo "${ECHO_T}$dynamic_linker" >&6
14770 test "$dynamic_linker" = no && can_build_shared=no
14772 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14773 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14775 if test -n "$hardcode_libdir_flag_spec" || \
14776 test -n "$runpath_var" || \
14777 test "X$hardcode_automatic" = "Xyes" ; then
14779 # We can hardcode non-existant directories.
14780 if test "$hardcode_direct" != no &&
14781 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14782 # have to relink, otherwise we might link with an installed library
14783 # when we should be linking with a yet-to-be-installed one
14784 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
14785 test "$hardcode_minus_L" != no; then
14786 # Linking always hardcodes the temporary library directory.
14787 hardcode_action=relink
14789 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14790 hardcode_action=immediate
14793 # We cannot hardcode anything, or else we can only hardcode existing
14795 hardcode_action=unsupported
14797 echo "$as_me:$LINENO: result: $hardcode_action" >&5
14798 echo "${ECHO_T}$hardcode_action" >&6
14800 if test "$hardcode_action" = relink; then
14801 # Fast installation is not supported
14802 enable_fast_install=no
14803 elif test "$shlibpath_overrides_runpath" = yes ||
14804 test "$enable_shared" = no; then
14805 # Fast installation is not necessary
14806 enable_fast_install=needless
14811 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14812 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14813 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14814 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14815 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14816 echo "$as_me:$LINENO: result: yes" >&5
14817 echo "${ECHO_T}yes" >&6
14819 # FIXME - insert some real tests, host_os isn't really good enough
14822 if test -n "$STRIP" ; then
14823 striplib="$STRIP -x"
14824 echo "$as_me:$LINENO: result: yes" >&5
14825 echo "${ECHO_T}yes" >&6
14827 echo "$as_me:$LINENO: result: no" >&5
14828 echo "${ECHO_T}no" >&6
14832 echo "$as_me:$LINENO: result: no" >&5
14833 echo "${ECHO_T}no" >&6
14838 if test "x$enable_dlopen" != xyes; then
14839 enable_dlopen=unknown
14840 enable_dlopen_self=unknown
14841 enable_dlopen_self_static=unknown
14848 lt_cv_dlopen="load_add_on"
14850 lt_cv_dlopen_self=yes
14854 lt_cv_dlopen="LoadLibrary"
14859 lt_cv_dlopen="dlopen"
14864 # if libdl is installed we need to link against it
14865 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14866 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14867 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14870 ac_check_lib_save_LIBS=$LIBS
14872 cat >conftest.$ac_ext <<_ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14879 /* Override any gcc2 internal prototype to avoid an error. */
14883 /* We use char because int might match the return type of a gcc2
14884 builtin and then its argument prototype would still apply. */
14894 rm -f conftest.$ac_objext conftest$ac_exeext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14896 (eval $ac_link) 2>conftest.er1
14898 grep -v '^ *+' conftest.er1 >conftest.err
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try='test -z "$ac_c_werror_flag"
14904 || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try='test -s conftest$ac_exeext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_lib_dl_dlopen=yes
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14921 ac_cv_lib_dl_dlopen=no
14923 rm -f conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14928 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14929 if test $ac_cv_lib_dl_dlopen = yes; then
14930 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14933 lt_cv_dlopen="dyld"
14935 lt_cv_dlopen_self=yes
14942 echo "$as_me:$LINENO: checking for shl_load" >&5
14943 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14944 if test "${ac_cv_func_shl_load+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 cat >conftest.$ac_ext <<_ACEOF
14950 cat confdefs.h >>conftest.$ac_ext
14951 cat >>conftest.$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14953 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14955 #define shl_load innocuous_shl_load
14957 /* System header to define __stub macros and hopefully few prototypes,
14958 which can conflict with char shl_load (); below.
14959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14960 <limits.h> exists even on freestanding compilers. */
14963 # include <limits.h>
14965 # include <assert.h>
14970 /* Override any gcc2 internal prototype to avoid an error. */
14975 /* We use char because int might match the return type of a gcc2
14976 builtin and then its argument prototype would still apply. */
14978 /* The GNU C library defines this for functions which it implements
14979 to always fail with ENOSYS. Some functions are actually named
14980 something starting with __ and the normal name is an alias. */
14981 #if defined (__stub_shl_load) || defined (__stub___shl_load)
14984 char (*f) () = shl_load;
14993 return f != shl_load;
14998 rm -f conftest.$ac_objext conftest$ac_exeext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15000 (eval $ac_link) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1 >conftest.err
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try='test -z "$ac_c_werror_flag"
15008 || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try='test -s conftest$ac_exeext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 ac_cv_func_shl_load=yes
15022 echo "$as_me: failed program was:" >&5
15023 sed 's/^/| /' conftest.$ac_ext >&5
15025 ac_cv_func_shl_load=no
15027 rm -f conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15030 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15031 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15032 if test $ac_cv_func_shl_load = yes; then
15033 lt_cv_dlopen="shl_load"
15035 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15036 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15037 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15038 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 ac_check_lib_save_LIBS=$LIBS
15042 cat >conftest.$ac_ext <<_ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15049 /* Override any gcc2 internal prototype to avoid an error. */
15053 /* We use char because int might match the return type of a gcc2
15054 builtin and then its argument prototype would still apply. */
15064 rm -f conftest.$ac_objext conftest$ac_exeext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15066 (eval $ac_link) 2>conftest.er1
15068 grep -v '^ *+' conftest.er1 >conftest.err
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } &&
15073 { ac_try='test -z "$ac_c_werror_flag"
15074 || test ! -s conftest.err'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; } &&
15080 { ac_try='test -s conftest$ac_exeext'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; }; then
15086 ac_cv_lib_dld_shl_load=yes
15088 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.$ac_ext >&5
15091 ac_cv_lib_dld_shl_load=no
15093 rm -f conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_check_lib_save_LIBS
15097 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15098 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15099 if test $ac_cv_lib_dld_shl_load = yes; then
15100 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15102 echo "$as_me:$LINENO: checking for dlopen" >&5
15103 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15104 if test "${ac_cv_func_dlopen+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 cat >conftest.$ac_ext <<_ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15115 #define dlopen innocuous_dlopen
15117 /* System header to define __stub macros and hopefully few prototypes,
15118 which can conflict with char dlopen (); below.
15119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15120 <limits.h> exists even on freestanding compilers. */
15123 # include <limits.h>
15125 # include <assert.h>
15130 /* Override any gcc2 internal prototype to avoid an error. */
15135 /* We use char because int might match the return type of a gcc2
15136 builtin and then its argument prototype would still apply. */
15138 /* The GNU C library defines this for functions which it implements
15139 to always fail with ENOSYS. Some functions are actually named
15140 something starting with __ and the normal name is an alias. */
15141 #if defined (__stub_dlopen) || defined (__stub___dlopen)
15144 char (*f) () = dlopen;
15153 return f != dlopen;
15158 rm -f conftest.$ac_objext conftest$ac_exeext
15159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15160 (eval $ac_link) 2>conftest.er1
15162 grep -v '^ *+' conftest.er1 >conftest.err
15164 cat conftest.err >&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try='test -z "$ac_c_werror_flag"
15168 || test ! -s conftest.err'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; } &&
15174 { ac_try='test -s conftest$ac_exeext'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; }; then
15180 ac_cv_func_dlopen=yes
15182 echo "$as_me: failed program was:" >&5
15183 sed 's/^/| /' conftest.$ac_ext >&5
15185 ac_cv_func_dlopen=no
15187 rm -f conftest.err conftest.$ac_objext \
15188 conftest$ac_exeext conftest.$ac_ext
15190 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15191 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15192 if test $ac_cv_func_dlopen = yes; then
15193 lt_cv_dlopen="dlopen"
15195 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15196 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15197 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 ac_check_lib_save_LIBS=$LIBS
15202 cat >conftest.$ac_ext <<_ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15209 /* Override any gcc2 internal prototype to avoid an error. */
15213 /* We use char because int might match the return type of a gcc2
15214 builtin and then its argument prototype would still apply. */
15224 rm -f conftest.$ac_objext conftest$ac_exeext
15225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15226 (eval $ac_link) 2>conftest.er1
15228 grep -v '^ *+' conftest.er1 >conftest.err
15230 cat conftest.err >&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } &&
15233 { ac_try='test -z "$ac_c_werror_flag"
15234 || test ! -s conftest.err'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; } &&
15240 { ac_try='test -s conftest$ac_exeext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 ac_cv_lib_dl_dlopen=yes
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15251 ac_cv_lib_dl_dlopen=no
15253 rm -f conftest.err conftest.$ac_objext \
15254 conftest$ac_exeext conftest.$ac_ext
15255 LIBS=$ac_check_lib_save_LIBS
15257 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15258 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15259 if test $ac_cv_lib_dl_dlopen = yes; then
15260 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15262 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15263 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15264 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 ac_check_lib_save_LIBS=$LIBS
15268 LIBS="-lsvld $LIBS"
15269 cat >conftest.$ac_ext <<_ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15276 /* Override any gcc2 internal prototype to avoid an error. */
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15291 rm -f conftest.$ac_objext conftest$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293 (eval $ac_link) 2>conftest.er1
15295 grep -v '^ *+' conftest.er1 >conftest.err
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -z "$ac_c_werror_flag"
15301 || test ! -s conftest.err'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; } &&
15307 { ac_try='test -s conftest$ac_exeext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_cv_lib_svld_dlopen=yes
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15318 ac_cv_lib_svld_dlopen=no
15320 rm -f conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_lib_save_LIBS
15324 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15325 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15326 if test $ac_cv_lib_svld_dlopen = yes; then
15327 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15329 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15330 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15331 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 ac_check_lib_save_LIBS=$LIBS
15336 cat >conftest.$ac_ext <<_ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15343 /* Override any gcc2 internal prototype to avoid an error. */
15347 /* We use char because int might match the return type of a gcc2
15348 builtin and then its argument prototype would still apply. */
15358 rm -f conftest.$ac_objext conftest$ac_exeext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15360 (eval $ac_link) 2>conftest.er1
15362 grep -v '^ *+' conftest.er1 >conftest.err
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try='test -z "$ac_c_werror_flag"
15368 || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try='test -s conftest$ac_exeext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 ac_cv_lib_dld_dld_link=yes
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15385 ac_cv_lib_dld_dld_link=no
15387 rm -f conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext conftest.$ac_ext
15389 LIBS=$ac_check_lib_save_LIBS
15391 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15392 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15393 if test $ac_cv_lib_dld_dld_link = yes; then
15394 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15415 if test "x$lt_cv_dlopen" != xno; then
15421 case $lt_cv_dlopen in
15423 save_CPPFLAGS="$CPPFLAGS"
15424 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15426 save_LDFLAGS="$LDFLAGS"
15427 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15430 LIBS="$lt_cv_dlopen_libs $LIBS"
15432 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15433 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15434 if test "${lt_cv_dlopen_self+set}" = set; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15437 if test "$cross_compiling" = yes; then :
15438 lt_cv_dlopen_self=cross
15440 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15441 lt_status=$lt_dlunknown
15442 cat > conftest.$ac_ext <<EOF
15443 #line 15443 "configure"
15444 #include "confdefs.h"
15453 # define LT_DLGLOBAL RTLD_GLOBAL
15456 # define LT_DLGLOBAL DL_GLOBAL
15458 # define LT_DLGLOBAL 0
15462 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15463 find out it does not work in some platform. */
15464 #ifndef LT_DLLAZY_OR_NOW
15466 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15469 # define LT_DLLAZY_OR_NOW DL_LAZY
15472 # define LT_DLLAZY_OR_NOW RTLD_NOW
15475 # define LT_DLLAZY_OR_NOW DL_NOW
15477 # define LT_DLLAZY_OR_NOW 0
15485 extern "C" void exit (int);
15488 void fnord() { int i=42;}
15491 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15492 int status = $lt_dlunknown;
15496 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15497 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15498 /* dlclose (self); */
15504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15505 (eval $ac_link) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15509 (./conftest; exit; ) 2>/dev/null
15511 case x$lt_status in
15512 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15513 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15514 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15517 # compilation failed
15518 lt_cv_dlopen_self=no
15525 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15526 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15528 if test "x$lt_cv_dlopen_self" = xyes; then
15529 LDFLAGS="$LDFLAGS $link_static_flag"
15530 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15531 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15532 if test "${lt_cv_dlopen_self_static+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 if test "$cross_compiling" = yes; then :
15536 lt_cv_dlopen_self_static=cross
15538 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15539 lt_status=$lt_dlunknown
15540 cat > conftest.$ac_ext <<EOF
15541 #line 15541 "configure"
15542 #include "confdefs.h"
15551 # define LT_DLGLOBAL RTLD_GLOBAL
15554 # define LT_DLGLOBAL DL_GLOBAL
15556 # define LT_DLGLOBAL 0
15560 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15561 find out it does not work in some platform. */
15562 #ifndef LT_DLLAZY_OR_NOW
15564 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15567 # define LT_DLLAZY_OR_NOW DL_LAZY
15570 # define LT_DLLAZY_OR_NOW RTLD_NOW
15573 # define LT_DLLAZY_OR_NOW DL_NOW
15575 # define LT_DLLAZY_OR_NOW 0
15583 extern "C" void exit (int);
15586 void fnord() { int i=42;}
15589 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15590 int status = $lt_dlunknown;
15594 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15595 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15596 /* dlclose (self); */
15602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15603 (eval $ac_link) 2>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15607 (./conftest; exit; ) 2>/dev/null
15609 case x$lt_status in
15610 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15611 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15612 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15615 # compilation failed
15616 lt_cv_dlopen_self_static=no
15623 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15624 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15627 CPPFLAGS="$save_CPPFLAGS"
15628 LDFLAGS="$save_LDFLAGS"
15633 case $lt_cv_dlopen_self in
15634 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15635 *) enable_dlopen_self=unknown ;;
15638 case $lt_cv_dlopen_self_static in
15639 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15640 *) enable_dlopen_self_static=unknown ;;
15645 # Report which librarie types wil actually be built
15646 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15647 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15648 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15649 echo "${ECHO_T}$can_build_shared" >&6
15651 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15652 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15653 test "$can_build_shared" = "no" && enable_shared=no
15655 # On AIX, shared libraries and static libraries use the same namespace, and
15656 # are all built from PIC.
15659 test "$enable_shared" = yes && enable_static=no
15660 if test -n "$RANLIB"; then
15661 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15662 postinstall_cmds='$RANLIB $lib'
15667 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15668 test "$enable_shared" = yes && enable_static=no
15672 echo "$as_me:$LINENO: result: $enable_shared" >&5
15673 echo "${ECHO_T}$enable_shared" >&6
15675 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15676 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15677 # Make sure either enable_shared or enable_static is yes.
15678 test "$enable_shared" = yes || enable_static=yes
15679 echo "$as_me:$LINENO: result: $enable_static" >&5
15680 echo "${ECHO_T}$enable_static" >&6
15682 # The else clause should only fire when bootstrapping the
15683 # libtool distribution, otherwise you forgot to ship ltmain.sh
15684 # with your package, and you will get complaints that there are
15685 # no rules to generate ltmain.sh.
15686 if test -f "$ltmain"; then
15687 # See if we are running on zsh, and set the options which allow our commands through
15688 # without removal of \ escapes.
15689 if test -n "${ZSH_VERSION+set}" ; then
15690 setopt NO_GLOB_SUBST
15692 # Now quote all the things that may contain metacharacters while being
15693 # careful not to overquote the AC_SUBSTed values. We take copies of the
15694 # variables and quote the copies for generation of the libtool script.
15695 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15697 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15698 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15699 deplibs_check_method reload_flag reload_cmds need_locks \
15700 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15701 lt_cv_sys_global_symbol_to_c_name_address \
15702 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15703 old_postinstall_cmds old_postuninstall_cmds \
15707 lt_prog_compiler_wl \
15708 lt_prog_compiler_pic \
15709 lt_prog_compiler_static \
15710 lt_prog_compiler_no_builtin_flag \
15711 export_dynamic_flag_spec \
15712 thread_safe_flag_spec \
15713 whole_archive_flag_spec \
15714 enable_shared_with_static_runtimes \
15716 old_archive_from_new_cmds \
15721 compiler_lib_search_path \
15723 archive_expsym_cmds \
15725 postuninstall_cmds \
15726 old_archive_from_expsyms_cmds \
15727 allow_undefined_flag \
15728 no_undefined_flag \
15729 export_symbols_cmds \
15730 hardcode_libdir_flag_spec \
15731 hardcode_libdir_flag_spec_ld \
15732 hardcode_libdir_separator \
15733 hardcode_automatic \
15735 module_expsym_cmds \
15736 lt_cv_prog_compiler_c_o \
15738 include_expsyms; do
15741 old_archive_cmds | \
15742 old_archive_from_new_cmds | \
15744 archive_expsym_cmds | \
15746 module_expsym_cmds | \
15747 old_archive_from_expsyms_cmds | \
15748 export_symbols_cmds | \
15749 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15750 postinstall_cmds | postuninstall_cmds | \
15751 old_postinstall_cmds | old_postuninstall_cmds | \
15752 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15753 # Double-quote double-evaled strings.
15754 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15757 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15763 *'\$0 --fallback-echo"')
15764 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15768 cfgfile="${ofile}T"
15769 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
15771 { echo "$as_me:$LINENO: creating $ofile" >&5
15772 echo "$as_me: creating $ofile" >&6;}
15774 cat <<__EOF__ >> "$cfgfile"
15777 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15778 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
15779 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15781 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
15782 # Free Software Foundation, Inc.
15784 # This file is part of GNU Libtool:
15785 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15787 # This program is free software; you can redistribute it and/or modify
15788 # it under the terms of the GNU General Public License as published by
15789 # the Free Software Foundation; either version 2 of the License, or
15790 # (at your option) any later version.
15792 # This program is distributed in the hope that it will be useful, but
15793 # WITHOUT ANY WARRANTY; without even the implied warranty of
15794 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15795 # General Public License for more details.
15797 # You should have received a copy of the GNU General Public License
15798 # along with this program; if not, write to the Free Software
15799 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15801 # As a special exception to the GNU General Public License, if you
15802 # distribute this file as part of a program that contains a
15803 # configuration script generated by Autoconf, you may include it under
15804 # the same distribution terms that you use for the rest of that program.
15806 # A sed program that does not truncate output.
15809 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15810 Xsed="$SED -e 1s/^X//"
15812 # The HP-UX ksh and POSIX shell print the target directory to stdout
15813 # if CDPATH is set.
15814 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15816 # The names of the tagged configurations supported by this script.
15819 # ### BEGIN LIBTOOL CONFIG
15821 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15823 # Shell to use when invoking shell scripts.
15826 # Whether or not to build shared libraries.
15827 build_libtool_libs=$enable_shared
15829 # Whether or not to build static libraries.
15830 build_old_libs=$enable_static
15832 # Whether or not to add -lc for building shared libraries.
15833 build_libtool_need_lc=$archive_cmds_need_lc
15835 # Whether or not to disallow shared libs when runtime libs are static
15836 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15838 # Whether or not to optimize for fast installation.
15839 fast_install=$enable_fast_install
15842 host_alias=$host_alias
15846 # The build system.
15847 build_alias=$build_alias
15851 # An echo program that does not interpret backslashes.
15856 AR_FLAGS=$lt_AR_FLAGS
15861 # A language-specific compiler.
15864 # Is the compiler the GNU C compiler?
15870 # The linker used to build libraries.
15873 # Whether we need hard or soft links.
15876 # A BSD-compatible nm program.
15879 # A symbol stripping program
15882 # Used to examine libraries when file_magic_cmd begins "file"
15883 MAGIC_CMD=$MAGIC_CMD
15885 # Used on cygwin: DLL creation program.
15888 # Used on cygwin: object dumper.
15891 # Used on cygwin: assembler.
15894 # The name of the directory that contains temporary libtool files.
15897 # How to create reloadable object files.
15898 reload_flag=$lt_reload_flag
15899 reload_cmds=$lt_reload_cmds
15901 # How to pass a linker flag through the compiler.
15902 wl=$lt_lt_prog_compiler_wl
15904 # Object file suffix (normally "o").
15905 objext="$ac_objext"
15907 # Old archive suffix (normally "a").
15910 # Shared library suffix (normally ".so").
15911 shrext_cmds='$shrext_cmds'
15913 # Executable file suffix (normally "").
15916 # Additional compiler flags for building library objects.
15917 pic_flag=$lt_lt_prog_compiler_pic
15920 # What is the maximum length of a command?
15921 max_cmd_len=$lt_cv_sys_max_cmd_len
15923 # Does compiler simultaneously support -c and -o options?
15924 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15926 # Must we lock files when doing compilation?
15927 need_locks=$lt_need_locks
15929 # Do we need the lib prefix for modules?
15930 need_lib_prefix=$need_lib_prefix
15932 # Do we need a version for libraries?
15933 need_version=$need_version
15935 # Whether dlopen is supported.
15936 dlopen_support=$enable_dlopen
15938 # Whether dlopen of programs is supported.
15939 dlopen_self=$enable_dlopen_self
15941 # Whether dlopen of statically linked programs is supported.
15942 dlopen_self_static=$enable_dlopen_self_static
15944 # Compiler flag to prevent dynamic linking.
15945 link_static_flag=$lt_lt_prog_compiler_static
15947 # Compiler flag to turn off builtin functions.
15948 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15950 # Compiler flag to allow reflexive dlopens.
15951 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15953 # Compiler flag to generate shared objects directly from archives.
15954 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15956 # Compiler flag to generate thread-safe objects.
15957 thread_safe_flag_spec=$lt_thread_safe_flag_spec
15959 # Library versioning type.
15960 version_type=$version_type
15962 # Format of library name prefix.
15963 libname_spec=$lt_libname_spec
15965 # List of archive names. First name is the real one, the rest are links.
15966 # The last name is the one that the linker finds with -lNAME.
15967 library_names_spec=$lt_library_names_spec
15969 # The coded name of the library, if different from the real name.
15970 soname_spec=$lt_soname_spec
15972 # Commands used to build and install an old-style archive.
15974 old_archive_cmds=$lt_old_archive_cmds
15975 old_postinstall_cmds=$lt_old_postinstall_cmds
15976 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15978 # Create an old-style archive from a shared archive.
15979 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15981 # Create a temporary old-style archive to link instead of a shared archive.
15982 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15984 # Commands used to build and install a shared archive.
15985 archive_cmds=$lt_archive_cmds
15986 archive_expsym_cmds=$lt_archive_expsym_cmds
15987 postinstall_cmds=$lt_postinstall_cmds
15988 postuninstall_cmds=$lt_postuninstall_cmds
15990 # Commands used to build a loadable module (assumed same as above if empty)
15991 module_cmds=$lt_module_cmds
15992 module_expsym_cmds=$lt_module_expsym_cmds
15994 # Commands to strip libraries.
15995 old_striplib=$lt_old_striplib
15996 striplib=$lt_striplib
15998 # Dependencies to place before the objects being linked to create a
16000 predep_objects=$lt_predep_objects
16002 # Dependencies to place after the objects being linked to create a
16004 postdep_objects=$lt_postdep_objects
16006 # Dependencies to place before the objects being linked to create a
16008 predeps=$lt_predeps
16010 # Dependencies to place after the objects being linked to create a
16012 postdeps=$lt_postdeps
16014 # The library search path used internally by the compiler when linking
16015 # a shared library.
16016 compiler_lib_search_path=$lt_compiler_lib_search_path
16018 # Method to check whether dependent libraries are shared objects.
16019 deplibs_check_method=$lt_deplibs_check_method
16021 # Command to use when deplibs_check_method == file_magic.
16022 file_magic_cmd=$lt_file_magic_cmd
16024 # Flag that allows shared libraries with undefined symbols to be built.
16025 allow_undefined_flag=$lt_allow_undefined_flag
16027 # Flag that forces no undefined symbols.
16028 no_undefined_flag=$lt_no_undefined_flag
16030 # Commands used to finish a libtool library installation in a directory.
16031 finish_cmds=$lt_finish_cmds
16033 # Same as above, but a single script fragment to be evaled but not shown.
16034 finish_eval=$lt_finish_eval
16036 # Take the output of nm and produce a listing of raw symbols and C names.
16037 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16039 # Transform the output of nm in a proper C declaration
16040 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16042 # Transform the output of nm in a C name address pair
16043 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16045 # This is the shared library runtime path variable.
16046 runpath_var=$runpath_var
16048 # This is the shared library path variable.
16049 shlibpath_var=$shlibpath_var
16051 # Is shlibpath searched before the hard-coded library search path?
16052 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16054 # How to hardcode a shared library path into an executable.
16055 hardcode_action=$hardcode_action
16057 # Whether we should hardcode library paths into libraries.
16058 hardcode_into_libs=$hardcode_into_libs
16060 # Flag to hardcode \$libdir into a binary during linking.
16061 # This must work even if \$libdir does not exist.
16062 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16064 # If ld is used when linking, flag to hardcode \$libdir into
16065 # a binary during linking. This must work even if \$libdir does
16067 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16069 # Whether we need a single -rpath flag with a separated argument.
16070 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16072 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16073 # resulting binary.
16074 hardcode_direct=$hardcode_direct
16076 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16077 # resulting binary.
16078 hardcode_minus_L=$hardcode_minus_L
16080 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16081 # the resulting binary.
16082 hardcode_shlibpath_var=$hardcode_shlibpath_var
16084 # Set to yes if building a shared library automatically hardcodes DIR into the library
16085 # and all subsequent libraries and executables linked against it.
16086 hardcode_automatic=$hardcode_automatic
16088 # Variables whose values should be saved in libtool wrapper scripts and
16089 # restored at relink time.
16090 variables_saved_for_relink="$variables_saved_for_relink"
16092 # Whether libtool must link a program against all its dependency libraries.
16093 link_all_deplibs=$link_all_deplibs
16095 # Compile-time system search path for libraries
16096 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16098 # Run-time system search path for libraries
16099 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16101 # Fix the shell variable \$srcfile for the compiler.
16102 fix_srcfile_path="$fix_srcfile_path"
16104 # Set to yes if exported symbols are required.
16105 always_export_symbols=$always_export_symbols
16107 # The commands to list exported symbols.
16108 export_symbols_cmds=$lt_export_symbols_cmds
16110 # The commands to extract the exported symbol list from a shared archive.
16111 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16113 # Symbols that should not be listed in the preloaded symbols.
16114 exclude_expsyms=$lt_exclude_expsyms
16116 # Symbols that must always be exported.
16117 include_expsyms=$lt_include_expsyms
16119 # ### END LIBTOOL CONFIG
16126 cat <<\EOF >> "$cfgfile"
16128 # AIX sometimes has problems with the GCC collect2 program. For some
16129 # reason, if we set the COLLECT_NAMES environment variable, the problems
16130 # vanish in a puff of smoke.
16131 if test "X${COLLECT_NAMES+set}" != Xset; then
16133 export COLLECT_NAMES
16139 # We use sed instead of cat because bash on DJGPP gets confused if
16140 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16141 # text mode, it properly converts lines to CR/LF. This bash problem
16142 # is reportedly fixed, but why not run on old versions too?
16143 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
16145 mv -f "$cfgfile" "$ofile" || \
16146 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16150 # If there is no Makefile yet, we rely on a make rule to execute
16151 # `config.status --recheck' to rerun these tests and create the
16152 # libtool script then.
16153 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16154 if test -f "$ltmain_in"; then
16155 test -f Makefile && make "$ltmain"
16161 ac_cpp='$CPP $CPPFLAGS'
16162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16169 # Check whether --with-tags or --without-tags was given.
16170 if test "${with_tags+set}" = set; then
16171 withval="$with_tags"
16172 tagnames="$withval"
16175 if test -f "$ltmain" && test -n "$tagnames"; then
16176 if test ! -f "${ofile}"; then
16177 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
16178 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
16181 if test -z "$LTCC"; then
16182 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16183 if test -z "$LTCC"; then
16184 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
16185 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
16187 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
16188 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
16192 # Extract list of available tagged configurations in $ofile.
16193 # Note that this assumes the entire list is on one line.
16194 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16197 for tagname in $tagnames; do
16199 # Check whether tagname contains only valid characters
16200 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
16202 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
16203 echo "$as_me: error: invalid tag name: $tagname" >&2;}
16204 { (exit 1); exit 1; }; }
16208 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
16210 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
16211 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
16212 { (exit 1); exit 1; }; }
16215 # Update the list of available tags.
16216 if test -n "$tagname"; then
16217 echo appending configuration tag \"$tagname\" to $ofile
16221 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16222 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16223 (test "X$CXX" != "Xg++"))) ; then
16225 ac_cpp='$CXXCPP $CPPFLAGS'
16226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16233 archive_cmds_need_lc_CXX=no
16234 allow_undefined_flag_CXX=
16235 always_export_symbols_CXX=no
16236 archive_expsym_cmds_CXX=
16237 export_dynamic_flag_spec_CXX=
16238 hardcode_direct_CXX=no
16239 hardcode_libdir_flag_spec_CXX=
16240 hardcode_libdir_flag_spec_ld_CXX=
16241 hardcode_libdir_separator_CXX=
16242 hardcode_minus_L_CXX=no
16243 hardcode_automatic_CXX=no
16245 module_expsym_cmds_CXX=
16246 link_all_deplibs_CXX=unknown
16247 old_archive_cmds_CXX=$old_archive_cmds
16248 no_undefined_flag_CXX=
16249 whole_archive_flag_spec_CXX=
16250 enable_shared_with_static_runtimes_CXX=no
16252 # Dependencies to place before and after the object being linked:
16253 predep_objects_CXX=
16254 postdep_objects_CXX=
16257 compiler_lib_search_path_CXX=
16259 # Source file extension for C++ test sources.
16262 # Object file extension for compiled C++ test sources.
16266 # Code to be used in simple compile tests
16267 lt_simple_compile_test_code="int some_variable = 0;\n"
16269 # Code to be used in simple link tests
16270 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
16272 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16274 # If no C compiler was specified, use CC.
16277 # Allow CC to be a program name with arguments.
16281 # save warnings/boilerplate of simple test code
16282 ac_outfile=conftest.$ac_objext
16283 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16284 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16285 _lt_compiler_boilerplate=`cat conftest.err`
16288 ac_outfile=conftest.$ac_objext
16289 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16290 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16291 _lt_linker_boilerplate=`cat conftest.err`
16295 # Allow CC to be a program name with arguments.
16300 lt_save_with_gnu_ld=$with_gnu_ld
16301 lt_save_path_LD=$lt_cv_path_LD
16302 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16303 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16305 unset lt_cv_prog_gnu_ld
16307 if test -n "${lt_cv_path_LDCXX+set}"; then
16308 lt_cv_path_LD=$lt_cv_path_LDCXX
16310 unset lt_cv_path_LD
16312 test -z "${LDCXX+set}" || LD=$LDCXX
16316 for cc_temp in $compiler""; do
16318 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16319 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16324 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16327 # We don't want -fno-exception wen compiling C++ code, so set the
16328 # no_builtin_flag separately
16329 if test "$GXX" = yes; then
16330 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16332 lt_prog_compiler_no_builtin_flag_CXX=
16335 if test "$GXX" = yes; then
16336 # Set up default GNU C++ configuration
16339 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16340 if test "${with_gnu_ld+set}" = set; then
16341 withval="$with_gnu_ld"
16342 test "$withval" = no || with_gnu_ld=yes
16347 if test "$GCC" = yes; then
16348 # Check if gcc -print-prog-name=ld gives a path.
16349 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16350 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16353 # gcc leaves a trailing carriage return which upsets mingw
16354 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16356 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16359 # Accept absolute paths.
16361 re_direlt='/[^/][^/]*/\.\./'
16362 # Canonicalize the pathname of ld
16363 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16364 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16365 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16367 test -z "$LD" && LD="$ac_prog"
16370 # If it fails, then pretend we aren't using GCC.
16374 # If it is relative, then search for the first ld in PATH.
16375 with_gnu_ld=unknown
16378 elif test "$with_gnu_ld" = yes; then
16379 echo "$as_me:$LINENO: checking for GNU ld" >&5
16380 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16382 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16383 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16385 if test "${lt_cv_path_LD+set}" = set; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 if test -z "$LD"; then
16389 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16390 for ac_dir in $PATH; do
16392 test -z "$ac_dir" && ac_dir=.
16393 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16394 lt_cv_path_LD="$ac_dir/$ac_prog"
16395 # Check to see if the program is GNU ld. I'd rather use --version,
16396 # but apparently some GNU ld's only accept -v.
16397 # Break only if it was the GNU/non-GNU ld that we prefer.
16398 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16399 *GNU* | *'with BFD'*)
16400 test "$with_gnu_ld" != no && break
16403 test "$with_gnu_ld" != yes && break
16410 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16414 LD="$lt_cv_path_LD"
16415 if test -n "$LD"; then
16416 echo "$as_me:$LINENO: result: $LD" >&5
16417 echo "${ECHO_T}$LD" >&6
16419 echo "$as_me:$LINENO: result: no" >&5
16420 echo "${ECHO_T}no" >&6
16422 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16423 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16424 { (exit 1); exit 1; }; }
16425 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16426 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16427 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16431 case `$LD -v 2>&1 </dev/null` in
16432 *GNU* | *'with BFD'*)
16433 lt_cv_prog_gnu_ld=yes
16436 lt_cv_prog_gnu_ld=no
16440 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16441 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
16442 with_gnu_ld=$lt_cv_prog_gnu_ld
16446 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16447 # archiving commands below assume that GNU ld is being used.
16448 if test "$with_gnu_ld" = yes; then
16449 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16450 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'
16452 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16453 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16455 # If archive_cmds runs LD, not CC, wlarc should be empty
16456 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16457 # investigate it a little bit more. (MM)
16460 # ancient GNU ld didn't support --whole-archive et. al.
16461 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16462 grep 'no-whole-archive' > /dev/null; then
16463 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16465 whole_archive_flag_spec_CXX=
16471 # A generic and very simple default shared library creation
16472 # command for GNU C++ for the case where it uses the native
16473 # linker, instead of GNU ld. If possible, this setting should
16474 # overridden to take advantage of the native linker features on
16475 # the platform it is being used on.
16476 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16479 # Commands to make compiler produce verbose output that lists
16480 # what "hidden" libraries, object files and flags are used when
16481 # linking a shared library.
16482 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16490 # PORTME: fill in a description of your system's C++ link characteristics
16491 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16492 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16496 # FIXME: insert proper C++ library support
16500 if test "$host_cpu" = ia64; then
16501 # On IA64, the linker does run time linking by default, so we don't
16502 # have to do anything special.
16503 aix_use_runtimelinking=no
16504 exp_sym_flag='-Bexport'
16507 aix_use_runtimelinking=no
16509 # Test if we are trying to use run time linking or normal
16510 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16511 # need to do runtime linking.
16512 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16513 for ld_flag in $LDFLAGS; do
16516 aix_use_runtimelinking=yes
16523 exp_sym_flag='-bexport'
16524 no_entry_flag='-bnoentry'
16527 # When large executables or shared objects are built, AIX ld can
16528 # have problems creating the table of contents. If linking a library
16529 # or program results in "error TOC overflow" add -mminimal-toc to
16530 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16531 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16533 archive_cmds_CXX=''
16534 hardcode_direct_CXX=yes
16535 hardcode_libdir_separator_CXX=':'
16536 link_all_deplibs_CXX=yes
16538 if test "$GXX" = yes; then
16539 case $host_os in aix4.[012]|aix4.[012].*)
16540 # We only want to do this on AIX 4.2 and lower, the check
16541 # below for broken collect2 doesn't work under 4.3+
16542 collect2name=`${CC} -print-prog-name=collect2`
16543 if test -f "$collect2name" && \
16544 strings "$collect2name" | grep resolve_lib_name >/dev/null
16546 # We have reworked collect2
16547 hardcode_direct_CXX=yes
16549 # We have old collect2
16550 hardcode_direct_CXX=unsupported
16551 # It fails to find uninstalled libraries when the uninstalled
16552 # path is not listed in the libpath. Setting hardcode_minus_L
16553 # to unsupported forces relinking
16554 hardcode_minus_L_CXX=yes
16555 hardcode_libdir_flag_spec_CXX='-L$libdir'
16556 hardcode_libdir_separator_CXX=
16559 shared_flag='-shared'
16560 if test "$aix_use_runtimelinking" = yes; then
16561 shared_flag="$shared_flag "'${wl}-G'
16565 if test "$host_cpu" = ia64; then
16566 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16567 # chokes on -Wl,-G. The following line is correct:
16570 if test "$aix_use_runtimelinking" = yes; then
16571 shared_flag='${wl}-G'
16573 shared_flag='${wl}-bM:SRE'
16578 # It seems that -bexpall does not export symbols beginning with
16579 # underscore (_), so it is better to generate a list of symbols to export.
16580 always_export_symbols_CXX=yes
16581 if test "$aix_use_runtimelinking" = yes; then
16582 # Warning - without using the other runtime loading flags (-brtl),
16583 # -berok will link without error, but may produce a broken library.
16584 allow_undefined_flag_CXX='-berok'
16585 # Determine the default libpath from the value encoded in an empty executable.
16586 cat >conftest.$ac_ext <<_ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16601 rm -f conftest.$ac_objext conftest$ac_exeext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16603 (eval $ac_link) 2>conftest.er1
16605 grep -v '^ *+' conftest.er1 >conftest.err
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try='test -z "$ac_cxx_werror_flag"
16611 || test ! -s conftest.err'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; } &&
16617 { ac_try='test -s conftest$ac_exeext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16624 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16626 # Check for a 64-bit object if we didn't find anything.
16627 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; }
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.$ac_ext >&5
16634 rm -f conftest.err conftest.$ac_objext \
16635 conftest$ac_exeext conftest.$ac_ext
16636 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16638 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16640 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16642 if test "$host_cpu" = ia64; then
16643 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16644 allow_undefined_flag_CXX="-z nodefs"
16645 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16647 # Determine the default libpath from the value encoded in an empty executable.
16648 cat >conftest.$ac_ext <<_ACEOF
16651 cat confdefs.h >>conftest.$ac_ext
16652 cat >>conftest.$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16663 rm -f conftest.$ac_objext conftest$ac_exeext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16665 (eval $ac_link) 2>conftest.er1
16667 grep -v '^ *+' conftest.er1 >conftest.err
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try='test -z "$ac_cxx_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try='test -s conftest$ac_exeext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16686 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16688 # Check for a 64-bit object if we didn't find anything.
16689 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; }
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16696 rm -f conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16698 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16700 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16701 # Warning - without using the other run time loading flags,
16702 # -berok will link without error, but may produce a broken library.
16703 no_undefined_flag_CXX=' ${wl}-bernotok'
16704 allow_undefined_flag_CXX=' ${wl}-berok'
16705 # -bexpall does not export symbols beginning with underscore (_)
16706 always_export_symbols_CXX=yes
16707 # Exported symbols can be pulled into shared objects from archives
16708 whole_archive_flag_spec_CXX=' '
16709 archive_cmds_need_lc_CXX=yes
16710 # This is similar to how AIX traditionally builds it's shared libraries.
16711 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16716 case $cc_basename in
16718 # FIXME: insert proper C++ library support
16725 cygwin* | mingw* | pw32*)
16726 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16727 # as there is no search path for DLLs.
16728 hardcode_libdir_flag_spec_CXX='-L$libdir'
16729 allow_undefined_flag_CXX=unsupported
16730 always_export_symbols_CXX=no
16731 enable_shared_with_static_runtimes_CXX=yes
16733 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16734 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16735 # If the export-symbols file already is a .def file (1st line
16736 # is EXPORTS), use it as is; otherwise, prepend...
16737 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16738 cp $export_symbols $output_objdir/$soname.def;
16740 echo EXPORTS > $output_objdir/$soname.def;
16741 cat $export_symbols >> $output_objdir/$soname.def;
16743 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16748 darwin* | rhapsody*)
16750 rhapsody* | darwin1.[012])
16751 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
16754 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16755 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16757 case ${MACOSX_DEPLOYMENT_TARGET} in
16759 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16762 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
16768 archive_cmds_need_lc_CXX=no
16769 hardcode_direct_CXX=no
16770 hardcode_automatic_CXX=yes
16771 hardcode_shlibpath_var_CXX=unsupported
16772 whole_archive_flag_spec_CXX=''
16773 link_all_deplibs_CXX=yes
16775 if test "$GXX" = yes ; then
16776 lt_int_apple_cc_single_mod=no
16777 output_verbose_link_cmd='echo'
16778 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
16779 lt_int_apple_cc_single_mod=yes
16781 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16782 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16784 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'
16786 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16787 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16788 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16789 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}'
16791 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}'
16793 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}'
16795 case $cc_basename in
16797 output_verbose_link_cmd='echo'
16798 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'
16799 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16800 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16801 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}'
16802 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}'
16812 case $cc_basename in
16814 # FIXME: insert proper C++ library support
16818 # Green Hills C++ Compiler
16819 # FIXME: insert proper C++ library support
16823 # FIXME: insert proper C++ library support
16829 # C++ shared libraries reported to be fairly broken before switch to ELF
16833 archive_cmds_need_lc_CXX=no
16835 freebsd* | kfreebsd*-gnu | dragonfly*)
16836 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16843 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16844 hardcode_libdir_separator_CXX=:
16845 export_dynamic_flag_spec_CXX='${wl}-E'
16846 hardcode_direct_CXX=yes
16847 hardcode_minus_L_CXX=yes # Not in the search PATH,
16848 # but as the default
16849 # location of the library.
16851 case $cc_basename in
16853 # FIXME: insert proper C++ library support
16857 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'
16858 # Commands to make compiler produce verbose output that lists
16859 # what "hidden" libraries, object files and flags are used when
16860 # linking a shared library.
16862 # There doesn't appear to be a way to prevent this compiler from
16863 # explicitly linking system object files so we need to strip them
16864 # from the output so that they don't get included in the library
16866 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'
16869 if test "$GXX" = yes; then
16870 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'
16872 # FIXME: insert proper C++ library support
16879 if test $with_gnu_ld = no; then
16880 case "$host_cpu" in
16882 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16883 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
16884 hardcode_libdir_separator_CXX=:
16887 hardcode_libdir_flag_spec_CXX='-L$libdir'
16890 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16891 hardcode_libdir_separator_CXX=:
16892 export_dynamic_flag_spec_CXX='${wl}-E'
16896 case "$host_cpu" in
16898 hardcode_direct_CXX=no
16899 hardcode_shlibpath_var_CXX=no
16902 hardcode_direct_CXX=no
16903 hardcode_shlibpath_var_CXX=no
16904 hardcode_minus_L_CXX=yes # Not in the search PATH,
16905 # but as the default
16906 # location of the library.
16909 hardcode_direct_CXX=yes
16910 hardcode_minus_L_CXX=yes # Not in the search PATH,
16911 # but as the default
16912 # location of the library.
16916 case $cc_basename in
16918 # FIXME: insert proper C++ library support
16922 case "$host_cpu" in
16924 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16927 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16930 # Commands to make compiler produce verbose output that lists
16931 # what "hidden" libraries, object files and flags are used when
16932 # linking a shared library.
16934 # There doesn't appear to be a way to prevent this compiler from
16935 # explicitly linking system object files so we need to strip them
16936 # from the output so that they don't get included in the library
16938 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'
16941 if test "$GXX" = yes; then
16942 if test $with_gnu_ld = no; then
16943 case "$host_cpu" in
16945 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16948 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'
16953 # FIXME: insert proper C++ library support
16960 case $cc_basename in
16963 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'
16965 # Archives containing C++ object files must be created using
16966 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16967 # necessary to make sure instantiated templates are included
16969 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16972 if test "$GXX" = yes; then
16973 if test "$with_gnu_ld" = no; then
16974 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'
16976 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'
16979 link_all_deplibs_CXX=yes
16982 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16983 hardcode_libdir_separator_CXX=:
16986 case $cc_basename in
16988 # Kuck and Associates, Inc. (KAI) C++ Compiler
16990 # KCC will only create a shared library if the output file
16991 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16992 # to its proper name (with version) after linking.
16993 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'
16994 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'
16995 # Commands to make compiler produce verbose output that lists
16996 # what "hidden" libraries, object files and flags are used when
16997 # linking a shared library.
16999 # There doesn't appear to be a way to prevent this compiler from
17000 # explicitly linking system object files so we need to strip them
17001 # from the output so that they don't get included in the library
17003 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'
17005 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
17006 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17008 # Archives containing C++ object files must be created using
17009 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17010 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17015 # version 8.0 and above of icpc choke on multiply defined symbols
17016 # if we add $predep_objects and $postdep_objects, however 7.1 and
17017 # earlier do not add the objects themselves.
17018 case `$CC -V 2>&1` in
17020 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17021 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'
17023 *) # Version 8.0 or newer
17026 ia64*) tmp_idyn=' -i_dynamic';;
17028 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17029 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'
17032 archive_cmds_need_lc_CXX=no
17033 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17034 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17035 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17038 # Portland Group C++ compiler
17039 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17040 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'
17042 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
17043 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17044 whole_archive_flag_spec_CXX=''
17048 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17049 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'
17051 runpath_var=LD_RUN_PATH
17052 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17053 hardcode_libdir_separator_CXX=:
17055 # Commands to make compiler produce verbose output that lists
17056 # what "hidden" libraries, object files and flags are used when
17057 # linking a shared library.
17059 # There doesn't appear to be a way to prevent this compiler from
17060 # explicitly linking system object files so we need to strip them
17061 # from the output so that they don't get included in the library
17063 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'
17068 # FIXME: insert proper C++ library support
17072 # FIXME: insert proper C++ library support
17076 case $cc_basename in
17078 # FIXME: insert proper C++ library support
17082 # FIXME: insert proper C++ library support
17088 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17089 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17091 hardcode_libdir_flag_spec_CXX='-R$libdir'
17092 hardcode_direct_CXX=yes
17093 hardcode_shlibpath_var_CXX=no
17095 # Workaround some broken pre-1.5 toolchains
17096 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17099 # C++ shared libraries are fairly broken
17103 hardcode_direct_CXX=yes
17104 hardcode_shlibpath_var_CXX=no
17105 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17106 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17107 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17108 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17109 export_dynamic_flag_spec_CXX='${wl}-E'
17110 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17112 output_verbose_link_cmd='echo'
17115 case $cc_basename in
17117 # Kuck and Associates, Inc. (KAI) C++ Compiler
17119 # KCC will only create a shared library if the output file
17120 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17121 # to its proper name (with version) after linking.
17122 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'
17124 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17125 hardcode_libdir_separator_CXX=:
17127 # Archives containing C++ object files must be created using
17128 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17129 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17133 # Rational C++ 2.4.1
17134 # FIXME: insert proper C++ library support
17138 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17139 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'
17141 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17142 hardcode_libdir_separator_CXX=:
17144 # Commands to make compiler produce verbose output that lists
17145 # what "hidden" libraries, object files and flags are used when
17146 # linking a shared library.
17148 # There doesn't appear to be a way to prevent this compiler from
17149 # explicitly linking system object files so we need to strip them
17150 # from the output so that they don't get included in the library
17152 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'
17155 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17156 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17157 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'
17159 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17160 hardcode_libdir_separator_CXX=:
17162 # Commands to make compiler produce verbose output that lists
17163 # what "hidden" libraries, object files and flags are used when
17164 # linking a shared library.
17165 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17168 # FIXME: insert proper C++ library support
17175 case $cc_basename in
17177 # Kuck and Associates, Inc. (KAI) C++ Compiler
17179 # KCC will only create a shared library if the output file
17180 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17181 # to its proper name (with version) after linking.
17182 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'
17184 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17185 hardcode_libdir_separator_CXX=:
17187 # Archives containing C++ object files must be created using
17188 # the KAI C++ compiler.
17189 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
17192 # Rational C++ 2.4.1
17193 # FIXME: insert proper C++ library support
17197 allow_undefined_flag_CXX=' -expect_unresolved \*'
17198 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'
17199 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17200 echo "-hidden">> $lib.exp~
17201 $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~
17204 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17205 hardcode_libdir_separator_CXX=:
17207 # Commands to make compiler produce verbose output that lists
17208 # what "hidden" libraries, object files and flags are used when
17209 # linking a shared library.
17211 # There doesn't appear to be a way to prevent this compiler from
17212 # explicitly linking system object files so we need to strip them
17213 # from the output so that they don't get included in the library
17215 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'
17218 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17219 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17220 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'
17222 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17223 hardcode_libdir_separator_CXX=:
17225 # Commands to make compiler produce verbose output that lists
17226 # what "hidden" libraries, object files and flags are used when
17227 # linking a shared library.
17228 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17231 # FIXME: insert proper C++ library support
17238 # FIXME: insert proper C++ library support
17242 archive_cmds_need_lc_CXX=no
17243 case $cc_basename in
17245 # FIXME: insert proper C++ library support
17249 # FIXME: insert proper C++ library support
17255 case $cc_basename in
17258 # FIXME: insert proper C++ library support
17263 # FIXME: insert proper C++ library support
17267 # FIXME: insert proper C++ library support
17273 case $cc_basename in
17275 # Sun C++ 4.2, 5.x and Centerline C++
17276 no_undefined_flag_CXX=' -zdefs'
17277 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17278 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17279 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17281 hardcode_libdir_flag_spec_CXX='-R$libdir'
17282 hardcode_shlibpath_var_CXX=no
17284 solaris2.[0-5] | solaris2.[0-5].*) ;;
17286 # The C++ compiler is used as linker so we must use $wl
17287 # flag to pass the commands to the underlying system
17288 # linker. We must also pass each convience library through
17289 # to the system linker between allextract/defaultextract.
17290 # The C++ compiler will combine linker options so we
17291 # cannot just pass the convience library names through
17293 # Supported since Solaris 2.6 (maybe 2.5.1?)
17294 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'
17297 link_all_deplibs_CXX=yes
17299 # Commands to make compiler produce verbose output that lists
17300 # what "hidden" libraries, object files and flags are used when
17301 # linking a shared library.
17303 # There doesn't appear to be a way to prevent this compiler from
17304 # explicitly linking system object files so we need to strip them
17305 # from the output so that they don't get included in the library
17307 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
17309 # Archives containing C++ object files must be created using
17310 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17311 # necessary to make sure instantiated templates are included
17313 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17316 # Green Hills C++ Compiler
17317 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17319 # The C++ compiler must be used to create the archive.
17320 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17323 # GNU C++ compiler with Solaris linker
17324 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17325 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17326 if $CC --version | grep -v '^2\.7' > /dev/null; then
17327 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17328 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17329 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17331 # Commands to make compiler produce verbose output that lists
17332 # what "hidden" libraries, object files and flags are used when
17333 # linking a shared library.
17334 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17336 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17338 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17339 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17340 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17342 # Commands to make compiler produce verbose output that lists
17343 # what "hidden" libraries, object files and flags are used when
17344 # linking a shared library.
17345 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17348 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17353 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17354 archive_cmds_need_lc_CXX=no
17357 case $cc_basename in
17359 # NonStop-UX NCC 3.20
17360 # FIXME: insert proper C++ library support
17364 # FIXME: insert proper C++ library support
17370 # FIXME: insert proper C++ library support
17374 # FIXME: insert proper C++ library support
17378 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17379 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17380 test "$ld_shlibs_CXX" = no && can_build_shared=no
17386 cat > conftest.$ac_ext <<EOF
17390 Foo (void) { a = 0; }
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; then
17401 # Parse the compiler output and extract the necessary
17402 # objects, libraries and library flags.
17404 # Sentinel used to keep track of whether or not we are before
17405 # the conftest object file.
17406 pre_test_object_deps_done=no
17408 # The `*' in the case matches for architectures that use `case' in
17409 # $output_verbose_cmd can trigger glob expansion during the loop
17410 # eval without this substitution.
17411 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
17413 for p in `eval $output_verbose_link_cmd`; do
17417 # Some compilers place space between "-{L,R}" and the path.
17418 # Remove the space.
17419 if test $p = "-L" \
17420 || test $p = "-R"; then
17427 if test "$pre_test_object_deps_done" = no; then
17430 # Internal compiler library paths should come after those
17431 # provided the user. The postdeps already come after the
17432 # user supplied libs so there is no need to process them.
17433 if test -z "$compiler_lib_search_path_CXX"; then
17434 compiler_lib_search_path_CXX="${prev}${p}"
17436 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17439 # The "-l" case would never come before the object being
17440 # linked, so don't bother handling this case.
17443 if test -z "$postdeps_CXX"; then
17444 postdeps_CXX="${prev}${p}"
17446 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17452 # This assumes that the test object file only shows up
17453 # once in the compiler output.
17454 if test "$p" = "conftest.$objext"; then
17455 pre_test_object_deps_done=yes
17459 if test "$pre_test_object_deps_done" = no; then
17460 if test -z "$predep_objects_CXX"; then
17461 predep_objects_CXX="$p"
17463 predep_objects_CXX="$predep_objects_CXX $p"
17466 if test -z "$postdep_objects_CXX"; then
17467 postdep_objects_CXX="$p"
17469 postdep_objects_CXX="$postdep_objects_CXX $p"
17474 *) ;; # Ignore the rest.
17482 echo "libtool.m4: error: problem compiling CXX test program"
17485 $rm -f confest.$objext
17487 case " $postdeps_CXX " in
17488 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17491 lt_prog_compiler_wl_CXX=
17492 lt_prog_compiler_pic_CXX=
17493 lt_prog_compiler_static_CXX=
17495 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17496 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17498 # C++ specific cases for pic, static, wl, etc.
17499 if test "$GXX" = yes; then
17500 lt_prog_compiler_wl_CXX='-Wl,'
17501 lt_prog_compiler_static_CXX='-static'
17505 # All AIX code is PIC.
17506 if test "$host_cpu" = ia64; then
17507 # AIX 5 now supports IA64 processor
17508 lt_prog_compiler_static_CXX='-Bstatic'
17512 # FIXME: we need at least 68020 code to build shared libraries, but
17513 # adding the `-m68020' flag to GCC prevents building anything better,
17515 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17517 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17518 # PIC is the default for these OSes.
17520 mingw* | os2* | pw32*)
17521 # This hack is so that the source file can tell whether it is being
17522 # built for inclusion in a dll (and should export symbols for example).
17523 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17525 darwin* | rhapsody*)
17526 # PIC is the default on this platform
17527 # Common symbols not allowed in MH_DYLIB files
17528 lt_prog_compiler_pic_CXX='-fno-common'
17531 # DJGPP does not support shared libraries at all
17532 lt_prog_compiler_pic_CXX=
17535 if test -d /usr/nec; then
17536 lt_prog_compiler_pic_CXX=-Kconform_pic
17540 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17541 # not for PA HP-UX.
17542 case "$host_cpu" in
17546 lt_prog_compiler_pic_CXX='-fPIC'
17551 lt_prog_compiler_pic_CXX='-fPIC'
17557 # All AIX code is PIC.
17558 if test "$host_cpu" = ia64; then
17559 # AIX 5 now supports IA64 processor
17560 lt_prog_compiler_static_CXX='-Bstatic'
17562 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17566 case $cc_basename in
17568 # Green Hills C++ Compiler
17569 # _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"
17574 # PIC is the default on this platform
17575 # Common symbols not allowed in MH_DYLIB files
17576 case $cc_basename in
17578 lt_prog_compiler_pic_CXX='-qnocommon'
17579 lt_prog_compiler_wl_CXX='-Wl,'
17584 case $cc_basename in
17586 lt_prog_compiler_pic_CXX='-KPIC'
17589 # Green Hills C++ Compiler
17590 lt_prog_compiler_pic_CXX='-pic'
17596 freebsd* | kfreebsd*-gnu | dragonfly*)
17597 # FreeBSD uses GNU C++
17599 hpux9* | hpux10* | hpux11*)
17600 case $cc_basename in
17602 lt_prog_compiler_wl_CXX='-Wl,'
17603 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17604 if test "$host_cpu" != ia64; then
17605 lt_prog_compiler_pic_CXX='+Z'
17609 lt_prog_compiler_wl_CXX='-Wl,'
17610 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17611 case "$host_cpu" in
17616 lt_prog_compiler_pic_CXX='+Z'
17624 irix5* | irix6* | nonstopux*)
17625 case $cc_basename in
17627 lt_prog_compiler_wl_CXX='-Wl,'
17628 lt_prog_compiler_static_CXX='-non_shared'
17629 # CC pic flag -KPIC is the default.
17636 case $cc_basename in
17639 lt_prog_compiler_wl_CXX='--backend -Wl,'
17640 lt_prog_compiler_pic_CXX='-fPIC'
17644 lt_prog_compiler_wl_CXX='-Wl,'
17645 lt_prog_compiler_pic_CXX='-KPIC'
17646 lt_prog_compiler_static_CXX='-static'
17649 # Portland Group C++ compiler.
17650 lt_prog_compiler_wl_CXX='-Wl,'
17651 lt_prog_compiler_pic_CXX='-fpic'
17652 lt_prog_compiler_static_CXX='-static'
17656 # Make sure the PIC flag is empty. It appears that all Alpha
17657 # Linux and Compaq Tru64 Unix objects are PIC.
17658 lt_prog_compiler_pic_CXX=
17659 lt_prog_compiler_static_CXX='-non_shared'
17670 case $cc_basename in
17672 lt_prog_compiler_pic_CXX='-W c,exportall'
17680 osf3* | osf4* | osf5*)
17681 case $cc_basename in
17683 lt_prog_compiler_wl_CXX='--backend -Wl,'
17686 # Rational C++ 2.4.1
17687 lt_prog_compiler_pic_CXX='-pic'
17690 # Digital/Compaq C++
17691 lt_prog_compiler_wl_CXX='-Wl,'
17692 # Make sure the PIC flag is empty. It appears that all Alpha
17693 # Linux and Compaq Tru64 Unix objects are PIC.
17694 lt_prog_compiler_pic_CXX=
17695 lt_prog_compiler_static_CXX='-non_shared'
17704 case $cc_basename in
17706 lt_prog_compiler_pic_CXX='-fPIC'
17713 case $cc_basename in
17715 # Sun C++ 4.2, 5.x and Centerline C++
17716 lt_prog_compiler_pic_CXX='-KPIC'
17717 lt_prog_compiler_static_CXX='-Bstatic'
17718 lt_prog_compiler_wl_CXX='-Qoption ld '
17721 # Green Hills C++ Compiler
17722 lt_prog_compiler_pic_CXX='-PIC'
17729 case $cc_basename in
17732 lt_prog_compiler_pic_CXX='-pic'
17733 lt_prog_compiler_static_CXX='-Bstatic'
17737 lt_prog_compiler_pic_CXX='-pic'
17744 case $cc_basename in
17746 # NonStop-UX NCC 3.20
17747 lt_prog_compiler_pic_CXX='-KPIC'
17758 lt_prog_compiler_can_build_shared_CXX=no
17763 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
17764 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
17767 # Check to make sure the PIC flag actually works.
17769 if test -n "$lt_prog_compiler_pic_CXX"; then
17771 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17772 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
17773 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
17774 echo $ECHO_N "(cached) $ECHO_C" >&6
17776 lt_prog_compiler_pic_works_CXX=no
17777 ac_outfile=conftest.$ac_objext
17778 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17779 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17780 # Insert the option either (1) after the last *FLAGS variable, or
17781 # (2) before a word containing "conftest.", or (3) at the end.
17782 # Note that $ac_compile itself does not contain backslashes and begins
17783 # with a dollar sign (not a hyphen), so the echo should work correctly.
17784 # The option is referenced via a variable to avoid confusing sed.
17785 lt_compile=`echo "$ac_compile" | $SED \
17786 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17788 -e 's:$: $lt_compiler_flag:'`
17789 (eval echo "\"\$as_me:17789: $lt_compile\"" >&5)
17790 (eval "$lt_compile" 2>conftest.err)
17792 cat conftest.err >&5
17793 echo "$as_me:17793: \$? = $ac_status" >&5
17794 if (exit $ac_status) && test -s "$ac_outfile"; then
17795 # The compiler can only warn and ignore the option if not recognized
17796 # So say no if there are warnings other than the usual output.
17797 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17798 $SED '/^$/d' conftest.err >conftest.er2
17799 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
17800 lt_prog_compiler_pic_works_CXX=yes
17806 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
17807 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
17809 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
17810 case $lt_prog_compiler_pic_CXX in
17812 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17815 lt_prog_compiler_pic_CXX=
17816 lt_prog_compiler_can_build_shared_CXX=no
17821 # For platforms which do not support PIC, -DPIC is meaningless:
17823 lt_prog_compiler_pic_CXX=
17826 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17830 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17831 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17832 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17835 lt_cv_prog_compiler_c_o_CXX=no
17836 $rm -r conftest 2>/dev/null
17840 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17842 lt_compiler_flag="-o out/conftest2.$ac_objext"
17843 # Insert the option either (1) after the last *FLAGS variable, or
17844 # (2) before a word containing "conftest.", or (3) at the end.
17845 # Note that $ac_compile itself does not contain backslashes and begins
17846 # with a dollar sign (not a hyphen), so the echo should work correctly.
17847 lt_compile=`echo "$ac_compile" | $SED \
17848 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17850 -e 's:$: $lt_compiler_flag:'`
17851 (eval echo "\"\$as_me:17851: $lt_compile\"" >&5)
17852 (eval "$lt_compile" 2>out/conftest.err)
17854 cat out/conftest.err >&5
17855 echo "$as_me:17855: \$? = $ac_status" >&5
17856 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17858 # The compiler can only warn and ignore the option if not recognized
17859 # So say no if there are warnings
17860 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17861 $SED '/^$/d' out/conftest.err >out/conftest.er2
17862 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17863 lt_cv_prog_compiler_c_o_CXX=yes
17868 # SGI C++ compiler will create directory out/ii_files/ for
17869 # template instantiation
17870 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17871 $rm out/* && rmdir out
17877 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17878 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
17881 hard_links="nottested"
17882 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17883 # do not overwrite the value of need_locks provided by the user
17884 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17885 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17888 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17890 ln conftest.a conftest.b 2>&5 || hard_links=no
17891 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17892 echo "$as_me:$LINENO: result: $hard_links" >&5
17893 echo "${ECHO_T}$hard_links" >&6
17894 if test "$hard_links" = no; then
17895 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17896 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17903 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17904 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17906 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17909 # If we're using GNU nm, then we don't want the "-C" option.
17910 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17911 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17912 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'
17914 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'
17918 export_symbols_cmds_CXX="$ltdll_cmds"
17921 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'
17924 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17928 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17929 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17930 test "$ld_shlibs_CXX" = no && can_build_shared=no
17932 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17933 if test "$GCC" = yes; then
17934 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17938 # Do we need to explicitly link libc?
17940 case "x$archive_cmds_need_lc_CXX" in
17942 # Assume -lc should be added
17943 archive_cmds_need_lc_CXX=yes
17945 if test "$enable_shared" = yes && test "$GCC" = yes; then
17946 case $archive_cmds_CXX in
17948 # FIXME: we may have to deal with multi-command sequences.
17951 # Test whether the compiler implicitly links with -lc since on some
17952 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17953 # to ld, don't add -lc before -lgcc.
17954 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17955 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17957 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17960 (eval $ac_compile) 2>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } 2>conftest.err; then
17966 libobjs=conftest.$ac_objext
17968 wl=$lt_prog_compiler_wl_CXX
17974 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17975 allow_undefined_flag_CXX=
17976 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17977 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }
17982 archive_cmds_need_lc_CXX=no
17984 archive_cmds_need_lc_CXX=yes
17986 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17988 cat conftest.err 1>&5
17991 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17992 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
17999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18001 library_names_spec=
18002 libname_spec='lib$name'
18006 postuninstall_cmds=
18010 shlibpath_overrides_runpath=unknown
18012 dynamic_linker="$host_os ld.so"
18013 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18014 if test "$GCC" = yes; then
18015 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18016 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18017 # if the path contains ";" then we assume it to be the separator
18018 # otherwise default to the standard path separator (i.e. ":") - it is
18019 # assumed that no part of a normal pathname contains ";" but that should
18020 # okay in the real world where ";" in dirpaths is itself problematic.
18021 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18023 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18026 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18028 need_lib_prefix=unknown
18029 hardcode_into_libs=no
18031 # when you set need_version to no, make sure it does not cause -set_version
18032 # flags to be left without arguments
18033 need_version=unknown
18038 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18039 shlibpath_var=LIBPATH
18041 # AIX 3 has no versioning support, so we append a major version to the name.
18042 soname_spec='${libname}${release}${shared_ext}$major'
18049 hardcode_into_libs=yes
18050 if test "$host_cpu" = ia64; then
18051 # AIX 5 supports IA64
18052 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18053 shlibpath_var=LD_LIBRARY_PATH
18055 # With GCC up to 2.95.x, collect2 would create an import file
18056 # for dependence libraries. The import file would start with
18057 # the line `#! .'. This would cause the generated library to
18058 # depend on `.', always an invalid library. This was fixed in
18059 # development snapshots of GCC prior to 3.0.
18061 aix4 | aix4.[01] | aix4.[01].*)
18062 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18064 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18067 can_build_shared=no
18071 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18072 # soname into executable. Probably we can add versioning support to
18073 # collect2, so additional links can be useful in future.
18074 if test "$aix_use_runtimelinking" = yes; then
18075 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18076 # instead of lib<name>.a to let people know that these are not
18077 # typical AIX shared libraries.
18078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18080 # We preserve .a as extension for shared libraries through AIX4.2
18081 # and later when we are not doing run time linking.
18082 library_names_spec='${libname}${release}.a $libname.a'
18083 soname_spec='${libname}${release}${shared_ext}$major'
18085 shlibpath_var=LIBPATH
18090 library_names_spec='$libname.ixlibrary $libname.a'
18091 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18092 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'
18096 library_names_spec='${libname}${shared_ext}'
18097 dynamic_linker="$host_os ld.so"
18098 shlibpath_var=LIBRARY_PATH
18104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18105 soname_spec='${libname}${release}${shared_ext}$major'
18106 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18107 shlibpath_var=LD_LIBRARY_PATH
18108 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18109 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18110 # the default ld.so.conf also contains /usr/contrib/lib and
18111 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18112 # libtool to hard-code these into programs
18115 cygwin* | mingw* | pw32*)
18116 version_type=windows
18121 case $GCC,$host_os in
18122 yes,cygwin* | yes,mingw* | yes,pw32*)
18123 library_names_spec='$libname.dll.a'
18124 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18125 postinstall_cmds='base_file=`basename \${file}`~
18126 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18127 dldir=$destdir/`dirname \$dlpath`~
18128 test -d \$dldir || mkdir -p \$dldir~
18129 $install_prog $dir/$dlname \$dldir/$dlname'
18130 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18131 dlpath=$dir/\$dldll~
18133 shlibpath_overrides_runpath=yes
18137 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18138 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18139 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18142 # MinGW DLLs use traditional 'lib' prefix
18143 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18144 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18145 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18146 # It is most probably a Windows format PATH printed by
18147 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18148 # path with ; separators, and with drive letters. We can handle the
18149 # drive letters (cygwin fileutils understands them), so leave them,
18150 # especially as we might pass files found there to a mingw objdump,
18151 # which wouldn't understand a cygwinified path. Ahh.
18152 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18154 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18158 # pw32 DLLs use 'pw' prefix rather than 'lib'
18159 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18165 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18168 dynamic_linker='Win32 ld.exe'
18169 # FIXME: first we should search . and the directory the executable is in
18173 darwin* | rhapsody*)
18174 dynamic_linker="$host_os dyld"
18175 version_type=darwin
18178 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18179 soname_spec='${libname}${release}${major}$shared_ext'
18180 shlibpath_overrides_runpath=yes
18181 shlibpath_var=DYLD_LIBRARY_PATH
18182 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18183 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18184 if test "$GCC" = yes; then
18185 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"`
18187 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18189 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18197 soname_spec='${libname}${release}${shared_ext}$major'
18198 shlibpath_var=LD_LIBRARY_PATH
18209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18210 soname_spec='${libname}${release}${shared_ext}$major'
18211 shlibpath_var=LD_LIBRARY_PATH
18212 shlibpath_overrides_runpath=no
18213 hardcode_into_libs=yes
18214 dynamic_linker='GNU ld.so'
18217 freebsd* | dragonfly*)
18218 # DragonFly does not have aout. When/if they implement a new
18219 # versioning mechanism, adjust this.
18220 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18221 version_type=freebsd-$objformat
18222 case $version_type in
18224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18229 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18233 shlibpath_var=LD_LIBRARY_PATH
18236 shlibpath_overrides_runpath=yes
18238 freebsd3.[01]* | freebsdelf3.[01]*)
18239 shlibpath_overrides_runpath=yes
18240 hardcode_into_libs=yes
18243 shlibpath_overrides_runpath=no
18244 hardcode_into_libs=yes
18253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18254 soname_spec='${libname}${release}${shared_ext}$major'
18255 shlibpath_var=LD_LIBRARY_PATH
18256 hardcode_into_libs=yes
18259 hpux9* | hpux10* | hpux11*)
18260 # Give a soname corresponding to the major version so that dld.sl refuses to
18261 # link against other versions.
18265 case "$host_cpu" in
18268 hardcode_into_libs=yes
18269 dynamic_linker="$host_os dld.so"
18270 shlibpath_var=LD_LIBRARY_PATH
18271 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18273 soname_spec='${libname}${release}${shared_ext}$major'
18274 if test "X$HPUX_IA64_MODE" = X32; then
18275 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18277 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18279 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18283 hardcode_into_libs=yes
18284 dynamic_linker="$host_os dld.sl"
18285 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18288 soname_spec='${libname}${release}${shared_ext}$major'
18289 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18290 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18294 dynamic_linker="$host_os dld.sl"
18295 shlibpath_var=SHLIB_PATH
18296 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18298 soname_spec='${libname}${release}${shared_ext}$major'
18301 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18302 postinstall_cmds='chmod 555 $lib'
18305 irix5* | irix6* | nonstopux*)
18307 nonstopux*) version_type=nonstopux ;;
18309 if test "$lt_cv_prog_gnu_ld" = yes; then
18317 soname_spec='${libname}${release}${shared_ext}$major'
18318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18320 irix5* | nonstopux*)
18321 libsuff= shlibsuff=
18324 case $LD in # libtool.m4 will add one of these switches to LD
18325 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18326 libsuff= shlibsuff= libmagic=32-bit;;
18327 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18328 libsuff=32 shlibsuff=N32 libmagic=N32;;
18329 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18330 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18331 *) libsuff= shlibsuff= libmagic=never-match;;
18335 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18336 shlibpath_overrides_runpath=no
18337 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18338 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18339 hardcode_into_libs=yes
18342 # No shared lib support for Linux oldld, aout, or coff.
18343 linux*oldld* | linux*aout* | linux*coff*)
18347 # This must be Linux ELF.
18352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18353 soname_spec='${libname}${release}${shared_ext}$major'
18354 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18355 shlibpath_var=LD_LIBRARY_PATH
18356 shlibpath_overrides_runpath=no
18357 # This implies no fast_install, which is unacceptable.
18358 # Some rework will be needed to allow for fast_install
18359 # before this can be enabled.
18360 hardcode_into_libs=yes
18362 # find out which ABI we are using
18364 case "$host_cpu" in
18365 x86_64*|s390x*|powerpc64*)
18366 echo '#line 18366 "configure"' > conftest.$ac_ext
18367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18368 (eval $ac_compile) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; then
18372 case `/usr/bin/file conftest.$ac_objext` in
18375 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18383 # Append ld.so.conf contents to the search path
18384 if test -f /etc/ld.so.conf; then
18385 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18386 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18389 # We used to test for /lib/ld.so.1 and disable shared libraries on
18390 # powerpc, because MkLinux only supported shared libraries with the
18391 # GNU dynamic linker. Since this was broken with cross compilers,
18392 # most powerpc-linux boxes support dynamic linking these days and
18393 # people can always --disable-shared, the test was removed, and we
18394 # assume the GNU/Linux dynamic linker is in use.
18395 dynamic_linker='GNU/Linux ld.so'
18402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18403 soname_spec='${libname}${release}${shared_ext}$major'
18404 shlibpath_var=LD_LIBRARY_PATH
18405 shlibpath_overrides_runpath=no
18406 hardcode_into_libs=yes
18407 dynamic_linker='GNU ld.so'
18414 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18416 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18417 dynamic_linker='NetBSD (a.out) ld.so'
18419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18420 soname_spec='${libname}${release}${shared_ext}$major'
18421 dynamic_linker='NetBSD ld.elf_so'
18423 shlibpath_var=LD_LIBRARY_PATH
18424 shlibpath_overrides_runpath=yes
18425 hardcode_into_libs=yes
18430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18431 shlibpath_var=LD_LIBRARY_PATH
18432 shlibpath_overrides_runpath=yes
18439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18440 soname_spec='${libname}${release}${shared_ext}$major'
18441 shlibpath_var=LD_LIBRARY_PATH
18442 shlibpath_overrides_runpath=yes
18449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18450 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18451 shlibpath_var=LD_LIBRARY_PATH
18452 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18454 openbsd2.[89] | openbsd2.[89].*)
18455 shlibpath_overrides_runpath=no
18458 shlibpath_overrides_runpath=yes
18462 shlibpath_overrides_runpath=yes
18467 libname_spec='$name'
18470 library_names_spec='$libname${shared_ext} $libname.a'
18471 dynamic_linker='OS/2 ld.exe'
18472 shlibpath_var=LIBPATH
18475 osf3* | osf4* | osf5*)
18479 soname_spec='${libname}${release}${shared_ext}$major'
18480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18481 shlibpath_var=LD_LIBRARY_PATH
18482 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18483 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18488 soname_spec='${libname}${release}${shared_ext}$major'
18489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18490 shlibpath_var=LD_LIBRARY_PATH
18497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18498 soname_spec='${libname}${release}${shared_ext}$major'
18499 shlibpath_var=LD_LIBRARY_PATH
18500 shlibpath_overrides_runpath=yes
18501 hardcode_into_libs=yes
18502 # ldd complains unless libraries are executable
18503 postinstall_cmds='chmod +x $lib'
18508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18509 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18510 shlibpath_var=LD_LIBRARY_PATH
18511 shlibpath_overrides_runpath=yes
18512 if test "$with_gnu_ld" = yes; then
18518 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18521 soname_spec='${libname}${release}${shared_ext}$major'
18522 shlibpath_var=LD_LIBRARY_PATH
18523 case $host_vendor in
18525 shlibpath_overrides_runpath=no
18527 export_dynamic_flag_spec='${wl}-Blargedynsym'
18528 runpath_var=LD_RUN_PATH
18536 shlibpath_overrides_runpath=no
18537 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18543 if test -d /usr/nec ;then
18545 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18546 soname_spec='$libname${shared_ext}.$major'
18547 shlibpath_var=LD_LIBRARY_PATH
18553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18554 soname_spec='${libname}${release}${shared_ext}$major'
18555 shlibpath_var=LD_LIBRARY_PATH
18562 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18563 echo "${ECHO_T}$dynamic_linker" >&6
18564 test "$dynamic_linker" = no && can_build_shared=no
18566 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18567 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18568 hardcode_action_CXX=
18569 if test -n "$hardcode_libdir_flag_spec_CXX" || \
18570 test -n "$runpath_var_CXX" || \
18571 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18573 # We can hardcode non-existant directories.
18574 if test "$hardcode_direct_CXX" != no &&
18575 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18576 # have to relink, otherwise we might link with an installed library
18577 # when we should be linking with a yet-to-be-installed one
18578 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18579 test "$hardcode_minus_L_CXX" != no; then
18580 # Linking always hardcodes the temporary library directory.
18581 hardcode_action_CXX=relink
18583 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18584 hardcode_action_CXX=immediate
18587 # We cannot hardcode anything, or else we can only hardcode existing
18589 hardcode_action_CXX=unsupported
18591 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
18592 echo "${ECHO_T}$hardcode_action_CXX" >&6
18594 if test "$hardcode_action_CXX" = relink; then
18595 # Fast installation is not supported
18596 enable_fast_install=no
18597 elif test "$shlibpath_overrides_runpath" = yes ||
18598 test "$enable_shared" = no; then
18599 # Fast installation is not necessary
18600 enable_fast_install=needless
18605 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18606 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18607 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18608 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18609 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18610 echo "$as_me:$LINENO: result: yes" >&5
18611 echo "${ECHO_T}yes" >&6
18613 # FIXME - insert some real tests, host_os isn't really good enough
18616 if test -n "$STRIP" ; then
18617 striplib="$STRIP -x"
18618 echo "$as_me:$LINENO: result: yes" >&5
18619 echo "${ECHO_T}yes" >&6
18621 echo "$as_me:$LINENO: result: no" >&5
18622 echo "${ECHO_T}no" >&6
18626 echo "$as_me:$LINENO: result: no" >&5
18627 echo "${ECHO_T}no" >&6
18632 if test "x$enable_dlopen" != xyes; then
18633 enable_dlopen=unknown
18634 enable_dlopen_self=unknown
18635 enable_dlopen_self_static=unknown
18642 lt_cv_dlopen="load_add_on"
18644 lt_cv_dlopen_self=yes
18648 lt_cv_dlopen="LoadLibrary"
18653 lt_cv_dlopen="dlopen"
18658 # if libdl is installed we need to link against it
18659 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18660 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18661 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 ac_check_lib_save_LIBS=$LIBS
18666 cat >conftest.$ac_ext <<_ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18673 /* Override any gcc2 internal prototype to avoid an error. */
18677 /* We use char because int might match the return type of a gcc2
18678 builtin and then its argument prototype would still apply. */
18688 rm -f conftest.$ac_objext conftest$ac_exeext
18689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18690 (eval $ac_link) 2>conftest.er1
18692 grep -v '^ *+' conftest.er1 >conftest.err
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } &&
18697 { ac_try='test -z "$ac_cxx_werror_flag"
18698 || test ! -s conftest.err'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; } &&
18704 { ac_try='test -s conftest$ac_exeext'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; }; then
18710 ac_cv_lib_dl_dlopen=yes
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.$ac_ext >&5
18715 ac_cv_lib_dl_dlopen=no
18717 rm -f conftest.err conftest.$ac_objext \
18718 conftest$ac_exeext conftest.$ac_ext
18719 LIBS=$ac_check_lib_save_LIBS
18721 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18722 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18723 if test $ac_cv_lib_dl_dlopen = yes; then
18724 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18727 lt_cv_dlopen="dyld"
18729 lt_cv_dlopen_self=yes
18736 echo "$as_me:$LINENO: checking for shl_load" >&5
18737 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18738 if test "${ac_cv_func_shl_load+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 cat >conftest.$ac_ext <<_ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18749 #define shl_load innocuous_shl_load
18751 /* System header to define __stub macros and hopefully few prototypes,
18752 which can conflict with char shl_load (); below.
18753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18754 <limits.h> exists even on freestanding compilers. */
18757 # include <limits.h>
18759 # include <assert.h>
18764 /* Override any gcc2 internal prototype to avoid an error. */
18769 /* We use char because int might match the return type of a gcc2
18770 builtin and then its argument prototype would still apply. */
18772 /* The GNU C library defines this for functions which it implements
18773 to always fail with ENOSYS. Some functions are actually named
18774 something starting with __ and the normal name is an alias. */
18775 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18778 char (*f) () = shl_load;
18787 return f != shl_load;
18792 rm -f conftest.$ac_objext conftest$ac_exeext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18794 (eval $ac_link) 2>conftest.er1
18796 grep -v '^ *+' conftest.er1 >conftest.err
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -z "$ac_cxx_werror_flag"
18802 || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try='test -s conftest$ac_exeext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_cv_func_shl_load=yes
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18819 ac_cv_func_shl_load=no
18821 rm -f conftest.err conftest.$ac_objext \
18822 conftest$ac_exeext conftest.$ac_ext
18824 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18825 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18826 if test $ac_cv_func_shl_load = yes; then
18827 lt_cv_dlopen="shl_load"
18829 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18830 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18831 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 ac_check_lib_save_LIBS=$LIBS
18836 cat >conftest.$ac_ext <<_ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18843 /* Override any gcc2 internal prototype to avoid an error. */
18847 /* We use char because int might match the return type of a gcc2
18848 builtin and then its argument prototype would still apply. */
18858 rm -f conftest.$ac_objext conftest$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860 (eval $ac_link) 2>conftest.er1
18862 grep -v '^ *+' conftest.er1 >conftest.err
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } &&
18867 { ac_try='test -z "$ac_cxx_werror_flag"
18868 || test ! -s conftest.err'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; } &&
18874 { ac_try='test -s conftest$ac_exeext'
18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18876 (eval $ac_try) 2>&5
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); }; }; then
18880 ac_cv_lib_dld_shl_load=yes
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18885 ac_cv_lib_dld_shl_load=no
18887 rm -f conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext conftest.$ac_ext
18889 LIBS=$ac_check_lib_save_LIBS
18891 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18892 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18893 if test $ac_cv_lib_dld_shl_load = yes; then
18894 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18896 echo "$as_me:$LINENO: checking for dlopen" >&5
18897 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18898 if test "${ac_cv_func_dlopen+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 cat >conftest.$ac_ext <<_ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18909 #define dlopen innocuous_dlopen
18911 /* System header to define __stub macros and hopefully few prototypes,
18912 which can conflict with char dlopen (); below.
18913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18914 <limits.h> exists even on freestanding compilers. */
18917 # include <limits.h>
18919 # include <assert.h>
18924 /* Override any gcc2 internal prototype to avoid an error. */
18929 /* We use char because int might match the return type of a gcc2
18930 builtin and then its argument prototype would still apply. */
18932 /* The GNU C library defines this for functions which it implements
18933 to always fail with ENOSYS. Some functions are actually named
18934 something starting with __ and the normal name is an alias. */
18935 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18938 char (*f) () = dlopen;
18947 return f != dlopen;
18952 rm -f conftest.$ac_objext conftest$ac_exeext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18954 (eval $ac_link) 2>conftest.er1
18956 grep -v '^ *+' conftest.er1 >conftest.err
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_cxx_werror_flag"
18962 || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try='test -s conftest$ac_exeext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 ac_cv_func_dlopen=yes
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 ac_cv_func_dlopen=no
18981 rm -f conftest.err conftest.$ac_objext \
18982 conftest$ac_exeext conftest.$ac_ext
18984 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18985 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18986 if test $ac_cv_func_dlopen = yes; then
18987 lt_cv_dlopen="dlopen"
18989 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18990 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18991 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 ac_check_lib_save_LIBS=$LIBS
18996 cat >conftest.$ac_ext <<_ACEOF
18999 cat confdefs.h >>conftest.$ac_ext
19000 cat >>conftest.$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19003 /* Override any gcc2 internal prototype to avoid an error. */
19007 /* We use char because int might match the return type of a gcc2
19008 builtin and then its argument prototype would still apply. */
19018 rm -f conftest.$ac_objext conftest$ac_exeext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19020 (eval $ac_link) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1 >conftest.err
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try='test -z "$ac_cxx_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest$ac_exeext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_cv_lib_dl_dlopen=yes
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19045 ac_cv_lib_dl_dlopen=no
19047 rm -f conftest.err conftest.$ac_objext \
19048 conftest$ac_exeext conftest.$ac_ext
19049 LIBS=$ac_check_lib_save_LIBS
19051 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19052 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19053 if test $ac_cv_lib_dl_dlopen = yes; then
19054 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19056 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19057 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19058 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 ac_check_lib_save_LIBS=$LIBS
19062 LIBS="-lsvld $LIBS"
19063 cat >conftest.$ac_ext <<_ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19070 /* Override any gcc2 internal prototype to avoid an error. */
19074 /* We use char because int might match the return type of a gcc2
19075 builtin and then its argument prototype would still apply. */
19085 rm -f conftest.$ac_objext conftest$ac_exeext
19086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19087 (eval $ac_link) 2>conftest.er1
19089 grep -v '^ *+' conftest.er1 >conftest.err
19091 cat conftest.err >&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } &&
19094 { ac_try='test -z "$ac_cxx_werror_flag"
19095 || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try='test -s conftest$ac_exeext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_cv_lib_svld_dlopen=yes
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.$ac_ext >&5
19112 ac_cv_lib_svld_dlopen=no
19114 rm -f conftest.err conftest.$ac_objext \
19115 conftest$ac_exeext conftest.$ac_ext
19116 LIBS=$ac_check_lib_save_LIBS
19118 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19119 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19120 if test $ac_cv_lib_svld_dlopen = yes; then
19121 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19123 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19124 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19125 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19126 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 ac_check_lib_save_LIBS=$LIBS
19130 cat >conftest.$ac_ext <<_ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19137 /* Override any gcc2 internal prototype to avoid an error. */
19141 /* We use char because int might match the return type of a gcc2
19142 builtin and then its argument prototype would still apply. */
19152 rm -f conftest.$ac_objext conftest$ac_exeext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19154 (eval $ac_link) 2>conftest.er1
19156 grep -v '^ *+' conftest.er1 >conftest.err
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try='test -z "$ac_cxx_werror_flag"
19162 || test ! -s conftest.err'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try='test -s conftest$ac_exeext'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; }; then
19174 ac_cv_lib_dld_dld_link=yes
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.$ac_ext >&5
19179 ac_cv_lib_dld_dld_link=no
19181 rm -f conftest.err conftest.$ac_objext \
19182 conftest$ac_exeext conftest.$ac_ext
19183 LIBS=$ac_check_lib_save_LIBS
19185 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19186 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19187 if test $ac_cv_lib_dld_dld_link = yes; then
19188 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19209 if test "x$lt_cv_dlopen" != xno; then
19215 case $lt_cv_dlopen in
19217 save_CPPFLAGS="$CPPFLAGS"
19218 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19220 save_LDFLAGS="$LDFLAGS"
19221 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19224 LIBS="$lt_cv_dlopen_libs $LIBS"
19226 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19227 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19228 if test "${lt_cv_dlopen_self+set}" = set; then
19229 echo $ECHO_N "(cached) $ECHO_C" >&6
19231 if test "$cross_compiling" = yes; then :
19232 lt_cv_dlopen_self=cross
19234 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19235 lt_status=$lt_dlunknown
19236 cat > conftest.$ac_ext <<EOF
19237 #line 19237 "configure"
19238 #include "confdefs.h"
19247 # define LT_DLGLOBAL RTLD_GLOBAL
19250 # define LT_DLGLOBAL DL_GLOBAL
19252 # define LT_DLGLOBAL 0
19256 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19257 find out it does not work in some platform. */
19258 #ifndef LT_DLLAZY_OR_NOW
19260 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19263 # define LT_DLLAZY_OR_NOW DL_LAZY
19266 # define LT_DLLAZY_OR_NOW RTLD_NOW
19269 # define LT_DLLAZY_OR_NOW DL_NOW
19271 # define LT_DLLAZY_OR_NOW 0
19279 extern "C" void exit (int);
19282 void fnord() { int i=42;}
19285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19286 int status = $lt_dlunknown;
19290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19291 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19292 /* dlclose (self); */
19298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19299 (eval $ac_link) 2>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19303 (./conftest; exit; ) 2>/dev/null
19305 case x$lt_status in
19306 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19307 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19308 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19311 # compilation failed
19312 lt_cv_dlopen_self=no
19319 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19320 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19322 if test "x$lt_cv_dlopen_self" = xyes; then
19323 LDFLAGS="$LDFLAGS $link_static_flag"
19324 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19325 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19326 if test "${lt_cv_dlopen_self_static+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 if test "$cross_compiling" = yes; then :
19330 lt_cv_dlopen_self_static=cross
19332 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19333 lt_status=$lt_dlunknown
19334 cat > conftest.$ac_ext <<EOF
19335 #line 19335 "configure"
19336 #include "confdefs.h"
19345 # define LT_DLGLOBAL RTLD_GLOBAL
19348 # define LT_DLGLOBAL DL_GLOBAL
19350 # define LT_DLGLOBAL 0
19354 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19355 find out it does not work in some platform. */
19356 #ifndef LT_DLLAZY_OR_NOW
19358 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19361 # define LT_DLLAZY_OR_NOW DL_LAZY
19364 # define LT_DLLAZY_OR_NOW RTLD_NOW
19367 # define LT_DLLAZY_OR_NOW DL_NOW
19369 # define LT_DLLAZY_OR_NOW 0
19377 extern "C" void exit (int);
19380 void fnord() { int i=42;}
19383 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19384 int status = $lt_dlunknown;
19388 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19389 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19390 /* dlclose (self); */
19396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19397 (eval $ac_link) 2>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19401 (./conftest; exit; ) 2>/dev/null
19403 case x$lt_status in
19404 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19405 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19406 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19409 # compilation failed
19410 lt_cv_dlopen_self_static=no
19417 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19418 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19421 CPPFLAGS="$save_CPPFLAGS"
19422 LDFLAGS="$save_LDFLAGS"
19427 case $lt_cv_dlopen_self in
19428 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19429 *) enable_dlopen_self=unknown ;;
19432 case $lt_cv_dlopen_self_static in
19433 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19434 *) enable_dlopen_self_static=unknown ;;
19439 # The else clause should only fire when bootstrapping the
19440 # libtool distribution, otherwise you forgot to ship ltmain.sh
19441 # with your package, and you will get complaints that there are
19442 # no rules to generate ltmain.sh.
19443 if test -f "$ltmain"; then
19444 # See if we are running on zsh, and set the options which allow our commands through
19445 # without removal of \ escapes.
19446 if test -n "${ZSH_VERSION+set}" ; then
19447 setopt NO_GLOB_SUBST
19449 # Now quote all the things that may contain metacharacters while being
19450 # careful not to overquote the AC_SUBSTed values. We take copies of the
19451 # variables and quote the copies for generation of the libtool script.
19452 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19454 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19455 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19456 deplibs_check_method reload_flag reload_cmds need_locks \
19457 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19458 lt_cv_sys_global_symbol_to_c_name_address \
19459 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19460 old_postinstall_cmds old_postuninstall_cmds \
19464 lt_prog_compiler_wl_CXX \
19465 lt_prog_compiler_pic_CXX \
19466 lt_prog_compiler_static_CXX \
19467 lt_prog_compiler_no_builtin_flag_CXX \
19468 export_dynamic_flag_spec_CXX \
19469 thread_safe_flag_spec_CXX \
19470 whole_archive_flag_spec_CXX \
19471 enable_shared_with_static_runtimes_CXX \
19472 old_archive_cmds_CXX \
19473 old_archive_from_new_cmds_CXX \
19474 predep_objects_CXX \
19475 postdep_objects_CXX \
19478 compiler_lib_search_path_CXX \
19480 archive_expsym_cmds_CXX \
19481 postinstall_cmds_CXX \
19482 postuninstall_cmds_CXX \
19483 old_archive_from_expsyms_cmds_CXX \
19484 allow_undefined_flag_CXX \
19485 no_undefined_flag_CXX \
19486 export_symbols_cmds_CXX \
19487 hardcode_libdir_flag_spec_CXX \
19488 hardcode_libdir_flag_spec_ld_CXX \
19489 hardcode_libdir_separator_CXX \
19490 hardcode_automatic_CXX \
19492 module_expsym_cmds_CXX \
19493 lt_cv_prog_compiler_c_o_CXX \
19494 exclude_expsyms_CXX \
19495 include_expsyms_CXX; do
19498 old_archive_cmds_CXX | \
19499 old_archive_from_new_cmds_CXX | \
19500 archive_cmds_CXX | \
19501 archive_expsym_cmds_CXX | \
19502 module_cmds_CXX | \
19503 module_expsym_cmds_CXX | \
19504 old_archive_from_expsyms_cmds_CXX | \
19505 export_symbols_cmds_CXX | \
19506 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19507 postinstall_cmds | postuninstall_cmds | \
19508 old_postinstall_cmds | old_postuninstall_cmds | \
19509 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19510 # Double-quote double-evaled strings.
19511 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19514 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19520 *'\$0 --fallback-echo"')
19521 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19527 cat <<__EOF__ >> "$cfgfile"
19528 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19530 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19532 # Shell to use when invoking shell scripts.
19535 # Whether or not to build shared libraries.
19536 build_libtool_libs=$enable_shared
19538 # Whether or not to build static libraries.
19539 build_old_libs=$enable_static
19541 # Whether or not to add -lc for building shared libraries.
19542 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19544 # Whether or not to disallow shared libs when runtime libs are static
19545 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19547 # Whether or not to optimize for fast installation.
19548 fast_install=$enable_fast_install
19551 host_alias=$host_alias
19555 # The build system.
19556 build_alias=$build_alias
19560 # An echo program that does not interpret backslashes.
19565 AR_FLAGS=$lt_AR_FLAGS
19570 # A language-specific compiler.
19571 CC=$lt_compiler_CXX
19573 # Is the compiler the GNU C compiler?
19579 # The linker used to build libraries.
19582 # Whether we need hard or soft links.
19585 # A BSD-compatible nm program.
19588 # A symbol stripping program
19591 # Used to examine libraries when file_magic_cmd begins "file"
19592 MAGIC_CMD=$MAGIC_CMD
19594 # Used on cygwin: DLL creation program.
19597 # Used on cygwin: object dumper.
19600 # Used on cygwin: assembler.
19603 # The name of the directory that contains temporary libtool files.
19606 # How to create reloadable object files.
19607 reload_flag=$lt_reload_flag
19608 reload_cmds=$lt_reload_cmds
19610 # How to pass a linker flag through the compiler.
19611 wl=$lt_lt_prog_compiler_wl_CXX
19613 # Object file suffix (normally "o").
19614 objext="$ac_objext"
19616 # Old archive suffix (normally "a").
19619 # Shared library suffix (normally ".so").
19620 shrext_cmds='$shrext_cmds'
19622 # Executable file suffix (normally "").
19625 # Additional compiler flags for building library objects.
19626 pic_flag=$lt_lt_prog_compiler_pic_CXX
19629 # What is the maximum length of a command?
19630 max_cmd_len=$lt_cv_sys_max_cmd_len
19632 # Does compiler simultaneously support -c and -o options?
19633 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19635 # Must we lock files when doing compilation?
19636 need_locks=$lt_need_locks
19638 # Do we need the lib prefix for modules?
19639 need_lib_prefix=$need_lib_prefix
19641 # Do we need a version for libraries?
19642 need_version=$need_version
19644 # Whether dlopen is supported.
19645 dlopen_support=$enable_dlopen
19647 # Whether dlopen of programs is supported.
19648 dlopen_self=$enable_dlopen_self
19650 # Whether dlopen of statically linked programs is supported.
19651 dlopen_self_static=$enable_dlopen_self_static
19653 # Compiler flag to prevent dynamic linking.
19654 link_static_flag=$lt_lt_prog_compiler_static_CXX
19656 # Compiler flag to turn off builtin functions.
19657 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19659 # Compiler flag to allow reflexive dlopens.
19660 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19662 # Compiler flag to generate shared objects directly from archives.
19663 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19665 # Compiler flag to generate thread-safe objects.
19666 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
19668 # Library versioning type.
19669 version_type=$version_type
19671 # Format of library name prefix.
19672 libname_spec=$lt_libname_spec
19674 # List of archive names. First name is the real one, the rest are links.
19675 # The last name is the one that the linker finds with -lNAME.
19676 library_names_spec=$lt_library_names_spec
19678 # The coded name of the library, if different from the real name.
19679 soname_spec=$lt_soname_spec
19681 # Commands used to build and install an old-style archive.
19683 old_archive_cmds=$lt_old_archive_cmds_CXX
19684 old_postinstall_cmds=$lt_old_postinstall_cmds
19685 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19687 # Create an old-style archive from a shared archive.
19688 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19690 # Create a temporary old-style archive to link instead of a shared archive.
19691 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19693 # Commands used to build and install a shared archive.
19694 archive_cmds=$lt_archive_cmds_CXX
19695 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19696 postinstall_cmds=$lt_postinstall_cmds
19697 postuninstall_cmds=$lt_postuninstall_cmds
19699 # Commands used to build a loadable module (assumed same as above if empty)
19700 module_cmds=$lt_module_cmds_CXX
19701 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19703 # Commands to strip libraries.
19704 old_striplib=$lt_old_striplib
19705 striplib=$lt_striplib
19707 # Dependencies to place before the objects being linked to create a
19709 predep_objects=$lt_predep_objects_CXX
19711 # Dependencies to place after the objects being linked to create a
19713 postdep_objects=$lt_postdep_objects_CXX
19715 # Dependencies to place before the objects being linked to create a
19717 predeps=$lt_predeps_CXX
19719 # Dependencies to place after the objects being linked to create a
19721 postdeps=$lt_postdeps_CXX
19723 # The library search path used internally by the compiler when linking
19724 # a shared library.
19725 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19727 # Method to check whether dependent libraries are shared objects.
19728 deplibs_check_method=$lt_deplibs_check_method
19730 # Command to use when deplibs_check_method == file_magic.
19731 file_magic_cmd=$lt_file_magic_cmd
19733 # Flag that allows shared libraries with undefined symbols to be built.
19734 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19736 # Flag that forces no undefined symbols.
19737 no_undefined_flag=$lt_no_undefined_flag_CXX
19739 # Commands used to finish a libtool library installation in a directory.
19740 finish_cmds=$lt_finish_cmds
19742 # Same as above, but a single script fragment to be evaled but not shown.
19743 finish_eval=$lt_finish_eval
19745 # Take the output of nm and produce a listing of raw symbols and C names.
19746 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19748 # Transform the output of nm in a proper C declaration
19749 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19751 # Transform the output of nm in a C name address pair
19752 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19754 # This is the shared library runtime path variable.
19755 runpath_var=$runpath_var
19757 # This is the shared library path variable.
19758 shlibpath_var=$shlibpath_var
19760 # Is shlibpath searched before the hard-coded library search path?
19761 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19763 # How to hardcode a shared library path into an executable.
19764 hardcode_action=$hardcode_action_CXX
19766 # Whether we should hardcode library paths into libraries.
19767 hardcode_into_libs=$hardcode_into_libs
19769 # Flag to hardcode \$libdir into a binary during linking.
19770 # This must work even if \$libdir does not exist.
19771 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19773 # If ld is used when linking, flag to hardcode \$libdir into
19774 # a binary during linking. This must work even if \$libdir does
19776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19778 # Whether we need a single -rpath flag with a separated argument.
19779 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19781 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19782 # resulting binary.
19783 hardcode_direct=$hardcode_direct_CXX
19785 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19786 # resulting binary.
19787 hardcode_minus_L=$hardcode_minus_L_CXX
19789 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19790 # the resulting binary.
19791 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19793 # Set to yes if building a shared library automatically hardcodes DIR into the library
19794 # and all subsequent libraries and executables linked against it.
19795 hardcode_automatic=$hardcode_automatic_CXX
19797 # Variables whose values should be saved in libtool wrapper scripts and
19798 # restored at relink time.
19799 variables_saved_for_relink="$variables_saved_for_relink"
19801 # Whether libtool must link a program against all its dependency libraries.
19802 link_all_deplibs=$link_all_deplibs_CXX
19804 # Compile-time system search path for libraries
19805 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19807 # Run-time system search path for libraries
19808 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19810 # Fix the shell variable \$srcfile for the compiler.
19811 fix_srcfile_path="$fix_srcfile_path_CXX"
19813 # Set to yes if exported symbols are required.
19814 always_export_symbols=$always_export_symbols_CXX
19816 # The commands to list exported symbols.
19817 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19819 # The commands to extract the exported symbol list from a shared archive.
19820 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19822 # Symbols that should not be listed in the preloaded symbols.
19823 exclude_expsyms=$lt_exclude_expsyms_CXX
19825 # Symbols that must always be exported.
19826 include_expsyms=$lt_include_expsyms_CXX
19828 # ### END LIBTOOL TAG CONFIG: $tagname
19834 # If there is no Makefile yet, we rely on a make rule to execute
19835 # `config.status --recheck' to rerun these tests and create the
19836 # libtool script then.
19837 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19838 if test -f "$ltmain_in"; then
19839 test -f Makefile && make "$ltmain"
19845 ac_cpp='$CPP $CPPFLAGS'
19846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19854 with_gnu_ldcxx=$with_gnu_ld
19855 with_gnu_ld=$lt_save_with_gnu_ld
19856 lt_cv_path_LDCXX=$lt_cv_path_LD
19857 lt_cv_path_LD=$lt_save_path_LD
19858 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19859 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19867 if test -n "$F77" && test "X$F77" != "Xno"; then
19870 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19871 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19872 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19875 archive_cmds_need_lc_F77=no
19876 allow_undefined_flag_F77=
19877 always_export_symbols_F77=no
19878 archive_expsym_cmds_F77=
19879 export_dynamic_flag_spec_F77=
19880 hardcode_direct_F77=no
19881 hardcode_libdir_flag_spec_F77=
19882 hardcode_libdir_flag_spec_ld_F77=
19883 hardcode_libdir_separator_F77=
19884 hardcode_minus_L_F77=no
19885 hardcode_automatic_F77=no
19887 module_expsym_cmds_F77=
19888 link_all_deplibs_F77=unknown
19889 old_archive_cmds_F77=$old_archive_cmds
19890 no_undefined_flag_F77=
19891 whole_archive_flag_spec_F77=
19892 enable_shared_with_static_runtimes_F77=no
19894 # Source file extension for f77 test sources.
19897 # Object file extension for compiled f77 test sources.
19901 # Code to be used in simple compile tests
19902 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19904 # Code to be used in simple link tests
19905 lt_simple_link_test_code=" program t\n end\n"
19907 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19909 # If no C compiler was specified, use CC.
19912 # Allow CC to be a program name with arguments.
19916 # save warnings/boilerplate of simple test code
19917 ac_outfile=conftest.$ac_objext
19918 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19919 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19920 _lt_compiler_boilerplate=`cat conftest.err`
19923 ac_outfile=conftest.$ac_objext
19924 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19925 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19926 _lt_linker_boilerplate=`cat conftest.err`
19930 # Allow CC to be a program name with arguments.
19935 for cc_temp in $compiler""; do
19937 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19938 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19943 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19946 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19947 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19948 echo "$as_me:$LINENO: result: $can_build_shared" >&5
19949 echo "${ECHO_T}$can_build_shared" >&6
19951 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19952 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19953 test "$can_build_shared" = "no" && enable_shared=no
19955 # On AIX, shared libraries and static libraries use the same namespace, and
19956 # are all built from PIC.
19959 test "$enable_shared" = yes && enable_static=no
19960 if test -n "$RANLIB"; then
19961 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19962 postinstall_cmds='$RANLIB $lib'
19966 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19967 test "$enable_shared" = yes && enable_static=no
19971 echo "$as_me:$LINENO: result: $enable_shared" >&5
19972 echo "${ECHO_T}$enable_shared" >&6
19974 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19975 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19976 # Make sure either enable_shared or enable_static is yes.
19977 test "$enable_shared" = yes || enable_static=yes
19978 echo "$as_me:$LINENO: result: $enable_static" >&5
19979 echo "${ECHO_T}$enable_static" >&6
19981 test "$ld_shlibs_F77" = no && can_build_shared=no
19986 lt_prog_compiler_wl_F77=
19987 lt_prog_compiler_pic_F77=
19988 lt_prog_compiler_static_F77=
19990 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19991 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
19993 if test "$GCC" = yes; then
19994 lt_prog_compiler_wl_F77='-Wl,'
19995 lt_prog_compiler_static_F77='-static'
19999 # All AIX code is PIC.
20000 if test "$host_cpu" = ia64; then
20001 # AIX 5 now supports IA64 processor
20002 lt_prog_compiler_static_F77='-Bstatic'
20007 # FIXME: we need at least 68020 code to build shared libraries, but
20008 # adding the `-m68020' flag to GCC prevents building anything better,
20010 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
20013 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20014 # PIC is the default for these OSes.
20017 mingw* | pw32* | os2*)
20018 # This hack is so that the source file can tell whether it is being
20019 # built for inclusion in a dll (and should export symbols for example).
20020 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20023 darwin* | rhapsody*)
20024 # PIC is the default on this platform
20025 # Common symbols not allowed in MH_DYLIB files
20026 lt_prog_compiler_pic_F77='-fno-common'
20030 # Just because we use GCC doesn't mean we suddenly get shared libraries
20031 # on systems that don't support them.
20032 lt_prog_compiler_can_build_shared_F77=no
20037 if test -d /usr/nec; then
20038 lt_prog_compiler_pic_F77=-Kconform_pic
20043 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20044 # not for PA HP-UX.
20045 case "$host_cpu" in
20050 lt_prog_compiler_pic_F77='-fPIC'
20056 lt_prog_compiler_pic_F77='-fPIC'
20060 # PORTME Check for flag to pass linker flags through the system compiler.
20063 lt_prog_compiler_wl_F77='-Wl,'
20064 if test "$host_cpu" = ia64; then
20065 # AIX 5 now supports IA64 processor
20066 lt_prog_compiler_static_F77='-Bstatic'
20068 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
20072 # PIC is the default on this platform
20073 # Common symbols not allowed in MH_DYLIB files
20074 case $cc_basename in
20076 lt_prog_compiler_pic_F77='-qnocommon'
20077 lt_prog_compiler_wl_F77='-Wl,'
20082 mingw* | pw32* | os2*)
20083 # This hack is so that the source file can tell whether it is being
20084 # built for inclusion in a dll (and should export symbols for example).
20085 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
20088 hpux9* | hpux10* | hpux11*)
20089 lt_prog_compiler_wl_F77='-Wl,'
20090 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20091 # not for PA HP-UX.
20092 case "$host_cpu" in
20097 lt_prog_compiler_pic_F77='+Z'
20100 # Is there a better lt_prog_compiler_static that works with the bundled CC?
20101 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
20104 irix5* | irix6* | nonstopux*)
20105 lt_prog_compiler_wl_F77='-Wl,'
20106 # PIC (with -KPIC) is the default.
20107 lt_prog_compiler_static_F77='-non_shared'
20111 lt_prog_compiler_pic_F77='-KPIC'
20112 lt_prog_compiler_static_F77='-Bstatic'
20116 case $cc_basename in
20118 lt_prog_compiler_wl_F77='-Wl,'
20119 lt_prog_compiler_pic_F77='-KPIC'
20120 lt_prog_compiler_static_F77='-static'
20122 pgcc* | pgf77* | pgf90*)
20123 # Portland Group compilers (*not* the Pentium gcc compiler,
20124 # which looks to be a dead project)
20125 lt_prog_compiler_wl_F77='-Wl,'
20126 lt_prog_compiler_pic_F77='-fpic'
20127 lt_prog_compiler_static_F77='-static'
20130 lt_prog_compiler_wl_F77='-Wl,'
20131 # All Alpha code is PIC.
20132 lt_prog_compiler_static_F77='-non_shared'
20137 osf3* | osf4* | osf5*)
20138 lt_prog_compiler_wl_F77='-Wl,'
20139 # All OSF/1 code is PIC.
20140 lt_prog_compiler_static_F77='-non_shared'
20144 lt_prog_compiler_pic_F77='-Kpic'
20145 lt_prog_compiler_static_F77='-dn'
20149 lt_prog_compiler_pic_F77='-KPIC'
20150 lt_prog_compiler_static_F77='-Bstatic'
20151 case $cc_basename in
20152 f77* | f90* | f95*)
20153 lt_prog_compiler_wl_F77='-Qoption ld ';;
20155 lt_prog_compiler_wl_F77='-Wl,';;
20160 lt_prog_compiler_wl_F77='-Qoption ld '
20161 lt_prog_compiler_pic_F77='-PIC'
20162 lt_prog_compiler_static_F77='-Bstatic'
20165 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20166 lt_prog_compiler_wl_F77='-Wl,'
20167 lt_prog_compiler_pic_F77='-KPIC'
20168 lt_prog_compiler_static_F77='-Bstatic'
20172 if test -d /usr/nec ;then
20173 lt_prog_compiler_pic_F77='-Kconform_pic'
20174 lt_prog_compiler_static_F77='-Bstatic'
20179 lt_prog_compiler_wl_F77='-Wl,'
20180 lt_prog_compiler_can_build_shared_F77=no
20184 lt_prog_compiler_pic_F77='-pic'
20185 lt_prog_compiler_static_F77='-Bstatic'
20189 lt_prog_compiler_can_build_shared_F77=no
20194 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20195 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
20198 # Check to make sure the PIC flag actually works.
20200 if test -n "$lt_prog_compiler_pic_F77"; then
20202 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20203 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
20204 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 lt_prog_compiler_pic_works_F77=no
20208 ac_outfile=conftest.$ac_objext
20209 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20210 lt_compiler_flag="$lt_prog_compiler_pic_F77"
20211 # Insert the option either (1) after the last *FLAGS variable, or
20212 # (2) before a word containing "conftest.", or (3) at the end.
20213 # Note that $ac_compile itself does not contain backslashes and begins
20214 # with a dollar sign (not a hyphen), so the echo should work correctly.
20215 # The option is referenced via a variable to avoid confusing sed.
20216 lt_compile=`echo "$ac_compile" | $SED \
20217 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20219 -e 's:$: $lt_compiler_flag:'`
20220 (eval echo "\"\$as_me:20220: $lt_compile\"" >&5)
20221 (eval "$lt_compile" 2>conftest.err)
20223 cat conftest.err >&5
20224 echo "$as_me:20224: \$? = $ac_status" >&5
20225 if (exit $ac_status) && test -s "$ac_outfile"; then
20226 # The compiler can only warn and ignore the option if not recognized
20227 # So say no if there are warnings other than the usual output.
20228 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
20229 $SED '/^$/d' conftest.err >conftest.er2
20230 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
20231 lt_prog_compiler_pic_works_F77=yes
20237 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
20238 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
20240 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
20241 case $lt_prog_compiler_pic_F77 in
20243 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
20246 lt_prog_compiler_pic_F77=
20247 lt_prog_compiler_can_build_shared_F77=no
20252 # For platforms which do not support PIC, -DPIC is meaningless:
20254 lt_prog_compiler_pic_F77=
20257 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
20261 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20262 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
20263 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
20264 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 lt_cv_prog_compiler_c_o_F77=no
20267 $rm -r conftest 2>/dev/null
20271 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20273 lt_compiler_flag="-o out/conftest2.$ac_objext"
20274 # Insert the option either (1) after the last *FLAGS variable, or
20275 # (2) before a word containing "conftest.", or (3) at the end.
20276 # Note that $ac_compile itself does not contain backslashes and begins
20277 # with a dollar sign (not a hyphen), so the echo should work correctly.
20278 lt_compile=`echo "$ac_compile" | $SED \
20279 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20281 -e 's:$: $lt_compiler_flag:'`
20282 (eval echo "\"\$as_me:20282: $lt_compile\"" >&5)
20283 (eval "$lt_compile" 2>out/conftest.err)
20285 cat out/conftest.err >&5
20286 echo "$as_me:20286: \$? = $ac_status" >&5
20287 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20289 # The compiler can only warn and ignore the option if not recognized
20290 # So say no if there are warnings
20291 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
20292 $SED '/^$/d' out/conftest.err >out/conftest.er2
20293 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20294 lt_cv_prog_compiler_c_o_F77=yes
20299 # SGI C++ compiler will create directory out/ii_files/ for
20300 # template instantiation
20301 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20302 $rm out/* && rmdir out
20308 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20309 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
20312 hard_links="nottested"
20313 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20314 # do not overwrite the value of need_locks provided by the user
20315 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20316 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20319 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20321 ln conftest.a conftest.b 2>&5 || hard_links=no
20322 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20323 echo "$as_me:$LINENO: result: $hard_links" >&5
20324 echo "${ECHO_T}$hard_links" >&6
20325 if test "$hard_links" = no; then
20326 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20327 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20334 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20335 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20338 allow_undefined_flag_F77=
20339 enable_shared_with_static_runtimes_F77=no
20341 archive_expsym_cmds_F77=
20342 old_archive_From_new_cmds_F77=
20343 old_archive_from_expsyms_cmds_F77=
20344 export_dynamic_flag_spec_F77=
20345 whole_archive_flag_spec_F77=
20346 thread_safe_flag_spec_F77=
20347 hardcode_libdir_flag_spec_F77=
20348 hardcode_libdir_flag_spec_ld_F77=
20349 hardcode_libdir_separator_F77=
20350 hardcode_direct_F77=no
20351 hardcode_minus_L_F77=no
20352 hardcode_shlibpath_var_F77=unsupported
20353 link_all_deplibs_F77=unknown
20354 hardcode_automatic_F77=no
20356 module_expsym_cmds_F77=
20357 always_export_symbols_F77=no
20358 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20359 # include_expsyms should be a list of space-separated symbols to be *always*
20360 # included in the symbol list
20361 include_expsyms_F77=
20362 # exclude_expsyms can be an extended regexp of symbols to exclude
20363 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20364 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20365 # as well as any symbol that contains `d'.
20366 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
20367 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20368 # platforms (ab)use it in PIC code, but their linkers get confused if
20369 # the symbol is explicitly referenced. Since portable code cannot
20370 # rely on this symbol name, it's probably fine to never include it in
20371 # preloaded symbol tables.
20372 extract_expsyms_cmds=
20373 # Just being paranoid about ensuring that cc_basename is set.
20374 for cc_temp in $compiler""; do
20376 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20377 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20382 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20385 cygwin* | mingw* | pw32*)
20386 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20387 # When not using gcc, we currently assume that we are using
20388 # Microsoft Visual C++.
20389 if test "$GCC" != yes; then
20399 if test "$with_gnu_ld" = yes; then
20400 # If archive_cmds runs LD, not CC, wlarc should be empty
20403 # Set some defaults for GNU ld with shared library support. These
20404 # are reset later if shared libraries are not supported. Putting them
20405 # here allows them to be overridden if necessary.
20406 runpath_var=LD_RUN_PATH
20407 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20408 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20409 # ancient GNU ld didn't support --whole-archive et. al.
20410 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20411 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20413 whole_archive_flag_spec_F77=
20415 supports_anon_versioning=no
20416 case `$LD -v 2>/dev/null` in
20417 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20418 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20419 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20420 *\ 2.11.*) ;; # other 2.11 versions
20421 *) supports_anon_versioning=yes ;;
20424 # See if GNU ld supports shared libraries.
20426 aix3* | aix4* | aix5*)
20427 # On AIX/PPC, the GNU linker is very broken
20428 if test "$host_cpu" != ia64; then
20432 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20433 *** to be unable to reliably create shared libraries on AIX.
20434 *** Therefore, libtool is disabling shared libraries support. If you
20435 *** really care for shared libraries, you may want to modify your PATH
20436 *** so that a non-GNU linker is found, and then restart.
20443 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)'
20444 hardcode_libdir_flag_spec_F77='-L$libdir'
20445 hardcode_minus_L_F77=yes
20447 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20448 # that the semantics of dynamic libraries on AmigaOS, at least up
20449 # to version 4, is to share data among multiple programs linked
20450 # with the same dynamic library. Since this doesn't match the
20451 # behavior of shared libraries on other platforms, we can't use
20457 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20458 allow_undefined_flag_F77=unsupported
20459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20460 # support --undefined. This deserves some investigation. FIXME
20461 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20467 cygwin* | mingw* | pw32*)
20468 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
20469 # as there is no search path for DLLs.
20470 hardcode_libdir_flag_spec_F77='-L$libdir'
20471 allow_undefined_flag_F77=unsupported
20472 always_export_symbols_F77=no
20473 enable_shared_with_static_runtimes_F77=yes
20474 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20476 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20477 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20478 # If the export-symbols file already is a .def file (1st line
20479 # is EXPORTS), use it as is; otherwise, prepend...
20480 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20481 cp $export_symbols $output_objdir/$soname.def;
20483 echo EXPORTS > $output_objdir/$soname.def;
20484 cat $export_symbols >> $output_objdir/$soname.def;
20486 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20493 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20495 case $cc_basename,$host_cpu in
20496 pgcc*) # Portland Group C compiler
20497 whole_archive_flag_spec_F77=
20499 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
20500 whole_archive_flag_spec_F77=
20501 tmp_addflag=' -fpic -Mnomain' ;;
20502 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
20503 tmp_addflag=' -i_dynamic' ;;
20504 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
20505 tmp_addflag=' -i_dynamic -nofor_main' ;;
20506 ifc* | ifort*) # Intel Fortran compiler
20507 tmp_addflag=' -nofor_main' ;;
20509 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20511 if test $supports_anon_versioning = yes; then
20512 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
20513 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20514 $echo "local: *; };" >> $output_objdir/$libname.ver~
20515 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20523 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20524 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20527 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20528 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20533 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20537 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20538 *** create shared libraries on Solaris systems. Therefore, libtool
20539 *** is disabling shared libraries support. We urge you to upgrade GNU
20540 *** binutils to release 2.9.1 or newer. Another option is to modify
20541 *** your PATH or compiler configuration so that the native linker is
20542 *** used, and then restart.
20545 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20546 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20547 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20554 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20556 hardcode_direct_F77=yes
20557 hardcode_shlibpath_var_F77=no
20561 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20562 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20563 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20570 if test "$ld_shlibs_F77" = no; then
20572 hardcode_libdir_flag_spec_F77=
20573 export_dynamic_flag_spec_F77=
20574 whole_archive_flag_spec_F77=
20577 # PORTME fill in a description of your system's linker (not GNU ld)
20580 allow_undefined_flag_F77=unsupported
20581 always_export_symbols_F77=yes
20582 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'
20583 # Note: this linker hardcodes the directories in LIBPATH if there
20584 # are no directories specified by -L.
20585 hardcode_minus_L_F77=yes
20586 if test "$GCC" = yes && test -z "$link_static_flag"; then
20587 # Neither direct hardcoding nor static linking is supported with a
20589 hardcode_direct_F77=unsupported
20594 if test "$host_cpu" = ia64; then
20595 # On IA64, the linker does run time linking by default, so we don't
20596 # have to do anything special.
20597 aix_use_runtimelinking=no
20598 exp_sym_flag='-Bexport'
20601 # If we're using GNU nm, then we don't want the "-C" option.
20602 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20603 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20604 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'
20606 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'
20608 aix_use_runtimelinking=no
20610 # Test if we are trying to use run time linking or normal
20611 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20612 # need to do runtime linking.
20613 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20614 for ld_flag in $LDFLAGS; do
20615 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20616 aix_use_runtimelinking=yes
20622 exp_sym_flag='-bexport'
20623 no_entry_flag='-bnoentry'
20626 # When large executables or shared objects are built, AIX ld can
20627 # have problems creating the table of contents. If linking a library
20628 # or program results in "error TOC overflow" add -mminimal-toc to
20629 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20630 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20632 archive_cmds_F77=''
20633 hardcode_direct_F77=yes
20634 hardcode_libdir_separator_F77=':'
20635 link_all_deplibs_F77=yes
20637 if test "$GCC" = yes; then
20638 case $host_os in aix4.[012]|aix4.[012].*)
20639 # We only want to do this on AIX 4.2 and lower, the check
20640 # below for broken collect2 doesn't work under 4.3+
20641 collect2name=`${CC} -print-prog-name=collect2`
20642 if test -f "$collect2name" && \
20643 strings "$collect2name" | grep resolve_lib_name >/dev/null
20645 # We have reworked collect2
20646 hardcode_direct_F77=yes
20648 # We have old collect2
20649 hardcode_direct_F77=unsupported
20650 # It fails to find uninstalled libraries when the uninstalled
20651 # path is not listed in the libpath. Setting hardcode_minus_L
20652 # to unsupported forces relinking
20653 hardcode_minus_L_F77=yes
20654 hardcode_libdir_flag_spec_F77='-L$libdir'
20655 hardcode_libdir_separator_F77=
20658 shared_flag='-shared'
20659 if test "$aix_use_runtimelinking" = yes; then
20660 shared_flag="$shared_flag "'${wl}-G'
20664 if test "$host_cpu" = ia64; then
20665 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20666 # chokes on -Wl,-G. The following line is correct:
20669 if test "$aix_use_runtimelinking" = yes; then
20670 shared_flag='${wl}-G'
20672 shared_flag='${wl}-bM:SRE'
20677 # It seems that -bexpall does not export symbols beginning with
20678 # underscore (_), so it is better to generate a list of symbols to export.
20679 always_export_symbols_F77=yes
20680 if test "$aix_use_runtimelinking" = yes; then
20681 # Warning - without using the other runtime loading flags (-brtl),
20682 # -berok will link without error, but may produce a broken library.
20683 allow_undefined_flag_F77='-berok'
20684 # Determine the default libpath from the value encoded in an empty executable.
20685 cat >conftest.$ac_ext <<_ACEOF
20690 rm -f conftest.$ac_objext conftest$ac_exeext
20691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20692 (eval $ac_link) 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } &&
20699 { ac_try='test -z "$ac_f77_werror_flag"
20700 || test ! -s conftest.err'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; } &&
20706 { ac_try='test -s conftest$ac_exeext'
20707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708 (eval $ac_try) 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; }; then
20713 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20715 # Check for a 64-bit object if we didn't find anything.
20716 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; }
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20723 rm -f conftest.err conftest.$ac_objext \
20724 conftest$ac_exeext conftest.$ac_ext
20725 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20727 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20728 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20730 if test "$host_cpu" = ia64; then
20731 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
20732 allow_undefined_flag_F77="-z nodefs"
20733 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
20735 # Determine the default libpath from the value encoded in an empty executable.
20736 cat >conftest.$ac_ext <<_ACEOF
20741 rm -f conftest.$ac_objext conftest$ac_exeext
20742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20743 (eval $ac_link) 2>conftest.er1
20745 grep -v '^ *+' conftest.er1 >conftest.err
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } &&
20750 { ac_try='test -z "$ac_f77_werror_flag"
20751 || test ! -s conftest.err'
20752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20753 (eval $ac_try) 2>&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); }; } &&
20757 { ac_try='test -s conftest$ac_exeext'
20758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759 (eval $ac_try) 2>&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); }; }; then
20764 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20766 # Check for a 64-bit object if we didn't find anything.
20767 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; }
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20774 rm -f conftest.err conftest.$ac_objext \
20775 conftest$ac_exeext conftest.$ac_ext
20776 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20778 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20779 # Warning - without using the other run time loading flags,
20780 # -berok will link without error, but may produce a broken library.
20781 no_undefined_flag_F77=' ${wl}-bernotok'
20782 allow_undefined_flag_F77=' ${wl}-berok'
20783 # -bexpall does not export symbols beginning with underscore (_)
20784 always_export_symbols_F77=yes
20785 # Exported symbols can be pulled into shared objects from archives
20786 whole_archive_flag_spec_F77=' '
20787 archive_cmds_need_lc_F77=yes
20788 # This is similar to how AIX traditionally builds it's shared libraries.
20789 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20795 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)'
20796 hardcode_libdir_flag_spec_F77='-L$libdir'
20797 hardcode_minus_L_F77=yes
20798 # see comment about different semantics on the GNU ld section
20803 export_dynamic_flag_spec_F77=-rdynamic
20806 cygwin* | mingw* | pw32*)
20807 # When not using gcc, we currently assume that we are using
20808 # Microsoft Visual C++.
20809 # hardcode_libdir_flag_spec is actually meaningless, as there is
20810 # no search path for DLLs.
20811 hardcode_libdir_flag_spec_F77=' '
20812 allow_undefined_flag_F77=unsupported
20813 # Tell ltmain to make .lib files, not .a files.
20815 # Tell ltmain to make .dll files, not .so files.
20817 # FIXME: Setting linknames here is a bad hack.
20818 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20819 # The linker will automatically build a .lib file if we build a DLL.
20820 old_archive_From_new_cmds_F77='true'
20821 # FIXME: Should let the user specify the lib program.
20822 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20823 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
20824 enable_shared_with_static_runtimes_F77=yes
20827 darwin* | rhapsody*)
20829 rhapsody* | darwin1.[012])
20830 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
20833 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20834 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20836 case ${MACOSX_DEPLOYMENT_TARGET} in
20838 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20841 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
20847 archive_cmds_need_lc_F77=no
20848 hardcode_direct_F77=no
20849 hardcode_automatic_F77=yes
20850 hardcode_shlibpath_var_F77=unsupported
20851 whole_archive_flag_spec_F77=''
20852 link_all_deplibs_F77=yes
20853 if test "$GCC" = yes ; then
20854 output_verbose_link_cmd='echo'
20855 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20856 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20857 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20858 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}'
20859 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}'
20861 case $cc_basename in
20863 output_verbose_link_cmd='echo'
20864 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
20865 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20866 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20867 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}'
20868 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}'
20878 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20879 hardcode_libdir_flag_spec_F77='-L$libdir'
20880 hardcode_shlibpath_var_F77=no
20887 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20888 # support. Future versions do this automatically, but an explicit c++rt0.o
20889 # does not break anything, and helps significantly (at the cost of a little
20892 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20893 hardcode_libdir_flag_spec_F77='-R$libdir'
20894 hardcode_direct_F77=yes
20895 hardcode_shlibpath_var_F77=no
20898 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20900 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20901 hardcode_direct_F77=yes
20902 hardcode_minus_L_F77=yes
20903 hardcode_shlibpath_var_F77=no
20906 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20907 freebsd* | kfreebsd*-gnu | dragonfly*)
20908 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20909 hardcode_libdir_flag_spec_F77='-R$libdir'
20910 hardcode_direct_F77=yes
20911 hardcode_shlibpath_var_F77=no
20915 if test "$GCC" = yes; then
20916 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'
20918 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'
20920 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20921 hardcode_libdir_separator_F77=:
20922 hardcode_direct_F77=yes
20924 # hardcode_minus_L: Not really in the search PATH,
20925 # but as the default location of the library.
20926 hardcode_minus_L_F77=yes
20927 export_dynamic_flag_spec_F77='${wl}-E'
20931 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20932 case "$host_cpu" in
20934 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20937 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20941 case "$host_cpu" in
20943 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20946 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20950 if test "$with_gnu_ld" = no; then
20951 case "$host_cpu" in
20953 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20954 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
20955 hardcode_libdir_separator_F77=:
20956 hardcode_direct_F77=no
20957 hardcode_shlibpath_var_F77=no
20960 hardcode_libdir_flag_spec_F77='-L$libdir'
20961 hardcode_direct_F77=no
20962 hardcode_shlibpath_var_F77=no
20964 # hardcode_minus_L: Not really in the search PATH,
20965 # but as the default location of the library.
20966 hardcode_minus_L_F77=yes
20969 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20970 hardcode_libdir_separator_F77=:
20971 hardcode_direct_F77=yes
20972 export_dynamic_flag_spec_F77='${wl}-E'
20974 # hardcode_minus_L: Not really in the search PATH,
20975 # but as the default location of the library.
20976 hardcode_minus_L_F77=yes
20982 irix5* | irix6* | nonstopux*)
20983 if test "$GCC" = yes; then
20984 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'
20986 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'
20987 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
20989 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20990 hardcode_libdir_separator_F77=:
20991 link_all_deplibs_F77=yes
20995 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20996 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20998 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21000 hardcode_libdir_flag_spec_F77='-R$libdir'
21001 hardcode_direct_F77=yes
21002 hardcode_shlibpath_var_F77=no
21006 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21007 hardcode_direct_F77=yes
21008 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21009 hardcode_libdir_separator_F77=:
21010 hardcode_shlibpath_var_F77=no
21014 hardcode_direct_F77=yes
21015 hardcode_shlibpath_var_F77=no
21016 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21017 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21018 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21019 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21020 export_dynamic_flag_spec_F77='${wl}-E'
21023 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
21024 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21025 hardcode_libdir_flag_spec_F77='-R$libdir'
21028 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21029 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21036 hardcode_libdir_flag_spec_F77='-L$libdir'
21037 hardcode_minus_L_F77=yes
21038 allow_undefined_flag_F77=unsupported
21039 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'
21040 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21044 if test "$GCC" = yes; then
21045 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
21046 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'
21048 allow_undefined_flag_F77=' -expect_unresolved \*'
21049 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'
21051 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21052 hardcode_libdir_separator_F77=:
21055 osf4* | osf5*) # as osf3* with the addition of -msym flag
21056 if test "$GCC" = yes; then
21057 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
21058 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'
21059 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
21061 allow_undefined_flag_F77=' -expect_unresolved \*'
21062 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'
21063 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~
21064 $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'
21066 # Both c and cxx compiler support -rpath directly
21067 hardcode_libdir_flag_spec_F77='-rpath $libdir'
21069 hardcode_libdir_separator_F77=:
21073 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21074 hardcode_shlibpath_var_F77=no
21075 export_dynamic_flag_spec_F77='${wl}-Bexport'
21076 runpath_var=LD_RUN_PATH
21077 hardcode_runpath_var=yes
21081 no_undefined_flag_F77=' -z text'
21082 if test "$GCC" = yes; then
21084 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21085 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21086 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
21089 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21090 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21091 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21093 hardcode_libdir_flag_spec_F77='-R$libdir'
21094 hardcode_shlibpath_var_F77=no
21096 solaris2.[0-5] | solaris2.[0-5].*) ;;
21098 # The compiler driver will combine linker options so we
21099 # cannot just pass the convience library names through
21100 # without $wl, iff we do not link with $LD.
21101 # Luckily, gcc supports the same syntax we need for Sun Studio.
21102 # Supported since Solaris 2.6 (maybe 2.5.1?)
21105 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
21107 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' ;;
21110 link_all_deplibs_F77=yes
21114 if test "x$host_vendor" = xsequent; then
21115 # Use $CC to link under sequent, because it throws in some extra .o
21116 # files that make .init and .fini sections work.
21117 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21119 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21121 hardcode_libdir_flag_spec_F77='-L$libdir'
21122 hardcode_direct_F77=yes
21123 hardcode_minus_L_F77=yes
21124 hardcode_shlibpath_var_F77=no
21128 case $host_vendor in
21130 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21131 hardcode_direct_F77=yes # is this really true???
21134 ## LD is ld it makes a PLAMLIB
21135 ## CC just makes a GrossModule.
21136 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21137 reload_cmds_F77='$CC -r -o $output$reload_objs'
21138 hardcode_direct_F77=no
21141 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21142 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
21145 runpath_var='LD_RUN_PATH'
21146 hardcode_shlibpath_var_F77=no
21150 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21151 hardcode_shlibpath_var_F77=no
21152 export_dynamic_flag_spec_F77='-Bexport'
21156 if test -d /usr/nec; then
21157 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21158 hardcode_shlibpath_var_F77=no
21159 runpath_var=LD_RUN_PATH
21160 hardcode_runpath_var=yes
21166 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21167 hardcode_direct_F77=yes
21168 hardcode_minus_L_F77=no
21169 hardcode_shlibpath_var_F77=no
21170 hardcode_runpath_var=yes
21171 runpath_var=LD_RUN_PATH
21174 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
21175 no_undefined_flag_F77='${wl}-z ${wl}text'
21176 if test "$GCC" = yes; then
21177 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21179 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21181 runpath_var='LD_RUN_PATH'
21182 hardcode_shlibpath_var_F77=no
21186 no_undefined_flag_F77=' -z text'
21187 # $CC -shared without GNU ld will not create a library from C++
21188 # object files and a static libstdc++, better avoid it by now
21189 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21190 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21191 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21192 hardcode_libdir_flag_spec_F77=
21193 hardcode_shlibpath_var_F77=no
21194 runpath_var='LD_RUN_PATH'
21198 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21199 hardcode_libdir_flag_spec_F77='-L$libdir'
21200 hardcode_shlibpath_var_F77=no
21209 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
21210 echo "${ECHO_T}$ld_shlibs_F77" >&6
21211 test "$ld_shlibs_F77" = no && can_build_shared=no
21213 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21214 if test "$GCC" = yes; then
21215 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21219 # Do we need to explicitly link libc?
21221 case "x$archive_cmds_need_lc_F77" in
21223 # Assume -lc should be added
21224 archive_cmds_need_lc_F77=yes
21226 if test "$enable_shared" = yes && test "$GCC" = yes; then
21227 case $archive_cmds_F77 in
21229 # FIXME: we may have to deal with multi-command sequences.
21232 # Test whether the compiler implicitly links with -lc since on some
21233 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21234 # to ld, don't add -lc before -lgcc.
21235 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21236 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21238 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21241 (eval $ac_compile) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } 2>conftest.err; then
21247 libobjs=conftest.$ac_objext
21249 wl=$lt_prog_compiler_wl_F77
21255 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
21256 allow_undefined_flag_F77=
21257 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21258 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }
21263 archive_cmds_need_lc_F77=no
21265 archive_cmds_need_lc_F77=yes
21267 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
21269 cat conftest.err 1>&5
21272 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
21273 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
21280 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21281 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21282 library_names_spec=
21283 libname_spec='lib$name'
21287 postuninstall_cmds=
21291 shlibpath_overrides_runpath=unknown
21293 dynamic_linker="$host_os ld.so"
21294 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21295 if test "$GCC" = yes; then
21296 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21297 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21298 # if the path contains ";" then we assume it to be the separator
21299 # otherwise default to the standard path separator (i.e. ":") - it is
21300 # assumed that no part of a normal pathname contains ";" but that should
21301 # okay in the real world where ";" in dirpaths is itself problematic.
21302 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21304 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21307 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21309 need_lib_prefix=unknown
21310 hardcode_into_libs=no
21312 # when you set need_version to no, make sure it does not cause -set_version
21313 # flags to be left without arguments
21314 need_version=unknown
21319 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21320 shlibpath_var=LIBPATH
21322 # AIX 3 has no versioning support, so we append a major version to the name.
21323 soname_spec='${libname}${release}${shared_ext}$major'
21330 hardcode_into_libs=yes
21331 if test "$host_cpu" = ia64; then
21332 # AIX 5 supports IA64
21333 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21334 shlibpath_var=LD_LIBRARY_PATH
21336 # With GCC up to 2.95.x, collect2 would create an import file
21337 # for dependence libraries. The import file would start with
21338 # the line `#! .'. This would cause the generated library to
21339 # depend on `.', always an invalid library. This was fixed in
21340 # development snapshots of GCC prior to 3.0.
21342 aix4 | aix4.[01] | aix4.[01].*)
21343 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21345 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21348 can_build_shared=no
21352 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21353 # soname into executable. Probably we can add versioning support to
21354 # collect2, so additional links can be useful in future.
21355 if test "$aix_use_runtimelinking" = yes; then
21356 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21357 # instead of lib<name>.a to let people know that these are not
21358 # typical AIX shared libraries.
21359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21361 # We preserve .a as extension for shared libraries through AIX4.2
21362 # and later when we are not doing run time linking.
21363 library_names_spec='${libname}${release}.a $libname.a'
21364 soname_spec='${libname}${release}${shared_ext}$major'
21366 shlibpath_var=LIBPATH
21371 library_names_spec='$libname.ixlibrary $libname.a'
21372 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21373 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'
21377 library_names_spec='${libname}${shared_ext}'
21378 dynamic_linker="$host_os ld.so"
21379 shlibpath_var=LIBRARY_PATH
21385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21386 soname_spec='${libname}${release}${shared_ext}$major'
21387 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21388 shlibpath_var=LD_LIBRARY_PATH
21389 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21390 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21391 # the default ld.so.conf also contains /usr/contrib/lib and
21392 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21393 # libtool to hard-code these into programs
21396 cygwin* | mingw* | pw32*)
21397 version_type=windows
21402 case $GCC,$host_os in
21403 yes,cygwin* | yes,mingw* | yes,pw32*)
21404 library_names_spec='$libname.dll.a'
21405 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21406 postinstall_cmds='base_file=`basename \${file}`~
21407 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21408 dldir=$destdir/`dirname \$dlpath`~
21409 test -d \$dldir || mkdir -p \$dldir~
21410 $install_prog $dir/$dlname \$dldir/$dlname'
21411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21412 dlpath=$dir/\$dldll~
21414 shlibpath_overrides_runpath=yes
21418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21420 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21423 # MinGW DLLs use traditional 'lib' prefix
21424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21425 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21426 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21427 # It is most probably a Windows format PATH printed by
21428 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21429 # path with ; separators, and with drive letters. We can handle the
21430 # drive letters (cygwin fileutils understands them), so leave them,
21431 # especially as we might pass files found there to a mingw objdump,
21432 # which wouldn't understand a cygwinified path. Ahh.
21433 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21435 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21439 # pw32 DLLs use 'pw' prefix rather than 'lib'
21440 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21446 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21449 dynamic_linker='Win32 ld.exe'
21450 # FIXME: first we should search . and the directory the executable is in
21454 darwin* | rhapsody*)
21455 dynamic_linker="$host_os dyld"
21456 version_type=darwin
21459 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21460 soname_spec='${libname}${release}${major}$shared_ext'
21461 shlibpath_overrides_runpath=yes
21462 shlibpath_var=DYLD_LIBRARY_PATH
21463 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
21464 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21465 if test "$GCC" = yes; then
21466 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"`
21468 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21470 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21478 soname_spec='${libname}${release}${shared_ext}$major'
21479 shlibpath_var=LD_LIBRARY_PATH
21490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21491 soname_spec='${libname}${release}${shared_ext}$major'
21492 shlibpath_var=LD_LIBRARY_PATH
21493 shlibpath_overrides_runpath=no
21494 hardcode_into_libs=yes
21495 dynamic_linker='GNU ld.so'
21498 freebsd* | dragonfly*)
21499 # DragonFly does not have aout. When/if they implement a new
21500 # versioning mechanism, adjust this.
21501 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21502 version_type=freebsd-$objformat
21503 case $version_type in
21505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21510 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21514 shlibpath_var=LD_LIBRARY_PATH
21517 shlibpath_overrides_runpath=yes
21519 freebsd3.[01]* | freebsdelf3.[01]*)
21520 shlibpath_overrides_runpath=yes
21521 hardcode_into_libs=yes
21524 shlibpath_overrides_runpath=no
21525 hardcode_into_libs=yes
21534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21535 soname_spec='${libname}${release}${shared_ext}$major'
21536 shlibpath_var=LD_LIBRARY_PATH
21537 hardcode_into_libs=yes
21540 hpux9* | hpux10* | hpux11*)
21541 # Give a soname corresponding to the major version so that dld.sl refuses to
21542 # link against other versions.
21546 case "$host_cpu" in
21549 hardcode_into_libs=yes
21550 dynamic_linker="$host_os dld.so"
21551 shlibpath_var=LD_LIBRARY_PATH
21552 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21554 soname_spec='${libname}${release}${shared_ext}$major'
21555 if test "X$HPUX_IA64_MODE" = X32; then
21556 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21558 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21560 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21564 hardcode_into_libs=yes
21565 dynamic_linker="$host_os dld.sl"
21566 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21567 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21569 soname_spec='${libname}${release}${shared_ext}$major'
21570 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21571 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21575 dynamic_linker="$host_os dld.sl"
21576 shlibpath_var=SHLIB_PATH
21577 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21579 soname_spec='${libname}${release}${shared_ext}$major'
21582 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21583 postinstall_cmds='chmod 555 $lib'
21586 irix5* | irix6* | nonstopux*)
21588 nonstopux*) version_type=nonstopux ;;
21590 if test "$lt_cv_prog_gnu_ld" = yes; then
21598 soname_spec='${libname}${release}${shared_ext}$major'
21599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21601 irix5* | nonstopux*)
21602 libsuff= shlibsuff=
21605 case $LD in # libtool.m4 will add one of these switches to LD
21606 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21607 libsuff= shlibsuff= libmagic=32-bit;;
21608 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21609 libsuff=32 shlibsuff=N32 libmagic=N32;;
21610 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21611 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21612 *) libsuff= shlibsuff= libmagic=never-match;;
21616 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21617 shlibpath_overrides_runpath=no
21618 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21619 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21620 hardcode_into_libs=yes
21623 # No shared lib support for Linux oldld, aout, or coff.
21624 linux*oldld* | linux*aout* | linux*coff*)
21628 # This must be Linux ELF.
21633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21634 soname_spec='${libname}${release}${shared_ext}$major'
21635 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21636 shlibpath_var=LD_LIBRARY_PATH
21637 shlibpath_overrides_runpath=no
21638 # This implies no fast_install, which is unacceptable.
21639 # Some rework will be needed to allow for fast_install
21640 # before this can be enabled.
21641 hardcode_into_libs=yes
21643 # find out which ABI we are using
21645 case "$host_cpu" in
21646 x86_64*|s390x*|powerpc64*)
21647 echo '#line 21647 "configure"' > conftest.$ac_ext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; then
21653 case `/usr/bin/file conftest.$ac_objext` in
21656 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
21664 # Append ld.so.conf contents to the search path
21665 if test -f /etc/ld.so.conf; then
21666 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
21667 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
21670 # We used to test for /lib/ld.so.1 and disable shared libraries on
21671 # powerpc, because MkLinux only supported shared libraries with the
21672 # GNU dynamic linker. Since this was broken with cross compilers,
21673 # most powerpc-linux boxes support dynamic linking these days and
21674 # people can always --disable-shared, the test was removed, and we
21675 # assume the GNU/Linux dynamic linker is in use.
21676 dynamic_linker='GNU/Linux ld.so'
21683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21684 soname_spec='${libname}${release}${shared_ext}$major'
21685 shlibpath_var=LD_LIBRARY_PATH
21686 shlibpath_overrides_runpath=no
21687 hardcode_into_libs=yes
21688 dynamic_linker='GNU ld.so'
21695 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21697 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21698 dynamic_linker='NetBSD (a.out) ld.so'
21700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21701 soname_spec='${libname}${release}${shared_ext}$major'
21702 dynamic_linker='NetBSD ld.elf_so'
21704 shlibpath_var=LD_LIBRARY_PATH
21705 shlibpath_overrides_runpath=yes
21706 hardcode_into_libs=yes
21711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21712 shlibpath_var=LD_LIBRARY_PATH
21713 shlibpath_overrides_runpath=yes
21720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21721 soname_spec='${libname}${release}${shared_ext}$major'
21722 shlibpath_var=LD_LIBRARY_PATH
21723 shlibpath_overrides_runpath=yes
21730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21731 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21732 shlibpath_var=LD_LIBRARY_PATH
21733 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21735 openbsd2.[89] | openbsd2.[89].*)
21736 shlibpath_overrides_runpath=no
21739 shlibpath_overrides_runpath=yes
21743 shlibpath_overrides_runpath=yes
21748 libname_spec='$name'
21751 library_names_spec='$libname${shared_ext} $libname.a'
21752 dynamic_linker='OS/2 ld.exe'
21753 shlibpath_var=LIBPATH
21756 osf3* | osf4* | osf5*)
21760 soname_spec='${libname}${release}${shared_ext}$major'
21761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21762 shlibpath_var=LD_LIBRARY_PATH
21763 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21764 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21769 soname_spec='${libname}${release}${shared_ext}$major'
21770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21771 shlibpath_var=LD_LIBRARY_PATH
21778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21779 soname_spec='${libname}${release}${shared_ext}$major'
21780 shlibpath_var=LD_LIBRARY_PATH
21781 shlibpath_overrides_runpath=yes
21782 hardcode_into_libs=yes
21783 # ldd complains unless libraries are executable
21784 postinstall_cmds='chmod +x $lib'
21789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21790 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21791 shlibpath_var=LD_LIBRARY_PATH
21792 shlibpath_overrides_runpath=yes
21793 if test "$with_gnu_ld" = yes; then
21799 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21802 soname_spec='${libname}${release}${shared_ext}$major'
21803 shlibpath_var=LD_LIBRARY_PATH
21804 case $host_vendor in
21806 shlibpath_overrides_runpath=no
21808 export_dynamic_flag_spec='${wl}-Blargedynsym'
21809 runpath_var=LD_RUN_PATH
21817 shlibpath_overrides_runpath=no
21818 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21824 if test -d /usr/nec ;then
21826 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21827 soname_spec='$libname${shared_ext}.$major'
21828 shlibpath_var=LD_LIBRARY_PATH
21834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21835 soname_spec='${libname}${release}${shared_ext}$major'
21836 shlibpath_var=LD_LIBRARY_PATH
21843 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21844 echo "${ECHO_T}$dynamic_linker" >&6
21845 test "$dynamic_linker" = no && can_build_shared=no
21847 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21848 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21849 hardcode_action_F77=
21850 if test -n "$hardcode_libdir_flag_spec_F77" || \
21851 test -n "$runpath_var_F77" || \
21852 test "X$hardcode_automatic_F77" = "Xyes" ; then
21854 # We can hardcode non-existant directories.
21855 if test "$hardcode_direct_F77" != no &&
21856 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21857 # have to relink, otherwise we might link with an installed library
21858 # when we should be linking with a yet-to-be-installed one
21859 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21860 test "$hardcode_minus_L_F77" != no; then
21861 # Linking always hardcodes the temporary library directory.
21862 hardcode_action_F77=relink
21864 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21865 hardcode_action_F77=immediate
21868 # We cannot hardcode anything, or else we can only hardcode existing
21870 hardcode_action_F77=unsupported
21872 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
21873 echo "${ECHO_T}$hardcode_action_F77" >&6
21875 if test "$hardcode_action_F77" = relink; then
21876 # Fast installation is not supported
21877 enable_fast_install=no
21878 elif test "$shlibpath_overrides_runpath" = yes ||
21879 test "$enable_shared" = no; then
21880 # Fast installation is not necessary
21881 enable_fast_install=needless
21886 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
21887 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
21888 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
21889 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21890 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21891 echo "$as_me:$LINENO: result: yes" >&5
21892 echo "${ECHO_T}yes" >&6
21894 # FIXME - insert some real tests, host_os isn't really good enough
21897 if test -n "$STRIP" ; then
21898 striplib="$STRIP -x"
21899 echo "$as_me:$LINENO: result: yes" >&5
21900 echo "${ECHO_T}yes" >&6
21902 echo "$as_me:$LINENO: result: no" >&5
21903 echo "${ECHO_T}no" >&6
21907 echo "$as_me:$LINENO: result: no" >&5
21908 echo "${ECHO_T}no" >&6
21915 # The else clause should only fire when bootstrapping the
21916 # libtool distribution, otherwise you forgot to ship ltmain.sh
21917 # with your package, and you will get complaints that there are
21918 # no rules to generate ltmain.sh.
21919 if test -f "$ltmain"; then
21920 # See if we are running on zsh, and set the options which allow our commands through
21921 # without removal of \ escapes.
21922 if test -n "${ZSH_VERSION+set}" ; then
21923 setopt NO_GLOB_SUBST
21925 # Now quote all the things that may contain metacharacters while being
21926 # careful not to overquote the AC_SUBSTed values. We take copies of the
21927 # variables and quote the copies for generation of the libtool script.
21928 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21930 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21931 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21932 deplibs_check_method reload_flag reload_cmds need_locks \
21933 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21934 lt_cv_sys_global_symbol_to_c_name_address \
21935 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21936 old_postinstall_cmds old_postuninstall_cmds \
21940 lt_prog_compiler_wl_F77 \
21941 lt_prog_compiler_pic_F77 \
21942 lt_prog_compiler_static_F77 \
21943 lt_prog_compiler_no_builtin_flag_F77 \
21944 export_dynamic_flag_spec_F77 \
21945 thread_safe_flag_spec_F77 \
21946 whole_archive_flag_spec_F77 \
21947 enable_shared_with_static_runtimes_F77 \
21948 old_archive_cmds_F77 \
21949 old_archive_from_new_cmds_F77 \
21950 predep_objects_F77 \
21951 postdep_objects_F77 \
21954 compiler_lib_search_path_F77 \
21956 archive_expsym_cmds_F77 \
21957 postinstall_cmds_F77 \
21958 postuninstall_cmds_F77 \
21959 old_archive_from_expsyms_cmds_F77 \
21960 allow_undefined_flag_F77 \
21961 no_undefined_flag_F77 \
21962 export_symbols_cmds_F77 \
21963 hardcode_libdir_flag_spec_F77 \
21964 hardcode_libdir_flag_spec_ld_F77 \
21965 hardcode_libdir_separator_F77 \
21966 hardcode_automatic_F77 \
21968 module_expsym_cmds_F77 \
21969 lt_cv_prog_compiler_c_o_F77 \
21970 exclude_expsyms_F77 \
21971 include_expsyms_F77; do
21974 old_archive_cmds_F77 | \
21975 old_archive_from_new_cmds_F77 | \
21976 archive_cmds_F77 | \
21977 archive_expsym_cmds_F77 | \
21978 module_cmds_F77 | \
21979 module_expsym_cmds_F77 | \
21980 old_archive_from_expsyms_cmds_F77 | \
21981 export_symbols_cmds_F77 | \
21982 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21983 postinstall_cmds | postuninstall_cmds | \
21984 old_postinstall_cmds | old_postuninstall_cmds | \
21985 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21986 # Double-quote double-evaled strings.
21987 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21990 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21996 *'\$0 --fallback-echo"')
21997 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22003 cat <<__EOF__ >> "$cfgfile"
22004 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
22006 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22008 # Shell to use when invoking shell scripts.
22011 # Whether or not to build shared libraries.
22012 build_libtool_libs=$enable_shared
22014 # Whether or not to build static libraries.
22015 build_old_libs=$enable_static
22017 # Whether or not to add -lc for building shared libraries.
22018 build_libtool_need_lc=$archive_cmds_need_lc_F77
22020 # Whether or not to disallow shared libs when runtime libs are static
22021 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
22023 # Whether or not to optimize for fast installation.
22024 fast_install=$enable_fast_install
22027 host_alias=$host_alias
22031 # The build system.
22032 build_alias=$build_alias
22036 # An echo program that does not interpret backslashes.
22041 AR_FLAGS=$lt_AR_FLAGS
22046 # A language-specific compiler.
22047 CC=$lt_compiler_F77
22049 # Is the compiler the GNU C compiler?
22055 # The linker used to build libraries.
22058 # Whether we need hard or soft links.
22061 # A BSD-compatible nm program.
22064 # A symbol stripping program
22067 # Used to examine libraries when file_magic_cmd begins "file"
22068 MAGIC_CMD=$MAGIC_CMD
22070 # Used on cygwin: DLL creation program.
22073 # Used on cygwin: object dumper.
22076 # Used on cygwin: assembler.
22079 # The name of the directory that contains temporary libtool files.
22082 # How to create reloadable object files.
22083 reload_flag=$lt_reload_flag
22084 reload_cmds=$lt_reload_cmds
22086 # How to pass a linker flag through the compiler.
22087 wl=$lt_lt_prog_compiler_wl_F77
22089 # Object file suffix (normally "o").
22090 objext="$ac_objext"
22092 # Old archive suffix (normally "a").
22095 # Shared library suffix (normally ".so").
22096 shrext_cmds='$shrext_cmds'
22098 # Executable file suffix (normally "").
22101 # Additional compiler flags for building library objects.
22102 pic_flag=$lt_lt_prog_compiler_pic_F77
22105 # What is the maximum length of a command?
22106 max_cmd_len=$lt_cv_sys_max_cmd_len
22108 # Does compiler simultaneously support -c and -o options?
22109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
22111 # Must we lock files when doing compilation?
22112 need_locks=$lt_need_locks
22114 # Do we need the lib prefix for modules?
22115 need_lib_prefix=$need_lib_prefix
22117 # Do we need a version for libraries?
22118 need_version=$need_version
22120 # Whether dlopen is supported.
22121 dlopen_support=$enable_dlopen
22123 # Whether dlopen of programs is supported.
22124 dlopen_self=$enable_dlopen_self
22126 # Whether dlopen of statically linked programs is supported.
22127 dlopen_self_static=$enable_dlopen_self_static
22129 # Compiler flag to prevent dynamic linking.
22130 link_static_flag=$lt_lt_prog_compiler_static_F77
22132 # Compiler flag to turn off builtin functions.
22133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
22135 # Compiler flag to allow reflexive dlopens.
22136 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
22138 # Compiler flag to generate shared objects directly from archives.
22139 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
22141 # Compiler flag to generate thread-safe objects.
22142 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
22144 # Library versioning type.
22145 version_type=$version_type
22147 # Format of library name prefix.
22148 libname_spec=$lt_libname_spec
22150 # List of archive names. First name is the real one, the rest are links.
22151 # The last name is the one that the linker finds with -lNAME.
22152 library_names_spec=$lt_library_names_spec
22154 # The coded name of the library, if different from the real name.
22155 soname_spec=$lt_soname_spec
22157 # Commands used to build and install an old-style archive.
22159 old_archive_cmds=$lt_old_archive_cmds_F77
22160 old_postinstall_cmds=$lt_old_postinstall_cmds
22161 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22163 # Create an old-style archive from a shared archive.
22164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
22166 # Create a temporary old-style archive to link instead of a shared archive.
22167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
22169 # Commands used to build and install a shared archive.
22170 archive_cmds=$lt_archive_cmds_F77
22171 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
22172 postinstall_cmds=$lt_postinstall_cmds
22173 postuninstall_cmds=$lt_postuninstall_cmds
22175 # Commands used to build a loadable module (assumed same as above if empty)
22176 module_cmds=$lt_module_cmds_F77
22177 module_expsym_cmds=$lt_module_expsym_cmds_F77
22179 # Commands to strip libraries.
22180 old_striplib=$lt_old_striplib
22181 striplib=$lt_striplib
22183 # Dependencies to place before the objects being linked to create a
22185 predep_objects=$lt_predep_objects_F77
22187 # Dependencies to place after the objects being linked to create a
22189 postdep_objects=$lt_postdep_objects_F77
22191 # Dependencies to place before the objects being linked to create a
22193 predeps=$lt_predeps_F77
22195 # Dependencies to place after the objects being linked to create a
22197 postdeps=$lt_postdeps_F77
22199 # The library search path used internally by the compiler when linking
22200 # a shared library.
22201 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
22203 # Method to check whether dependent libraries are shared objects.
22204 deplibs_check_method=$lt_deplibs_check_method
22206 # Command to use when deplibs_check_method == file_magic.
22207 file_magic_cmd=$lt_file_magic_cmd
22209 # Flag that allows shared libraries with undefined symbols to be built.
22210 allow_undefined_flag=$lt_allow_undefined_flag_F77
22212 # Flag that forces no undefined symbols.
22213 no_undefined_flag=$lt_no_undefined_flag_F77
22215 # Commands used to finish a libtool library installation in a directory.
22216 finish_cmds=$lt_finish_cmds
22218 # Same as above, but a single script fragment to be evaled but not shown.
22219 finish_eval=$lt_finish_eval
22221 # Take the output of nm and produce a listing of raw symbols and C names.
22222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22224 # Transform the output of nm in a proper C declaration
22225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22227 # Transform the output of nm in a C name address pair
22228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22230 # This is the shared library runtime path variable.
22231 runpath_var=$runpath_var
22233 # This is the shared library path variable.
22234 shlibpath_var=$shlibpath_var
22236 # Is shlibpath searched before the hard-coded library search path?
22237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22239 # How to hardcode a shared library path into an executable.
22240 hardcode_action=$hardcode_action_F77
22242 # Whether we should hardcode library paths into libraries.
22243 hardcode_into_libs=$hardcode_into_libs
22245 # Flag to hardcode \$libdir into a binary during linking.
22246 # This must work even if \$libdir does not exist.
22247 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
22249 # If ld is used when linking, flag to hardcode \$libdir into
22250 # a binary during linking. This must work even if \$libdir does
22252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
22254 # Whether we need a single -rpath flag with a separated argument.
22255 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
22257 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22258 # resulting binary.
22259 hardcode_direct=$hardcode_direct_F77
22261 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22262 # resulting binary.
22263 hardcode_minus_L=$hardcode_minus_L_F77
22265 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22266 # the resulting binary.
22267 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
22269 # Set to yes if building a shared library automatically hardcodes DIR into the library
22270 # and all subsequent libraries and executables linked against it.
22271 hardcode_automatic=$hardcode_automatic_F77
22273 # Variables whose values should be saved in libtool wrapper scripts and
22274 # restored at relink time.
22275 variables_saved_for_relink="$variables_saved_for_relink"
22277 # Whether libtool must link a program against all its dependency libraries.
22278 link_all_deplibs=$link_all_deplibs_F77
22280 # Compile-time system search path for libraries
22281 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22283 # Run-time system search path for libraries
22284 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22286 # Fix the shell variable \$srcfile for the compiler.
22287 fix_srcfile_path="$fix_srcfile_path_F77"
22289 # Set to yes if exported symbols are required.
22290 always_export_symbols=$always_export_symbols_F77
22292 # The commands to list exported symbols.
22293 export_symbols_cmds=$lt_export_symbols_cmds_F77
22295 # The commands to extract the exported symbol list from a shared archive.
22296 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22298 # Symbols that should not be listed in the preloaded symbols.
22299 exclude_expsyms=$lt_exclude_expsyms_F77
22301 # Symbols that must always be exported.
22302 include_expsyms=$lt_include_expsyms_F77
22304 # ### END LIBTOOL TAG CONFIG: $tagname
22310 # If there is no Makefile yet, we rely on a make rule to execute
22311 # `config.status --recheck' to rerun these tests and create the
22312 # libtool script then.
22313 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22314 if test -f "$ltmain_in"; then
22315 test -f Makefile && make "$ltmain"
22321 ac_cpp='$CPP $CPPFLAGS'
22322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22334 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
22338 # Source file extension for Java test sources.
22341 # Object file extension for compiled Java test sources.
22345 # Code to be used in simple compile tests
22346 lt_simple_compile_test_code="class foo {}\n"
22348 # Code to be used in simple link tests
22349 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
22351 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22353 # If no C compiler was specified, use CC.
22356 # Allow CC to be a program name with arguments.
22360 # save warnings/boilerplate of simple test code
22361 ac_outfile=conftest.$ac_objext
22362 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
22363 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
22364 _lt_compiler_boilerplate=`cat conftest.err`
22367 ac_outfile=conftest.$ac_objext
22368 printf "$lt_simple_link_test_code" >conftest.$ac_ext
22369 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
22370 _lt_linker_boilerplate=`cat conftest.err`
22374 # Allow CC to be a program name with arguments.
22379 for cc_temp in $compiler""; do
22381 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22382 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22387 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22390 # GCJ did not exist at the time GCC didn't implicitly link libc in.
22391 archive_cmds_need_lc_GCJ=no
22393 old_archive_cmds_GCJ=$old_archive_cmds
22396 lt_prog_compiler_no_builtin_flag_GCJ=
22398 if test "$GCC" = yes; then
22399 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
22402 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22403 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
22404 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
22405 echo $ECHO_N "(cached) $ECHO_C" >&6
22407 lt_cv_prog_compiler_rtti_exceptions=no
22408 ac_outfile=conftest.$ac_objext
22409 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22410 lt_compiler_flag="-fno-rtti -fno-exceptions"
22411 # Insert the option either (1) after the last *FLAGS variable, or
22412 # (2) before a word containing "conftest.", or (3) at the end.
22413 # Note that $ac_compile itself does not contain backslashes and begins
22414 # with a dollar sign (not a hyphen), so the echo should work correctly.
22415 # The option is referenced via a variable to avoid confusing sed.
22416 lt_compile=`echo "$ac_compile" | $SED \
22417 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22419 -e 's:$: $lt_compiler_flag:'`
22420 (eval echo "\"\$as_me:22420: $lt_compile\"" >&5)
22421 (eval "$lt_compile" 2>conftest.err)
22423 cat conftest.err >&5
22424 echo "$as_me:22424: \$? = $ac_status" >&5
22425 if (exit $ac_status) && test -s "$ac_outfile"; then
22426 # The compiler can only warn and ignore the option if not recognized
22427 # So say no if there are warnings other than the usual output.
22428 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
22429 $SED '/^$/d' conftest.err >conftest.er2
22430 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
22431 lt_cv_prog_compiler_rtti_exceptions=yes
22437 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
22438 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
22440 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
22441 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
22448 lt_prog_compiler_wl_GCJ=
22449 lt_prog_compiler_pic_GCJ=
22450 lt_prog_compiler_static_GCJ=
22452 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22453 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22455 if test "$GCC" = yes; then
22456 lt_prog_compiler_wl_GCJ='-Wl,'
22457 lt_prog_compiler_static_GCJ='-static'
22461 # All AIX code is PIC.
22462 if test "$host_cpu" = ia64; then
22463 # AIX 5 now supports IA64 processor
22464 lt_prog_compiler_static_GCJ='-Bstatic'
22469 # FIXME: we need at least 68020 code to build shared libraries, but
22470 # adding the `-m68020' flag to GCC prevents building anything better,
22472 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
22475 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22476 # PIC is the default for these OSes.
22479 mingw* | pw32* | os2*)
22480 # This hack is so that the source file can tell whether it is being
22481 # built for inclusion in a dll (and should export symbols for example).
22482 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22485 darwin* | rhapsody*)
22486 # PIC is the default on this platform
22487 # Common symbols not allowed in MH_DYLIB files
22488 lt_prog_compiler_pic_GCJ='-fno-common'
22492 # Just because we use GCC doesn't mean we suddenly get shared libraries
22493 # on systems that don't support them.
22494 lt_prog_compiler_can_build_shared_GCJ=no
22499 if test -d /usr/nec; then
22500 lt_prog_compiler_pic_GCJ=-Kconform_pic
22505 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22506 # not for PA HP-UX.
22507 case "$host_cpu" in
22512 lt_prog_compiler_pic_GCJ='-fPIC'
22518 lt_prog_compiler_pic_GCJ='-fPIC'
22522 # PORTME Check for flag to pass linker flags through the system compiler.
22525 lt_prog_compiler_wl_GCJ='-Wl,'
22526 if test "$host_cpu" = ia64; then
22527 # AIX 5 now supports IA64 processor
22528 lt_prog_compiler_static_GCJ='-Bstatic'
22530 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
22534 # PIC is the default on this platform
22535 # Common symbols not allowed in MH_DYLIB files
22536 case $cc_basename in
22538 lt_prog_compiler_pic_GCJ='-qnocommon'
22539 lt_prog_compiler_wl_GCJ='-Wl,'
22544 mingw* | pw32* | os2*)
22545 # This hack is so that the source file can tell whether it is being
22546 # built for inclusion in a dll (and should export symbols for example).
22547 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22550 hpux9* | hpux10* | hpux11*)
22551 lt_prog_compiler_wl_GCJ='-Wl,'
22552 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22553 # not for PA HP-UX.
22554 case "$host_cpu" in
22559 lt_prog_compiler_pic_GCJ='+Z'
22562 # Is there a better lt_prog_compiler_static that works with the bundled CC?
22563 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22566 irix5* | irix6* | nonstopux*)
22567 lt_prog_compiler_wl_GCJ='-Wl,'
22568 # PIC (with -KPIC) is the default.
22569 lt_prog_compiler_static_GCJ='-non_shared'
22573 lt_prog_compiler_pic_GCJ='-KPIC'
22574 lt_prog_compiler_static_GCJ='-Bstatic'
22578 case $cc_basename in
22580 lt_prog_compiler_wl_GCJ='-Wl,'
22581 lt_prog_compiler_pic_GCJ='-KPIC'
22582 lt_prog_compiler_static_GCJ='-static'
22584 pgcc* | pgf77* | pgf90*)
22585 # Portland Group compilers (*not* the Pentium gcc compiler,
22586 # which looks to be a dead project)
22587 lt_prog_compiler_wl_GCJ='-Wl,'
22588 lt_prog_compiler_pic_GCJ='-fpic'
22589 lt_prog_compiler_static_GCJ='-static'
22592 lt_prog_compiler_wl_GCJ='-Wl,'
22593 # All Alpha code is PIC.
22594 lt_prog_compiler_static_GCJ='-non_shared'
22599 osf3* | osf4* | osf5*)
22600 lt_prog_compiler_wl_GCJ='-Wl,'
22601 # All OSF/1 code is PIC.
22602 lt_prog_compiler_static_GCJ='-non_shared'
22606 lt_prog_compiler_pic_GCJ='-Kpic'
22607 lt_prog_compiler_static_GCJ='-dn'
22611 lt_prog_compiler_pic_GCJ='-KPIC'
22612 lt_prog_compiler_static_GCJ='-Bstatic'
22613 case $cc_basename in
22614 f77* | f90* | f95*)
22615 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
22617 lt_prog_compiler_wl_GCJ='-Wl,';;
22622 lt_prog_compiler_wl_GCJ='-Qoption ld '
22623 lt_prog_compiler_pic_GCJ='-PIC'
22624 lt_prog_compiler_static_GCJ='-Bstatic'
22627 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22628 lt_prog_compiler_wl_GCJ='-Wl,'
22629 lt_prog_compiler_pic_GCJ='-KPIC'
22630 lt_prog_compiler_static_GCJ='-Bstatic'
22634 if test -d /usr/nec ;then
22635 lt_prog_compiler_pic_GCJ='-Kconform_pic'
22636 lt_prog_compiler_static_GCJ='-Bstatic'
22641 lt_prog_compiler_wl_GCJ='-Wl,'
22642 lt_prog_compiler_can_build_shared_GCJ=no
22646 lt_prog_compiler_pic_GCJ='-pic'
22647 lt_prog_compiler_static_GCJ='-Bstatic'
22651 lt_prog_compiler_can_build_shared_GCJ=no
22656 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22657 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22660 # Check to make sure the PIC flag actually works.
22662 if test -n "$lt_prog_compiler_pic_GCJ"; then
22664 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22665 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22666 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22667 echo $ECHO_N "(cached) $ECHO_C" >&6
22669 lt_prog_compiler_pic_works_GCJ=no
22670 ac_outfile=conftest.$ac_objext
22671 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22672 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22673 # Insert the option either (1) after the last *FLAGS variable, or
22674 # (2) before a word containing "conftest.", or (3) at the end.
22675 # Note that $ac_compile itself does not contain backslashes and begins
22676 # with a dollar sign (not a hyphen), so the echo should work correctly.
22677 # The option is referenced via a variable to avoid confusing sed.
22678 lt_compile=`echo "$ac_compile" | $SED \
22679 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22681 -e 's:$: $lt_compiler_flag:'`
22682 (eval echo "\"\$as_me:22682: $lt_compile\"" >&5)
22683 (eval "$lt_compile" 2>conftest.err)
22685 cat conftest.err >&5
22686 echo "$as_me:22686: \$? = $ac_status" >&5
22687 if (exit $ac_status) && test -s "$ac_outfile"; then
22688 # The compiler can only warn and ignore the option if not recognized
22689 # So say no if there are warnings other than the usual output.
22690 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
22691 $SED '/^$/d' conftest.err >conftest.er2
22692 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
22693 lt_prog_compiler_pic_works_GCJ=yes
22699 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22700 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22702 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22703 case $lt_prog_compiler_pic_GCJ in
22705 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22708 lt_prog_compiler_pic_GCJ=
22709 lt_prog_compiler_can_build_shared_GCJ=no
22714 # For platforms which do not support PIC, -DPIC is meaningless:
22716 lt_prog_compiler_pic_GCJ=
22719 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22723 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22724 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22725 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 lt_cv_prog_compiler_c_o_GCJ=no
22729 $rm -r conftest 2>/dev/null
22733 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22735 lt_compiler_flag="-o out/conftest2.$ac_objext"
22736 # Insert the option either (1) after the last *FLAGS variable, or
22737 # (2) before a word containing "conftest.", or (3) at the end.
22738 # Note that $ac_compile itself does not contain backslashes and begins
22739 # with a dollar sign (not a hyphen), so the echo should work correctly.
22740 lt_compile=`echo "$ac_compile" | $SED \
22741 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22743 -e 's:$: $lt_compiler_flag:'`
22744 (eval echo "\"\$as_me:22744: $lt_compile\"" >&5)
22745 (eval "$lt_compile" 2>out/conftest.err)
22747 cat out/conftest.err >&5
22748 echo "$as_me:22748: \$? = $ac_status" >&5
22749 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22751 # The compiler can only warn and ignore the option if not recognized
22752 # So say no if there are warnings
22753 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
22754 $SED '/^$/d' out/conftest.err >out/conftest.er2
22755 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22756 lt_cv_prog_compiler_c_o_GCJ=yes
22761 # SGI C++ compiler will create directory out/ii_files/ for
22762 # template instantiation
22763 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22764 $rm out/* && rmdir out
22770 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22771 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22774 hard_links="nottested"
22775 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22776 # do not overwrite the value of need_locks provided by the user
22777 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22778 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22781 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22783 ln conftest.a conftest.b 2>&5 || hard_links=no
22784 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22785 echo "$as_me:$LINENO: result: $hard_links" >&5
22786 echo "${ECHO_T}$hard_links" >&6
22787 if test "$hard_links" = no; then
22788 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22789 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22796 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22797 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22800 allow_undefined_flag_GCJ=
22801 enable_shared_with_static_runtimes_GCJ=no
22803 archive_expsym_cmds_GCJ=
22804 old_archive_From_new_cmds_GCJ=
22805 old_archive_from_expsyms_cmds_GCJ=
22806 export_dynamic_flag_spec_GCJ=
22807 whole_archive_flag_spec_GCJ=
22808 thread_safe_flag_spec_GCJ=
22809 hardcode_libdir_flag_spec_GCJ=
22810 hardcode_libdir_flag_spec_ld_GCJ=
22811 hardcode_libdir_separator_GCJ=
22812 hardcode_direct_GCJ=no
22813 hardcode_minus_L_GCJ=no
22814 hardcode_shlibpath_var_GCJ=unsupported
22815 link_all_deplibs_GCJ=unknown
22816 hardcode_automatic_GCJ=no
22818 module_expsym_cmds_GCJ=
22819 always_export_symbols_GCJ=no
22820 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22821 # include_expsyms should be a list of space-separated symbols to be *always*
22822 # included in the symbol list
22823 include_expsyms_GCJ=
22824 # exclude_expsyms can be an extended regexp of symbols to exclude
22825 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22826 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22827 # as well as any symbol that contains `d'.
22828 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22829 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22830 # platforms (ab)use it in PIC code, but their linkers get confused if
22831 # the symbol is explicitly referenced. Since portable code cannot
22832 # rely on this symbol name, it's probably fine to never include it in
22833 # preloaded symbol tables.
22834 extract_expsyms_cmds=
22835 # Just being paranoid about ensuring that cc_basename is set.
22836 for cc_temp in $compiler""; do
22838 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22839 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22844 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22847 cygwin* | mingw* | pw32*)
22848 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22849 # When not using gcc, we currently assume that we are using
22850 # Microsoft Visual C++.
22851 if test "$GCC" != yes; then
22861 if test "$with_gnu_ld" = yes; then
22862 # If archive_cmds runs LD, not CC, wlarc should be empty
22865 # Set some defaults for GNU ld with shared library support. These
22866 # are reset later if shared libraries are not supported. Putting them
22867 # here allows them to be overridden if necessary.
22868 runpath_var=LD_RUN_PATH
22869 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
22870 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
22871 # ancient GNU ld didn't support --whole-archive et. al.
22872 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22873 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22875 whole_archive_flag_spec_GCJ=
22877 supports_anon_versioning=no
22878 case `$LD -v 2>/dev/null` in
22879 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22880 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22881 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22882 *\ 2.11.*) ;; # other 2.11 versions
22883 *) supports_anon_versioning=yes ;;
22886 # See if GNU ld supports shared libraries.
22888 aix3* | aix4* | aix5*)
22889 # On AIX/PPC, the GNU linker is very broken
22890 if test "$host_cpu" != ia64; then
22894 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22895 *** to be unable to reliably create shared libraries on AIX.
22896 *** Therefore, libtool is disabling shared libraries support. If you
22897 *** really care for shared libraries, you may want to modify your PATH
22898 *** so that a non-GNU linker is found, and then restart.
22905 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)'
22906 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22907 hardcode_minus_L_GCJ=yes
22909 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22910 # that the semantics of dynamic libraries on AmigaOS, at least up
22911 # to version 4, is to share data among multiple programs linked
22912 # with the same dynamic library. Since this doesn't match the
22913 # behavior of shared libraries on other platforms, we can't use
22919 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22920 allow_undefined_flag_GCJ=unsupported
22921 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22922 # support --undefined. This deserves some investigation. FIXME
22923 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22929 cygwin* | mingw* | pw32*)
22930 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22931 # as there is no search path for DLLs.
22932 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22933 allow_undefined_flag_GCJ=unsupported
22934 always_export_symbols_GCJ=no
22935 enable_shared_with_static_runtimes_GCJ=yes
22936 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22938 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22939 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22940 # If the export-symbols file already is a .def file (1st line
22941 # is EXPORTS), use it as is; otherwise, prepend...
22942 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22943 cp $export_symbols $output_objdir/$soname.def;
22945 echo EXPORTS > $output_objdir/$soname.def;
22946 cat $export_symbols >> $output_objdir/$soname.def;
22948 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22955 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22957 case $cc_basename,$host_cpu in
22958 pgcc*) # Portland Group C compiler
22959 whole_archive_flag_spec_GCJ=
22961 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
22962 whole_archive_flag_spec_GCJ=
22963 tmp_addflag=' -fpic -Mnomain' ;;
22964 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22965 tmp_addflag=' -i_dynamic' ;;
22966 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22967 tmp_addflag=' -i_dynamic -nofor_main' ;;
22968 ifc* | ifort*) # Intel Fortran compiler
22969 tmp_addflag=' -nofor_main' ;;
22971 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22973 if test $supports_anon_versioning = yes; then
22974 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
22975 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22976 $echo "local: *; };" >> $output_objdir/$libname.ver~
22977 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22985 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22986 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22989 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22990 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22995 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22999 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
23000 *** create shared libraries on Solaris systems. Therefore, libtool
23001 *** is disabling shared libraries support. We urge you to upgrade GNU
23002 *** binutils to release 2.9.1 or newer. Another option is to modify
23003 *** your PATH or compiler configuration so that the native linker is
23004 *** used, and then restart.
23007 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23008 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23009 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23016 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23018 hardcode_direct_GCJ=yes
23019 hardcode_shlibpath_var_GCJ=no
23023 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23024 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23025 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23032 if test "$ld_shlibs_GCJ" = no; then
23034 hardcode_libdir_flag_spec_GCJ=
23035 export_dynamic_flag_spec_GCJ=
23036 whole_archive_flag_spec_GCJ=
23039 # PORTME fill in a description of your system's linker (not GNU ld)
23042 allow_undefined_flag_GCJ=unsupported
23043 always_export_symbols_GCJ=yes
23044 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'
23045 # Note: this linker hardcodes the directories in LIBPATH if there
23046 # are no directories specified by -L.
23047 hardcode_minus_L_GCJ=yes
23048 if test "$GCC" = yes && test -z "$link_static_flag"; then
23049 # Neither direct hardcoding nor static linking is supported with a
23051 hardcode_direct_GCJ=unsupported
23056 if test "$host_cpu" = ia64; then
23057 # On IA64, the linker does run time linking by default, so we don't
23058 # have to do anything special.
23059 aix_use_runtimelinking=no
23060 exp_sym_flag='-Bexport'
23063 # If we're using GNU nm, then we don't want the "-C" option.
23064 # -C means demangle to AIX nm, but means don't demangle with GNU nm
23065 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
23066 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'
23068 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'
23070 aix_use_runtimelinking=no
23072 # Test if we are trying to use run time linking or normal
23073 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23074 # need to do runtime linking.
23075 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23076 for ld_flag in $LDFLAGS; do
23077 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23078 aix_use_runtimelinking=yes
23084 exp_sym_flag='-bexport'
23085 no_entry_flag='-bnoentry'
23088 # When large executables or shared objects are built, AIX ld can
23089 # have problems creating the table of contents. If linking a library
23090 # or program results in "error TOC overflow" add -mminimal-toc to
23091 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23092 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23094 archive_cmds_GCJ=''
23095 hardcode_direct_GCJ=yes
23096 hardcode_libdir_separator_GCJ=':'
23097 link_all_deplibs_GCJ=yes
23099 if test "$GCC" = yes; then
23100 case $host_os in aix4.[012]|aix4.[012].*)
23101 # We only want to do this on AIX 4.2 and lower, the check
23102 # below for broken collect2 doesn't work under 4.3+
23103 collect2name=`${CC} -print-prog-name=collect2`
23104 if test -f "$collect2name" && \
23105 strings "$collect2name" | grep resolve_lib_name >/dev/null
23107 # We have reworked collect2
23108 hardcode_direct_GCJ=yes
23110 # We have old collect2
23111 hardcode_direct_GCJ=unsupported
23112 # It fails to find uninstalled libraries when the uninstalled
23113 # path is not listed in the libpath. Setting hardcode_minus_L
23114 # to unsupported forces relinking
23115 hardcode_minus_L_GCJ=yes
23116 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23117 hardcode_libdir_separator_GCJ=
23120 shared_flag='-shared'
23121 if test "$aix_use_runtimelinking" = yes; then
23122 shared_flag="$shared_flag "'${wl}-G'
23126 if test "$host_cpu" = ia64; then
23127 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
23128 # chokes on -Wl,-G. The following line is correct:
23131 if test "$aix_use_runtimelinking" = yes; then
23132 shared_flag='${wl}-G'
23134 shared_flag='${wl}-bM:SRE'
23139 # It seems that -bexpall does not export symbols beginning with
23140 # underscore (_), so it is better to generate a list of symbols to export.
23141 always_export_symbols_GCJ=yes
23142 if test "$aix_use_runtimelinking" = yes; then
23143 # Warning - without using the other runtime loading flags (-brtl),
23144 # -berok will link without error, but may produce a broken library.
23145 allow_undefined_flag_GCJ='-berok'
23146 # Determine the default libpath from the value encoded in an empty executable.
23147 cat >conftest.$ac_ext <<_ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23162 rm -f conftest.$ac_objext conftest$ac_exeext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23164 (eval $ac_link) 2>conftest.er1
23166 grep -v '^ *+' conftest.er1 >conftest.err
23168 cat conftest.err >&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } &&
23171 { ac_try='test -z "$ac_c_werror_flag"
23172 || test ! -s conftest.err'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; } &&
23178 { ac_try='test -s conftest$ac_exeext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23185 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23187 # Check for a 64-bit object if we didn't find anything.
23188 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; }
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23195 rm -f conftest.err conftest.$ac_objext \
23196 conftest$ac_exeext conftest.$ac_ext
23197 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23199 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23200 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
23202 if test "$host_cpu" = ia64; then
23203 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
23204 allow_undefined_flag_GCJ="-z nodefs"
23205 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
23207 # Determine the default libpath from the value encoded in an empty executable.
23208 cat >conftest.$ac_ext <<_ACEOF
23211 cat confdefs.h >>conftest.$ac_ext
23212 cat >>conftest.$ac_ext <<_ACEOF
23213 /* end confdefs.h. */
23223 rm -f conftest.$ac_objext conftest$ac_exeext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23225 (eval $ac_link) 2>conftest.er1
23227 grep -v '^ *+' conftest.er1 >conftest.err
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -z "$ac_c_werror_flag"
23233 || test ! -s conftest.err'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; } &&
23239 { ac_try='test -s conftest$ac_exeext'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; }; then
23246 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23248 # Check for a 64-bit object if we didn't find anything.
23249 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; }
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23256 rm -f conftest.err conftest.$ac_objext \
23257 conftest$ac_exeext conftest.$ac_ext
23258 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23260 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23261 # Warning - without using the other run time loading flags,
23262 # -berok will link without error, but may produce a broken library.
23263 no_undefined_flag_GCJ=' ${wl}-bernotok'
23264 allow_undefined_flag_GCJ=' ${wl}-berok'
23265 # -bexpall does not export symbols beginning with underscore (_)
23266 always_export_symbols_GCJ=yes
23267 # Exported symbols can be pulled into shared objects from archives
23268 whole_archive_flag_spec_GCJ=' '
23269 archive_cmds_need_lc_GCJ=yes
23270 # This is similar to how AIX traditionally builds it's shared libraries.
23271 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
23277 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)'
23278 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23279 hardcode_minus_L_GCJ=yes
23280 # see comment about different semantics on the GNU ld section
23285 export_dynamic_flag_spec_GCJ=-rdynamic
23288 cygwin* | mingw* | pw32*)
23289 # When not using gcc, we currently assume that we are using
23290 # Microsoft Visual C++.
23291 # hardcode_libdir_flag_spec is actually meaningless, as there is
23292 # no search path for DLLs.
23293 hardcode_libdir_flag_spec_GCJ=' '
23294 allow_undefined_flag_GCJ=unsupported
23295 # Tell ltmain to make .lib files, not .a files.
23297 # Tell ltmain to make .dll files, not .so files.
23299 # FIXME: Setting linknames here is a bad hack.
23300 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23301 # The linker will automatically build a .lib file if we build a DLL.
23302 old_archive_From_new_cmds_GCJ='true'
23303 # FIXME: Should let the user specify the lib program.
23304 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
23305 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
23306 enable_shared_with_static_runtimes_GCJ=yes
23309 darwin* | rhapsody*)
23311 rhapsody* | darwin1.[012])
23312 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
23315 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23316 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23318 case ${MACOSX_DEPLOYMENT_TARGET} in
23320 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23323 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
23329 archive_cmds_need_lc_GCJ=no
23330 hardcode_direct_GCJ=no
23331 hardcode_automatic_GCJ=yes
23332 hardcode_shlibpath_var_GCJ=unsupported
23333 whole_archive_flag_spec_GCJ=''
23334 link_all_deplibs_GCJ=yes
23335 if test "$GCC" = yes ; then
23336 output_verbose_link_cmd='echo'
23337 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
23338 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23339 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
23340 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}'
23341 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}'
23343 case $cc_basename in
23345 output_verbose_link_cmd='echo'
23346 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
23347 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23348 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
23349 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}'
23350 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}'
23360 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23361 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23362 hardcode_shlibpath_var_GCJ=no
23369 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23370 # support. Future versions do this automatically, but an explicit c++rt0.o
23371 # does not break anything, and helps significantly (at the cost of a little
23374 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23375 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23376 hardcode_direct_GCJ=yes
23377 hardcode_shlibpath_var_GCJ=no
23380 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23382 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23383 hardcode_direct_GCJ=yes
23384 hardcode_minus_L_GCJ=yes
23385 hardcode_shlibpath_var_GCJ=no
23388 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23389 freebsd* | kfreebsd*-gnu | dragonfly*)
23390 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23391 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23392 hardcode_direct_GCJ=yes
23393 hardcode_shlibpath_var_GCJ=no
23397 if test "$GCC" = yes; then
23398 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'
23400 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'
23402 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23403 hardcode_libdir_separator_GCJ=:
23404 hardcode_direct_GCJ=yes
23406 # hardcode_minus_L: Not really in the search PATH,
23407 # but as the default location of the library.
23408 hardcode_minus_L_GCJ=yes
23409 export_dynamic_flag_spec_GCJ='${wl}-E'
23413 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23414 case "$host_cpu" in
23416 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23419 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23423 case "$host_cpu" in
23425 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
23428 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23432 if test "$with_gnu_ld" = no; then
23433 case "$host_cpu" in
23435 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23436 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
23437 hardcode_libdir_separator_GCJ=:
23438 hardcode_direct_GCJ=no
23439 hardcode_shlibpath_var_GCJ=no
23442 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23443 hardcode_direct_GCJ=no
23444 hardcode_shlibpath_var_GCJ=no
23446 # hardcode_minus_L: Not really in the search PATH,
23447 # but as the default location of the library.
23448 hardcode_minus_L_GCJ=yes
23451 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23452 hardcode_libdir_separator_GCJ=:
23453 hardcode_direct_GCJ=yes
23454 export_dynamic_flag_spec_GCJ='${wl}-E'
23456 # hardcode_minus_L: Not really in the search PATH,
23457 # but as the default location of the library.
23458 hardcode_minus_L_GCJ=yes
23464 irix5* | irix6* | nonstopux*)
23465 if test "$GCC" = yes; then
23466 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'
23468 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'
23469 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
23471 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23472 hardcode_libdir_separator_GCJ=:
23473 link_all_deplibs_GCJ=yes
23477 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23478 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23480 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23482 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23483 hardcode_direct_GCJ=yes
23484 hardcode_shlibpath_var_GCJ=no
23488 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23489 hardcode_direct_GCJ=yes
23490 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23491 hardcode_libdir_separator_GCJ=:
23492 hardcode_shlibpath_var_GCJ=no
23496 hardcode_direct_GCJ=yes
23497 hardcode_shlibpath_var_GCJ=no
23498 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23499 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23500 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
23501 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23502 export_dynamic_flag_spec_GCJ='${wl}-E'
23505 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23506 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23507 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23510 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23511 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23518 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23519 hardcode_minus_L_GCJ=yes
23520 allow_undefined_flag_GCJ=unsupported
23521 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'
23522 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23526 if test "$GCC" = yes; then
23527 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23528 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'
23530 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23531 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'
23533 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23534 hardcode_libdir_separator_GCJ=:
23537 osf4* | osf5*) # as osf3* with the addition of -msym flag
23538 if test "$GCC" = yes; then
23539 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23540 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'
23541 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23543 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23544 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'
23545 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~
23546 $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'
23548 # Both c and cxx compiler support -rpath directly
23549 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
23551 hardcode_libdir_separator_GCJ=:
23555 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23556 hardcode_shlibpath_var_GCJ=no
23557 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
23558 runpath_var=LD_RUN_PATH
23559 hardcode_runpath_var=yes
23563 no_undefined_flag_GCJ=' -z text'
23564 if test "$GCC" = yes; then
23566 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23567 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23568 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23571 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23572 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23573 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23575 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23576 hardcode_shlibpath_var_GCJ=no
23578 solaris2.[0-5] | solaris2.[0-5].*) ;;
23580 # The compiler driver will combine linker options so we
23581 # cannot just pass the convience library names through
23582 # without $wl, iff we do not link with $LD.
23583 # Luckily, gcc supports the same syntax we need for Sun Studio.
23584 # Supported since Solaris 2.6 (maybe 2.5.1?)
23587 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
23589 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' ;;
23592 link_all_deplibs_GCJ=yes
23596 if test "x$host_vendor" = xsequent; then
23597 # Use $CC to link under sequent, because it throws in some extra .o
23598 # files that make .init and .fini sections work.
23599 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23601 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23603 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23604 hardcode_direct_GCJ=yes
23605 hardcode_minus_L_GCJ=yes
23606 hardcode_shlibpath_var_GCJ=no
23610 case $host_vendor in
23612 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23613 hardcode_direct_GCJ=yes # is this really true???
23616 ## LD is ld it makes a PLAMLIB
23617 ## CC just makes a GrossModule.
23618 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23619 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
23620 hardcode_direct_GCJ=no
23623 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23624 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
23627 runpath_var='LD_RUN_PATH'
23628 hardcode_shlibpath_var_GCJ=no
23632 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23633 hardcode_shlibpath_var_GCJ=no
23634 export_dynamic_flag_spec_GCJ='-Bexport'
23638 if test -d /usr/nec; then
23639 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23640 hardcode_shlibpath_var_GCJ=no
23641 runpath_var=LD_RUN_PATH
23642 hardcode_runpath_var=yes
23648 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23649 hardcode_direct_GCJ=yes
23650 hardcode_minus_L_GCJ=no
23651 hardcode_shlibpath_var_GCJ=no
23652 hardcode_runpath_var=yes
23653 runpath_var=LD_RUN_PATH
23656 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
23657 no_undefined_flag_GCJ='${wl}-z ${wl}text'
23658 if test "$GCC" = yes; then
23659 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23661 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23663 runpath_var='LD_RUN_PATH'
23664 hardcode_shlibpath_var_GCJ=no
23668 no_undefined_flag_GCJ=' -z text'
23669 # $CC -shared without GNU ld will not create a library from C++
23670 # object files and a static libstdc++, better avoid it by now
23671 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23672 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23673 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23674 hardcode_libdir_flag_spec_GCJ=
23675 hardcode_shlibpath_var_GCJ=no
23676 runpath_var='LD_RUN_PATH'
23680 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23681 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23682 hardcode_shlibpath_var_GCJ=no
23691 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
23692 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
23693 test "$ld_shlibs_GCJ" = no && can_build_shared=no
23695 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23696 if test "$GCC" = yes; then
23697 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23701 # Do we need to explicitly link libc?
23703 case "x$archive_cmds_need_lc_GCJ" in
23705 # Assume -lc should be added
23706 archive_cmds_need_lc_GCJ=yes
23708 if test "$enable_shared" = yes && test "$GCC" = yes; then
23709 case $archive_cmds_GCJ in
23711 # FIXME: we may have to deal with multi-command sequences.
23714 # Test whether the compiler implicitly links with -lc since on some
23715 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23716 # to ld, don't add -lc before -lgcc.
23717 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23718 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23720 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23723 (eval $ac_compile) 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } 2>conftest.err; then
23729 libobjs=conftest.$ac_objext
23731 wl=$lt_prog_compiler_wl_GCJ
23737 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
23738 allow_undefined_flag_GCJ=
23739 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23740 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }
23745 archive_cmds_need_lc_GCJ=no
23747 archive_cmds_need_lc_GCJ=yes
23749 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
23751 cat conftest.err 1>&5
23754 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
23755 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
23762 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23763 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23764 library_names_spec=
23765 libname_spec='lib$name'
23769 postuninstall_cmds=
23773 shlibpath_overrides_runpath=unknown
23775 dynamic_linker="$host_os ld.so"
23776 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23777 if test "$GCC" = yes; then
23778 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23779 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23780 # if the path contains ";" then we assume it to be the separator
23781 # otherwise default to the standard path separator (i.e. ":") - it is
23782 # assumed that no part of a normal pathname contains ";" but that should
23783 # okay in the real world where ";" in dirpaths is itself problematic.
23784 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23786 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23789 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23791 need_lib_prefix=unknown
23792 hardcode_into_libs=no
23794 # when you set need_version to no, make sure it does not cause -set_version
23795 # flags to be left without arguments
23796 need_version=unknown
23801 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23802 shlibpath_var=LIBPATH
23804 # AIX 3 has no versioning support, so we append a major version to the name.
23805 soname_spec='${libname}${release}${shared_ext}$major'
23812 hardcode_into_libs=yes
23813 if test "$host_cpu" = ia64; then
23814 # AIX 5 supports IA64
23815 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23816 shlibpath_var=LD_LIBRARY_PATH
23818 # With GCC up to 2.95.x, collect2 would create an import file
23819 # for dependence libraries. The import file would start with
23820 # the line `#! .'. This would cause the generated library to
23821 # depend on `.', always an invalid library. This was fixed in
23822 # development snapshots of GCC prior to 3.0.
23824 aix4 | aix4.[01] | aix4.[01].*)
23825 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23827 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23830 can_build_shared=no
23834 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23835 # soname into executable. Probably we can add versioning support to
23836 # collect2, so additional links can be useful in future.
23837 if test "$aix_use_runtimelinking" = yes; then
23838 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23839 # instead of lib<name>.a to let people know that these are not
23840 # typical AIX shared libraries.
23841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23843 # We preserve .a as extension for shared libraries through AIX4.2
23844 # and later when we are not doing run time linking.
23845 library_names_spec='${libname}${release}.a $libname.a'
23846 soname_spec='${libname}${release}${shared_ext}$major'
23848 shlibpath_var=LIBPATH
23853 library_names_spec='$libname.ixlibrary $libname.a'
23854 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23855 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'
23859 library_names_spec='${libname}${shared_ext}'
23860 dynamic_linker="$host_os ld.so"
23861 shlibpath_var=LIBRARY_PATH
23867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23868 soname_spec='${libname}${release}${shared_ext}$major'
23869 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23870 shlibpath_var=LD_LIBRARY_PATH
23871 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23872 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23873 # the default ld.so.conf also contains /usr/contrib/lib and
23874 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23875 # libtool to hard-code these into programs
23878 cygwin* | mingw* | pw32*)
23879 version_type=windows
23884 case $GCC,$host_os in
23885 yes,cygwin* | yes,mingw* | yes,pw32*)
23886 library_names_spec='$libname.dll.a'
23887 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23888 postinstall_cmds='base_file=`basename \${file}`~
23889 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23890 dldir=$destdir/`dirname \$dlpath`~
23891 test -d \$dldir || mkdir -p \$dldir~
23892 $install_prog $dir/$dlname \$dldir/$dlname'
23893 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23894 dlpath=$dir/\$dldll~
23896 shlibpath_overrides_runpath=yes
23900 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23901 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23902 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23905 # MinGW DLLs use traditional 'lib' prefix
23906 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23907 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23908 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23909 # It is most probably a Windows format PATH printed by
23910 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23911 # path with ; separators, and with drive letters. We can handle the
23912 # drive letters (cygwin fileutils understands them), so leave them,
23913 # especially as we might pass files found there to a mingw objdump,
23914 # which wouldn't understand a cygwinified path. Ahh.
23915 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23917 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23921 # pw32 DLLs use 'pw' prefix rather than 'lib'
23922 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23928 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23931 dynamic_linker='Win32 ld.exe'
23932 # FIXME: first we should search . and the directory the executable is in
23936 darwin* | rhapsody*)
23937 dynamic_linker="$host_os dyld"
23938 version_type=darwin
23941 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23942 soname_spec='${libname}${release}${major}$shared_ext'
23943 shlibpath_overrides_runpath=yes
23944 shlibpath_var=DYLD_LIBRARY_PATH
23945 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
23946 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23947 if test "$GCC" = yes; then
23948 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"`
23950 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
23952 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23960 soname_spec='${libname}${release}${shared_ext}$major'
23961 shlibpath_var=LD_LIBRARY_PATH
23972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23973 soname_spec='${libname}${release}${shared_ext}$major'
23974 shlibpath_var=LD_LIBRARY_PATH
23975 shlibpath_overrides_runpath=no
23976 hardcode_into_libs=yes
23977 dynamic_linker='GNU ld.so'
23980 freebsd* | dragonfly*)
23981 # DragonFly does not have aout. When/if they implement a new
23982 # versioning mechanism, adjust this.
23983 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
23984 version_type=freebsd-$objformat
23985 case $version_type in
23987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23992 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23996 shlibpath_var=LD_LIBRARY_PATH
23999 shlibpath_overrides_runpath=yes
24001 freebsd3.[01]* | freebsdelf3.[01]*)
24002 shlibpath_overrides_runpath=yes
24003 hardcode_into_libs=yes
24006 shlibpath_overrides_runpath=no
24007 hardcode_into_libs=yes
24016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
24017 soname_spec='${libname}${release}${shared_ext}$major'
24018 shlibpath_var=LD_LIBRARY_PATH
24019 hardcode_into_libs=yes
24022 hpux9* | hpux10* | hpux11*)
24023 # Give a soname corresponding to the major version so that dld.sl refuses to
24024 # link against other versions.
24028 case "$host_cpu" in
24031 hardcode_into_libs=yes
24032 dynamic_linker="$host_os dld.so"
24033 shlibpath_var=LD_LIBRARY_PATH
24034 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24036 soname_spec='${libname}${release}${shared_ext}$major'
24037 if test "X$HPUX_IA64_MODE" = X32; then
24038 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24040 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24042 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24046 hardcode_into_libs=yes
24047 dynamic_linker="$host_os dld.sl"
24048 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24049 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24051 soname_spec='${libname}${release}${shared_ext}$major'
24052 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24053 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24057 dynamic_linker="$host_os dld.sl"
24058 shlibpath_var=SHLIB_PATH
24059 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24061 soname_spec='${libname}${release}${shared_ext}$major'
24064 # HP-UX runs *really* slowly unless shared libraries are mode 555.
24065 postinstall_cmds='chmod 555 $lib'
24068 irix5* | irix6* | nonstopux*)
24070 nonstopux*) version_type=nonstopux ;;
24072 if test "$lt_cv_prog_gnu_ld" = yes; then
24080 soname_spec='${libname}${release}${shared_ext}$major'
24081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
24083 irix5* | nonstopux*)
24084 libsuff= shlibsuff=
24087 case $LD in # libtool.m4 will add one of these switches to LD
24088 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24089 libsuff= shlibsuff= libmagic=32-bit;;
24090 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24091 libsuff=32 shlibsuff=N32 libmagic=N32;;
24092 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24093 libsuff=64 shlibsuff=64 libmagic=64-bit;;
24094 *) libsuff= shlibsuff= libmagic=never-match;;
24098 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
24099 shlibpath_overrides_runpath=no
24100 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
24101 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
24102 hardcode_into_libs=yes
24105 # No shared lib support for Linux oldld, aout, or coff.
24106 linux*oldld* | linux*aout* | linux*coff*)
24110 # This must be Linux ELF.
24115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24116 soname_spec='${libname}${release}${shared_ext}$major'
24117 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24118 shlibpath_var=LD_LIBRARY_PATH
24119 shlibpath_overrides_runpath=no
24120 # This implies no fast_install, which is unacceptable.
24121 # Some rework will be needed to allow for fast_install
24122 # before this can be enabled.
24123 hardcode_into_libs=yes
24125 # find out which ABI we are using
24127 case "$host_cpu" in
24128 x86_64*|s390x*|powerpc64*)
24129 echo '#line 24129 "configure"' > conftest.$ac_ext
24130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24131 (eval $ac_compile) 2>&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; then
24135 case `/usr/bin/file conftest.$ac_objext` in
24138 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24146 # Append ld.so.conf contents to the search path
24147 if test -f /etc/ld.so.conf; then
24148 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
24149 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24152 # We used to test for /lib/ld.so.1 and disable shared libraries on
24153 # powerpc, because MkLinux only supported shared libraries with the
24154 # GNU dynamic linker. Since this was broken with cross compilers,
24155 # most powerpc-linux boxes support dynamic linking these days and
24156 # people can always --disable-shared, the test was removed, and we
24157 # assume the GNU/Linux dynamic linker is in use.
24158 dynamic_linker='GNU/Linux ld.so'
24165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24166 soname_spec='${libname}${release}${shared_ext}$major'
24167 shlibpath_var=LD_LIBRARY_PATH
24168 shlibpath_overrides_runpath=no
24169 hardcode_into_libs=yes
24170 dynamic_linker='GNU ld.so'
24177 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24179 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24180 dynamic_linker='NetBSD (a.out) ld.so'
24182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24183 soname_spec='${libname}${release}${shared_ext}$major'
24184 dynamic_linker='NetBSD ld.elf_so'
24186 shlibpath_var=LD_LIBRARY_PATH
24187 shlibpath_overrides_runpath=yes
24188 hardcode_into_libs=yes
24193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24194 shlibpath_var=LD_LIBRARY_PATH
24195 shlibpath_overrides_runpath=yes
24202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24203 soname_spec='${libname}${release}${shared_ext}$major'
24204 shlibpath_var=LD_LIBRARY_PATH
24205 shlibpath_overrides_runpath=yes
24212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24213 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24214 shlibpath_var=LD_LIBRARY_PATH
24215 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24217 openbsd2.[89] | openbsd2.[89].*)
24218 shlibpath_overrides_runpath=no
24221 shlibpath_overrides_runpath=yes
24225 shlibpath_overrides_runpath=yes
24230 libname_spec='$name'
24233 library_names_spec='$libname${shared_ext} $libname.a'
24234 dynamic_linker='OS/2 ld.exe'
24235 shlibpath_var=LIBPATH
24238 osf3* | osf4* | osf5*)
24242 soname_spec='${libname}${release}${shared_ext}$major'
24243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24244 shlibpath_var=LD_LIBRARY_PATH
24245 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24246 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24251 soname_spec='${libname}${release}${shared_ext}$major'
24252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24253 shlibpath_var=LD_LIBRARY_PATH
24260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24261 soname_spec='${libname}${release}${shared_ext}$major'
24262 shlibpath_var=LD_LIBRARY_PATH
24263 shlibpath_overrides_runpath=yes
24264 hardcode_into_libs=yes
24265 # ldd complains unless libraries are executable
24266 postinstall_cmds='chmod +x $lib'
24271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24272 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24273 shlibpath_var=LD_LIBRARY_PATH
24274 shlibpath_overrides_runpath=yes
24275 if test "$with_gnu_ld" = yes; then
24281 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24284 soname_spec='${libname}${release}${shared_ext}$major'
24285 shlibpath_var=LD_LIBRARY_PATH
24286 case $host_vendor in
24288 shlibpath_overrides_runpath=no
24290 export_dynamic_flag_spec='${wl}-Blargedynsym'
24291 runpath_var=LD_RUN_PATH
24299 shlibpath_overrides_runpath=no
24300 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24306 if test -d /usr/nec ;then
24308 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24309 soname_spec='$libname${shared_ext}.$major'
24310 shlibpath_var=LD_LIBRARY_PATH
24316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24317 soname_spec='${libname}${release}${shared_ext}$major'
24318 shlibpath_var=LD_LIBRARY_PATH
24325 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24326 echo "${ECHO_T}$dynamic_linker" >&6
24327 test "$dynamic_linker" = no && can_build_shared=no
24329 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24330 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24331 hardcode_action_GCJ=
24332 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
24333 test -n "$runpath_var_GCJ" || \
24334 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
24336 # We can hardcode non-existant directories.
24337 if test "$hardcode_direct_GCJ" != no &&
24338 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24339 # have to relink, otherwise we might link with an installed library
24340 # when we should be linking with a yet-to-be-installed one
24341 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
24342 test "$hardcode_minus_L_GCJ" != no; then
24343 # Linking always hardcodes the temporary library directory.
24344 hardcode_action_GCJ=relink
24346 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24347 hardcode_action_GCJ=immediate
24350 # We cannot hardcode anything, or else we can only hardcode existing
24352 hardcode_action_GCJ=unsupported
24354 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
24355 echo "${ECHO_T}$hardcode_action_GCJ" >&6
24357 if test "$hardcode_action_GCJ" = relink; then
24358 # Fast installation is not supported
24359 enable_fast_install=no
24360 elif test "$shlibpath_overrides_runpath" = yes ||
24361 test "$enable_shared" = no; then
24362 # Fast installation is not necessary
24363 enable_fast_install=needless
24368 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
24369 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
24370 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
24371 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24372 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24373 echo "$as_me:$LINENO: result: yes" >&5
24374 echo "${ECHO_T}yes" >&6
24376 # FIXME - insert some real tests, host_os isn't really good enough
24379 if test -n "$STRIP" ; then
24380 striplib="$STRIP -x"
24381 echo "$as_me:$LINENO: result: yes" >&5
24382 echo "${ECHO_T}yes" >&6
24384 echo "$as_me:$LINENO: result: no" >&5
24385 echo "${ECHO_T}no" >&6
24389 echo "$as_me:$LINENO: result: no" >&5
24390 echo "${ECHO_T}no" >&6
24395 if test "x$enable_dlopen" != xyes; then
24396 enable_dlopen=unknown
24397 enable_dlopen_self=unknown
24398 enable_dlopen_self_static=unknown
24405 lt_cv_dlopen="load_add_on"
24407 lt_cv_dlopen_self=yes
24411 lt_cv_dlopen="LoadLibrary"
24416 lt_cv_dlopen="dlopen"
24421 # if libdl is installed we need to link against it
24422 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24423 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24424 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24425 echo $ECHO_N "(cached) $ECHO_C" >&6
24427 ac_check_lib_save_LIBS=$LIBS
24429 cat >conftest.$ac_ext <<_ACEOF
24432 cat confdefs.h >>conftest.$ac_ext
24433 cat >>conftest.$ac_ext <<_ACEOF
24434 /* end confdefs.h. */
24436 /* Override any gcc2 internal prototype to avoid an error. */
24440 /* We use char because int might match the return type of a gcc2
24441 builtin and then its argument prototype would still apply. */
24451 rm -f conftest.$ac_objext conftest$ac_exeext
24452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24453 (eval $ac_link) 2>conftest.er1
24455 grep -v '^ *+' conftest.er1 >conftest.err
24457 cat conftest.err >&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } &&
24460 { ac_try='test -z "$ac_c_werror_flag"
24461 || test ! -s conftest.err'
24462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24463 (eval $ac_try) 2>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); }; } &&
24467 { ac_try='test -s conftest$ac_exeext'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; }; then
24473 ac_cv_lib_dl_dlopen=yes
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.$ac_ext >&5
24478 ac_cv_lib_dl_dlopen=no
24480 rm -f conftest.err conftest.$ac_objext \
24481 conftest$ac_exeext conftest.$ac_ext
24482 LIBS=$ac_check_lib_save_LIBS
24484 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24485 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24486 if test $ac_cv_lib_dl_dlopen = yes; then
24487 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24490 lt_cv_dlopen="dyld"
24492 lt_cv_dlopen_self=yes
24499 echo "$as_me:$LINENO: checking for shl_load" >&5
24500 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
24501 if test "${ac_cv_func_shl_load+set}" = set; then
24502 echo $ECHO_N "(cached) $ECHO_C" >&6
24504 cat >conftest.$ac_ext <<_ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
24511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24512 #define shl_load innocuous_shl_load
24514 /* System header to define __stub macros and hopefully few prototypes,
24515 which can conflict with char shl_load (); below.
24516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24517 <limits.h> exists even on freestanding compilers. */
24520 # include <limits.h>
24522 # include <assert.h>
24527 /* Override any gcc2 internal prototype to avoid an error. */
24532 /* We use char because int might match the return type of a gcc2
24533 builtin and then its argument prototype would still apply. */
24535 /* The GNU C library defines this for functions which it implements
24536 to always fail with ENOSYS. Some functions are actually named
24537 something starting with __ and the normal name is an alias. */
24538 #if defined (__stub_shl_load) || defined (__stub___shl_load)
24541 char (*f) () = shl_load;
24550 return f != shl_load;
24555 rm -f conftest.$ac_objext conftest$ac_exeext
24556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24557 (eval $ac_link) 2>conftest.er1
24559 grep -v '^ *+' conftest.er1 >conftest.err
24561 cat conftest.err >&5
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); } &&
24564 { ac_try='test -z "$ac_c_werror_flag"
24565 || test ! -s conftest.err'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; } &&
24571 { ac_try='test -s conftest$ac_exeext'
24572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24573 (eval $ac_try) 2>&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); }; }; then
24577 ac_cv_func_shl_load=yes
24579 echo "$as_me: failed program was:" >&5
24580 sed 's/^/| /' conftest.$ac_ext >&5
24582 ac_cv_func_shl_load=no
24584 rm -f conftest.err conftest.$ac_objext \
24585 conftest$ac_exeext conftest.$ac_ext
24587 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
24588 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
24589 if test $ac_cv_func_shl_load = yes; then
24590 lt_cv_dlopen="shl_load"
24592 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
24593 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
24594 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
24595 echo $ECHO_N "(cached) $ECHO_C" >&6
24597 ac_check_lib_save_LIBS=$LIBS
24599 cat >conftest.$ac_ext <<_ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24606 /* Override any gcc2 internal prototype to avoid an error. */
24610 /* We use char because int might match the return type of a gcc2
24611 builtin and then its argument prototype would still apply. */
24621 rm -f conftest.$ac_objext conftest$ac_exeext
24622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24623 (eval $ac_link) 2>conftest.er1
24625 grep -v '^ *+' conftest.er1 >conftest.err
24627 cat conftest.err >&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); } &&
24630 { ac_try='test -z "$ac_c_werror_flag"
24631 || test ! -s conftest.err'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; } &&
24637 { ac_try='test -s conftest$ac_exeext'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; }; then
24643 ac_cv_lib_dld_shl_load=yes
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24648 ac_cv_lib_dld_shl_load=no
24650 rm -f conftest.err conftest.$ac_objext \
24651 conftest$ac_exeext conftest.$ac_ext
24652 LIBS=$ac_check_lib_save_LIBS
24654 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
24655 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
24656 if test $ac_cv_lib_dld_shl_load = yes; then
24657 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
24659 echo "$as_me:$LINENO: checking for dlopen" >&5
24660 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
24661 if test "${ac_cv_func_dlopen+set}" = set; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 cat >conftest.$ac_ext <<_ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
24671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24672 #define dlopen innocuous_dlopen
24674 /* System header to define __stub macros and hopefully few prototypes,
24675 which can conflict with char dlopen (); below.
24676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24677 <limits.h> exists even on freestanding compilers. */
24680 # include <limits.h>
24682 # include <assert.h>
24687 /* Override any gcc2 internal prototype to avoid an error. */
24692 /* We use char because int might match the return type of a gcc2
24693 builtin and then its argument prototype would still apply. */
24695 /* The GNU C library defines this for functions which it implements
24696 to always fail with ENOSYS. Some functions are actually named
24697 something starting with __ and the normal name is an alias. */
24698 #if defined (__stub_dlopen) || defined (__stub___dlopen)
24701 char (*f) () = dlopen;
24710 return f != dlopen;
24715 rm -f conftest.$ac_objext conftest$ac_exeext
24716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24717 (eval $ac_link) 2>conftest.er1
24719 grep -v '^ *+' conftest.er1 >conftest.err
24721 cat conftest.err >&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } &&
24724 { ac_try='test -z "$ac_c_werror_flag"
24725 || test ! -s conftest.err'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; } &&
24731 { ac_try='test -s conftest$ac_exeext'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; }; then
24737 ac_cv_func_dlopen=yes
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24742 ac_cv_func_dlopen=no
24744 rm -f conftest.err conftest.$ac_objext \
24745 conftest$ac_exeext conftest.$ac_ext
24747 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
24748 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
24749 if test $ac_cv_func_dlopen = yes; then
24750 lt_cv_dlopen="dlopen"
24752 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24753 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24754 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 ac_check_lib_save_LIBS=$LIBS
24759 cat >conftest.$ac_ext <<_ACEOF
24762 cat confdefs.h >>conftest.$ac_ext
24763 cat >>conftest.$ac_ext <<_ACEOF
24764 /* end confdefs.h. */
24766 /* Override any gcc2 internal prototype to avoid an error. */
24770 /* We use char because int might match the return type of a gcc2
24771 builtin and then its argument prototype would still apply. */
24781 rm -f conftest.$ac_objext conftest$ac_exeext
24782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24783 (eval $ac_link) 2>conftest.er1
24785 grep -v '^ *+' conftest.er1 >conftest.err
24787 cat conftest.err >&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); } &&
24790 { ac_try='test -z "$ac_c_werror_flag"
24791 || test ! -s conftest.err'
24792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24793 (eval $ac_try) 2>&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); }; } &&
24797 { ac_try='test -s conftest$ac_exeext'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; }; then
24803 ac_cv_lib_dl_dlopen=yes
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24808 ac_cv_lib_dl_dlopen=no
24810 rm -f conftest.err conftest.$ac_objext \
24811 conftest$ac_exeext conftest.$ac_ext
24812 LIBS=$ac_check_lib_save_LIBS
24814 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24815 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24816 if test $ac_cv_lib_dl_dlopen = yes; then
24817 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24819 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
24820 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
24821 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
24822 echo $ECHO_N "(cached) $ECHO_C" >&6
24824 ac_check_lib_save_LIBS=$LIBS
24825 LIBS="-lsvld $LIBS"
24826 cat >conftest.$ac_ext <<_ACEOF
24829 cat confdefs.h >>conftest.$ac_ext
24830 cat >>conftest.$ac_ext <<_ACEOF
24831 /* end confdefs.h. */
24833 /* Override any gcc2 internal prototype to avoid an error. */
24837 /* We use char because int might match the return type of a gcc2
24838 builtin and then its argument prototype would still apply. */
24848 rm -f conftest.$ac_objext conftest$ac_exeext
24849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24850 (eval $ac_link) 2>conftest.er1
24852 grep -v '^ *+' conftest.er1 >conftest.err
24854 cat conftest.err >&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } &&
24857 { ac_try='test -z "$ac_c_werror_flag"
24858 || test ! -s conftest.err'
24859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24860 (eval $ac_try) 2>&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); }; } &&
24864 { ac_try='test -s conftest$ac_exeext'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; }; then
24870 ac_cv_lib_svld_dlopen=yes
24872 echo "$as_me: failed program was:" >&5
24873 sed 's/^/| /' conftest.$ac_ext >&5
24875 ac_cv_lib_svld_dlopen=no
24877 rm -f conftest.err conftest.$ac_objext \
24878 conftest$ac_exeext conftest.$ac_ext
24879 LIBS=$ac_check_lib_save_LIBS
24881 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
24882 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
24883 if test $ac_cv_lib_svld_dlopen = yes; then
24884 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
24886 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
24887 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
24888 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
24889 echo $ECHO_N "(cached) $ECHO_C" >&6
24891 ac_check_lib_save_LIBS=$LIBS
24893 cat >conftest.$ac_ext <<_ACEOF
24896 cat confdefs.h >>conftest.$ac_ext
24897 cat >>conftest.$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24900 /* Override any gcc2 internal prototype to avoid an error. */
24904 /* We use char because int might match the return type of a gcc2
24905 builtin and then its argument prototype would still apply. */
24915 rm -f conftest.$ac_objext conftest$ac_exeext
24916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24917 (eval $ac_link) 2>conftest.er1
24919 grep -v '^ *+' conftest.er1 >conftest.err
24921 cat conftest.err >&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } &&
24924 { ac_try='test -z "$ac_c_werror_flag"
24925 || test ! -s conftest.err'
24926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927 (eval $ac_try) 2>&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); }; } &&
24931 { ac_try='test -s conftest$ac_exeext'
24932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24933 (eval $ac_try) 2>&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); }; }; then
24937 ac_cv_lib_dld_dld_link=yes
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.$ac_ext >&5
24942 ac_cv_lib_dld_dld_link=no
24944 rm -f conftest.err conftest.$ac_objext \
24945 conftest$ac_exeext conftest.$ac_ext
24946 LIBS=$ac_check_lib_save_LIBS
24948 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
24949 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
24950 if test $ac_cv_lib_dld_dld_link = yes; then
24951 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
24972 if test "x$lt_cv_dlopen" != xno; then
24978 case $lt_cv_dlopen in
24980 save_CPPFLAGS="$CPPFLAGS"
24981 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
24983 save_LDFLAGS="$LDFLAGS"
24984 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
24987 LIBS="$lt_cv_dlopen_libs $LIBS"
24989 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
24990 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
24991 if test "${lt_cv_dlopen_self+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 if test "$cross_compiling" = yes; then :
24995 lt_cv_dlopen_self=cross
24997 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24998 lt_status=$lt_dlunknown
24999 cat > conftest.$ac_ext <<EOF
25000 #line 25000 "configure"
25001 #include "confdefs.h"
25010 # define LT_DLGLOBAL RTLD_GLOBAL
25013 # define LT_DLGLOBAL DL_GLOBAL
25015 # define LT_DLGLOBAL 0
25019 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
25020 find out it does not work in some platform. */
25021 #ifndef LT_DLLAZY_OR_NOW
25023 # define LT_DLLAZY_OR_NOW RTLD_LAZY
25026 # define LT_DLLAZY_OR_NOW DL_LAZY
25029 # define LT_DLLAZY_OR_NOW RTLD_NOW
25032 # define LT_DLLAZY_OR_NOW DL_NOW
25034 # define LT_DLLAZY_OR_NOW 0
25042 extern "C" void exit (int);
25045 void fnord() { int i=42;}
25048 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
25049 int status = $lt_dlunknown;
25053 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
25054 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
25055 /* dlclose (self); */
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
25066 (./conftest; exit; ) 2>/dev/null
25068 case x$lt_status in
25069 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
25070 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
25071 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
25074 # compilation failed
25075 lt_cv_dlopen_self=no
25082 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
25083 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
25085 if test "x$lt_cv_dlopen_self" = xyes; then
25086 LDFLAGS="$LDFLAGS $link_static_flag"
25087 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
25088 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
25089 if test "${lt_cv_dlopen_self_static+set}" = set; then
25090 echo $ECHO_N "(cached) $ECHO_C" >&6
25092 if test "$cross_compiling" = yes; then :
25093 lt_cv_dlopen_self_static=cross
25095 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25096 lt_status=$lt_dlunknown
25097 cat > conftest.$ac_ext <<EOF
25098 #line 25098 "configure"
25099 #include "confdefs.h"
25108 # define LT_DLGLOBAL RTLD_GLOBAL
25111 # define LT_DLGLOBAL DL_GLOBAL
25113 # define LT_DLGLOBAL 0
25117 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
25118 find out it does not work in some platform. */
25119 #ifndef LT_DLLAZY_OR_NOW
25121 # define LT_DLLAZY_OR_NOW RTLD_LAZY
25124 # define LT_DLLAZY_OR_NOW DL_LAZY
25127 # define LT_DLLAZY_OR_NOW RTLD_NOW
25130 # define LT_DLLAZY_OR_NOW DL_NOW
25132 # define LT_DLLAZY_OR_NOW 0
25140 extern "C" void exit (int);
25143 void fnord() { int i=42;}
25146 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
25147 int status = $lt_dlunknown;
25151 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
25152 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
25153 /* dlclose (self); */
25159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25160 (eval $ac_link) 2>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
25164 (./conftest; exit; ) 2>/dev/null
25166 case x$lt_status in
25167 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
25168 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
25169 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
25172 # compilation failed
25173 lt_cv_dlopen_self_static=no
25180 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
25181 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
25184 CPPFLAGS="$save_CPPFLAGS"
25185 LDFLAGS="$save_LDFLAGS"
25190 case $lt_cv_dlopen_self in
25191 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
25192 *) enable_dlopen_self=unknown ;;
25195 case $lt_cv_dlopen_self_static in
25196 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
25197 *) enable_dlopen_self_static=unknown ;;
25202 # The else clause should only fire when bootstrapping the
25203 # libtool distribution, otherwise you forgot to ship ltmain.sh
25204 # with your package, and you will get complaints that there are
25205 # no rules to generate ltmain.sh.
25206 if test -f "$ltmain"; then
25207 # See if we are running on zsh, and set the options which allow our commands through
25208 # without removal of \ escapes.
25209 if test -n "${ZSH_VERSION+set}" ; then
25210 setopt NO_GLOB_SUBST
25212 # Now quote all the things that may contain metacharacters while being
25213 # careful not to overquote the AC_SUBSTed values. We take copies of the
25214 # variables and quote the copies for generation of the libtool script.
25215 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25217 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25218 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25219 deplibs_check_method reload_flag reload_cmds need_locks \
25220 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25221 lt_cv_sys_global_symbol_to_c_name_address \
25222 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25223 old_postinstall_cmds old_postuninstall_cmds \
25227 lt_prog_compiler_wl_GCJ \
25228 lt_prog_compiler_pic_GCJ \
25229 lt_prog_compiler_static_GCJ \
25230 lt_prog_compiler_no_builtin_flag_GCJ \
25231 export_dynamic_flag_spec_GCJ \
25232 thread_safe_flag_spec_GCJ \
25233 whole_archive_flag_spec_GCJ \
25234 enable_shared_with_static_runtimes_GCJ \
25235 old_archive_cmds_GCJ \
25236 old_archive_from_new_cmds_GCJ \
25237 predep_objects_GCJ \
25238 postdep_objects_GCJ \
25241 compiler_lib_search_path_GCJ \
25243 archive_expsym_cmds_GCJ \
25244 postinstall_cmds_GCJ \
25245 postuninstall_cmds_GCJ \
25246 old_archive_from_expsyms_cmds_GCJ \
25247 allow_undefined_flag_GCJ \
25248 no_undefined_flag_GCJ \
25249 export_symbols_cmds_GCJ \
25250 hardcode_libdir_flag_spec_GCJ \
25251 hardcode_libdir_flag_spec_ld_GCJ \
25252 hardcode_libdir_separator_GCJ \
25253 hardcode_automatic_GCJ \
25255 module_expsym_cmds_GCJ \
25256 lt_cv_prog_compiler_c_o_GCJ \
25257 exclude_expsyms_GCJ \
25258 include_expsyms_GCJ; do
25261 old_archive_cmds_GCJ | \
25262 old_archive_from_new_cmds_GCJ | \
25263 archive_cmds_GCJ | \
25264 archive_expsym_cmds_GCJ | \
25265 module_cmds_GCJ | \
25266 module_expsym_cmds_GCJ | \
25267 old_archive_from_expsyms_cmds_GCJ | \
25268 export_symbols_cmds_GCJ | \
25269 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25270 postinstall_cmds | postuninstall_cmds | \
25271 old_postinstall_cmds | old_postuninstall_cmds | \
25272 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25273 # Double-quote double-evaled strings.
25274 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25277 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25283 *'\$0 --fallback-echo"')
25284 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25290 cat <<__EOF__ >> "$cfgfile"
25291 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25293 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25295 # Shell to use when invoking shell scripts.
25298 # Whether or not to build shared libraries.
25299 build_libtool_libs=$enable_shared
25301 # Whether or not to build static libraries.
25302 build_old_libs=$enable_static
25304 # Whether or not to add -lc for building shared libraries.
25305 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25307 # Whether or not to disallow shared libs when runtime libs are static
25308 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25310 # Whether or not to optimize for fast installation.
25311 fast_install=$enable_fast_install
25314 host_alias=$host_alias
25318 # The build system.
25319 build_alias=$build_alias
25323 # An echo program that does not interpret backslashes.
25328 AR_FLAGS=$lt_AR_FLAGS
25333 # A language-specific compiler.
25334 CC=$lt_compiler_GCJ
25336 # Is the compiler the GNU C compiler?
25342 # The linker used to build libraries.
25345 # Whether we need hard or soft links.
25348 # A BSD-compatible nm program.
25351 # A symbol stripping program
25354 # Used to examine libraries when file_magic_cmd begins "file"
25355 MAGIC_CMD=$MAGIC_CMD
25357 # Used on cygwin: DLL creation program.
25360 # Used on cygwin: object dumper.
25363 # Used on cygwin: assembler.
25366 # The name of the directory that contains temporary libtool files.
25369 # How to create reloadable object files.
25370 reload_flag=$lt_reload_flag
25371 reload_cmds=$lt_reload_cmds
25373 # How to pass a linker flag through the compiler.
25374 wl=$lt_lt_prog_compiler_wl_GCJ
25376 # Object file suffix (normally "o").
25377 objext="$ac_objext"
25379 # Old archive suffix (normally "a").
25382 # Shared library suffix (normally ".so").
25383 shrext_cmds='$shrext_cmds'
25385 # Executable file suffix (normally "").
25388 # Additional compiler flags for building library objects.
25389 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25392 # What is the maximum length of a command?
25393 max_cmd_len=$lt_cv_sys_max_cmd_len
25395 # Does compiler simultaneously support -c and -o options?
25396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25398 # Must we lock files when doing compilation?
25399 need_locks=$lt_need_locks
25401 # Do we need the lib prefix for modules?
25402 need_lib_prefix=$need_lib_prefix
25404 # Do we need a version for libraries?
25405 need_version=$need_version
25407 # Whether dlopen is supported.
25408 dlopen_support=$enable_dlopen
25410 # Whether dlopen of programs is supported.
25411 dlopen_self=$enable_dlopen_self
25413 # Whether dlopen of statically linked programs is supported.
25414 dlopen_self_static=$enable_dlopen_self_static
25416 # Compiler flag to prevent dynamic linking.
25417 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25419 # Compiler flag to turn off builtin functions.
25420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25422 # Compiler flag to allow reflexive dlopens.
25423 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25425 # Compiler flag to generate shared objects directly from archives.
25426 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25428 # Compiler flag to generate thread-safe objects.
25429 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25431 # Library versioning type.
25432 version_type=$version_type
25434 # Format of library name prefix.
25435 libname_spec=$lt_libname_spec
25437 # List of archive names. First name is the real one, the rest are links.
25438 # The last name is the one that the linker finds with -lNAME.
25439 library_names_spec=$lt_library_names_spec
25441 # The coded name of the library, if different from the real name.
25442 soname_spec=$lt_soname_spec
25444 # Commands used to build and install an old-style archive.
25446 old_archive_cmds=$lt_old_archive_cmds_GCJ
25447 old_postinstall_cmds=$lt_old_postinstall_cmds
25448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25450 # Create an old-style archive from a shared archive.
25451 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25453 # Create a temporary old-style archive to link instead of a shared archive.
25454 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25456 # Commands used to build and install a shared archive.
25457 archive_cmds=$lt_archive_cmds_GCJ
25458 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25459 postinstall_cmds=$lt_postinstall_cmds
25460 postuninstall_cmds=$lt_postuninstall_cmds
25462 # Commands used to build a loadable module (assumed same as above if empty)
25463 module_cmds=$lt_module_cmds_GCJ
25464 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25466 # Commands to strip libraries.
25467 old_striplib=$lt_old_striplib
25468 striplib=$lt_striplib
25470 # Dependencies to place before the objects being linked to create a
25472 predep_objects=$lt_predep_objects_GCJ
25474 # Dependencies to place after the objects being linked to create a
25476 postdep_objects=$lt_postdep_objects_GCJ
25478 # Dependencies to place before the objects being linked to create a
25480 predeps=$lt_predeps_GCJ
25482 # Dependencies to place after the objects being linked to create a
25484 postdeps=$lt_postdeps_GCJ
25486 # The library search path used internally by the compiler when linking
25487 # a shared library.
25488 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25490 # Method to check whether dependent libraries are shared objects.
25491 deplibs_check_method=$lt_deplibs_check_method
25493 # Command to use when deplibs_check_method == file_magic.
25494 file_magic_cmd=$lt_file_magic_cmd
25496 # Flag that allows shared libraries with undefined symbols to be built.
25497 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25499 # Flag that forces no undefined symbols.
25500 no_undefined_flag=$lt_no_undefined_flag_GCJ
25502 # Commands used to finish a libtool library installation in a directory.
25503 finish_cmds=$lt_finish_cmds
25505 # Same as above, but a single script fragment to be evaled but not shown.
25506 finish_eval=$lt_finish_eval
25508 # Take the output of nm and produce a listing of raw symbols and C names.
25509 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25511 # Transform the output of nm in a proper C declaration
25512 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25514 # Transform the output of nm in a C name address pair
25515 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25517 # This is the shared library runtime path variable.
25518 runpath_var=$runpath_var
25520 # This is the shared library path variable.
25521 shlibpath_var=$shlibpath_var
25523 # Is shlibpath searched before the hard-coded library search path?
25524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25526 # How to hardcode a shared library path into an executable.
25527 hardcode_action=$hardcode_action_GCJ
25529 # Whether we should hardcode library paths into libraries.
25530 hardcode_into_libs=$hardcode_into_libs
25532 # Flag to hardcode \$libdir into a binary during linking.
25533 # This must work even if \$libdir does not exist.
25534 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25536 # If ld is used when linking, flag to hardcode \$libdir into
25537 # a binary during linking. This must work even if \$libdir does
25539 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25541 # Whether we need a single -rpath flag with a separated argument.
25542 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25544 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25545 # resulting binary.
25546 hardcode_direct=$hardcode_direct_GCJ
25548 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25549 # resulting binary.
25550 hardcode_minus_L=$hardcode_minus_L_GCJ
25552 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25553 # the resulting binary.
25554 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25556 # Set to yes if building a shared library automatically hardcodes DIR into the library
25557 # and all subsequent libraries and executables linked against it.
25558 hardcode_automatic=$hardcode_automatic_GCJ
25560 # Variables whose values should be saved in libtool wrapper scripts and
25561 # restored at relink time.
25562 variables_saved_for_relink="$variables_saved_for_relink"
25564 # Whether libtool must link a program against all its dependency libraries.
25565 link_all_deplibs=$link_all_deplibs_GCJ
25567 # Compile-time system search path for libraries
25568 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25570 # Run-time system search path for libraries
25571 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25573 # Fix the shell variable \$srcfile for the compiler.
25574 fix_srcfile_path="$fix_srcfile_path_GCJ"
25576 # Set to yes if exported symbols are required.
25577 always_export_symbols=$always_export_symbols_GCJ
25579 # The commands to list exported symbols.
25580 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
25582 # The commands to extract the exported symbol list from a shared archive.
25583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25585 # Symbols that should not be listed in the preloaded symbols.
25586 exclude_expsyms=$lt_exclude_expsyms_GCJ
25588 # Symbols that must always be exported.
25589 include_expsyms=$lt_include_expsyms_GCJ
25591 # ### END LIBTOOL TAG CONFIG: $tagname
25597 # If there is no Makefile yet, we rely on a make rule to execute
25598 # `config.status --recheck' to rerun these tests and create the
25599 # libtool script then.
25600 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25601 if test -f "$ltmain_in"; then
25602 test -f Makefile && make "$ltmain"
25608 ac_cpp='$CPP $CPPFLAGS'
25609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25624 # Source file extension for RC test sources.
25627 # Object file extension for compiled RC test sources.
25631 # Code to be used in simple compile tests
25632 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
25634 # Code to be used in simple link tests
25635 lt_simple_link_test_code="$lt_simple_compile_test_code"
25637 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25639 # If no C compiler was specified, use CC.
25642 # Allow CC to be a program name with arguments.
25646 # save warnings/boilerplate of simple test code
25647 ac_outfile=conftest.$ac_objext
25648 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
25649 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
25650 _lt_compiler_boilerplate=`cat conftest.err`
25653 ac_outfile=conftest.$ac_objext
25654 printf "$lt_simple_link_test_code" >conftest.$ac_ext
25655 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
25656 _lt_linker_boilerplate=`cat conftest.err`
25660 # Allow CC to be a program name with arguments.
25665 for cc_temp in $compiler""; do
25667 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25668 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25673 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25675 lt_cv_prog_compiler_c_o_RC=yes
25677 # The else clause should only fire when bootstrapping the
25678 # libtool distribution, otherwise you forgot to ship ltmain.sh
25679 # with your package, and you will get complaints that there are
25680 # no rules to generate ltmain.sh.
25681 if test -f "$ltmain"; then
25682 # See if we are running on zsh, and set the options which allow our commands through
25683 # without removal of \ escapes.
25684 if test -n "${ZSH_VERSION+set}" ; then
25685 setopt NO_GLOB_SUBST
25687 # Now quote all the things that may contain metacharacters while being
25688 # careful not to overquote the AC_SUBSTed values. We take copies of the
25689 # variables and quote the copies for generation of the libtool script.
25690 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25692 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25693 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25694 deplibs_check_method reload_flag reload_cmds need_locks \
25695 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25696 lt_cv_sys_global_symbol_to_c_name_address \
25697 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25698 old_postinstall_cmds old_postuninstall_cmds \
25702 lt_prog_compiler_wl_RC \
25703 lt_prog_compiler_pic_RC \
25704 lt_prog_compiler_static_RC \
25705 lt_prog_compiler_no_builtin_flag_RC \
25706 export_dynamic_flag_spec_RC \
25707 thread_safe_flag_spec_RC \
25708 whole_archive_flag_spec_RC \
25709 enable_shared_with_static_runtimes_RC \
25710 old_archive_cmds_RC \
25711 old_archive_from_new_cmds_RC \
25712 predep_objects_RC \
25713 postdep_objects_RC \
25716 compiler_lib_search_path_RC \
25718 archive_expsym_cmds_RC \
25719 postinstall_cmds_RC \
25720 postuninstall_cmds_RC \
25721 old_archive_from_expsyms_cmds_RC \
25722 allow_undefined_flag_RC \
25723 no_undefined_flag_RC \
25724 export_symbols_cmds_RC \
25725 hardcode_libdir_flag_spec_RC \
25726 hardcode_libdir_flag_spec_ld_RC \
25727 hardcode_libdir_separator_RC \
25728 hardcode_automatic_RC \
25730 module_expsym_cmds_RC \
25731 lt_cv_prog_compiler_c_o_RC \
25732 exclude_expsyms_RC \
25733 include_expsyms_RC; do
25736 old_archive_cmds_RC | \
25737 old_archive_from_new_cmds_RC | \
25738 archive_cmds_RC | \
25739 archive_expsym_cmds_RC | \
25741 module_expsym_cmds_RC | \
25742 old_archive_from_expsyms_cmds_RC | \
25743 export_symbols_cmds_RC | \
25744 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25745 postinstall_cmds | postuninstall_cmds | \
25746 old_postinstall_cmds | old_postuninstall_cmds | \
25747 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25748 # Double-quote double-evaled strings.
25749 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25752 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25758 *'\$0 --fallback-echo"')
25759 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25765 cat <<__EOF__ >> "$cfgfile"
25766 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25768 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25770 # Shell to use when invoking shell scripts.
25773 # Whether or not to build shared libraries.
25774 build_libtool_libs=$enable_shared
25776 # Whether or not to build static libraries.
25777 build_old_libs=$enable_static
25779 # Whether or not to add -lc for building shared libraries.
25780 build_libtool_need_lc=$archive_cmds_need_lc_RC
25782 # Whether or not to disallow shared libs when runtime libs are static
25783 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25785 # Whether or not to optimize for fast installation.
25786 fast_install=$enable_fast_install
25789 host_alias=$host_alias
25793 # The build system.
25794 build_alias=$build_alias
25798 # An echo program that does not interpret backslashes.
25803 AR_FLAGS=$lt_AR_FLAGS
25808 # A language-specific compiler.
25811 # Is the compiler the GNU C compiler?
25817 # The linker used to build libraries.
25820 # Whether we need hard or soft links.
25823 # A BSD-compatible nm program.
25826 # A symbol stripping program
25829 # Used to examine libraries when file_magic_cmd begins "file"
25830 MAGIC_CMD=$MAGIC_CMD
25832 # Used on cygwin: DLL creation program.
25835 # Used on cygwin: object dumper.
25838 # Used on cygwin: assembler.
25841 # The name of the directory that contains temporary libtool files.
25844 # How to create reloadable object files.
25845 reload_flag=$lt_reload_flag
25846 reload_cmds=$lt_reload_cmds
25848 # How to pass a linker flag through the compiler.
25849 wl=$lt_lt_prog_compiler_wl_RC
25851 # Object file suffix (normally "o").
25852 objext="$ac_objext"
25854 # Old archive suffix (normally "a").
25857 # Shared library suffix (normally ".so").
25858 shrext_cmds='$shrext_cmds'
25860 # Executable file suffix (normally "").
25863 # Additional compiler flags for building library objects.
25864 pic_flag=$lt_lt_prog_compiler_pic_RC
25867 # What is the maximum length of a command?
25868 max_cmd_len=$lt_cv_sys_max_cmd_len
25870 # Does compiler simultaneously support -c and -o options?
25871 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25873 # Must we lock files when doing compilation?
25874 need_locks=$lt_need_locks
25876 # Do we need the lib prefix for modules?
25877 need_lib_prefix=$need_lib_prefix
25879 # Do we need a version for libraries?
25880 need_version=$need_version
25882 # Whether dlopen is supported.
25883 dlopen_support=$enable_dlopen
25885 # Whether dlopen of programs is supported.
25886 dlopen_self=$enable_dlopen_self
25888 # Whether dlopen of statically linked programs is supported.
25889 dlopen_self_static=$enable_dlopen_self_static
25891 # Compiler flag to prevent dynamic linking.
25892 link_static_flag=$lt_lt_prog_compiler_static_RC
25894 # Compiler flag to turn off builtin functions.
25895 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25897 # Compiler flag to allow reflexive dlopens.
25898 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25900 # Compiler flag to generate shared objects directly from archives.
25901 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25903 # Compiler flag to generate thread-safe objects.
25904 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25906 # Library versioning type.
25907 version_type=$version_type
25909 # Format of library name prefix.
25910 libname_spec=$lt_libname_spec
25912 # List of archive names. First name is the real one, the rest are links.
25913 # The last name is the one that the linker finds with -lNAME.
25914 library_names_spec=$lt_library_names_spec
25916 # The coded name of the library, if different from the real name.
25917 soname_spec=$lt_soname_spec
25919 # Commands used to build and install an old-style archive.
25921 old_archive_cmds=$lt_old_archive_cmds_RC
25922 old_postinstall_cmds=$lt_old_postinstall_cmds
25923 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25925 # Create an old-style archive from a shared archive.
25926 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25928 # Create a temporary old-style archive to link instead of a shared archive.
25929 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25931 # Commands used to build and install a shared archive.
25932 archive_cmds=$lt_archive_cmds_RC
25933 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25934 postinstall_cmds=$lt_postinstall_cmds
25935 postuninstall_cmds=$lt_postuninstall_cmds
25937 # Commands used to build a loadable module (assumed same as above if empty)
25938 module_cmds=$lt_module_cmds_RC
25939 module_expsym_cmds=$lt_module_expsym_cmds_RC
25941 # Commands to strip libraries.
25942 old_striplib=$lt_old_striplib
25943 striplib=$lt_striplib
25945 # Dependencies to place before the objects being linked to create a
25947 predep_objects=$lt_predep_objects_RC
25949 # Dependencies to place after the objects being linked to create a
25951 postdep_objects=$lt_postdep_objects_RC
25953 # Dependencies to place before the objects being linked to create a
25955 predeps=$lt_predeps_RC
25957 # Dependencies to place after the objects being linked to create a
25959 postdeps=$lt_postdeps_RC
25961 # The library search path used internally by the compiler when linking
25962 # a shared library.
25963 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25965 # Method to check whether dependent libraries are shared objects.
25966 deplibs_check_method=$lt_deplibs_check_method
25968 # Command to use when deplibs_check_method == file_magic.
25969 file_magic_cmd=$lt_file_magic_cmd
25971 # Flag that allows shared libraries with undefined symbols to be built.
25972 allow_undefined_flag=$lt_allow_undefined_flag_RC
25974 # Flag that forces no undefined symbols.
25975 no_undefined_flag=$lt_no_undefined_flag_RC
25977 # Commands used to finish a libtool library installation in a directory.
25978 finish_cmds=$lt_finish_cmds
25980 # Same as above, but a single script fragment to be evaled but not shown.
25981 finish_eval=$lt_finish_eval
25983 # Take the output of nm and produce a listing of raw symbols and C names.
25984 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25986 # Transform the output of nm in a proper C declaration
25987 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25989 # Transform the output of nm in a C name address pair
25990 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25992 # This is the shared library runtime path variable.
25993 runpath_var=$runpath_var
25995 # This is the shared library path variable.
25996 shlibpath_var=$shlibpath_var
25998 # Is shlibpath searched before the hard-coded library search path?
25999 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26001 # How to hardcode a shared library path into an executable.
26002 hardcode_action=$hardcode_action_RC
26004 # Whether we should hardcode library paths into libraries.
26005 hardcode_into_libs=$hardcode_into_libs
26007 # Flag to hardcode \$libdir into a binary during linking.
26008 # This must work even if \$libdir does not exist.
26009 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26011 # If ld is used when linking, flag to hardcode \$libdir into
26012 # a binary during linking. This must work even if \$libdir does
26014 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26016 # Whether we need a single -rpath flag with a separated argument.
26017 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26019 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26020 # resulting binary.
26021 hardcode_direct=$hardcode_direct_RC
26023 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26024 # resulting binary.
26025 hardcode_minus_L=$hardcode_minus_L_RC
26027 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26028 # the resulting binary.
26029 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26031 # Set to yes if building a shared library automatically hardcodes DIR into the library
26032 # and all subsequent libraries and executables linked against it.
26033 hardcode_automatic=$hardcode_automatic_RC
26035 # Variables whose values should be saved in libtool wrapper scripts and
26036 # restored at relink time.
26037 variables_saved_for_relink="$variables_saved_for_relink"
26039 # Whether libtool must link a program against all its dependency libraries.
26040 link_all_deplibs=$link_all_deplibs_RC
26042 # Compile-time system search path for libraries
26043 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26045 # Run-time system search path for libraries
26046 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26048 # Fix the shell variable \$srcfile for the compiler.
26049 fix_srcfile_path="$fix_srcfile_path_RC"
26051 # Set to yes if exported symbols are required.
26052 always_export_symbols=$always_export_symbols_RC
26054 # The commands to list exported symbols.
26055 export_symbols_cmds=$lt_export_symbols_cmds_RC
26057 # The commands to extract the exported symbol list from a shared archive.
26058 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26060 # Symbols that should not be listed in the preloaded symbols.
26061 exclude_expsyms=$lt_exclude_expsyms_RC
26063 # Symbols that must always be exported.
26064 include_expsyms=$lt_include_expsyms_RC
26066 # ### END LIBTOOL TAG CONFIG: $tagname
26072 # If there is no Makefile yet, we rely on a make rule to execute
26073 # `config.status --recheck' to rerun these tests and create the
26074 # libtool script then.
26075 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26076 if test -f "$ltmain_in"; then
26077 test -f Makefile && make "$ltmain"
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26093 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26094 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26095 { (exit 1); exit 1; }; }
26099 # Append the new tag name to the list of available tags.
26100 if test -n "$tagname" ; then
26101 available_tags="$available_tags $tagname"
26107 # Now substitute the updated list of available tags.
26108 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26109 mv "${ofile}T" "$ofile"
26113 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26114 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26115 { (exit 1); exit 1; }; }
26121 # This can be used to rebuild libtool when needed
26122 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
26124 # Always use our own libtool.
26125 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
26127 # Prevent multiple expansion
26151 echo "$as_me:$LINENO: checking for linux kernel dir" >&5
26152 echo $ECHO_N "checking for linux kernel dir... $ECHO_C" >&6
26153 if test "${ensc_cv_path_kerneldir+set}" = set; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26158 # Check whether --with-kerneldir or --without-kerneldir was given.
26159 if test "${with_kerneldir+set}" = set; then
26160 withval="$with_kerneldir"
26162 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for kerneldir" >&5
26163 echo "$as_me: error: '$withval' is not a valid value for kerneldir" >&2;}
26164 { (exit 1); exit 1; }; };;
26165 *) ensc_cv_path_kerneldir=$withval;;
26168 ensc_cv_path_kerneldir=
26169 for i in /lib/modules/$(uname -r)/build /usr/src/linux /usr; do
26170 test -e $i/include/linux/version.h && { ensc_cv_path_kerneldir=$i; break; }
26175 echo "$as_me:$LINENO: result: $ensc_cv_path_kerneldir" >&5
26176 echo "${ECHO_T}$ensc_cv_path_kerneldir" >&6
26178 test "$ensc_cv_path_kerneldir" -a -e "$ensc_cv_path_kerneldir"/include/linux/version.h || {
26179 { { echo "$as_me:$LINENO: error: Can not find kernelsources" >&5
26180 echo "$as_me: error: Can not find kernelsources" >&2;}
26181 { (exit 1); exit 1; }; }
26187 echo "$as_me:$LINENO: checking for linux kernel headers" >&5
26188 echo $ECHO_N "checking for linux kernel headers... $ECHO_C" >&6
26189 if test "${ensc_cv_path_kernelheaders+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 ensc_cv_path_kernelheaders=$ensc_cv_path_kerneldir/include
26196 echo "$as_me:$LINENO: result: $ensc_cv_path_kernelheaders" >&5
26197 echo "${ECHO_T}$ensc_cv_path_kernelheaders" >&6
26199 if test x"kernelincludedir" != x; then
26200 kernelincludedir=$ensc_cv_path_kernelheaders
26205 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26206 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
26208 # Check whether --with-vrootdir or --without-vrootdir was given.
26209 if test "${with_vrootdir+set}" = set; then
26210 withval="$with_vrootdir"
26212 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26213 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26214 { (exit 1); exit 1; }; };;
26215 *) ensc_uv_path_vrootdir=$withval;;
26218 ensc_uv_path_vrootdir=/vservers
26220 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26221 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
26223 if test x"vserverdir" != x; then
26224 vserverdir=$ensc_uv_path_vrootdir
26229 if test x"trunk" != x; then
26230 CVS2CL_TAG='-F trunk'
26234 for ac_prog in cvs2cl
26236 # Extract the first word of "$ac_prog", so it can be a program name with args.
26237 set dummy $ac_prog; ac_word=$2
26238 echo "$as_me:$LINENO: checking for $ac_word" >&5
26239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26240 if test "${ac_cv_prog_CVS2CL+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 if test -n "$CVS2CL"; then
26244 ac_cv_prog_CVS2CL="$CVS2CL" # Let the user override the test.
26246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26247 for as_dir in $PATH
26250 test -z "$as_dir" && as_dir=.
26251 for ac_exec_ext in '' $ac_executable_extensions; do
26252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26253 ac_cv_prog_CVS2CL="$ac_prog"
26254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26262 CVS2CL=$ac_cv_prog_CVS2CL
26263 if test -n "$CVS2CL"; then
26264 echo "$as_me:$LINENO: result: $CVS2CL" >&5
26265 echo "${ECHO_T}$CVS2CL" >&6
26267 echo "$as_me:$LINENO: result: no" >&5
26268 echo "${ECHO_T}no" >&6
26271 test -n "$CVS2CL" && break
26276 if test x"$CVS2CL" != x; then
26278 HAVE_CVS2CL_FALSE='#'
26280 HAVE_CVS2CL_TRUE='#'
26285 for ac_prog in rcs2log
26287 # Extract the first word of "$ac_prog", so it can be a program name with args.
26288 set dummy $ac_prog; ac_word=$2
26289 echo "$as_me:$LINENO: checking for $ac_word" >&5
26290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26291 if test "${ac_cv_prog_RCS2LOG+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 if test -n "$RCS2LOG"; then
26295 ac_cv_prog_RCS2LOG="$RCS2LOG" # Let the user override the test.
26297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26298 for as_dir in $PATH
26301 test -z "$as_dir" && as_dir=.
26302 for ac_exec_ext in '' $ac_executable_extensions; do
26303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26304 ac_cv_prog_RCS2LOG="$ac_prog"
26305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26313 RCS2LOG=$ac_cv_prog_RCS2LOG
26314 if test -n "$RCS2LOG"; then
26315 echo "$as_me:$LINENO: result: $RCS2LOG" >&5
26316 echo "${ECHO_T}$RCS2LOG" >&6
26318 echo "$as_me:$LINENO: result: no" >&5
26319 echo "${ECHO_T}no" >&6
26322 test -n "$RCS2LOG" && break
26327 if test x"$RCS2LOG" != x; then
26329 HAVE_RCS2LOG_FALSE='#'
26331 HAVE_RCS2LOG_TRUE='#'
26332 HAVE_RCS2LOG_FALSE=
26338 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26339 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
26340 # Check whether --enable-internal-headers or --disable-internal-headers was given.
26341 if test "${enable_internal_headers+set}" = set; then
26342 enableval="$enable_internal_headers"
26343 case "$enableval" in
26345 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26346 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26347 { (exit 1); exit 1; }; };;
26350 enable_internal_headers=yes
26355 if test x"$enable_internal_headers" = xyes; then
26356 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26357 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26359 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26360 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26363 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26364 echo "${ECHO_T}$enable_internal_headers" >&6
26366 echo "$as_me:$LINENO: checking for supported APIs" >&5
26367 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
26368 # Check whether --enable-apis or --disable-apis was given.
26369 if test "${enable_apis+set}" = set; then
26370 enableval="$enable_apis"
26373 enable_apis=compat,v11,v13,fscompat,net
26376 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,v13,fscompat,net'
26377 enable_api_oldproc=
26381 for i in $enable_apis; do
26384 cat >>confdefs.h <<\_ACEOF
26385 #define VC_ENABLE_API_COMPAT 1
26388 enable_api_oldproc=1
26389 enable_api_olduts=1
26392 cat >>confdefs.h <<\_ACEOF
26393 #define VC_ENABLE_API_LEGACY 1
26396 enable_api_old_proc=1
26397 enable_api_olduts=1
26400 cat >>confdefs.h <<\_ACEOF
26401 #define VC_ENABLE_API_V11 1
26404 enable_api_oldproc=1
26405 enable_api_olduts=1
26408 cat >>confdefs.h <<\_ACEOF
26409 #define VC_ENABLE_API_V13 1
26413 cat >>confdefs.h <<\_ACEOF
26414 #define VC_ENABLE_API_NET 1
26418 cat >>confdefs.h <<\_ACEOF
26419 #define VC_ENABLE_API_FSCOMPAT 1
26422 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
26423 echo "$as_me: error: '$i' is not a supported API" >&2;}
26424 { (exit 1); exit 1; }; };;
26428 if test x"$enable_api_oldproc" != x; then
26430 cat >>confdefs.h <<\_ACEOF
26431 #define VC_ENABLE_API_OLDPROC 1
26434 enable_apis="$enable_apis,oldproc"
26436 if test x"$enable_api_olduts" != x; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define VC_ENABLE_API_OLDUTS 1
26442 enable_apis="$enable_apis,olduts"
26444 echo "$as_me:$LINENO: result: $enable_apis" >&5
26445 echo "${ECHO_T}$enable_apis" >&6
26453 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
26454 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
26455 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 ac_cpp='$CPP $CPPFLAGS'
26461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465 cat >conftest.$ac_ext <<_ACEOF
26467 #include <asm/unistd.h>
26468 #ifdef __NR_vserver
26469 ensc_syscall_tmp_nr=__NR_vserver;
26470 ensc_syscall_tmp_src=ENSC_MARK
26474 ensc_syscall_tmp_nr=
26475 ensc_syscall_tmp_src=
26476 test "$ensc_syscall_tmp_nr" || \
26477 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
26478 test "$ensc_syscall_tmp_nr" || \
26479 eval $($CPP $CPPFLAGS -D ENSC_MARK='kernel' -I $ensc_cv_path_kernelheaders conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
26480 test "$ensc_syscall_tmp_nr" || {
26481 ensc_syscall_tmp_nr=273
26482 ensc_syscall_tmp_src=default
26485 if test x"$ensc_syscall_tmp_nr" = x; then
26486 { { 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
26487 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;}
26488 { (exit 1); exit 1; }; }
26491 ac_cpp='$CPP $CPPFLAGS'
26492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26497 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
26500 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
26501 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
26503 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
26504 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
26506 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
26508 cat >>confdefs.h <<_ACEOF
26509 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
26518 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
26519 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
26521 # Check whether --with-syscall or --without-syscall was given.
26522 if test "${with_syscall+set}" = set; then
26523 withval="$with_syscall"
26528 echo "$as_me:$LINENO: result: $with_syscall" >&5
26529 echo "${ECHO_T}$with_syscall" >&6
26531 case x"$with_syscall" in
26533 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
26534 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
26535 if test "${ensc_cv_test_syscall+set}" = set; then
26536 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 ac_cpp='$CPP $CPPFLAGS'
26541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26545 cat >conftest.$ac_ext <<_ACEOF
26548 cat confdefs.h >>conftest.$ac_ext
26549 cat >>conftest.$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26552 #include "$srcdir/lib/syscall-wrap.h"
26555 #define __NR_foo0 300
26556 #define __NR_foo1 301
26557 #define __NR_foo2 302
26558 #define __NR_foo3 303
26559 #define __NR_foo4 304
26560 #define __NR_foo5 305
26561 inline static _syscall0(int, foo0)
26562 inline static _syscall1(int, foo1, int, a)
26563 inline static _syscall2(int, foo2, int, a, int, b)
26564 inline static _syscall3(int, foo3, int, a, int, b, int, c)
26565 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
26566 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
26578 rm -f conftest.$ac_objext
26579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26580 (eval $ac_compile) 2>conftest.er1
26582 grep -v '^ *+' conftest.er1 >conftest.err
26584 cat conftest.err >&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); } &&
26587 { ac_try='test -z "$ac_c_werror_flag"
26588 || test ! -s conftest.err'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; } &&
26594 { ac_try='test -s conftest.$ac_objext'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; }; then
26600 ensc_cv_test_syscall=fast
26602 echo "$as_me: failed program was:" >&5
26603 sed 's/^/| /' conftest.$ac_ext >&5
26605 ensc_cv_test_syscall=traditional
26607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26610 ac_cpp='$CPP $CPPFLAGS'
26611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26617 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
26618 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
26619 with_syscall=$ensc_cv_test_syscall
26621 (xfast|xtraditional)
26624 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
26625 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
26626 { (exit 1); exit 1; }; }
26630 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
26631 with_syscall='alternative'
26634 if test x"$with_syscall" = xtraditional; then
26636 cat >>confdefs.h <<\_ACEOF
26637 #define ENSC_SYSCALL_TRADITIONAL 1
26648 ac_cpp='$CXXCPP $CPPFLAGS'
26649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26653 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
26654 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
26655 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 cat >conftest.$ac_ext <<_ACEOF
26662 cat confdefs.h >>conftest.$ac_ext
26663 cat >>conftest.$ac_ext <<_ACEOF
26664 /* end confdefs.h. */
26665 #include <ext2fs/ext2_fs.h>
26666 int main() { return 0; }
26668 rm -f conftest.$ac_objext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26670 (eval $ac_compile) 2>conftest.er1
26672 grep -v '^ *+' conftest.er1 >conftest.err
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -z "$ac_cxx_werror_flag"
26678 || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; } &&
26684 { ac_try='test -s conftest.$ac_objext'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; }; then
26690 ensc_cv_test_ext2fs_header=e2fsprogs
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26696 cat >conftest.$ac_ext <<_ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 #include <linux/ext2_fs.h>
26703 int main() { return 0; }
26705 rm -f conftest.$ac_objext
26706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26707 (eval $ac_compile) 2>conftest.er1
26709 grep -v '^ *+' conftest.er1 >conftest.err
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } &&
26714 { ac_try='test -z "$ac_cxx_werror_flag"
26715 || test ! -s conftest.err'
26716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26717 (eval $ac_try) 2>&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); }; } &&
26721 { ac_try='test -s conftest.$ac_objext'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; }; then
26727 ensc_cv_test_ext2fs_header=kernel
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.$ac_ext >&5
26733 ensc_cv_test_ext2fs_header=none
26735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26739 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26740 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
26742 case x"$ensc_cv_test_ext2fs_header" in
26744 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26745 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26746 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26747 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26751 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26753 # Is the header compilable?
26754 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26755 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
26756 cat >conftest.$ac_ext <<_ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762 $ac_includes_default
26763 #include <ext2fs/ext2_fs.h>
26765 rm -f conftest.$ac_objext
26766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26767 (eval $ac_compile) 2>conftest.er1
26769 grep -v '^ *+' conftest.er1 >conftest.err
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } &&
26774 { ac_try='test -z "$ac_cxx_werror_flag"
26775 || test ! -s conftest.err'
26776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777 (eval $ac_try) 2>&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; } &&
26781 { ac_try='test -s conftest.$ac_objext'
26782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 (eval $ac_try) 2>&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); }; }; then
26787 ac_header_compiler=yes
26789 echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.$ac_ext >&5
26792 ac_header_compiler=no
26794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26796 echo "${ECHO_T}$ac_header_compiler" >&6
26798 # Is the header present?
26799 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26800 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26801 cat >conftest.$ac_ext <<_ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26807 #include <ext2fs/ext2_fs.h>
26809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26812 grep -v '^ *+' conftest.er1 >conftest.err
26814 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } >/dev/null; then
26817 if test -s conftest.err; then
26818 ac_cpp_err=$ac_cxx_preproc_warn_flag
26819 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26826 if test -z "$ac_cpp_err"; then
26827 ac_header_preproc=yes
26829 echo "$as_me: failed program was:" >&5
26830 sed 's/^/| /' conftest.$ac_ext >&5
26832 ac_header_preproc=no
26834 rm -f conftest.err conftest.$ac_ext
26835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26836 echo "${ECHO_T}$ac_header_preproc" >&6
26838 # So? What about this header?
26839 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26841 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26842 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26843 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26844 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26845 ac_header_preproc=yes
26848 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26849 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26850 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26851 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26852 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26853 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26854 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26855 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26856 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26857 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26858 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26859 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26862 ## ------------------------------------------------------ ##
26863 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26864 ## ------------------------------------------------------ ##
26867 sed "s/^/$as_me: WARNING: /" >&2
26870 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26871 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26872 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26875 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26877 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26878 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26881 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26883 cat >>confdefs.h <<\_ACEOF
26884 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26888 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26889 See \`config.log' for more details." >&5
26890 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26891 See \`config.log' for more details." >&2;}
26892 { (exit 1); exit 1; }; }
26898 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26899 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26900 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26901 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26905 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26907 # Is the header compilable?
26908 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26909 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26910 cat >conftest.$ac_ext <<_ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916 $ac_includes_default
26917 #include <linux/ext2_fs.h>
26919 rm -f conftest.$ac_objext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26921 (eval $ac_compile) 2>conftest.er1
26923 grep -v '^ *+' conftest.er1 >conftest.err
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -z "$ac_cxx_werror_flag"
26929 || test ! -s conftest.err'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; } &&
26935 { ac_try='test -s conftest.$ac_objext'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; }; then
26941 ac_header_compiler=yes
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.$ac_ext >&5
26946 ac_header_compiler=no
26948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26950 echo "${ECHO_T}$ac_header_compiler" >&6
26952 # Is the header present?
26953 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26954 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26955 cat >conftest.$ac_ext <<_ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 #include <linux/ext2_fs.h>
26963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26966 grep -v '^ *+' conftest.er1 >conftest.err
26968 cat conftest.err >&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } >/dev/null; then
26971 if test -s conftest.err; then
26972 ac_cpp_err=$ac_cxx_preproc_warn_flag
26973 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26980 if test -z "$ac_cpp_err"; then
26981 ac_header_preproc=yes
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26986 ac_header_preproc=no
26988 rm -f conftest.err conftest.$ac_ext
26989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26990 echo "${ECHO_T}$ac_header_preproc" >&6
26992 # So? What about this header?
26993 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26995 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26996 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26997 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26998 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26999 ac_header_preproc=yes
27002 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
27003 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
27004 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
27005 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
27006 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
27007 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
27008 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
27009 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
27010 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
27011 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
27012 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
27013 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
27016 ## ------------------------------------------------------ ##
27017 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27018 ## ------------------------------------------------------ ##
27021 sed "s/^/$as_me: WARNING: /" >&2
27024 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
27025 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
27026 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
27031 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
27032 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
27035 if test $ac_cv_header_linux_ext2_fs_h = yes; then
27037 cat >>confdefs.h <<\_ACEOF
27038 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
27042 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
27043 See \`config.log' for more details." >&5
27044 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
27045 See \`config.log' for more details." >&2;}
27046 { (exit 1); exit 1; }; }
27052 { { echo "$as_me:$LINENO: error:
27053 ext2fs headers were not found, or they are not usable. This can have
27054 the following reasons:
27056 * you have neither the e2fsprogs nor the kernel headers installed
27058 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27059 and you do not have e2fsprogs headers installed; please try to install
27060 - e2fsprogs-devel (for Red Hat), or
27061 - libext2fs2-devel (for Mandrake), or
27062 - e2fslibs-dev (for Debian)
27065 * kernel headers are broken and your e2fsprogs headers are too old;
27066 until version 1.27 (inclusive), they are using reserved C++ keywords
27068 * kernel headers are broken and your e2fsprogs headers are too new;
27069 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27070 C++, for details and a solution see
27071 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27074 In the latter two cases you have the following options:
27075 * fix the headers manually, or
27076 * install a stable version of e2fsprogs (e.g. 1.34), or
27077 * use good kernel headers (from linux 2.4.x)
27079 See \`config.log' for more details." >&5
27080 echo "$as_me: error:
27081 ext2fs headers were not found, or they are not usable. This can have
27082 the following reasons:
27084 * you have neither the e2fsprogs nor the kernel headers installed
27086 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
27087 and you do not have e2fsprogs headers installed; please try to install
27088 - e2fsprogs-devel (for Red Hat), or
27089 - libext2fs2-devel (for Mandrake), or
27090 - e2fslibs-dev (for Debian)
27093 * kernel headers are broken and your e2fsprogs headers are too old;
27094 until version 1.27 (inclusive), they are using reserved C++ keywords
27096 * kernel headers are broken and your e2fsprogs headers are too new;
27097 recent (January 2004) BK snapshots of e2fsprogs are unusable for
27098 C++, for details and a solution see
27099 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
27102 In the latter two cases you have the following options:
27103 * fix the headers manually, or
27104 * install a stable version of e2fsprogs (e.g. 1.34), or
27105 * use good kernel headers (from linux 2.4.x)
27107 See \`config.log' for more details." >&2;}
27108 { (exit 1); exit 1; }; }
27112 ac_cpp='$CPP $CPPFLAGS'
27113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27119 for ac_func in vserver
27121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27122 echo "$as_me:$LINENO: checking for $ac_func" >&5
27123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27124 if eval "test \"\${$as_ac_var+set}\" = set"; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 cat >conftest.$ac_ext <<_ACEOF
27130 cat confdefs.h >>conftest.$ac_ext
27131 cat >>conftest.$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27135 #define $ac_func innocuous_$ac_func
27137 /* System header to define __stub macros and hopefully few prototypes,
27138 which can conflict with char $ac_func (); below.
27139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27140 <limits.h> exists even on freestanding compilers. */
27143 # include <limits.h>
27145 # include <assert.h>
27150 /* Override any gcc2 internal prototype to avoid an error. */
27155 /* We use char because int might match the return type of a gcc2
27156 builtin and then its argument prototype would still apply. */
27158 /* The GNU C library defines this for functions which it implements
27159 to always fail with ENOSYS. Some functions are actually named
27160 something starting with __ and the normal name is an alias. */
27161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27164 char (*f) () = $ac_func;
27173 return f != $ac_func;
27178 rm -f conftest.$ac_objext conftest$ac_exeext
27179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27180 (eval $ac_link) 2>conftest.er1
27182 grep -v '^ *+' conftest.er1 >conftest.err
27184 cat conftest.err >&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); } &&
27187 { ac_try='test -z "$ac_c_werror_flag"
27188 || test ! -s conftest.err'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; } &&
27194 { ac_try='test -s conftest$ac_exeext'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 eval "$as_ac_var=yes"
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27205 eval "$as_ac_var=no"
27207 rm -f conftest.err conftest.$ac_objext \
27208 conftest$ac_exeext conftest.$ac_ext
27210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27212 if test `eval echo '${'$as_ac_var'}'` = yes; then
27213 cat >>confdefs.h <<_ACEOF
27214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27220 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27221 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
27222 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27225 cat >conftest.$ac_ext <<_ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27231 #include <linux/fs.h>
27237 char *p = (char *) MS_MOVE;
27244 rm -f conftest.$ac_objext
27245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27246 (eval $ac_compile) 2>conftest.er1
27248 grep -v '^ *+' conftest.er1 >conftest.err
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try='test -z "$ac_c_werror_flag"
27254 || test ! -s conftest.err'
27255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27256 (eval $ac_try) 2>&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); }; } &&
27260 { ac_try='test -s conftest.$ac_objext'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; }; then
27266 ac_cv_have_decl_MS_MOVE=yes
27268 echo "$as_me: failed program was:" >&5
27269 sed 's/^/| /' conftest.$ac_ext >&5
27271 ac_cv_have_decl_MS_MOVE=no
27273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27275 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27276 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
27277 if test $ac_cv_have_decl_MS_MOVE = yes; then
27279 cat >>confdefs.h <<_ACEOF
27280 #define HAVE_DECL_MS_MOVE 1
27285 cat >>confdefs.h <<_ACEOF
27286 #define HAVE_DECL_MS_MOVE 0
27293 echo "$as_me:$LINENO: checking for xid_t" >&5
27294 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
27295 if test "${ac_cv_type_xid_t+set}" = set; then
27296 echo $ECHO_N "(cached) $ECHO_C" >&6
27298 cat >conftest.$ac_ext <<_ACEOF
27301 cat confdefs.h >>conftest.$ac_ext
27302 cat >>conftest.$ac_ext <<_ACEOF
27303 /* end confdefs.h. */
27304 #include <sys/types.h>
27311 if (sizeof (xid_t))
27317 rm -f conftest.$ac_objext
27318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27319 (eval $ac_compile) 2>conftest.er1
27321 grep -v '^ *+' conftest.er1 >conftest.err
27323 cat conftest.err >&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); } &&
27326 { ac_try='test -z "$ac_c_werror_flag"
27327 || test ! -s conftest.err'
27328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329 (eval $ac_try) 2>&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); }; } &&
27333 { ac_try='test -s conftest.$ac_objext'
27334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335 (eval $ac_try) 2>&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); }; }; then
27339 ac_cv_type_xid_t=yes
27341 echo "$as_me: failed program was:" >&5
27342 sed 's/^/| /' conftest.$ac_ext >&5
27344 ac_cv_type_xid_t=no
27346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27348 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27349 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
27350 if test $ac_cv_type_xid_t = yes; then
27352 cat >>confdefs.h <<_ACEOF
27353 #define HAVE_XID_T 1
27359 echo "$as_me:$LINENO: checking for nid_t" >&5
27360 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
27361 if test "${ac_cv_type_nid_t+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 cat >conftest.$ac_ext <<_ACEOF
27367 cat confdefs.h >>conftest.$ac_ext
27368 cat >>conftest.$ac_ext <<_ACEOF
27369 /* end confdefs.h. */
27370 #include <sys/types.h>
27377 if (sizeof (nid_t))
27383 rm -f conftest.$ac_objext
27384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27385 (eval $ac_compile) 2>conftest.er1
27387 grep -v '^ *+' conftest.er1 >conftest.err
27389 cat conftest.err >&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); } &&
27392 { ac_try='test -z "$ac_c_werror_flag"
27393 || test ! -s conftest.err'
27394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27395 (eval $ac_try) 2>&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); }; } &&
27399 { ac_try='test -s conftest.$ac_objext'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; }; then
27405 ac_cv_type_nid_t=yes
27407 echo "$as_me: failed program was:" >&5
27408 sed 's/^/| /' conftest.$ac_ext >&5
27410 ac_cv_type_nid_t=no
27412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27414 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27415 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
27416 if test $ac_cv_type_nid_t = yes; then
27418 cat >>confdefs.h <<_ACEOF
27419 #define HAVE_NID_T 1
27427 for ac_header in sys/capability.h
27429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27431 echo "$as_me:$LINENO: checking for $ac_header" >&5
27432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27439 # Is the header compilable?
27440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27442 cat >conftest.$ac_ext <<_ACEOF
27445 cat confdefs.h >>conftest.$ac_ext
27446 cat >>conftest.$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27448 $ac_includes_default
27449 #include <$ac_header>
27451 rm -f conftest.$ac_objext
27452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27453 (eval $ac_compile) 2>conftest.er1
27455 grep -v '^ *+' conftest.er1 >conftest.err
27457 cat conftest.err >&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); } &&
27460 { ac_try='test -z "$ac_c_werror_flag"
27461 || test ! -s conftest.err'
27462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 (eval $ac_try) 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; } &&
27467 { ac_try='test -s conftest.$ac_objext'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; }; then
27473 ac_header_compiler=yes
27475 echo "$as_me: failed program was:" >&5
27476 sed 's/^/| /' conftest.$ac_ext >&5
27478 ac_header_compiler=no
27480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27482 echo "${ECHO_T}$ac_header_compiler" >&6
27484 # Is the header present?
27485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27487 cat >conftest.$ac_ext <<_ACEOF
27490 cat confdefs.h >>conftest.$ac_ext
27491 cat >>conftest.$ac_ext <<_ACEOF
27492 /* end confdefs.h. */
27493 #include <$ac_header>
27495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27498 grep -v '^ *+' conftest.er1 >conftest.err
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } >/dev/null; then
27503 if test -s conftest.err; then
27504 ac_cpp_err=$ac_c_preproc_warn_flag
27505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27512 if test -z "$ac_cpp_err"; then
27513 ac_header_preproc=yes
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.$ac_ext >&5
27518 ac_header_preproc=no
27520 rm -f conftest.err conftest.$ac_ext
27521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27522 echo "${ECHO_T}$ac_header_preproc" >&6
27524 # So? What about this header?
27525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27531 ac_header_preproc=yes
27534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27548 ## ------------------------------------------------------ ##
27549 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27550 ## ------------------------------------------------------ ##
27553 sed "s/^/$as_me: WARNING: /" >&2
27556 echo "$as_me:$LINENO: checking for $ac_header" >&5
27557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27559 echo $ECHO_N "(cached) $ECHO_C" >&6
27561 eval "$as_ac_Header=\$ac_header_preproc"
27563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27568 cat >>confdefs.h <<_ACEOF
27569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27578 if test x"$ensc_cv_c99_c99compiler" = xyes; then
27579 ensc_have_beecrypt=yes
27581 if test x"$ensc_have_beecrypt" = xyes; then
27582 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27583 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27584 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27585 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27589 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27591 # Is the header compilable?
27592 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
27593 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
27594 cat >conftest.$ac_ext <<_ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600 $ac_includes_default
27601 #include <beecrypt/beecrypt.h>
27603 rm -f conftest.$ac_objext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27605 (eval $ac_compile) 2>conftest.er1
27607 grep -v '^ *+' conftest.er1 >conftest.err
27609 cat conftest.err >&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try='test -z "$ac_c_werror_flag"
27613 || test ! -s conftest.err'
27614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27615 (eval $ac_try) 2>&5
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); }; } &&
27619 { ac_try='test -s conftest.$ac_objext'
27620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621 (eval $ac_try) 2>&5
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); }; }; then
27625 ac_header_compiler=yes
27627 echo "$as_me: failed program was:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27630 ac_header_compiler=no
27632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27634 echo "${ECHO_T}$ac_header_compiler" >&6
27636 # Is the header present?
27637 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27638 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
27639 cat >conftest.$ac_ext <<_ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27645 #include <beecrypt/beecrypt.h>
27647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27650 grep -v '^ *+' conftest.er1 >conftest.err
27652 cat conftest.err >&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); } >/dev/null; then
27655 if test -s conftest.err; then
27656 ac_cpp_err=$ac_c_preproc_warn_flag
27657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27664 if test -z "$ac_cpp_err"; then
27665 ac_header_preproc=yes
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27670 ac_header_preproc=no
27672 rm -f conftest.err conftest.$ac_ext
27673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27674 echo "${ECHO_T}$ac_header_preproc" >&6
27676 # So? What about this header?
27677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27679 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27680 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27682 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27683 ac_header_preproc=yes
27686 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27687 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27688 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27689 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27690 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27691 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27692 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27693 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27694 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27695 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27696 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27697 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27700 ## ------------------------------------------------------ ##
27701 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27702 ## ------------------------------------------------------ ##
27705 sed "s/^/$as_me: WARNING: /" >&2
27708 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27709 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27710 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27711 echo $ECHO_N "(cached) $ECHO_C" >&6
27713 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27715 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27716 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27719 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27722 ensc_have_beecrypt=no
27728 if test x"$ensc_have_beecrypt" = xyes; then
27729 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27730 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27731 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 ac_check_lib_save_LIBS=$LIBS
27735 LIBS="-lbeecrypt $LIBS"
27736 cat >conftest.$ac_ext <<_ACEOF
27739 cat confdefs.h >>conftest.$ac_ext
27740 cat >>conftest.$ac_ext <<_ACEOF
27741 /* end confdefs.h. */
27743 /* Override any gcc2 internal prototype to avoid an error. */
27747 /* We use char because int might match the return type of a gcc2
27748 builtin and then its argument prototype would still apply. */
27749 char hashFunctionContextInit ();
27753 hashFunctionContextInit ();
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27760 (eval $ac_link) 2>conftest.er1
27762 grep -v '^ *+' conftest.er1 >conftest.err
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } &&
27767 { ac_try='test -z "$ac_c_werror_flag"
27768 || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try='test -s conftest$ac_exeext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27780 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27782 echo "$as_me: failed program was:" >&5
27783 sed 's/^/| /' conftest.$ac_ext >&5
27785 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27787 rm -f conftest.err conftest.$ac_objext \
27788 conftest$ac_exeext conftest.$ac_ext
27789 LIBS=$ac_check_lib_save_LIBS
27791 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27792 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27793 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27796 ensc_have_beecrypt=no
27801 if test x"$ensc_have_beecrypt" != xyes; then
27802 { echo "$as_me:$LINENO: WARNING:
27804 **** 'beecrypt' could not be found;
27805 **** this will disable the build of 'vhashify'
27807 echo "$as_me: WARNING:
27809 **** 'beecrypt' could not be found;
27810 **** this will disable the build of 'vhashify'
27814 ensc_have_beecrypt=no
27819 if test x"$ensc_have_beecrypt" = xyes; then
27820 ENSC_HAVE_BEECRYPT_TRUE=
27821 ENSC_HAVE_BEECRYPT_FALSE='#'
27823 ENSC_HAVE_BEECRYPT_TRUE='#'
27824 ENSC_HAVE_BEECRYPT_FALSE=
27830 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27831 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27833 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27834 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27840 cat >>confdefs.h <<\_ACEOF
27841 #define UTMP_GID 22
27847 cat >>confdefs.h <<\_ACEOF
27848 #define HAVE_GROWING_STACK 1
27854 cat >>confdefs.h <<\_ACEOF
27855 #define _FILE_OFFSET_BITS 64
27859 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27860 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27861 ensc_diet_msg=" (you have been warned)"
27862 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27863 ensc_diet_compat_msg=" (using -lcompat)"
27864 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27865 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27866 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27867 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27868 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27874 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27876 cat >confcache <<\_ACEOF
27877 # This file is a shell script that caches the results of configure
27878 # tests run on this system so they can be shared between configure
27879 # scripts and configure runs, see configure's option --config-cache.
27880 # It is not useful on other systems. If it contains results you don't
27881 # want to keep, you may remove or edit it.
27883 # config.status only pays attention to the cache file if you give it
27884 # the --recheck option to rerun configure.
27886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27888 # following values.
27892 # The following way of writing the cache mishandles newlines in values,
27893 # but we know of no workaround that is simple, portable, and efficient.
27894 # So, don't put newlines in cache variables' values.
27895 # Ultrix sh set writes to stderr and can't be redirected directly,
27896 # and sets the high bit in the cache file unless we assign to the vars.
27899 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27901 # `set' does not quote correctly, so add quotes (double-quote
27902 # substitution turns \\\\ into \\, and sed turns \\ into \).
27905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27908 # `set' quotes correctly as required by POSIX, so do not add quotes.
27910 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27919 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27921 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27922 if test -w $cache_file; then
27923 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27924 cat confcache >$cache_file
27926 echo "not updating unwritable cache $cache_file"
27931 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27932 # Let make expand exec_prefix.
27933 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27935 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27936 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27937 # trailing colons and then remove the whole line if VPATH becomes empty
27938 # (actually we leave an empty line to preserve line numbers).
27939 if test "x$srcdir" = x.; then
27940 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27941 s/:*\$(srcdir):*/:/;
27942 s/:*\${srcdir}:*/:/;
27944 s/^\([^=]*=[ ]*\):*/\1/;
27950 DEFS=-DHAVE_CONFIG_H
27954 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27955 # 1. Remove the extension, and $U if already installed.
27956 ac_i=`echo "$ac_i" |
27957 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27959 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27960 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
27962 LIBOBJS=$ac_libobjs
27964 LTLIBOBJS=$ac_ltlibobjs
27967 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27968 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27969 Usually this means the macro was only invoked conditionally." >&5
27970 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27971 Usually this means the macro was only invoked conditionally." >&2;}
27972 { (exit 1); exit 1; }; }
27974 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27975 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27976 Usually this means the macro was only invoked conditionally." >&5
27977 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27978 Usually this means the macro was only invoked conditionally." >&2;}
27979 { (exit 1); exit 1; }; }
27981 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27982 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27983 Usually this means the macro was only invoked conditionally." >&5
27984 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27985 Usually this means the macro was only invoked conditionally." >&2;}
27986 { (exit 1); exit 1; }; }
27988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27989 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27990 Usually this means the macro was only invoked conditionally." >&5
27991 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27992 Usually this means the macro was only invoked conditionally." >&2;}
27993 { (exit 1); exit 1; }; }
27995 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
27996 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27997 Usually this means the macro was only invoked conditionally." >&5
27998 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27999 Usually this means the macro was only invoked conditionally." >&2;}
28000 { (exit 1); exit 1; }; }
28002 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
28003 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28004 Usually this means the macro was only invoked conditionally." >&5
28005 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
28006 Usually this means the macro was only invoked conditionally." >&2;}
28007 { (exit 1); exit 1; }; }
28009 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
28010 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
28011 Usually this means the macro was only invoked conditionally." >&5
28012 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
28013 Usually this means the macro was only invoked conditionally." >&2;}
28014 { (exit 1); exit 1; }; }
28016 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
28017 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
28018 Usually this means the macro was only invoked conditionally." >&5
28019 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
28020 Usually this means the macro was only invoked conditionally." >&2;}
28021 { (exit 1); exit 1; }; }
28023 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28024 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28025 Usually this means the macro was only invoked conditionally." >&5
28026 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28027 Usually this means the macro was only invoked conditionally." >&2;}
28028 { (exit 1); exit 1; }; }
28030 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28031 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28032 Usually this means the macro was only invoked conditionally." >&5
28033 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28034 Usually this means the macro was only invoked conditionally." >&2;}
28035 { (exit 1); exit 1; }; }
28037 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28038 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28039 Usually this means the macro was only invoked conditionally." >&5
28040 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28041 Usually this means the macro was only invoked conditionally." >&2;}
28042 { (exit 1); exit 1; }; }
28044 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28045 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28046 Usually this means the macro was only invoked conditionally." >&5
28047 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28048 Usually this means the macro was only invoked conditionally." >&2;}
28049 { (exit 1); exit 1; }; }
28051 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
28052 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
28053 Usually this means the macro was only invoked conditionally." >&5
28054 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
28055 Usually this means the macro was only invoked conditionally." >&2;}
28056 { (exit 1); exit 1; }; }
28058 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28059 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28060 Usually this means the macro was only invoked conditionally." >&5
28061 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28062 Usually this means the macro was only invoked conditionally." >&2;}
28063 { (exit 1); exit 1; }; }
28065 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
28066 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28067 Usually this means the macro was only invoked conditionally." >&5
28068 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
28069 Usually this means the macro was only invoked conditionally." >&2;}
28070 { (exit 1); exit 1; }; }
28072 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
28073 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28074 Usually this means the macro was only invoked conditionally." >&5
28075 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
28076 Usually this means the macro was only invoked conditionally." >&2;}
28077 { (exit 1); exit 1; }; }
28079 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
28080 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28081 Usually this means the macro was only invoked conditionally." >&5
28082 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
28083 Usually this means the macro was only invoked conditionally." >&2;}
28084 { (exit 1); exit 1; }; }
28086 if test -z "${HAVE_CVS2CL_TRUE}" && test -z "${HAVE_CVS2CL_FALSE}"; then
28087 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CVS2CL\" was never defined.
28088 Usually this means the macro was only invoked conditionally." >&5
28089 echo "$as_me: error: conditional \"HAVE_CVS2CL\" was never defined.
28090 Usually this means the macro was only invoked conditionally." >&2;}
28091 { (exit 1); exit 1; }; }
28093 if test -z "${HAVE_RCS2LOG_TRUE}" && test -z "${HAVE_RCS2LOG_FALSE}"; then
28094 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RCS2LOG\" was never defined.
28095 Usually this means the macro was only invoked conditionally." >&5
28096 echo "$as_me: error: conditional \"HAVE_RCS2LOG\" was never defined.
28097 Usually this means the macro was only invoked conditionally." >&2;}
28098 { (exit 1); exit 1; }; }
28100 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
28101 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28102 Usually this means the macro was only invoked conditionally." >&5
28103 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
28104 Usually this means the macro was only invoked conditionally." >&2;}
28105 { (exit 1); exit 1; }; }
28107 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
28108 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28109 Usually this means the macro was only invoked conditionally." >&5
28110 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
28111 Usually this means the macro was only invoked conditionally." >&2;}
28112 { (exit 1); exit 1; }; }
28114 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
28115 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28116 Usually this means the macro was only invoked conditionally." >&5
28117 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
28118 Usually this means the macro was only invoked conditionally." >&2;}
28119 { (exit 1); exit 1; }; }
28124 CC: $CC, $($CC --version | sed -e '1p;d')
28125 CXX: $CXX, $($CXX --version | sed -e '1p;d')
28126 CPPFLAGS: '$CPPFLAGS'
28128 CXXFLAGS: '$CXXFLAGS'
28129 build/host: $build/$host
28130 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
28131 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
28132 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
28133 Available APIs: $enable_apis
28134 ext2fs Source: $ensc_cv_test_ext2fs_header
28135 syscall(2) invocation: $with_syscall
28136 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
28140 sysconf-Directory: $sysconfdir
28141 cfg-Directory: $sysconfdir/vservers
28142 initrd-Directory: $initrddir
28143 pkgstate-Directory: $localstatedir/run/vservers
28144 Kernelheaders: $kernelincludedir
28145 vserver-Rootdir: $vserverdir
28147 echo "$FEATURES_TXT" >FEATURES.txt
28150 : ${CONFIG_STATUS=./config.status}
28151 ac_clean_files_save=$ac_clean_files
28152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28153 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28154 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28155 cat >$CONFIG_STATUS <<_ACEOF
28157 # Generated by $as_me.
28158 # Run this file to recreate the current configuration.
28159 # Compiler output produced by configure, useful for debugging
28160 # configure, is in config.log if it exists.
28163 ac_cs_recheck=false
28165 SHELL=\${CONFIG_SHELL-$SHELL}
28168 cat >>$CONFIG_STATUS <<\_ACEOF
28169 ## --------------------- ##
28170 ## M4sh Initialization. ##
28171 ## --------------------- ##
28173 # Be Bourne compatible
28174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28177 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28178 # is contrary to our usage. Disable this feature.
28179 alias -g '${1+"$@"}'='"$@"'
28180 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28183 DUALCASE=1; export DUALCASE # for MKS sh
28185 # Support unset when possible.
28186 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28193 # Work around bugs in pre-3.0 UWIN ksh.
28194 $as_unset ENV MAIL MAILPATH
28201 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28202 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28203 LC_TELEPHONE LC_TIME
28205 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28206 eval $as_var=C; export $as_var
28212 # Required to use basename.
28213 if expr a : '\(a\)' >/dev/null 2>&1; then
28219 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28220 as_basename=basename
28226 # Name of the executable.
28227 as_me=`$as_basename "$0" ||
28228 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28229 X"$0" : 'X\(//\)$' \| \
28230 X"$0" : 'X\(/\)$' \| \
28231 . : '\(.\)' 2>/dev/null ||
28233 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28234 /^X\/\(\/\/\)$/{ s//\1/; q; }
28235 /^X\/\(\/\).*/{ s//\1/; q; }
28239 # PATH needs CR, and LINENO needs CR and PATH.
28240 # Avoid depending upon Character Ranges.
28241 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28242 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28243 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28244 as_cr_digits='0123456789'
28245 as_cr_alnum=$as_cr_Letters$as_cr_digits
28247 # The user is always right.
28248 if test "${PATH_SEPARATOR+set}" != set; then
28249 echo "#! /bin/sh" >conf$$.sh
28250 echo "exit 0" >>conf$$.sh
28252 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28261 as_lineno_1=$LINENO
28262 as_lineno_2=$LINENO
28263 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28264 test "x$as_lineno_1" != "x$as_lineno_2" &&
28265 test "x$as_lineno_3" = "x$as_lineno_2" || {
28266 # Find who we are. Look in the path if we contain no path at all
28269 *[\\/]* ) as_myself=$0 ;;
28270 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28271 for as_dir in $PATH
28274 test -z "$as_dir" && as_dir=.
28275 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28280 # We did not find ourselves, most probably we were run as `sh COMMAND'
28281 # in which case we are not to be found in the path.
28282 if test "x$as_myself" = x; then
28285 if test ! -f "$as_myself"; then
28286 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28287 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28288 { (exit 1); exit 1; }; }
28290 case $CONFIG_SHELL in
28292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28293 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
28296 test -z "$as_dir" && as_dir=.
28297 for as_base in sh bash ksh sh5; do
28300 if ("$as_dir/$as_base" -c '
28301 as_lineno_1=$LINENO
28302 as_lineno_2=$LINENO
28303 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28304 test "x$as_lineno_1" != "x$as_lineno_2" &&
28305 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
28306 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
28307 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
28308 CONFIG_SHELL=$as_dir/$as_base
28309 export CONFIG_SHELL
28310 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28318 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28319 # uniformly replaced by the line number. The first 'sed' inserts a
28320 # line-number line before each line; the second 'sed' does the real
28321 # work. The second script uses 'N' to pair each line-number line
28322 # with the numbered line, and appends trailing '-' during
28323 # substitution so that $LINENO is not a special case at line end.
28324 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28325 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28326 sed '=' <$as_myself |
28331 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28334 s,^['$as_cr_digits']*\n,,
28335 ' >$as_me.lineno &&
28336 chmod +x $as_me.lineno ||
28337 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28338 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28339 { (exit 1); exit 1; }; }
28341 # Don't try to exec as it changes $[0], causing all sort of problems
28342 # (the dirname of $[0] is not the place where we might find the
28343 # original and so on. Autoconf is especially sensible to this).
28345 # Exit status is that of the last command.
28350 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28351 *c*,-n*) ECHO_N= ECHO_C='
28353 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
28354 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
28357 if expr a : '\(a\)' >/dev/null 2>&1; then
28363 rm -f conf$$ conf$$.exe conf$$.file
28365 if ln -s conf$$.file conf$$ 2>/dev/null; then
28366 # We could just check for DJGPP; but this test a) works b) is more generic
28367 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28368 if test -f conf$$.exe; then
28369 # Don't use ln at all; we don't have any links
28374 elif ln conf$$.file conf$$ 2>/dev/null; then
28379 rm -f conf$$ conf$$.exe conf$$.file
28381 if mkdir -p . 2>/dev/null; then
28384 test -d ./-p && rmdir ./-p
28388 as_executable_p="test -f"
28390 # Sed expression to map a string onto a valid CPP name.
28391 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28393 # Sed expression to map a string onto a valid variable name.
28394 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28398 # We need space, tab and new line, in precisely that order.
28408 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28409 # report actual input values of CONFIG_FILES etc. instead of their
28410 # values after options handling. Logging --version etc. is OK.
28414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28415 ## Running $as_me. ##
28420 This file was extended by util-vserver $as_me 0.30.208, which was
28421 generated by GNU Autoconf 2.59. Invocation command line was
28423 CONFIG_FILES = $CONFIG_FILES
28424 CONFIG_HEADERS = $CONFIG_HEADERS
28425 CONFIG_LINKS = $CONFIG_LINKS
28426 CONFIG_COMMANDS = $CONFIG_COMMANDS
28430 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28434 # Files that config.status was made for.
28435 if test -n "$ac_config_files"; then
28436 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28439 if test -n "$ac_config_headers"; then
28440 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28443 if test -n "$ac_config_links"; then
28444 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28447 if test -n "$ac_config_commands"; then
28448 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28451 cat >>$CONFIG_STATUS <<\_ACEOF
28454 \`$as_me' instantiates files from templates according to the
28455 current configuration.
28457 Usage: $0 [OPTIONS] [FILE]...
28459 -h, --help print this help, then exit
28460 -V, --version print version number, then exit
28461 -q, --quiet do not print progress messages
28462 -d, --debug don't remove temporary files
28463 --recheck update $as_me by reconfiguring in the same conditions
28464 --file=FILE[:TEMPLATE]
28465 instantiate the configuration file FILE
28466 --header=FILE[:TEMPLATE]
28467 instantiate the configuration header FILE
28469 Configuration files:
28472 Configuration headers:
28475 Configuration commands:
28478 Report bugs to <bug-autoconf@gnu.org>."
28481 cat >>$CONFIG_STATUS <<_ACEOF
28483 util-vserver config.status 0.30.208
28484 configured by $0, generated by GNU Autoconf 2.59,
28485 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28487 Copyright (C) 2003 Free Software Foundation, Inc.
28488 This config.status script is free software; the Free Software Foundation
28489 gives unlimited permission to copy, distribute and modify it."
28494 cat >>$CONFIG_STATUS <<\_ACEOF
28495 # If no file are specified by the user, then we need to provide default
28496 # value. By we need to know if files were specified by the user.
28502 ac_option=`expr "x$1" : 'x\([^=]*\)='`
28503 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
28511 *) # This is not an option, so the user has probably given explicit
28514 ac_need_defaults=false;;
28518 # Handling of the options.
28520 cat >>$CONFIG_STATUS <<\_ACEOF
28521 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28523 --version | --vers* | -V )
28524 echo "$ac_cs_version"; exit 0 ;;
28526 # Conflict between --help and --header
28527 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28528 Try \`$0 --help' for more information." >&5
28529 echo "$as_me: error: ambiguous option: $1
28530 Try \`$0 --help' for more information." >&2;}
28531 { (exit 1); exit 1; }; };;
28532 --help | --hel | -h )
28533 echo "$ac_cs_usage"; exit 0 ;;
28534 --debug | --d* | -d )
28536 --file | --fil | --fi | --f )
28538 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28539 ac_need_defaults=false;;
28540 --header | --heade | --head | --hea )
28542 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28543 ac_need_defaults=false;;
28544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28545 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28548 # This is an error.
28549 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28550 Try \`$0 --help' for more information." >&5
28551 echo "$as_me: error: unrecognized option: $1
28552 Try \`$0 --help' for more information." >&2;}
28553 { (exit 1); exit 1; }; } ;;
28555 *) ac_config_targets="$ac_config_targets $1" ;;
28561 ac_configure_extra_args=
28563 if $ac_cs_silent; then
28565 ac_configure_extra_args="$ac_configure_extra_args --silent"
28569 cat >>$CONFIG_STATUS <<_ACEOF
28570 if \$ac_cs_recheck; then
28571 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28572 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28577 cat >>$CONFIG_STATUS <<_ACEOF
28579 # INIT-COMMANDS section.
28582 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28588 cat >>$CONFIG_STATUS <<\_ACEOF
28589 for ac_config_target in $ac_config_targets
28591 case "$ac_config_target" in
28592 # Handling of arguments.
28593 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
28594 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28595 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
28596 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
28597 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28598 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28601 { (exit 1); exit 1; }; };;
28605 # If the user did not use the arguments to specify the items to instantiate,
28606 # then the envvar interface is used. Set only those that are not.
28607 # We use the long form for the default assignment because of an extremely
28608 # bizarre bug on SunOS 4.1.3.
28609 if $ac_need_defaults; then
28610 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28611 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28612 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28615 # Have a temporary directory for convenience. Make it in the build tree
28616 # simply because there is no reason to put it here, and in addition,
28617 # creating and moving files from /tmp can sometimes cause problems.
28618 # Create a temporary directory, and hook for its removal unless debugging.
28621 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
28622 trap '{ (exit 1); exit 1; }' 1 2 13 15
28625 # Create a (secure) tmp directory for tmp files.
28628 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28629 test -n "$tmp" && test -d "$tmp"
28632 tmp=./confstat$$-$RANDOM
28633 (umask 077 && mkdir $tmp)
28636 echo "$me: cannot create a temporary directory in ." >&2
28637 { (exit 1); exit 1; }
28642 cat >>$CONFIG_STATUS <<_ACEOF
28645 # CONFIG_FILES section.
28648 # No need to generate the scripts if there are no CONFIG_FILES.
28649 # This happens for instance when ./config.status config.h
28650 if test -n "\$CONFIG_FILES"; then
28651 # Protect against being on the right side of a sed subst in config.status.
28652 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28653 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28654 s,@SHELL@,$SHELL,;t t
28655 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28656 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28657 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28658 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28659 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
28660 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
28661 s,@exec_prefix@,$exec_prefix,;t t
28662 s,@prefix@,$prefix,;t t
28663 s,@program_transform_name@,$program_transform_name,;t t
28664 s,@bindir@,$bindir,;t t
28665 s,@sbindir@,$sbindir,;t t
28666 s,@libexecdir@,$libexecdir,;t t
28667 s,@datadir@,$datadir,;t t
28668 s,@sysconfdir@,$sysconfdir,;t t
28669 s,@sharedstatedir@,$sharedstatedir,;t t
28670 s,@localstatedir@,$localstatedir,;t t
28671 s,@libdir@,$libdir,;t t
28672 s,@includedir@,$includedir,;t t
28673 s,@oldincludedir@,$oldincludedir,;t t
28674 s,@infodir@,$infodir,;t t
28675 s,@mandir@,$mandir,;t t
28676 s,@build_alias@,$build_alias,;t t
28677 s,@host_alias@,$host_alias,;t t
28678 s,@target_alias@,$target_alias,;t t
28679 s,@DEFS@,$DEFS,;t t
28680 s,@ECHO_C@,$ECHO_C,;t t
28681 s,@ECHO_N@,$ECHO_N,;t t
28682 s,@ECHO_T@,$ECHO_T,;t t
28683 s,@LIBS@,$LIBS,;t t
28684 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28685 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28686 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28687 s,@CYGPATH_W@,$CYGPATH_W,;t t
28688 s,@PACKAGE@,$PACKAGE,;t t
28689 s,@VERSION@,$VERSION,;t t
28690 s,@ACLOCAL@,$ACLOCAL,;t t
28691 s,@AUTOCONF@,$AUTOCONF,;t t
28692 s,@AUTOMAKE@,$AUTOMAKE,;t t
28693 s,@AUTOHEADER@,$AUTOHEADER,;t t
28694 s,@MAKEINFO@,$MAKEINFO,;t t
28695 s,@install_sh@,$install_sh,;t t
28696 s,@STRIP@,$STRIP,;t t
28697 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28698 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28699 s,@mkdir_p@,$mkdir_p,;t t
28701 s,@SET_MAKE@,$SET_MAKE,;t t
28702 s,@am__leading_dot@,$am__leading_dot,;t t
28703 s,@AMTAR@,$AMTAR,;t t
28704 s,@am__tar@,$am__tar,;t t
28705 s,@am__untar@,$am__untar,;t t
28706 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28707 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28708 s,@MAINT@,$MAINT,;t t
28709 s,@build@,$build,;t t
28710 s,@build_cpu@,$build_cpu,;t t
28711 s,@build_vendor@,$build_vendor,;t t
28712 s,@build_os@,$build_os,;t t
28713 s,@host@,$host,;t t
28714 s,@host_cpu@,$host_cpu,;t t
28715 s,@host_vendor@,$host_vendor,;t t
28716 s,@host_os@,$host_os,;t t
28717 s,@GPG_KEY@,$GPG_KEY,;t t
28719 s,@CXXFLAGS@,$CXXFLAGS,;t t
28720 s,@LDFLAGS@,$LDFLAGS,;t t
28721 s,@CPPFLAGS@,$CPPFLAGS,;t t
28722 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28723 s,@EXEEXT@,$EXEEXT,;t t
28724 s,@OBJEXT@,$OBJEXT,;t t
28725 s,@DEPDIR@,$DEPDIR,;t t
28726 s,@am__include@,$am__include,;t t
28727 s,@am__quote@,$am__quote,;t t
28728 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28729 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28730 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28731 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28732 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28733 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28735 s,@CFLAGS@,$CFLAGS,;t t
28736 s,@ac_ct_CC@,$ac_ct_CC,;t t
28737 s,@CCDEPMODE@,$CCDEPMODE,;t t
28738 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28739 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28740 s,@LN_S@,$LN_S,;t t
28741 s,@PYTHON@,$PYTHON,;t t
28742 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
28743 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
28744 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
28745 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
28746 s,@pythondir@,$pythondir,;t t
28747 s,@pkgpythondir@,$pkgpythondir,;t t
28748 s,@pyexecdir@,$pyexecdir,;t t
28749 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
28750 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28751 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28752 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28753 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28754 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28756 s,@CHOWN@,$CHOWN,;t t
28759 s,@DIRNAME@,$DIRNAME,;t t
28760 s,@EGREP@,$EGREP,;t t
28762 s,@GREP@,$GREP,;t t
28764 s,@MKDIR@,$MKDIR,;t t
28765 s,@MKFIFO@,$MKFIFO,;t t
28766 s,@MKTEMP@,$MKTEMP,;t t
28767 s,@MOUNT@,$MOUNT,;t t
28769 s,@NICE@,$NICE,;t t
28772 s,@RMDIR@,$RMDIR,;t t
28777 s,@TOUCH@,$TOUCH,;t t
28779 s,@UMOUNT@,$UMOUNT,;t t
28782 s,@IPTABLES@,$IPTABLES,;t t
28783 s,@MODPROBE@,$MODPROBE,;t t
28784 s,@NAMEIF@,$NAMEIF,;t t
28785 s,@NOHUP@,$NOHUP,;t t
28786 s,@RMMOD@,$RMMOD,;t t
28787 s,@VCONFIG@,$VCONFIG,;t t
28788 s,@WGET@,$WGET,;t t
28789 s,@DOXYGEN@,$DOXYGEN,;t t
28790 s,@XSLTP@,$XSLTP,;t t
28791 s,@XSLTPROC@,$XSLTPROC,;t t
28792 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28793 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28794 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28795 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28796 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28797 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28798 s,@initrddir@,$initrddir,;t t
28799 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28800 s,@DIET@,$DIET,;t t
28801 s,@DIETFLAGS@,$DIETFLAGS,;t t
28802 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28803 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28804 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28805 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28806 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28807 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28808 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28809 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28810 s,@ECHO@,$ECHO,;t t
28812 s,@ac_ct_AR@,$ac_ct_AR,;t t
28813 s,@RANLIB@,$RANLIB,;t t
28814 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28816 s,@CXXCPP@,$CXXCPP,;t t
28818 s,@FFLAGS@,$FFLAGS,;t t
28819 s,@ac_ct_F77@,$ac_ct_F77,;t t
28820 s,@LIBTOOL@,$LIBTOOL,;t t
28821 s,@kernelincludedir@,$kernelincludedir,;t t
28822 s,@vserverdir@,$vserverdir,;t t
28823 s,@CVS2CL_TAG@,$CVS2CL_TAG,;t t
28824 s,@CVS2CL@,$CVS2CL,;t t
28825 s,@HAVE_CVS2CL_TRUE@,$HAVE_CVS2CL_TRUE,;t t
28826 s,@HAVE_CVS2CL_FALSE@,$HAVE_CVS2CL_FALSE,;t t
28827 s,@RCS2LOG@,$RCS2LOG,;t t
28828 s,@HAVE_RCS2LOG_TRUE@,$HAVE_RCS2LOG_TRUE,;t t
28829 s,@HAVE_RCS2LOG_FALSE@,$HAVE_RCS2LOG_FALSE,;t t
28830 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28831 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28832 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28833 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28834 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28835 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28836 s,@LIBOBJS@,$LIBOBJS,;t t
28837 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28842 cat >>$CONFIG_STATUS <<\_ACEOF
28843 # Split the substitutions into bite-sized pieces for seds with
28844 # small command number limits, like on Digital OSF/1 and HP-UX.
28845 ac_max_sed_lines=48
28846 ac_sed_frag=1 # Number of current file.
28847 ac_beg=1 # First line for current file.
28848 ac_end=$ac_max_sed_lines # Line after last line for current file.
28851 while $ac_more_lines; do
28852 if test $ac_beg -gt 1; then
28853 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28855 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28857 if test ! -s $tmp/subs.frag; then
28858 ac_more_lines=false
28860 # The purpose of the label and of the branching condition is to
28861 # speed up the sed processing (if there are no `@' at all, there
28862 # is no need to browse any of the substitutions).
28863 # These are the two extra sed commands mentioned above.
28865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28866 if test -z "$ac_sed_cmds"; then
28867 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28869 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28871 ac_sed_frag=`expr $ac_sed_frag + 1`
28873 ac_end=`expr $ac_end + $ac_max_sed_lines`
28876 if test -z "$ac_sed_cmds"; then
28879 fi # test -n "$CONFIG_FILES"
28882 cat >>$CONFIG_STATUS <<\_ACEOF
28883 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28884 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28886 - | *:- | *:-:* ) # input from stdin
28888 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28889 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28890 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28891 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28892 * ) ac_file_in=$ac_file.in ;;
28895 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28896 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28898 X"$ac_file" : 'X\(//\)[^/]' \| \
28899 X"$ac_file" : 'X\(//\)$' \| \
28900 X"$ac_file" : 'X\(/\)' \| \
28901 . : '\(.\)' 2>/dev/null ||
28903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28905 /^X\(\/\/\)$/{ s//\1/; q; }
28906 /^X\(\/\).*/{ s//\1/; q; }
28908 { if $as_mkdir_p; then
28913 while test ! -d "$as_dir"; do
28914 as_dirs="$as_dir $as_dirs"
28915 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28917 X"$as_dir" : 'X\(//\)[^/]' \| \
28918 X"$as_dir" : 'X\(//\)$' \| \
28919 X"$as_dir" : 'X\(/\)' \| \
28920 . : '\(.\)' 2>/dev/null ||
28922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28924 /^X\(\/\/\)$/{ s//\1/; q; }
28925 /^X\(\/\).*/{ s//\1/; q; }
28928 test ! -n "$as_dirs" || mkdir $as_dirs
28929 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28930 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28931 { (exit 1); exit 1; }; }; }
28935 if test "$ac_dir" != .; then
28936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28937 # A "../" for each directory in $ac_dir_suffix.
28938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28940 ac_dir_suffix= ac_top_builddir=
28944 .) # No --srcdir option. We are building in place.
28946 if test -z "$ac_top_builddir"; then
28949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28951 [\\/]* | ?:[\\/]* ) # Absolute path.
28952 ac_srcdir=$srcdir$ac_dir_suffix;
28953 ac_top_srcdir=$srcdir ;;
28954 *) # Relative path.
28955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28959 # Do not use `cd foo && pwd` to compute absolute paths, because
28960 # the directories may not exist.
28962 .) ac_abs_builddir="$ac_dir";;
28965 .) ac_abs_builddir=`pwd`;;
28966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28970 case $ac_abs_builddir in
28971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28973 case ${ac_top_builddir}. in
28974 .) ac_abs_top_builddir=$ac_abs_builddir;;
28975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28979 case $ac_abs_builddir in
28980 .) ac_abs_srcdir=$ac_srcdir;;
28983 .) ac_abs_srcdir=$ac_abs_builddir;;
28984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28988 case $ac_abs_builddir in
28989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28991 case $ac_top_srcdir in
28992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29000 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29001 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
29004 if test x"$ac_file" != x-; then
29005 { echo "$as_me:$LINENO: creating $ac_file" >&5
29006 echo "$as_me: creating $ac_file" >&6;}
29009 # Let's still pretend it is `configure' which instantiates (i.e., don't
29010 # use $as_me), people would be surprised to read:
29011 # /* config.h. Generated by config.status. */
29012 if test x"$ac_file" = x-; then
29015 configure_input="$ac_file. "
29017 configure_input=$configure_input"Generated from `echo $ac_file_in |
29018 sed 's,.*/,,'` by configure."
29020 # First look for the input files in the build tree, otherwise in the
29022 ac_file_inputs=`IFS=:
29023 for f in $ac_file_in; do
29025 -) echo $tmp/stdin ;;
29027 # Absolute (can't be DOS-style, as IFS=:)
29028 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29029 echo "$as_me: error: cannot find input file: $f" >&2;}
29030 { (exit 1); exit 1; }; }
29033 if test -f "$f"; then
29036 elif test -f "$srcdir/$f"; then
29041 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29042 echo "$as_me: error: cannot find input file: $f" >&2;}
29043 { (exit 1); exit 1; }; }
29046 done` || { (exit 1); exit 1; }
29048 cat >>$CONFIG_STATUS <<_ACEOF
29052 cat >>$CONFIG_STATUS <<\_ACEOF
29054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29055 s,@configure_input@,$configure_input,;t t
29056 s,@srcdir@,$ac_srcdir,;t t
29057 s,@abs_srcdir@,$ac_abs_srcdir,;t t
29058 s,@top_srcdir@,$ac_top_srcdir,;t t
29059 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
29060 s,@builddir@,$ac_builddir,;t t
29061 s,@abs_builddir@,$ac_abs_builddir,;t t
29062 s,@top_builddir@,$ac_top_builddir,;t t
29063 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
29064 s,@INSTALL@,$ac_INSTALL,;t t
29065 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29067 if test x"$ac_file" != x-; then
29068 mv $tmp/out $ac_file
29076 cat >>$CONFIG_STATUS <<\_ACEOF
29079 # CONFIG_HEADER section.
29082 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
29083 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29085 # ac_d sets the value in "#define NAME VALUE" lines.
29086 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29087 ac_dB='[ ].*$,\1#\2'
29090 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29091 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29092 ac_uB='$,\1#\2define\3'
29096 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
29097 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29099 - | *:- | *:-:* ) # input from stdin
29101 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29102 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29103 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29104 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29105 * ) ac_file_in=$ac_file.in ;;
29108 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
29109 echo "$as_me: creating $ac_file" >&6;}
29111 # First look for the input files in the build tree, otherwise in the
29113 ac_file_inputs=`IFS=:
29114 for f in $ac_file_in; do
29116 -) echo $tmp/stdin ;;
29118 # Absolute (can't be DOS-style, as IFS=:)
29119 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29120 echo "$as_me: error: cannot find input file: $f" >&2;}
29121 { (exit 1); exit 1; }; }
29122 # Do quote $f, to prevent DOS paths from being IFS'd.
29125 if test -f "$f"; then
29128 elif test -f "$srcdir/$f"; then
29133 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29134 echo "$as_me: error: cannot find input file: $f" >&2;}
29135 { (exit 1); exit 1; }; }
29138 done` || { (exit 1); exit 1; }
29139 # Remove the trailing spaces.
29140 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29144 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29145 # `conftest.undefs', that substitutes the proper values into
29146 # config.h.in to produce config.h. The first handles `#define'
29147 # templates, and the second `#undef' templates.
29148 # And first: Protect against being on the right side of a sed subst in
29149 # config.status. Protect against being in an unquoted here document
29150 # in config.status.
29151 rm -f conftest.defines conftest.undefs
29152 # Using a here document instead of a string reduces the quoting nightmare.
29153 # Putting comments in sed scripts is not portable.
29155 # `end' is used to avoid that the second main sed command (meant for
29156 # 0-ary CPP macros) applies to n-ary macro definitions.
29157 # See the Autoconf documentation for `clear'.
29158 cat >confdef2sed.sed <<\_ACEOF
29163 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29165 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29168 # If some macros were called several times there might be several times
29169 # the same #defines, which is useless. Nevertheless, we may not want to
29170 # sort them, since we want the *last* AC-DEFINE to be honored.
29171 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29172 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29173 rm -f confdef2sed.sed
29175 # This sed command replaces #undef with comments. This is necessary, for
29176 # example, in the case of _POSIX_SOURCE, which is predefined and required
29177 # on some systems where configure will not decide to define it.
29178 cat >>conftest.undefs <<\_ACEOF
29179 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29182 # Break up conftest.defines because some shells have a limit on the size
29183 # of here documents, and old seds have small limits too (100 cmds).
29184 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29185 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29186 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29187 echo ' :' >>$CONFIG_STATUS
29188 rm -f conftest.tail
29189 while grep . conftest.defines >/dev/null
29191 # Write a limited-size here document to $tmp/defines.sed.
29192 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29193 # Speed up: don't consider the non `#define' lines.
29194 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29195 # Work around the forget-to-reset-the-flag bug.
29196 echo 't clr' >>$CONFIG_STATUS
29197 echo ': clr' >>$CONFIG_STATUS
29198 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
29200 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29202 mv $tmp/out $tmp/in
29204 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
29205 rm -f conftest.defines
29206 mv conftest.tail conftest.defines
29208 rm -f conftest.defines
29209 echo ' fi # grep' >>$CONFIG_STATUS
29210 echo >>$CONFIG_STATUS
29212 # Break up conftest.undefs because some shells have a limit on the size
29213 # of here documents, and old seds have small limits too (100 cmds).
29214 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29215 rm -f conftest.tail
29216 while grep . conftest.undefs >/dev/null
29218 # Write a limited-size here document to $tmp/undefs.sed.
29219 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29220 # Speed up: don't consider the non `#undef'
29221 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29222 # Work around the forget-to-reset-the-flag bug.
29223 echo 't clr' >>$CONFIG_STATUS
29224 echo ': clr' >>$CONFIG_STATUS
29225 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29227 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29229 mv $tmp/out $tmp/in
29231 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29232 rm -f conftest.undefs
29233 mv conftest.tail conftest.undefs
29235 rm -f conftest.undefs
29237 cat >>$CONFIG_STATUS <<\_ACEOF
29238 # Let's still pretend it is `configure' which instantiates (i.e., don't
29239 # use $as_me), people would be surprised to read:
29240 # /* config.h. Generated by config.status. */
29241 if test x"$ac_file" = x-; then
29242 echo "/* Generated by configure. */" >$tmp/config.h
29244 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29246 cat $tmp/in >>$tmp/config.h
29248 if test x"$ac_file" != x-; then
29249 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
29250 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29251 echo "$as_me: $ac_file is unchanged" >&6;}
29253 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29255 X"$ac_file" : 'X\(//\)[^/]' \| \
29256 X"$ac_file" : 'X\(//\)$' \| \
29257 X"$ac_file" : 'X\(/\)' \| \
29258 . : '\(.\)' 2>/dev/null ||
29260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29262 /^X\(\/\/\)$/{ s//\1/; q; }
29263 /^X\(\/\).*/{ s//\1/; q; }
29265 { if $as_mkdir_p; then
29270 while test ! -d "$as_dir"; do
29271 as_dirs="$as_dir $as_dirs"
29272 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29274 X"$as_dir" : 'X\(//\)[^/]' \| \
29275 X"$as_dir" : 'X\(//\)$' \| \
29276 X"$as_dir" : 'X\(/\)' \| \
29277 . : '\(.\)' 2>/dev/null ||
29279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29281 /^X\(\/\/\)$/{ s//\1/; q; }
29282 /^X\(\/\).*/{ s//\1/; q; }
29285 test ! -n "$as_dirs" || mkdir $as_dirs
29286 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29287 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29288 { (exit 1); exit 1; }; }; }
29291 mv $tmp/config.h $ac_file
29295 rm -f $tmp/config.h
29297 # Compute $ac_file's index in $config_headers.
29299 for _am_header in $config_headers :; do
29300 case $_am_header in
29301 $ac_file | $ac_file:* )
29304 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29307 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29308 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29309 X$ac_file : 'X\(//\)[^/]' \| \
29310 X$ac_file : 'X\(//\)$' \| \
29311 X$ac_file : 'X\(/\)' \| \
29312 . : '\(.\)' 2>/dev/null ||
29314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29315 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29316 /^X\(\/\/\)$/{ s//\1/; q; }
29317 /^X\(\/\).*/{ s//\1/; q; }
29318 s/.*/./; q'`/stamp-h$_am_stamp_count
29321 cat >>$CONFIG_STATUS <<\_ACEOF
29324 # CONFIG_COMMANDS section.
29326 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
29327 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
29328 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
29329 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
29330 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29331 X"$ac_dest" : 'X\(//\)[^/]' \| \
29332 X"$ac_dest" : 'X\(//\)$' \| \
29333 X"$ac_dest" : 'X\(/\)' \| \
29334 . : '\(.\)' 2>/dev/null ||
29336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29338 /^X\(\/\/\)$/{ s//\1/; q; }
29339 /^X\(\/\).*/{ s//\1/; q; }
29341 { if $as_mkdir_p; then
29346 while test ! -d "$as_dir"; do
29347 as_dirs="$as_dir $as_dirs"
29348 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29350 X"$as_dir" : 'X\(//\)[^/]' \| \
29351 X"$as_dir" : 'X\(//\)$' \| \
29352 X"$as_dir" : 'X\(/\)' \| \
29353 . : '\(.\)' 2>/dev/null ||
29355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29357 /^X\(\/\/\)$/{ s//\1/; q; }
29358 /^X\(\/\).*/{ s//\1/; q; }
29361 test ! -n "$as_dirs" || mkdir $as_dirs
29362 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29364 { (exit 1); exit 1; }; }; }
29368 if test "$ac_dir" != .; then
29369 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29370 # A "../" for each directory in $ac_dir_suffix.
29371 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29373 ac_dir_suffix= ac_top_builddir=
29377 .) # No --srcdir option. We are building in place.
29379 if test -z "$ac_top_builddir"; then
29382 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29384 [\\/]* | ?:[\\/]* ) # Absolute path.
29385 ac_srcdir=$srcdir$ac_dir_suffix;
29386 ac_top_srcdir=$srcdir ;;
29387 *) # Relative path.
29388 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29389 ac_top_srcdir=$ac_top_builddir$srcdir ;;
29392 # Do not use `cd foo && pwd` to compute absolute paths, because
29393 # the directories may not exist.
29395 .) ac_abs_builddir="$ac_dir";;
29398 .) ac_abs_builddir=`pwd`;;
29399 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29400 *) ac_abs_builddir=`pwd`/"$ac_dir";;
29403 case $ac_abs_builddir in
29404 .) ac_abs_top_builddir=${ac_top_builddir}.;;
29406 case ${ac_top_builddir}. in
29407 .) ac_abs_top_builddir=$ac_abs_builddir;;
29408 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29409 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29412 case $ac_abs_builddir in
29413 .) ac_abs_srcdir=$ac_srcdir;;
29416 .) ac_abs_srcdir=$ac_abs_builddir;;
29417 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29418 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29421 case $ac_abs_builddir in
29422 .) ac_abs_top_srcdir=$ac_top_srcdir;;
29424 case $ac_top_srcdir in
29425 .) ac_abs_top_srcdir=$ac_abs_builddir;;
29426 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29427 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29432 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
29433 echo "$as_me: executing $ac_dest commands" >&6;}
29435 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29436 # Strip MF so we end up with the name of the file.
29437 mf=`echo "$mf" | sed -e 's/:.*$//'`
29438 # Check whether this is an Automake generated Makefile or not.
29439 # We used to match only the files named `Makefile.in', but
29440 # some people rename them; so instead we look at the file content.
29441 # Grep'ing the first line is not enough: some people post-process
29442 # each Makefile.in and add a new line on top of each file to say so.
29443 # So let's grep whole file.
29444 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
29445 dirpart=`(dirname "$mf") 2>/dev/null ||
29446 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29447 X"$mf" : 'X\(//\)[^/]' \| \
29448 X"$mf" : 'X\(//\)$' \| \
29449 X"$mf" : 'X\(/\)' \| \
29450 . : '\(.\)' 2>/dev/null ||
29452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29454 /^X\(\/\/\)$/{ s//\1/; q; }
29455 /^X\(\/\).*/{ s//\1/; q; }
29460 # Extract the definition of DEPDIR, am__include, and am__quote
29461 # from the Makefile without running `make'.
29462 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29463 test -z "$DEPDIR" && continue
29464 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29465 test -z "am__include" && continue
29466 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29467 # When using ansi2knr, U may be empty or an underscore; expand it
29468 U=`sed -n 's/^U = //p' < "$mf"`
29469 # Find all dependency output files, they are included files with
29470 # $(DEPDIR) in their names. We invoke sed twice because it is the
29471 # simplest approach to changing $(DEPDIR) to its actual value in the
29473 for file in `sed -n "
29474 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29475 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29476 # Make sure the directory exists.
29477 test -f "$dirpart/$file" && continue
29478 fdir=`(dirname "$file") 2>/dev/null ||
29479 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29480 X"$file" : 'X\(//\)[^/]' \| \
29481 X"$file" : 'X\(//\)$' \| \
29482 X"$file" : 'X\(/\)' \| \
29483 . : '\(.\)' 2>/dev/null ||
29485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29486 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29487 /^X\(\/\/\)$/{ s//\1/; q; }
29488 /^X\(\/\).*/{ s//\1/; q; }
29490 { if $as_mkdir_p; then
29491 mkdir -p $dirpart/$fdir
29493 as_dir=$dirpart/$fdir
29495 while test ! -d "$as_dir"; do
29496 as_dirs="$as_dir $as_dirs"
29497 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29499 X"$as_dir" : 'X\(//\)[^/]' \| \
29500 X"$as_dir" : 'X\(//\)$' \| \
29501 X"$as_dir" : 'X\(/\)' \| \
29502 . : '\(.\)' 2>/dev/null ||
29504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29506 /^X\(\/\/\)$/{ s//\1/; q; }
29507 /^X\(\/\).*/{ s//\1/; q; }
29510 test ! -n "$as_dirs" || mkdir $as_dirs
29511 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
29512 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
29513 { (exit 1); exit 1; }; }; }
29515 # echo "creating $dirpart/$file"
29516 echo '# dummy' > "$dirpart/$file"
29524 cat >>$CONFIG_STATUS <<\_ACEOF
29526 { (exit 0); exit 0; }
29528 chmod +x $CONFIG_STATUS
29529 ac_clean_files=$ac_clean_files_save
29532 # configure is writing to config.log, and then calls config.status.
29533 # config.status does its own redirection, appending to config.log.
29534 # Unfortunately, on DOS this fails, as config.log is still kept open
29535 # by configure, so config.status won't be able to write to it; its
29536 # output is simply discarded. So we exec the FD to /dev/null,
29537 # effectively closing config.log, so it can be properly (re)opened and
29538 # appended to by config.status. When coming back to configure, we
29539 # need to make the FD available again.
29540 if test "$no_create" != yes; then
29542 ac_config_status_args=
29543 test "$silent" = yes &&
29544 ac_config_status_args="$ac_config_status_args --quiet"
29546 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29548 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29549 # would make configure fail if this is the last instruction.
29550 $ac_cs_success || { (exit 1); exit 1; }
29554 { echo "$as_me:$LINENO:
29563 $FEATURES_TXT" >&6;}