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 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 echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
3842 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6
3843 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
3844 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 ac_cpp='$CXXCPP $CPPFLAGS'
3849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3853 cat >conftest.$ac_ext <<_ACEOF
3858 rm -f conftest.$ac_objext
3859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3860 (eval $ac_compile) 2>conftest.er1
3862 grep -v '^ *+' conftest.er1 >conftest.err
3864 cat conftest.err >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } &&
3867 { ac_try='test -z "$ac_cxx_werror_flag"
3868 || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ensc_cv_cxx_cxxcompiler=yes
3882 echo "$as_me: failed program was:" >&5
3883 sed 's/^/| /' conftest.$ac_ext >&5
3885 ensc_cv_cxx_cxxcompiler=no
3887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3889 ac_cpp='$CPP $CPPFLAGS'
3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
3897 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6
3901 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
3902 ENSC_HAVE_CXX_COMPILER_TRUE=
3903 ENSC_HAVE_CXX_COMPILER_FALSE='#'
3905 ENSC_HAVE_CXX_COMPILER_TRUE='#'
3906 ENSC_HAVE_CXX_COMPILER_FALSE=
3910 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
3911 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
3912 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
3919 echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
3920 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6
3921 if test "${ensc_cv_c99_c99compiler+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3931 cat >conftest.$ac_ext <<_ACEOF
3933 int main(int argc, char *argv) {
3934 struct { int x; } a = { .x = argc };
3940 rm -f conftest.$ac_objext
3941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3942 (eval $ac_compile) 2>conftest.er1
3944 grep -v '^ *+' conftest.er1 >conftest.err
3946 cat conftest.err >&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try='test -z "$ac_c_werror_flag"
3950 || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try='test -s conftest.$ac_objext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 ensc_cv_c99_c99compiler=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 ensc_cv_c99_c99compiler=no
3969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3971 ac_cpp='$CPP $CPPFLAGS'
3972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3978 echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
3979 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6
3983 if test x"$ensc_cv_c99_c99compiler" = xyes; then
3984 ENSC_HAVE_C99_COMPILER_TRUE=
3985 ENSC_HAVE_C99_COMPILER_FALSE='#'
3987 ENSC_HAVE_C99_COMPILER_TRUE='#'
3988 ENSC_HAVE_C99_COMPILER_FALSE=
3992 if test x"$ensc_cv_c99_c99compiler" = xno; then
3993 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
3994 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
3999 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4024 # Extract the first word of "$ac_prog", so it can be a program name with args.
4025 set dummy $ac_prog; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_path_AWK+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $ensc_searchpath
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 if test -n "$AWK"; then
4056 echo "$as_me:$LINENO: result: $AWK" >&5
4057 echo "${ECHO_T}$AWK" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4063 test -n "$AWK" && break
4065 test -n "$AWK" || AWK="$ensc_dflt"
4068 if test -z "${AWK}" && $rq; then
4070 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4071 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4072 { (exit 1); exit 1; }; }
4074 { { echo "$as_me:$LINENO: error:
4075 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4077 echo "$as_me: error:
4078 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4080 { (exit 1); exit 1; }; }
4084 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4105 # Extract the first word of "$ac_prog", so it can be a program name with args.
4106 set dummy $ac_prog; ac_word=$2
4107 echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4109 if test "${ac_cv_path_CAT+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 for as_dir in $ensc_searchpath
4121 test -z "$as_dir" && as_dir=.
4122 for ac_exec_ext in '' $ac_executable_extensions; do
4123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4124 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 if test -n "$CAT"; then
4137 echo "$as_me:$LINENO: result: $CAT" >&5
4138 echo "${ECHO_T}$CAT" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4144 test -n "$CAT" && break
4146 test -n "$CAT" || CAT="$ensc_dflt"
4149 if test -z "${CAT}" && $rq; then
4151 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4152 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4153 { (exit 1); exit 1; }; }
4155 { { echo "$as_me:$LINENO: error:
4156 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4158 echo "$as_me: error:
4159 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4161 { (exit 1); exit 1; }; }
4165 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4184 for ac_prog in chown
4186 # Extract the first word of "$ac_prog", so it can be a program name with args.
4187 set dummy $ac_prog; ac_word=$2
4188 echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4190 if test "${ac_cv_path_CHOWN+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $ensc_searchpath
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 CHOWN=$ac_cv_path_CHOWN
4217 if test -n "$CHOWN"; then
4218 echo "$as_me:$LINENO: result: $CHOWN" >&5
4219 echo "${ECHO_T}$CHOWN" >&6
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4225 test -n "$CHOWN" && break
4227 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4230 if test -z "${CHOWN}" && $rq; then
4232 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4233 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4234 { (exit 1); exit 1; }; }
4236 { { echo "$as_me:$LINENO: error:
4237 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4239 echo "$as_me: error:
4240 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4242 { (exit 1); exit 1; }; }
4246 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy $ac_prog; ac_word=$2
4269 echo "$as_me:$LINENO: checking for $ac_word" >&5
4270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4271 if test "${ac_cv_path_CMP+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $ensc_searchpath
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CMP"; then
4299 echo "$as_me:$LINENO: result: $CMP" >&5
4300 echo "${ECHO_T}$CMP" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4306 test -n "$CMP" && break
4308 test -n "$CMP" || CMP="$ensc_dflt"
4311 if test -z "${CMP}" && $rq; then
4313 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4314 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4315 { (exit 1); exit 1; }; }
4317 { { echo "$as_me:$LINENO: error:
4318 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4320 echo "$as_me: error:
4321 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4323 { (exit 1); exit 1; }; }
4327 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4348 # Extract the first word of "$ac_prog", so it can be a program name with args.
4349 set dummy $ac_prog; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_path_CP+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $ensc_searchpath
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 if test -n "$CP"; then
4380 echo "$as_me:$LINENO: result: $CP" >&5
4381 echo "${ECHO_T}$CP" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4387 test -n "$CP" && break
4389 test -n "$CP" || CP="$ensc_dflt"
4392 if test -z "${CP}" && $rq; then
4394 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4395 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4396 { (exit 1); exit 1; }; }
4398 { { echo "$as_me:$LINENO: error:
4399 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4401 echo "$as_me: error:
4402 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4404 { (exit 1); exit 1; }; }
4408 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4427 for ac_prog in dirname
4429 # Extract the first word of "$ac_prog", so it can be a program name with args.
4430 set dummy $ac_prog; ac_word=$2
4431 echo "$as_me:$LINENO: checking for $ac_word" >&5
4432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4433 if test "${ac_cv_path_DIRNAME+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $ensc_searchpath
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 DIRNAME=$ac_cv_path_DIRNAME
4460 if test -n "$DIRNAME"; then
4461 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4462 echo "${ECHO_T}$DIRNAME" >&6
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4468 test -n "$DIRNAME" && break
4470 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4473 if test -z "${DIRNAME}" && $rq; then
4475 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4476 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4477 { (exit 1); exit 1; }; }
4479 { { echo "$as_me:$LINENO: error:
4480 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4482 echo "$as_me: error:
4483 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4485 { (exit 1); exit 1; }; }
4489 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4508 for ac_prog in egrep
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy $ac_prog; ac_word=$2
4512 echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4514 if test "${ac_cv_path_EGREP+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $ensc_searchpath
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 EGREP=$ac_cv_path_EGREP
4541 if test -n "$EGREP"; then
4542 echo "$as_me:$LINENO: result: $EGREP" >&5
4543 echo "${ECHO_T}$EGREP" >&6
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4549 test -n "$EGREP" && break
4551 test -n "$EGREP" || EGREP="$ensc_dflt"
4554 if test -z "${EGREP}" && $rq; then
4556 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4557 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4558 { (exit 1); exit 1; }; }
4560 { { echo "$as_me:$LINENO: error:
4561 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4563 echo "$as_me: error:
4564 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4566 { (exit 1); exit 1; }; }
4570 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4591 # Extract the first word of "$ac_prog", so it can be a program name with args.
4592 set dummy $ac_prog; ac_word=$2
4593 echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4595 if test "${ac_cv_path_ENV+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 for as_dir in $ensc_searchpath
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 if test -n "$ENV"; then
4623 echo "$as_me:$LINENO: result: $ENV" >&5
4624 echo "${ECHO_T}$ENV" >&6
4626 echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6
4630 test -n "$ENV" && break
4632 test -n "$ENV" || ENV="$ensc_dflt"
4635 if test -z "${ENV}" && $rq; then
4637 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
4638 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4639 { (exit 1); exit 1; }; }
4641 { { echo "$as_me:$LINENO: error:
4642 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4644 echo "$as_me: error:
4645 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4647 { (exit 1); exit 1; }; }
4651 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
4672 # Extract the first word of "$ac_prog", so it can be a program name with args.
4673 set dummy $ac_prog; ac_word=$2
4674 echo "$as_me:$LINENO: checking for $ac_word" >&5
4675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4676 if test "${ac_cv_path_GREP+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $ensc_searchpath
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 GREP=$ac_cv_path_GREP
4703 if test -n "$GREP"; then
4704 echo "$as_me:$LINENO: result: $GREP" >&5
4705 echo "${ECHO_T}$GREP" >&6
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4711 test -n "$GREP" && break
4713 test -n "$GREP" || GREP="$ensc_dflt"
4716 if test -z "${GREP}" && $rq; then
4718 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4719 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4720 { (exit 1); exit 1; }; }
4722 { { echo "$as_me:$LINENO: error:
4723 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4725 echo "$as_me: error:
4726 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4728 { (exit 1); exit 1; }; }
4732 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy $ac_prog; ac_word=$2
4755 echo "$as_me:$LINENO: checking for $ac_word" >&5
4756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4757 if test "${ac_cv_path_LN+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $ensc_searchpath
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 if test -n "$LN"; then
4785 echo "$as_me:$LINENO: result: $LN" >&5
4786 echo "${ECHO_T}$LN" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4792 test -n "$LN" && break
4794 test -n "$LN" || LN="$ensc_dflt"
4797 if test -z "${LN}" && $rq; then
4799 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
4800 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4801 { (exit 1); exit 1; }; }
4803 { { echo "$as_me:$LINENO: error:
4804 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4806 echo "$as_me: error:
4807 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4809 { (exit 1); exit 1; }; }
4813 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
4832 for ac_prog in mkdir
4834 # Extract the first word of "$ac_prog", so it can be a program name with args.
4835 set dummy $ac_prog; ac_word=$2
4836 echo "$as_me:$LINENO: checking for $ac_word" >&5
4837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4838 if test "${ac_cv_path_MKDIR+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $ensc_searchpath
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 MKDIR=$ac_cv_path_MKDIR
4865 if test -n "$MKDIR"; then
4866 echo "$as_me:$LINENO: result: $MKDIR" >&5
4867 echo "${ECHO_T}$MKDIR" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4873 test -n "$MKDIR" && break
4875 test -n "$MKDIR" || MKDIR="$ensc_dflt"
4878 if test -z "${MKDIR}" && $rq; then
4880 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
4881 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4882 { (exit 1); exit 1; }; }
4884 { { echo "$as_me:$LINENO: error:
4885 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
4887 echo "$as_me: error:
4888 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
4890 { (exit 1); exit 1; }; }
4894 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
4913 for ac_prog in mkfifo
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy $ac_prog; ac_word=$2
4917 echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4919 if test "${ac_cv_path_MKFIFO+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $ensc_searchpath
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
4935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 MKFIFO=$ac_cv_path_MKFIFO
4946 if test -n "$MKFIFO"; then
4947 echo "$as_me:$LINENO: result: $MKFIFO" >&5
4948 echo "${ECHO_T}$MKFIFO" >&6
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4954 test -n "$MKFIFO" && break
4956 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
4959 if test -z "${MKFIFO}" && $rq; then
4961 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
4962 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4963 { (exit 1); exit 1; }; }
4965 { { echo "$as_me:$LINENO: error:
4966 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
4968 echo "$as_me: error:
4969 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
4971 { (exit 1); exit 1; }; }
4975 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
4994 for ac_prog in mktemp
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5000 if test "${ac_cv_path_MKTEMP+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $ensc_searchpath
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 MKTEMP=$ac_cv_path_MKTEMP
5027 if test -n "$MKTEMP"; then
5028 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5029 echo "${ECHO_T}$MKTEMP" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5035 test -n "$MKTEMP" && break
5037 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5040 if test -z "${MKTEMP}" && $rq; then
5042 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5043 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5044 { (exit 1); exit 1; }; }
5046 { { echo "$as_me:$LINENO: error:
5047 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5049 echo "$as_me: error:
5050 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5052 { (exit 1); exit 1; }; }
5056 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5075 for ac_prog in mount
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy $ac_prog; ac_word=$2
5079 echo "$as_me:$LINENO: checking for $ac_word" >&5
5080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5081 if test "${ac_cv_path_MOUNT+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $ensc_searchpath
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 MOUNT=$ac_cv_path_MOUNT
5108 if test -n "$MOUNT"; then
5109 echo "$as_me:$LINENO: result: $MOUNT" >&5
5110 echo "${ECHO_T}$MOUNT" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5116 test -n "$MOUNT" && break
5118 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5121 if test -z "${MOUNT}" && $rq; then
5123 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5124 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5125 { (exit 1); exit 1; }; }
5127 { { echo "$as_me:$LINENO: error:
5128 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5130 echo "$as_me: error:
5131 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5133 { (exit 1); exit 1; }; }
5137 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5158 # Extract the first word of "$ac_prog", so it can be a program name with args.
5159 set dummy $ac_prog; ac_word=$2
5160 echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5162 if test "${ac_cv_path_MV+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $ensc_searchpath
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 if test -n "$MV"; then
5190 echo "$as_me:$LINENO: result: $MV" >&5
5191 echo "${ECHO_T}$MV" >&6
5193 echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6
5197 test -n "$MV" && break
5199 test -n "$MV" || MV="$ensc_dflt"
5202 if test -z "${MV}" && $rq; then
5204 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5205 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5206 { (exit 1); exit 1; }; }
5208 { { echo "$as_me:$LINENO: error:
5209 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5211 echo "$as_me: error:
5212 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5214 { (exit 1); exit 1; }; }
5218 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5243 if test "${ac_cv_path_NICE+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $ensc_searchpath
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 NICE=$ac_cv_path_NICE
5270 if test -n "$NICE"; then
5271 echo "$as_me:$LINENO: result: $NICE" >&5
5272 echo "${ECHO_T}$NICE" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5278 test -n "$NICE" && break
5280 test -n "$NICE" || NICE="$ensc_dflt"
5283 if test -z "${NICE}" && $rq; then
5285 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5286 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5287 { (exit 1); exit 1; }; }
5289 { { echo "$as_me:$LINENO: error:
5290 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5292 echo "$as_me: error:
5293 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5295 { (exit 1); exit 1; }; }
5299 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5320 # Extract the first word of "$ac_prog", so it can be a program name with args.
5321 set dummy $ac_prog; ac_word=$2
5322 echo "$as_me:$LINENO: checking for $ac_word" >&5
5323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5324 if test "${ac_cv_path_PS+set}" = set; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $ensc_searchpath
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 if test -n "$PS"; then
5352 echo "$as_me:$LINENO: result: $PS" >&5
5353 echo "${ECHO_T}$PS" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5359 test -n "$PS" && break
5361 test -n "$PS" || PS="$ensc_dflt"
5364 if test -z "${PS}" && $rq; then
5366 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5367 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5368 { (exit 1); exit 1; }; }
5370 { { echo "$as_me:$LINENO: error:
5371 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5373 echo "$as_me: error:
5374 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5376 { (exit 1); exit 1; }; }
5380 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402 set dummy $ac_prog; ac_word=$2
5403 echo "$as_me:$LINENO: checking for $ac_word" >&5
5404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5405 if test "${ac_cv_path_RM+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $ensc_searchpath
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 if test -n "$RM"; then
5433 echo "$as_me:$LINENO: result: $RM" >&5
5434 echo "${ECHO_T}$RM" >&6
5436 echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6
5440 test -n "$RM" && break
5442 test -n "$RM" || RM="$ensc_dflt"
5445 if test -z "${RM}" && $rq; then
5447 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5448 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5449 { (exit 1); exit 1; }; }
5451 { { echo "$as_me:$LINENO: error:
5452 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5454 echo "$as_me: error:
5455 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5457 { (exit 1); exit 1; }; }
5461 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5480 for ac_prog in rmdir
5482 # Extract the first word of "$ac_prog", so it can be a program name with args.
5483 set dummy $ac_prog; ac_word=$2
5484 echo "$as_me:$LINENO: checking for $ac_word" >&5
5485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5486 if test "${ac_cv_path_RMDIR+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $ensc_searchpath
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 RMDIR=$ac_cv_path_RMDIR
5513 if test -n "$RMDIR"; then
5514 echo "$as_me:$LINENO: result: $RMDIR" >&5
5515 echo "${ECHO_T}$RMDIR" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5521 test -n "$RMDIR" && break
5523 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5526 if test -z "${RMDIR}" && $rq; then
5528 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5529 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5530 { (exit 1); exit 1; }; }
5532 { { echo "$as_me:$LINENO: error:
5533 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5535 echo "$as_me: error:
5536 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5538 { (exit 1); exit 1; }; }
5542 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 echo "$as_me:$LINENO: checking for $ac_word" >&5
5566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5567 if test "${ac_cv_path_SED+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $ensc_searchpath
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 if test -n "$SED"; then
5595 echo "$as_me:$LINENO: result: $SED" >&5
5596 echo "${ECHO_T}$SED" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5602 test -n "$SED" && break
5604 test -n "$SED" || SED="$ensc_dflt"
5607 if test -z "${SED}" && $rq; then
5609 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5610 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5611 { (exit 1); exit 1; }; }
5613 { { echo "$as_me:$LINENO: error:
5614 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5616 echo "$as_me: error:
5617 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5619 { (exit 1); exit 1; }; }
5623 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy $ac_prog; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_path_SH+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $ensc_searchpath
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 if test -n "$SH"; then
5676 echo "$as_me:$LINENO: result: $SH" >&5
5677 echo "${ECHO_T}$SH" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5683 test -n "$SH" && break
5685 test -n "$SH" || SH="$ensc_dflt"
5688 if test -z "${SH}" && $rq; then
5690 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5691 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5692 { (exit 1); exit 1; }; }
5694 { { echo "$as_me:$LINENO: error:
5695 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5697 echo "$as_me: error:
5698 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5700 { (exit 1); exit 1; }; }
5704 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy $ac_prog; ac_word=$2
5727 echo "$as_me:$LINENO: checking for $ac_word" >&5
5728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5729 if test "${ac_cv_path_TAC+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $ensc_searchpath
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
5745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 if test -n "$TAC"; then
5757 echo "$as_me:$LINENO: result: $TAC" >&5
5758 echo "${ECHO_T}$TAC" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5764 test -n "$TAC" && break
5766 test -n "$TAC" || TAC="$ensc_dflt"
5769 if test -z "${TAC}" && $rq; then
5771 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
5772 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5773 { (exit 1); exit 1; }; }
5775 { { echo "$as_me:$LINENO: error:
5776 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5778 echo "$as_me: error:
5779 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5781 { (exit 1); exit 1; }; }
5785 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810 if test "${ac_cv_path_TAR+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $ensc_searchpath
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 if test -n "$TAR"; then
5838 echo "$as_me:$LINENO: result: $TAR" >&5
5839 echo "${ECHO_T}$TAR" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5845 test -n "$TAR" && break
5847 test -n "$TAR" || TAR="$ensc_dflt"
5850 if test -z "${TAR}" && $rq; then
5852 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
5853 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5854 { (exit 1); exit 1; }; }
5856 { { echo "$as_me:$LINENO: error:
5857 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
5859 echo "$as_me: error:
5860 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
5862 { (exit 1); exit 1; }; }
5866 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
5885 for ac_prog in touch
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5891 if test "${ac_cv_path_TOUCH+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $ensc_searchpath
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
5907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 TOUCH=$ac_cv_path_TOUCH
5918 if test -n "$TOUCH"; then
5919 echo "$as_me:$LINENO: result: $TOUCH" >&5
5920 echo "${ECHO_T}$TOUCH" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5926 test -n "$TOUCH" && break
5928 test -n "$TOUCH" || TOUCH="$ensc_dflt"
5931 if test -z "${TOUCH}" && $rq; then
5933 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
5934 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5935 { (exit 1); exit 1; }; }
5937 { { echo "$as_me:$LINENO: error:
5938 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
5940 echo "$as_me: error:
5941 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
5943 { (exit 1); exit 1; }; }
5947 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
5968 # Extract the first word of "$ac_prog", so it can be a program name with args.
5969 set dummy $ac_prog; ac_word=$2
5970 echo "$as_me:$LINENO: checking for $ac_word" >&5
5971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5972 if test "${ac_cv_path_TTY+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $ensc_searchpath
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 if test -n "$TTY"; then
6000 echo "$as_me:$LINENO: result: $TTY" >&5
6001 echo "${ECHO_T}$TTY" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6007 test -n "$TTY" && break
6009 test -n "$TTY" || TTY="$ensc_dflt"
6012 if test -z "${TTY}" && $rq; then
6014 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6015 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6016 { (exit 1); exit 1; }; }
6018 { { echo "$as_me:$LINENO: error:
6019 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6021 echo "$as_me: error:
6022 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6024 { (exit 1); exit 1; }; }
6028 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6047 for ac_prog in umount
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 echo "$as_me:$LINENO: checking for $ac_word" >&5
6052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6053 if test "${ac_cv_path_UMOUNT+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $ensc_searchpath
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 UMOUNT=$ac_cv_path_UMOUNT
6080 if test -n "$UMOUNT"; then
6081 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6082 echo "${ECHO_T}$UMOUNT" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6088 test -n "$UMOUNT" && break
6090 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6093 if test -z "${UMOUNT}" && $rq; then
6095 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6096 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6097 { (exit 1); exit 1; }; }
6099 { { echo "$as_me:$LINENO: error:
6100 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6102 echo "$as_me: error:
6103 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6105 { (exit 1); exit 1; }; }
6109 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6130 # Extract the first word of "$ac_prog", so it can be a program name with args.
6131 set dummy $ac_prog; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_path_WC+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 for as_dir in $ensc_searchpath
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6149 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 if test -n "$WC"; then
6162 echo "$as_me:$LINENO: result: $WC" >&5
6163 echo "${ECHO_T}$WC" >&6
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6169 test -n "$WC" && break
6171 test -n "$WC" || WC="$ensc_dflt"
6174 if test -z "${WC}" && $rq; then
6176 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6177 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6178 { (exit 1); exit 1; }; }
6180 { { echo "$as_me:$LINENO: error:
6181 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6183 echo "$as_me: error:
6184 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6186 { (exit 1); exit 1; }; }
6190 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6213 # Extract the first word of "$ac_prog", so it can be a program name with args.
6214 set dummy $ac_prog; ac_word=$2
6215 echo "$as_me:$LINENO: checking for $ac_word" >&5
6216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6217 if test "${ac_cv_path_IP+set}" = set; then
6218 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 for as_dir in $ensc_searchpath
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 if test -n "$IP"; then
6245 echo "$as_me:$LINENO: result: $IP" >&5
6246 echo "${ECHO_T}$IP" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6252 test -n "$IP" && break
6254 test -n "$IP" || IP="$ensc_dflt"
6257 if test -z "${IP}" && $rq; then
6258 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6259 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6260 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6261 { (exit 1); exit 1; }; }
6263 { { echo "$as_me:$LINENO: error:
6264 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6265 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6266 echo "$as_me: error:
6267 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6268 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6269 { (exit 1); exit 1; }; }
6273 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6292 for ac_prog in iptables
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6298 if test "${ac_cv_path_IPTABLES+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6303 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 for as_dir in $ensc_searchpath
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 IPTABLES=$ac_cv_path_IPTABLES
6325 if test -n "$IPTABLES"; then
6326 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6327 echo "${ECHO_T}$IPTABLES" >&6
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6333 test -n "$IPTABLES" && break
6335 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6338 if test -z "${IPTABLES}" && $rq; then
6340 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6341 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6342 { (exit 1); exit 1; }; }
6344 { { echo "$as_me:$LINENO: error:
6345 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6347 echo "$as_me: error:
6348 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6350 { (exit 1); exit 1; }; }
6354 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6373 for ac_prog in modprobe
6375 # Extract the first word of "$ac_prog", so it can be a program name with args.
6376 set dummy $ac_prog; ac_word=$2
6377 echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6379 if test "${ac_cv_path_MODPROBE+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6384 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in $ensc_searchpath
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6394 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 MODPROBE=$ac_cv_path_MODPROBE
6406 if test -n "$MODPROBE"; then
6407 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6408 echo "${ECHO_T}$MODPROBE" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6414 test -n "$MODPROBE" && break
6416 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6419 if test -z "${MODPROBE}" && $rq; then
6421 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6422 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6423 { (exit 1); exit 1; }; }
6425 { { echo "$as_me:$LINENO: error:
6426 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6428 echo "$as_me: error:
6429 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6431 { (exit 1); exit 1; }; }
6435 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6454 for ac_prog in nameif
6456 # Extract the first word of "$ac_prog", so it can be a program name with args.
6457 set dummy $ac_prog; ac_word=$2
6458 echo "$as_me:$LINENO: checking for $ac_word" >&5
6459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6460 if test "${ac_cv_path_NAMEIF+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $ensc_searchpath
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 NAMEIF=$ac_cv_path_NAMEIF
6487 if test -n "$NAMEIF"; then
6488 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6489 echo "${ECHO_T}$NAMEIF" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6495 test -n "$NAMEIF" && break
6497 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6500 if test -z "${NAMEIF}" && $rq; then
6502 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6503 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6504 { (exit 1); exit 1; }; }
6506 { { echo "$as_me:$LINENO: error:
6507 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6509 echo "$as_me: error:
6510 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6512 { (exit 1); exit 1; }; }
6516 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6535 for ac_prog in nohup
6537 # Extract the first word of "$ac_prog", so it can be a program name with args.
6538 set dummy $ac_prog; ac_word=$2
6539 echo "$as_me:$LINENO: checking for $ac_word" >&5
6540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6541 if test "${ac_cv_path_NOHUP+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $ensc_searchpath
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 NOHUP=$ac_cv_path_NOHUP
6568 if test -n "$NOHUP"; then
6569 echo "$as_me:$LINENO: result: $NOHUP" >&5
6570 echo "${ECHO_T}$NOHUP" >&6
6572 echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6
6576 test -n "$NOHUP" && break
6578 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6581 if test -z "${NOHUP}" && $rq; then
6583 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6584 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6585 { (exit 1); exit 1; }; }
6587 { { echo "$as_me:$LINENO: error:
6588 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6590 echo "$as_me: error:
6591 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6593 { (exit 1); exit 1; }; }
6597 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6616 for ac_prog in rmmod
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6622 if test "${ac_cv_path_RMMOD+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $ensc_searchpath
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 RMMOD=$ac_cv_path_RMMOD
6649 if test -n "$RMMOD"; then
6650 echo "$as_me:$LINENO: result: $RMMOD" >&5
6651 echo "${ECHO_T}$RMMOD" >&6
6653 echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6
6657 test -n "$RMMOD" && break
6659 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6662 if test -z "${RMMOD}" && $rq; then
6664 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6665 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6666 { (exit 1); exit 1; }; }
6668 { { echo "$as_me:$LINENO: error:
6669 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6671 echo "$as_me: error:
6672 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6674 { (exit 1); exit 1; }; }
6678 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
6697 for ac_prog in vconfig
6699 # Extract the first word of "$ac_prog", so it can be a program name with args.
6700 set dummy $ac_prog; ac_word=$2
6701 echo "$as_me:$LINENO: checking for $ac_word" >&5
6702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6703 if test "${ac_cv_path_VCONFIG+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $ensc_searchpath
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
6719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 VCONFIG=$ac_cv_path_VCONFIG
6730 if test -n "$VCONFIG"; then
6731 echo "$as_me:$LINENO: result: $VCONFIG" >&5
6732 echo "${ECHO_T}$VCONFIG" >&6
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6738 test -n "$VCONFIG" && break
6740 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
6743 if test -z "${VCONFIG}" && $rq; then
6744 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
6745 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
6746 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6747 { (exit 1); exit 1; }; }
6749 { { echo "$as_me:$LINENO: error:
6750 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6751 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
6752 echo "$as_me: error:
6753 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6754 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
6755 { (exit 1); exit 1; }; }
6759 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
6780 # Extract the first word of "$ac_prog", so it can be a program name with args.
6781 set dummy $ac_prog; ac_word=$2
6782 echo "$as_me:$LINENO: checking for $ac_word" >&5
6783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6784 if test "${ac_cv_path_WGET+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 for as_dir in $ensc_searchpath
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
6800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 WGET=$ac_cv_path_WGET
6811 if test -n "$WGET"; then
6812 echo "$as_me:$LINENO: result: $WGET" >&5
6813 echo "${ECHO_T}$WGET" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6819 test -n "$WGET" && break
6821 test -n "$WGET" || WGET="$ensc_dflt"
6824 if test -z "${WGET}" && $rq; then
6826 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
6827 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6828 { (exit 1); exit 1; }; }
6830 { { echo "$as_me:$LINENO: error:
6831 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6833 echo "$as_me: error:
6834 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6836 { (exit 1); exit 1; }; }
6840 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
6848 if test -z ":"; then
6860 for ac_prog in doxygen
6862 # Extract the first word of "$ac_prog", so it can be a program name with args.
6863 set dummy $ac_prog; ac_word=$2
6864 echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6866 if test "${ac_cv_path_DOXYGEN+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $ensc_searchpath
6878 test -z "$as_dir" && as_dir=.
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
6882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 DOXYGEN=$ac_cv_path_DOXYGEN
6893 if test -n "$DOXYGEN"; then
6894 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
6895 echo "${ECHO_T}$DOXYGEN" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6901 test -n "$DOXYGEN" && break
6903 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
6906 if test -z "${DOXYGEN}" && $rq; then
6908 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
6909 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6910 { (exit 1); exit 1; }; }
6912 { { echo "$as_me:$LINENO: error:
6913 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
6915 echo "$as_me: error:
6916 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
6918 { (exit 1); exit 1; }; }
6922 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
6929 if test -z ":"; then
6941 for ac_prog in xsltp
6943 # Extract the first word of "$ac_prog", so it can be a program name with args.
6944 set dummy $ac_prog; ac_word=$2
6945 echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6947 if test "${ac_cv_path_XSLTP+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $ensc_searchpath
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
6963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 XSLTP=$ac_cv_path_XSLTP
6974 if test -n "$XSLTP"; then
6975 echo "$as_me:$LINENO: result: $XSLTP" >&5
6976 echo "${ECHO_T}$XSLTP" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6982 test -n "$XSLTP" && break
6984 test -n "$XSLTP" || XSLTP="$ensc_dflt"
6987 if test -z "${XSLTP}" && $rq; then
6989 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
6990 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6991 { (exit 1); exit 1; }; }
6993 { { echo "$as_me:$LINENO: error:
6994 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
6996 echo "$as_me: error:
6997 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
6999 { (exit 1); exit 1; }; }
7003 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7010 if test -z ":"; then
7022 for ac_prog in xsltproc
7024 # Extract the first word of "$ac_prog", so it can be a program name with args.
7025 set dummy $ac_prog; ac_word=$2
7026 echo "$as_me:$LINENO: checking for $ac_word" >&5
7027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7028 if test "${ac_cv_path_XSLTPROC+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $ensc_searchpath
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 XSLTPROC=$ac_cv_path_XSLTPROC
7055 if test -n "$XSLTPROC"; then
7056 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7057 echo "${ECHO_T}$XSLTPROC" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7063 test -n "$XSLTPROC" && break
7065 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7068 if test -z "${XSLTPROC}" && $rq; then
7070 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7071 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7072 { (exit 1); exit 1; }; }
7074 { { echo "$as_me:$LINENO: error:
7075 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7077 echo "$as_me: error:
7078 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7080 { (exit 1); exit 1; }; }
7084 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7091 if test "$XSLTP" != ':'; then
7093 HAVE_XSLTP_FALSE='#'
7101 if test "$XSLTPROC" != ':'; then
7103 HAVE_XSLTPROC_FALSE='#'
7105 HAVE_XSLTPROC_TRUE='#'
7106 HAVE_XSLTPROC_FALSE=
7113 warn_flags="-Werror -W"
7114 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7115 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7123 CFLAGS="$warn_flags"
7124 cat >conftest.$ac_ext <<_ACEOF
7127 cat confdefs.h >>conftest.$ac_ext
7128 cat >>conftest.$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7130 inline static void f(){}
7139 rm -f conftest.$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1 >conftest.err
7145 cat conftest.err >&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try='test -s conftest.$ac_objext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 ensc_sys_compilerwarnflags_C=${warn_flags}
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.$ac_ext >&5
7166 ensc_sys_compilerwarnflags_C=
7168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7170 ac_cpp='$CPP $CPPFLAGS'
7171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7177 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7189 echo 'void f(){}' > conftest.c
7190 for i in -std=c99 -Wall -pedantic -W
7192 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7193 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7194 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7196 CFLAGS="${CFLAGS} $i"
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7204 rm -f conftest.c conftest.o
7208 warn_flags="-Werror -W"
7209 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
7210 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
7212 ac_cpp='$CXXCPP $CPPFLAGS'
7213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7217 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
7218 CXXFLAGS="$warn_flags"
7219 cat >conftest.$ac_ext <<_ACEOF
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7225 inline static void f(){}
7234 rm -f conftest.$ac_objext
7235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7236 (eval $ac_compile) 2>conftest.er1
7238 grep -v '^ *+' conftest.er1 >conftest.err
7240 cat conftest.err >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); } &&
7243 { ac_try='test -z "$ac_cxx_werror_flag"
7244 || test ! -s conftest.err'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; } &&
7250 { ac_try='test -s conftest.$ac_objext'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; }; then
7256 ensc_sys_compilerwarnflags_CXX=${warn_flags}
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 ensc_sys_compilerwarnflags_CXX=
7263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7272 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7276 echo "$as_me:$LINENO: result: yes" >&5
7277 echo "${ECHO_T}yes" >&6
7284 echo 'void f(){}' > conftest.cc
7285 for i in -ansi -Wall -pedantic -W -fmessage-length=0
7287 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7288 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7289 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7291 CXXFLAGS="${CXXFLAGS} $i"
7292 echo "$as_me:$LINENO: result: yes" >&5
7293 echo "${ECHO_T}yes" >&6
7295 echo "$as_me:$LINENO: result: no" >&5
7296 echo "${ECHO_T}no" >&6
7299 rm -f conftest.cc conftest.o
7302 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
7303 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
7304 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
7305 if test "${enable_extra_optimizations+set}" = set; then
7306 enableval="$enable_extra_optimizations"
7307 case "$enableval" in
7308 (yes) use_extra_optimizations=1;;
7309 (no) use_extra_optimizations=;;
7310 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
7311 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
7312 { (exit 1); exit 1; }; };;
7315 use_extra_optimizations=1
7318 if test x"$use_extra_optimizations" = x; then
7319 echo "$as_me:$LINENO: result: no" >&5
7320 echo "${ECHO_T}no" >&6
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7327 echo 'void f(){}' > conftest.c
7328 for i in -funit-at-a-time
7330 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7331 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7332 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7334 CFLAGS="${CFLAGS} $i"
7335 echo "$as_me:$LINENO: result: yes" >&5
7336 echo "${ECHO_T}yes" >&6
7338 echo "$as_me:$LINENO: result: no" >&5
7339 echo "${ECHO_T}no" >&6
7342 rm -f conftest.c conftest.o
7347 echo 'void f(){}' > conftest.cc
7348 for i in -funit-at-a-time
7350 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7351 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7352 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7354 CXXFLAGS="${CXXFLAGS} $i"
7355 echo "$as_me:$LINENO: result: yes" >&5
7356 echo "${ECHO_T}yes" >&6
7358 echo "$as_me:$LINENO: result: no" >&5
7359 echo "${ECHO_T}no" >&6
7362 rm -f conftest.cc conftest.o
7366 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
7367 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
7368 # Check whether --enable-lib-debug or --disable-lib-debug was given.
7369 if test "${enable_lib_debug+set}" = set; then
7370 enableval="$enable_lib_debug"
7371 case "$enableval" in
7372 (yes) use_lib_debug=1;;
7373 (no) use_lib_debug=;;
7374 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
7375 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
7376 { (exit 1); exit 1; }; };;
7382 if test x"$use_lib_debug" = x; then
7383 LIB_DEBUG_CPPFLAGS=-DNDEBUG
7385 echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: result: yes" >&5
7390 echo "${ECHO_T}yes" >&6
7393 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
7394 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
7395 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
7396 if test "${enable_expensive_tests+set}" = set; then
7397 enableval="$enable_expensive_tests"
7398 case "$enableval" in
7399 (yes|no) use_expensive_tests=$enableval;;
7400 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&5
7401 echo "$as_me: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&2;}
7402 { (exit 1); exit 1; }; };;
7405 use_expensive_tests=yes
7407 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
7408 echo "${ECHO_T}$use_expensive_tests" >&6
7410 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
7415 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
7416 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
7417 echo "$as_me:$LINENO: result: " >&5
7418 echo "${ECHO_T}" >&6
7421 ac_cpp='$CPP $CPPFLAGS'
7422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7426 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
7427 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
7428 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 cat >conftest.$ac_ext <<_ACEOF
7434 cat confdefs.h >>conftest.$ac_ext
7435 cat >>conftest.$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7438 #include <linux/personality.h>
7444 #ifndef MMAP_PAGE_ZERO
7445 char *p = (char *) MMAP_PAGE_ZERO;
7452 rm -f conftest.$ac_objext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>conftest.er1
7456 grep -v '^ *+' conftest.er1 >conftest.err
7458 cat conftest.err >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } &&
7461 { ac_try='test -z "$ac_c_werror_flag"
7462 || test ! -s conftest.err'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; } &&
7468 { ac_try='test -s conftest.$ac_objext'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; }; then
7474 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.$ac_ext >&5
7479 ac_cv_have_decl_MMAP_PAGE_ZERO=no
7481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7483 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
7484 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
7485 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
7487 cat >>confdefs.h <<_ACEOF
7488 #define HAVE_DECL_MMAP_PAGE_ZERO 1
7493 cat >>confdefs.h <<_ACEOF
7494 #define HAVE_DECL_MMAP_PAGE_ZERO 0
7499 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
7500 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
7501 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 cat >conftest.$ac_ext <<_ACEOF
7507 cat confdefs.h >>conftest.$ac_ext
7508 cat >>conftest.$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7511 #include <linux/personality.h>
7517 #ifndef ADDR_LIMIT_32BIT
7518 char *p = (char *) ADDR_LIMIT_32BIT;
7525 rm -f conftest.$ac_objext
7526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7527 (eval $ac_compile) 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } &&
7534 { ac_try='test -z "$ac_c_werror_flag"
7535 || test ! -s conftest.err'
7536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }; } &&
7541 { ac_try='test -s conftest.$ac_objext'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; }; then
7547 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
7549 echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.$ac_ext >&5
7552 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
7554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7556 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
7557 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
7558 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
7560 cat >>confdefs.h <<_ACEOF
7561 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
7566 cat >>confdefs.h <<_ACEOF
7567 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
7572 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
7573 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
7574 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 cat >conftest.$ac_ext <<_ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7584 #include <linux/personality.h>
7591 char *p = (char *) SHORT_INODE;
7598 rm -f conftest.$ac_objext
7599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7600 (eval $ac_compile) 2>conftest.er1
7602 grep -v '^ *+' conftest.er1 >conftest.err
7604 cat conftest.err >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } &&
7607 { ac_try='test -z "$ac_c_werror_flag"
7608 || test ! -s conftest.err'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; } &&
7614 { ac_try='test -s conftest.$ac_objext'
7615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); }; }; then
7620 ac_cv_have_decl_SHORT_INODE=yes
7622 echo "$as_me: failed program was:" >&5
7623 sed 's/^/| /' conftest.$ac_ext >&5
7625 ac_cv_have_decl_SHORT_INODE=no
7627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7629 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
7630 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
7631 if test $ac_cv_have_decl_SHORT_INODE = yes; then
7633 cat >>confdefs.h <<_ACEOF
7634 #define HAVE_DECL_SHORT_INODE 1
7639 cat >>confdefs.h <<_ACEOF
7640 #define HAVE_DECL_SHORT_INODE 0
7645 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
7646 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
7647 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 cat >conftest.$ac_ext <<_ACEOF
7653 cat confdefs.h >>conftest.$ac_ext
7654 cat >>conftest.$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7657 #include <linux/personality.h>
7663 #ifndef WHOLE_SECONDS
7664 char *p = (char *) WHOLE_SECONDS;
7671 rm -f conftest.$ac_objext
7672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7673 (eval $ac_compile) 2>conftest.er1
7675 grep -v '^ *+' conftest.er1 >conftest.err
7677 cat conftest.err >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } &&
7680 { ac_try='test -z "$ac_c_werror_flag"
7681 || test ! -s conftest.err'
7682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); }; } &&
7687 { ac_try='test -s conftest.$ac_objext'
7688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; }; then
7693 ac_cv_have_decl_WHOLE_SECONDS=yes
7695 echo "$as_me: failed program was:" >&5
7696 sed 's/^/| /' conftest.$ac_ext >&5
7698 ac_cv_have_decl_WHOLE_SECONDS=no
7700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7702 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
7703 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
7704 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
7706 cat >>confdefs.h <<_ACEOF
7707 #define HAVE_DECL_WHOLE_SECONDS 1
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_DECL_WHOLE_SECONDS 0
7718 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
7719 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
7720 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 cat >conftest.$ac_ext <<_ACEOF
7726 cat confdefs.h >>conftest.$ac_ext
7727 cat >>conftest.$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7730 #include <linux/personality.h>
7736 #ifndef STICKY_TIMEOUTS
7737 char *p = (char *) STICKY_TIMEOUTS;
7744 rm -f conftest.$ac_objext
7745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7746 (eval $ac_compile) 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } &&
7753 { ac_try='test -z "$ac_c_werror_flag"
7754 || test ! -s conftest.err'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; } &&
7760 { ac_try='test -s conftest.$ac_objext'
7761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); }; }; then
7766 ac_cv_have_decl_STICKY_TIMEOUTS=yes
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.$ac_ext >&5
7771 ac_cv_have_decl_STICKY_TIMEOUTS=no
7773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7775 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
7776 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
7777 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_DECL_STICKY_TIMEOUTS 1
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_DECL_STICKY_TIMEOUTS 0
7791 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
7792 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
7793 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 cat >conftest.$ac_ext <<_ACEOF
7799 cat confdefs.h >>conftest.$ac_ext
7800 cat >>conftest.$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7803 #include <linux/personality.h>
7809 #ifndef ADDR_LIMIT_3GB
7810 char *p = (char *) ADDR_LIMIT_3GB;
7817 rm -f conftest.$ac_objext
7818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7819 (eval $ac_compile) 2>conftest.er1
7821 grep -v '^ *+' conftest.er1 >conftest.err
7823 cat conftest.err >&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } &&
7826 { ac_try='test -z "$ac_c_werror_flag"
7827 || test ! -s conftest.err'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } &&
7833 { ac_try='test -s conftest.$ac_objext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7839 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.$ac_ext >&5
7844 ac_cv_have_decl_ADDR_LIMIT_3GB=no
7846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7848 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
7849 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
7850 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_DECL_ADDR_LIMIT_3GB 1
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_DECL_ADDR_LIMIT_3GB 0
7867 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
7868 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
7869 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 cat >conftest.$ac_ext <<_ACEOF
7875 cat confdefs.h >>conftest.$ac_ext
7876 cat >>conftest.$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7879 #include <linux/personality.h>
7886 char *p = (char *) PER_LINUX;
7893 rm -f conftest.$ac_objext
7894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7895 (eval $ac_compile) 2>conftest.er1
7897 grep -v '^ *+' conftest.er1 >conftest.err
7899 cat conftest.err >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } &&
7902 { ac_try='test -z "$ac_c_werror_flag"
7903 || test ! -s conftest.err'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; } &&
7909 { ac_try='test -s conftest.$ac_objext'
7910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }; }; then
7915 ac_cv_have_decl_PER_LINUX=yes
7917 echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.$ac_ext >&5
7920 ac_cv_have_decl_PER_LINUX=no
7922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7924 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
7925 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
7926 if test $ac_cv_have_decl_PER_LINUX = yes; then
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_DECL_PER_LINUX 1
7934 cat >>confdefs.h <<_ACEOF
7935 #define HAVE_DECL_PER_LINUX 0
7940 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
7941 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
7942 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 cat >conftest.$ac_ext <<_ACEOF
7948 cat confdefs.h >>conftest.$ac_ext
7949 cat >>conftest.$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7952 #include <linux/personality.h>
7958 #ifndef PER_LINUX_32BIT
7959 char *p = (char *) PER_LINUX_32BIT;
7966 rm -f conftest.$ac_objext
7967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7968 (eval $ac_compile) 2>conftest.er1
7970 grep -v '^ *+' conftest.er1 >conftest.err
7972 cat conftest.err >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } &&
7975 { ac_try='test -z "$ac_c_werror_flag"
7976 || test ! -s conftest.err'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; } &&
7982 { ac_try='test -s conftest.$ac_objext'
7983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); }; }; then
7988 ac_cv_have_decl_PER_LINUX_32BIT=yes
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 ac_cv_have_decl_PER_LINUX_32BIT=no
7995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
7998 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
7999 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_DECL_PER_LINUX_32BIT 1
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_DECL_PER_LINUX_32BIT 0
8013 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8014 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8015 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8025 #include <linux/personality.h>
8032 char *p = (char *) PER_SVR4;
8039 rm -f conftest.$ac_objext
8040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8041 (eval $ac_compile) 2>conftest.er1
8043 grep -v '^ *+' conftest.er1 >conftest.err
8045 cat conftest.err >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); } &&
8048 { ac_try='test -z "$ac_c_werror_flag"
8049 || test ! -s conftest.err'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest.$ac_objext'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 ac_cv_have_decl_PER_SVR4=yes
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.$ac_ext >&5
8066 ac_cv_have_decl_PER_SVR4=no
8068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8070 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8071 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8072 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define HAVE_DECL_PER_SVR4 1
8080 cat >>confdefs.h <<_ACEOF
8081 #define HAVE_DECL_PER_SVR4 0
8086 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8087 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8088 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 cat >conftest.$ac_ext <<_ACEOF
8094 cat confdefs.h >>conftest.$ac_ext
8095 cat >>conftest.$ac_ext <<_ACEOF
8096 /* end confdefs.h. */
8098 #include <linux/personality.h>
8105 char *p = (char *) PER_SVR3;
8112 rm -f conftest.$ac_objext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8114 (eval $ac_compile) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1 >conftest.err
8118 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try='test -z "$ac_c_werror_flag"
8122 || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try='test -s conftest.$ac_objext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_cv_have_decl_PER_SVR3=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.$ac_ext >&5
8139 ac_cv_have_decl_PER_SVR3=no
8141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8143 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8144 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8145 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8147 cat >>confdefs.h <<_ACEOF
8148 #define HAVE_DECL_PER_SVR3 1
8153 cat >>confdefs.h <<_ACEOF
8154 #define HAVE_DECL_PER_SVR3 0
8159 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
8160 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
8161 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8171 #include <linux/personality.h>
8178 char *p = (char *) PER_SCOSVR3;
8185 rm -f conftest.$ac_objext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8187 (eval $ac_compile) 2>conftest.er1
8189 grep -v '^ *+' conftest.er1 >conftest.err
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag"
8195 || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; } &&
8201 { ac_try='test -s conftest.$ac_objext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 ac_cv_have_decl_PER_SCOSVR3=yes
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 ac_cv_have_decl_PER_SCOSVR3=no
8214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
8217 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
8218 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_DECL_PER_SCOSVR3 1
8226 cat >>confdefs.h <<_ACEOF
8227 #define HAVE_DECL_PER_SCOSVR3 0
8232 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
8233 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
8234 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 cat >conftest.$ac_ext <<_ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8244 #include <linux/personality.h>
8251 char *p = (char *) PER_OSR5;
8258 rm -f conftest.$ac_objext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8260 (eval $ac_compile) 2>conftest.er1
8262 grep -v '^ *+' conftest.er1 >conftest.err
8264 cat conftest.err >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try='test -s conftest.$ac_objext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_cv_have_decl_PER_OSR5=yes
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.$ac_ext >&5
8285 ac_cv_have_decl_PER_OSR5=no
8287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8289 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
8290 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
8291 if test $ac_cv_have_decl_PER_OSR5 = yes; then
8293 cat >>confdefs.h <<_ACEOF
8294 #define HAVE_DECL_PER_OSR5 1
8299 cat >>confdefs.h <<_ACEOF
8300 #define HAVE_DECL_PER_OSR5 0
8305 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
8306 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
8307 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.$ac_ext <<_ACEOF
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8317 #include <linux/personality.h>
8323 #ifndef PER_WYSEV386
8324 char *p = (char *) PER_WYSEV386;
8331 rm -f conftest.$ac_objext
8332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8333 (eval $ac_compile) 2>conftest.er1
8335 grep -v '^ *+' conftest.er1 >conftest.err
8337 cat conftest.err >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try='test -z "$ac_c_werror_flag"
8341 || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try='test -s conftest.$ac_objext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 ac_cv_have_decl_PER_WYSEV386=yes
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.$ac_ext >&5
8358 ac_cv_have_decl_PER_WYSEV386=no
8360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8362 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
8363 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
8364 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
8366 cat >>confdefs.h <<_ACEOF
8367 #define HAVE_DECL_PER_WYSEV386 1
8372 cat >>confdefs.h <<_ACEOF
8373 #define HAVE_DECL_PER_WYSEV386 0
8378 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
8379 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
8380 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 cat >conftest.$ac_ext <<_ACEOF
8386 cat confdefs.h >>conftest.$ac_ext
8387 cat >>conftest.$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8390 #include <linux/personality.h>
8397 char *p = (char *) PER_ISCR4;
8404 rm -f conftest.$ac_objext
8405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8406 (eval $ac_compile) 2>conftest.er1
8408 grep -v '^ *+' conftest.er1 >conftest.err
8410 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try='test -z "$ac_c_werror_flag"
8414 || test ! -s conftest.err'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; } &&
8420 { ac_try='test -s conftest.$ac_objext'
8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); }; }; then
8426 ac_cv_have_decl_PER_ISCR4=yes
8428 echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.$ac_ext >&5
8431 ac_cv_have_decl_PER_ISCR4=no
8433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8435 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
8436 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
8437 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
8439 cat >>confdefs.h <<_ACEOF
8440 #define HAVE_DECL_PER_ISCR4 1
8445 cat >>confdefs.h <<_ACEOF
8446 #define HAVE_DECL_PER_ISCR4 0
8451 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
8452 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
8453 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 cat >conftest.$ac_ext <<_ACEOF
8459 cat confdefs.h >>conftest.$ac_ext
8460 cat >>conftest.$ac_ext <<_ACEOF
8461 /* end confdefs.h. */
8463 #include <linux/personality.h>
8470 char *p = (char *) PER_BSD;
8477 rm -f conftest.$ac_objext
8478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8479 (eval $ac_compile) 2>conftest.er1
8481 grep -v '^ *+' conftest.er1 >conftest.err
8483 cat conftest.err >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); } &&
8486 { ac_try='test -z "$ac_c_werror_flag"
8487 || test ! -s conftest.err'
8488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); }; } &&
8493 { ac_try='test -s conftest.$ac_objext'
8494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; }; then
8499 ac_cv_have_decl_PER_BSD=yes
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.$ac_ext >&5
8504 ac_cv_have_decl_PER_BSD=no
8506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8508 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
8509 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
8510 if test $ac_cv_have_decl_PER_BSD = yes; then
8512 cat >>confdefs.h <<_ACEOF
8513 #define HAVE_DECL_PER_BSD 1
8518 cat >>confdefs.h <<_ACEOF
8519 #define HAVE_DECL_PER_BSD 0
8524 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
8525 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
8526 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 cat >conftest.$ac_ext <<_ACEOF
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8536 #include <linux/personality.h>
8543 char *p = (char *) PER_SUNOS;
8550 rm -f conftest.$ac_objext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8552 (eval $ac_compile) 2>conftest.er1
8554 grep -v '^ *+' conftest.er1 >conftest.err
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try='test -z "$ac_c_werror_flag"
8560 || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try='test -s conftest.$ac_objext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 ac_cv_have_decl_PER_SUNOS=yes
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5
8577 ac_cv_have_decl_PER_SUNOS=no
8579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8581 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
8582 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
8583 if test $ac_cv_have_decl_PER_SUNOS = yes; then
8585 cat >>confdefs.h <<_ACEOF
8586 #define HAVE_DECL_PER_SUNOS 1
8591 cat >>confdefs.h <<_ACEOF
8592 #define HAVE_DECL_PER_SUNOS 0
8597 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
8598 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
8599 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 cat >conftest.$ac_ext <<_ACEOF
8605 cat confdefs.h >>conftest.$ac_ext
8606 cat >>conftest.$ac_ext <<_ACEOF
8607 /* end confdefs.h. */
8609 #include <linux/personality.h>
8616 char *p = (char *) PER_XENIX;
8623 rm -f conftest.$ac_objext
8624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8625 (eval $ac_compile) 2>conftest.er1
8627 grep -v '^ *+' conftest.er1 >conftest.err
8629 cat conftest.err >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); } &&
8632 { ac_try='test -z "$ac_c_werror_flag"
8633 || test ! -s conftest.err'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; } &&
8639 { ac_try='test -s conftest.$ac_objext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 ac_cv_have_decl_PER_XENIX=yes
8647 echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.$ac_ext >&5
8650 ac_cv_have_decl_PER_XENIX=no
8652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8654 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
8655 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
8656 if test $ac_cv_have_decl_PER_XENIX = yes; then
8658 cat >>confdefs.h <<_ACEOF
8659 #define HAVE_DECL_PER_XENIX 1
8664 cat >>confdefs.h <<_ACEOF
8665 #define HAVE_DECL_PER_XENIX 0
8670 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
8671 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
8672 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 cat >conftest.$ac_ext <<_ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8682 #include <linux/personality.h>
8689 char *p = (char *) PER_LINUX32;
8696 rm -f conftest.$ac_objext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8698 (eval $ac_compile) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1 >conftest.err
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest.$ac_objext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_have_decl_PER_LINUX32=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 ac_cv_have_decl_PER_LINUX32=no
8725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8727 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
8728 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
8729 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
8731 cat >>confdefs.h <<_ACEOF
8732 #define HAVE_DECL_PER_LINUX32 1
8737 cat >>confdefs.h <<_ACEOF
8738 #define HAVE_DECL_PER_LINUX32 0
8743 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
8744 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
8745 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 cat >conftest.$ac_ext <<_ACEOF
8751 cat confdefs.h >>conftest.$ac_ext
8752 cat >>conftest.$ac_ext <<_ACEOF
8753 /* end confdefs.h. */
8755 #include <linux/personality.h>
8761 #ifndef PER_LINUX32_3GB
8762 char *p = (char *) PER_LINUX32_3GB;
8769 rm -f conftest.$ac_objext
8770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8771 (eval $ac_compile) 2>conftest.er1
8773 grep -v '^ *+' conftest.er1 >conftest.err
8775 cat conftest.err >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } &&
8778 { ac_try='test -z "$ac_c_werror_flag"
8779 || test ! -s conftest.err'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; } &&
8785 { ac_try='test -s conftest.$ac_objext'
8786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); }; }; then
8791 ac_cv_have_decl_PER_LINUX32_3GB=yes
8793 echo "$as_me: failed program was:" >&5
8794 sed 's/^/| /' conftest.$ac_ext >&5
8796 ac_cv_have_decl_PER_LINUX32_3GB=no
8798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8800 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
8801 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
8802 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
8804 cat >>confdefs.h <<_ACEOF
8805 #define HAVE_DECL_PER_LINUX32_3GB 1
8810 cat >>confdefs.h <<_ACEOF
8811 #define HAVE_DECL_PER_LINUX32_3GB 0
8816 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
8817 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
8818 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 cat >conftest.$ac_ext <<_ACEOF
8824 cat confdefs.h >>conftest.$ac_ext
8825 cat >>conftest.$ac_ext <<_ACEOF
8826 /* end confdefs.h. */
8828 #include <linux/personality.h>
8835 char *p = (char *) PER_IRIX32;
8842 rm -f conftest.$ac_objext
8843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8844 (eval $ac_compile) 2>conftest.er1
8846 grep -v '^ *+' conftest.er1 >conftest.err
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } &&
8851 { ac_try='test -z "$ac_c_werror_flag"
8852 || test ! -s conftest.err'
8853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); }; } &&
8858 { ac_try='test -s conftest.$ac_objext'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; }; then
8864 ac_cv_have_decl_PER_IRIX32=yes
8866 echo "$as_me: failed program was:" >&5
8867 sed 's/^/| /' conftest.$ac_ext >&5
8869 ac_cv_have_decl_PER_IRIX32=no
8871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8873 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
8874 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
8875 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
8877 cat >>confdefs.h <<_ACEOF
8878 #define HAVE_DECL_PER_IRIX32 1
8883 cat >>confdefs.h <<_ACEOF
8884 #define HAVE_DECL_PER_IRIX32 0
8889 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
8890 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
8891 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 cat >conftest.$ac_ext <<_ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8901 #include <linux/personality.h>
8908 char *p = (char *) PER_IRIXN32;
8915 rm -f conftest.$ac_objext
8916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8917 (eval $ac_compile) 2>conftest.er1
8919 grep -v '^ *+' conftest.er1 >conftest.err
8921 cat conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } &&
8924 { ac_try='test -z "$ac_c_werror_flag"
8925 || test ! -s conftest.err'
8926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); }; } &&
8931 { ac_try='test -s conftest.$ac_objext'
8932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); }; }; then
8937 ac_cv_have_decl_PER_IRIXN32=yes
8939 echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.$ac_ext >&5
8942 ac_cv_have_decl_PER_IRIXN32=no
8944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8946 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
8947 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
8948 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
8950 cat >>confdefs.h <<_ACEOF
8951 #define HAVE_DECL_PER_IRIXN32 1
8956 cat >>confdefs.h <<_ACEOF
8957 #define HAVE_DECL_PER_IRIXN32 0
8962 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
8963 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
8964 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 cat >conftest.$ac_ext <<_ACEOF
8970 cat confdefs.h >>conftest.$ac_ext
8971 cat >>conftest.$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8974 #include <linux/personality.h>
8981 char *p = (char *) PER_IRIX64;
8988 rm -f conftest.$ac_objext
8989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8990 (eval $ac_compile) 2>conftest.er1
8992 grep -v '^ *+' conftest.er1 >conftest.err
8994 cat conftest.err >&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); } &&
8997 { ac_try='test -z "$ac_c_werror_flag"
8998 || test ! -s conftest.err'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; } &&
9004 { ac_try='test -s conftest.$ac_objext'
9005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); }; }; then
9010 ac_cv_have_decl_PER_IRIX64=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 ac_cv_have_decl_PER_IRIX64=no
9017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9019 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9020 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9021 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9023 cat >>confdefs.h <<_ACEOF
9024 #define HAVE_DECL_PER_IRIX64 1
9029 cat >>confdefs.h <<_ACEOF
9030 #define HAVE_DECL_PER_IRIX64 0
9035 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9036 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9037 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 cat >conftest.$ac_ext <<_ACEOF
9043 cat confdefs.h >>conftest.$ac_ext
9044 cat >>conftest.$ac_ext <<_ACEOF
9045 /* end confdefs.h. */
9047 #include <linux/personality.h>
9054 char *p = (char *) PER_RISCOS;
9061 rm -f conftest.$ac_objext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9063 (eval $ac_compile) 2>conftest.er1
9065 grep -v '^ *+' conftest.er1 >conftest.err
9067 cat conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try='test -z "$ac_c_werror_flag"
9071 || test ! -s conftest.err'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; } &&
9077 { ac_try='test -s conftest.$ac_objext'
9078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); }; }; then
9083 ac_cv_have_decl_PER_RISCOS=yes
9085 echo "$as_me: failed program was:" >&5
9086 sed 's/^/| /' conftest.$ac_ext >&5
9088 ac_cv_have_decl_PER_RISCOS=no
9090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9092 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9093 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9094 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9096 cat >>confdefs.h <<_ACEOF
9097 #define HAVE_DECL_PER_RISCOS 1
9102 cat >>confdefs.h <<_ACEOF
9103 #define HAVE_DECL_PER_RISCOS 0
9108 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9109 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9110 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 cat >conftest.$ac_ext <<_ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9120 #include <linux/personality.h>
9127 char *p = (char *) PER_SOLARIS;
9134 rm -f conftest.$ac_objext
9135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9136 (eval $ac_compile) 2>conftest.er1
9138 grep -v '^ *+' conftest.er1 >conftest.err
9140 cat conftest.err >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try='test -z "$ac_c_werror_flag"
9144 || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try='test -s conftest.$ac_objext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 ac_cv_have_decl_PER_SOLARIS=yes
9158 echo "$as_me: failed program was:" >&5
9159 sed 's/^/| /' conftest.$ac_ext >&5
9161 ac_cv_have_decl_PER_SOLARIS=no
9163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9165 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
9166 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
9167 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
9169 cat >>confdefs.h <<_ACEOF
9170 #define HAVE_DECL_PER_SOLARIS 1
9175 cat >>confdefs.h <<_ACEOF
9176 #define HAVE_DECL_PER_SOLARIS 0
9181 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
9182 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
9183 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 cat >conftest.$ac_ext <<_ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 #include <linux/personality.h>
9200 char *p = (char *) PER_UW7;
9207 rm -f conftest.$ac_objext
9208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9209 (eval $ac_compile) 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } &&
9216 { ac_try='test -z "$ac_c_werror_flag"
9217 || test ! -s conftest.err'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; } &&
9223 { ac_try='test -s conftest.$ac_objext'
9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; }; then
9229 ac_cv_have_decl_PER_UW7=yes
9231 echo "$as_me: failed program was:" >&5
9232 sed 's/^/| /' conftest.$ac_ext >&5
9234 ac_cv_have_decl_PER_UW7=no
9236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9238 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
9239 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
9240 if test $ac_cv_have_decl_PER_UW7 = yes; then
9242 cat >>confdefs.h <<_ACEOF
9243 #define HAVE_DECL_PER_UW7 1
9248 cat >>confdefs.h <<_ACEOF
9249 #define HAVE_DECL_PER_UW7 0
9254 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
9255 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
9256 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 cat >conftest.$ac_ext <<_ACEOF
9262 cat confdefs.h >>conftest.$ac_ext
9263 cat >>conftest.$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 #include <linux/personality.h>
9273 char *p = (char *) PER_HPUX;
9280 rm -f conftest.$ac_objext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9282 (eval $ac_compile) 2>conftest.er1
9284 grep -v '^ *+' conftest.er1 >conftest.err
9286 cat conftest.err >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } &&
9289 { ac_try='test -z "$ac_c_werror_flag"
9290 || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try='test -s conftest.$ac_objext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_have_decl_PER_HPUX=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_cv_have_decl_PER_HPUX=no
9309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9311 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
9312 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
9313 if test $ac_cv_have_decl_PER_HPUX = yes; then
9315 cat >>confdefs.h <<_ACEOF
9316 #define HAVE_DECL_PER_HPUX 1
9321 cat >>confdefs.h <<_ACEOF
9322 #define HAVE_DECL_PER_HPUX 0
9327 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
9328 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
9329 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 cat >conftest.$ac_ext <<_ACEOF
9335 cat confdefs.h >>conftest.$ac_ext
9336 cat >>conftest.$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9339 #include <linux/personality.h>
9346 char *p = (char *) PER_OSF4;
9353 rm -f conftest.$ac_objext
9354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9355 (eval $ac_compile) 2>conftest.er1
9357 grep -v '^ *+' conftest.er1 >conftest.err
9359 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } &&
9362 { ac_try='test -z "$ac_c_werror_flag"
9363 || test ! -s conftest.err'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; } &&
9369 { ac_try='test -s conftest.$ac_objext'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; }; then
9375 ac_cv_have_decl_PER_OSF4=yes
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 ac_cv_have_decl_PER_OSF4=no
9382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9384 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
9385 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
9386 if test $ac_cv_have_decl_PER_OSF4 = yes; then
9388 cat >>confdefs.h <<_ACEOF
9389 #define HAVE_DECL_PER_OSF4 1
9394 cat >>confdefs.h <<_ACEOF
9395 #define HAVE_DECL_PER_OSF4 0
9403 ac_cpp='$CPP $CPPFLAGS'
9404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9413 echo "$as_me:$LINENO: checking for initrddir" >&5
9414 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
9416 # Check whether --with-initrddir or --without-initrddir was given.
9417 if test "${with_initrddir+set}" = set; then
9418 withval="$with_initrddir"
9420 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
9421 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
9422 { (exit 1); exit 1; }; };;
9423 *) ensc_initrddir=$withval;;
9426 ensc_initrddir='$(sysconfdir)/init.d'
9429 if test "initrddir"; then
9430 initrddir=$ensc_initrddir
9434 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
9435 echo "${ECHO_T}$ensc_initrddir" >&6
9438 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
9439 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
9440 # Check whether --enable-release or --disable-release was given.
9441 if test "${enable_release+set}" = set; then
9442 enableval="$enable_release"
9443 case "$enableval" in
9444 yes) ensc_release_mode=yes;;
9445 no) ensc_release_mode=no;;
9446 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
9447 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
9448 { (exit 1); exit 1; }; };;
9451 ensc_release_mode=no
9454 if test x"$ensc_release_mode" = xno; then
9457 RELEASE_CPPFLAGS='-DNDEBUG'
9461 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
9462 echo "${ECHO_T}$ensc_release_mode" >&6
9467 (i*86|athlon) min_diet_ver=0.25;;
9468 (ia64|hppa*) min_diet_ver=0.29;;
9469 (*) min_diet_ver=0.28;;
9473 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
9474 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
9482 # Check whether --enable-dietlibc or --disable-dietlibc was given.
9483 if test "${enable_dietlibc+set}" = set; then
9484 enableval="$enable_dietlibc"
9485 case "$enableval" in
9486 (yes) use_dietlibc=forced;;
9487 (no) use_dietlibc=forced_no;;
9488 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
9489 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
9490 { (exit 1); exit 1; }; };;
9493 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
9496 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
9497 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
9498 _dietlibc_ver=${_dietlibc_ver##*diet version }
9499 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
9500 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
9501 _dietlibc_ver_min=${_dietlibc_ver##*.}
9502 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
9503 _dietlibc_cmp="$min_diet_ver"
9504 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
9505 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
9507 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
9509 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
9510 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
9512 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
9514 ENSC_VERSION_DIETLIBC=
9518 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
9519 ensc_have_dietlibc=no
9521 case x"$use_dietlibc" in
9527 USE_DIETLIBC_FALSE='#'
9529 USE_DIETLIBC_TRUE='#'
9533 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
9534 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
9535 ensc_have_dietlibc=yes
9542 USE_DIETLIBC_FALSE='#'
9544 USE_DIETLIBC_TRUE='#'
9548 echo "$as_me:$LINENO: result: yes (forced)" >&5
9549 echo "${ECHO_T}yes (forced)" >&6
9550 ensc_have_dietlibc=yes
9557 USE_DIETLIBC_FALSE='#'
9559 USE_DIETLIBC_TRUE='#'
9563 echo "$as_me:$LINENO: result: no (detected)" >&5
9564 echo "${ECHO_T}no (detected)" >&6
9571 USE_DIETLIBC_FALSE='#'
9573 USE_DIETLIBC_TRUE='#'
9577 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
9578 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
9585 USE_DIETLIBC_FALSE='#'
9587 USE_DIETLIBC_TRUE='#'
9591 echo "$as_me:$LINENO: result: no (forced)" >&5
9592 echo "${ECHO_T}no (forced)" >&6
9595 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
9596 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
9597 { (exit 1); exit 1; }; }
9601 if test x"$ensc_have_dietlibc" != xno; then
9606 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
9607 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
9608 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
9613 _ensc_dietlibc_c99_old_CC=$CC
9616 CC="${DIET:-diet} $CC"
9619 ac_cpp='$CPP $CPPFLAGS'
9620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9624 cat >conftest.$ac_ext <<_ACEOF
9627 rm -f conftest.$ac_objext
9628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9629 (eval $ac_compile) 2>conftest.er1
9631 grep -v '^ *+' conftest.er1 >conftest.err
9633 cat conftest.err >&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try='test -z "$ac_c_werror_flag"
9637 || test ! -s conftest.err'
9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); }; } &&
9643 { ac_try='test -s conftest.$ac_objext'
9644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; }; then
9650 cat >conftest.$ac_ext <<_ACEOF
9653 #include <sys/cdefs.h>
9655 # error 'inline' badly defined
9657 volatile uint64_t a;
9660 rm -f conftest.$ac_objext
9661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9662 (eval $ac_compile) 2>conftest.er1
9664 grep -v '^ *+' conftest.er1 >conftest.err
9666 cat conftest.err >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); } &&
9669 { ac_try='test -z "$ac_c_werror_flag"
9670 || test ! -s conftest.err'
9671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; } &&
9676 { ac_try='test -s conftest.$ac_objext'
9677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; }; then
9682 ensc_cv_c_dietlibc_c99=yes
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 ensc_cv_c_dietlibc_c99=no
9689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9691 echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.$ac_ext >&5
9694 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
9696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9698 ac_cpp='$CPP $CPPFLAGS'
9699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9704 CC=$_ensc_dietlibc_c99_old_CC
9705 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
9708 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
9709 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
9711 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
9712 cat >>confdefs.h <<\_ACEOF
9713 #define ENSC_DIETLIBC_C99 1
9721 if test x"$ensc_have_dietlibc" = xno; then
9722 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9723 echo "$as_me: WARNING: *** ***" >&2;}
9724 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
9725 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
9726 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
9727 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
9728 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
9729 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
9730 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
9731 echo "$as_me: WARNING: *** there. ***" >&2;}
9732 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9733 echo "$as_me: WARNING: *** ***" >&2;}
9737 USE_DIETLIBC_COMPAT_TRUE=
9738 USE_DIETLIBC_COMPAT_FALSE='#'
9740 USE_DIETLIBC_COMPAT_TRUE='#'
9741 USE_DIETLIBC_COMPAT_FALSE=
9745 # HACK: libtool does not have cmdline options to build only
9746 # dynamic libraries; this can be done with the
9747 # '--disable-static' ./configure option only. As our static
9748 # libraries will be build with dietlibc, we have to do set
9749 # this option which is evaluated by 'AC_PROG_LIBTOOL'
9750 # below. Therefore, this macro must not be called earlier.
9757 if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
9758 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9759 echo "$as_me: WARNING: *** ***" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&5
9761 echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
9763 echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added ***" >&5
9765 echo "$as_me: WARNING: *** and lib/__nice.c added ***" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9767 echo "$as_me: WARNING: *** ***" >&2;}
9771 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
9772 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
9773 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
9774 if test "${enable_alternative_syscalls+set}" = set; then
9775 enableval="$enable_alternative_syscalls"
9777 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
9778 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
9779 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
9780 { (exit 1); exit 1; }; };;
9783 ensc_use_alternative_syscall_macros=yes
9786 case $ensc_use_alternative_syscall_macros in
9788 cat >>confdefs.h <<\_ACEOF
9789 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
9794 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
9795 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
9800 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
9801 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
9802 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 ac_cpp='$CPP $CPPFLAGS'
9808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9812 ensc_dietlibc_need_compat_old_CC=$CC
9813 CC="${DIET:-diet} $CC"
9814 cat >conftest.$ac_ext <<_ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9822 #include "$srcdir/lib/syscall-wrap.h"
9825 #define __NR_foo0 42
9826 #define __NR_foo1 42
9827 #define __NR_foo2 42
9828 #define __NR_foo3 42
9829 #define __NR_foo4 42
9830 #define __NR_foo5 42
9831 inline static _syscall0(int, foo0)
9832 inline static _syscall1(int, foo1, int, a)
9833 inline static _syscall2(int, foo2, int, a, int, b)
9834 inline static _syscall3(int, foo3, int, a, int, b, int, c)
9835 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
9836 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
9841 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9848 (eval $ac_link) 2>conftest.er1
9850 grep -v '^ *+' conftest.er1 >conftest.err
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } &&
9855 { ac_try='test -z "$ac_c_werror_flag"
9856 || test ! -s conftest.err'
9857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); }; } &&
9862 { ac_try='test -s conftest$ac_exeext'
9863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); }; }; then
9868 ensc_cv_c_dietlibc_compat=no
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9873 ensc_cv_c_dietlibc_compat=yes
9875 rm -f conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CC=$ensc_dietlibc_need_compat_old_CC
9879 ac_cpp='$CPP $CPPFLAGS'
9880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9886 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
9887 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
9889 if test x"USE_DIETLIBC_COMPAT" != x; then
9892 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
9893 USE_DIETLIBC_COMPAT_TRUE=
9894 USE_DIETLIBC_COMPAT_FALSE='#'
9896 USE_DIETLIBC_COMPAT_TRUE='#'
9897 USE_DIETLIBC_COMPAT_FALSE=
9906 if test x"$ensc_have_dietlibc" = xyes; then
9907 ENSC_USE_DIETLIBC_TRUE=
9908 ENSC_USE_DIETLIBC_FALSE='#'
9910 ENSC_USE_DIETLIBC_TRUE='#'
9911 ENSC_USE_DIETLIBC_FALSE=
9917 ENSC_USE_GLIBC_TRUE=
9918 ENSC_USE_GLIBC_FALSE='#'
9920 ENSC_USE_GLIBC_TRUE='#'
9921 ENSC_USE_GLIBC_FALSE=
9925 # HACK: see comments at 'enable_static' above
9926 # Check whether --enable-shared or --disable-shared was given.
9927 if test "${enable_shared+set}" = set; then
9928 enableval="$enable_shared"
9929 p=${PACKAGE-default}
9931 yes) enable_shared=yes ;;
9932 no) enable_shared=no ;;
9935 # Look at the argument we got. We use all the common list separators.
9936 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9937 for pkg in $enableval; do
9939 if test "X$pkg" = "X$p"; then
9950 # Check whether --enable-static or --disable-static was given.
9951 if test "${enable_static+set}" = set; then
9952 enableval="$enable_static"
9953 p=${PACKAGE-default}
9955 yes) enable_static=yes ;;
9956 no) enable_static=no ;;
9959 # Look at the argument we got. We use all the common list separators.
9960 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9961 for pkg in $enableval; do
9963 if test "X$pkg" = "X$p"; then
9974 # Check whether --enable-fast-install or --disable-fast-install was given.
9975 if test "${enable_fast_install+set}" = set; then
9976 enableval="$enable_fast_install"
9977 p=${PACKAGE-default}
9979 yes) enable_fast_install=yes ;;
9980 no) enable_fast_install=no ;;
9982 enable_fast_install=no
9983 # Look at the argument we got. We use all the common list separators.
9984 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9985 for pkg in $enableval; do
9987 if test "X$pkg" = "X$p"; then
9988 enable_fast_install=yes
9995 enable_fast_install=yes
9998 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9999 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
10000 if test "${lt_cv_path_SED+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 # Loop through the user's path and test for sed and gsed.
10004 # Then use that list of sed's as ones to test for truncation.
10005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10006 for as_dir in $PATH
10009 test -z "$as_dir" && as_dir=.
10010 for lt_ac_prog in sed gsed; do
10011 for ac_exec_ext in '' $ac_executable_extensions; do
10012 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10013 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10020 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10021 # along with /bin/sed that truncates output.
10022 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10023 test ! -f $lt_ac_sed && continue
10024 cat /dev/null > conftest.in
10026 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10027 # Check for GNU sed and select it if it is found.
10028 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10029 lt_cv_path_SED=$lt_ac_sed
10033 cat conftest.in conftest.in >conftest.tmp
10034 mv conftest.tmp conftest.in
10035 cp conftest.in conftest.nl
10037 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10038 cmp -s conftest.out conftest.nl || break
10039 # 10000 chars as input seems more than enough
10040 test $lt_ac_count -gt 10 && break
10041 lt_ac_count=`expr $lt_ac_count + 1`
10042 if test $lt_ac_count -gt $lt_ac_max; then
10043 lt_ac_max=$lt_ac_count
10044 lt_cv_path_SED=$lt_ac_sed
10051 SED=$lt_cv_path_SED
10052 echo "$as_me:$LINENO: result: $SED" >&5
10053 echo "${ECHO_T}$SED" >&6
10055 echo "$as_me:$LINENO: checking for egrep" >&5
10056 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10057 if test "${ac_cv_prog_egrep+set}" = set; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10061 then ac_cv_prog_egrep='grep -E'
10062 else ac_cv_prog_egrep='egrep'
10065 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10066 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10067 EGREP=$ac_cv_prog_egrep
10071 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10072 if test "${with_gnu_ld+set}" = set; then
10073 withval="$with_gnu_ld"
10074 test "$withval" = no || with_gnu_ld=yes
10079 if test "$GCC" = yes; then
10080 # Check if gcc -print-prog-name=ld gives a path.
10081 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10082 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10085 # gcc leaves a trailing carriage return which upsets mingw
10086 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10088 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10091 # Accept absolute paths.
10093 re_direlt='/[^/][^/]*/\.\./'
10094 # Canonicalize the pathname of ld
10095 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10096 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10097 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10099 test -z "$LD" && LD="$ac_prog"
10102 # If it fails, then pretend we aren't using GCC.
10106 # If it is relative, then search for the first ld in PATH.
10107 with_gnu_ld=unknown
10110 elif test "$with_gnu_ld" = yes; then
10111 echo "$as_me:$LINENO: checking for GNU ld" >&5
10112 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10114 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10115 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10117 if test "${lt_cv_path_LD+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 if test -z "$LD"; then
10121 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10122 for ac_dir in $PATH; do
10124 test -z "$ac_dir" && ac_dir=.
10125 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10126 lt_cv_path_LD="$ac_dir/$ac_prog"
10127 # Check to see if the program is GNU ld. I'd rather use --version,
10128 # but apparently some GNU ld's only accept -v.
10129 # Break only if it was the GNU/non-GNU ld that we prefer.
10130 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10131 *GNU* | *'with BFD'*)
10132 test "$with_gnu_ld" != no && break
10135 test "$with_gnu_ld" != yes && break
10142 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10146 LD="$lt_cv_path_LD"
10147 if test -n "$LD"; then
10148 echo "$as_me:$LINENO: result: $LD" >&5
10149 echo "${ECHO_T}$LD" >&6
10151 echo "$as_me:$LINENO: result: no" >&5
10152 echo "${ECHO_T}no" >&6
10154 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10155 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10156 { (exit 1); exit 1; }; }
10157 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10158 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10159 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10160 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10163 case `$LD -v 2>&1 </dev/null` in
10164 *GNU* | *'with BFD'*)
10165 lt_cv_prog_gnu_ld=yes
10168 lt_cv_prog_gnu_ld=no
10172 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10173 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10174 with_gnu_ld=$lt_cv_prog_gnu_ld
10177 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10178 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10179 if test "${lt_cv_ld_reload_flag+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 lt_cv_ld_reload_flag='-r'
10184 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10185 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10186 reload_flag=$lt_cv_ld_reload_flag
10187 case $reload_flag in
10189 *) reload_flag=" $reload_flag" ;;
10191 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10194 if test "$GCC" = yes; then
10195 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
10197 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10202 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10203 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10204 if test "${lt_cv_path_NM+set}" = set; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10207 if test -n "$NM"; then
10208 # Let the user override the test.
10209 lt_cv_path_NM="$NM"
10211 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10212 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10214 test -z "$ac_dir" && ac_dir=.
10215 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10216 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10217 # Check to see if the nm accepts a BSD-compat flag.
10218 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10219 # nm: unknown option "B" ignored
10220 # Tru64's nm complains that /dev/null is an invalid object file
10221 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10222 */dev/null* | *'Invalid file or object type'*)
10223 lt_cv_path_NM="$tmp_nm -B"
10227 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10229 lt_cv_path_NM="$tmp_nm -p"
10233 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10234 continue # so that we can try to find one that supports BSD flags
10241 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10244 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10245 echo "${ECHO_T}$lt_cv_path_NM" >&6
10246 NM="$lt_cv_path_NM"
10248 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10249 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10250 if test "${lt_cv_deplibs_check_method+set}" = set; then
10251 echo $ECHO_N "(cached) $ECHO_C" >&6
10253 lt_cv_file_magic_cmd='$MAGIC_CMD'
10254 lt_cv_file_magic_test_file=
10255 lt_cv_deplibs_check_method='unknown'
10256 # Need to set the preceding variable on all platforms that support
10257 # interlibrary dependencies.
10258 # 'none' -- dependencies not supported.
10259 # `unknown' -- same as none, but documents that we really don't know.
10260 # 'pass_all' -- all dependencies passed with no checks.
10261 # 'test_compile' -- check by making test program.
10262 # 'file_magic [[regex]]' -- check by looking for files in library path
10263 # which responds to the $file_magic_cmd with a given extended regex.
10264 # If you have `file' or equivalent on your system and you're not sure
10265 # whether `pass_all' will *always* work, you probably want this one.
10269 lt_cv_deplibs_check_method=pass_all
10273 lt_cv_deplibs_check_method=pass_all
10277 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10278 lt_cv_file_magic_cmd='/usr/bin/file -L'
10279 lt_cv_file_magic_test_file=/shlib/libc.so
10283 # func_win32_libid is a shell function defined in ltmain.sh
10284 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10285 lt_cv_file_magic_cmd='func_win32_libid'
10289 # Base MSYS/MinGW do not provide the 'file' command needed by
10290 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10291 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10292 lt_cv_file_magic_cmd='$OBJDUMP -f'
10295 darwin* | rhapsody*)
10296 lt_cv_deplibs_check_method=pass_all
10299 freebsd* | kfreebsd*-gnu | dragonfly*)
10300 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10303 # Not sure whether the presence of OpenBSD here was a mistake.
10304 # Let's accept both of them until this is cleared up.
10305 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10306 lt_cv_file_magic_cmd=/usr/bin/file
10307 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10311 lt_cv_deplibs_check_method=pass_all
10316 lt_cv_deplibs_check_method=pass_all
10319 hpux10.20* | hpux11*)
10320 lt_cv_file_magic_cmd=/usr/bin/file
10321 case "$host_cpu" in
10323 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10324 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10327 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]'
10328 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10331 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10332 lt_cv_file_magic_test_file=/usr/lib/libc.sl
10337 irix5* | irix6* | nonstopux*)
10339 *-32|*"-32 ") libmagic=32-bit;;
10340 *-n32|*"-n32 ") libmagic=N32;;
10341 *-64|*"-64 ") libmagic=64-bit;;
10342 *) libmagic=never-match;;
10344 lt_cv_deplibs_check_method=pass_all
10347 # This must be Linux ELF.
10349 lt_cv_deplibs_check_method=pass_all
10353 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10362 lt_cv_file_magic_cmd=/usr/bin/file
10363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10367 lt_cv_deplibs_check_method=unknown
10371 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10378 osf3* | osf4* | osf5*)
10379 lt_cv_deplibs_check_method=pass_all
10383 lt_cv_deplibs_check_method=pass_all
10387 lt_cv_deplibs_check_method=pass_all
10390 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10391 case $host_vendor in
10393 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]'
10394 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10397 lt_cv_deplibs_check_method=pass_all
10400 lt_cv_file_magic_cmd='/bin/file'
10401 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10404 lt_cv_file_magic_cmd='/bin/file'
10405 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10406 lt_cv_file_magic_test_file=/lib/libc.so
10409 lt_cv_deplibs_check_method=pass_all
10414 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
10415 lt_cv_deplibs_check_method=pass_all
10420 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10421 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10422 file_magic_cmd=$lt_cv_file_magic_cmd
10423 deplibs_check_method=$lt_cv_deplibs_check_method
10424 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10429 # If no C compiler was specified, use CC.
10432 # Allow CC to be a program name with arguments.
10435 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10436 if test "${enable_libtool_lock+set}" = set; then
10437 enableval="$enable_libtool_lock"
10440 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10442 # Some flags need to be propagated to the compiler or linker for good
10446 # Find out which ABI we are using.
10447 echo 'int i;' > conftest.$ac_ext
10448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10449 (eval $ac_compile) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; then
10453 case `/usr/bin/file conftest.$ac_objext` in
10455 HPUX_IA64_MODE="32"
10458 HPUX_IA64_MODE="64"
10465 # Find out which ABI we are using.
10466 echo '#line 10466 "configure"' > conftest.$ac_ext
10467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10468 (eval $ac_compile) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; then
10472 if test "$lt_cv_prog_gnu_ld" = yes; then
10473 case `/usr/bin/file conftest.$ac_objext` in
10475 LD="${LD-ld} -melf32bsmip"
10478 LD="${LD-ld} -melf32bmipn32"
10481 LD="${LD-ld} -melf64bmip"
10485 case `/usr/bin/file conftest.$ac_objext` in
10501 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10502 # Find out which ABI we are using.
10503 echo 'int i;' > conftest.$ac_ext
10504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10505 (eval $ac_compile) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; then
10509 case "`/usr/bin/file conftest.o`" in
10513 LD="${LD-ld} -m elf_i386"
10515 ppc64-*linux*|powerpc64-*linux*)
10516 LD="${LD-ld} -m elf32ppclinux"
10519 LD="${LD-ld} -m elf_s390"
10522 LD="${LD-ld} -m elf32_sparc"
10529 LD="${LD-ld} -m elf_x86_64"
10531 ppc*-*linux*|powerpc*-*linux*)
10532 LD="${LD-ld} -m elf64ppc"
10535 LD="${LD-ld} -m elf64_s390"
10538 LD="${LD-ld} -m elf64_sparc"
10548 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10549 SAVE_CFLAGS="$CFLAGS"
10550 CFLAGS="$CFLAGS -belf"
10551 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10552 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10553 if test "${lt_cv_cc_needs_belf+set}" = set; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 ac_cpp='$CPP $CPPFLAGS'
10558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10562 cat >conftest.$ac_ext <<_ACEOF
10565 cat confdefs.h >>conftest.$ac_ext
10566 cat >>conftest.$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10577 rm -f conftest.$ac_objext conftest$ac_exeext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10579 (eval $ac_link) 2>conftest.er1
10581 grep -v '^ *+' conftest.er1 >conftest.err
10583 cat conftest.err >&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } &&
10586 { ac_try='test -z "$ac_c_werror_flag"
10587 || test ! -s conftest.err'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } &&
10593 { ac_try='test -s conftest$ac_exeext'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 lt_cv_cc_needs_belf=yes
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10604 lt_cv_cc_needs_belf=no
10606 rm -f conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10609 ac_cpp='$CPP $CPPFLAGS'
10610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10615 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10616 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10617 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10618 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10619 CFLAGS="$SAVE_CFLAGS"
10625 need_locks="$enable_libtool_lock"
10629 ac_cpp='$CPP $CPPFLAGS'
10630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10633 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10634 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10635 # On Suns, sometimes $CPP names a directory.
10636 if test -n "$CPP" && test -d "$CPP"; then
10639 if test -z "$CPP"; then
10640 if test "${ac_cv_prog_CPP+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 # Double quotes because CPP needs to be expanded
10644 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10646 ac_preproc_ok=false
10647 for ac_c_preproc_warn_flag in '' yes
10649 # Use a header file that comes with gcc, so configuring glibc
10650 # with a fresh cross-compiler works.
10651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10652 # <limits.h> exists even on freestanding compilers.
10653 # On the NeXT, cc -E runs the code through the compiler's parser,
10654 # not just through cpp. "Syntax error" is here to catch this case.
10655 cat >conftest.$ac_ext <<_ACEOF
10658 cat confdefs.h >>conftest.$ac_ext
10659 cat >>conftest.$ac_ext <<_ACEOF
10660 /* end confdefs.h. */
10662 # include <limits.h>
10664 # include <assert.h>
10668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10671 grep -v '^ *+' conftest.er1 >conftest.err
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } >/dev/null; then
10676 if test -s conftest.err; then
10677 ac_cpp_err=$ac_c_preproc_warn_flag
10678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10685 if test -z "$ac_cpp_err"; then
10688 echo "$as_me: failed program was:" >&5
10689 sed 's/^/| /' conftest.$ac_ext >&5
10691 # Broken: fails on valid input.
10694 rm -f conftest.err conftest.$ac_ext
10696 # OK, works on sane cases. Now check whether non-existent headers
10697 # can be detected and how.
10698 cat >conftest.$ac_ext <<_ACEOF
10701 cat confdefs.h >>conftest.$ac_ext
10702 cat >>conftest.$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10704 #include <ac_nonexistent.h>
10706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10709 grep -v '^ *+' conftest.er1 >conftest.err
10711 cat conftest.err >&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } >/dev/null; then
10714 if test -s conftest.err; then
10715 ac_cpp_err=$ac_c_preproc_warn_flag
10716 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10723 if test -z "$ac_cpp_err"; then
10724 # Broken: success on invalid input.
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.$ac_ext >&5
10730 # Passes both tests.
10734 rm -f conftest.err conftest.$ac_ext
10737 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10738 rm -f conftest.err conftest.$ac_ext
10739 if $ac_preproc_ok; then
10744 ac_cv_prog_CPP=$CPP
10747 CPP=$ac_cv_prog_CPP
10749 ac_cv_prog_CPP=$CPP
10751 echo "$as_me:$LINENO: result: $CPP" >&5
10752 echo "${ECHO_T}$CPP" >&6
10753 ac_preproc_ok=false
10754 for ac_c_preproc_warn_flag in '' yes
10756 # Use a header file that comes with gcc, so configuring glibc
10757 # with a fresh cross-compiler works.
10758 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10759 # <limits.h> exists even on freestanding compilers.
10760 # On the NeXT, cc -E runs the code through the compiler's parser,
10761 # not just through cpp. "Syntax error" is here to catch this case.
10762 cat >conftest.$ac_ext <<_ACEOF
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10769 # include <limits.h>
10771 # include <assert.h>
10775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10778 grep -v '^ *+' conftest.er1 >conftest.err
10780 cat conftest.err >&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); } >/dev/null; then
10783 if test -s conftest.err; then
10784 ac_cpp_err=$ac_c_preproc_warn_flag
10785 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10792 if test -z "$ac_cpp_err"; then
10795 echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 # Broken: fails on valid input.
10801 rm -f conftest.err conftest.$ac_ext
10803 # OK, works on sane cases. Now check whether non-existent headers
10804 # can be detected and how.
10805 cat >conftest.$ac_ext <<_ACEOF
10808 cat confdefs.h >>conftest.$ac_ext
10809 cat >>conftest.$ac_ext <<_ACEOF
10810 /* end confdefs.h. */
10811 #include <ac_nonexistent.h>
10813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10816 grep -v '^ *+' conftest.er1 >conftest.err
10818 cat conftest.err >&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } >/dev/null; then
10821 if test -s conftest.err; then
10822 ac_cpp_err=$ac_c_preproc_warn_flag
10823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10830 if test -z "$ac_cpp_err"; then
10831 # Broken: success on invalid input.
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10837 # Passes both tests.
10841 rm -f conftest.err conftest.$ac_ext
10844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10845 rm -f conftest.err conftest.$ac_ext
10846 if $ac_preproc_ok; then
10849 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10850 See \`config.log' for more details." >&5
10851 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10852 See \`config.log' for more details." >&2;}
10853 { (exit 1); exit 1; }; }
10857 ac_cpp='$CPP $CPPFLAGS'
10858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10863 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10864 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10865 if test "${ac_cv_header_stdc+set}" = set; then
10866 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 cat >conftest.$ac_ext <<_ACEOF
10871 cat confdefs.h >>conftest.$ac_ext
10872 cat >>conftest.$ac_ext <<_ACEOF
10873 /* end confdefs.h. */
10874 #include <stdlib.h>
10875 #include <stdarg.h>
10876 #include <string.h>
10887 rm -f conftest.$ac_objext
10888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10889 (eval $ac_compile) 2>conftest.er1
10891 grep -v '^ *+' conftest.er1 >conftest.err
10893 cat conftest.err >&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); } &&
10896 { ac_try='test -z "$ac_c_werror_flag"
10897 || test ! -s conftest.err'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; } &&
10903 { ac_try='test -s conftest.$ac_objext'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; }; then
10909 ac_cv_header_stdc=yes
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.$ac_ext >&5
10914 ac_cv_header_stdc=no
10916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10918 if test $ac_cv_header_stdc = yes; then
10919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10920 cat >conftest.$ac_ext <<_ACEOF
10923 cat confdefs.h >>conftest.$ac_ext
10924 cat >>conftest.$ac_ext <<_ACEOF
10925 /* end confdefs.h. */
10926 #include <string.h>
10929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10930 $EGREP "memchr" >/dev/null 2>&1; then
10933 ac_cv_header_stdc=no
10939 if test $ac_cv_header_stdc = yes; then
10940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10941 cat >conftest.$ac_ext <<_ACEOF
10944 cat confdefs.h >>conftest.$ac_ext
10945 cat >>conftest.$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10947 #include <stdlib.h>
10950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10951 $EGREP "free" >/dev/null 2>&1; then
10954 ac_cv_header_stdc=no
10960 if test $ac_cv_header_stdc = yes; then
10961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10962 if test "$cross_compiling" = yes; then
10965 cat >conftest.$ac_ext <<_ACEOF
10968 cat confdefs.h >>conftest.$ac_ext
10969 cat >>conftest.$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10972 #if ((' ' & 0x0FF) == 0x020)
10973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10976 # define ISLOWER(c) \
10977 (('a' <= (c) && (c) <= 'i') \
10978 || ('j' <= (c) && (c) <= 'r') \
10979 || ('s' <= (c) && (c) <= 'z'))
10980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10988 for (i = 0; i < 256; i++)
10989 if (XOR (islower (i), ISLOWER (i))
10990 || toupper (i) != TOUPPER (i))
10995 rm -f conftest$ac_exeext
10996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10997 (eval $ac_link) 2>&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; }; then
11008 echo "$as_me: program exited with status $ac_status" >&5
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11012 ( exit $ac_status )
11013 ac_cv_header_stdc=no
11015 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11019 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11020 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11021 if test $ac_cv_header_stdc = yes; then
11023 cat >>confdefs.h <<\_ACEOF
11024 #define STDC_HEADERS 1
11029 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11039 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11040 inttypes.h stdint.h unistd.h
11042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11043 echo "$as_me:$LINENO: checking for $ac_header" >&5
11044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 cat >conftest.$ac_ext <<_ACEOF
11051 cat confdefs.h >>conftest.$ac_ext
11052 cat >>conftest.$ac_ext <<_ACEOF
11053 /* end confdefs.h. */
11054 $ac_includes_default
11056 #include <$ac_header>
11058 rm -f conftest.$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11062 grep -v '^ *+' conftest.er1 >conftest.err
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 eval "$as_ac_Header=yes"
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.$ac_ext >&5
11085 eval "$as_ac_Header=no"
11087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11092 cat >>confdefs.h <<_ACEOF
11093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11102 for ac_header in dlfcn.h
11104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11106 echo "$as_me:$LINENO: checking for $ac_header" >&5
11107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11114 # Is the header compilable?
11115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11117 cat >conftest.$ac_ext <<_ACEOF
11120 cat confdefs.h >>conftest.$ac_ext
11121 cat >>conftest.$ac_ext <<_ACEOF
11122 /* end confdefs.h. */
11123 $ac_includes_default
11124 #include <$ac_header>
11126 rm -f conftest.$ac_objext
11127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>conftest.er1
11130 grep -v '^ *+' conftest.er1 >conftest.err
11132 cat conftest.err >&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
11135 { ac_try='test -z "$ac_c_werror_flag"
11136 || test ! -s conftest.err'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; } &&
11142 { ac_try='test -s conftest.$ac_objext'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; }; then
11148 ac_header_compiler=yes
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.$ac_ext >&5
11153 ac_header_compiler=no
11155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11157 echo "${ECHO_T}$ac_header_compiler" >&6
11159 # Is the header present?
11160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11162 cat >conftest.$ac_ext <<_ACEOF
11165 cat confdefs.h >>conftest.$ac_ext
11166 cat >>conftest.$ac_ext <<_ACEOF
11167 /* end confdefs.h. */
11168 #include <$ac_header>
11170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11173 grep -v '^ *+' conftest.er1 >conftest.err
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } >/dev/null; then
11178 if test -s conftest.err; then
11179 ac_cpp_err=$ac_c_preproc_warn_flag
11180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11187 if test -z "$ac_cpp_err"; then
11188 ac_header_preproc=yes
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.$ac_ext >&5
11193 ac_header_preproc=no
11195 rm -f conftest.err conftest.$ac_ext
11196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11197 echo "${ECHO_T}$ac_header_preproc" >&6
11199 # So? What about this header?
11200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11206 ac_header_preproc=yes
11209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11223 ## ------------------------------------------------------ ##
11224 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
11225 ## ------------------------------------------------------ ##
11228 sed "s/^/$as_me: WARNING: /" >&2
11231 echo "$as_me:$LINENO: checking for $ac_header" >&5
11232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 eval "$as_ac_Header=\$ac_header_preproc"
11238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11243 cat >>confdefs.h <<_ACEOF
11244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11253 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11254 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11255 (test "X$CXX" != "Xg++"))) ; then
11257 ac_cpp='$CXXCPP $CPPFLAGS'
11258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11261 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11262 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
11263 if test -z "$CXXCPP"; then
11264 if test "${ac_cv_prog_CXXCPP+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 # Double quotes because CXXCPP needs to be expanded
11268 for CXXCPP in "$CXX -E" "/lib/cpp"
11270 ac_preproc_ok=false
11271 for ac_cxx_preproc_warn_flag in '' yes
11273 # Use a header file that comes with gcc, so configuring glibc
11274 # with a fresh cross-compiler works.
11275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11276 # <limits.h> exists even on freestanding compilers.
11277 # On the NeXT, cc -E runs the code through the compiler's parser,
11278 # not just through cpp. "Syntax error" is here to catch this case.
11279 cat >conftest.$ac_ext <<_ACEOF
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11286 # include <limits.h>
11288 # include <assert.h>
11292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11295 grep -v '^ *+' conftest.er1 >conftest.err
11297 cat conftest.err >&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } >/dev/null; then
11300 if test -s conftest.err; then
11301 ac_cpp_err=$ac_cxx_preproc_warn_flag
11302 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11309 if test -z "$ac_cpp_err"; then
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.$ac_ext >&5
11315 # Broken: fails on valid input.
11318 rm -f conftest.err conftest.$ac_ext
11320 # OK, works on sane cases. Now check whether non-existent headers
11321 # can be detected and how.
11322 cat >conftest.$ac_ext <<_ACEOF
11325 cat confdefs.h >>conftest.$ac_ext
11326 cat >>conftest.$ac_ext <<_ACEOF
11327 /* end confdefs.h. */
11328 #include <ac_nonexistent.h>
11330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11333 grep -v '^ *+' conftest.er1 >conftest.err
11335 cat conftest.err >&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } >/dev/null; then
11338 if test -s conftest.err; then
11339 ac_cpp_err=$ac_cxx_preproc_warn_flag
11340 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11347 if test -z "$ac_cpp_err"; then
11348 # Broken: success on invalid input.
11351 echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.$ac_ext >&5
11354 # Passes both tests.
11358 rm -f conftest.err conftest.$ac_ext
11361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11362 rm -f conftest.err conftest.$ac_ext
11363 if $ac_preproc_ok; then
11368 ac_cv_prog_CXXCPP=$CXXCPP
11371 CXXCPP=$ac_cv_prog_CXXCPP
11373 ac_cv_prog_CXXCPP=$CXXCPP
11375 echo "$as_me:$LINENO: result: $CXXCPP" >&5
11376 echo "${ECHO_T}$CXXCPP" >&6
11377 ac_preproc_ok=false
11378 for ac_cxx_preproc_warn_flag in '' yes
11380 # Use a header file that comes with gcc, so configuring glibc
11381 # with a fresh cross-compiler works.
11382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11383 # <limits.h> exists even on freestanding compilers.
11384 # On the NeXT, cc -E runs the code through the compiler's parser,
11385 # not just through cpp. "Syntax error" is here to catch this case.
11386 cat >conftest.$ac_ext <<_ACEOF
11389 cat confdefs.h >>conftest.$ac_ext
11390 cat >>conftest.$ac_ext <<_ACEOF
11391 /* end confdefs.h. */
11393 # include <limits.h>
11395 # include <assert.h>
11399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11402 grep -v '^ *+' conftest.er1 >conftest.err
11404 cat conftest.err >&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } >/dev/null; then
11407 if test -s conftest.err; then
11408 ac_cpp_err=$ac_cxx_preproc_warn_flag
11409 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11416 if test -z "$ac_cpp_err"; then
11419 echo "$as_me: failed program was:" >&5
11420 sed 's/^/| /' conftest.$ac_ext >&5
11422 # Broken: fails on valid input.
11425 rm -f conftest.err conftest.$ac_ext
11427 # OK, works on sane cases. Now check whether non-existent headers
11428 # can be detected and how.
11429 cat >conftest.$ac_ext <<_ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 #include <ac_nonexistent.h>
11437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11440 grep -v '^ *+' conftest.er1 >conftest.err
11442 cat conftest.err >&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } >/dev/null; then
11445 if test -s conftest.err; then
11446 ac_cpp_err=$ac_cxx_preproc_warn_flag
11447 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11454 if test -z "$ac_cpp_err"; then
11455 # Broken: success on invalid input.
11458 echo "$as_me: failed program was:" >&5
11459 sed 's/^/| /' conftest.$ac_ext >&5
11461 # Passes both tests.
11465 rm -f conftest.err conftest.$ac_ext
11468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11469 rm -f conftest.err conftest.$ac_ext
11470 if $ac_preproc_ok; then
11473 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11474 See \`config.log' for more details." >&5
11475 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11476 See \`config.log' for more details." >&2;}
11477 { (exit 1); exit 1; }; }
11481 ac_cpp='$CXXCPP $CPPFLAGS'
11482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11489 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11490 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11491 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11492 if test -n "$ac_tool_prefix"; then
11493 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11497 echo "$as_me:$LINENO: checking for $ac_word" >&5
11498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11499 if test "${ac_cv_prog_F77+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 if test -n "$F77"; then
11503 ac_cv_prog_F77="$F77" # Let the user override the test.
11505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11506 for as_dir in $PATH
11509 test -z "$as_dir" && as_dir=.
11510 for ac_exec_ext in '' $ac_executable_extensions; do
11511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11512 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
11513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11521 F77=$ac_cv_prog_F77
11522 if test -n "$F77"; then
11523 echo "$as_me:$LINENO: result: $F77" >&5
11524 echo "${ECHO_T}$F77" >&6
11526 echo "$as_me:$LINENO: result: no" >&5
11527 echo "${ECHO_T}no" >&6
11530 test -n "$F77" && break
11533 if test -z "$F77"; then
11535 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11537 # Extract the first word of "$ac_prog", so it can be a program name with args.
11538 set dummy $ac_prog; ac_word=$2
11539 echo "$as_me:$LINENO: checking for $ac_word" >&5
11540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11541 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
11542 echo $ECHO_N "(cached) $ECHO_C" >&6
11544 if test -n "$ac_ct_F77"; then
11545 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $PATH
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11554 ac_cv_prog_ac_ct_F77="$ac_prog"
11555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 ac_ct_F77=$ac_cv_prog_ac_ct_F77
11564 if test -n "$ac_ct_F77"; then
11565 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11566 echo "${ECHO_T}$ac_ct_F77" >&6
11568 echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6
11572 test -n "$ac_ct_F77" && break
11579 # Provide some information about the compiler.
11580 echo "$as_me:11580:" \
11581 "checking for Fortran 77 compiler version" >&5
11582 ac_compiler=`set X $ac_compile; echo $2`
11583 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11584 (eval $ac_compiler --version </dev/null >&5) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }
11588 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11589 (eval $ac_compiler -v </dev/null >&5) 2>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }
11593 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11594 (eval $ac_compiler -V </dev/null >&5) 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }
11600 # If we don't use `.F' as extension, the preprocessor is not run on the
11601 # input file. (Note that this only needs to work for GNU compilers.)
11602 ac_save_ext=$ac_ext
11604 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11605 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
11606 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11607 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 cat >conftest.$ac_ext <<_ACEOF
11617 rm -f conftest.$ac_objext
11618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11619 (eval $ac_compile) 2>conftest.er1
11621 grep -v '^ *+' conftest.er1 >conftest.err
11623 cat conftest.err >&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } &&
11626 { ac_try='test -z "$ac_f77_werror_flag"
11627 || test ! -s conftest.err'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; } &&
11633 { ac_try='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 ac_compiler_gnu=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11647 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11650 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11651 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
11652 ac_ext=$ac_save_ext
11653 ac_test_FFLAGS=${FFLAGS+set}
11654 ac_save_FFLAGS=$FFLAGS
11656 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11657 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
11658 if test "${ac_cv_prog_f77_g+set}" = set; then
11659 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 cat >conftest.$ac_ext <<_ACEOF
11667 rm -f conftest.$ac_objext
11668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11669 (eval $ac_compile) 2>conftest.er1
11671 grep -v '^ *+' conftest.er1 >conftest.err
11673 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } &&
11676 { ac_try='test -z "$ac_f77_werror_flag"
11677 || test ! -s conftest.err'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; } &&
11683 { ac_try='test -s conftest.$ac_objext'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; }; then
11689 ac_cv_prog_f77_g=yes
11691 echo "$as_me: failed program was:" >&5
11692 sed 's/^/| /' conftest.$ac_ext >&5
11694 ac_cv_prog_f77_g=no
11696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11699 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11700 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
11701 if test "$ac_test_FFLAGS" = set; then
11702 FFLAGS=$ac_save_FFLAGS
11703 elif test $ac_cv_prog_f77_g = yes; then
11704 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11710 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11717 G77=`test $ac_compiler_gnu = yes && echo yes`
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11726 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11728 # find the maximum length of command line arguments
11729 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11730 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
11731 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11739 # On DJGPP, this test can blow up pretty badly due to problems in libc
11740 # (any single argument exceeding 2000 bytes causes a buffer overrun
11741 # during glob expansion). Even if it were fixed, the result of this
11742 # check would be larger than it should be.
11743 lt_cv_sys_max_cmd_len=12288; # 12K is about right
11747 # Under GNU Hurd, this test is not required because there is
11748 # no limit to the length of command line arguments.
11749 # Libtool will interpret -1 as no limit whatsoever
11750 lt_cv_sys_max_cmd_len=-1;
11754 # On Win9x/ME, this test blows up -- it succeeds, but takes
11755 # about 5 minutes as the teststring grows exponentially.
11756 # Worse, since 9x/ME are not pre-emptively multitasking,
11757 # you end up with a "frozen" computer, even though with patience
11758 # the test eventually succeeds (with a max line length of 256k).
11759 # Instead, let's just punt: use the minimum linelength reported by
11760 # all of the supported platforms: 8192 (on NT/2K/XP).
11761 lt_cv_sys_max_cmd_len=8192;
11765 # On AmigaOS with pdksh, this test takes hours, literally.
11766 # So we just punt and use a minimum line length of 8192.
11767 lt_cv_sys_max_cmd_len=8192;
11770 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
11771 # This has been around since 386BSD, at least. Likely further.
11772 if test -x /sbin/sysctl; then
11773 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
11774 elif test -x /usr/sbin/sysctl; then
11775 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
11777 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
11779 # And add a safety zone
11780 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
11781 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
11784 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
11785 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
11786 # nice to cause kernel panics so lets avoid the loop below.
11787 # First set a reasonable default.
11788 lt_cv_sys_max_cmd_len=16384
11790 if test -x /sbin/sysconfig; then
11791 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
11792 *1*) lt_cv_sys_max_cmd_len=-1 ;;
11797 # If test is not a shell built-in, we'll probably end up computing a
11798 # maximum length that is only half of the actual maximum length, but
11800 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
11801 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
11802 = "XX$teststring") >/dev/null 2>&1 &&
11803 new_result=`expr "X$teststring" : ".*" 2>&1` &&
11804 lt_cv_sys_max_cmd_len=$new_result &&
11805 test $i != 17 # 1/2 MB should be enough
11808 teststring=$teststring$teststring
11811 # Add a significant safety factor because C++ compilers can tack on massive
11812 # amounts of additional arguments before passing them to the linker.
11813 # It appears as though 1/2 is a usable value.
11814 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
11820 if test -n $lt_cv_sys_max_cmd_len ; then
11821 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11822 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
11824 echo "$as_me:$LINENO: result: none" >&5
11825 echo "${ECHO_T}none" >&6
11831 # Check for command to grab the raw symbol name followed by C symbol from nm.
11832 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11833 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
11834 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 # These are sane defaults that work on at least a few old systems.
11839 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
11841 # Character class describing NM global symbol codes.
11842 symcode='[BCDEGRST]'
11844 # Regexp to match symbols that can be accessed directly from C.
11845 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11847 # Transform an extracted symbol line into a proper C declaration
11848 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
11850 # Transform an extracted symbol line into symbol name and symbol address
11851 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'"
11853 # Define system-specific variables.
11858 cygwin* | mingw* | pw32*)
11859 symcode='[ABCDGISTW]'
11861 hpux*) # Its linker distinguishes data from code symbols
11862 if test "$host_cpu" = ia64; then
11863 symcode='[ABCDEGRST]'
11865 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11866 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'"
11869 if test "$host_cpu" = ia64; then
11870 symcode='[ABCDGIRSTW]'
11871 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11872 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'"
11875 irix* | nonstopux*)
11876 symcode='[BCDEGRST]'
11879 symcode='[BCDEGQRST]'
11889 # Handle CRLF in mingw tool chain
11893 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11897 # If we're using GNU nm, then use its standard symbol codes.
11898 case `$NM -V 2>&1` in
11899 *GNU* | *'with BFD'*)
11900 symcode='[ABCDGIRSTW]' ;;
11903 # Try without a prefix undercore, then with it.
11904 for ac_symprfx in "" "_"; do
11906 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
11907 symxfrm="\\1 $ac_symprfx\\2 \\2"
11909 # Write the raw and C identifiers.
11910 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11912 # Check to see that the pipe works correctly.
11916 cat > conftest.$ac_ext <<EOF
11921 void nm_test_func(){}
11925 int main(){nm_test_var='a';nm_test_func();return(0);}
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; then
11933 # Now try to grab the symbols.
11935 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11936 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } && test -s "$nlist"; then
11940 # Try sorting and uniquifying the output.
11941 if sort "$nlist" | uniq > "$nlist"T; then
11942 mv -f "$nlist"T "$nlist"
11947 # Make sure that we snagged all the symbols we need.
11948 if grep ' nm_test_var$' "$nlist" >/dev/null; then
11949 if grep ' nm_test_func$' "$nlist" >/dev/null; then
11950 cat <<EOF > conftest.$ac_ext
11956 # Now generate the symbol file.
11957 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
11959 cat <<EOF >> conftest.$ac_ext
11960 #if defined (__STDC__) && __STDC__
11961 # define lt_ptr_t void *
11963 # define lt_ptr_t char *
11967 /* The mapping between symbol names and symbols. */
11972 lt_preloaded_symbols[] =
11975 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
11976 cat <<\EOF >> conftest.$ac_ext
11984 # Now try linking the two files.
11985 mv conftest.$ac_objext conftstm.$ac_objext
11986 lt_save_LIBS="$LIBS"
11987 lt_save_CFLAGS="$CFLAGS"
11988 LIBS="conftstm.$ac_objext"
11989 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11991 (eval $ac_link) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); } && test -s conftest${ac_exeext}; then
11997 LIBS="$lt_save_LIBS"
11998 CFLAGS="$lt_save_CFLAGS"
12000 echo "cannot find nm_test_func in $nlist" >&5
12003 echo "cannot find nm_test_var in $nlist" >&5
12006 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12009 echo "$progname: failed program was:" >&5
12010 cat conftest.$ac_ext >&5
12012 rm -f conftest* conftst*
12014 # Do not use the global_symbol_pipe unless it works.
12015 if test "$pipe_works" = yes; then
12018 lt_cv_sys_global_symbol_pipe=
12024 if test -z "$lt_cv_sys_global_symbol_pipe"; then
12025 lt_cv_sys_global_symbol_to_cdecl=
12027 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12028 echo "$as_me:$LINENO: result: failed" >&5
12029 echo "${ECHO_T}failed" >&6
12031 echo "$as_me:$LINENO: result: ok" >&5
12032 echo "${ECHO_T}ok" >&6
12035 echo "$as_me:$LINENO: checking for objdir" >&5
12036 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12037 if test "${lt_cv_objdir+set}" = set; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 rm -f .libs 2>/dev/null
12041 mkdir .libs 2>/dev/null
12042 if test -d .libs; then
12045 # MS-DOS does not allow filenames that begin with a dot.
12048 rmdir .libs 2>/dev/null
12050 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12051 echo "${ECHO_T}$lt_cv_objdir" >&6
12052 objdir=$lt_cv_objdir
12060 # AIX sometimes has problems with the GCC collect2 program. For some
12061 # reason, if we set the COLLECT_NAMES environment variable, the problems
12062 # vanish in a puff of smoke.
12063 if test "X${COLLECT_NAMES+set}" != Xset; then
12065 export COLLECT_NAMES
12070 # Sed substitution that helps us do robust quoting. It backslashifies
12071 # metacharacters that are still active within double-quoted strings.
12072 Xsed='sed -e 1s/^X//'
12073 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12075 # Same as above, but do not quote variable references.
12076 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12078 # Sed substitution to delay expansion of an escaped shell variable in a
12079 # double_quote_subst'ed string.
12080 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12082 # Sed substitution to avoid accidental globbing in evaled expressions
12083 no_glob_subst='s/\*/\\\*/g'
12088 # Global variables:
12089 default_ofile=libtool
12090 can_build_shared=yes
12092 # All known linkers require a `.a' archive for static linking (except M$VC,
12093 # which needs '.lib').
12095 ltmain="$ac_aux_dir/ltmain.sh"
12096 ofile="$default_ofile"
12097 with_gnu_ld="$lt_cv_prog_gnu_ld"
12099 if test -n "$ac_tool_prefix"; then
12100 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12101 set dummy ${ac_tool_prefix}ar; ac_word=$2
12102 echo "$as_me:$LINENO: checking for $ac_word" >&5
12103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12104 if test "${ac_cv_prog_AR+set}" = set; then
12105 echo $ECHO_N "(cached) $ECHO_C" >&6
12107 if test -n "$AR"; then
12108 ac_cv_prog_AR="$AR" # Let the user override the test.
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 for as_dir in $PATH
12114 test -z "$as_dir" && as_dir=.
12115 for ac_exec_ext in '' $ac_executable_extensions; do
12116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12117 ac_cv_prog_AR="${ac_tool_prefix}ar"
12118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 if test -n "$AR"; then
12128 echo "$as_me:$LINENO: result: $AR" >&5
12129 echo "${ECHO_T}$AR" >&6
12131 echo "$as_me:$LINENO: result: no" >&5
12132 echo "${ECHO_T}no" >&6
12136 if test -z "$ac_cv_prog_AR"; then
12138 # Extract the first word of "ar", so it can be a program name with args.
12139 set dummy ar; ac_word=$2
12140 echo "$as_me:$LINENO: checking for $ac_word" >&5
12141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12142 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12143 echo $ECHO_N "(cached) $ECHO_C" >&6
12145 if test -n "$ac_ct_AR"; then
12146 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_prog_ac_ct_AR="ar"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12162 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
12165 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12166 if test -n "$ac_ct_AR"; then
12167 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12168 echo "${ECHO_T}$ac_ct_AR" >&6
12170 echo "$as_me:$LINENO: result: no" >&5
12171 echo "${ECHO_T}no" >&6
12176 AR="$ac_cv_prog_AR"
12179 if test -n "$ac_tool_prefix"; then
12180 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12181 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12182 echo "$as_me:$LINENO: checking for $ac_word" >&5
12183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12184 if test "${ac_cv_prog_RANLIB+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 if test -n "$RANLIB"; then
12188 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12206 RANLIB=$ac_cv_prog_RANLIB
12207 if test -n "$RANLIB"; then
12208 echo "$as_me:$LINENO: result: $RANLIB" >&5
12209 echo "${ECHO_T}$RANLIB" >&6
12211 echo "$as_me:$LINENO: result: no" >&5
12212 echo "${ECHO_T}no" >&6
12216 if test -z "$ac_cv_prog_RANLIB"; then
12217 ac_ct_RANLIB=$RANLIB
12218 # Extract the first word of "ranlib", so it can be a program name with args.
12219 set dummy ranlib; ac_word=$2
12220 echo "$as_me:$LINENO: checking for $ac_word" >&5
12221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12222 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 if test -n "$ac_ct_RANLIB"; then
12226 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12229 for as_dir in $PATH
12232 test -z "$as_dir" && as_dir=.
12233 for ac_exec_ext in '' $ac_executable_extensions; do
12234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12235 ac_cv_prog_ac_ct_RANLIB="ranlib"
12236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12242 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12245 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12246 if test -n "$ac_ct_RANLIB"; then
12247 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12248 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12250 echo "$as_me:$LINENO: result: no" >&5
12251 echo "${ECHO_T}no" >&6
12254 RANLIB=$ac_ct_RANLIB
12256 RANLIB="$ac_cv_prog_RANLIB"
12259 if test -n "$ac_tool_prefix"; then
12260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12261 set dummy ${ac_tool_prefix}strip; ac_word=$2
12262 echo "$as_me:$LINENO: checking for $ac_word" >&5
12263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12264 if test "${ac_cv_prog_STRIP+set}" = set; then
12265 echo $ECHO_N "(cached) $ECHO_C" >&6
12267 if test -n "$STRIP"; then
12268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12271 for as_dir in $PATH
12274 test -z "$as_dir" && as_dir=.
12275 for ac_exec_ext in '' $ac_executable_extensions; do
12276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12277 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12286 STRIP=$ac_cv_prog_STRIP
12287 if test -n "$STRIP"; then
12288 echo "$as_me:$LINENO: result: $STRIP" >&5
12289 echo "${ECHO_T}$STRIP" >&6
12291 echo "$as_me:$LINENO: result: no" >&5
12292 echo "${ECHO_T}no" >&6
12296 if test -z "$ac_cv_prog_STRIP"; then
12298 # Extract the first word of "strip", so it can be a program name with args.
12299 set dummy strip; ac_word=$2
12300 echo "$as_me:$LINENO: checking for $ac_word" >&5
12301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12302 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 if test -n "$ac_ct_STRIP"; then
12306 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12309 for as_dir in $PATH
12312 test -z "$as_dir" && as_dir=.
12313 for ac_exec_ext in '' $ac_executable_extensions; do
12314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12315 ac_cv_prog_ac_ct_STRIP="strip"
12316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12322 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12325 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12326 if test -n "$ac_ct_STRIP"; then
12327 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12328 echo "${ECHO_T}$ac_ct_STRIP" >&6
12330 echo "$as_me:$LINENO: result: no" >&5
12331 echo "${ECHO_T}no" >&6
12336 STRIP="$ac_cv_prog_STRIP"
12341 old_CFLAGS="$CFLAGS"
12343 # Set sane defaults for various variables
12344 test -z "$AR" && AR=ar
12345 test -z "$AR_FLAGS" && AR_FLAGS=cru
12346 test -z "$AS" && AS=as
12347 test -z "$CC" && CC=cc
12348 test -z "$LTCC" && LTCC=$CC
12349 test -z "$DLLTOOL" && DLLTOOL=dlltool
12350 test -z "$LD" && LD=ld
12351 test -z "$LN_S" && LN_S="ln -s"
12352 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12353 test -z "$NM" && NM=nm
12354 test -z "$SED" && SED=sed
12355 test -z "$OBJDUMP" && OBJDUMP=objdump
12356 test -z "$RANLIB" && RANLIB=:
12357 test -z "$STRIP" && STRIP=:
12358 test -z "$ac_objext" && ac_objext=o
12360 # Determine commands to create old-style static archives.
12361 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12362 old_postinstall_cmds='chmod 644 $oldlib'
12363 old_postuninstall_cmds=
12365 if test -n "$RANLIB"; then
12368 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12371 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12374 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12377 for cc_temp in $compiler""; do
12379 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12380 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12385 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12388 # Only perform the check for file, if the check method requires it
12389 case $deplibs_check_method in
12391 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12392 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12393 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
12394 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12402 lt_save_MAGIC_CMD="$MAGIC_CMD"
12403 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12404 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12405 for ac_dir in $ac_dummy; do
12407 test -z "$ac_dir" && ac_dir=.
12408 if test -f $ac_dir/${ac_tool_prefix}file; then
12409 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12410 if test -n "$file_magic_test_file"; then
12411 case $deplibs_check_method in
12413 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12414 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12415 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12416 $EGREP "$file_magic_regex" > /dev/null; then
12421 *** Warning: the command libtool uses to detect shared libraries,
12422 *** $file_magic_cmd, produces output that libtool cannot recognize.
12423 *** The result is that libtool may fail to recognize shared libraries
12424 *** as such. This will affect the creation of libtool libraries that
12425 *** depend on shared libraries, but programs linked with such libtool
12426 *** libraries will work regardless of this problem. Nevertheless, you
12427 *** may want to report the problem to your system manager and/or to
12428 *** bug-libtool@gnu.org
12438 MAGIC_CMD="$lt_save_MAGIC_CMD"
12443 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12444 if test -n "$MAGIC_CMD"; then
12445 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12446 echo "${ECHO_T}$MAGIC_CMD" >&6
12448 echo "$as_me:$LINENO: result: no" >&5
12449 echo "${ECHO_T}no" >&6
12452 if test -z "$lt_cv_path_MAGIC_CMD"; then
12453 if test -n "$ac_tool_prefix"; then
12454 echo "$as_me:$LINENO: checking for file" >&5
12455 echo $ECHO_N "checking for file... $ECHO_C" >&6
12456 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12461 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12464 lt_save_MAGIC_CMD="$MAGIC_CMD"
12465 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12466 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12467 for ac_dir in $ac_dummy; do
12469 test -z "$ac_dir" && ac_dir=.
12470 if test -f $ac_dir/file; then
12471 lt_cv_path_MAGIC_CMD="$ac_dir/file"
12472 if test -n "$file_magic_test_file"; then
12473 case $deplibs_check_method in
12475 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12477 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12478 $EGREP "$file_magic_regex" > /dev/null; then
12483 *** Warning: the command libtool uses to detect shared libraries,
12484 *** $file_magic_cmd, produces output that libtool cannot recognize.
12485 *** The result is that libtool may fail to recognize shared libraries
12486 *** as such. This will affect the creation of libtool libraries that
12487 *** depend on shared libraries, but programs linked with such libtool
12488 *** libraries will work regardless of this problem. Nevertheless, you
12489 *** may want to report the problem to your system manager and/or to
12490 *** bug-libtool@gnu.org
12500 MAGIC_CMD="$lt_save_MAGIC_CMD"
12505 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12506 if test -n "$MAGIC_CMD"; then
12507 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12508 echo "${ECHO_T}$MAGIC_CMD" >&6
12510 echo "$as_me:$LINENO: result: no" >&5
12511 echo "${ECHO_T}no" >&6
12524 enable_win32_dll=no
12526 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
12527 if test "${enable_libtool_lock+set}" = set; then
12528 enableval="$enable_libtool_lock"
12531 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12534 # Check whether --with-pic or --without-pic was given.
12535 if test "${with_pic+set}" = set; then
12536 withval="$with_pic"
12537 pic_mode="$withval"
12541 test -z "$pic_mode" && pic_mode=default
12543 # Use C for the default configuration in the libtool script
12547 ac_cpp='$CPP $CPPFLAGS'
12548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12553 # Source file extension for C test sources.
12556 # Object file extension for compiled C test sources.
12560 # Code to be used in simple compile tests
12561 lt_simple_compile_test_code="int some_variable = 0;\n"
12563 # Code to be used in simple link tests
12564 lt_simple_link_test_code='int main(){return(0);}\n'
12567 # If no C compiler was specified, use CC.
12570 # Allow CC to be a program name with arguments.
12574 # save warnings/boilerplate of simple test code
12575 ac_outfile=conftest.$ac_objext
12576 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12577 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
12578 _lt_compiler_boilerplate=`cat conftest.err`
12581 ac_outfile=conftest.$ac_objext
12582 printf "$lt_simple_link_test_code" >conftest.$ac_ext
12583 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
12584 _lt_linker_boilerplate=`cat conftest.err`
12589 # Check for any special shared library compilation flags.
12592 if test "$GCC" = no; then
12595 lt_prog_cc_shlib='-belf'
12599 if test -n "$lt_prog_cc_shlib"; then
12600 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12601 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12602 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12604 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12605 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12606 lt_cv_prog_cc_can_build_shared=no
12612 # Check to make sure the static flag actually works.
12614 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12615 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
12616 if test "${lt_prog_compiler_static_works+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 lt_prog_compiler_static_works=no
12620 save_LDFLAGS="$LDFLAGS"
12621 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12622 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12623 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12624 # The compiler can only warn and ignore the option if not recognized
12625 # So say no if there are warnings
12626 if test -s conftest.err; then
12627 # Append any errors to the config.log.
12628 cat conftest.err 1>&5
12629 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
12630 $SED '/^$/d' conftest.err >conftest.er2
12631 if diff conftest.exp conftest.er2 >/dev/null; then
12632 lt_prog_compiler_static_works=yes
12635 lt_prog_compiler_static_works=yes
12639 LDFLAGS="$save_LDFLAGS"
12642 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12643 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
12645 if test x"$lt_prog_compiler_static_works" = xyes; then
12648 lt_prog_compiler_static=
12654 lt_prog_compiler_no_builtin_flag=
12656 if test "$GCC" = yes; then
12657 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12660 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12661 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12662 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 lt_cv_prog_compiler_rtti_exceptions=no
12666 ac_outfile=conftest.$ac_objext
12667 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12668 lt_compiler_flag="-fno-rtti -fno-exceptions"
12669 # Insert the option either (1) after the last *FLAGS variable, or
12670 # (2) before a word containing "conftest.", or (3) at the end.
12671 # Note that $ac_compile itself does not contain backslashes and begins
12672 # with a dollar sign (not a hyphen), so the echo should work correctly.
12673 # The option is referenced via a variable to avoid confusing sed.
12674 lt_compile=`echo "$ac_compile" | $SED \
12675 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12677 -e 's:$: $lt_compiler_flag:'`
12678 (eval echo "\"\$as_me:12678: $lt_compile\"" >&5)
12679 (eval "$lt_compile" 2>conftest.err)
12681 cat conftest.err >&5
12682 echo "$as_me:12682: \$? = $ac_status" >&5
12683 if (exit $ac_status) && test -s "$ac_outfile"; then
12684 # The compiler can only warn and ignore the option if not recognized
12685 # So say no if there are warnings other than the usual output.
12686 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12687 $SED '/^$/d' conftest.err >conftest.er2
12688 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12689 lt_cv_prog_compiler_rtti_exceptions=yes
12695 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12696 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12698 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12699 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12706 lt_prog_compiler_wl=
12707 lt_prog_compiler_pic=
12708 lt_prog_compiler_static=
12710 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12711 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12713 if test "$GCC" = yes; then
12714 lt_prog_compiler_wl='-Wl,'
12715 lt_prog_compiler_static='-static'
12719 # All AIX code is PIC.
12720 if test "$host_cpu" = ia64; then
12721 # AIX 5 now supports IA64 processor
12722 lt_prog_compiler_static='-Bstatic'
12727 # FIXME: we need at least 68020 code to build shared libraries, but
12728 # adding the `-m68020' flag to GCC prevents building anything better,
12730 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12733 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12734 # PIC is the default for these OSes.
12737 mingw* | pw32* | os2*)
12738 # This hack is so that the source file can tell whether it is being
12739 # built for inclusion in a dll (and should export symbols for example).
12740 lt_prog_compiler_pic='-DDLL_EXPORT'
12743 darwin* | rhapsody*)
12744 # PIC is the default on this platform
12745 # Common symbols not allowed in MH_DYLIB files
12746 lt_prog_compiler_pic='-fno-common'
12750 # Just because we use GCC doesn't mean we suddenly get shared libraries
12751 # on systems that don't support them.
12752 lt_prog_compiler_can_build_shared=no
12757 if test -d /usr/nec; then
12758 lt_prog_compiler_pic=-Kconform_pic
12763 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12764 # not for PA HP-UX.
12765 case "$host_cpu" in
12770 lt_prog_compiler_pic='-fPIC'
12776 lt_prog_compiler_pic='-fPIC'
12780 # PORTME Check for flag to pass linker flags through the system compiler.
12783 lt_prog_compiler_wl='-Wl,'
12784 if test "$host_cpu" = ia64; then
12785 # AIX 5 now supports IA64 processor
12786 lt_prog_compiler_static='-Bstatic'
12788 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12792 # PIC is the default on this platform
12793 # Common symbols not allowed in MH_DYLIB files
12794 case $cc_basename in
12796 lt_prog_compiler_pic='-qnocommon'
12797 lt_prog_compiler_wl='-Wl,'
12802 mingw* | pw32* | os2*)
12803 # This hack is so that the source file can tell whether it is being
12804 # built for inclusion in a dll (and should export symbols for example).
12805 lt_prog_compiler_pic='-DDLL_EXPORT'
12808 hpux9* | hpux10* | hpux11*)
12809 lt_prog_compiler_wl='-Wl,'
12810 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12811 # not for PA HP-UX.
12812 case "$host_cpu" in
12817 lt_prog_compiler_pic='+Z'
12820 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12821 lt_prog_compiler_static='${wl}-a ${wl}archive'
12824 irix5* | irix6* | nonstopux*)
12825 lt_prog_compiler_wl='-Wl,'
12826 # PIC (with -KPIC) is the default.
12827 lt_prog_compiler_static='-non_shared'
12831 lt_prog_compiler_pic='-KPIC'
12832 lt_prog_compiler_static='-Bstatic'
12836 case $cc_basename in
12838 lt_prog_compiler_wl='-Wl,'
12839 lt_prog_compiler_pic='-KPIC'
12840 lt_prog_compiler_static='-static'
12842 pgcc* | pgf77* | pgf90*)
12843 # Portland Group compilers (*not* the Pentium gcc compiler,
12844 # which looks to be a dead project)
12845 lt_prog_compiler_wl='-Wl,'
12846 lt_prog_compiler_pic='-fpic'
12847 lt_prog_compiler_static='-static'
12850 lt_prog_compiler_wl='-Wl,'
12851 # All Alpha code is PIC.
12852 lt_prog_compiler_static='-non_shared'
12857 osf3* | osf4* | osf5*)
12858 lt_prog_compiler_wl='-Wl,'
12859 # All OSF/1 code is PIC.
12860 lt_prog_compiler_static='-non_shared'
12864 lt_prog_compiler_pic='-Kpic'
12865 lt_prog_compiler_static='-dn'
12869 lt_prog_compiler_pic='-KPIC'
12870 lt_prog_compiler_static='-Bstatic'
12871 case $cc_basename in
12872 f77* | f90* | f95*)
12873 lt_prog_compiler_wl='-Qoption ld ';;
12875 lt_prog_compiler_wl='-Wl,';;
12880 lt_prog_compiler_wl='-Qoption ld '
12881 lt_prog_compiler_pic='-PIC'
12882 lt_prog_compiler_static='-Bstatic'
12885 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12886 lt_prog_compiler_wl='-Wl,'
12887 lt_prog_compiler_pic='-KPIC'
12888 lt_prog_compiler_static='-Bstatic'
12892 if test -d /usr/nec ;then
12893 lt_prog_compiler_pic='-Kconform_pic'
12894 lt_prog_compiler_static='-Bstatic'
12899 lt_prog_compiler_wl='-Wl,'
12900 lt_prog_compiler_can_build_shared=no
12904 lt_prog_compiler_pic='-pic'
12905 lt_prog_compiler_static='-Bstatic'
12909 lt_prog_compiler_can_build_shared=no
12914 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12915 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
12918 # Check to make sure the PIC flag actually works.
12920 if test -n "$lt_prog_compiler_pic"; then
12922 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12923 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
12924 if test "${lt_prog_compiler_pic_works+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 lt_prog_compiler_pic_works=no
12928 ac_outfile=conftest.$ac_objext
12929 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12930 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12931 # Insert the option either (1) after the last *FLAGS variable, or
12932 # (2) before a word containing "conftest.", or (3) at the end.
12933 # Note that $ac_compile itself does not contain backslashes and begins
12934 # with a dollar sign (not a hyphen), so the echo should work correctly.
12935 # The option is referenced via a variable to avoid confusing sed.
12936 lt_compile=`echo "$ac_compile" | $SED \
12937 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12939 -e 's:$: $lt_compiler_flag:'`
12940 (eval echo "\"\$as_me:12940: $lt_compile\"" >&5)
12941 (eval "$lt_compile" 2>conftest.err)
12943 cat conftest.err >&5
12944 echo "$as_me:12944: \$? = $ac_status" >&5
12945 if (exit $ac_status) && test -s "$ac_outfile"; then
12946 # The compiler can only warn and ignore the option if not recognized
12947 # So say no if there are warnings other than the usual output.
12948 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12949 $SED '/^$/d' conftest.err >conftest.er2
12950 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12951 lt_prog_compiler_pic_works=yes
12957 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12958 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
12960 if test x"$lt_prog_compiler_pic_works" = xyes; then
12961 case $lt_prog_compiler_pic in
12963 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12966 lt_prog_compiler_pic=
12967 lt_prog_compiler_can_build_shared=no
12972 # For platforms which do not support PIC, -DPIC is meaningless:
12974 lt_prog_compiler_pic=
12977 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12981 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12982 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12983 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 lt_cv_prog_compiler_c_o=no
12987 $rm -r conftest 2>/dev/null
12991 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12993 lt_compiler_flag="-o out/conftest2.$ac_objext"
12994 # Insert the option either (1) after the last *FLAGS variable, or
12995 # (2) before a word containing "conftest.", or (3) at the end.
12996 # Note that $ac_compile itself does not contain backslashes and begins
12997 # with a dollar sign (not a hyphen), so the echo should work correctly.
12998 lt_compile=`echo "$ac_compile" | $SED \
12999 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13001 -e 's:$: $lt_compiler_flag:'`
13002 (eval echo "\"\$as_me:13002: $lt_compile\"" >&5)
13003 (eval "$lt_compile" 2>out/conftest.err)
13005 cat out/conftest.err >&5
13006 echo "$as_me:13006: \$? = $ac_status" >&5
13007 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13009 # The compiler can only warn and ignore the option if not recognized
13010 # So say no if there are warnings
13011 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13012 $SED '/^$/d' out/conftest.err >out/conftest.er2
13013 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13014 lt_cv_prog_compiler_c_o=yes
13019 # SGI C++ compiler will create directory out/ii_files/ for
13020 # template instantiation
13021 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13022 $rm out/* && rmdir out
13028 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
13029 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
13032 hard_links="nottested"
13033 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
13034 # do not overwrite the value of need_locks provided by the user
13035 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13036 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13039 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13041 ln conftest.a conftest.b 2>&5 || hard_links=no
13042 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13043 echo "$as_me:$LINENO: result: $hard_links" >&5
13044 echo "${ECHO_T}$hard_links" >&6
13045 if test "$hard_links" = no; then
13046 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13047 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13054 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13055 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13058 allow_undefined_flag=
13059 enable_shared_with_static_runtimes=no
13061 archive_expsym_cmds=
13062 old_archive_From_new_cmds=
13063 old_archive_from_expsyms_cmds=
13064 export_dynamic_flag_spec=
13065 whole_archive_flag_spec=
13066 thread_safe_flag_spec=
13067 hardcode_libdir_flag_spec=
13068 hardcode_libdir_flag_spec_ld=
13069 hardcode_libdir_separator=
13071 hardcode_minus_L=no
13072 hardcode_shlibpath_var=unsupported
13073 link_all_deplibs=unknown
13074 hardcode_automatic=no
13076 module_expsym_cmds=
13077 always_export_symbols=no
13078 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13079 # include_expsyms should be a list of space-separated symbols to be *always*
13080 # included in the symbol list
13082 # exclude_expsyms can be an extended regexp of symbols to exclude
13083 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13084 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13085 # as well as any symbol that contains `d'.
13086 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
13087 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13088 # platforms (ab)use it in PIC code, but their linkers get confused if
13089 # the symbol is explicitly referenced. Since portable code cannot
13090 # rely on this symbol name, it's probably fine to never include it in
13091 # preloaded symbol tables.
13092 extract_expsyms_cmds=
13093 # Just being paranoid about ensuring that cc_basename is set.
13094 for cc_temp in $compiler""; do
13096 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13097 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13102 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13105 cygwin* | mingw* | pw32*)
13106 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13107 # When not using gcc, we currently assume that we are using
13108 # Microsoft Visual C++.
13109 if test "$GCC" != yes; then
13119 if test "$with_gnu_ld" = yes; then
13120 # If archive_cmds runs LD, not CC, wlarc should be empty
13123 # Set some defaults for GNU ld with shared library support. These
13124 # are reset later if shared libraries are not supported. Putting them
13125 # here allows them to be overridden if necessary.
13126 runpath_var=LD_RUN_PATH
13127 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13128 export_dynamic_flag_spec='${wl}--export-dynamic'
13129 # ancient GNU ld didn't support --whole-archive et. al.
13130 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13131 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13133 whole_archive_flag_spec=
13135 supports_anon_versioning=no
13136 case `$LD -v 2>/dev/null` in
13137 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13138 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13139 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13140 *\ 2.11.*) ;; # other 2.11 versions
13141 *) supports_anon_versioning=yes ;;
13144 # See if GNU ld supports shared libraries.
13146 aix3* | aix4* | aix5*)
13147 # On AIX/PPC, the GNU linker is very broken
13148 if test "$host_cpu" != ia64; then
13152 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13153 *** to be unable to reliably create shared libraries on AIX.
13154 *** Therefore, libtool is disabling shared libraries support. If you
13155 *** really care for shared libraries, you may want to modify your PATH
13156 *** so that a non-GNU linker is found, and then restart.
13163 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)'
13164 hardcode_libdir_flag_spec='-L$libdir'
13165 hardcode_minus_L=yes
13167 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13168 # that the semantics of dynamic libraries on AmigaOS, at least up
13169 # to version 4, is to share data among multiple programs linked
13170 # with the same dynamic library. Since this doesn't match the
13171 # behavior of shared libraries on other platforms, we can't use
13177 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13178 allow_undefined_flag=unsupported
13179 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13180 # support --undefined. This deserves some investigation. FIXME
13181 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13187 cygwin* | mingw* | pw32*)
13188 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13189 # as there is no search path for DLLs.
13190 hardcode_libdir_flag_spec='-L$libdir'
13191 allow_undefined_flag=unsupported
13192 always_export_symbols=no
13193 enable_shared_with_static_runtimes=yes
13194 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13196 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13198 # If the export-symbols file already is a .def file (1st line
13199 # is EXPORTS), use it as is; otherwise, prepend...
13200 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13201 cp $export_symbols $output_objdir/$soname.def;
13203 echo EXPORTS > $output_objdir/$soname.def;
13204 cat $export_symbols >> $output_objdir/$soname.def;
13206 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13213 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13215 case $cc_basename,$host_cpu in
13216 pgcc*) # Portland Group C compiler
13217 whole_archive_flag_spec=
13219 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
13220 whole_archive_flag_spec=
13221 tmp_addflag=' -fpic -Mnomain' ;;
13222 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13223 tmp_addflag=' -i_dynamic' ;;
13224 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13225 tmp_addflag=' -i_dynamic -nofor_main' ;;
13226 ifc* | ifort*) # Intel Fortran compiler
13227 tmp_addflag=' -nofor_main' ;;
13229 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231 if test $supports_anon_versioning = yes; then
13232 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13233 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13234 $echo "local: *; };" >> $output_objdir/$libname.ver~
13235 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13243 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13244 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13248 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13253 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13257 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13258 *** create shared libraries on Solaris systems. Therefore, libtool
13259 *** is disabling shared libraries support. We urge you to upgrade GNU
13260 *** binutils to release 2.9.1 or newer. Another option is to modify
13261 *** your PATH or compiler configuration so that the native linker is
13262 *** used, and then restart.
13265 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13267 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13274 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13276 hardcode_direct=yes
13277 hardcode_shlibpath_var=no
13281 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13283 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13290 if test "$ld_shlibs" = no; then
13292 hardcode_libdir_flag_spec=
13293 export_dynamic_flag_spec=
13294 whole_archive_flag_spec=
13297 # PORTME fill in a description of your system's linker (not GNU ld)
13300 allow_undefined_flag=unsupported
13301 always_export_symbols=yes
13302 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'
13303 # Note: this linker hardcodes the directories in LIBPATH if there
13304 # are no directories specified by -L.
13305 hardcode_minus_L=yes
13306 if test "$GCC" = yes && test -z "$link_static_flag"; then
13307 # Neither direct hardcoding nor static linking is supported with a
13309 hardcode_direct=unsupported
13314 if test "$host_cpu" = ia64; then
13315 # On IA64, the linker does run time linking by default, so we don't
13316 # have to do anything special.
13317 aix_use_runtimelinking=no
13318 exp_sym_flag='-Bexport'
13321 # If we're using GNU nm, then we don't want the "-C" option.
13322 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13323 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13324 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'
13326 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'
13328 aix_use_runtimelinking=no
13330 # Test if we are trying to use run time linking or normal
13331 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13332 # need to do runtime linking.
13333 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13334 for ld_flag in $LDFLAGS; do
13335 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13336 aix_use_runtimelinking=yes
13342 exp_sym_flag='-bexport'
13343 no_entry_flag='-bnoentry'
13346 # When large executables or shared objects are built, AIX ld can
13347 # have problems creating the table of contents. If linking a library
13348 # or program results in "error TOC overflow" add -mminimal-toc to
13349 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13350 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13353 hardcode_direct=yes
13354 hardcode_libdir_separator=':'
13355 link_all_deplibs=yes
13357 if test "$GCC" = yes; then
13358 case $host_os in aix4.[012]|aix4.[012].*)
13359 # We only want to do this on AIX 4.2 and lower, the check
13360 # below for broken collect2 doesn't work under 4.3+
13361 collect2name=`${CC} -print-prog-name=collect2`
13362 if test -f "$collect2name" && \
13363 strings "$collect2name" | grep resolve_lib_name >/dev/null
13365 # We have reworked collect2
13366 hardcode_direct=yes
13368 # We have old collect2
13369 hardcode_direct=unsupported
13370 # It fails to find uninstalled libraries when the uninstalled
13371 # path is not listed in the libpath. Setting hardcode_minus_L
13372 # to unsupported forces relinking
13373 hardcode_minus_L=yes
13374 hardcode_libdir_flag_spec='-L$libdir'
13375 hardcode_libdir_separator=
13378 shared_flag='-shared'
13379 if test "$aix_use_runtimelinking" = yes; then
13380 shared_flag="$shared_flag "'${wl}-G'
13384 if test "$host_cpu" = ia64; then
13385 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13386 # chokes on -Wl,-G. The following line is correct:
13389 if test "$aix_use_runtimelinking" = yes; then
13390 shared_flag='${wl}-G'
13392 shared_flag='${wl}-bM:SRE'
13397 # It seems that -bexpall does not export symbols beginning with
13398 # underscore (_), so it is better to generate a list of symbols to export.
13399 always_export_symbols=yes
13400 if test "$aix_use_runtimelinking" = yes; then
13401 # Warning - without using the other runtime loading flags (-brtl),
13402 # -berok will link without error, but may produce a broken library.
13403 allow_undefined_flag='-berok'
13404 # Determine the default libpath from the value encoded in an empty executable.
13405 cat >conftest.$ac_ext <<_ACEOF
13408 cat confdefs.h >>conftest.$ac_ext
13409 cat >>conftest.$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13420 rm -f conftest.$ac_objext conftest$ac_exeext
13421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13422 (eval $ac_link) 2>conftest.er1
13424 grep -v '^ *+' conftest.er1 >conftest.err
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try='test -z "$ac_c_werror_flag"
13430 || test ! -s conftest.err'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; } &&
13436 { ac_try='test -s conftest$ac_exeext'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; }; then
13443 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13445 # Check for a 64-bit object if we didn't find anything.
13446 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; }
13449 echo "$as_me: failed program was:" >&5
13450 sed 's/^/| /' conftest.$ac_ext >&5
13453 rm -f conftest.err conftest.$ac_objext \
13454 conftest$ac_exeext conftest.$ac_ext
13455 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13457 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13458 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"
13460 if test "$host_cpu" = ia64; then
13461 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13462 allow_undefined_flag="-z nodefs"
13463 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"
13465 # Determine the default libpath from the value encoded in an empty executable.
13466 cat >conftest.$ac_ext <<_ACEOF
13469 cat confdefs.h >>conftest.$ac_ext
13470 cat >>conftest.$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13483 (eval $ac_link) 2>conftest.er1
13485 grep -v '^ *+' conftest.er1 >conftest.err
13487 cat conftest.err >&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); } &&
13490 { ac_try='test -z "$ac_c_werror_flag"
13491 || test ! -s conftest.err'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; } &&
13497 { ac_try='test -s conftest$ac_exeext'
13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499 (eval $ac_try) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; }; then
13504 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13506 # Check for a 64-bit object if we didn't find anything.
13507 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; }
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13514 rm -f conftest.err conftest.$ac_objext \
13515 conftest$ac_exeext conftest.$ac_ext
13516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13518 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13519 # Warning - without using the other run time loading flags,
13520 # -berok will link without error, but may produce a broken library.
13521 no_undefined_flag=' ${wl}-bernotok'
13522 allow_undefined_flag=' ${wl}-berok'
13523 # -bexpall does not export symbols beginning with underscore (_)
13524 always_export_symbols=yes
13525 # Exported symbols can be pulled into shared objects from archives
13526 whole_archive_flag_spec=' '
13527 archive_cmds_need_lc=yes
13528 # This is similar to how AIX traditionally builds it's shared libraries.
13529 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'
13535 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)'
13536 hardcode_libdir_flag_spec='-L$libdir'
13537 hardcode_minus_L=yes
13538 # see comment about different semantics on the GNU ld section
13543 export_dynamic_flag_spec=-rdynamic
13546 cygwin* | mingw* | pw32*)
13547 # When not using gcc, we currently assume that we are using
13548 # Microsoft Visual C++.
13549 # hardcode_libdir_flag_spec is actually meaningless, as there is
13550 # no search path for DLLs.
13551 hardcode_libdir_flag_spec=' '
13552 allow_undefined_flag=unsupported
13553 # Tell ltmain to make .lib files, not .a files.
13555 # Tell ltmain to make .dll files, not .so files.
13557 # FIXME: Setting linknames here is a bad hack.
13558 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13559 # The linker will automatically build a .lib file if we build a DLL.
13560 old_archive_From_new_cmds='true'
13561 # FIXME: Should let the user specify the lib program.
13562 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13563 fix_srcfile_path='`cygpath -w "$srcfile"`'
13564 enable_shared_with_static_runtimes=yes
13567 darwin* | rhapsody*)
13569 rhapsody* | darwin1.[012])
13570 allow_undefined_flag='${wl}-undefined ${wl}suppress'
13573 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13574 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13576 case ${MACOSX_DEPLOYMENT_TARGET} in
13578 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13581 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
13587 archive_cmds_need_lc=no
13589 hardcode_automatic=yes
13590 hardcode_shlibpath_var=unsupported
13591 whole_archive_flag_spec=''
13592 link_all_deplibs=yes
13593 if test "$GCC" = yes ; then
13594 output_verbose_link_cmd='echo'
13595 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13596 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13597 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13598 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}'
13599 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}'
13601 case $cc_basename in
13603 output_verbose_link_cmd='echo'
13604 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13605 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13606 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13607 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}'
13608 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}'
13618 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13619 hardcode_libdir_flag_spec='-L$libdir'
13620 hardcode_shlibpath_var=no
13627 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13628 # support. Future versions do this automatically, but an explicit c++rt0.o
13629 # does not break anything, and helps significantly (at the cost of a little
13632 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13633 hardcode_libdir_flag_spec='-R$libdir'
13634 hardcode_direct=yes
13635 hardcode_shlibpath_var=no
13638 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13640 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13641 hardcode_direct=yes
13642 hardcode_minus_L=yes
13643 hardcode_shlibpath_var=no
13646 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13647 freebsd* | kfreebsd*-gnu | dragonfly*)
13648 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13649 hardcode_libdir_flag_spec='-R$libdir'
13650 hardcode_direct=yes
13651 hardcode_shlibpath_var=no
13655 if test "$GCC" = yes; then
13656 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'
13658 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'
13660 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13661 hardcode_libdir_separator=:
13662 hardcode_direct=yes
13664 # hardcode_minus_L: Not really in the search PATH,
13665 # but as the default location of the library.
13666 hardcode_minus_L=yes
13667 export_dynamic_flag_spec='${wl}-E'
13671 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13672 case "$host_cpu" in
13674 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13677 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13681 case "$host_cpu" in
13683 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13686 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13690 if test "$with_gnu_ld" = no; then
13691 case "$host_cpu" in
13693 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13694 hardcode_libdir_flag_spec_ld='+b $libdir'
13695 hardcode_libdir_separator=:
13697 hardcode_shlibpath_var=no
13700 hardcode_libdir_flag_spec='-L$libdir'
13702 hardcode_shlibpath_var=no
13704 # hardcode_minus_L: Not really in the search PATH,
13705 # but as the default location of the library.
13706 hardcode_minus_L=yes
13709 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13710 hardcode_libdir_separator=:
13711 hardcode_direct=yes
13712 export_dynamic_flag_spec='${wl}-E'
13714 # hardcode_minus_L: Not really in the search PATH,
13715 # but as the default location of the library.
13716 hardcode_minus_L=yes
13722 irix5* | irix6* | nonstopux*)
13723 if test "$GCC" = yes; then
13724 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'
13726 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'
13727 hardcode_libdir_flag_spec_ld='-rpath $libdir'
13729 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13730 hardcode_libdir_separator=:
13731 link_all_deplibs=yes
13735 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13738 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13740 hardcode_libdir_flag_spec='-R$libdir'
13741 hardcode_direct=yes
13742 hardcode_shlibpath_var=no
13746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13747 hardcode_direct=yes
13748 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13749 hardcode_libdir_separator=:
13750 hardcode_shlibpath_var=no
13754 hardcode_direct=yes
13755 hardcode_shlibpath_var=no
13756 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13757 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13758 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13759 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13760 export_dynamic_flag_spec='${wl}-E'
13763 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13764 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13765 hardcode_libdir_flag_spec='-R$libdir'
13768 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13769 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13776 hardcode_libdir_flag_spec='-L$libdir'
13777 hardcode_minus_L=yes
13778 allow_undefined_flag=unsupported
13779 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'
13780 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13784 if test "$GCC" = yes; then
13785 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13786 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'
13788 allow_undefined_flag=' -expect_unresolved \*'
13789 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'
13791 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13792 hardcode_libdir_separator=:
13795 osf4* | osf5*) # as osf3* with the addition of -msym flag
13796 if test "$GCC" = yes; then
13797 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13798 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'
13799 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13801 allow_undefined_flag=' -expect_unresolved \*'
13802 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'
13803 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13804 $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'
13806 # Both c and cxx compiler support -rpath directly
13807 hardcode_libdir_flag_spec='-rpath $libdir'
13809 hardcode_libdir_separator=:
13813 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13814 hardcode_shlibpath_var=no
13815 export_dynamic_flag_spec='${wl}-Bexport'
13816 runpath_var=LD_RUN_PATH
13817 hardcode_runpath_var=yes
13821 no_undefined_flag=' -z text'
13822 if test "$GCC" = yes; then
13824 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13825 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13826 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13829 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13830 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13831 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13833 hardcode_libdir_flag_spec='-R$libdir'
13834 hardcode_shlibpath_var=no
13836 solaris2.[0-5] | solaris2.[0-5].*) ;;
13838 # The compiler driver will combine linker options so we
13839 # cannot just pass the convience library names through
13840 # without $wl, iff we do not link with $LD.
13841 # Luckily, gcc supports the same syntax we need for Sun Studio.
13842 # Supported since Solaris 2.6 (maybe 2.5.1?)
13845 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13847 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' ;;
13850 link_all_deplibs=yes
13854 if test "x$host_vendor" = xsequent; then
13855 # Use $CC to link under sequent, because it throws in some extra .o
13856 # files that make .init and .fini sections work.
13857 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13859 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13861 hardcode_libdir_flag_spec='-L$libdir'
13862 hardcode_direct=yes
13863 hardcode_minus_L=yes
13864 hardcode_shlibpath_var=no
13868 case $host_vendor in
13870 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13871 hardcode_direct=yes # is this really true???
13874 ## LD is ld it makes a PLAMLIB
13875 ## CC just makes a GrossModule.
13876 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13877 reload_cmds='$CC -r -o $output$reload_objs'
13881 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13882 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13885 runpath_var='LD_RUN_PATH'
13886 hardcode_shlibpath_var=no
13890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13891 hardcode_shlibpath_var=no
13892 export_dynamic_flag_spec='-Bexport'
13896 if test -d /usr/nec; then
13897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13898 hardcode_shlibpath_var=no
13899 runpath_var=LD_RUN_PATH
13900 hardcode_runpath_var=yes
13906 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13907 hardcode_direct=yes
13908 hardcode_minus_L=no
13909 hardcode_shlibpath_var=no
13910 hardcode_runpath_var=yes
13911 runpath_var=LD_RUN_PATH
13914 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13915 no_undefined_flag='${wl}-z ${wl}text'
13916 if test "$GCC" = yes; then
13917 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13919 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13921 runpath_var='LD_RUN_PATH'
13922 hardcode_shlibpath_var=no
13926 no_undefined_flag=' -z text'
13927 # $CC -shared without GNU ld will not create a library from C++
13928 # object files and a static libstdc++, better avoid it by now
13929 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13930 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13931 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13932 hardcode_libdir_flag_spec=
13933 hardcode_shlibpath_var=no
13934 runpath_var='LD_RUN_PATH'
13938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13939 hardcode_libdir_flag_spec='-L$libdir'
13940 hardcode_shlibpath_var=no
13949 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13950 echo "${ECHO_T}$ld_shlibs" >&6
13951 test "$ld_shlibs" = no && can_build_shared=no
13953 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13954 if test "$GCC" = yes; then
13955 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13959 # Do we need to explicitly link libc?
13961 case "x$archive_cmds_need_lc" in
13963 # Assume -lc should be added
13964 archive_cmds_need_lc=yes
13966 if test "$enable_shared" = yes && test "$GCC" = yes; then
13967 case $archive_cmds in
13969 # FIXME: we may have to deal with multi-command sequences.
13972 # Test whether the compiler implicitly links with -lc since on some
13973 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13974 # to ld, don't add -lc before -lgcc.
13975 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13976 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13978 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13981 (eval $ac_compile) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } 2>conftest.err; then
13987 libobjs=conftest.$ac_objext
13989 wl=$lt_prog_compiler_wl
13995 lt_save_allow_undefined_flag=$allow_undefined_flag
13996 allow_undefined_flag=
13997 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13998 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }
14003 archive_cmds_need_lc=no
14005 archive_cmds_need_lc=yes
14007 allow_undefined_flag=$lt_save_allow_undefined_flag
14009 cat conftest.err 1>&5
14012 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
14013 echo "${ECHO_T}$archive_cmds_need_lc" >&6
14020 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14021 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14022 library_names_spec=
14023 libname_spec='lib$name'
14027 postuninstall_cmds=
14031 shlibpath_overrides_runpath=unknown
14033 dynamic_linker="$host_os ld.so"
14034 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14035 if test "$GCC" = yes; then
14036 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14037 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14038 # if the path contains ";" then we assume it to be the separator
14039 # otherwise default to the standard path separator (i.e. ":") - it is
14040 # assumed that no part of a normal pathname contains ";" but that should
14041 # okay in the real world where ";" in dirpaths is itself problematic.
14042 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14044 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14047 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14049 need_lib_prefix=unknown
14050 hardcode_into_libs=no
14052 # when you set need_version to no, make sure it does not cause -set_version
14053 # flags to be left without arguments
14054 need_version=unknown
14059 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14060 shlibpath_var=LIBPATH
14062 # AIX 3 has no versioning support, so we append a major version to the name.
14063 soname_spec='${libname}${release}${shared_ext}$major'
14070 hardcode_into_libs=yes
14071 if test "$host_cpu" = ia64; then
14072 # AIX 5 supports IA64
14073 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14074 shlibpath_var=LD_LIBRARY_PATH
14076 # With GCC up to 2.95.x, collect2 would create an import file
14077 # for dependence libraries. The import file would start with
14078 # the line `#! .'. This would cause the generated library to
14079 # depend on `.', always an invalid library. This was fixed in
14080 # development snapshots of GCC prior to 3.0.
14082 aix4 | aix4.[01] | aix4.[01].*)
14083 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14085 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14088 can_build_shared=no
14092 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14093 # soname into executable. Probably we can add versioning support to
14094 # collect2, so additional links can be useful in future.
14095 if test "$aix_use_runtimelinking" = yes; then
14096 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14097 # instead of lib<name>.a to let people know that these are not
14098 # typical AIX shared libraries.
14099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14101 # We preserve .a as extension for shared libraries through AIX4.2
14102 # and later when we are not doing run time linking.
14103 library_names_spec='${libname}${release}.a $libname.a'
14104 soname_spec='${libname}${release}${shared_ext}$major'
14106 shlibpath_var=LIBPATH
14111 library_names_spec='$libname.ixlibrary $libname.a'
14112 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14113 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'
14117 library_names_spec='${libname}${shared_ext}'
14118 dynamic_linker="$host_os ld.so"
14119 shlibpath_var=LIBRARY_PATH
14125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14126 soname_spec='${libname}${release}${shared_ext}$major'
14127 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14128 shlibpath_var=LD_LIBRARY_PATH
14129 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14130 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14131 # the default ld.so.conf also contains /usr/contrib/lib and
14132 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14133 # libtool to hard-code these into programs
14136 cygwin* | mingw* | pw32*)
14137 version_type=windows
14142 case $GCC,$host_os in
14143 yes,cygwin* | yes,mingw* | yes,pw32*)
14144 library_names_spec='$libname.dll.a'
14145 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14146 postinstall_cmds='base_file=`basename \${file}`~
14147 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14148 dldir=$destdir/`dirname \$dlpath`~
14149 test -d \$dldir || mkdir -p \$dldir~
14150 $install_prog $dir/$dlname \$dldir/$dlname'
14151 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14152 dlpath=$dir/\$dldll~
14154 shlibpath_overrides_runpath=yes
14158 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14159 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14160 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14163 # MinGW DLLs use traditional 'lib' prefix
14164 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14165 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14166 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14167 # It is most probably a Windows format PATH printed by
14168 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14169 # path with ; separators, and with drive letters. We can handle the
14170 # drive letters (cygwin fileutils understands them), so leave them,
14171 # especially as we might pass files found there to a mingw objdump,
14172 # which wouldn't understand a cygwinified path. Ahh.
14173 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14175 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14179 # pw32 DLLs use 'pw' prefix rather than 'lib'
14180 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14186 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14189 dynamic_linker='Win32 ld.exe'
14190 # FIXME: first we should search . and the directory the executable is in
14194 darwin* | rhapsody*)
14195 dynamic_linker="$host_os dyld"
14196 version_type=darwin
14199 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14200 soname_spec='${libname}${release}${major}$shared_ext'
14201 shlibpath_overrides_runpath=yes
14202 shlibpath_var=DYLD_LIBRARY_PATH
14203 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14204 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14205 if test "$GCC" = yes; then
14206 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"`
14208 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14210 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14218 soname_spec='${libname}${release}${shared_ext}$major'
14219 shlibpath_var=LD_LIBRARY_PATH
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14231 soname_spec='${libname}${release}${shared_ext}$major'
14232 shlibpath_var=LD_LIBRARY_PATH
14233 shlibpath_overrides_runpath=no
14234 hardcode_into_libs=yes
14235 dynamic_linker='GNU ld.so'
14238 freebsd* | dragonfly*)
14239 # DragonFly does not have aout. When/if they implement a new
14240 # versioning mechanism, adjust this.
14241 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14242 version_type=freebsd-$objformat
14243 case $version_type in
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14250 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14254 shlibpath_var=LD_LIBRARY_PATH
14257 shlibpath_overrides_runpath=yes
14259 freebsd3.[01]* | freebsdelf3.[01]*)
14260 shlibpath_overrides_runpath=yes
14261 hardcode_into_libs=yes
14264 shlibpath_overrides_runpath=no
14265 hardcode_into_libs=yes
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14275 soname_spec='${libname}${release}${shared_ext}$major'
14276 shlibpath_var=LD_LIBRARY_PATH
14277 hardcode_into_libs=yes
14280 hpux9* | hpux10* | hpux11*)
14281 # Give a soname corresponding to the major version so that dld.sl refuses to
14282 # link against other versions.
14286 case "$host_cpu" in
14289 hardcode_into_libs=yes
14290 dynamic_linker="$host_os dld.so"
14291 shlibpath_var=LD_LIBRARY_PATH
14292 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14294 soname_spec='${libname}${release}${shared_ext}$major'
14295 if test "X$HPUX_IA64_MODE" = X32; then
14296 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14298 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14300 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14304 hardcode_into_libs=yes
14305 dynamic_linker="$host_os dld.sl"
14306 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14307 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14309 soname_spec='${libname}${release}${shared_ext}$major'
14310 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14311 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14315 dynamic_linker="$host_os dld.sl"
14316 shlibpath_var=SHLIB_PATH
14317 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14322 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14323 postinstall_cmds='chmod 555 $lib'
14326 irix5* | irix6* | nonstopux*)
14328 nonstopux*) version_type=nonstopux ;;
14330 if test "$lt_cv_prog_gnu_ld" = yes; then
14338 soname_spec='${libname}${release}${shared_ext}$major'
14339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14341 irix5* | nonstopux*)
14342 libsuff= shlibsuff=
14345 case $LD in # libtool.m4 will add one of these switches to LD
14346 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14347 libsuff= shlibsuff= libmagic=32-bit;;
14348 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14349 libsuff=32 shlibsuff=N32 libmagic=N32;;
14350 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14351 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14352 *) libsuff= shlibsuff= libmagic=never-match;;
14356 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14357 shlibpath_overrides_runpath=no
14358 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14359 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14360 hardcode_into_libs=yes
14363 # No shared lib support for Linux oldld, aout, or coff.
14364 linux*oldld* | linux*aout* | linux*coff*)
14368 # This must be Linux ELF.
14373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14374 soname_spec='${libname}${release}${shared_ext}$major'
14375 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14376 shlibpath_var=LD_LIBRARY_PATH
14377 shlibpath_overrides_runpath=no
14378 # This implies no fast_install, which is unacceptable.
14379 # Some rework will be needed to allow for fast_install
14380 # before this can be enabled.
14381 hardcode_into_libs=yes
14383 # find out which ABI we are using
14385 case "$host_cpu" in
14386 x86_64*|s390x*|powerpc64*)
14387 echo '#line 14387 "configure"' > conftest.$ac_ext
14388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14389 (eval $ac_compile) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; then
14393 case `/usr/bin/file conftest.$ac_objext` in
14396 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14404 # Append ld.so.conf contents to the search path
14405 if test -f /etc/ld.so.conf; then
14406 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' ' '`
14407 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14410 # We used to test for /lib/ld.so.1 and disable shared libraries on
14411 # powerpc, because MkLinux only supported shared libraries with the
14412 # GNU dynamic linker. Since this was broken with cross compilers,
14413 # most powerpc-linux boxes support dynamic linking these days and
14414 # people can always --disable-shared, the test was removed, and we
14415 # assume the GNU/Linux dynamic linker is in use.
14416 dynamic_linker='GNU/Linux ld.so'
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14424 soname_spec='${libname}${release}${shared_ext}$major'
14425 shlibpath_var=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath=no
14427 hardcode_into_libs=yes
14428 dynamic_linker='GNU ld.so'
14435 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14437 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14438 dynamic_linker='NetBSD (a.out) ld.so'
14440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14441 soname_spec='${libname}${release}${shared_ext}$major'
14442 dynamic_linker='NetBSD ld.elf_so'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath=yes
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 shlibpath_var=LD_LIBRARY_PATH
14463 shlibpath_overrides_runpath=yes
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14472 shlibpath_var=LD_LIBRARY_PATH
14473 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14475 openbsd2.[89] | openbsd2.[89].*)
14476 shlibpath_overrides_runpath=no
14479 shlibpath_overrides_runpath=yes
14483 shlibpath_overrides_runpath=yes
14488 libname_spec='$name'
14491 library_names_spec='$libname${shared_ext} $libname.a'
14492 dynamic_linker='OS/2 ld.exe'
14493 shlibpath_var=LIBPATH
14496 osf3* | osf4* | osf5*)
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 shlibpath_var=LD_LIBRARY_PATH
14503 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14504 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14509 soname_spec='${libname}${release}${shared_ext}$major'
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 shlibpath_var=LD_LIBRARY_PATH
14518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14519 soname_spec='${libname}${release}${shared_ext}$major'
14520 shlibpath_var=LD_LIBRARY_PATH
14521 shlibpath_overrides_runpath=yes
14522 hardcode_into_libs=yes
14523 # ldd complains unless libraries are executable
14524 postinstall_cmds='chmod +x $lib'
14529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14530 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 shlibpath_overrides_runpath=yes
14533 if test "$with_gnu_ld" = yes; then
14539 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14542 soname_spec='${libname}${release}${shared_ext}$major'
14543 shlibpath_var=LD_LIBRARY_PATH
14544 case $host_vendor in
14546 shlibpath_overrides_runpath=no
14548 export_dynamic_flag_spec='${wl}-Blargedynsym'
14549 runpath_var=LD_RUN_PATH
14557 shlibpath_overrides_runpath=no
14558 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14564 if test -d /usr/nec ;then
14566 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14567 soname_spec='$libname${shared_ext}.$major'
14568 shlibpath_var=LD_LIBRARY_PATH
14574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575 soname_spec='${libname}${release}${shared_ext}$major'
14576 shlibpath_var=LD_LIBRARY_PATH
14583 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14584 echo "${ECHO_T}$dynamic_linker" >&6
14585 test "$dynamic_linker" = no && can_build_shared=no
14587 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14588 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14590 if test -n "$hardcode_libdir_flag_spec" || \
14591 test -n "$runpath_var" || \
14592 test "X$hardcode_automatic" = "Xyes" ; then
14594 # We can hardcode non-existant directories.
14595 if test "$hardcode_direct" != no &&
14596 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14597 # have to relink, otherwise we might link with an installed library
14598 # when we should be linking with a yet-to-be-installed one
14599 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
14600 test "$hardcode_minus_L" != no; then
14601 # Linking always hardcodes the temporary library directory.
14602 hardcode_action=relink
14604 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14605 hardcode_action=immediate
14608 # We cannot hardcode anything, or else we can only hardcode existing
14610 hardcode_action=unsupported
14612 echo "$as_me:$LINENO: result: $hardcode_action" >&5
14613 echo "${ECHO_T}$hardcode_action" >&6
14615 if test "$hardcode_action" = relink; then
14616 # Fast installation is not supported
14617 enable_fast_install=no
14618 elif test "$shlibpath_overrides_runpath" = yes ||
14619 test "$enable_shared" = no; then
14620 # Fast installation is not necessary
14621 enable_fast_install=needless
14626 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14627 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14628 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14629 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14630 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14631 echo "$as_me:$LINENO: result: yes" >&5
14632 echo "${ECHO_T}yes" >&6
14634 # FIXME - insert some real tests, host_os isn't really good enough
14637 if test -n "$STRIP" ; then
14638 striplib="$STRIP -x"
14639 echo "$as_me:$LINENO: result: yes" >&5
14640 echo "${ECHO_T}yes" >&6
14642 echo "$as_me:$LINENO: result: no" >&5
14643 echo "${ECHO_T}no" >&6
14647 echo "$as_me:$LINENO: result: no" >&5
14648 echo "${ECHO_T}no" >&6
14653 if test "x$enable_dlopen" != xyes; then
14654 enable_dlopen=unknown
14655 enable_dlopen_self=unknown
14656 enable_dlopen_self_static=unknown
14663 lt_cv_dlopen="load_add_on"
14665 lt_cv_dlopen_self=yes
14669 lt_cv_dlopen="LoadLibrary"
14674 lt_cv_dlopen="dlopen"
14679 # if libdl is installed we need to link against it
14680 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14681 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14682 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14683 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 ac_check_lib_save_LIBS=$LIBS
14687 cat >conftest.$ac_ext <<_ACEOF
14690 cat confdefs.h >>conftest.$ac_ext
14691 cat >>conftest.$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14694 /* Override any gcc2 internal prototype to avoid an error. */
14698 /* We use char because int might match the return type of a gcc2
14699 builtin and then its argument prototype would still apply. */
14709 rm -f conftest.$ac_objext conftest$ac_exeext
14710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14711 (eval $ac_link) 2>conftest.er1
14713 grep -v '^ *+' conftest.er1 >conftest.err
14715 cat conftest.err >&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); } &&
14718 { ac_try='test -z "$ac_c_werror_flag"
14719 || test ! -s conftest.err'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; } &&
14725 { ac_try='test -s conftest$ac_exeext'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 ac_cv_lib_dl_dlopen=yes
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.$ac_ext >&5
14736 ac_cv_lib_dl_dlopen=no
14738 rm -f conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 LIBS=$ac_check_lib_save_LIBS
14742 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14743 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14744 if test $ac_cv_lib_dl_dlopen = yes; then
14745 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14748 lt_cv_dlopen="dyld"
14750 lt_cv_dlopen_self=yes
14757 echo "$as_me:$LINENO: checking for shl_load" >&5
14758 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14759 if test "${ac_cv_func_shl_load+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 cat >conftest.$ac_ext <<_ACEOF
14765 cat confdefs.h >>conftest.$ac_ext
14766 cat >>conftest.$ac_ext <<_ACEOF
14767 /* end confdefs.h. */
14768 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14770 #define shl_load innocuous_shl_load
14772 /* System header to define __stub macros and hopefully few prototypes,
14773 which can conflict with char shl_load (); below.
14774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14775 <limits.h> exists even on freestanding compilers. */
14778 # include <limits.h>
14780 # include <assert.h>
14785 /* Override any gcc2 internal prototype to avoid an error. */
14790 /* We use char because int might match the return type of a gcc2
14791 builtin and then its argument prototype would still apply. */
14793 /* The GNU C library defines this for functions which it implements
14794 to always fail with ENOSYS. Some functions are actually named
14795 something starting with __ and the normal name is an alias. */
14796 #if defined (__stub_shl_load) || defined (__stub___shl_load)
14799 char (*f) () = shl_load;
14808 return f != shl_load;
14813 rm -f conftest.$ac_objext conftest$ac_exeext
14814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14815 (eval $ac_link) 2>conftest.er1
14817 grep -v '^ *+' conftest.er1 >conftest.err
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } &&
14822 { ac_try='test -z "$ac_c_werror_flag"
14823 || test ! -s conftest.err'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; } &&
14829 { ac_try='test -s conftest$ac_exeext'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; }; then
14835 ac_cv_func_shl_load=yes
14837 echo "$as_me: failed program was:" >&5
14838 sed 's/^/| /' conftest.$ac_ext >&5
14840 ac_cv_func_shl_load=no
14842 rm -f conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14845 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14846 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14847 if test $ac_cv_func_shl_load = yes; then
14848 lt_cv_dlopen="shl_load"
14850 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14851 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14852 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14853 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 ac_check_lib_save_LIBS=$LIBS
14857 cat >conftest.$ac_ext <<_ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14864 /* Override any gcc2 internal prototype to avoid an error. */
14868 /* We use char because int might match the return type of a gcc2
14869 builtin and then its argument prototype would still apply. */
14879 rm -f conftest.$ac_objext conftest$ac_exeext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14881 (eval $ac_link) 2>conftest.er1
14883 grep -v '^ *+' conftest.er1 >conftest.err
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } &&
14888 { ac_try='test -z "$ac_c_werror_flag"
14889 || test ! -s conftest.err'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; } &&
14895 { ac_try='test -s conftest$ac_exeext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 ac_cv_lib_dld_shl_load=yes
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14906 ac_cv_lib_dld_shl_load=no
14908 rm -f conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14913 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14914 if test $ac_cv_lib_dld_shl_load = yes; then
14915 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14917 echo "$as_me:$LINENO: checking for dlopen" >&5
14918 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14919 if test "${ac_cv_func_dlopen+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 cat >conftest.$ac_ext <<_ACEOF
14925 cat confdefs.h >>conftest.$ac_ext
14926 cat >>conftest.$ac_ext <<_ACEOF
14927 /* end confdefs.h. */
14928 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14930 #define dlopen innocuous_dlopen
14932 /* System header to define __stub macros and hopefully few prototypes,
14933 which can conflict with char dlopen (); below.
14934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14935 <limits.h> exists even on freestanding compilers. */
14938 # include <limits.h>
14940 # include <assert.h>
14945 /* Override any gcc2 internal prototype to avoid an error. */
14950 /* We use char because int might match the return type of a gcc2
14951 builtin and then its argument prototype would still apply. */
14953 /* The GNU C library defines this for functions which it implements
14954 to always fail with ENOSYS. Some functions are actually named
14955 something starting with __ and the normal name is an alias. */
14956 #if defined (__stub_dlopen) || defined (__stub___dlopen)
14959 char (*f) () = dlopen;
14968 return f != dlopen;
14973 rm -f conftest.$ac_objext conftest$ac_exeext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14975 (eval $ac_link) 2>conftest.er1
14977 grep -v '^ *+' conftest.er1 >conftest.err
14979 cat conftest.err >&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try='test -z "$ac_c_werror_flag"
14983 || test ! -s conftest.err'
14984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985 (eval $ac_try) 2>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; } &&
14989 { ac_try='test -s conftest$ac_exeext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14995 ac_cv_func_dlopen=yes
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
15000 ac_cv_func_dlopen=no
15002 rm -f conftest.err conftest.$ac_objext \
15003 conftest$ac_exeext conftest.$ac_ext
15005 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15006 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15007 if test $ac_cv_func_dlopen = yes; then
15008 lt_cv_dlopen="dlopen"
15010 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15011 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15012 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 ac_check_lib_save_LIBS=$LIBS
15017 cat >conftest.$ac_ext <<_ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15024 /* Override any gcc2 internal prototype to avoid an error. */
15028 /* We use char because int might match the return type of a gcc2
15029 builtin and then its argument prototype would still apply. */
15039 rm -f conftest.$ac_objext conftest$ac_exeext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15041 (eval $ac_link) 2>conftest.er1
15043 grep -v '^ *+' conftest.er1 >conftest.err
15045 cat conftest.err >&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } &&
15048 { ac_try='test -z "$ac_c_werror_flag"
15049 || test ! -s conftest.err'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; } &&
15055 { ac_try='test -s conftest$ac_exeext'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; }; then
15061 ac_cv_lib_dl_dlopen=yes
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.$ac_ext >&5
15066 ac_cv_lib_dl_dlopen=no
15068 rm -f conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15070 LIBS=$ac_check_lib_save_LIBS
15072 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15073 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15074 if test $ac_cv_lib_dl_dlopen = yes; then
15075 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15077 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15078 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15079 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 ac_check_lib_save_LIBS=$LIBS
15083 LIBS="-lsvld $LIBS"
15084 cat >conftest.$ac_ext <<_ACEOF
15087 cat confdefs.h >>conftest.$ac_ext
15088 cat >>conftest.$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15091 /* Override any gcc2 internal prototype to avoid an error. */
15095 /* We use char because int might match the return type of a gcc2
15096 builtin and then its argument prototype would still apply. */
15106 rm -f conftest.$ac_objext conftest$ac_exeext
15107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15108 (eval $ac_link) 2>conftest.er1
15110 grep -v '^ *+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } &&
15115 { ac_try='test -z "$ac_c_werror_flag"
15116 || test ! -s conftest.err'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; } &&
15122 { ac_try='test -s conftest$ac_exeext'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; }; then
15128 ac_cv_lib_svld_dlopen=yes
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15133 ac_cv_lib_svld_dlopen=no
15135 rm -f conftest.err conftest.$ac_objext \
15136 conftest$ac_exeext conftest.$ac_ext
15137 LIBS=$ac_check_lib_save_LIBS
15139 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15140 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15141 if test $ac_cv_lib_svld_dlopen = yes; then
15142 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15144 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15145 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15146 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 ac_check_lib_save_LIBS=$LIBS
15151 cat >conftest.$ac_ext <<_ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15158 /* Override any gcc2 internal prototype to avoid an error. */
15162 /* We use char because int might match the return type of a gcc2
15163 builtin and then its argument prototype would still apply. */
15173 rm -f conftest.$ac_objext conftest$ac_exeext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15175 (eval $ac_link) 2>conftest.er1
15177 grep -v '^ *+' conftest.er1 >conftest.err
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try='test -z "$ac_c_werror_flag"
15183 || test ! -s conftest.err'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; } &&
15189 { ac_try='test -s conftest$ac_exeext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_lib_dld_dld_link=yes
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15200 ac_cv_lib_dld_dld_link=no
15202 rm -f conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_lib_save_LIBS
15206 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15207 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15208 if test $ac_cv_lib_dld_dld_link = yes; then
15209 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15230 if test "x$lt_cv_dlopen" != xno; then
15236 case $lt_cv_dlopen in
15238 save_CPPFLAGS="$CPPFLAGS"
15239 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15241 save_LDFLAGS="$LDFLAGS"
15242 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15245 LIBS="$lt_cv_dlopen_libs $LIBS"
15247 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15248 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15249 if test "${lt_cv_dlopen_self+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 if test "$cross_compiling" = yes; then :
15253 lt_cv_dlopen_self=cross
15255 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15256 lt_status=$lt_dlunknown
15257 cat > conftest.$ac_ext <<EOF
15258 #line 15258 "configure"
15259 #include "confdefs.h"
15268 # define LT_DLGLOBAL RTLD_GLOBAL
15271 # define LT_DLGLOBAL DL_GLOBAL
15273 # define LT_DLGLOBAL 0
15277 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15278 find out it does not work in some platform. */
15279 #ifndef LT_DLLAZY_OR_NOW
15281 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15284 # define LT_DLLAZY_OR_NOW DL_LAZY
15287 # define LT_DLLAZY_OR_NOW RTLD_NOW
15290 # define LT_DLLAZY_OR_NOW DL_NOW
15292 # define LT_DLLAZY_OR_NOW 0
15300 extern "C" void exit (int);
15303 void fnord() { int i=42;}
15306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15307 int status = $lt_dlunknown;
15311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15312 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15313 /* dlclose (self); */
15319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15320 (eval $ac_link) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15324 (./conftest; exit; ) 2>/dev/null
15326 case x$lt_status in
15327 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15328 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15329 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15332 # compilation failed
15333 lt_cv_dlopen_self=no
15340 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15341 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15343 if test "x$lt_cv_dlopen_self" = xyes; then
15344 LDFLAGS="$LDFLAGS $link_static_flag"
15345 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15346 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15347 if test "${lt_cv_dlopen_self_static+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 if test "$cross_compiling" = yes; then :
15351 lt_cv_dlopen_self_static=cross
15353 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15354 lt_status=$lt_dlunknown
15355 cat > conftest.$ac_ext <<EOF
15356 #line 15356 "configure"
15357 #include "confdefs.h"
15366 # define LT_DLGLOBAL RTLD_GLOBAL
15369 # define LT_DLGLOBAL DL_GLOBAL
15371 # define LT_DLGLOBAL 0
15375 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15376 find out it does not work in some platform. */
15377 #ifndef LT_DLLAZY_OR_NOW
15379 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15382 # define LT_DLLAZY_OR_NOW DL_LAZY
15385 # define LT_DLLAZY_OR_NOW RTLD_NOW
15388 # define LT_DLLAZY_OR_NOW DL_NOW
15390 # define LT_DLLAZY_OR_NOW 0
15398 extern "C" void exit (int);
15401 void fnord() { int i=42;}
15404 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15405 int status = $lt_dlunknown;
15409 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15410 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15411 /* dlclose (self); */
15417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15418 (eval $ac_link) 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15422 (./conftest; exit; ) 2>/dev/null
15424 case x$lt_status in
15425 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15426 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15427 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15430 # compilation failed
15431 lt_cv_dlopen_self_static=no
15438 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15439 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15442 CPPFLAGS="$save_CPPFLAGS"
15443 LDFLAGS="$save_LDFLAGS"
15448 case $lt_cv_dlopen_self in
15449 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15450 *) enable_dlopen_self=unknown ;;
15453 case $lt_cv_dlopen_self_static in
15454 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15455 *) enable_dlopen_self_static=unknown ;;
15460 # Report which librarie types wil actually be built
15461 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15462 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15463 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15464 echo "${ECHO_T}$can_build_shared" >&6
15466 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15467 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15468 test "$can_build_shared" = "no" && enable_shared=no
15470 # On AIX, shared libraries and static libraries use the same namespace, and
15471 # are all built from PIC.
15474 test "$enable_shared" = yes && enable_static=no
15475 if test -n "$RANLIB"; then
15476 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15477 postinstall_cmds='$RANLIB $lib'
15482 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15483 test "$enable_shared" = yes && enable_static=no
15487 echo "$as_me:$LINENO: result: $enable_shared" >&5
15488 echo "${ECHO_T}$enable_shared" >&6
15490 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15491 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15492 # Make sure either enable_shared or enable_static is yes.
15493 test "$enable_shared" = yes || enable_static=yes
15494 echo "$as_me:$LINENO: result: $enable_static" >&5
15495 echo "${ECHO_T}$enable_static" >&6
15497 # The else clause should only fire when bootstrapping the
15498 # libtool distribution, otherwise you forgot to ship ltmain.sh
15499 # with your package, and you will get complaints that there are
15500 # no rules to generate ltmain.sh.
15501 if test -f "$ltmain"; then
15502 # See if we are running on zsh, and set the options which allow our commands through
15503 # without removal of \ escapes.
15504 if test -n "${ZSH_VERSION+set}" ; then
15505 setopt NO_GLOB_SUBST
15507 # Now quote all the things that may contain metacharacters while being
15508 # careful not to overquote the AC_SUBSTed values. We take copies of the
15509 # variables and quote the copies for generation of the libtool script.
15510 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15512 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15513 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15514 deplibs_check_method reload_flag reload_cmds need_locks \
15515 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15516 lt_cv_sys_global_symbol_to_c_name_address \
15517 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15518 old_postinstall_cmds old_postuninstall_cmds \
15522 lt_prog_compiler_wl \
15523 lt_prog_compiler_pic \
15524 lt_prog_compiler_static \
15525 lt_prog_compiler_no_builtin_flag \
15526 export_dynamic_flag_spec \
15527 thread_safe_flag_spec \
15528 whole_archive_flag_spec \
15529 enable_shared_with_static_runtimes \
15531 old_archive_from_new_cmds \
15536 compiler_lib_search_path \
15538 archive_expsym_cmds \
15540 postuninstall_cmds \
15541 old_archive_from_expsyms_cmds \
15542 allow_undefined_flag \
15543 no_undefined_flag \
15544 export_symbols_cmds \
15545 hardcode_libdir_flag_spec \
15546 hardcode_libdir_flag_spec_ld \
15547 hardcode_libdir_separator \
15548 hardcode_automatic \
15550 module_expsym_cmds \
15551 lt_cv_prog_compiler_c_o \
15553 include_expsyms; do
15556 old_archive_cmds | \
15557 old_archive_from_new_cmds | \
15559 archive_expsym_cmds | \
15561 module_expsym_cmds | \
15562 old_archive_from_expsyms_cmds | \
15563 export_symbols_cmds | \
15564 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15565 postinstall_cmds | postuninstall_cmds | \
15566 old_postinstall_cmds | old_postuninstall_cmds | \
15567 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15568 # Double-quote double-evaled strings.
15569 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15572 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15578 *'\$0 --fallback-echo"')
15579 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15583 cfgfile="${ofile}T"
15584 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
15586 { echo "$as_me:$LINENO: creating $ofile" >&5
15587 echo "$as_me: creating $ofile" >&6;}
15589 cat <<__EOF__ >> "$cfgfile"
15592 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15593 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
15594 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15596 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
15597 # Free Software Foundation, Inc.
15599 # This file is part of GNU Libtool:
15600 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15602 # This program is free software; you can redistribute it and/or modify
15603 # it under the terms of the GNU General Public License as published by
15604 # the Free Software Foundation; either version 2 of the License, or
15605 # (at your option) any later version.
15607 # This program is distributed in the hope that it will be useful, but
15608 # WITHOUT ANY WARRANTY; without even the implied warranty of
15609 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15610 # General Public License for more details.
15612 # You should have received a copy of the GNU General Public License
15613 # along with this program; if not, write to the Free Software
15614 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15616 # As a special exception to the GNU General Public License, if you
15617 # distribute this file as part of a program that contains a
15618 # configuration script generated by Autoconf, you may include it under
15619 # the same distribution terms that you use for the rest of that program.
15621 # A sed program that does not truncate output.
15624 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15625 Xsed="$SED -e 1s/^X//"
15627 # The HP-UX ksh and POSIX shell print the target directory to stdout
15628 # if CDPATH is set.
15629 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15631 # The names of the tagged configurations supported by this script.
15634 # ### BEGIN LIBTOOL CONFIG
15636 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15638 # Shell to use when invoking shell scripts.
15641 # Whether or not to build shared libraries.
15642 build_libtool_libs=$enable_shared
15644 # Whether or not to build static libraries.
15645 build_old_libs=$enable_static
15647 # Whether or not to add -lc for building shared libraries.
15648 build_libtool_need_lc=$archive_cmds_need_lc
15650 # Whether or not to disallow shared libs when runtime libs are static
15651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15653 # Whether or not to optimize for fast installation.
15654 fast_install=$enable_fast_install
15657 host_alias=$host_alias
15661 # The build system.
15662 build_alias=$build_alias
15666 # An echo program that does not interpret backslashes.
15671 AR_FLAGS=$lt_AR_FLAGS
15676 # A language-specific compiler.
15679 # Is the compiler the GNU C compiler?
15685 # The linker used to build libraries.
15688 # Whether we need hard or soft links.
15691 # A BSD-compatible nm program.
15694 # A symbol stripping program
15697 # Used to examine libraries when file_magic_cmd begins "file"
15698 MAGIC_CMD=$MAGIC_CMD
15700 # Used on cygwin: DLL creation program.
15703 # Used on cygwin: object dumper.
15706 # Used on cygwin: assembler.
15709 # The name of the directory that contains temporary libtool files.
15712 # How to create reloadable object files.
15713 reload_flag=$lt_reload_flag
15714 reload_cmds=$lt_reload_cmds
15716 # How to pass a linker flag through the compiler.
15717 wl=$lt_lt_prog_compiler_wl
15719 # Object file suffix (normally "o").
15720 objext="$ac_objext"
15722 # Old archive suffix (normally "a").
15725 # Shared library suffix (normally ".so").
15726 shrext_cmds='$shrext_cmds'
15728 # Executable file suffix (normally "").
15731 # Additional compiler flags for building library objects.
15732 pic_flag=$lt_lt_prog_compiler_pic
15735 # What is the maximum length of a command?
15736 max_cmd_len=$lt_cv_sys_max_cmd_len
15738 # Does compiler simultaneously support -c and -o options?
15739 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15741 # Must we lock files when doing compilation?
15742 need_locks=$lt_need_locks
15744 # Do we need the lib prefix for modules?
15745 need_lib_prefix=$need_lib_prefix
15747 # Do we need a version for libraries?
15748 need_version=$need_version
15750 # Whether dlopen is supported.
15751 dlopen_support=$enable_dlopen
15753 # Whether dlopen of programs is supported.
15754 dlopen_self=$enable_dlopen_self
15756 # Whether dlopen of statically linked programs is supported.
15757 dlopen_self_static=$enable_dlopen_self_static
15759 # Compiler flag to prevent dynamic linking.
15760 link_static_flag=$lt_lt_prog_compiler_static
15762 # Compiler flag to turn off builtin functions.
15763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15765 # Compiler flag to allow reflexive dlopens.
15766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15768 # Compiler flag to generate shared objects directly from archives.
15769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15771 # Compiler flag to generate thread-safe objects.
15772 thread_safe_flag_spec=$lt_thread_safe_flag_spec
15774 # Library versioning type.
15775 version_type=$version_type
15777 # Format of library name prefix.
15778 libname_spec=$lt_libname_spec
15780 # List of archive names. First name is the real one, the rest are links.
15781 # The last name is the one that the linker finds with -lNAME.
15782 library_names_spec=$lt_library_names_spec
15784 # The coded name of the library, if different from the real name.
15785 soname_spec=$lt_soname_spec
15787 # Commands used to build and install an old-style archive.
15789 old_archive_cmds=$lt_old_archive_cmds
15790 old_postinstall_cmds=$lt_old_postinstall_cmds
15791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15793 # Create an old-style archive from a shared archive.
15794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15796 # Create a temporary old-style archive to link instead of a shared archive.
15797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15799 # Commands used to build and install a shared archive.
15800 archive_cmds=$lt_archive_cmds
15801 archive_expsym_cmds=$lt_archive_expsym_cmds
15802 postinstall_cmds=$lt_postinstall_cmds
15803 postuninstall_cmds=$lt_postuninstall_cmds
15805 # Commands used to build a loadable module (assumed same as above if empty)
15806 module_cmds=$lt_module_cmds
15807 module_expsym_cmds=$lt_module_expsym_cmds
15809 # Commands to strip libraries.
15810 old_striplib=$lt_old_striplib
15811 striplib=$lt_striplib
15813 # Dependencies to place before the objects being linked to create a
15815 predep_objects=$lt_predep_objects
15817 # Dependencies to place after the objects being linked to create a
15819 postdep_objects=$lt_postdep_objects
15821 # Dependencies to place before the objects being linked to create a
15823 predeps=$lt_predeps
15825 # Dependencies to place after the objects being linked to create a
15827 postdeps=$lt_postdeps
15829 # The library search path used internally by the compiler when linking
15830 # a shared library.
15831 compiler_lib_search_path=$lt_compiler_lib_search_path
15833 # Method to check whether dependent libraries are shared objects.
15834 deplibs_check_method=$lt_deplibs_check_method
15836 # Command to use when deplibs_check_method == file_magic.
15837 file_magic_cmd=$lt_file_magic_cmd
15839 # Flag that allows shared libraries with undefined symbols to be built.
15840 allow_undefined_flag=$lt_allow_undefined_flag
15842 # Flag that forces no undefined symbols.
15843 no_undefined_flag=$lt_no_undefined_flag
15845 # Commands used to finish a libtool library installation in a directory.
15846 finish_cmds=$lt_finish_cmds
15848 # Same as above, but a single script fragment to be evaled but not shown.
15849 finish_eval=$lt_finish_eval
15851 # Take the output of nm and produce a listing of raw symbols and C names.
15852 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15854 # Transform the output of nm in a proper C declaration
15855 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15857 # Transform the output of nm in a C name address pair
15858 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15860 # This is the shared library runtime path variable.
15861 runpath_var=$runpath_var
15863 # This is the shared library path variable.
15864 shlibpath_var=$shlibpath_var
15866 # Is shlibpath searched before the hard-coded library search path?
15867 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15869 # How to hardcode a shared library path into an executable.
15870 hardcode_action=$hardcode_action
15872 # Whether we should hardcode library paths into libraries.
15873 hardcode_into_libs=$hardcode_into_libs
15875 # Flag to hardcode \$libdir into a binary during linking.
15876 # This must work even if \$libdir does not exist.
15877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15879 # If ld is used when linking, flag to hardcode \$libdir into
15880 # a binary during linking. This must work even if \$libdir does
15882 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15884 # Whether we need a single -rpath flag with a separated argument.
15885 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15887 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15888 # resulting binary.
15889 hardcode_direct=$hardcode_direct
15891 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15892 # resulting binary.
15893 hardcode_minus_L=$hardcode_minus_L
15895 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15896 # the resulting binary.
15897 hardcode_shlibpath_var=$hardcode_shlibpath_var
15899 # Set to yes if building a shared library automatically hardcodes DIR into the library
15900 # and all subsequent libraries and executables linked against it.
15901 hardcode_automatic=$hardcode_automatic
15903 # Variables whose values should be saved in libtool wrapper scripts and
15904 # restored at relink time.
15905 variables_saved_for_relink="$variables_saved_for_relink"
15907 # Whether libtool must link a program against all its dependency libraries.
15908 link_all_deplibs=$link_all_deplibs
15910 # Compile-time system search path for libraries
15911 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15913 # Run-time system search path for libraries
15914 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15916 # Fix the shell variable \$srcfile for the compiler.
15917 fix_srcfile_path="$fix_srcfile_path"
15919 # Set to yes if exported symbols are required.
15920 always_export_symbols=$always_export_symbols
15922 # The commands to list exported symbols.
15923 export_symbols_cmds=$lt_export_symbols_cmds
15925 # The commands to extract the exported symbol list from a shared archive.
15926 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15928 # Symbols that should not be listed in the preloaded symbols.
15929 exclude_expsyms=$lt_exclude_expsyms
15931 # Symbols that must always be exported.
15932 include_expsyms=$lt_include_expsyms
15934 # ### END LIBTOOL CONFIG
15941 cat <<\EOF >> "$cfgfile"
15943 # AIX sometimes has problems with the GCC collect2 program. For some
15944 # reason, if we set the COLLECT_NAMES environment variable, the problems
15945 # vanish in a puff of smoke.
15946 if test "X${COLLECT_NAMES+set}" != Xset; then
15948 export COLLECT_NAMES
15954 # We use sed instead of cat because bash on DJGPP gets confused if
15955 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15956 # text mode, it properly converts lines to CR/LF. This bash problem
15957 # is reportedly fixed, but why not run on old versions too?
15958 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
15960 mv -f "$cfgfile" "$ofile" || \
15961 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15965 # If there is no Makefile yet, we rely on a make rule to execute
15966 # `config.status --recheck' to rerun these tests and create the
15967 # libtool script then.
15968 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15969 if test -f "$ltmain_in"; then
15970 test -f Makefile && make "$ltmain"
15976 ac_cpp='$CPP $CPPFLAGS'
15977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15984 # Check whether --with-tags or --without-tags was given.
15985 if test "${with_tags+set}" = set; then
15986 withval="$with_tags"
15987 tagnames="$withval"
15990 if test -f "$ltmain" && test -n "$tagnames"; then
15991 if test ! -f "${ofile}"; then
15992 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
15993 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
15996 if test -z "$LTCC"; then
15997 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15998 if test -z "$LTCC"; then
15999 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
16000 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
16002 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
16003 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
16007 # Extract list of available tagged configurations in $ofile.
16008 # Note that this assumes the entire list is on one line.
16009 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16011 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16012 for tagname in $tagnames; do
16014 # Check whether tagname contains only valid characters
16015 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
16017 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
16018 echo "$as_me: error: invalid tag name: $tagname" >&2;}
16019 { (exit 1); exit 1; }; }
16023 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
16025 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
16026 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
16027 { (exit 1); exit 1; }; }
16030 # Update the list of available tags.
16031 if test -n "$tagname"; then
16032 echo appending configuration tag \"$tagname\" to $ofile
16036 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16037 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16038 (test "X$CXX" != "Xg++"))) ; then
16040 ac_cpp='$CXXCPP $CPPFLAGS'
16041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16048 archive_cmds_need_lc_CXX=no
16049 allow_undefined_flag_CXX=
16050 always_export_symbols_CXX=no
16051 archive_expsym_cmds_CXX=
16052 export_dynamic_flag_spec_CXX=
16053 hardcode_direct_CXX=no
16054 hardcode_libdir_flag_spec_CXX=
16055 hardcode_libdir_flag_spec_ld_CXX=
16056 hardcode_libdir_separator_CXX=
16057 hardcode_minus_L_CXX=no
16058 hardcode_automatic_CXX=no
16060 module_expsym_cmds_CXX=
16061 link_all_deplibs_CXX=unknown
16062 old_archive_cmds_CXX=$old_archive_cmds
16063 no_undefined_flag_CXX=
16064 whole_archive_flag_spec_CXX=
16065 enable_shared_with_static_runtimes_CXX=no
16067 # Dependencies to place before and after the object being linked:
16068 predep_objects_CXX=
16069 postdep_objects_CXX=
16072 compiler_lib_search_path_CXX=
16074 # Source file extension for C++ test sources.
16077 # Object file extension for compiled C++ test sources.
16081 # Code to be used in simple compile tests
16082 lt_simple_compile_test_code="int some_variable = 0;\n"
16084 # Code to be used in simple link tests
16085 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
16087 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16089 # If no C compiler was specified, use CC.
16092 # Allow CC to be a program name with arguments.
16096 # save warnings/boilerplate of simple test code
16097 ac_outfile=conftest.$ac_objext
16098 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16099 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16100 _lt_compiler_boilerplate=`cat conftest.err`
16103 ac_outfile=conftest.$ac_objext
16104 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16105 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16106 _lt_linker_boilerplate=`cat conftest.err`
16110 # Allow CC to be a program name with arguments.
16115 lt_save_with_gnu_ld=$with_gnu_ld
16116 lt_save_path_LD=$lt_cv_path_LD
16117 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16118 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16120 unset lt_cv_prog_gnu_ld
16122 if test -n "${lt_cv_path_LDCXX+set}"; then
16123 lt_cv_path_LD=$lt_cv_path_LDCXX
16125 unset lt_cv_path_LD
16127 test -z "${LDCXX+set}" || LD=$LDCXX
16131 for cc_temp in $compiler""; do
16133 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16134 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16139 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16142 # We don't want -fno-exception wen compiling C++ code, so set the
16143 # no_builtin_flag separately
16144 if test "$GXX" = yes; then
16145 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16147 lt_prog_compiler_no_builtin_flag_CXX=
16150 if test "$GXX" = yes; then
16151 # Set up default GNU C++ configuration
16154 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16155 if test "${with_gnu_ld+set}" = set; then
16156 withval="$with_gnu_ld"
16157 test "$withval" = no || with_gnu_ld=yes
16162 if test "$GCC" = yes; then
16163 # Check if gcc -print-prog-name=ld gives a path.
16164 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16165 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16168 # gcc leaves a trailing carriage return which upsets mingw
16169 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16171 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16174 # Accept absolute paths.
16176 re_direlt='/[^/][^/]*/\.\./'
16177 # Canonicalize the pathname of ld
16178 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16179 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16180 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16182 test -z "$LD" && LD="$ac_prog"
16185 # If it fails, then pretend we aren't using GCC.
16189 # If it is relative, then search for the first ld in PATH.
16190 with_gnu_ld=unknown
16193 elif test "$with_gnu_ld" = yes; then
16194 echo "$as_me:$LINENO: checking for GNU ld" >&5
16195 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16197 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16198 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16200 if test "${lt_cv_path_LD+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 if test -z "$LD"; then
16204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16205 for ac_dir in $PATH; do
16207 test -z "$ac_dir" && ac_dir=.
16208 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16209 lt_cv_path_LD="$ac_dir/$ac_prog"
16210 # Check to see if the program is GNU ld. I'd rather use --version,
16211 # but apparently some GNU ld's only accept -v.
16212 # Break only if it was the GNU/non-GNU ld that we prefer.
16213 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16214 *GNU* | *'with BFD'*)
16215 test "$with_gnu_ld" != no && break
16218 test "$with_gnu_ld" != yes && break
16225 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16229 LD="$lt_cv_path_LD"
16230 if test -n "$LD"; then
16231 echo "$as_me:$LINENO: result: $LD" >&5
16232 echo "${ECHO_T}$LD" >&6
16234 echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6
16237 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16238 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16239 { (exit 1); exit 1; }; }
16240 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16241 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16242 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16246 case `$LD -v 2>&1 </dev/null` in
16247 *GNU* | *'with BFD'*)
16248 lt_cv_prog_gnu_ld=yes
16251 lt_cv_prog_gnu_ld=no
16255 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16256 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
16257 with_gnu_ld=$lt_cv_prog_gnu_ld
16261 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16262 # archiving commands below assume that GNU ld is being used.
16263 if test "$with_gnu_ld" = yes; then
16264 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16265 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'
16267 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16268 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16270 # If archive_cmds runs LD, not CC, wlarc should be empty
16271 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16272 # investigate it a little bit more. (MM)
16275 # ancient GNU ld didn't support --whole-archive et. al.
16276 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16277 grep 'no-whole-archive' > /dev/null; then
16278 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16280 whole_archive_flag_spec_CXX=
16286 # A generic and very simple default shared library creation
16287 # command for GNU C++ for the case where it uses the native
16288 # linker, instead of GNU ld. If possible, this setting should
16289 # overridden to take advantage of the native linker features on
16290 # the platform it is being used on.
16291 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16294 # Commands to make compiler produce verbose output that lists
16295 # what "hidden" libraries, object files and flags are used when
16296 # linking a shared library.
16297 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16305 # PORTME: fill in a description of your system's C++ link characteristics
16306 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16307 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16311 # FIXME: insert proper C++ library support
16315 if test "$host_cpu" = ia64; then
16316 # On IA64, the linker does run time linking by default, so we don't
16317 # have to do anything special.
16318 aix_use_runtimelinking=no
16319 exp_sym_flag='-Bexport'
16322 aix_use_runtimelinking=no
16324 # Test if we are trying to use run time linking or normal
16325 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16326 # need to do runtime linking.
16327 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16328 for ld_flag in $LDFLAGS; do
16331 aix_use_runtimelinking=yes
16338 exp_sym_flag='-bexport'
16339 no_entry_flag='-bnoentry'
16342 # When large executables or shared objects are built, AIX ld can
16343 # have problems creating the table of contents. If linking a library
16344 # or program results in "error TOC overflow" add -mminimal-toc to
16345 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16346 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16348 archive_cmds_CXX=''
16349 hardcode_direct_CXX=yes
16350 hardcode_libdir_separator_CXX=':'
16351 link_all_deplibs_CXX=yes
16353 if test "$GXX" = yes; then
16354 case $host_os in aix4.[012]|aix4.[012].*)
16355 # We only want to do this on AIX 4.2 and lower, the check
16356 # below for broken collect2 doesn't work under 4.3+
16357 collect2name=`${CC} -print-prog-name=collect2`
16358 if test -f "$collect2name" && \
16359 strings "$collect2name" | grep resolve_lib_name >/dev/null
16361 # We have reworked collect2
16362 hardcode_direct_CXX=yes
16364 # We have old collect2
16365 hardcode_direct_CXX=unsupported
16366 # It fails to find uninstalled libraries when the uninstalled
16367 # path is not listed in the libpath. Setting hardcode_minus_L
16368 # to unsupported forces relinking
16369 hardcode_minus_L_CXX=yes
16370 hardcode_libdir_flag_spec_CXX='-L$libdir'
16371 hardcode_libdir_separator_CXX=
16374 shared_flag='-shared'
16375 if test "$aix_use_runtimelinking" = yes; then
16376 shared_flag="$shared_flag "'${wl}-G'
16380 if test "$host_cpu" = ia64; then
16381 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16382 # chokes on -Wl,-G. The following line is correct:
16385 if test "$aix_use_runtimelinking" = yes; then
16386 shared_flag='${wl}-G'
16388 shared_flag='${wl}-bM:SRE'
16393 # It seems that -bexpall does not export symbols beginning with
16394 # underscore (_), so it is better to generate a list of symbols to export.
16395 always_export_symbols_CXX=yes
16396 if test "$aix_use_runtimelinking" = yes; then
16397 # Warning - without using the other runtime loading flags (-brtl),
16398 # -berok will link without error, but may produce a broken library.
16399 allow_undefined_flag_CXX='-berok'
16400 # Determine the default libpath from the value encoded in an empty executable.
16401 cat >conftest.$ac_ext <<_ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16416 rm -f conftest.$ac_objext conftest$ac_exeext
16417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16418 (eval $ac_link) 2>conftest.er1
16420 grep -v '^ *+' conftest.er1 >conftest.err
16422 cat conftest.err >&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try='test -z "$ac_cxx_werror_flag"
16426 || test ! -s conftest.err'
16427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16428 (eval $ac_try) 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }; } &&
16432 { ac_try='test -s conftest$ac_exeext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16439 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16441 # Check for a 64-bit object if we didn't find anything.
16442 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; }
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.$ac_ext >&5
16449 rm -f conftest.err conftest.$ac_objext \
16450 conftest$ac_exeext conftest.$ac_ext
16451 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16453 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16455 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"
16457 if test "$host_cpu" = ia64; then
16458 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16459 allow_undefined_flag_CXX="-z nodefs"
16460 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"
16462 # Determine the default libpath from the value encoded in an empty executable.
16463 cat >conftest.$ac_ext <<_ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16478 rm -f conftest.$ac_objext conftest$ac_exeext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16480 (eval $ac_link) 2>conftest.er1
16482 grep -v '^ *+' conftest.er1 >conftest.err
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -z "$ac_cxx_werror_flag"
16488 || test ! -s conftest.err'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; } &&
16494 { ac_try='test -s conftest$ac_exeext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16501 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16503 # Check for a 64-bit object if we didn't find anything.
16504 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; }
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.$ac_ext >&5
16511 rm -f conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16515 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16516 # Warning - without using the other run time loading flags,
16517 # -berok will link without error, but may produce a broken library.
16518 no_undefined_flag_CXX=' ${wl}-bernotok'
16519 allow_undefined_flag_CXX=' ${wl}-berok'
16520 # -bexpall does not export symbols beginning with underscore (_)
16521 always_export_symbols_CXX=yes
16522 # Exported symbols can be pulled into shared objects from archives
16523 whole_archive_flag_spec_CXX=' '
16524 archive_cmds_need_lc_CXX=yes
16525 # This is similar to how AIX traditionally builds it's shared libraries.
16526 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'
16531 case $cc_basename in
16533 # FIXME: insert proper C++ library support
16540 cygwin* | mingw* | pw32*)
16541 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16542 # as there is no search path for DLLs.
16543 hardcode_libdir_flag_spec_CXX='-L$libdir'
16544 allow_undefined_flag_CXX=unsupported
16545 always_export_symbols_CXX=no
16546 enable_shared_with_static_runtimes_CXX=yes
16548 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16549 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'
16550 # If the export-symbols file already is a .def file (1st line
16551 # is EXPORTS), use it as is; otherwise, prepend...
16552 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16553 cp $export_symbols $output_objdir/$soname.def;
16555 echo EXPORTS > $output_objdir/$soname.def;
16556 cat $export_symbols >> $output_objdir/$soname.def;
16558 $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'
16563 darwin* | rhapsody*)
16565 rhapsody* | darwin1.[012])
16566 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
16569 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16570 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16572 case ${MACOSX_DEPLOYMENT_TARGET} in
16574 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16577 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
16583 archive_cmds_need_lc_CXX=no
16584 hardcode_direct_CXX=no
16585 hardcode_automatic_CXX=yes
16586 hardcode_shlibpath_var_CXX=unsupported
16587 whole_archive_flag_spec_CXX=''
16588 link_all_deplibs_CXX=yes
16590 if test "$GXX" = yes ; then
16591 lt_int_apple_cc_single_mod=no
16592 output_verbose_link_cmd='echo'
16593 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
16594 lt_int_apple_cc_single_mod=yes
16596 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16597 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16599 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'
16601 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16602 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16603 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16604 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}'
16606 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}'
16608 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}'
16610 case $cc_basename in
16612 output_verbose_link_cmd='echo'
16613 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'
16614 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16615 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16616 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}'
16617 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16627 case $cc_basename in
16629 # FIXME: insert proper C++ library support
16633 # Green Hills C++ Compiler
16634 # FIXME: insert proper C++ library support
16638 # FIXME: insert proper C++ library support
16644 # C++ shared libraries reported to be fairly broken before switch to ELF
16648 archive_cmds_need_lc_CXX=no
16650 freebsd* | kfreebsd*-gnu | dragonfly*)
16651 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16658 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16659 hardcode_libdir_separator_CXX=:
16660 export_dynamic_flag_spec_CXX='${wl}-E'
16661 hardcode_direct_CXX=yes
16662 hardcode_minus_L_CXX=yes # Not in the search PATH,
16663 # but as the default
16664 # location of the library.
16666 case $cc_basename in
16668 # FIXME: insert proper C++ library support
16672 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'
16673 # Commands to make compiler produce verbose output that lists
16674 # what "hidden" libraries, object files and flags are used when
16675 # linking a shared library.
16677 # There doesn't appear to be a way to prevent this compiler from
16678 # explicitly linking system object files so we need to strip them
16679 # from the output so that they don't get included in the library
16681 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'
16684 if test "$GXX" = yes; then
16685 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'
16687 # FIXME: insert proper C++ library support
16694 if test $with_gnu_ld = no; then
16695 case "$host_cpu" in
16697 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16698 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
16699 hardcode_libdir_separator_CXX=:
16702 hardcode_libdir_flag_spec_CXX='-L$libdir'
16705 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16706 hardcode_libdir_separator_CXX=:
16707 export_dynamic_flag_spec_CXX='${wl}-E'
16711 case "$host_cpu" in
16713 hardcode_direct_CXX=no
16714 hardcode_shlibpath_var_CXX=no
16717 hardcode_direct_CXX=no
16718 hardcode_shlibpath_var_CXX=no
16719 hardcode_minus_L_CXX=yes # Not in the search PATH,
16720 # but as the default
16721 # location of the library.
16724 hardcode_direct_CXX=yes
16725 hardcode_minus_L_CXX=yes # Not in the search PATH,
16726 # but as the default
16727 # location of the library.
16731 case $cc_basename in
16733 # FIXME: insert proper C++ library support
16737 case "$host_cpu" in
16739 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16742 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16745 # Commands to make compiler produce verbose output that lists
16746 # what "hidden" libraries, object files and flags are used when
16747 # linking a shared library.
16749 # There doesn't appear to be a way to prevent this compiler from
16750 # explicitly linking system object files so we need to strip them
16751 # from the output so that they don't get included in the library
16753 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'
16756 if test "$GXX" = yes; then
16757 if test $with_gnu_ld = no; then
16758 case "$host_cpu" in
16760 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16763 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'
16768 # FIXME: insert proper C++ library support
16775 case $cc_basename in
16778 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'
16780 # Archives containing C++ object files must be created using
16781 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16782 # necessary to make sure instantiated templates are included
16784 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16787 if test "$GXX" = yes; then
16788 if test "$with_gnu_ld" = no; then
16789 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'
16791 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
16794 link_all_deplibs_CXX=yes
16797 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16798 hardcode_libdir_separator_CXX=:
16801 case $cc_basename in
16803 # Kuck and Associates, Inc. (KAI) C++ Compiler
16805 # KCC will only create a shared library if the output file
16806 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16807 # to its proper name (with version) after linking.
16808 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'
16809 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'
16810 # Commands to make compiler produce verbose output that lists
16811 # what "hidden" libraries, object files and flags are used when
16812 # linking a shared library.
16814 # There doesn't appear to be a way to prevent this compiler from
16815 # explicitly linking system object files so we need to strip them
16816 # from the output so that they don't get included in the library
16818 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'
16820 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
16821 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16823 # Archives containing C++ object files must be created using
16824 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16825 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16830 # version 8.0 and above of icpc choke on multiply defined symbols
16831 # if we add $predep_objects and $postdep_objects, however 7.1 and
16832 # earlier do not add the objects themselves.
16833 case `$CC -V 2>&1` in
16835 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16836 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'
16838 *) # Version 8.0 or newer
16841 ia64*) tmp_idyn=' -i_dynamic';;
16843 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16844 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'
16847 archive_cmds_need_lc_CXX=no
16848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16850 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16853 # Portland Group C++ compiler
16854 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16855 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'
16857 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16858 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16859 whole_archive_flag_spec_CXX=''
16863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16864 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'
16866 runpath_var=LD_RUN_PATH
16867 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16868 hardcode_libdir_separator_CXX=:
16870 # Commands to make compiler produce verbose output that lists
16871 # what "hidden" libraries, object files and flags are used when
16872 # linking a shared library.
16874 # There doesn't appear to be a way to prevent this compiler from
16875 # explicitly linking system object files so we need to strip them
16876 # from the output so that they don't get included in the library
16878 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'
16883 # FIXME: insert proper C++ library support
16887 # FIXME: insert proper C++ library support
16891 case $cc_basename in
16893 # FIXME: insert proper C++ library support
16897 # FIXME: insert proper C++ library support
16903 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16904 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16906 hardcode_libdir_flag_spec_CXX='-R$libdir'
16907 hardcode_direct_CXX=yes
16908 hardcode_shlibpath_var_CXX=no
16910 # Workaround some broken pre-1.5 toolchains
16911 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16914 # C++ shared libraries are fairly broken
16918 hardcode_direct_CXX=yes
16919 hardcode_shlibpath_var_CXX=no
16920 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16921 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16922 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16923 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16924 export_dynamic_flag_spec_CXX='${wl}-E'
16925 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16927 output_verbose_link_cmd='echo'
16930 case $cc_basename in
16932 # Kuck and Associates, Inc. (KAI) C++ Compiler
16934 # KCC will only create a shared library if the output file
16935 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16936 # to its proper name (with version) after linking.
16937 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'
16939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16940 hardcode_libdir_separator_CXX=:
16942 # Archives containing C++ object files must be created using
16943 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16944 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16948 # Rational C++ 2.4.1
16949 # FIXME: insert proper C++ library support
16953 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16954 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'
16956 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16957 hardcode_libdir_separator_CXX=:
16959 # Commands to make compiler produce verbose output that lists
16960 # what "hidden" libraries, object files and flags are used when
16961 # linking a shared library.
16963 # There doesn't appear to be a way to prevent this compiler from
16964 # explicitly linking system object files so we need to strip them
16965 # from the output so that they don't get included in the library
16967 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'
16970 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16971 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16972 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'
16974 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16975 hardcode_libdir_separator_CXX=:
16977 # Commands to make compiler produce verbose output that lists
16978 # what "hidden" libraries, object files and flags are used when
16979 # linking a shared library.
16980 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16983 # FIXME: insert proper C++ library support
16990 case $cc_basename in
16992 # Kuck and Associates, Inc. (KAI) C++ Compiler
16994 # KCC will only create a shared library if the output file
16995 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16996 # to its proper name (with version) after linking.
16997 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'
16999 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17000 hardcode_libdir_separator_CXX=:
17002 # Archives containing C++ object files must be created using
17003 # the KAI C++ compiler.
17004 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
17007 # Rational C++ 2.4.1
17008 # FIXME: insert proper C++ library support
17012 allow_undefined_flag_CXX=' -expect_unresolved \*'
17013 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'
17014 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17015 echo "-hidden">> $lib.exp~
17016 $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~
17019 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17020 hardcode_libdir_separator_CXX=:
17022 # Commands to make compiler produce verbose output that lists
17023 # what "hidden" libraries, object files and flags are used when
17024 # linking a shared library.
17026 # There doesn't appear to be a way to prevent this compiler from
17027 # explicitly linking system object files so we need to strip them
17028 # from the output so that they don't get included in the library
17030 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'
17033 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17034 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17035 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'
17037 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17038 hardcode_libdir_separator_CXX=:
17040 # Commands to make compiler produce verbose output that lists
17041 # what "hidden" libraries, object files and flags are used when
17042 # linking a shared library.
17043 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
17046 # FIXME: insert proper C++ library support
17053 # FIXME: insert proper C++ library support
17057 archive_cmds_need_lc_CXX=no
17058 case $cc_basename in
17060 # FIXME: insert proper C++ library support
17064 # FIXME: insert proper C++ library support
17070 case $cc_basename in
17073 # FIXME: insert proper C++ library support
17078 # FIXME: insert proper C++ library support
17082 # FIXME: insert proper C++ library support
17088 case $cc_basename in
17090 # Sun C++ 4.2, 5.x and Centerline C++
17091 no_undefined_flag_CXX=' -zdefs'
17092 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17093 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17094 $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'
17096 hardcode_libdir_flag_spec_CXX='-R$libdir'
17097 hardcode_shlibpath_var_CXX=no
17099 solaris2.[0-5] | solaris2.[0-5].*) ;;
17101 # The C++ compiler is used as linker so we must use $wl
17102 # flag to pass the commands to the underlying system
17103 # linker. We must also pass each convience library through
17104 # to the system linker between allextract/defaultextract.
17105 # The C++ compiler will combine linker options so we
17106 # cannot just pass the convience library names through
17108 # Supported since Solaris 2.6 (maybe 2.5.1?)
17109 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'
17112 link_all_deplibs_CXX=yes
17114 # Commands to make compiler produce verbose output that lists
17115 # what "hidden" libraries, object files and flags are used when
17116 # linking a shared library.
17118 # There doesn't appear to be a way to prevent this compiler from
17119 # explicitly linking system object files so we need to strip them
17120 # from the output so that they don't get included in the library
17122 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'
17124 # Archives containing C++ object files must be created using
17125 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17126 # necessary to make sure instantiated templates are included
17128 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17131 # Green Hills C++ Compiler
17132 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17134 # The C++ compiler must be used to create the archive.
17135 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17138 # GNU C++ compiler with Solaris linker
17139 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17140 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17141 if $CC --version | grep -v '^2\.7' > /dev/null; then
17142 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17143 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17144 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17146 # Commands to make compiler produce verbose output that lists
17147 # what "hidden" libraries, object files and flags are used when
17148 # linking a shared library.
17149 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17151 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17153 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17154 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17155 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
17157 # Commands to make compiler produce verbose output that lists
17158 # what "hidden" libraries, object files and flags are used when
17159 # linking a shared library.
17160 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
17163 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17168 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17169 archive_cmds_need_lc_CXX=no
17172 case $cc_basename in
17174 # NonStop-UX NCC 3.20
17175 # FIXME: insert proper C++ library support
17179 # FIXME: insert proper C++ library support
17185 # FIXME: insert proper C++ library support
17189 # FIXME: insert proper C++ library support
17193 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17194 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17195 test "$ld_shlibs_CXX" = no && can_build_shared=no
17201 cat > conftest.$ac_ext <<EOF
17205 Foo (void) { a = 0; }
17211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17212 (eval $ac_compile) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; then
17216 # Parse the compiler output and extract the necessary
17217 # objects, libraries and library flags.
17219 # Sentinel used to keep track of whether or not we are before
17220 # the conftest object file.
17221 pre_test_object_deps_done=no
17223 # The `*' in the case matches for architectures that use `case' in
17224 # $output_verbose_cmd can trigger glob expansion during the loop
17225 # eval without this substitution.
17226 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
17228 for p in `eval $output_verbose_link_cmd`; do
17232 # Some compilers place space between "-{L,R}" and the path.
17233 # Remove the space.
17234 if test $p = "-L" \
17235 || test $p = "-R"; then
17242 if test "$pre_test_object_deps_done" = no; then
17245 # Internal compiler library paths should come after those
17246 # provided the user. The postdeps already come after the
17247 # user supplied libs so there is no need to process them.
17248 if test -z "$compiler_lib_search_path_CXX"; then
17249 compiler_lib_search_path_CXX="${prev}${p}"
17251 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17254 # The "-l" case would never come before the object being
17255 # linked, so don't bother handling this case.
17258 if test -z "$postdeps_CXX"; then
17259 postdeps_CXX="${prev}${p}"
17261 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17267 # This assumes that the test object file only shows up
17268 # once in the compiler output.
17269 if test "$p" = "conftest.$objext"; then
17270 pre_test_object_deps_done=yes
17274 if test "$pre_test_object_deps_done" = no; then
17275 if test -z "$predep_objects_CXX"; then
17276 predep_objects_CXX="$p"
17278 predep_objects_CXX="$predep_objects_CXX $p"
17281 if test -z "$postdep_objects_CXX"; then
17282 postdep_objects_CXX="$p"
17284 postdep_objects_CXX="$postdep_objects_CXX $p"
17289 *) ;; # Ignore the rest.
17297 echo "libtool.m4: error: problem compiling CXX test program"
17300 $rm -f confest.$objext
17302 case " $postdeps_CXX " in
17303 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17306 lt_prog_compiler_wl_CXX=
17307 lt_prog_compiler_pic_CXX=
17308 lt_prog_compiler_static_CXX=
17310 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17311 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17313 # C++ specific cases for pic, static, wl, etc.
17314 if test "$GXX" = yes; then
17315 lt_prog_compiler_wl_CXX='-Wl,'
17316 lt_prog_compiler_static_CXX='-static'
17320 # All AIX code is PIC.
17321 if test "$host_cpu" = ia64; then
17322 # AIX 5 now supports IA64 processor
17323 lt_prog_compiler_static_CXX='-Bstatic'
17327 # FIXME: we need at least 68020 code to build shared libraries, but
17328 # adding the `-m68020' flag to GCC prevents building anything better,
17330 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17332 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17333 # PIC is the default for these OSes.
17335 mingw* | os2* | pw32*)
17336 # This hack is so that the source file can tell whether it is being
17337 # built for inclusion in a dll (and should export symbols for example).
17338 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17340 darwin* | rhapsody*)
17341 # PIC is the default on this platform
17342 # Common symbols not allowed in MH_DYLIB files
17343 lt_prog_compiler_pic_CXX='-fno-common'
17346 # DJGPP does not support shared libraries at all
17347 lt_prog_compiler_pic_CXX=
17350 if test -d /usr/nec; then
17351 lt_prog_compiler_pic_CXX=-Kconform_pic
17355 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17356 # not for PA HP-UX.
17357 case "$host_cpu" in
17361 lt_prog_compiler_pic_CXX='-fPIC'
17366 lt_prog_compiler_pic_CXX='-fPIC'
17372 # All AIX code is PIC.
17373 if test "$host_cpu" = ia64; then
17374 # AIX 5 now supports IA64 processor
17375 lt_prog_compiler_static_CXX='-Bstatic'
17377 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17381 case $cc_basename in
17383 # Green Hills C++ Compiler
17384 # _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"
17389 # PIC is the default on this platform
17390 # Common symbols not allowed in MH_DYLIB files
17391 case $cc_basename in
17393 lt_prog_compiler_pic_CXX='-qnocommon'
17394 lt_prog_compiler_wl_CXX='-Wl,'
17399 case $cc_basename in
17401 lt_prog_compiler_pic_CXX='-KPIC'
17404 # Green Hills C++ Compiler
17405 lt_prog_compiler_pic_CXX='-pic'
17411 freebsd* | kfreebsd*-gnu | dragonfly*)
17412 # FreeBSD uses GNU C++
17414 hpux9* | hpux10* | hpux11*)
17415 case $cc_basename in
17417 lt_prog_compiler_wl_CXX='-Wl,'
17418 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17419 if test "$host_cpu" != ia64; then
17420 lt_prog_compiler_pic_CXX='+Z'
17424 lt_prog_compiler_wl_CXX='-Wl,'
17425 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17426 case "$host_cpu" in
17431 lt_prog_compiler_pic_CXX='+Z'
17439 irix5* | irix6* | nonstopux*)
17440 case $cc_basename in
17442 lt_prog_compiler_wl_CXX='-Wl,'
17443 lt_prog_compiler_static_CXX='-non_shared'
17444 # CC pic flag -KPIC is the default.
17451 case $cc_basename in
17454 lt_prog_compiler_wl_CXX='--backend -Wl,'
17455 lt_prog_compiler_pic_CXX='-fPIC'
17459 lt_prog_compiler_wl_CXX='-Wl,'
17460 lt_prog_compiler_pic_CXX='-KPIC'
17461 lt_prog_compiler_static_CXX='-static'
17464 # Portland Group C++ compiler.
17465 lt_prog_compiler_wl_CXX='-Wl,'
17466 lt_prog_compiler_pic_CXX='-fpic'
17467 lt_prog_compiler_static_CXX='-static'
17471 # Make sure the PIC flag is empty. It appears that all Alpha
17472 # Linux and Compaq Tru64 Unix objects are PIC.
17473 lt_prog_compiler_pic_CXX=
17474 lt_prog_compiler_static_CXX='-non_shared'
17485 case $cc_basename in
17487 lt_prog_compiler_pic_CXX='-W c,exportall'
17495 osf3* | osf4* | osf5*)
17496 case $cc_basename in
17498 lt_prog_compiler_wl_CXX='--backend -Wl,'
17501 # Rational C++ 2.4.1
17502 lt_prog_compiler_pic_CXX='-pic'
17505 # Digital/Compaq C++
17506 lt_prog_compiler_wl_CXX='-Wl,'
17507 # Make sure the PIC flag is empty. It appears that all Alpha
17508 # Linux and Compaq Tru64 Unix objects are PIC.
17509 lt_prog_compiler_pic_CXX=
17510 lt_prog_compiler_static_CXX='-non_shared'
17519 case $cc_basename in
17521 lt_prog_compiler_pic_CXX='-fPIC'
17528 case $cc_basename in
17530 # Sun C++ 4.2, 5.x and Centerline C++
17531 lt_prog_compiler_pic_CXX='-KPIC'
17532 lt_prog_compiler_static_CXX='-Bstatic'
17533 lt_prog_compiler_wl_CXX='-Qoption ld '
17536 # Green Hills C++ Compiler
17537 lt_prog_compiler_pic_CXX='-PIC'
17544 case $cc_basename in
17547 lt_prog_compiler_pic_CXX='-pic'
17548 lt_prog_compiler_static_CXX='-Bstatic'
17552 lt_prog_compiler_pic_CXX='-pic'
17559 case $cc_basename in
17561 # NonStop-UX NCC 3.20
17562 lt_prog_compiler_pic_CXX='-KPIC'
17573 lt_prog_compiler_can_build_shared_CXX=no
17578 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
17579 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
17582 # Check to make sure the PIC flag actually works.
17584 if test -n "$lt_prog_compiler_pic_CXX"; then
17586 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17587 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
17588 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 lt_prog_compiler_pic_works_CXX=no
17592 ac_outfile=conftest.$ac_objext
17593 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17594 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17595 # Insert the option either (1) after the last *FLAGS variable, or
17596 # (2) before a word containing "conftest.", or (3) at the end.
17597 # Note that $ac_compile itself does not contain backslashes and begins
17598 # with a dollar sign (not a hyphen), so the echo should work correctly.
17599 # The option is referenced via a variable to avoid confusing sed.
17600 lt_compile=`echo "$ac_compile" | $SED \
17601 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17603 -e 's:$: $lt_compiler_flag:'`
17604 (eval echo "\"\$as_me:17604: $lt_compile\"" >&5)
17605 (eval "$lt_compile" 2>conftest.err)
17607 cat conftest.err >&5
17608 echo "$as_me:17608: \$? = $ac_status" >&5
17609 if (exit $ac_status) && test -s "$ac_outfile"; then
17610 # The compiler can only warn and ignore the option if not recognized
17611 # So say no if there are warnings other than the usual output.
17612 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17613 $SED '/^$/d' conftest.err >conftest.er2
17614 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
17615 lt_prog_compiler_pic_works_CXX=yes
17621 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
17622 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
17624 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
17625 case $lt_prog_compiler_pic_CXX in
17627 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17630 lt_prog_compiler_pic_CXX=
17631 lt_prog_compiler_can_build_shared_CXX=no
17636 # For platforms which do not support PIC, -DPIC is meaningless:
17638 lt_prog_compiler_pic_CXX=
17641 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17645 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17646 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17647 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17650 lt_cv_prog_compiler_c_o_CXX=no
17651 $rm -r conftest 2>/dev/null
17655 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17657 lt_compiler_flag="-o out/conftest2.$ac_objext"
17658 # Insert the option either (1) after the last *FLAGS variable, or
17659 # (2) before a word containing "conftest.", or (3) at the end.
17660 # Note that $ac_compile itself does not contain backslashes and begins
17661 # with a dollar sign (not a hyphen), so the echo should work correctly.
17662 lt_compile=`echo "$ac_compile" | $SED \
17663 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17665 -e 's:$: $lt_compiler_flag:'`
17666 (eval echo "\"\$as_me:17666: $lt_compile\"" >&5)
17667 (eval "$lt_compile" 2>out/conftest.err)
17669 cat out/conftest.err >&5
17670 echo "$as_me:17670: \$? = $ac_status" >&5
17671 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17673 # The compiler can only warn and ignore the option if not recognized
17674 # So say no if there are warnings
17675 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17676 $SED '/^$/d' out/conftest.err >out/conftest.er2
17677 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17678 lt_cv_prog_compiler_c_o_CXX=yes
17683 # SGI C++ compiler will create directory out/ii_files/ for
17684 # template instantiation
17685 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17686 $rm out/* && rmdir out
17692 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17693 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
17696 hard_links="nottested"
17697 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17698 # do not overwrite the value of need_locks provided by the user
17699 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17700 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17705 ln conftest.a conftest.b 2>&5 || hard_links=no
17706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17707 echo "$as_me:$LINENO: result: $hard_links" >&5
17708 echo "${ECHO_T}$hard_links" >&6
17709 if test "$hard_links" = no; then
17710 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17711 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17718 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17719 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17721 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17724 # If we're using GNU nm, then we don't want the "-C" option.
17725 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17726 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17727 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'
17729 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'
17733 export_symbols_cmds_CXX="$ltdll_cmds"
17736 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'
17739 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17743 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17744 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17745 test "$ld_shlibs_CXX" = no && can_build_shared=no
17747 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17748 if test "$GCC" = yes; then
17749 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17753 # Do we need to explicitly link libc?
17755 case "x$archive_cmds_need_lc_CXX" in
17757 # Assume -lc should be added
17758 archive_cmds_need_lc_CXX=yes
17760 if test "$enable_shared" = yes && test "$GCC" = yes; then
17761 case $archive_cmds_CXX in
17763 # FIXME: we may have to deal with multi-command sequences.
17766 # Test whether the compiler implicitly links with -lc since on some
17767 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17768 # to ld, don't add -lc before -lgcc.
17769 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17770 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17772 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } 2>conftest.err; then
17781 libobjs=conftest.$ac_objext
17783 wl=$lt_prog_compiler_wl_CXX
17789 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17790 allow_undefined_flag_CXX=
17791 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17792 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }
17797 archive_cmds_need_lc_CXX=no
17799 archive_cmds_need_lc_CXX=yes
17801 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17803 cat conftest.err 1>&5
17806 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17807 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
17814 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17815 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17816 library_names_spec=
17817 libname_spec='lib$name'
17821 postuninstall_cmds=
17825 shlibpath_overrides_runpath=unknown
17827 dynamic_linker="$host_os ld.so"
17828 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17829 if test "$GCC" = yes; then
17830 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17831 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17832 # if the path contains ";" then we assume it to be the separator
17833 # otherwise default to the standard path separator (i.e. ":") - it is
17834 # assumed that no part of a normal pathname contains ";" but that should
17835 # okay in the real world where ";" in dirpaths is itself problematic.
17836 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17838 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17841 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17843 need_lib_prefix=unknown
17844 hardcode_into_libs=no
17846 # when you set need_version to no, make sure it does not cause -set_version
17847 # flags to be left without arguments
17848 need_version=unknown
17853 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17854 shlibpath_var=LIBPATH
17856 # AIX 3 has no versioning support, so we append a major version to the name.
17857 soname_spec='${libname}${release}${shared_ext}$major'
17864 hardcode_into_libs=yes
17865 if test "$host_cpu" = ia64; then
17866 # AIX 5 supports IA64
17867 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17868 shlibpath_var=LD_LIBRARY_PATH
17870 # With GCC up to 2.95.x, collect2 would create an import file
17871 # for dependence libraries. The import file would start with
17872 # the line `#! .'. This would cause the generated library to
17873 # depend on `.', always an invalid library. This was fixed in
17874 # development snapshots of GCC prior to 3.0.
17876 aix4 | aix4.[01] | aix4.[01].*)
17877 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17879 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17882 can_build_shared=no
17886 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17887 # soname into executable. Probably we can add versioning support to
17888 # collect2, so additional links can be useful in future.
17889 if test "$aix_use_runtimelinking" = yes; then
17890 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17891 # instead of lib<name>.a to let people know that these are not
17892 # typical AIX shared libraries.
17893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17895 # We preserve .a as extension for shared libraries through AIX4.2
17896 # and later when we are not doing run time linking.
17897 library_names_spec='${libname}${release}.a $libname.a'
17898 soname_spec='${libname}${release}${shared_ext}$major'
17900 shlibpath_var=LIBPATH
17905 library_names_spec='$libname.ixlibrary $libname.a'
17906 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17907 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'
17911 library_names_spec='${libname}${shared_ext}'
17912 dynamic_linker="$host_os ld.so"
17913 shlibpath_var=LIBRARY_PATH
17919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17920 soname_spec='${libname}${release}${shared_ext}$major'
17921 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17922 shlibpath_var=LD_LIBRARY_PATH
17923 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17924 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17925 # the default ld.so.conf also contains /usr/contrib/lib and
17926 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17927 # libtool to hard-code these into programs
17930 cygwin* | mingw* | pw32*)
17931 version_type=windows
17936 case $GCC,$host_os in
17937 yes,cygwin* | yes,mingw* | yes,pw32*)
17938 library_names_spec='$libname.dll.a'
17939 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17940 postinstall_cmds='base_file=`basename \${file}`~
17941 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17942 dldir=$destdir/`dirname \$dlpath`~
17943 test -d \$dldir || mkdir -p \$dldir~
17944 $install_prog $dir/$dlname \$dldir/$dlname'
17945 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17946 dlpath=$dir/\$dldll~
17948 shlibpath_overrides_runpath=yes
17952 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17953 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17954 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17957 # MinGW DLLs use traditional 'lib' prefix
17958 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17959 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17960 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17961 # It is most probably a Windows format PATH printed by
17962 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17963 # path with ; separators, and with drive letters. We can handle the
17964 # drive letters (cygwin fileutils understands them), so leave them,
17965 # especially as we might pass files found there to a mingw objdump,
17966 # which wouldn't understand a cygwinified path. Ahh.
17967 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17969 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17973 # pw32 DLLs use 'pw' prefix rather than 'lib'
17974 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17980 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17983 dynamic_linker='Win32 ld.exe'
17984 # FIXME: first we should search . and the directory the executable is in
17988 darwin* | rhapsody*)
17989 dynamic_linker="$host_os dyld"
17990 version_type=darwin
17993 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17994 soname_spec='${libname}${release}${major}$shared_ext'
17995 shlibpath_overrides_runpath=yes
17996 shlibpath_var=DYLD_LIBRARY_PATH
17997 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17998 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17999 if test "$GCC" = yes; then
18000 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"`
18002 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18004 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18012 soname_spec='${libname}${release}${shared_ext}$major'
18013 shlibpath_var=LD_LIBRARY_PATH
18024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18025 soname_spec='${libname}${release}${shared_ext}$major'
18026 shlibpath_var=LD_LIBRARY_PATH
18027 shlibpath_overrides_runpath=no
18028 hardcode_into_libs=yes
18029 dynamic_linker='GNU ld.so'
18032 freebsd* | dragonfly*)
18033 # DragonFly does not have aout. When/if they implement a new
18034 # versioning mechanism, adjust this.
18035 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18036 version_type=freebsd-$objformat
18037 case $version_type in
18039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18044 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18048 shlibpath_var=LD_LIBRARY_PATH
18051 shlibpath_overrides_runpath=yes
18053 freebsd3.[01]* | freebsdelf3.[01]*)
18054 shlibpath_overrides_runpath=yes
18055 hardcode_into_libs=yes
18058 shlibpath_overrides_runpath=no
18059 hardcode_into_libs=yes
18068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18069 soname_spec='${libname}${release}${shared_ext}$major'
18070 shlibpath_var=LD_LIBRARY_PATH
18071 hardcode_into_libs=yes
18074 hpux9* | hpux10* | hpux11*)
18075 # Give a soname corresponding to the major version so that dld.sl refuses to
18076 # link against other versions.
18080 case "$host_cpu" in
18083 hardcode_into_libs=yes
18084 dynamic_linker="$host_os dld.so"
18085 shlibpath_var=LD_LIBRARY_PATH
18086 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18088 soname_spec='${libname}${release}${shared_ext}$major'
18089 if test "X$HPUX_IA64_MODE" = X32; then
18090 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18092 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18094 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18098 hardcode_into_libs=yes
18099 dynamic_linker="$host_os dld.sl"
18100 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18101 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18103 soname_spec='${libname}${release}${shared_ext}$major'
18104 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18105 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18109 dynamic_linker="$host_os dld.sl"
18110 shlibpath_var=SHLIB_PATH
18111 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18113 soname_spec='${libname}${release}${shared_ext}$major'
18116 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18117 postinstall_cmds='chmod 555 $lib'
18120 irix5* | irix6* | nonstopux*)
18122 nonstopux*) version_type=nonstopux ;;
18124 if test "$lt_cv_prog_gnu_ld" = yes; then
18132 soname_spec='${libname}${release}${shared_ext}$major'
18133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18135 irix5* | nonstopux*)
18136 libsuff= shlibsuff=
18139 case $LD in # libtool.m4 will add one of these switches to LD
18140 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18141 libsuff= shlibsuff= libmagic=32-bit;;
18142 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18143 libsuff=32 shlibsuff=N32 libmagic=N32;;
18144 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18145 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18146 *) libsuff= shlibsuff= libmagic=never-match;;
18150 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18151 shlibpath_overrides_runpath=no
18152 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18153 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18154 hardcode_into_libs=yes
18157 # No shared lib support for Linux oldld, aout, or coff.
18158 linux*oldld* | linux*aout* | linux*coff*)
18162 # This must be Linux ELF.
18167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18168 soname_spec='${libname}${release}${shared_ext}$major'
18169 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18170 shlibpath_var=LD_LIBRARY_PATH
18171 shlibpath_overrides_runpath=no
18172 # This implies no fast_install, which is unacceptable.
18173 # Some rework will be needed to allow for fast_install
18174 # before this can be enabled.
18175 hardcode_into_libs=yes
18177 # find out which ABI we are using
18179 case "$host_cpu" in
18180 x86_64*|s390x*|powerpc64*)
18181 echo '#line 18181 "configure"' > conftest.$ac_ext
18182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18183 (eval $ac_compile) 2>&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); }; then
18187 case `/usr/bin/file conftest.$ac_objext` in
18190 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18198 # Append ld.so.conf contents to the search path
18199 if test -f /etc/ld.so.conf; then
18200 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' ' '`
18201 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18204 # We used to test for /lib/ld.so.1 and disable shared libraries on
18205 # powerpc, because MkLinux only supported shared libraries with the
18206 # GNU dynamic linker. Since this was broken with cross compilers,
18207 # most powerpc-linux boxes support dynamic linking these days and
18208 # people can always --disable-shared, the test was removed, and we
18209 # assume the GNU/Linux dynamic linker is in use.
18210 dynamic_linker='GNU/Linux ld.so'
18217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18218 soname_spec='${libname}${release}${shared_ext}$major'
18219 shlibpath_var=LD_LIBRARY_PATH
18220 shlibpath_overrides_runpath=no
18221 hardcode_into_libs=yes
18222 dynamic_linker='GNU ld.so'
18229 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18231 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18232 dynamic_linker='NetBSD (a.out) ld.so'
18234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18235 soname_spec='${libname}${release}${shared_ext}$major'
18236 dynamic_linker='NetBSD ld.elf_so'
18238 shlibpath_var=LD_LIBRARY_PATH
18239 shlibpath_overrides_runpath=yes
18240 hardcode_into_libs=yes
18245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18246 shlibpath_var=LD_LIBRARY_PATH
18247 shlibpath_overrides_runpath=yes
18254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18255 soname_spec='${libname}${release}${shared_ext}$major'
18256 shlibpath_var=LD_LIBRARY_PATH
18257 shlibpath_overrides_runpath=yes
18264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18265 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18266 shlibpath_var=LD_LIBRARY_PATH
18267 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18269 openbsd2.[89] | openbsd2.[89].*)
18270 shlibpath_overrides_runpath=no
18273 shlibpath_overrides_runpath=yes
18277 shlibpath_overrides_runpath=yes
18282 libname_spec='$name'
18285 library_names_spec='$libname${shared_ext} $libname.a'
18286 dynamic_linker='OS/2 ld.exe'
18287 shlibpath_var=LIBPATH
18290 osf3* | osf4* | osf5*)
18294 soname_spec='${libname}${release}${shared_ext}$major'
18295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18296 shlibpath_var=LD_LIBRARY_PATH
18297 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18298 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18303 soname_spec='${libname}${release}${shared_ext}$major'
18304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18305 shlibpath_var=LD_LIBRARY_PATH
18312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18313 soname_spec='${libname}${release}${shared_ext}$major'
18314 shlibpath_var=LD_LIBRARY_PATH
18315 shlibpath_overrides_runpath=yes
18316 hardcode_into_libs=yes
18317 # ldd complains unless libraries are executable
18318 postinstall_cmds='chmod +x $lib'
18323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18324 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18325 shlibpath_var=LD_LIBRARY_PATH
18326 shlibpath_overrides_runpath=yes
18327 if test "$with_gnu_ld" = yes; then
18333 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18336 soname_spec='${libname}${release}${shared_ext}$major'
18337 shlibpath_var=LD_LIBRARY_PATH
18338 case $host_vendor in
18340 shlibpath_overrides_runpath=no
18342 export_dynamic_flag_spec='${wl}-Blargedynsym'
18343 runpath_var=LD_RUN_PATH
18351 shlibpath_overrides_runpath=no
18352 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18358 if test -d /usr/nec ;then
18360 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18361 soname_spec='$libname${shared_ext}.$major'
18362 shlibpath_var=LD_LIBRARY_PATH
18368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18369 soname_spec='${libname}${release}${shared_ext}$major'
18370 shlibpath_var=LD_LIBRARY_PATH
18377 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18378 echo "${ECHO_T}$dynamic_linker" >&6
18379 test "$dynamic_linker" = no && can_build_shared=no
18381 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18382 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18383 hardcode_action_CXX=
18384 if test -n "$hardcode_libdir_flag_spec_CXX" || \
18385 test -n "$runpath_var_CXX" || \
18386 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18388 # We can hardcode non-existant directories.
18389 if test "$hardcode_direct_CXX" != no &&
18390 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18391 # have to relink, otherwise we might link with an installed library
18392 # when we should be linking with a yet-to-be-installed one
18393 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18394 test "$hardcode_minus_L_CXX" != no; then
18395 # Linking always hardcodes the temporary library directory.
18396 hardcode_action_CXX=relink
18398 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18399 hardcode_action_CXX=immediate
18402 # We cannot hardcode anything, or else we can only hardcode existing
18404 hardcode_action_CXX=unsupported
18406 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
18407 echo "${ECHO_T}$hardcode_action_CXX" >&6
18409 if test "$hardcode_action_CXX" = relink; then
18410 # Fast installation is not supported
18411 enable_fast_install=no
18412 elif test "$shlibpath_overrides_runpath" = yes ||
18413 test "$enable_shared" = no; then
18414 # Fast installation is not necessary
18415 enable_fast_install=needless
18420 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18421 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18422 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18423 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18424 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18425 echo "$as_me:$LINENO: result: yes" >&5
18426 echo "${ECHO_T}yes" >&6
18428 # FIXME - insert some real tests, host_os isn't really good enough
18431 if test -n "$STRIP" ; then
18432 striplib="$STRIP -x"
18433 echo "$as_me:$LINENO: result: yes" >&5
18434 echo "${ECHO_T}yes" >&6
18436 echo "$as_me:$LINENO: result: no" >&5
18437 echo "${ECHO_T}no" >&6
18441 echo "$as_me:$LINENO: result: no" >&5
18442 echo "${ECHO_T}no" >&6
18447 if test "x$enable_dlopen" != xyes; then
18448 enable_dlopen=unknown
18449 enable_dlopen_self=unknown
18450 enable_dlopen_self_static=unknown
18457 lt_cv_dlopen="load_add_on"
18459 lt_cv_dlopen_self=yes
18463 lt_cv_dlopen="LoadLibrary"
18468 lt_cv_dlopen="dlopen"
18473 # if libdl is installed we need to link against it
18474 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18475 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18476 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18477 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 ac_check_lib_save_LIBS=$LIBS
18481 cat >conftest.$ac_ext <<_ACEOF
18484 cat confdefs.h >>conftest.$ac_ext
18485 cat >>conftest.$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18488 /* Override any gcc2 internal prototype to avoid an error. */
18492 /* We use char because int might match the return type of a gcc2
18493 builtin and then its argument prototype would still apply. */
18503 rm -f conftest.$ac_objext conftest$ac_exeext
18504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18505 (eval $ac_link) 2>conftest.er1
18507 grep -v '^ *+' conftest.er1 >conftest.err
18509 cat conftest.err >&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } &&
18512 { ac_try='test -z "$ac_cxx_werror_flag"
18513 || test ! -s conftest.err'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; } &&
18519 { ac_try='test -s conftest$ac_exeext'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; }; then
18525 ac_cv_lib_dl_dlopen=yes
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18530 ac_cv_lib_dl_dlopen=no
18532 rm -f conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18534 LIBS=$ac_check_lib_save_LIBS
18536 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18537 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18538 if test $ac_cv_lib_dl_dlopen = yes; then
18539 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18542 lt_cv_dlopen="dyld"
18544 lt_cv_dlopen_self=yes
18551 echo "$as_me:$LINENO: checking for shl_load" >&5
18552 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18553 if test "${ac_cv_func_shl_load+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 cat >conftest.$ac_ext <<_ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18564 #define shl_load innocuous_shl_load
18566 /* System header to define __stub macros and hopefully few prototypes,
18567 which can conflict with char shl_load (); below.
18568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18569 <limits.h> exists even on freestanding compilers. */
18572 # include <limits.h>
18574 # include <assert.h>
18579 /* Override any gcc2 internal prototype to avoid an error. */
18584 /* We use char because int might match the return type of a gcc2
18585 builtin and then its argument prototype would still apply. */
18587 /* The GNU C library defines this for functions which it implements
18588 to always fail with ENOSYS. Some functions are actually named
18589 something starting with __ and the normal name is an alias. */
18590 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18593 char (*f) () = shl_load;
18602 return f != shl_load;
18607 rm -f conftest.$ac_objext conftest$ac_exeext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18609 (eval $ac_link) 2>conftest.er1
18611 grep -v '^ *+' conftest.er1 >conftest.err
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try='test -z "$ac_cxx_werror_flag"
18617 || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try='test -s conftest$ac_exeext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 ac_cv_func_shl_load=yes
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18634 ac_cv_func_shl_load=no
18636 rm -f conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18639 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18640 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18641 if test $ac_cv_func_shl_load = yes; then
18642 lt_cv_dlopen="shl_load"
18644 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18645 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18646 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 ac_check_lib_save_LIBS=$LIBS
18651 cat >conftest.$ac_ext <<_ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18658 /* Override any gcc2 internal prototype to avoid an error. */
18662 /* We use char because int might match the return type of a gcc2
18663 builtin and then its argument prototype would still apply. */
18673 rm -f conftest.$ac_objext conftest$ac_exeext
18674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18675 (eval $ac_link) 2>conftest.er1
18677 grep -v '^ *+' conftest.er1 >conftest.err
18679 cat conftest.err >&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); } &&
18682 { ac_try='test -z "$ac_cxx_werror_flag"
18683 || test ! -s conftest.err'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; } &&
18689 { ac_try='test -s conftest$ac_exeext'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18695 ac_cv_lib_dld_shl_load=yes
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18700 ac_cv_lib_dld_shl_load=no
18702 rm -f conftest.err conftest.$ac_objext \
18703 conftest$ac_exeext conftest.$ac_ext
18704 LIBS=$ac_check_lib_save_LIBS
18706 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18707 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18708 if test $ac_cv_lib_dld_shl_load = yes; then
18709 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18711 echo "$as_me:$LINENO: checking for dlopen" >&5
18712 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18713 if test "${ac_cv_func_dlopen+set}" = set; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 cat >conftest.$ac_ext <<_ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18724 #define dlopen innocuous_dlopen
18726 /* System header to define __stub macros and hopefully few prototypes,
18727 which can conflict with char dlopen (); below.
18728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18729 <limits.h> exists even on freestanding compilers. */
18732 # include <limits.h>
18734 # include <assert.h>
18739 /* Override any gcc2 internal prototype to avoid an error. */
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18747 /* The GNU C library defines this for functions which it implements
18748 to always fail with ENOSYS. Some functions are actually named
18749 something starting with __ and the normal name is an alias. */
18750 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18753 char (*f) () = dlopen;
18762 return f != dlopen;
18767 rm -f conftest.$ac_objext conftest$ac_exeext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18769 (eval $ac_link) 2>conftest.er1
18771 grep -v '^ *+' conftest.er1 >conftest.err
18773 cat conftest.err >&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try='test -z "$ac_cxx_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest$ac_exeext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 ac_cv_func_dlopen=yes
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18794 ac_cv_func_dlopen=no
18796 rm -f conftest.err conftest.$ac_objext \
18797 conftest$ac_exeext conftest.$ac_ext
18799 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18800 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18801 if test $ac_cv_func_dlopen = yes; then
18802 lt_cv_dlopen="dlopen"
18804 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18805 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18806 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 ac_check_lib_save_LIBS=$LIBS
18811 cat >conftest.$ac_ext <<_ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18818 /* Override any gcc2 internal prototype to avoid an error. */
18822 /* We use char because int might match the return type of a gcc2
18823 builtin and then its argument prototype would still apply. */
18833 rm -f conftest.$ac_objext conftest$ac_exeext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18835 (eval $ac_link) 2>conftest.er1
18837 grep -v '^ *+' conftest.er1 >conftest.err
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -z "$ac_cxx_werror_flag"
18843 || test ! -s conftest.err'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; } &&
18849 { ac_try='test -s conftest$ac_exeext'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; }; then
18855 ac_cv_lib_dl_dlopen=yes
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 ac_cv_lib_dl_dlopen=no
18862 rm -f conftest.err conftest.$ac_objext \
18863 conftest$ac_exeext conftest.$ac_ext
18864 LIBS=$ac_check_lib_save_LIBS
18866 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18867 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18868 if test $ac_cv_lib_dl_dlopen = yes; then
18869 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18871 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18872 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18873 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 ac_check_lib_save_LIBS=$LIBS
18877 LIBS="-lsvld $LIBS"
18878 cat >conftest.$ac_ext <<_ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18885 /* Override any gcc2 internal prototype to avoid an error. */
18889 /* We use char because int might match the return type of a gcc2
18890 builtin and then its argument prototype would still apply. */
18900 rm -f conftest.$ac_objext conftest$ac_exeext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18902 (eval $ac_link) 2>conftest.er1
18904 grep -v '^ *+' conftest.er1 >conftest.err
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try='test -z "$ac_cxx_werror_flag"
18910 || test ! -s conftest.err'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; } &&
18916 { ac_try='test -s conftest$ac_exeext'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; }; then
18922 ac_cv_lib_svld_dlopen=yes
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 ac_cv_lib_svld_dlopen=no
18929 rm -f conftest.err conftest.$ac_objext \
18930 conftest$ac_exeext conftest.$ac_ext
18931 LIBS=$ac_check_lib_save_LIBS
18933 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18934 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18935 if test $ac_cv_lib_svld_dlopen = yes; then
18936 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18938 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18939 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18940 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 ac_check_lib_save_LIBS=$LIBS
18945 cat >conftest.$ac_ext <<_ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18952 /* Override any gcc2 internal prototype to avoid an error. */
18956 /* We use char because int might match the return type of a gcc2
18957 builtin and then its argument prototype would still apply. */
18967 rm -f conftest.$ac_objext conftest$ac_exeext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18969 (eval $ac_link) 2>conftest.er1
18971 grep -v '^ *+' conftest.er1 >conftest.err
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } &&
18976 { ac_try='test -z "$ac_cxx_werror_flag"
18977 || test ! -s conftest.err'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; } &&
18983 { ac_try='test -s conftest$ac_exeext'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; }; then
18989 ac_cv_lib_dld_dld_link=yes
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.$ac_ext >&5
18994 ac_cv_lib_dld_dld_link=no
18996 rm -f conftest.err conftest.$ac_objext \
18997 conftest$ac_exeext conftest.$ac_ext
18998 LIBS=$ac_check_lib_save_LIBS
19000 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19001 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19002 if test $ac_cv_lib_dld_dld_link = yes; then
19003 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19024 if test "x$lt_cv_dlopen" != xno; then
19030 case $lt_cv_dlopen in
19032 save_CPPFLAGS="$CPPFLAGS"
19033 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19035 save_LDFLAGS="$LDFLAGS"
19036 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19039 LIBS="$lt_cv_dlopen_libs $LIBS"
19041 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19042 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19043 if test "${lt_cv_dlopen_self+set}" = set; then
19044 echo $ECHO_N "(cached) $ECHO_C" >&6
19046 if test "$cross_compiling" = yes; then :
19047 lt_cv_dlopen_self=cross
19049 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19050 lt_status=$lt_dlunknown
19051 cat > conftest.$ac_ext <<EOF
19052 #line 19052 "configure"
19053 #include "confdefs.h"
19062 # define LT_DLGLOBAL RTLD_GLOBAL
19065 # define LT_DLGLOBAL DL_GLOBAL
19067 # define LT_DLGLOBAL 0
19071 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19072 find out it does not work in some platform. */
19073 #ifndef LT_DLLAZY_OR_NOW
19075 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19078 # define LT_DLLAZY_OR_NOW DL_LAZY
19081 # define LT_DLLAZY_OR_NOW RTLD_NOW
19084 # define LT_DLLAZY_OR_NOW DL_NOW
19086 # define LT_DLLAZY_OR_NOW 0
19094 extern "C" void exit (int);
19097 void fnord() { int i=42;}
19100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19101 int status = $lt_dlunknown;
19105 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19106 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19107 /* dlclose (self); */
19113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19114 (eval $ac_link) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19118 (./conftest; exit; ) 2>/dev/null
19120 case x$lt_status in
19121 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19122 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19123 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19126 # compilation failed
19127 lt_cv_dlopen_self=no
19134 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19135 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19137 if test "x$lt_cv_dlopen_self" = xyes; then
19138 LDFLAGS="$LDFLAGS $link_static_flag"
19139 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19140 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19141 if test "${lt_cv_dlopen_self_static+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 if test "$cross_compiling" = yes; then :
19145 lt_cv_dlopen_self_static=cross
19147 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19148 lt_status=$lt_dlunknown
19149 cat > conftest.$ac_ext <<EOF
19150 #line 19150 "configure"
19151 #include "confdefs.h"
19160 # define LT_DLGLOBAL RTLD_GLOBAL
19163 # define LT_DLGLOBAL DL_GLOBAL
19165 # define LT_DLGLOBAL 0
19169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19170 find out it does not work in some platform. */
19171 #ifndef LT_DLLAZY_OR_NOW
19173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19176 # define LT_DLLAZY_OR_NOW DL_LAZY
19179 # define LT_DLLAZY_OR_NOW RTLD_NOW
19182 # define LT_DLLAZY_OR_NOW DL_NOW
19184 # define LT_DLLAZY_OR_NOW 0
19192 extern "C" void exit (int);
19195 void fnord() { int i=42;}
19198 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19199 int status = $lt_dlunknown;
19203 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19204 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19205 /* dlclose (self); */
19211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19212 (eval $ac_link) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19216 (./conftest; exit; ) 2>/dev/null
19218 case x$lt_status in
19219 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19220 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19221 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19224 # compilation failed
19225 lt_cv_dlopen_self_static=no
19232 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19233 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19236 CPPFLAGS="$save_CPPFLAGS"
19237 LDFLAGS="$save_LDFLAGS"
19242 case $lt_cv_dlopen_self in
19243 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19244 *) enable_dlopen_self=unknown ;;
19247 case $lt_cv_dlopen_self_static in
19248 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19249 *) enable_dlopen_self_static=unknown ;;
19254 # The else clause should only fire when bootstrapping the
19255 # libtool distribution, otherwise you forgot to ship ltmain.sh
19256 # with your package, and you will get complaints that there are
19257 # no rules to generate ltmain.sh.
19258 if test -f "$ltmain"; then
19259 # See if we are running on zsh, and set the options which allow our commands through
19260 # without removal of \ escapes.
19261 if test -n "${ZSH_VERSION+set}" ; then
19262 setopt NO_GLOB_SUBST
19264 # Now quote all the things that may contain metacharacters while being
19265 # careful not to overquote the AC_SUBSTed values. We take copies of the
19266 # variables and quote the copies for generation of the libtool script.
19267 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19269 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19270 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19271 deplibs_check_method reload_flag reload_cmds need_locks \
19272 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19273 lt_cv_sys_global_symbol_to_c_name_address \
19274 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19275 old_postinstall_cmds old_postuninstall_cmds \
19279 lt_prog_compiler_wl_CXX \
19280 lt_prog_compiler_pic_CXX \
19281 lt_prog_compiler_static_CXX \
19282 lt_prog_compiler_no_builtin_flag_CXX \
19283 export_dynamic_flag_spec_CXX \
19284 thread_safe_flag_spec_CXX \
19285 whole_archive_flag_spec_CXX \
19286 enable_shared_with_static_runtimes_CXX \
19287 old_archive_cmds_CXX \
19288 old_archive_from_new_cmds_CXX \
19289 predep_objects_CXX \
19290 postdep_objects_CXX \
19293 compiler_lib_search_path_CXX \
19295 archive_expsym_cmds_CXX \
19296 postinstall_cmds_CXX \
19297 postuninstall_cmds_CXX \
19298 old_archive_from_expsyms_cmds_CXX \
19299 allow_undefined_flag_CXX \
19300 no_undefined_flag_CXX \
19301 export_symbols_cmds_CXX \
19302 hardcode_libdir_flag_spec_CXX \
19303 hardcode_libdir_flag_spec_ld_CXX \
19304 hardcode_libdir_separator_CXX \
19305 hardcode_automatic_CXX \
19307 module_expsym_cmds_CXX \
19308 lt_cv_prog_compiler_c_o_CXX \
19309 exclude_expsyms_CXX \
19310 include_expsyms_CXX; do
19313 old_archive_cmds_CXX | \
19314 old_archive_from_new_cmds_CXX | \
19315 archive_cmds_CXX | \
19316 archive_expsym_cmds_CXX | \
19317 module_cmds_CXX | \
19318 module_expsym_cmds_CXX | \
19319 old_archive_from_expsyms_cmds_CXX | \
19320 export_symbols_cmds_CXX | \
19321 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19322 postinstall_cmds | postuninstall_cmds | \
19323 old_postinstall_cmds | old_postuninstall_cmds | \
19324 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19325 # Double-quote double-evaled strings.
19326 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19329 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19335 *'\$0 --fallback-echo"')
19336 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19342 cat <<__EOF__ >> "$cfgfile"
19343 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19345 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19347 # Shell to use when invoking shell scripts.
19350 # Whether or not to build shared libraries.
19351 build_libtool_libs=$enable_shared
19353 # Whether or not to build static libraries.
19354 build_old_libs=$enable_static
19356 # Whether or not to add -lc for building shared libraries.
19357 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19359 # Whether or not to disallow shared libs when runtime libs are static
19360 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19362 # Whether or not to optimize for fast installation.
19363 fast_install=$enable_fast_install
19366 host_alias=$host_alias
19370 # The build system.
19371 build_alias=$build_alias
19375 # An echo program that does not interpret backslashes.
19380 AR_FLAGS=$lt_AR_FLAGS
19385 # A language-specific compiler.
19386 CC=$lt_compiler_CXX
19388 # Is the compiler the GNU C compiler?
19394 # The linker used to build libraries.
19397 # Whether we need hard or soft links.
19400 # A BSD-compatible nm program.
19403 # A symbol stripping program
19406 # Used to examine libraries when file_magic_cmd begins "file"
19407 MAGIC_CMD=$MAGIC_CMD
19409 # Used on cygwin: DLL creation program.
19412 # Used on cygwin: object dumper.
19415 # Used on cygwin: assembler.
19418 # The name of the directory that contains temporary libtool files.
19421 # How to create reloadable object files.
19422 reload_flag=$lt_reload_flag
19423 reload_cmds=$lt_reload_cmds
19425 # How to pass a linker flag through the compiler.
19426 wl=$lt_lt_prog_compiler_wl_CXX
19428 # Object file suffix (normally "o").
19429 objext="$ac_objext"
19431 # Old archive suffix (normally "a").
19434 # Shared library suffix (normally ".so").
19435 shrext_cmds='$shrext_cmds'
19437 # Executable file suffix (normally "").
19440 # Additional compiler flags for building library objects.
19441 pic_flag=$lt_lt_prog_compiler_pic_CXX
19444 # What is the maximum length of a command?
19445 max_cmd_len=$lt_cv_sys_max_cmd_len
19447 # Does compiler simultaneously support -c and -o options?
19448 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19450 # Must we lock files when doing compilation?
19451 need_locks=$lt_need_locks
19453 # Do we need the lib prefix for modules?
19454 need_lib_prefix=$need_lib_prefix
19456 # Do we need a version for libraries?
19457 need_version=$need_version
19459 # Whether dlopen is supported.
19460 dlopen_support=$enable_dlopen
19462 # Whether dlopen of programs is supported.
19463 dlopen_self=$enable_dlopen_self
19465 # Whether dlopen of statically linked programs is supported.
19466 dlopen_self_static=$enable_dlopen_self_static
19468 # Compiler flag to prevent dynamic linking.
19469 link_static_flag=$lt_lt_prog_compiler_static_CXX
19471 # Compiler flag to turn off builtin functions.
19472 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19474 # Compiler flag to allow reflexive dlopens.
19475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19477 # Compiler flag to generate shared objects directly from archives.
19478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19480 # Compiler flag to generate thread-safe objects.
19481 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
19483 # Library versioning type.
19484 version_type=$version_type
19486 # Format of library name prefix.
19487 libname_spec=$lt_libname_spec
19489 # List of archive names. First name is the real one, the rest are links.
19490 # The last name is the one that the linker finds with -lNAME.
19491 library_names_spec=$lt_library_names_spec
19493 # The coded name of the library, if different from the real name.
19494 soname_spec=$lt_soname_spec
19496 # Commands used to build and install an old-style archive.
19498 old_archive_cmds=$lt_old_archive_cmds_CXX
19499 old_postinstall_cmds=$lt_old_postinstall_cmds
19500 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19502 # Create an old-style archive from a shared archive.
19503 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19505 # Create a temporary old-style archive to link instead of a shared archive.
19506 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19508 # Commands used to build and install a shared archive.
19509 archive_cmds=$lt_archive_cmds_CXX
19510 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19511 postinstall_cmds=$lt_postinstall_cmds
19512 postuninstall_cmds=$lt_postuninstall_cmds
19514 # Commands used to build a loadable module (assumed same as above if empty)
19515 module_cmds=$lt_module_cmds_CXX
19516 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19518 # Commands to strip libraries.
19519 old_striplib=$lt_old_striplib
19520 striplib=$lt_striplib
19522 # Dependencies to place before the objects being linked to create a
19524 predep_objects=$lt_predep_objects_CXX
19526 # Dependencies to place after the objects being linked to create a
19528 postdep_objects=$lt_postdep_objects_CXX
19530 # Dependencies to place before the objects being linked to create a
19532 predeps=$lt_predeps_CXX
19534 # Dependencies to place after the objects being linked to create a
19536 postdeps=$lt_postdeps_CXX
19538 # The library search path used internally by the compiler when linking
19539 # a shared library.
19540 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19542 # Method to check whether dependent libraries are shared objects.
19543 deplibs_check_method=$lt_deplibs_check_method
19545 # Command to use when deplibs_check_method == file_magic.
19546 file_magic_cmd=$lt_file_magic_cmd
19548 # Flag that allows shared libraries with undefined symbols to be built.
19549 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19551 # Flag that forces no undefined symbols.
19552 no_undefined_flag=$lt_no_undefined_flag_CXX
19554 # Commands used to finish a libtool library installation in a directory.
19555 finish_cmds=$lt_finish_cmds
19557 # Same as above, but a single script fragment to be evaled but not shown.
19558 finish_eval=$lt_finish_eval
19560 # Take the output of nm and produce a listing of raw symbols and C names.
19561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19563 # Transform the output of nm in a proper C declaration
19564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19566 # Transform the output of nm in a C name address pair
19567 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19569 # This is the shared library runtime path variable.
19570 runpath_var=$runpath_var
19572 # This is the shared library path variable.
19573 shlibpath_var=$shlibpath_var
19575 # Is shlibpath searched before the hard-coded library search path?
19576 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19578 # How to hardcode a shared library path into an executable.
19579 hardcode_action=$hardcode_action_CXX
19581 # Whether we should hardcode library paths into libraries.
19582 hardcode_into_libs=$hardcode_into_libs
19584 # Flag to hardcode \$libdir into a binary during linking.
19585 # This must work even if \$libdir does not exist.
19586 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19588 # If ld is used when linking, flag to hardcode \$libdir into
19589 # a binary during linking. This must work even if \$libdir does
19591 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19593 # Whether we need a single -rpath flag with a separated argument.
19594 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19596 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19597 # resulting binary.
19598 hardcode_direct=$hardcode_direct_CXX
19600 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19601 # resulting binary.
19602 hardcode_minus_L=$hardcode_minus_L_CXX
19604 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19605 # the resulting binary.
19606 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19608 # Set to yes if building a shared library automatically hardcodes DIR into the library
19609 # and all subsequent libraries and executables linked against it.
19610 hardcode_automatic=$hardcode_automatic_CXX
19612 # Variables whose values should be saved in libtool wrapper scripts and
19613 # restored at relink time.
19614 variables_saved_for_relink="$variables_saved_for_relink"
19616 # Whether libtool must link a program against all its dependency libraries.
19617 link_all_deplibs=$link_all_deplibs_CXX
19619 # Compile-time system search path for libraries
19620 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19622 # Run-time system search path for libraries
19623 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19625 # Fix the shell variable \$srcfile for the compiler.
19626 fix_srcfile_path="$fix_srcfile_path_CXX"
19628 # Set to yes if exported symbols are required.
19629 always_export_symbols=$always_export_symbols_CXX
19631 # The commands to list exported symbols.
19632 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19634 # The commands to extract the exported symbol list from a shared archive.
19635 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19637 # Symbols that should not be listed in the preloaded symbols.
19638 exclude_expsyms=$lt_exclude_expsyms_CXX
19640 # Symbols that must always be exported.
19641 include_expsyms=$lt_include_expsyms_CXX
19643 # ### END LIBTOOL TAG CONFIG: $tagname
19649 # If there is no Makefile yet, we rely on a make rule to execute
19650 # `config.status --recheck' to rerun these tests and create the
19651 # libtool script then.
19652 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19653 if test -f "$ltmain_in"; then
19654 test -f Makefile && make "$ltmain"
19660 ac_cpp='$CPP $CPPFLAGS'
19661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19669 with_gnu_ldcxx=$with_gnu_ld
19670 with_gnu_ld=$lt_save_with_gnu_ld
19671 lt_cv_path_LDCXX=$lt_cv_path_LD
19672 lt_cv_path_LD=$lt_save_path_LD
19673 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19674 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19682 if test -n "$F77" && test "X$F77" != "Xno"; then
19685 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19686 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19687 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19690 archive_cmds_need_lc_F77=no
19691 allow_undefined_flag_F77=
19692 always_export_symbols_F77=no
19693 archive_expsym_cmds_F77=
19694 export_dynamic_flag_spec_F77=
19695 hardcode_direct_F77=no
19696 hardcode_libdir_flag_spec_F77=
19697 hardcode_libdir_flag_spec_ld_F77=
19698 hardcode_libdir_separator_F77=
19699 hardcode_minus_L_F77=no
19700 hardcode_automatic_F77=no
19702 module_expsym_cmds_F77=
19703 link_all_deplibs_F77=unknown
19704 old_archive_cmds_F77=$old_archive_cmds
19705 no_undefined_flag_F77=
19706 whole_archive_flag_spec_F77=
19707 enable_shared_with_static_runtimes_F77=no
19709 # Source file extension for f77 test sources.
19712 # Object file extension for compiled f77 test sources.
19716 # Code to be used in simple compile tests
19717 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19719 # Code to be used in simple link tests
19720 lt_simple_link_test_code=" program t\n end\n"
19722 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19724 # If no C compiler was specified, use CC.
19727 # Allow CC to be a program name with arguments.
19731 # save warnings/boilerplate of simple test code
19732 ac_outfile=conftest.$ac_objext
19733 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19734 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19735 _lt_compiler_boilerplate=`cat conftest.err`
19738 ac_outfile=conftest.$ac_objext
19739 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19740 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19741 _lt_linker_boilerplate=`cat conftest.err`
19745 # Allow CC to be a program name with arguments.
19750 for cc_temp in $compiler""; do
19752 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19753 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19758 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19761 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19762 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19763 echo "$as_me:$LINENO: result: $can_build_shared" >&5
19764 echo "${ECHO_T}$can_build_shared" >&6
19766 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19767 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19768 test "$can_build_shared" = "no" && enable_shared=no
19770 # On AIX, shared libraries and static libraries use the same namespace, and
19771 # are all built from PIC.
19774 test "$enable_shared" = yes && enable_static=no
19775 if test -n "$RANLIB"; then
19776 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19777 postinstall_cmds='$RANLIB $lib'
19781 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19782 test "$enable_shared" = yes && enable_static=no
19786 echo "$as_me:$LINENO: result: $enable_shared" >&5
19787 echo "${ECHO_T}$enable_shared" >&6
19789 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19790 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19791 # Make sure either enable_shared or enable_static is yes.
19792 test "$enable_shared" = yes || enable_static=yes
19793 echo "$as_me:$LINENO: result: $enable_static" >&5
19794 echo "${ECHO_T}$enable_static" >&6
19796 test "$ld_shlibs_F77" = no && can_build_shared=no
19801 lt_prog_compiler_wl_F77=
19802 lt_prog_compiler_pic_F77=
19803 lt_prog_compiler_static_F77=
19805 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19806 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
19808 if test "$GCC" = yes; then
19809 lt_prog_compiler_wl_F77='-Wl,'
19810 lt_prog_compiler_static_F77='-static'
19814 # All AIX code is PIC.
19815 if test "$host_cpu" = ia64; then
19816 # AIX 5 now supports IA64 processor
19817 lt_prog_compiler_static_F77='-Bstatic'
19822 # FIXME: we need at least 68020 code to build shared libraries, but
19823 # adding the `-m68020' flag to GCC prevents building anything better,
19825 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
19828 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19829 # PIC is the default for these OSes.
19832 mingw* | pw32* | os2*)
19833 # This hack is so that the source file can tell whether it is being
19834 # built for inclusion in a dll (and should export symbols for example).
19835 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19838 darwin* | rhapsody*)
19839 # PIC is the default on this platform
19840 # Common symbols not allowed in MH_DYLIB files
19841 lt_prog_compiler_pic_F77='-fno-common'
19845 # Just because we use GCC doesn't mean we suddenly get shared libraries
19846 # on systems that don't support them.
19847 lt_prog_compiler_can_build_shared_F77=no
19852 if test -d /usr/nec; then
19853 lt_prog_compiler_pic_F77=-Kconform_pic
19858 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19859 # not for PA HP-UX.
19860 case "$host_cpu" in
19865 lt_prog_compiler_pic_F77='-fPIC'
19871 lt_prog_compiler_pic_F77='-fPIC'
19875 # PORTME Check for flag to pass linker flags through the system compiler.
19878 lt_prog_compiler_wl_F77='-Wl,'
19879 if test "$host_cpu" = ia64; then
19880 # AIX 5 now supports IA64 processor
19881 lt_prog_compiler_static_F77='-Bstatic'
19883 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
19887 # PIC is the default on this platform
19888 # Common symbols not allowed in MH_DYLIB files
19889 case $cc_basename in
19891 lt_prog_compiler_pic_F77='-qnocommon'
19892 lt_prog_compiler_wl_F77='-Wl,'
19897 mingw* | pw32* | os2*)
19898 # This hack is so that the source file can tell whether it is being
19899 # built for inclusion in a dll (and should export symbols for example).
19900 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19903 hpux9* | hpux10* | hpux11*)
19904 lt_prog_compiler_wl_F77='-Wl,'
19905 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19906 # not for PA HP-UX.
19907 case "$host_cpu" in
19912 lt_prog_compiler_pic_F77='+Z'
19915 # Is there a better lt_prog_compiler_static that works with the bundled CC?
19916 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
19919 irix5* | irix6* | nonstopux*)
19920 lt_prog_compiler_wl_F77='-Wl,'
19921 # PIC (with -KPIC) is the default.
19922 lt_prog_compiler_static_F77='-non_shared'
19926 lt_prog_compiler_pic_F77='-KPIC'
19927 lt_prog_compiler_static_F77='-Bstatic'
19931 case $cc_basename in
19933 lt_prog_compiler_wl_F77='-Wl,'
19934 lt_prog_compiler_pic_F77='-KPIC'
19935 lt_prog_compiler_static_F77='-static'
19937 pgcc* | pgf77* | pgf90*)
19938 # Portland Group compilers (*not* the Pentium gcc compiler,
19939 # which looks to be a dead project)
19940 lt_prog_compiler_wl_F77='-Wl,'
19941 lt_prog_compiler_pic_F77='-fpic'
19942 lt_prog_compiler_static_F77='-static'
19945 lt_prog_compiler_wl_F77='-Wl,'
19946 # All Alpha code is PIC.
19947 lt_prog_compiler_static_F77='-non_shared'
19952 osf3* | osf4* | osf5*)
19953 lt_prog_compiler_wl_F77='-Wl,'
19954 # All OSF/1 code is PIC.
19955 lt_prog_compiler_static_F77='-non_shared'
19959 lt_prog_compiler_pic_F77='-Kpic'
19960 lt_prog_compiler_static_F77='-dn'
19964 lt_prog_compiler_pic_F77='-KPIC'
19965 lt_prog_compiler_static_F77='-Bstatic'
19966 case $cc_basename in
19967 f77* | f90* | f95*)
19968 lt_prog_compiler_wl_F77='-Qoption ld ';;
19970 lt_prog_compiler_wl_F77='-Wl,';;
19975 lt_prog_compiler_wl_F77='-Qoption ld '
19976 lt_prog_compiler_pic_F77='-PIC'
19977 lt_prog_compiler_static_F77='-Bstatic'
19980 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19981 lt_prog_compiler_wl_F77='-Wl,'
19982 lt_prog_compiler_pic_F77='-KPIC'
19983 lt_prog_compiler_static_F77='-Bstatic'
19987 if test -d /usr/nec ;then
19988 lt_prog_compiler_pic_F77='-Kconform_pic'
19989 lt_prog_compiler_static_F77='-Bstatic'
19994 lt_prog_compiler_wl_F77='-Wl,'
19995 lt_prog_compiler_can_build_shared_F77=no
19999 lt_prog_compiler_pic_F77='-pic'
20000 lt_prog_compiler_static_F77='-Bstatic'
20004 lt_prog_compiler_can_build_shared_F77=no
20009 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
20010 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
20013 # Check to make sure the PIC flag actually works.
20015 if test -n "$lt_prog_compiler_pic_F77"; then
20017 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
20018 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
20019 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 lt_prog_compiler_pic_works_F77=no
20023 ac_outfile=conftest.$ac_objext
20024 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20025 lt_compiler_flag="$lt_prog_compiler_pic_F77"
20026 # Insert the option either (1) after the last *FLAGS variable, or
20027 # (2) before a word containing "conftest.", or (3) at the end.
20028 # Note that $ac_compile itself does not contain backslashes and begins
20029 # with a dollar sign (not a hyphen), so the echo should work correctly.
20030 # The option is referenced via a variable to avoid confusing sed.
20031 lt_compile=`echo "$ac_compile" | $SED \
20032 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20034 -e 's:$: $lt_compiler_flag:'`
20035 (eval echo "\"\$as_me:20035: $lt_compile\"" >&5)
20036 (eval "$lt_compile" 2>conftest.err)
20038 cat conftest.err >&5
20039 echo "$as_me:20039: \$? = $ac_status" >&5
20040 if (exit $ac_status) && test -s "$ac_outfile"; then
20041 # The compiler can only warn and ignore the option if not recognized
20042 # So say no if there are warnings other than the usual output.
20043 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
20044 $SED '/^$/d' conftest.err >conftest.er2
20045 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
20046 lt_prog_compiler_pic_works_F77=yes
20052 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
20053 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
20055 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
20056 case $lt_prog_compiler_pic_F77 in
20058 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
20061 lt_prog_compiler_pic_F77=
20062 lt_prog_compiler_can_build_shared_F77=no
20067 # For platforms which do not support PIC, -DPIC is meaningless:
20069 lt_prog_compiler_pic_F77=
20072 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
20076 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20077 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
20078 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 lt_cv_prog_compiler_c_o_F77=no
20082 $rm -r conftest 2>/dev/null
20086 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20088 lt_compiler_flag="-o out/conftest2.$ac_objext"
20089 # Insert the option either (1) after the last *FLAGS variable, or
20090 # (2) before a word containing "conftest.", or (3) at the end.
20091 # Note that $ac_compile itself does not contain backslashes and begins
20092 # with a dollar sign (not a hyphen), so the echo should work correctly.
20093 lt_compile=`echo "$ac_compile" | $SED \
20094 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20096 -e 's:$: $lt_compiler_flag:'`
20097 (eval echo "\"\$as_me:20097: $lt_compile\"" >&5)
20098 (eval "$lt_compile" 2>out/conftest.err)
20100 cat out/conftest.err >&5
20101 echo "$as_me:20101: \$? = $ac_status" >&5
20102 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20104 # The compiler can only warn and ignore the option if not recognized
20105 # So say no if there are warnings
20106 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
20107 $SED '/^$/d' out/conftest.err >out/conftest.er2
20108 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20109 lt_cv_prog_compiler_c_o_F77=yes
20114 # SGI C++ compiler will create directory out/ii_files/ for
20115 # template instantiation
20116 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20117 $rm out/* && rmdir out
20123 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
20124 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
20127 hard_links="nottested"
20128 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
20129 # do not overwrite the value of need_locks provided by the user
20130 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20131 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20134 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20136 ln conftest.a conftest.b 2>&5 || hard_links=no
20137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20138 echo "$as_me:$LINENO: result: $hard_links" >&5
20139 echo "${ECHO_T}$hard_links" >&6
20140 if test "$hard_links" = no; then
20141 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20142 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20149 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20150 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20153 allow_undefined_flag_F77=
20154 enable_shared_with_static_runtimes_F77=no
20156 archive_expsym_cmds_F77=
20157 old_archive_From_new_cmds_F77=
20158 old_archive_from_expsyms_cmds_F77=
20159 export_dynamic_flag_spec_F77=
20160 whole_archive_flag_spec_F77=
20161 thread_safe_flag_spec_F77=
20162 hardcode_libdir_flag_spec_F77=
20163 hardcode_libdir_flag_spec_ld_F77=
20164 hardcode_libdir_separator_F77=
20165 hardcode_direct_F77=no
20166 hardcode_minus_L_F77=no
20167 hardcode_shlibpath_var_F77=unsupported
20168 link_all_deplibs_F77=unknown
20169 hardcode_automatic_F77=no
20171 module_expsym_cmds_F77=
20172 always_export_symbols_F77=no
20173 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20174 # include_expsyms should be a list of space-separated symbols to be *always*
20175 # included in the symbol list
20176 include_expsyms_F77=
20177 # exclude_expsyms can be an extended regexp of symbols to exclude
20178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20180 # as well as any symbol that contains `d'.
20181 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
20182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20183 # platforms (ab)use it in PIC code, but their linkers get confused if
20184 # the symbol is explicitly referenced. Since portable code cannot
20185 # rely on this symbol name, it's probably fine to never include it in
20186 # preloaded symbol tables.
20187 extract_expsyms_cmds=
20188 # Just being paranoid about ensuring that cc_basename is set.
20189 for cc_temp in $compiler""; do
20191 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20192 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20197 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20200 cygwin* | mingw* | pw32*)
20201 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20202 # When not using gcc, we currently assume that we are using
20203 # Microsoft Visual C++.
20204 if test "$GCC" != yes; then
20214 if test "$with_gnu_ld" = yes; then
20215 # If archive_cmds runs LD, not CC, wlarc should be empty
20218 # Set some defaults for GNU ld with shared library support. These
20219 # are reset later if shared libraries are not supported. Putting them
20220 # here allows them to be overridden if necessary.
20221 runpath_var=LD_RUN_PATH
20222 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20223 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20224 # ancient GNU ld didn't support --whole-archive et. al.
20225 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20226 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20228 whole_archive_flag_spec_F77=
20230 supports_anon_versioning=no
20231 case `$LD -v 2>/dev/null` in
20232 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20233 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20234 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20235 *\ 2.11.*) ;; # other 2.11 versions
20236 *) supports_anon_versioning=yes ;;
20239 # See if GNU ld supports shared libraries.
20241 aix3* | aix4* | aix5*)
20242 # On AIX/PPC, the GNU linker is very broken
20243 if test "$host_cpu" != ia64; then
20247 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20248 *** to be unable to reliably create shared libraries on AIX.
20249 *** Therefore, libtool is disabling shared libraries support. If you
20250 *** really care for shared libraries, you may want to modify your PATH
20251 *** so that a non-GNU linker is found, and then restart.
20258 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)'
20259 hardcode_libdir_flag_spec_F77='-L$libdir'
20260 hardcode_minus_L_F77=yes
20262 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20263 # that the semantics of dynamic libraries on AmigaOS, at least up
20264 # to version 4, is to share data among multiple programs linked
20265 # with the same dynamic library. Since this doesn't match the
20266 # behavior of shared libraries on other platforms, we can't use
20272 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20273 allow_undefined_flag_F77=unsupported
20274 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20275 # support --undefined. This deserves some investigation. FIXME
20276 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20282 cygwin* | mingw* | pw32*)
20283 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
20284 # as there is no search path for DLLs.
20285 hardcode_libdir_flag_spec_F77='-L$libdir'
20286 allow_undefined_flag_F77=unsupported
20287 always_export_symbols_F77=no
20288 enable_shared_with_static_runtimes_F77=yes
20289 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20291 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20292 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20293 # If the export-symbols file already is a .def file (1st line
20294 # is EXPORTS), use it as is; otherwise, prepend...
20295 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20296 cp $export_symbols $output_objdir/$soname.def;
20298 echo EXPORTS > $output_objdir/$soname.def;
20299 cat $export_symbols >> $output_objdir/$soname.def;
20301 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20308 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20310 case $cc_basename,$host_cpu in
20311 pgcc*) # Portland Group C compiler
20312 whole_archive_flag_spec_F77=
20314 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
20315 whole_archive_flag_spec_F77=
20316 tmp_addflag=' -fpic -Mnomain' ;;
20317 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
20318 tmp_addflag=' -i_dynamic' ;;
20319 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
20320 tmp_addflag=' -i_dynamic -nofor_main' ;;
20321 ifc* | ifort*) # Intel Fortran compiler
20322 tmp_addflag=' -nofor_main' ;;
20324 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20326 if test $supports_anon_versioning = yes; then
20327 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
20328 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20329 $echo "local: *; };" >> $output_objdir/$libname.ver~
20330 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20338 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20339 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20342 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20343 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20348 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20352 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20353 *** create shared libraries on Solaris systems. Therefore, libtool
20354 *** is disabling shared libraries support. We urge you to upgrade GNU
20355 *** binutils to release 2.9.1 or newer. Another option is to modify
20356 *** your PATH or compiler configuration so that the native linker is
20357 *** used, and then restart.
20360 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20361 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20362 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20369 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20371 hardcode_direct_F77=yes
20372 hardcode_shlibpath_var_F77=no
20376 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20377 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20378 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20385 if test "$ld_shlibs_F77" = no; then
20387 hardcode_libdir_flag_spec_F77=
20388 export_dynamic_flag_spec_F77=
20389 whole_archive_flag_spec_F77=
20392 # PORTME fill in a description of your system's linker (not GNU ld)
20395 allow_undefined_flag_F77=unsupported
20396 always_export_symbols_F77=yes
20397 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'
20398 # Note: this linker hardcodes the directories in LIBPATH if there
20399 # are no directories specified by -L.
20400 hardcode_minus_L_F77=yes
20401 if test "$GCC" = yes && test -z "$link_static_flag"; then
20402 # Neither direct hardcoding nor static linking is supported with a
20404 hardcode_direct_F77=unsupported
20409 if test "$host_cpu" = ia64; then
20410 # On IA64, the linker does run time linking by default, so we don't
20411 # have to do anything special.
20412 aix_use_runtimelinking=no
20413 exp_sym_flag='-Bexport'
20416 # If we're using GNU nm, then we don't want the "-C" option.
20417 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20418 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20419 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'
20421 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'
20423 aix_use_runtimelinking=no
20425 # Test if we are trying to use run time linking or normal
20426 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20427 # need to do runtime linking.
20428 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20429 for ld_flag in $LDFLAGS; do
20430 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20431 aix_use_runtimelinking=yes
20437 exp_sym_flag='-bexport'
20438 no_entry_flag='-bnoentry'
20441 # When large executables or shared objects are built, AIX ld can
20442 # have problems creating the table of contents. If linking a library
20443 # or program results in "error TOC overflow" add -mminimal-toc to
20444 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20445 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20447 archive_cmds_F77=''
20448 hardcode_direct_F77=yes
20449 hardcode_libdir_separator_F77=':'
20450 link_all_deplibs_F77=yes
20452 if test "$GCC" = yes; then
20453 case $host_os in aix4.[012]|aix4.[012].*)
20454 # We only want to do this on AIX 4.2 and lower, the check
20455 # below for broken collect2 doesn't work under 4.3+
20456 collect2name=`${CC} -print-prog-name=collect2`
20457 if test -f "$collect2name" && \
20458 strings "$collect2name" | grep resolve_lib_name >/dev/null
20460 # We have reworked collect2
20461 hardcode_direct_F77=yes
20463 # We have old collect2
20464 hardcode_direct_F77=unsupported
20465 # It fails to find uninstalled libraries when the uninstalled
20466 # path is not listed in the libpath. Setting hardcode_minus_L
20467 # to unsupported forces relinking
20468 hardcode_minus_L_F77=yes
20469 hardcode_libdir_flag_spec_F77='-L$libdir'
20470 hardcode_libdir_separator_F77=
20473 shared_flag='-shared'
20474 if test "$aix_use_runtimelinking" = yes; then
20475 shared_flag="$shared_flag "'${wl}-G'
20479 if test "$host_cpu" = ia64; then
20480 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20481 # chokes on -Wl,-G. The following line is correct:
20484 if test "$aix_use_runtimelinking" = yes; then
20485 shared_flag='${wl}-G'
20487 shared_flag='${wl}-bM:SRE'
20492 # It seems that -bexpall does not export symbols beginning with
20493 # underscore (_), so it is better to generate a list of symbols to export.
20494 always_export_symbols_F77=yes
20495 if test "$aix_use_runtimelinking" = yes; then
20496 # Warning - without using the other runtime loading flags (-brtl),
20497 # -berok will link without error, but may produce a broken library.
20498 allow_undefined_flag_F77='-berok'
20499 # Determine the default libpath from the value encoded in an empty executable.
20500 cat >conftest.$ac_ext <<_ACEOF
20505 rm -f conftest.$ac_objext conftest$ac_exeext
20506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20507 (eval $ac_link) 2>conftest.er1
20509 grep -v '^ *+' conftest.er1 >conftest.err
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } &&
20514 { ac_try='test -z "$ac_f77_werror_flag"
20515 || test ! -s conftest.err'
20516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; } &&
20521 { ac_try='test -s conftest$ac_exeext'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; }; then
20528 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20530 # Check for a 64-bit object if we didn't find anything.
20531 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; }
20534 echo "$as_me: failed program was:" >&5
20535 sed 's/^/| /' conftest.$ac_ext >&5
20538 rm -f conftest.err conftest.$ac_objext \
20539 conftest$ac_exeext conftest.$ac_ext
20540 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20542 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20543 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"
20545 if test "$host_cpu" = ia64; then
20546 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
20547 allow_undefined_flag_F77="-z nodefs"
20548 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"
20550 # Determine the default libpath from the value encoded in an empty executable.
20551 cat >conftest.$ac_ext <<_ACEOF
20556 rm -f conftest.$ac_objext conftest$ac_exeext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20558 (eval $ac_link) 2>conftest.er1
20560 grep -v '^ *+' conftest.er1 >conftest.err
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } &&
20565 { ac_try='test -z "$ac_f77_werror_flag"
20566 || test ! -s conftest.err'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; } &&
20572 { ac_try='test -s conftest$ac_exeext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20579 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20581 # Check for a 64-bit object if we didn't find anything.
20582 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; }
20585 echo "$as_me: failed program was:" >&5
20586 sed 's/^/| /' conftest.$ac_ext >&5
20589 rm -f conftest.err conftest.$ac_objext \
20590 conftest$ac_exeext conftest.$ac_ext
20591 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20593 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20594 # Warning - without using the other run time loading flags,
20595 # -berok will link without error, but may produce a broken library.
20596 no_undefined_flag_F77=' ${wl}-bernotok'
20597 allow_undefined_flag_F77=' ${wl}-berok'
20598 # -bexpall does not export symbols beginning with underscore (_)
20599 always_export_symbols_F77=yes
20600 # Exported symbols can be pulled into shared objects from archives
20601 whole_archive_flag_spec_F77=' '
20602 archive_cmds_need_lc_F77=yes
20603 # This is similar to how AIX traditionally builds it's shared libraries.
20604 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'
20610 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)'
20611 hardcode_libdir_flag_spec_F77='-L$libdir'
20612 hardcode_minus_L_F77=yes
20613 # see comment about different semantics on the GNU ld section
20618 export_dynamic_flag_spec_F77=-rdynamic
20621 cygwin* | mingw* | pw32*)
20622 # When not using gcc, we currently assume that we are using
20623 # Microsoft Visual C++.
20624 # hardcode_libdir_flag_spec is actually meaningless, as there is
20625 # no search path for DLLs.
20626 hardcode_libdir_flag_spec_F77=' '
20627 allow_undefined_flag_F77=unsupported
20628 # Tell ltmain to make .lib files, not .a files.
20630 # Tell ltmain to make .dll files, not .so files.
20632 # FIXME: Setting linknames here is a bad hack.
20633 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20634 # The linker will automatically build a .lib file if we build a DLL.
20635 old_archive_From_new_cmds_F77='true'
20636 # FIXME: Should let the user specify the lib program.
20637 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20638 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
20639 enable_shared_with_static_runtimes_F77=yes
20642 darwin* | rhapsody*)
20644 rhapsody* | darwin1.[012])
20645 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
20648 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20649 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20651 case ${MACOSX_DEPLOYMENT_TARGET} in
20653 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20656 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
20662 archive_cmds_need_lc_F77=no
20663 hardcode_direct_F77=no
20664 hardcode_automatic_F77=yes
20665 hardcode_shlibpath_var_F77=unsupported
20666 whole_archive_flag_spec_F77=''
20667 link_all_deplibs_F77=yes
20668 if test "$GCC" = yes ; then
20669 output_verbose_link_cmd='echo'
20670 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20671 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20672 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20673 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}'
20674 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}'
20676 case $cc_basename in
20678 output_verbose_link_cmd='echo'
20679 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
20680 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20681 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20682 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}'
20683 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}'
20693 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20694 hardcode_libdir_flag_spec_F77='-L$libdir'
20695 hardcode_shlibpath_var_F77=no
20702 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20703 # support. Future versions do this automatically, but an explicit c++rt0.o
20704 # does not break anything, and helps significantly (at the cost of a little
20707 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20708 hardcode_libdir_flag_spec_F77='-R$libdir'
20709 hardcode_direct_F77=yes
20710 hardcode_shlibpath_var_F77=no
20713 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20715 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20716 hardcode_direct_F77=yes
20717 hardcode_minus_L_F77=yes
20718 hardcode_shlibpath_var_F77=no
20721 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20722 freebsd* | kfreebsd*-gnu | dragonfly*)
20723 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20724 hardcode_libdir_flag_spec_F77='-R$libdir'
20725 hardcode_direct_F77=yes
20726 hardcode_shlibpath_var_F77=no
20730 if test "$GCC" = yes; then
20731 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'
20733 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'
20735 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20736 hardcode_libdir_separator_F77=:
20737 hardcode_direct_F77=yes
20739 # hardcode_minus_L: Not really in the search PATH,
20740 # but as the default location of the library.
20741 hardcode_minus_L_F77=yes
20742 export_dynamic_flag_spec_F77='${wl}-E'
20746 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20747 case "$host_cpu" in
20749 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20752 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20756 case "$host_cpu" in
20758 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20761 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20765 if test "$with_gnu_ld" = no; then
20766 case "$host_cpu" in
20768 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20769 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
20770 hardcode_libdir_separator_F77=:
20771 hardcode_direct_F77=no
20772 hardcode_shlibpath_var_F77=no
20775 hardcode_libdir_flag_spec_F77='-L$libdir'
20776 hardcode_direct_F77=no
20777 hardcode_shlibpath_var_F77=no
20779 # hardcode_minus_L: Not really in the search PATH,
20780 # but as the default location of the library.
20781 hardcode_minus_L_F77=yes
20784 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20785 hardcode_libdir_separator_F77=:
20786 hardcode_direct_F77=yes
20787 export_dynamic_flag_spec_F77='${wl}-E'
20789 # hardcode_minus_L: Not really in the search PATH,
20790 # but as the default location of the library.
20791 hardcode_minus_L_F77=yes
20797 irix5* | irix6* | nonstopux*)
20798 if test "$GCC" = yes; then
20799 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'
20801 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'
20802 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
20804 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20805 hardcode_libdir_separator_F77=:
20806 link_all_deplibs_F77=yes
20810 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20811 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20813 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20815 hardcode_libdir_flag_spec_F77='-R$libdir'
20816 hardcode_direct_F77=yes
20817 hardcode_shlibpath_var_F77=no
20821 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20822 hardcode_direct_F77=yes
20823 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20824 hardcode_libdir_separator_F77=:
20825 hardcode_shlibpath_var_F77=no
20829 hardcode_direct_F77=yes
20830 hardcode_shlibpath_var_F77=no
20831 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20832 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20833 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20834 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20835 export_dynamic_flag_spec_F77='${wl}-E'
20838 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20839 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20840 hardcode_libdir_flag_spec_F77='-R$libdir'
20843 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20844 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20851 hardcode_libdir_flag_spec_F77='-L$libdir'
20852 hardcode_minus_L_F77=yes
20853 allow_undefined_flag_F77=unsupported
20854 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'
20855 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20859 if test "$GCC" = yes; then
20860 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20861 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'
20863 allow_undefined_flag_F77=' -expect_unresolved \*'
20864 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'
20866 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20867 hardcode_libdir_separator_F77=:
20870 osf4* | osf5*) # as osf3* with the addition of -msym flag
20871 if test "$GCC" = yes; then
20872 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20873 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'
20874 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20876 allow_undefined_flag_F77=' -expect_unresolved \*'
20877 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'
20878 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~
20879 $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'
20881 # Both c and cxx compiler support -rpath directly
20882 hardcode_libdir_flag_spec_F77='-rpath $libdir'
20884 hardcode_libdir_separator_F77=:
20888 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20889 hardcode_shlibpath_var_F77=no
20890 export_dynamic_flag_spec_F77='${wl}-Bexport'
20891 runpath_var=LD_RUN_PATH
20892 hardcode_runpath_var=yes
20896 no_undefined_flag_F77=' -z text'
20897 if test "$GCC" = yes; then
20899 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20900 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20901 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20904 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20905 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20906 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20908 hardcode_libdir_flag_spec_F77='-R$libdir'
20909 hardcode_shlibpath_var_F77=no
20911 solaris2.[0-5] | solaris2.[0-5].*) ;;
20913 # The compiler driver will combine linker options so we
20914 # cannot just pass the convience library names through
20915 # without $wl, iff we do not link with $LD.
20916 # Luckily, gcc supports the same syntax we need for Sun Studio.
20917 # Supported since Solaris 2.6 (maybe 2.5.1?)
20920 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
20922 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' ;;
20925 link_all_deplibs_F77=yes
20929 if test "x$host_vendor" = xsequent; then
20930 # Use $CC to link under sequent, because it throws in some extra .o
20931 # files that make .init and .fini sections work.
20932 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20934 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20936 hardcode_libdir_flag_spec_F77='-L$libdir'
20937 hardcode_direct_F77=yes
20938 hardcode_minus_L_F77=yes
20939 hardcode_shlibpath_var_F77=no
20943 case $host_vendor in
20945 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20946 hardcode_direct_F77=yes # is this really true???
20949 ## LD is ld it makes a PLAMLIB
20950 ## CC just makes a GrossModule.
20951 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20952 reload_cmds_F77='$CC -r -o $output$reload_objs'
20953 hardcode_direct_F77=no
20956 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20957 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
20960 runpath_var='LD_RUN_PATH'
20961 hardcode_shlibpath_var_F77=no
20965 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20966 hardcode_shlibpath_var_F77=no
20967 export_dynamic_flag_spec_F77='-Bexport'
20971 if test -d /usr/nec; then
20972 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20973 hardcode_shlibpath_var_F77=no
20974 runpath_var=LD_RUN_PATH
20975 hardcode_runpath_var=yes
20981 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20982 hardcode_direct_F77=yes
20983 hardcode_minus_L_F77=no
20984 hardcode_shlibpath_var_F77=no
20985 hardcode_runpath_var=yes
20986 runpath_var=LD_RUN_PATH
20989 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20990 no_undefined_flag_F77='${wl}-z ${wl}text'
20991 if test "$GCC" = yes; then
20992 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20994 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20996 runpath_var='LD_RUN_PATH'
20997 hardcode_shlibpath_var_F77=no
21001 no_undefined_flag_F77=' -z text'
21002 # $CC -shared without GNU ld will not create a library from C++
21003 # object files and a static libstdc++, better avoid it by now
21004 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21005 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21006 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21007 hardcode_libdir_flag_spec_F77=
21008 hardcode_shlibpath_var_F77=no
21009 runpath_var='LD_RUN_PATH'
21013 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21014 hardcode_libdir_flag_spec_F77='-L$libdir'
21015 hardcode_shlibpath_var_F77=no
21024 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
21025 echo "${ECHO_T}$ld_shlibs_F77" >&6
21026 test "$ld_shlibs_F77" = no && can_build_shared=no
21028 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21029 if test "$GCC" = yes; then
21030 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21034 # Do we need to explicitly link libc?
21036 case "x$archive_cmds_need_lc_F77" in
21038 # Assume -lc should be added
21039 archive_cmds_need_lc_F77=yes
21041 if test "$enable_shared" = yes && test "$GCC" = yes; then
21042 case $archive_cmds_F77 in
21044 # FIXME: we may have to deal with multi-command sequences.
21047 # Test whether the compiler implicitly links with -lc since on some
21048 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21049 # to ld, don't add -lc before -lgcc.
21050 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21051 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21053 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21056 (eval $ac_compile) 2>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } 2>conftest.err; then
21062 libobjs=conftest.$ac_objext
21064 wl=$lt_prog_compiler_wl_F77
21070 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
21071 allow_undefined_flag_F77=
21072 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21073 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }
21078 archive_cmds_need_lc_F77=no
21080 archive_cmds_need_lc_F77=yes
21082 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
21084 cat conftest.err 1>&5
21087 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
21088 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
21095 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21096 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21097 library_names_spec=
21098 libname_spec='lib$name'
21102 postuninstall_cmds=
21106 shlibpath_overrides_runpath=unknown
21108 dynamic_linker="$host_os ld.so"
21109 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21110 if test "$GCC" = yes; then
21111 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21112 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21113 # if the path contains ";" then we assume it to be the separator
21114 # otherwise default to the standard path separator (i.e. ":") - it is
21115 # assumed that no part of a normal pathname contains ";" but that should
21116 # okay in the real world where ";" in dirpaths is itself problematic.
21117 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21119 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21122 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21124 need_lib_prefix=unknown
21125 hardcode_into_libs=no
21127 # when you set need_version to no, make sure it does not cause -set_version
21128 # flags to be left without arguments
21129 need_version=unknown
21134 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21135 shlibpath_var=LIBPATH
21137 # AIX 3 has no versioning support, so we append a major version to the name.
21138 soname_spec='${libname}${release}${shared_ext}$major'
21145 hardcode_into_libs=yes
21146 if test "$host_cpu" = ia64; then
21147 # AIX 5 supports IA64
21148 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21149 shlibpath_var=LD_LIBRARY_PATH
21151 # With GCC up to 2.95.x, collect2 would create an import file
21152 # for dependence libraries. The import file would start with
21153 # the line `#! .'. This would cause the generated library to
21154 # depend on `.', always an invalid library. This was fixed in
21155 # development snapshots of GCC prior to 3.0.
21157 aix4 | aix4.[01] | aix4.[01].*)
21158 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21160 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21163 can_build_shared=no
21167 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21168 # soname into executable. Probably we can add versioning support to
21169 # collect2, so additional links can be useful in future.
21170 if test "$aix_use_runtimelinking" = yes; then
21171 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21172 # instead of lib<name>.a to let people know that these are not
21173 # typical AIX shared libraries.
21174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21176 # We preserve .a as extension for shared libraries through AIX4.2
21177 # and later when we are not doing run time linking.
21178 library_names_spec='${libname}${release}.a $libname.a'
21179 soname_spec='${libname}${release}${shared_ext}$major'
21181 shlibpath_var=LIBPATH
21186 library_names_spec='$libname.ixlibrary $libname.a'
21187 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21188 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'
21192 library_names_spec='${libname}${shared_ext}'
21193 dynamic_linker="$host_os ld.so"
21194 shlibpath_var=LIBRARY_PATH
21200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21201 soname_spec='${libname}${release}${shared_ext}$major'
21202 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21203 shlibpath_var=LD_LIBRARY_PATH
21204 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21205 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21206 # the default ld.so.conf also contains /usr/contrib/lib and
21207 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21208 # libtool to hard-code these into programs
21211 cygwin* | mingw* | pw32*)
21212 version_type=windows
21217 case $GCC,$host_os in
21218 yes,cygwin* | yes,mingw* | yes,pw32*)
21219 library_names_spec='$libname.dll.a'
21220 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21221 postinstall_cmds='base_file=`basename \${file}`~
21222 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21223 dldir=$destdir/`dirname \$dlpath`~
21224 test -d \$dldir || mkdir -p \$dldir~
21225 $install_prog $dir/$dlname \$dldir/$dlname'
21226 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21227 dlpath=$dir/\$dldll~
21229 shlibpath_overrides_runpath=yes
21233 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21234 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21235 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21238 # MinGW DLLs use traditional 'lib' prefix
21239 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21240 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21241 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21242 # It is most probably a Windows format PATH printed by
21243 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21244 # path with ; separators, and with drive letters. We can handle the
21245 # drive letters (cygwin fileutils understands them), so leave them,
21246 # especially as we might pass files found there to a mingw objdump,
21247 # which wouldn't understand a cygwinified path. Ahh.
21248 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21250 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21254 # pw32 DLLs use 'pw' prefix rather than 'lib'
21255 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21261 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21264 dynamic_linker='Win32 ld.exe'
21265 # FIXME: first we should search . and the directory the executable is in
21269 darwin* | rhapsody*)
21270 dynamic_linker="$host_os dyld"
21271 version_type=darwin
21274 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21275 soname_spec='${libname}${release}${major}$shared_ext'
21276 shlibpath_overrides_runpath=yes
21277 shlibpath_var=DYLD_LIBRARY_PATH
21278 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
21279 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21280 if test "$GCC" = yes; then
21281 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"`
21283 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21293 soname_spec='${libname}${release}${shared_ext}$major'
21294 shlibpath_var=LD_LIBRARY_PATH
21305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21306 soname_spec='${libname}${release}${shared_ext}$major'
21307 shlibpath_var=LD_LIBRARY_PATH
21308 shlibpath_overrides_runpath=no
21309 hardcode_into_libs=yes
21310 dynamic_linker='GNU ld.so'
21313 freebsd* | dragonfly*)
21314 # DragonFly does not have aout. When/if they implement a new
21315 # versioning mechanism, adjust this.
21316 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21317 version_type=freebsd-$objformat
21318 case $version_type in
21320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21325 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21329 shlibpath_var=LD_LIBRARY_PATH
21332 shlibpath_overrides_runpath=yes
21334 freebsd3.[01]* | freebsdelf3.[01]*)
21335 shlibpath_overrides_runpath=yes
21336 hardcode_into_libs=yes
21339 shlibpath_overrides_runpath=no
21340 hardcode_into_libs=yes
21349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21350 soname_spec='${libname}${release}${shared_ext}$major'
21351 shlibpath_var=LD_LIBRARY_PATH
21352 hardcode_into_libs=yes
21355 hpux9* | hpux10* | hpux11*)
21356 # Give a soname corresponding to the major version so that dld.sl refuses to
21357 # link against other versions.
21361 case "$host_cpu" in
21364 hardcode_into_libs=yes
21365 dynamic_linker="$host_os dld.so"
21366 shlibpath_var=LD_LIBRARY_PATH
21367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21369 soname_spec='${libname}${release}${shared_ext}$major'
21370 if test "X$HPUX_IA64_MODE" = X32; then
21371 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21373 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21375 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21379 hardcode_into_libs=yes
21380 dynamic_linker="$host_os dld.sl"
21381 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21382 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21384 soname_spec='${libname}${release}${shared_ext}$major'
21385 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21386 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21390 dynamic_linker="$host_os dld.sl"
21391 shlibpath_var=SHLIB_PATH
21392 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21394 soname_spec='${libname}${release}${shared_ext}$major'
21397 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21398 postinstall_cmds='chmod 555 $lib'
21401 irix5* | irix6* | nonstopux*)
21403 nonstopux*) version_type=nonstopux ;;
21405 if test "$lt_cv_prog_gnu_ld" = yes; then
21413 soname_spec='${libname}${release}${shared_ext}$major'
21414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21416 irix5* | nonstopux*)
21417 libsuff= shlibsuff=
21420 case $LD in # libtool.m4 will add one of these switches to LD
21421 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21422 libsuff= shlibsuff= libmagic=32-bit;;
21423 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21424 libsuff=32 shlibsuff=N32 libmagic=N32;;
21425 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21426 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21427 *) libsuff= shlibsuff= libmagic=never-match;;
21431 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21432 shlibpath_overrides_runpath=no
21433 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21434 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21435 hardcode_into_libs=yes
21438 # No shared lib support for Linux oldld, aout, or coff.
21439 linux*oldld* | linux*aout* | linux*coff*)
21443 # This must be Linux ELF.
21448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21449 soname_spec='${libname}${release}${shared_ext}$major'
21450 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21451 shlibpath_var=LD_LIBRARY_PATH
21452 shlibpath_overrides_runpath=no
21453 # This implies no fast_install, which is unacceptable.
21454 # Some rework will be needed to allow for fast_install
21455 # before this can be enabled.
21456 hardcode_into_libs=yes
21458 # find out which ABI we are using
21460 case "$host_cpu" in
21461 x86_64*|s390x*|powerpc64*)
21462 echo '#line 21462 "configure"' > conftest.$ac_ext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21464 (eval $ac_compile) 2>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; then
21468 case `/usr/bin/file conftest.$ac_objext` in
21471 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
21479 # Append ld.so.conf contents to the search path
21480 if test -f /etc/ld.so.conf; then
21481 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' ' '`
21482 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
21485 # We used to test for /lib/ld.so.1 and disable shared libraries on
21486 # powerpc, because MkLinux only supported shared libraries with the
21487 # GNU dynamic linker. Since this was broken with cross compilers,
21488 # most powerpc-linux boxes support dynamic linking these days and
21489 # people can always --disable-shared, the test was removed, and we
21490 # assume the GNU/Linux dynamic linker is in use.
21491 dynamic_linker='GNU/Linux ld.so'
21498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21499 soname_spec='${libname}${release}${shared_ext}$major'
21500 shlibpath_var=LD_LIBRARY_PATH
21501 shlibpath_overrides_runpath=no
21502 hardcode_into_libs=yes
21503 dynamic_linker='GNU ld.so'
21510 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21513 dynamic_linker='NetBSD (a.out) ld.so'
21515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21516 soname_spec='${libname}${release}${shared_ext}$major'
21517 dynamic_linker='NetBSD ld.elf_so'
21519 shlibpath_var=LD_LIBRARY_PATH
21520 shlibpath_overrides_runpath=yes
21521 hardcode_into_libs=yes
21526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21527 shlibpath_var=LD_LIBRARY_PATH
21528 shlibpath_overrides_runpath=yes
21535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21536 soname_spec='${libname}${release}${shared_ext}$major'
21537 shlibpath_var=LD_LIBRARY_PATH
21538 shlibpath_overrides_runpath=yes
21545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21547 shlibpath_var=LD_LIBRARY_PATH
21548 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21550 openbsd2.[89] | openbsd2.[89].*)
21551 shlibpath_overrides_runpath=no
21554 shlibpath_overrides_runpath=yes
21558 shlibpath_overrides_runpath=yes
21563 libname_spec='$name'
21566 library_names_spec='$libname${shared_ext} $libname.a'
21567 dynamic_linker='OS/2 ld.exe'
21568 shlibpath_var=LIBPATH
21571 osf3* | osf4* | osf5*)
21575 soname_spec='${libname}${release}${shared_ext}$major'
21576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21577 shlibpath_var=LD_LIBRARY_PATH
21578 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21579 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21584 soname_spec='${libname}${release}${shared_ext}$major'
21585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21586 shlibpath_var=LD_LIBRARY_PATH
21593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21594 soname_spec='${libname}${release}${shared_ext}$major'
21595 shlibpath_var=LD_LIBRARY_PATH
21596 shlibpath_overrides_runpath=yes
21597 hardcode_into_libs=yes
21598 # ldd complains unless libraries are executable
21599 postinstall_cmds='chmod +x $lib'
21604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21605 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21606 shlibpath_var=LD_LIBRARY_PATH
21607 shlibpath_overrides_runpath=yes
21608 if test "$with_gnu_ld" = yes; then
21614 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21617 soname_spec='${libname}${release}${shared_ext}$major'
21618 shlibpath_var=LD_LIBRARY_PATH
21619 case $host_vendor in
21621 shlibpath_overrides_runpath=no
21623 export_dynamic_flag_spec='${wl}-Blargedynsym'
21624 runpath_var=LD_RUN_PATH
21632 shlibpath_overrides_runpath=no
21633 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21639 if test -d /usr/nec ;then
21641 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21642 soname_spec='$libname${shared_ext}.$major'
21643 shlibpath_var=LD_LIBRARY_PATH
21649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21650 soname_spec='${libname}${release}${shared_ext}$major'
21651 shlibpath_var=LD_LIBRARY_PATH
21658 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21659 echo "${ECHO_T}$dynamic_linker" >&6
21660 test "$dynamic_linker" = no && can_build_shared=no
21662 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21663 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21664 hardcode_action_F77=
21665 if test -n "$hardcode_libdir_flag_spec_F77" || \
21666 test -n "$runpath_var_F77" || \
21667 test "X$hardcode_automatic_F77" = "Xyes" ; then
21669 # We can hardcode non-existant directories.
21670 if test "$hardcode_direct_F77" != no &&
21671 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21672 # have to relink, otherwise we might link with an installed library
21673 # when we should be linking with a yet-to-be-installed one
21674 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21675 test "$hardcode_minus_L_F77" != no; then
21676 # Linking always hardcodes the temporary library directory.
21677 hardcode_action_F77=relink
21679 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21680 hardcode_action_F77=immediate
21683 # We cannot hardcode anything, or else we can only hardcode existing
21685 hardcode_action_F77=unsupported
21687 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
21688 echo "${ECHO_T}$hardcode_action_F77" >&6
21690 if test "$hardcode_action_F77" = relink; then
21691 # Fast installation is not supported
21692 enable_fast_install=no
21693 elif test "$shlibpath_overrides_runpath" = yes ||
21694 test "$enable_shared" = no; then
21695 # Fast installation is not necessary
21696 enable_fast_install=needless
21701 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
21702 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
21703 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
21704 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21705 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21706 echo "$as_me:$LINENO: result: yes" >&5
21707 echo "${ECHO_T}yes" >&6
21709 # FIXME - insert some real tests, host_os isn't really good enough
21712 if test -n "$STRIP" ; then
21713 striplib="$STRIP -x"
21714 echo "$as_me:$LINENO: result: yes" >&5
21715 echo "${ECHO_T}yes" >&6
21717 echo "$as_me:$LINENO: result: no" >&5
21718 echo "${ECHO_T}no" >&6
21722 echo "$as_me:$LINENO: result: no" >&5
21723 echo "${ECHO_T}no" >&6
21730 # The else clause should only fire when bootstrapping the
21731 # libtool distribution, otherwise you forgot to ship ltmain.sh
21732 # with your package, and you will get complaints that there are
21733 # no rules to generate ltmain.sh.
21734 if test -f "$ltmain"; then
21735 # See if we are running on zsh, and set the options which allow our commands through
21736 # without removal of \ escapes.
21737 if test -n "${ZSH_VERSION+set}" ; then
21738 setopt NO_GLOB_SUBST
21740 # Now quote all the things that may contain metacharacters while being
21741 # careful not to overquote the AC_SUBSTed values. We take copies of the
21742 # variables and quote the copies for generation of the libtool script.
21743 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21745 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21746 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21747 deplibs_check_method reload_flag reload_cmds need_locks \
21748 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21749 lt_cv_sys_global_symbol_to_c_name_address \
21750 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21751 old_postinstall_cmds old_postuninstall_cmds \
21755 lt_prog_compiler_wl_F77 \
21756 lt_prog_compiler_pic_F77 \
21757 lt_prog_compiler_static_F77 \
21758 lt_prog_compiler_no_builtin_flag_F77 \
21759 export_dynamic_flag_spec_F77 \
21760 thread_safe_flag_spec_F77 \
21761 whole_archive_flag_spec_F77 \
21762 enable_shared_with_static_runtimes_F77 \
21763 old_archive_cmds_F77 \
21764 old_archive_from_new_cmds_F77 \
21765 predep_objects_F77 \
21766 postdep_objects_F77 \
21769 compiler_lib_search_path_F77 \
21771 archive_expsym_cmds_F77 \
21772 postinstall_cmds_F77 \
21773 postuninstall_cmds_F77 \
21774 old_archive_from_expsyms_cmds_F77 \
21775 allow_undefined_flag_F77 \
21776 no_undefined_flag_F77 \
21777 export_symbols_cmds_F77 \
21778 hardcode_libdir_flag_spec_F77 \
21779 hardcode_libdir_flag_spec_ld_F77 \
21780 hardcode_libdir_separator_F77 \
21781 hardcode_automatic_F77 \
21783 module_expsym_cmds_F77 \
21784 lt_cv_prog_compiler_c_o_F77 \
21785 exclude_expsyms_F77 \
21786 include_expsyms_F77; do
21789 old_archive_cmds_F77 | \
21790 old_archive_from_new_cmds_F77 | \
21791 archive_cmds_F77 | \
21792 archive_expsym_cmds_F77 | \
21793 module_cmds_F77 | \
21794 module_expsym_cmds_F77 | \
21795 old_archive_from_expsyms_cmds_F77 | \
21796 export_symbols_cmds_F77 | \
21797 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21798 postinstall_cmds | postuninstall_cmds | \
21799 old_postinstall_cmds | old_postuninstall_cmds | \
21800 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21801 # Double-quote double-evaled strings.
21802 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21805 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21811 *'\$0 --fallback-echo"')
21812 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21818 cat <<__EOF__ >> "$cfgfile"
21819 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21821 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21823 # Shell to use when invoking shell scripts.
21826 # Whether or not to build shared libraries.
21827 build_libtool_libs=$enable_shared
21829 # Whether or not to build static libraries.
21830 build_old_libs=$enable_static
21832 # Whether or not to add -lc for building shared libraries.
21833 build_libtool_need_lc=$archive_cmds_need_lc_F77
21835 # Whether or not to disallow shared libs when runtime libs are static
21836 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
21838 # Whether or not to optimize for fast installation.
21839 fast_install=$enable_fast_install
21842 host_alias=$host_alias
21846 # The build system.
21847 build_alias=$build_alias
21851 # An echo program that does not interpret backslashes.
21856 AR_FLAGS=$lt_AR_FLAGS
21861 # A language-specific compiler.
21862 CC=$lt_compiler_F77
21864 # Is the compiler the GNU C compiler?
21870 # The linker used to build libraries.
21873 # Whether we need hard or soft links.
21876 # A BSD-compatible nm program.
21879 # A symbol stripping program
21882 # Used to examine libraries when file_magic_cmd begins "file"
21883 MAGIC_CMD=$MAGIC_CMD
21885 # Used on cygwin: DLL creation program.
21888 # Used on cygwin: object dumper.
21891 # Used on cygwin: assembler.
21894 # The name of the directory that contains temporary libtool files.
21897 # How to create reloadable object files.
21898 reload_flag=$lt_reload_flag
21899 reload_cmds=$lt_reload_cmds
21901 # How to pass a linker flag through the compiler.
21902 wl=$lt_lt_prog_compiler_wl_F77
21904 # Object file suffix (normally "o").
21905 objext="$ac_objext"
21907 # Old archive suffix (normally "a").
21910 # Shared library suffix (normally ".so").
21911 shrext_cmds='$shrext_cmds'
21913 # Executable file suffix (normally "").
21916 # Additional compiler flags for building library objects.
21917 pic_flag=$lt_lt_prog_compiler_pic_F77
21920 # What is the maximum length of a command?
21921 max_cmd_len=$lt_cv_sys_max_cmd_len
21923 # Does compiler simultaneously support -c and -o options?
21924 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
21926 # Must we lock files when doing compilation?
21927 need_locks=$lt_need_locks
21929 # Do we need the lib prefix for modules?
21930 need_lib_prefix=$need_lib_prefix
21932 # Do we need a version for libraries?
21933 need_version=$need_version
21935 # Whether dlopen is supported.
21936 dlopen_support=$enable_dlopen
21938 # Whether dlopen of programs is supported.
21939 dlopen_self=$enable_dlopen_self
21941 # Whether dlopen of statically linked programs is supported.
21942 dlopen_self_static=$enable_dlopen_self_static
21944 # Compiler flag to prevent dynamic linking.
21945 link_static_flag=$lt_lt_prog_compiler_static_F77
21947 # Compiler flag to turn off builtin functions.
21948 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
21950 # Compiler flag to allow reflexive dlopens.
21951 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
21953 # Compiler flag to generate shared objects directly from archives.
21954 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
21956 # Compiler flag to generate thread-safe objects.
21957 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
21959 # Library versioning type.
21960 version_type=$version_type
21962 # Format of library name prefix.
21963 libname_spec=$lt_libname_spec
21965 # List of archive names. First name is the real one, the rest are links.
21966 # The last name is the one that the linker finds with -lNAME.
21967 library_names_spec=$lt_library_names_spec
21969 # The coded name of the library, if different from the real name.
21970 soname_spec=$lt_soname_spec
21972 # Commands used to build and install an old-style archive.
21974 old_archive_cmds=$lt_old_archive_cmds_F77
21975 old_postinstall_cmds=$lt_old_postinstall_cmds
21976 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21978 # Create an old-style archive from a shared archive.
21979 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
21981 # Create a temporary old-style archive to link instead of a shared archive.
21982 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
21984 # Commands used to build and install a shared archive.
21985 archive_cmds=$lt_archive_cmds_F77
21986 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
21987 postinstall_cmds=$lt_postinstall_cmds
21988 postuninstall_cmds=$lt_postuninstall_cmds
21990 # Commands used to build a loadable module (assumed same as above if empty)
21991 module_cmds=$lt_module_cmds_F77
21992 module_expsym_cmds=$lt_module_expsym_cmds_F77
21994 # Commands to strip libraries.
21995 old_striplib=$lt_old_striplib
21996 striplib=$lt_striplib
21998 # Dependencies to place before the objects being linked to create a
22000 predep_objects=$lt_predep_objects_F77
22002 # Dependencies to place after the objects being linked to create a
22004 postdep_objects=$lt_postdep_objects_F77
22006 # Dependencies to place before the objects being linked to create a
22008 predeps=$lt_predeps_F77
22010 # Dependencies to place after the objects being linked to create a
22012 postdeps=$lt_postdeps_F77
22014 # The library search path used internally by the compiler when linking
22015 # a shared library.
22016 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
22018 # Method to check whether dependent libraries are shared objects.
22019 deplibs_check_method=$lt_deplibs_check_method
22021 # Command to use when deplibs_check_method == file_magic.
22022 file_magic_cmd=$lt_file_magic_cmd
22024 # Flag that allows shared libraries with undefined symbols to be built.
22025 allow_undefined_flag=$lt_allow_undefined_flag_F77
22027 # Flag that forces no undefined symbols.
22028 no_undefined_flag=$lt_no_undefined_flag_F77
22030 # Commands used to finish a libtool library installation in a directory.
22031 finish_cmds=$lt_finish_cmds
22033 # Same as above, but a single script fragment to be evaled but not shown.
22034 finish_eval=$lt_finish_eval
22036 # Take the output of nm and produce a listing of raw symbols and C names.
22037 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22039 # Transform the output of nm in a proper C declaration
22040 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22042 # Transform the output of nm in a C name address pair
22043 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22045 # This is the shared library runtime path variable.
22046 runpath_var=$runpath_var
22048 # This is the shared library path variable.
22049 shlibpath_var=$shlibpath_var
22051 # Is shlibpath searched before the hard-coded library search path?
22052 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22054 # How to hardcode a shared library path into an executable.
22055 hardcode_action=$hardcode_action_F77
22057 # Whether we should hardcode library paths into libraries.
22058 hardcode_into_libs=$hardcode_into_libs
22060 # Flag to hardcode \$libdir into a binary during linking.
22061 # This must work even if \$libdir does not exist.
22062 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
22064 # If ld is used when linking, flag to hardcode \$libdir into
22065 # a binary during linking. This must work even if \$libdir does
22067 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
22069 # Whether we need a single -rpath flag with a separated argument.
22070 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
22072 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22073 # resulting binary.
22074 hardcode_direct=$hardcode_direct_F77
22076 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22077 # resulting binary.
22078 hardcode_minus_L=$hardcode_minus_L_F77
22080 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22081 # the resulting binary.
22082 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
22084 # Set to yes if building a shared library automatically hardcodes DIR into the library
22085 # and all subsequent libraries and executables linked against it.
22086 hardcode_automatic=$hardcode_automatic_F77
22088 # Variables whose values should be saved in libtool wrapper scripts and
22089 # restored at relink time.
22090 variables_saved_for_relink="$variables_saved_for_relink"
22092 # Whether libtool must link a program against all its dependency libraries.
22093 link_all_deplibs=$link_all_deplibs_F77
22095 # Compile-time system search path for libraries
22096 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22098 # Run-time system search path for libraries
22099 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22101 # Fix the shell variable \$srcfile for the compiler.
22102 fix_srcfile_path="$fix_srcfile_path_F77"
22104 # Set to yes if exported symbols are required.
22105 always_export_symbols=$always_export_symbols_F77
22107 # The commands to list exported symbols.
22108 export_symbols_cmds=$lt_export_symbols_cmds_F77
22110 # The commands to extract the exported symbol list from a shared archive.
22111 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22113 # Symbols that should not be listed in the preloaded symbols.
22114 exclude_expsyms=$lt_exclude_expsyms_F77
22116 # Symbols that must always be exported.
22117 include_expsyms=$lt_include_expsyms_F77
22119 # ### END LIBTOOL TAG CONFIG: $tagname
22125 # If there is no Makefile yet, we rely on a make rule to execute
22126 # `config.status --recheck' to rerun these tests and create the
22127 # libtool script then.
22128 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22129 if test -f "$ltmain_in"; then
22130 test -f Makefile && make "$ltmain"
22136 ac_cpp='$CPP $CPPFLAGS'
22137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22149 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
22153 # Source file extension for Java test sources.
22156 # Object file extension for compiled Java test sources.
22160 # Code to be used in simple compile tests
22161 lt_simple_compile_test_code="class foo {}\n"
22163 # Code to be used in simple link tests
22164 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
22166 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22168 # If no C compiler was specified, use CC.
22171 # Allow CC to be a program name with arguments.
22175 # save warnings/boilerplate of simple test code
22176 ac_outfile=conftest.$ac_objext
22177 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
22178 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
22179 _lt_compiler_boilerplate=`cat conftest.err`
22182 ac_outfile=conftest.$ac_objext
22183 printf "$lt_simple_link_test_code" >conftest.$ac_ext
22184 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
22185 _lt_linker_boilerplate=`cat conftest.err`
22189 # Allow CC to be a program name with arguments.
22194 for cc_temp in $compiler""; do
22196 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22197 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22202 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22205 # GCJ did not exist at the time GCC didn't implicitly link libc in.
22206 archive_cmds_need_lc_GCJ=no
22208 old_archive_cmds_GCJ=$old_archive_cmds
22211 lt_prog_compiler_no_builtin_flag_GCJ=
22213 if test "$GCC" = yes; then
22214 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
22217 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22218 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
22219 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
22220 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 lt_cv_prog_compiler_rtti_exceptions=no
22223 ac_outfile=conftest.$ac_objext
22224 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22225 lt_compiler_flag="-fno-rtti -fno-exceptions"
22226 # Insert the option either (1) after the last *FLAGS variable, or
22227 # (2) before a word containing "conftest.", or (3) at the end.
22228 # Note that $ac_compile itself does not contain backslashes and begins
22229 # with a dollar sign (not a hyphen), so the echo should work correctly.
22230 # The option is referenced via a variable to avoid confusing sed.
22231 lt_compile=`echo "$ac_compile" | $SED \
22232 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22233 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22234 -e 's:$: $lt_compiler_flag:'`
22235 (eval echo "\"\$as_me:22235: $lt_compile\"" >&5)
22236 (eval "$lt_compile" 2>conftest.err)
22238 cat conftest.err >&5
22239 echo "$as_me:22239: \$? = $ac_status" >&5
22240 if (exit $ac_status) && test -s "$ac_outfile"; then
22241 # The compiler can only warn and ignore the option if not recognized
22242 # So say no if there are warnings other than the usual output.
22243 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
22244 $SED '/^$/d' conftest.err >conftest.er2
22245 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
22246 lt_cv_prog_compiler_rtti_exceptions=yes
22252 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
22253 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
22255 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
22256 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
22263 lt_prog_compiler_wl_GCJ=
22264 lt_prog_compiler_pic_GCJ=
22265 lt_prog_compiler_static_GCJ=
22267 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22268 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22270 if test "$GCC" = yes; then
22271 lt_prog_compiler_wl_GCJ='-Wl,'
22272 lt_prog_compiler_static_GCJ='-static'
22276 # All AIX code is PIC.
22277 if test "$host_cpu" = ia64; then
22278 # AIX 5 now supports IA64 processor
22279 lt_prog_compiler_static_GCJ='-Bstatic'
22284 # FIXME: we need at least 68020 code to build shared libraries, but
22285 # adding the `-m68020' flag to GCC prevents building anything better,
22287 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
22290 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22291 # PIC is the default for these OSes.
22294 mingw* | pw32* | os2*)
22295 # This hack is so that the source file can tell whether it is being
22296 # built for inclusion in a dll (and should export symbols for example).
22297 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22300 darwin* | rhapsody*)
22301 # PIC is the default on this platform
22302 # Common symbols not allowed in MH_DYLIB files
22303 lt_prog_compiler_pic_GCJ='-fno-common'
22307 # Just because we use GCC doesn't mean we suddenly get shared libraries
22308 # on systems that don't support them.
22309 lt_prog_compiler_can_build_shared_GCJ=no
22314 if test -d /usr/nec; then
22315 lt_prog_compiler_pic_GCJ=-Kconform_pic
22320 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22321 # not for PA HP-UX.
22322 case "$host_cpu" in
22327 lt_prog_compiler_pic_GCJ='-fPIC'
22333 lt_prog_compiler_pic_GCJ='-fPIC'
22337 # PORTME Check for flag to pass linker flags through the system compiler.
22340 lt_prog_compiler_wl_GCJ='-Wl,'
22341 if test "$host_cpu" = ia64; then
22342 # AIX 5 now supports IA64 processor
22343 lt_prog_compiler_static_GCJ='-Bstatic'
22345 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
22349 # PIC is the default on this platform
22350 # Common symbols not allowed in MH_DYLIB files
22351 case $cc_basename in
22353 lt_prog_compiler_pic_GCJ='-qnocommon'
22354 lt_prog_compiler_wl_GCJ='-Wl,'
22359 mingw* | pw32* | os2*)
22360 # This hack is so that the source file can tell whether it is being
22361 # built for inclusion in a dll (and should export symbols for example).
22362 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22365 hpux9* | hpux10* | hpux11*)
22366 lt_prog_compiler_wl_GCJ='-Wl,'
22367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22368 # not for PA HP-UX.
22369 case "$host_cpu" in
22374 lt_prog_compiler_pic_GCJ='+Z'
22377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
22378 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22381 irix5* | irix6* | nonstopux*)
22382 lt_prog_compiler_wl_GCJ='-Wl,'
22383 # PIC (with -KPIC) is the default.
22384 lt_prog_compiler_static_GCJ='-non_shared'
22388 lt_prog_compiler_pic_GCJ='-KPIC'
22389 lt_prog_compiler_static_GCJ='-Bstatic'
22393 case $cc_basename in
22395 lt_prog_compiler_wl_GCJ='-Wl,'
22396 lt_prog_compiler_pic_GCJ='-KPIC'
22397 lt_prog_compiler_static_GCJ='-static'
22399 pgcc* | pgf77* | pgf90*)
22400 # Portland Group compilers (*not* the Pentium gcc compiler,
22401 # which looks to be a dead project)
22402 lt_prog_compiler_wl_GCJ='-Wl,'
22403 lt_prog_compiler_pic_GCJ='-fpic'
22404 lt_prog_compiler_static_GCJ='-static'
22407 lt_prog_compiler_wl_GCJ='-Wl,'
22408 # All Alpha code is PIC.
22409 lt_prog_compiler_static_GCJ='-non_shared'
22414 osf3* | osf4* | osf5*)
22415 lt_prog_compiler_wl_GCJ='-Wl,'
22416 # All OSF/1 code is PIC.
22417 lt_prog_compiler_static_GCJ='-non_shared'
22421 lt_prog_compiler_pic_GCJ='-Kpic'
22422 lt_prog_compiler_static_GCJ='-dn'
22426 lt_prog_compiler_pic_GCJ='-KPIC'
22427 lt_prog_compiler_static_GCJ='-Bstatic'
22428 case $cc_basename in
22429 f77* | f90* | f95*)
22430 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
22432 lt_prog_compiler_wl_GCJ='-Wl,';;
22437 lt_prog_compiler_wl_GCJ='-Qoption ld '
22438 lt_prog_compiler_pic_GCJ='-PIC'
22439 lt_prog_compiler_static_GCJ='-Bstatic'
22442 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22443 lt_prog_compiler_wl_GCJ='-Wl,'
22444 lt_prog_compiler_pic_GCJ='-KPIC'
22445 lt_prog_compiler_static_GCJ='-Bstatic'
22449 if test -d /usr/nec ;then
22450 lt_prog_compiler_pic_GCJ='-Kconform_pic'
22451 lt_prog_compiler_static_GCJ='-Bstatic'
22456 lt_prog_compiler_wl_GCJ='-Wl,'
22457 lt_prog_compiler_can_build_shared_GCJ=no
22461 lt_prog_compiler_pic_GCJ='-pic'
22462 lt_prog_compiler_static_GCJ='-Bstatic'
22466 lt_prog_compiler_can_build_shared_GCJ=no
22471 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22472 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22475 # Check to make sure the PIC flag actually works.
22477 if test -n "$lt_prog_compiler_pic_GCJ"; then
22479 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22480 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22481 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22482 echo $ECHO_N "(cached) $ECHO_C" >&6
22484 lt_prog_compiler_pic_works_GCJ=no
22485 ac_outfile=conftest.$ac_objext
22486 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22487 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22488 # Insert the option either (1) after the last *FLAGS variable, or
22489 # (2) before a word containing "conftest.", or (3) at the end.
22490 # Note that $ac_compile itself does not contain backslashes and begins
22491 # with a dollar sign (not a hyphen), so the echo should work correctly.
22492 # The option is referenced via a variable to avoid confusing sed.
22493 lt_compile=`echo "$ac_compile" | $SED \
22494 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22496 -e 's:$: $lt_compiler_flag:'`
22497 (eval echo "\"\$as_me:22497: $lt_compile\"" >&5)
22498 (eval "$lt_compile" 2>conftest.err)
22500 cat conftest.err >&5
22501 echo "$as_me:22501: \$? = $ac_status" >&5
22502 if (exit $ac_status) && test -s "$ac_outfile"; then
22503 # The compiler can only warn and ignore the option if not recognized
22504 # So say no if there are warnings other than the usual output.
22505 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
22506 $SED '/^$/d' conftest.err >conftest.er2
22507 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
22508 lt_prog_compiler_pic_works_GCJ=yes
22514 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22515 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22517 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22518 case $lt_prog_compiler_pic_GCJ in
22520 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22523 lt_prog_compiler_pic_GCJ=
22524 lt_prog_compiler_can_build_shared_GCJ=no
22529 # For platforms which do not support PIC, -DPIC is meaningless:
22531 lt_prog_compiler_pic_GCJ=
22534 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22538 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22539 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22540 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22541 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 lt_cv_prog_compiler_c_o_GCJ=no
22544 $rm -r conftest 2>/dev/null
22548 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22550 lt_compiler_flag="-o out/conftest2.$ac_objext"
22551 # Insert the option either (1) after the last *FLAGS variable, or
22552 # (2) before a word containing "conftest.", or (3) at the end.
22553 # Note that $ac_compile itself does not contain backslashes and begins
22554 # with a dollar sign (not a hyphen), so the echo should work correctly.
22555 lt_compile=`echo "$ac_compile" | $SED \
22556 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22558 -e 's:$: $lt_compiler_flag:'`
22559 (eval echo "\"\$as_me:22559: $lt_compile\"" >&5)
22560 (eval "$lt_compile" 2>out/conftest.err)
22562 cat out/conftest.err >&5
22563 echo "$as_me:22563: \$? = $ac_status" >&5
22564 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22566 # The compiler can only warn and ignore the option if not recognized
22567 # So say no if there are warnings
22568 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
22569 $SED '/^$/d' out/conftest.err >out/conftest.er2
22570 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22571 lt_cv_prog_compiler_c_o_GCJ=yes
22576 # SGI C++ compiler will create directory out/ii_files/ for
22577 # template instantiation
22578 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22579 $rm out/* && rmdir out
22585 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22586 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22589 hard_links="nottested"
22590 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22591 # do not overwrite the value of need_locks provided by the user
22592 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22593 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22596 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22598 ln conftest.a conftest.b 2>&5 || hard_links=no
22599 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22600 echo "$as_me:$LINENO: result: $hard_links" >&5
22601 echo "${ECHO_T}$hard_links" >&6
22602 if test "$hard_links" = no; then
22603 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22604 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22611 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22612 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22615 allow_undefined_flag_GCJ=
22616 enable_shared_with_static_runtimes_GCJ=no
22618 archive_expsym_cmds_GCJ=
22619 old_archive_From_new_cmds_GCJ=
22620 old_archive_from_expsyms_cmds_GCJ=
22621 export_dynamic_flag_spec_GCJ=
22622 whole_archive_flag_spec_GCJ=
22623 thread_safe_flag_spec_GCJ=
22624 hardcode_libdir_flag_spec_GCJ=
22625 hardcode_libdir_flag_spec_ld_GCJ=
22626 hardcode_libdir_separator_GCJ=
22627 hardcode_direct_GCJ=no
22628 hardcode_minus_L_GCJ=no
22629 hardcode_shlibpath_var_GCJ=unsupported
22630 link_all_deplibs_GCJ=unknown
22631 hardcode_automatic_GCJ=no
22633 module_expsym_cmds_GCJ=
22634 always_export_symbols_GCJ=no
22635 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22636 # include_expsyms should be a list of space-separated symbols to be *always*
22637 # included in the symbol list
22638 include_expsyms_GCJ=
22639 # exclude_expsyms can be an extended regexp of symbols to exclude
22640 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22641 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22642 # as well as any symbol that contains `d'.
22643 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22644 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22645 # platforms (ab)use it in PIC code, but their linkers get confused if
22646 # the symbol is explicitly referenced. Since portable code cannot
22647 # rely on this symbol name, it's probably fine to never include it in
22648 # preloaded symbol tables.
22649 extract_expsyms_cmds=
22650 # Just being paranoid about ensuring that cc_basename is set.
22651 for cc_temp in $compiler""; do
22653 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22654 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22659 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22662 cygwin* | mingw* | pw32*)
22663 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22664 # When not using gcc, we currently assume that we are using
22665 # Microsoft Visual C++.
22666 if test "$GCC" != yes; then
22676 if test "$with_gnu_ld" = yes; then
22677 # If archive_cmds runs LD, not CC, wlarc should be empty
22680 # Set some defaults for GNU ld with shared library support. These
22681 # are reset later if shared libraries are not supported. Putting them
22682 # here allows them to be overridden if necessary.
22683 runpath_var=LD_RUN_PATH
22684 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
22685 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
22686 # ancient GNU ld didn't support --whole-archive et. al.
22687 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22688 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22690 whole_archive_flag_spec_GCJ=
22692 supports_anon_versioning=no
22693 case `$LD -v 2>/dev/null` in
22694 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22695 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22696 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22697 *\ 2.11.*) ;; # other 2.11 versions
22698 *) supports_anon_versioning=yes ;;
22701 # See if GNU ld supports shared libraries.
22703 aix3* | aix4* | aix5*)
22704 # On AIX/PPC, the GNU linker is very broken
22705 if test "$host_cpu" != ia64; then
22709 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22710 *** to be unable to reliably create shared libraries on AIX.
22711 *** Therefore, libtool is disabling shared libraries support. If you
22712 *** really care for shared libraries, you may want to modify your PATH
22713 *** so that a non-GNU linker is found, and then restart.
22720 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)'
22721 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22722 hardcode_minus_L_GCJ=yes
22724 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22725 # that the semantics of dynamic libraries on AmigaOS, at least up
22726 # to version 4, is to share data among multiple programs linked
22727 # with the same dynamic library. Since this doesn't match the
22728 # behavior of shared libraries on other platforms, we can't use
22734 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22735 allow_undefined_flag_GCJ=unsupported
22736 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22737 # support --undefined. This deserves some investigation. FIXME
22738 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22744 cygwin* | mingw* | pw32*)
22745 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22746 # as there is no search path for DLLs.
22747 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22748 allow_undefined_flag_GCJ=unsupported
22749 always_export_symbols_GCJ=no
22750 enable_shared_with_static_runtimes_GCJ=yes
22751 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22753 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22754 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22755 # If the export-symbols file already is a .def file (1st line
22756 # is EXPORTS), use it as is; otherwise, prepend...
22757 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22758 cp $export_symbols $output_objdir/$soname.def;
22760 echo EXPORTS > $output_objdir/$soname.def;
22761 cat $export_symbols >> $output_objdir/$soname.def;
22763 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22770 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22772 case $cc_basename,$host_cpu in
22773 pgcc*) # Portland Group C compiler
22774 whole_archive_flag_spec_GCJ=
22776 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
22777 whole_archive_flag_spec_GCJ=
22778 tmp_addflag=' -fpic -Mnomain' ;;
22779 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22780 tmp_addflag=' -i_dynamic' ;;
22781 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22782 tmp_addflag=' -i_dynamic -nofor_main' ;;
22783 ifc* | ifort*) # Intel Fortran compiler
22784 tmp_addflag=' -nofor_main' ;;
22786 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22788 if test $supports_anon_versioning = yes; then
22789 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
22790 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22791 $echo "local: *; };" >> $output_objdir/$libname.ver~
22792 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22800 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22801 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22804 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22805 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22810 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22814 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22815 *** create shared libraries on Solaris systems. Therefore, libtool
22816 *** is disabling shared libraries support. We urge you to upgrade GNU
22817 *** binutils to release 2.9.1 or newer. Another option is to modify
22818 *** your PATH or compiler configuration so that the native linker is
22819 *** used, and then restart.
22822 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22823 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22824 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22831 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22833 hardcode_direct_GCJ=yes
22834 hardcode_shlibpath_var_GCJ=no
22838 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22839 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22840 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22847 if test "$ld_shlibs_GCJ" = no; then
22849 hardcode_libdir_flag_spec_GCJ=
22850 export_dynamic_flag_spec_GCJ=
22851 whole_archive_flag_spec_GCJ=
22854 # PORTME fill in a description of your system's linker (not GNU ld)
22857 allow_undefined_flag_GCJ=unsupported
22858 always_export_symbols_GCJ=yes
22859 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'
22860 # Note: this linker hardcodes the directories in LIBPATH if there
22861 # are no directories specified by -L.
22862 hardcode_minus_L_GCJ=yes
22863 if test "$GCC" = yes && test -z "$link_static_flag"; then
22864 # Neither direct hardcoding nor static linking is supported with a
22866 hardcode_direct_GCJ=unsupported
22871 if test "$host_cpu" = ia64; then
22872 # On IA64, the linker does run time linking by default, so we don't
22873 # have to do anything special.
22874 aix_use_runtimelinking=no
22875 exp_sym_flag='-Bexport'
22878 # If we're using GNU nm, then we don't want the "-C" option.
22879 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22880 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22881 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'
22883 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'
22885 aix_use_runtimelinking=no
22887 # Test if we are trying to use run time linking or normal
22888 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22889 # need to do runtime linking.
22890 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22891 for ld_flag in $LDFLAGS; do
22892 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22893 aix_use_runtimelinking=yes
22899 exp_sym_flag='-bexport'
22900 no_entry_flag='-bnoentry'
22903 # When large executables or shared objects are built, AIX ld can
22904 # have problems creating the table of contents. If linking a library
22905 # or program results in "error TOC overflow" add -mminimal-toc to
22906 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22907 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22909 archive_cmds_GCJ=''
22910 hardcode_direct_GCJ=yes
22911 hardcode_libdir_separator_GCJ=':'
22912 link_all_deplibs_GCJ=yes
22914 if test "$GCC" = yes; then
22915 case $host_os in aix4.[012]|aix4.[012].*)
22916 # We only want to do this on AIX 4.2 and lower, the check
22917 # below for broken collect2 doesn't work under 4.3+
22918 collect2name=`${CC} -print-prog-name=collect2`
22919 if test -f "$collect2name" && \
22920 strings "$collect2name" | grep resolve_lib_name >/dev/null
22922 # We have reworked collect2
22923 hardcode_direct_GCJ=yes
22925 # We have old collect2
22926 hardcode_direct_GCJ=unsupported
22927 # It fails to find uninstalled libraries when the uninstalled
22928 # path is not listed in the libpath. Setting hardcode_minus_L
22929 # to unsupported forces relinking
22930 hardcode_minus_L_GCJ=yes
22931 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22932 hardcode_libdir_separator_GCJ=
22935 shared_flag='-shared'
22936 if test "$aix_use_runtimelinking" = yes; then
22937 shared_flag="$shared_flag "'${wl}-G'
22941 if test "$host_cpu" = ia64; then
22942 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22943 # chokes on -Wl,-G. The following line is correct:
22946 if test "$aix_use_runtimelinking" = yes; then
22947 shared_flag='${wl}-G'
22949 shared_flag='${wl}-bM:SRE'
22954 # It seems that -bexpall does not export symbols beginning with
22955 # underscore (_), so it is better to generate a list of symbols to export.
22956 always_export_symbols_GCJ=yes
22957 if test "$aix_use_runtimelinking" = yes; then
22958 # Warning - without using the other runtime loading flags (-brtl),
22959 # -berok will link without error, but may produce a broken library.
22960 allow_undefined_flag_GCJ='-berok'
22961 # Determine the default libpath from the value encoded in an empty executable.
22962 cat >conftest.$ac_ext <<_ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22977 rm -f conftest.$ac_objext conftest$ac_exeext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22979 (eval $ac_link) 2>conftest.er1
22981 grep -v '^ *+' conftest.er1 >conftest.err
22983 cat conftest.err >&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); } &&
22986 { ac_try='test -z "$ac_c_werror_flag"
22987 || test ! -s conftest.err'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; } &&
22993 { ac_try='test -s conftest$ac_exeext'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; }; then
23000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23002 # Check for a 64-bit object if we didn't find anything.
23003 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; }
23006 echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.$ac_ext >&5
23010 rm -f conftest.err conftest.$ac_objext \
23011 conftest$ac_exeext conftest.$ac_ext
23012 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23014 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23015 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"
23017 if test "$host_cpu" = ia64; then
23018 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
23019 allow_undefined_flag_GCJ="-z nodefs"
23020 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"
23022 # Determine the default libpath from the value encoded in an empty executable.
23023 cat >conftest.$ac_ext <<_ACEOF
23026 cat confdefs.h >>conftest.$ac_ext
23027 cat >>conftest.$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23038 rm -f conftest.$ac_objext conftest$ac_exeext
23039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23040 (eval $ac_link) 2>conftest.er1
23042 grep -v '^ *+' conftest.er1 >conftest.err
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } &&
23047 { ac_try='test -z "$ac_c_werror_flag"
23048 || test ! -s conftest.err'
23049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23050 (eval $ac_try) 2>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; } &&
23054 { ac_try='test -s conftest$ac_exeext'
23055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23056 (eval $ac_try) 2>&5
23058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); }; }; then
23061 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23063 # Check for a 64-bit object if we didn't find anything.
23064 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; }
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.$ac_ext >&5
23071 rm -f conftest.err conftest.$ac_objext \
23072 conftest$ac_exeext conftest.$ac_ext
23073 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23075 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23076 # Warning - without using the other run time loading flags,
23077 # -berok will link without error, but may produce a broken library.
23078 no_undefined_flag_GCJ=' ${wl}-bernotok'
23079 allow_undefined_flag_GCJ=' ${wl}-berok'
23080 # -bexpall does not export symbols beginning with underscore (_)
23081 always_export_symbols_GCJ=yes
23082 # Exported symbols can be pulled into shared objects from archives
23083 whole_archive_flag_spec_GCJ=' '
23084 archive_cmds_need_lc_GCJ=yes
23085 # This is similar to how AIX traditionally builds it's shared libraries.
23086 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'
23092 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)'
23093 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23094 hardcode_minus_L_GCJ=yes
23095 # see comment about different semantics on the GNU ld section
23100 export_dynamic_flag_spec_GCJ=-rdynamic
23103 cygwin* | mingw* | pw32*)
23104 # When not using gcc, we currently assume that we are using
23105 # Microsoft Visual C++.
23106 # hardcode_libdir_flag_spec is actually meaningless, as there is
23107 # no search path for DLLs.
23108 hardcode_libdir_flag_spec_GCJ=' '
23109 allow_undefined_flag_GCJ=unsupported
23110 # Tell ltmain to make .lib files, not .a files.
23112 # Tell ltmain to make .dll files, not .so files.
23114 # FIXME: Setting linknames here is a bad hack.
23115 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23116 # The linker will automatically build a .lib file if we build a DLL.
23117 old_archive_From_new_cmds_GCJ='true'
23118 # FIXME: Should let the user specify the lib program.
23119 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
23120 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
23121 enable_shared_with_static_runtimes_GCJ=yes
23124 darwin* | rhapsody*)
23126 rhapsody* | darwin1.[012])
23127 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
23130 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23131 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23133 case ${MACOSX_DEPLOYMENT_TARGET} in
23135 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23138 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
23144 archive_cmds_need_lc_GCJ=no
23145 hardcode_direct_GCJ=no
23146 hardcode_automatic_GCJ=yes
23147 hardcode_shlibpath_var_GCJ=unsupported
23148 whole_archive_flag_spec_GCJ=''
23149 link_all_deplibs_GCJ=yes
23150 if test "$GCC" = yes ; then
23151 output_verbose_link_cmd='echo'
23152 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
23153 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23154 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
23155 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}'
23156 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}'
23158 case $cc_basename in
23160 output_verbose_link_cmd='echo'
23161 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
23162 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23163 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
23164 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}'
23165 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}'
23175 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23176 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23177 hardcode_shlibpath_var_GCJ=no
23184 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23185 # support. Future versions do this automatically, but an explicit c++rt0.o
23186 # does not break anything, and helps significantly (at the cost of a little
23189 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23190 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23191 hardcode_direct_GCJ=yes
23192 hardcode_shlibpath_var_GCJ=no
23195 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23197 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23198 hardcode_direct_GCJ=yes
23199 hardcode_minus_L_GCJ=yes
23200 hardcode_shlibpath_var_GCJ=no
23203 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23204 freebsd* | kfreebsd*-gnu | dragonfly*)
23205 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23206 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23207 hardcode_direct_GCJ=yes
23208 hardcode_shlibpath_var_GCJ=no
23212 if test "$GCC" = yes; then
23213 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'
23215 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'
23217 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23218 hardcode_libdir_separator_GCJ=:
23219 hardcode_direct_GCJ=yes
23221 # hardcode_minus_L: Not really in the search PATH,
23222 # but as the default location of the library.
23223 hardcode_minus_L_GCJ=yes
23224 export_dynamic_flag_spec_GCJ='${wl}-E'
23228 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23229 case "$host_cpu" in
23231 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23234 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23238 case "$host_cpu" in
23240 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
23243 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23247 if test "$with_gnu_ld" = no; then
23248 case "$host_cpu" in
23250 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23251 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
23252 hardcode_libdir_separator_GCJ=:
23253 hardcode_direct_GCJ=no
23254 hardcode_shlibpath_var_GCJ=no
23257 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23258 hardcode_direct_GCJ=no
23259 hardcode_shlibpath_var_GCJ=no
23261 # hardcode_minus_L: Not really in the search PATH,
23262 # but as the default location of the library.
23263 hardcode_minus_L_GCJ=yes
23266 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23267 hardcode_libdir_separator_GCJ=:
23268 hardcode_direct_GCJ=yes
23269 export_dynamic_flag_spec_GCJ='${wl}-E'
23271 # hardcode_minus_L: Not really in the search PATH,
23272 # but as the default location of the library.
23273 hardcode_minus_L_GCJ=yes
23279 irix5* | irix6* | nonstopux*)
23280 if test "$GCC" = yes; then
23281 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'
23283 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'
23284 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
23286 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23287 hardcode_libdir_separator_GCJ=:
23288 link_all_deplibs_GCJ=yes
23292 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23293 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23295 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23297 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23298 hardcode_direct_GCJ=yes
23299 hardcode_shlibpath_var_GCJ=no
23303 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23304 hardcode_direct_GCJ=yes
23305 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23306 hardcode_libdir_separator_GCJ=:
23307 hardcode_shlibpath_var_GCJ=no
23311 hardcode_direct_GCJ=yes
23312 hardcode_shlibpath_var_GCJ=no
23313 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23314 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23315 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
23316 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23317 export_dynamic_flag_spec_GCJ='${wl}-E'
23320 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23321 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23322 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23325 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23326 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23333 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23334 hardcode_minus_L_GCJ=yes
23335 allow_undefined_flag_GCJ=unsupported
23336 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'
23337 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23341 if test "$GCC" = yes; then
23342 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23343 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'
23345 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23346 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'
23348 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23349 hardcode_libdir_separator_GCJ=:
23352 osf4* | osf5*) # as osf3* with the addition of -msym flag
23353 if test "$GCC" = yes; then
23354 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23355 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'
23356 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23358 allow_undefined_flag_GCJ=' -expect_unresolved \*'
23359 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'
23360 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~
23361 $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'
23363 # Both c and cxx compiler support -rpath directly
23364 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
23366 hardcode_libdir_separator_GCJ=:
23370 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23371 hardcode_shlibpath_var_GCJ=no
23372 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
23373 runpath_var=LD_RUN_PATH
23374 hardcode_runpath_var=yes
23378 no_undefined_flag_GCJ=' -z text'
23379 if test "$GCC" = yes; then
23381 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23382 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23383 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23386 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23387 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23388 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23390 hardcode_libdir_flag_spec_GCJ='-R$libdir'
23391 hardcode_shlibpath_var_GCJ=no
23393 solaris2.[0-5] | solaris2.[0-5].*) ;;
23395 # The compiler driver will combine linker options so we
23396 # cannot just pass the convience library names through
23397 # without $wl, iff we do not link with $LD.
23398 # Luckily, gcc supports the same syntax we need for Sun Studio.
23399 # Supported since Solaris 2.6 (maybe 2.5.1?)
23402 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
23404 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' ;;
23407 link_all_deplibs_GCJ=yes
23411 if test "x$host_vendor" = xsequent; then
23412 # Use $CC to link under sequent, because it throws in some extra .o
23413 # files that make .init and .fini sections work.
23414 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23416 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23418 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23419 hardcode_direct_GCJ=yes
23420 hardcode_minus_L_GCJ=yes
23421 hardcode_shlibpath_var_GCJ=no
23425 case $host_vendor in
23427 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23428 hardcode_direct_GCJ=yes # is this really true???
23431 ## LD is ld it makes a PLAMLIB
23432 ## CC just makes a GrossModule.
23433 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23434 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
23435 hardcode_direct_GCJ=no
23438 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23439 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
23442 runpath_var='LD_RUN_PATH'
23443 hardcode_shlibpath_var_GCJ=no
23447 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23448 hardcode_shlibpath_var_GCJ=no
23449 export_dynamic_flag_spec_GCJ='-Bexport'
23453 if test -d /usr/nec; then
23454 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23455 hardcode_shlibpath_var_GCJ=no
23456 runpath_var=LD_RUN_PATH
23457 hardcode_runpath_var=yes
23463 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23464 hardcode_direct_GCJ=yes
23465 hardcode_minus_L_GCJ=no
23466 hardcode_shlibpath_var_GCJ=no
23467 hardcode_runpath_var=yes
23468 runpath_var=LD_RUN_PATH
23471 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
23472 no_undefined_flag_GCJ='${wl}-z ${wl}text'
23473 if test "$GCC" = yes; then
23474 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23476 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23478 runpath_var='LD_RUN_PATH'
23479 hardcode_shlibpath_var_GCJ=no
23483 no_undefined_flag_GCJ=' -z text'
23484 # $CC -shared without GNU ld will not create a library from C++
23485 # object files and a static libstdc++, better avoid it by now
23486 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23487 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23488 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23489 hardcode_libdir_flag_spec_GCJ=
23490 hardcode_shlibpath_var_GCJ=no
23491 runpath_var='LD_RUN_PATH'
23495 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23496 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23497 hardcode_shlibpath_var_GCJ=no
23506 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
23507 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
23508 test "$ld_shlibs_GCJ" = no && can_build_shared=no
23510 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23511 if test "$GCC" = yes; then
23512 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23516 # Do we need to explicitly link libc?
23518 case "x$archive_cmds_need_lc_GCJ" in
23520 # Assume -lc should be added
23521 archive_cmds_need_lc_GCJ=yes
23523 if test "$enable_shared" = yes && test "$GCC" = yes; then
23524 case $archive_cmds_GCJ in
23526 # FIXME: we may have to deal with multi-command sequences.
23529 # Test whether the compiler implicitly links with -lc since on some
23530 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23531 # to ld, don't add -lc before -lgcc.
23532 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23533 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23535 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23538 (eval $ac_compile) 2>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); } 2>conftest.err; then
23544 libobjs=conftest.$ac_objext
23546 wl=$lt_prog_compiler_wl_GCJ
23552 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
23553 allow_undefined_flag_GCJ=
23554 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23555 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }
23560 archive_cmds_need_lc_GCJ=no
23562 archive_cmds_need_lc_GCJ=yes
23564 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
23566 cat conftest.err 1>&5
23569 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
23570 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
23577 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23578 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23579 library_names_spec=
23580 libname_spec='lib$name'
23584 postuninstall_cmds=
23588 shlibpath_overrides_runpath=unknown
23590 dynamic_linker="$host_os ld.so"
23591 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23592 if test "$GCC" = yes; then
23593 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23594 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23595 # if the path contains ";" then we assume it to be the separator
23596 # otherwise default to the standard path separator (i.e. ":") - it is
23597 # assumed that no part of a normal pathname contains ";" but that should
23598 # okay in the real world where ";" in dirpaths is itself problematic.
23599 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23601 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23604 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23606 need_lib_prefix=unknown
23607 hardcode_into_libs=no
23609 # when you set need_version to no, make sure it does not cause -set_version
23610 # flags to be left without arguments
23611 need_version=unknown
23616 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23617 shlibpath_var=LIBPATH
23619 # AIX 3 has no versioning support, so we append a major version to the name.
23620 soname_spec='${libname}${release}${shared_ext}$major'
23627 hardcode_into_libs=yes
23628 if test "$host_cpu" = ia64; then
23629 # AIX 5 supports IA64
23630 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23631 shlibpath_var=LD_LIBRARY_PATH
23633 # With GCC up to 2.95.x, collect2 would create an import file
23634 # for dependence libraries. The import file would start with
23635 # the line `#! .'. This would cause the generated library to
23636 # depend on `.', always an invalid library. This was fixed in
23637 # development snapshots of GCC prior to 3.0.
23639 aix4 | aix4.[01] | aix4.[01].*)
23640 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23642 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23645 can_build_shared=no
23649 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23650 # soname into executable. Probably we can add versioning support to
23651 # collect2, so additional links can be useful in future.
23652 if test "$aix_use_runtimelinking" = yes; then
23653 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23654 # instead of lib<name>.a to let people know that these are not
23655 # typical AIX shared libraries.
23656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23658 # We preserve .a as extension for shared libraries through AIX4.2
23659 # and later when we are not doing run time linking.
23660 library_names_spec='${libname}${release}.a $libname.a'
23661 soname_spec='${libname}${release}${shared_ext}$major'
23663 shlibpath_var=LIBPATH
23668 library_names_spec='$libname.ixlibrary $libname.a'
23669 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23670 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'
23674 library_names_spec='${libname}${shared_ext}'
23675 dynamic_linker="$host_os ld.so"
23676 shlibpath_var=LIBRARY_PATH
23682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23683 soname_spec='${libname}${release}${shared_ext}$major'
23684 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23685 shlibpath_var=LD_LIBRARY_PATH
23686 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23687 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23688 # the default ld.so.conf also contains /usr/contrib/lib and
23689 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23690 # libtool to hard-code these into programs
23693 cygwin* | mingw* | pw32*)
23694 version_type=windows
23699 case $GCC,$host_os in
23700 yes,cygwin* | yes,mingw* | yes,pw32*)
23701 library_names_spec='$libname.dll.a'
23702 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23703 postinstall_cmds='base_file=`basename \${file}`~
23704 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23705 dldir=$destdir/`dirname \$dlpath`~
23706 test -d \$dldir || mkdir -p \$dldir~
23707 $install_prog $dir/$dlname \$dldir/$dlname'
23708 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23709 dlpath=$dir/\$dldll~
23711 shlibpath_overrides_runpath=yes
23715 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23716 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23717 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23720 # MinGW DLLs use traditional 'lib' prefix
23721 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23722 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23723 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23724 # It is most probably a Windows format PATH printed by
23725 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23726 # path with ; separators, and with drive letters. We can handle the
23727 # drive letters (cygwin fileutils understands them), so leave them,
23728 # especially as we might pass files found there to a mingw objdump,
23729 # which wouldn't understand a cygwinified path. Ahh.
23730 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23732 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23736 # pw32 DLLs use 'pw' prefix rather than 'lib'
23737 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23743 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23746 dynamic_linker='Win32 ld.exe'
23747 # FIXME: first we should search . and the directory the executable is in
23751 darwin* | rhapsody*)
23752 dynamic_linker="$host_os dyld"
23753 version_type=darwin
23756 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23757 soname_spec='${libname}${release}${major}$shared_ext'
23758 shlibpath_overrides_runpath=yes
23759 shlibpath_var=DYLD_LIBRARY_PATH
23760 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
23761 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23762 if test "$GCC" = yes; then
23763 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"`
23765 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
23767 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23775 soname_spec='${libname}${release}${shared_ext}$major'
23776 shlibpath_var=LD_LIBRARY_PATH
23787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23788 soname_spec='${libname}${release}${shared_ext}$major'
23789 shlibpath_var=LD_LIBRARY_PATH
23790 shlibpath_overrides_runpath=no
23791 hardcode_into_libs=yes
23792 dynamic_linker='GNU ld.so'
23795 freebsd* | dragonfly*)
23796 # DragonFly does not have aout. When/if they implement a new
23797 # versioning mechanism, adjust this.
23798 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
23799 version_type=freebsd-$objformat
23800 case $version_type in
23802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23807 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23811 shlibpath_var=LD_LIBRARY_PATH
23814 shlibpath_overrides_runpath=yes
23816 freebsd3.[01]* | freebsdelf3.[01]*)
23817 shlibpath_overrides_runpath=yes
23818 hardcode_into_libs=yes
23821 shlibpath_overrides_runpath=no
23822 hardcode_into_libs=yes
23831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23832 soname_spec='${libname}${release}${shared_ext}$major'
23833 shlibpath_var=LD_LIBRARY_PATH
23834 hardcode_into_libs=yes
23837 hpux9* | hpux10* | hpux11*)
23838 # Give a soname corresponding to the major version so that dld.sl refuses to
23839 # link against other versions.
23843 case "$host_cpu" in
23846 hardcode_into_libs=yes
23847 dynamic_linker="$host_os dld.so"
23848 shlibpath_var=LD_LIBRARY_PATH
23849 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23851 soname_spec='${libname}${release}${shared_ext}$major'
23852 if test "X$HPUX_IA64_MODE" = X32; then
23853 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23855 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23857 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23861 hardcode_into_libs=yes
23862 dynamic_linker="$host_os dld.sl"
23863 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23864 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23866 soname_spec='${libname}${release}${shared_ext}$major'
23867 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23872 dynamic_linker="$host_os dld.sl"
23873 shlibpath_var=SHLIB_PATH
23874 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23876 soname_spec='${libname}${release}${shared_ext}$major'
23879 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23880 postinstall_cmds='chmod 555 $lib'
23883 irix5* | irix6* | nonstopux*)
23885 nonstopux*) version_type=nonstopux ;;
23887 if test "$lt_cv_prog_gnu_ld" = yes; then
23895 soname_spec='${libname}${release}${shared_ext}$major'
23896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23898 irix5* | nonstopux*)
23899 libsuff= shlibsuff=
23902 case $LD in # libtool.m4 will add one of these switches to LD
23903 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23904 libsuff= shlibsuff= libmagic=32-bit;;
23905 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23906 libsuff=32 shlibsuff=N32 libmagic=N32;;
23907 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23908 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23909 *) libsuff= shlibsuff= libmagic=never-match;;
23913 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23914 shlibpath_overrides_runpath=no
23915 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23916 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23917 hardcode_into_libs=yes
23920 # No shared lib support for Linux oldld, aout, or coff.
23921 linux*oldld* | linux*aout* | linux*coff*)
23925 # This must be Linux ELF.
23930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23931 soname_spec='${libname}${release}${shared_ext}$major'
23932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23933 shlibpath_var=LD_LIBRARY_PATH
23934 shlibpath_overrides_runpath=no
23935 # This implies no fast_install, which is unacceptable.
23936 # Some rework will be needed to allow for fast_install
23937 # before this can be enabled.
23938 hardcode_into_libs=yes
23940 # find out which ABI we are using
23942 case "$host_cpu" in
23943 x86_64*|s390x*|powerpc64*)
23944 echo '#line 23944 "configure"' > conftest.$ac_ext
23945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23946 (eval $ac_compile) 2>&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; then
23950 case `/usr/bin/file conftest.$ac_objext` in
23953 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
23961 # Append ld.so.conf contents to the search path
23962 if test -f /etc/ld.so.conf; then
23963 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' ' '`
23964 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
23967 # We used to test for /lib/ld.so.1 and disable shared libraries on
23968 # powerpc, because MkLinux only supported shared libraries with the
23969 # GNU dynamic linker. Since this was broken with cross compilers,
23970 # most powerpc-linux boxes support dynamic linking these days and
23971 # people can always --disable-shared, the test was removed, and we
23972 # assume the GNU/Linux dynamic linker is in use.
23973 dynamic_linker='GNU/Linux ld.so'
23980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23981 soname_spec='${libname}${release}${shared_ext}$major'
23982 shlibpath_var=LD_LIBRARY_PATH
23983 shlibpath_overrides_runpath=no
23984 hardcode_into_libs=yes
23985 dynamic_linker='GNU ld.so'
23992 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23994 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23995 dynamic_linker='NetBSD (a.out) ld.so'
23997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23998 soname_spec='${libname}${release}${shared_ext}$major'
23999 dynamic_linker='NetBSD ld.elf_so'
24001 shlibpath_var=LD_LIBRARY_PATH
24002 shlibpath_overrides_runpath=yes
24003 hardcode_into_libs=yes
24008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24009 shlibpath_var=LD_LIBRARY_PATH
24010 shlibpath_overrides_runpath=yes
24017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24018 soname_spec='${libname}${release}${shared_ext}$major'
24019 shlibpath_var=LD_LIBRARY_PATH
24020 shlibpath_overrides_runpath=yes
24027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24028 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24029 shlibpath_var=LD_LIBRARY_PATH
24030 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24032 openbsd2.[89] | openbsd2.[89].*)
24033 shlibpath_overrides_runpath=no
24036 shlibpath_overrides_runpath=yes
24040 shlibpath_overrides_runpath=yes
24045 libname_spec='$name'
24048 library_names_spec='$libname${shared_ext} $libname.a'
24049 dynamic_linker='OS/2 ld.exe'
24050 shlibpath_var=LIBPATH
24053 osf3* | osf4* | osf5*)
24057 soname_spec='${libname}${release}${shared_ext}$major'
24058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24059 shlibpath_var=LD_LIBRARY_PATH
24060 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24061 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24066 soname_spec='${libname}${release}${shared_ext}$major'
24067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24068 shlibpath_var=LD_LIBRARY_PATH
24075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24076 soname_spec='${libname}${release}${shared_ext}$major'
24077 shlibpath_var=LD_LIBRARY_PATH
24078 shlibpath_overrides_runpath=yes
24079 hardcode_into_libs=yes
24080 # ldd complains unless libraries are executable
24081 postinstall_cmds='chmod +x $lib'
24086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24087 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24088 shlibpath_var=LD_LIBRARY_PATH
24089 shlibpath_overrides_runpath=yes
24090 if test "$with_gnu_ld" = yes; then
24096 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24099 soname_spec='${libname}${release}${shared_ext}$major'
24100 shlibpath_var=LD_LIBRARY_PATH
24101 case $host_vendor in
24103 shlibpath_overrides_runpath=no
24105 export_dynamic_flag_spec='${wl}-Blargedynsym'
24106 runpath_var=LD_RUN_PATH
24114 shlibpath_overrides_runpath=no
24115 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24121 if test -d /usr/nec ;then
24123 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24124 soname_spec='$libname${shared_ext}.$major'
24125 shlibpath_var=LD_LIBRARY_PATH
24131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24132 soname_spec='${libname}${release}${shared_ext}$major'
24133 shlibpath_var=LD_LIBRARY_PATH
24140 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24141 echo "${ECHO_T}$dynamic_linker" >&6
24142 test "$dynamic_linker" = no && can_build_shared=no
24144 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24145 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24146 hardcode_action_GCJ=
24147 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
24148 test -n "$runpath_var_GCJ" || \
24149 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
24151 # We can hardcode non-existant directories.
24152 if test "$hardcode_direct_GCJ" != no &&
24153 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24154 # have to relink, otherwise we might link with an installed library
24155 # when we should be linking with a yet-to-be-installed one
24156 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
24157 test "$hardcode_minus_L_GCJ" != no; then
24158 # Linking always hardcodes the temporary library directory.
24159 hardcode_action_GCJ=relink
24161 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24162 hardcode_action_GCJ=immediate
24165 # We cannot hardcode anything, or else we can only hardcode existing
24167 hardcode_action_GCJ=unsupported
24169 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
24170 echo "${ECHO_T}$hardcode_action_GCJ" >&6
24172 if test "$hardcode_action_GCJ" = relink; then
24173 # Fast installation is not supported
24174 enable_fast_install=no
24175 elif test "$shlibpath_overrides_runpath" = yes ||
24176 test "$enable_shared" = no; then
24177 # Fast installation is not necessary
24178 enable_fast_install=needless
24183 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
24184 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
24185 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
24186 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24187 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24188 echo "$as_me:$LINENO: result: yes" >&5
24189 echo "${ECHO_T}yes" >&6
24191 # FIXME - insert some real tests, host_os isn't really good enough
24194 if test -n "$STRIP" ; then
24195 striplib="$STRIP -x"
24196 echo "$as_me:$LINENO: result: yes" >&5
24197 echo "${ECHO_T}yes" >&6
24199 echo "$as_me:$LINENO: result: no" >&5
24200 echo "${ECHO_T}no" >&6
24204 echo "$as_me:$LINENO: result: no" >&5
24205 echo "${ECHO_T}no" >&6
24210 if test "x$enable_dlopen" != xyes; then
24211 enable_dlopen=unknown
24212 enable_dlopen_self=unknown
24213 enable_dlopen_self_static=unknown
24220 lt_cv_dlopen="load_add_on"
24222 lt_cv_dlopen_self=yes
24226 lt_cv_dlopen="LoadLibrary"
24231 lt_cv_dlopen="dlopen"
24236 # if libdl is installed we need to link against it
24237 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24238 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24239 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24240 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 ac_check_lib_save_LIBS=$LIBS
24244 cat >conftest.$ac_ext <<_ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24251 /* Override any gcc2 internal prototype to avoid an error. */
24255 /* We use char because int might match the return type of a gcc2
24256 builtin and then its argument prototype would still apply. */
24266 rm -f conftest.$ac_objext conftest$ac_exeext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24268 (eval $ac_link) 2>conftest.er1
24270 grep -v '^ *+' conftest.er1 >conftest.err
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try='test -z "$ac_c_werror_flag"
24276 || test ! -s conftest.err'
24277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278 (eval $ac_try) 2>&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); }; } &&
24282 { ac_try='test -s conftest$ac_exeext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24288 ac_cv_lib_dl_dlopen=yes
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24293 ac_cv_lib_dl_dlopen=no
24295 rm -f conftest.err conftest.$ac_objext \
24296 conftest$ac_exeext conftest.$ac_ext
24297 LIBS=$ac_check_lib_save_LIBS
24299 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24300 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24301 if test $ac_cv_lib_dl_dlopen = yes; then
24302 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24305 lt_cv_dlopen="dyld"
24307 lt_cv_dlopen_self=yes
24314 echo "$as_me:$LINENO: checking for shl_load" >&5
24315 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
24316 if test "${ac_cv_func_shl_load+set}" = set; then
24317 echo $ECHO_N "(cached) $ECHO_C" >&6
24319 cat >conftest.$ac_ext <<_ACEOF
24322 cat confdefs.h >>conftest.$ac_ext
24323 cat >>conftest.$ac_ext <<_ACEOF
24324 /* end confdefs.h. */
24325 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
24326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24327 #define shl_load innocuous_shl_load
24329 /* System header to define __stub macros and hopefully few prototypes,
24330 which can conflict with char shl_load (); below.
24331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24332 <limits.h> exists even on freestanding compilers. */
24335 # include <limits.h>
24337 # include <assert.h>
24342 /* Override any gcc2 internal prototype to avoid an error. */
24347 /* We use char because int might match the return type of a gcc2
24348 builtin and then its argument prototype would still apply. */
24350 /* The GNU C library defines this for functions which it implements
24351 to always fail with ENOSYS. Some functions are actually named
24352 something starting with __ and the normal name is an alias. */
24353 #if defined (__stub_shl_load) || defined (__stub___shl_load)
24356 char (*f) () = shl_load;
24365 return f != shl_load;
24370 rm -f conftest.$ac_objext conftest$ac_exeext
24371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24372 (eval $ac_link) 2>conftest.er1
24374 grep -v '^ *+' conftest.er1 >conftest.err
24376 cat conftest.err >&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); } &&
24379 { ac_try='test -z "$ac_c_werror_flag"
24380 || test ! -s conftest.err'
24381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382 (eval $ac_try) 2>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; } &&
24386 { ac_try='test -s conftest$ac_exeext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_cv_func_shl_load=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24397 ac_cv_func_shl_load=no
24399 rm -f conftest.err conftest.$ac_objext \
24400 conftest$ac_exeext conftest.$ac_ext
24402 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
24403 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
24404 if test $ac_cv_func_shl_load = yes; then
24405 lt_cv_dlopen="shl_load"
24407 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
24408 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
24409 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 ac_check_lib_save_LIBS=$LIBS
24414 cat >conftest.$ac_ext <<_ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24421 /* Override any gcc2 internal prototype to avoid an error. */
24425 /* We use char because int might match the return type of a gcc2
24426 builtin and then its argument prototype would still apply. */
24436 rm -f conftest.$ac_objext conftest$ac_exeext
24437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24438 (eval $ac_link) 2>conftest.er1
24440 grep -v '^ *+' conftest.er1 >conftest.err
24442 cat conftest.err >&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); } &&
24445 { ac_try='test -z "$ac_c_werror_flag"
24446 || test ! -s conftest.err'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; } &&
24452 { ac_try='test -s conftest$ac_exeext'
24453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454 (eval $ac_try) 2>&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); }; }; then
24458 ac_cv_lib_dld_shl_load=yes
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.$ac_ext >&5
24463 ac_cv_lib_dld_shl_load=no
24465 rm -f conftest.err conftest.$ac_objext \
24466 conftest$ac_exeext conftest.$ac_ext
24467 LIBS=$ac_check_lib_save_LIBS
24469 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
24470 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
24471 if test $ac_cv_lib_dld_shl_load = yes; then
24472 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
24474 echo "$as_me:$LINENO: checking for dlopen" >&5
24475 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
24476 if test "${ac_cv_func_dlopen+set}" = set; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 cat >conftest.$ac_ext <<_ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
24486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24487 #define dlopen innocuous_dlopen
24489 /* System header to define __stub macros and hopefully few prototypes,
24490 which can conflict with char dlopen (); below.
24491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24492 <limits.h> exists even on freestanding compilers. */
24495 # include <limits.h>
24497 # include <assert.h>
24502 /* Override any gcc2 internal prototype to avoid an error. */
24507 /* We use char because int might match the return type of a gcc2
24508 builtin and then its argument prototype would still apply. */
24510 /* The GNU C library defines this for functions which it implements
24511 to always fail with ENOSYS. Some functions are actually named
24512 something starting with __ and the normal name is an alias. */
24513 #if defined (__stub_dlopen) || defined (__stub___dlopen)
24516 char (*f) () = dlopen;
24525 return f != dlopen;
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24532 (eval $ac_link) 2>conftest.er1
24534 grep -v '^ *+' conftest.er1 >conftest.err
24536 cat conftest.err >&5
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); } &&
24539 { ac_try='test -z "$ac_c_werror_flag"
24540 || test ! -s conftest.err'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; } &&
24546 { ac_try='test -s conftest$ac_exeext'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; }; then
24552 ac_cv_func_dlopen=yes
24554 echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.$ac_ext >&5
24557 ac_cv_func_dlopen=no
24559 rm -f conftest.err conftest.$ac_objext \
24560 conftest$ac_exeext conftest.$ac_ext
24562 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
24563 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
24564 if test $ac_cv_func_dlopen = yes; then
24565 lt_cv_dlopen="dlopen"
24567 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24568 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24569 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 ac_check_lib_save_LIBS=$LIBS
24574 cat >conftest.$ac_ext <<_ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24581 /* Override any gcc2 internal prototype to avoid an error. */
24585 /* We use char because int might match the return type of a gcc2
24586 builtin and then its argument prototype would still apply. */
24596 rm -f conftest.$ac_objext conftest$ac_exeext
24597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24598 (eval $ac_link) 2>conftest.er1
24600 grep -v '^ *+' conftest.er1 >conftest.err
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } &&
24605 { ac_try='test -z "$ac_c_werror_flag"
24606 || test ! -s conftest.err'
24607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24608 (eval $ac_try) 2>&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; } &&
24612 { ac_try='test -s conftest$ac_exeext'
24613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24614 (eval $ac_try) 2>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); }; }; then
24618 ac_cv_lib_dl_dlopen=yes
24620 echo "$as_me: failed program was:" >&5
24621 sed 's/^/| /' conftest.$ac_ext >&5
24623 ac_cv_lib_dl_dlopen=no
24625 rm -f conftest.err conftest.$ac_objext \
24626 conftest$ac_exeext conftest.$ac_ext
24627 LIBS=$ac_check_lib_save_LIBS
24629 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24630 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24631 if test $ac_cv_lib_dl_dlopen = yes; then
24632 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24634 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
24635 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
24636 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
24637 echo $ECHO_N "(cached) $ECHO_C" >&6
24639 ac_check_lib_save_LIBS=$LIBS
24640 LIBS="-lsvld $LIBS"
24641 cat >conftest.$ac_ext <<_ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24648 /* Override any gcc2 internal prototype to avoid an error. */
24652 /* We use char because int might match the return type of a gcc2
24653 builtin and then its argument prototype would still apply. */
24663 rm -f conftest.$ac_objext conftest$ac_exeext
24664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24665 (eval $ac_link) 2>conftest.er1
24667 grep -v '^ *+' conftest.er1 >conftest.err
24669 cat conftest.err >&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); } &&
24672 { ac_try='test -z "$ac_c_werror_flag"
24673 || test ! -s conftest.err'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; } &&
24679 { ac_try='test -s conftest$ac_exeext'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; }; then
24685 ac_cv_lib_svld_dlopen=yes
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24690 ac_cv_lib_svld_dlopen=no
24692 rm -f conftest.err conftest.$ac_objext \
24693 conftest$ac_exeext conftest.$ac_ext
24694 LIBS=$ac_check_lib_save_LIBS
24696 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
24697 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
24698 if test $ac_cv_lib_svld_dlopen = yes; then
24699 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
24701 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
24702 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
24703 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
24704 echo $ECHO_N "(cached) $ECHO_C" >&6
24706 ac_check_lib_save_LIBS=$LIBS
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24715 /* Override any gcc2 internal prototype to avoid an error. */
24719 /* We use char because int might match the return type of a gcc2
24720 builtin and then its argument prototype would still apply. */
24730 rm -f conftest.$ac_objext conftest$ac_exeext
24731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24732 (eval $ac_link) 2>conftest.er1
24734 grep -v '^ *+' conftest.er1 >conftest.err
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try='test -z "$ac_c_werror_flag"
24740 || test ! -s conftest.err'
24741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24742 (eval $ac_try) 2>&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); }; } &&
24746 { ac_try='test -s conftest$ac_exeext'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; }; then
24752 ac_cv_lib_dld_dld_link=yes
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.$ac_ext >&5
24757 ac_cv_lib_dld_dld_link=no
24759 rm -f conftest.err conftest.$ac_objext \
24760 conftest$ac_exeext conftest.$ac_ext
24761 LIBS=$ac_check_lib_save_LIBS
24763 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
24764 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
24765 if test $ac_cv_lib_dld_dld_link = yes; then
24766 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
24787 if test "x$lt_cv_dlopen" != xno; then
24793 case $lt_cv_dlopen in
24795 save_CPPFLAGS="$CPPFLAGS"
24796 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
24798 save_LDFLAGS="$LDFLAGS"
24799 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
24802 LIBS="$lt_cv_dlopen_libs $LIBS"
24804 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
24805 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
24806 if test "${lt_cv_dlopen_self+set}" = set; then
24807 echo $ECHO_N "(cached) $ECHO_C" >&6
24809 if test "$cross_compiling" = yes; then :
24810 lt_cv_dlopen_self=cross
24812 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24813 lt_status=$lt_dlunknown
24814 cat > conftest.$ac_ext <<EOF
24815 #line 24815 "configure"
24816 #include "confdefs.h"
24825 # define LT_DLGLOBAL RTLD_GLOBAL
24828 # define LT_DLGLOBAL DL_GLOBAL
24830 # define LT_DLGLOBAL 0
24834 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
24835 find out it does not work in some platform. */
24836 #ifndef LT_DLLAZY_OR_NOW
24838 # define LT_DLLAZY_OR_NOW RTLD_LAZY
24841 # define LT_DLLAZY_OR_NOW DL_LAZY
24844 # define LT_DLLAZY_OR_NOW RTLD_NOW
24847 # define LT_DLLAZY_OR_NOW DL_NOW
24849 # define LT_DLLAZY_OR_NOW 0
24857 extern "C" void exit (int);
24860 void fnord() { int i=42;}
24863 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
24864 int status = $lt_dlunknown;
24868 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
24869 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
24870 /* dlclose (self); */
24876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24877 (eval $ac_link) 2>&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
24881 (./conftest; exit; ) 2>/dev/null
24883 case x$lt_status in
24884 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
24885 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
24886 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
24889 # compilation failed
24890 lt_cv_dlopen_self=no
24897 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
24898 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
24900 if test "x$lt_cv_dlopen_self" = xyes; then
24901 LDFLAGS="$LDFLAGS $link_static_flag"
24902 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
24903 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
24904 if test "${lt_cv_dlopen_self_static+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24907 if test "$cross_compiling" = yes; then :
24908 lt_cv_dlopen_self_static=cross
24910 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24911 lt_status=$lt_dlunknown
24912 cat > conftest.$ac_ext <<EOF
24913 #line 24913 "configure"
24914 #include "confdefs.h"
24923 # define LT_DLGLOBAL RTLD_GLOBAL
24926 # define LT_DLGLOBAL DL_GLOBAL
24928 # define LT_DLGLOBAL 0
24932 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
24933 find out it does not work in some platform. */
24934 #ifndef LT_DLLAZY_OR_NOW
24936 # define LT_DLLAZY_OR_NOW RTLD_LAZY
24939 # define LT_DLLAZY_OR_NOW DL_LAZY
24942 # define LT_DLLAZY_OR_NOW RTLD_NOW
24945 # define LT_DLLAZY_OR_NOW DL_NOW
24947 # define LT_DLLAZY_OR_NOW 0
24955 extern "C" void exit (int);
24958 void fnord() { int i=42;}
24961 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
24962 int status = $lt_dlunknown;
24966 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
24967 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
24968 /* dlclose (self); */
24974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24975 (eval $ac_link) 2>&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
24979 (./conftest; exit; ) 2>/dev/null
24981 case x$lt_status in
24982 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
24983 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
24984 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
24987 # compilation failed
24988 lt_cv_dlopen_self_static=no
24995 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
24996 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
24999 CPPFLAGS="$save_CPPFLAGS"
25000 LDFLAGS="$save_LDFLAGS"
25005 case $lt_cv_dlopen_self in
25006 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
25007 *) enable_dlopen_self=unknown ;;
25010 case $lt_cv_dlopen_self_static in
25011 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
25012 *) enable_dlopen_self_static=unknown ;;
25017 # The else clause should only fire when bootstrapping the
25018 # libtool distribution, otherwise you forgot to ship ltmain.sh
25019 # with your package, and you will get complaints that there are
25020 # no rules to generate ltmain.sh.
25021 if test -f "$ltmain"; then
25022 # See if we are running on zsh, and set the options which allow our commands through
25023 # without removal of \ escapes.
25024 if test -n "${ZSH_VERSION+set}" ; then
25025 setopt NO_GLOB_SUBST
25027 # Now quote all the things that may contain metacharacters while being
25028 # careful not to overquote the AC_SUBSTed values. We take copies of the
25029 # variables and quote the copies for generation of the libtool script.
25030 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25032 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25033 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25034 deplibs_check_method reload_flag reload_cmds need_locks \
25035 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25036 lt_cv_sys_global_symbol_to_c_name_address \
25037 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25038 old_postinstall_cmds old_postuninstall_cmds \
25042 lt_prog_compiler_wl_GCJ \
25043 lt_prog_compiler_pic_GCJ \
25044 lt_prog_compiler_static_GCJ \
25045 lt_prog_compiler_no_builtin_flag_GCJ \
25046 export_dynamic_flag_spec_GCJ \
25047 thread_safe_flag_spec_GCJ \
25048 whole_archive_flag_spec_GCJ \
25049 enable_shared_with_static_runtimes_GCJ \
25050 old_archive_cmds_GCJ \
25051 old_archive_from_new_cmds_GCJ \
25052 predep_objects_GCJ \
25053 postdep_objects_GCJ \
25056 compiler_lib_search_path_GCJ \
25058 archive_expsym_cmds_GCJ \
25059 postinstall_cmds_GCJ \
25060 postuninstall_cmds_GCJ \
25061 old_archive_from_expsyms_cmds_GCJ \
25062 allow_undefined_flag_GCJ \
25063 no_undefined_flag_GCJ \
25064 export_symbols_cmds_GCJ \
25065 hardcode_libdir_flag_spec_GCJ \
25066 hardcode_libdir_flag_spec_ld_GCJ \
25067 hardcode_libdir_separator_GCJ \
25068 hardcode_automatic_GCJ \
25070 module_expsym_cmds_GCJ \
25071 lt_cv_prog_compiler_c_o_GCJ \
25072 exclude_expsyms_GCJ \
25073 include_expsyms_GCJ; do
25076 old_archive_cmds_GCJ | \
25077 old_archive_from_new_cmds_GCJ | \
25078 archive_cmds_GCJ | \
25079 archive_expsym_cmds_GCJ | \
25080 module_cmds_GCJ | \
25081 module_expsym_cmds_GCJ | \
25082 old_archive_from_expsyms_cmds_GCJ | \
25083 export_symbols_cmds_GCJ | \
25084 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25085 postinstall_cmds | postuninstall_cmds | \
25086 old_postinstall_cmds | old_postuninstall_cmds | \
25087 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25088 # Double-quote double-evaled strings.
25089 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25092 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25098 *'\$0 --fallback-echo"')
25099 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25105 cat <<__EOF__ >> "$cfgfile"
25106 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25108 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25110 # Shell to use when invoking shell scripts.
25113 # Whether or not to build shared libraries.
25114 build_libtool_libs=$enable_shared
25116 # Whether or not to build static libraries.
25117 build_old_libs=$enable_static
25119 # Whether or not to add -lc for building shared libraries.
25120 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25122 # Whether or not to disallow shared libs when runtime libs are static
25123 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25125 # Whether or not to optimize for fast installation.
25126 fast_install=$enable_fast_install
25129 host_alias=$host_alias
25133 # The build system.
25134 build_alias=$build_alias
25138 # An echo program that does not interpret backslashes.
25143 AR_FLAGS=$lt_AR_FLAGS
25148 # A language-specific compiler.
25149 CC=$lt_compiler_GCJ
25151 # Is the compiler the GNU C compiler?
25157 # The linker used to build libraries.
25160 # Whether we need hard or soft links.
25163 # A BSD-compatible nm program.
25166 # A symbol stripping program
25169 # Used to examine libraries when file_magic_cmd begins "file"
25170 MAGIC_CMD=$MAGIC_CMD
25172 # Used on cygwin: DLL creation program.
25175 # Used on cygwin: object dumper.
25178 # Used on cygwin: assembler.
25181 # The name of the directory that contains temporary libtool files.
25184 # How to create reloadable object files.
25185 reload_flag=$lt_reload_flag
25186 reload_cmds=$lt_reload_cmds
25188 # How to pass a linker flag through the compiler.
25189 wl=$lt_lt_prog_compiler_wl_GCJ
25191 # Object file suffix (normally "o").
25192 objext="$ac_objext"
25194 # Old archive suffix (normally "a").
25197 # Shared library suffix (normally ".so").
25198 shrext_cmds='$shrext_cmds'
25200 # Executable file suffix (normally "").
25203 # Additional compiler flags for building library objects.
25204 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25207 # What is the maximum length of a command?
25208 max_cmd_len=$lt_cv_sys_max_cmd_len
25210 # Does compiler simultaneously support -c and -o options?
25211 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25213 # Must we lock files when doing compilation?
25214 need_locks=$lt_need_locks
25216 # Do we need the lib prefix for modules?
25217 need_lib_prefix=$need_lib_prefix
25219 # Do we need a version for libraries?
25220 need_version=$need_version
25222 # Whether dlopen is supported.
25223 dlopen_support=$enable_dlopen
25225 # Whether dlopen of programs is supported.
25226 dlopen_self=$enable_dlopen_self
25228 # Whether dlopen of statically linked programs is supported.
25229 dlopen_self_static=$enable_dlopen_self_static
25231 # Compiler flag to prevent dynamic linking.
25232 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25234 # Compiler flag to turn off builtin functions.
25235 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25237 # Compiler flag to allow reflexive dlopens.
25238 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25240 # Compiler flag to generate shared objects directly from archives.
25241 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25243 # Compiler flag to generate thread-safe objects.
25244 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25246 # Library versioning type.
25247 version_type=$version_type
25249 # Format of library name prefix.
25250 libname_spec=$lt_libname_spec
25252 # List of archive names. First name is the real one, the rest are links.
25253 # The last name is the one that the linker finds with -lNAME.
25254 library_names_spec=$lt_library_names_spec
25256 # The coded name of the library, if different from the real name.
25257 soname_spec=$lt_soname_spec
25259 # Commands used to build and install an old-style archive.
25261 old_archive_cmds=$lt_old_archive_cmds_GCJ
25262 old_postinstall_cmds=$lt_old_postinstall_cmds
25263 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25265 # Create an old-style archive from a shared archive.
25266 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25268 # Create a temporary old-style archive to link instead of a shared archive.
25269 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25271 # Commands used to build and install a shared archive.
25272 archive_cmds=$lt_archive_cmds_GCJ
25273 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25274 postinstall_cmds=$lt_postinstall_cmds
25275 postuninstall_cmds=$lt_postuninstall_cmds
25277 # Commands used to build a loadable module (assumed same as above if empty)
25278 module_cmds=$lt_module_cmds_GCJ
25279 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25281 # Commands to strip libraries.
25282 old_striplib=$lt_old_striplib
25283 striplib=$lt_striplib
25285 # Dependencies to place before the objects being linked to create a
25287 predep_objects=$lt_predep_objects_GCJ
25289 # Dependencies to place after the objects being linked to create a
25291 postdep_objects=$lt_postdep_objects_GCJ
25293 # Dependencies to place before the objects being linked to create a
25295 predeps=$lt_predeps_GCJ
25297 # Dependencies to place after the objects being linked to create a
25299 postdeps=$lt_postdeps_GCJ
25301 # The library search path used internally by the compiler when linking
25302 # a shared library.
25303 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25305 # Method to check whether dependent libraries are shared objects.
25306 deplibs_check_method=$lt_deplibs_check_method
25308 # Command to use when deplibs_check_method == file_magic.
25309 file_magic_cmd=$lt_file_magic_cmd
25311 # Flag that allows shared libraries with undefined symbols to be built.
25312 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25314 # Flag that forces no undefined symbols.
25315 no_undefined_flag=$lt_no_undefined_flag_GCJ
25317 # Commands used to finish a libtool library installation in a directory.
25318 finish_cmds=$lt_finish_cmds
25320 # Same as above, but a single script fragment to be evaled but not shown.
25321 finish_eval=$lt_finish_eval
25323 # Take the output of nm and produce a listing of raw symbols and C names.
25324 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25326 # Transform the output of nm in a proper C declaration
25327 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25329 # Transform the output of nm in a C name address pair
25330 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25332 # This is the shared library runtime path variable.
25333 runpath_var=$runpath_var
25335 # This is the shared library path variable.
25336 shlibpath_var=$shlibpath_var
25338 # Is shlibpath searched before the hard-coded library search path?
25339 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25341 # How to hardcode a shared library path into an executable.
25342 hardcode_action=$hardcode_action_GCJ
25344 # Whether we should hardcode library paths into libraries.
25345 hardcode_into_libs=$hardcode_into_libs
25347 # Flag to hardcode \$libdir into a binary during linking.
25348 # This must work even if \$libdir does not exist.
25349 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25351 # If ld is used when linking, flag to hardcode \$libdir into
25352 # a binary during linking. This must work even if \$libdir does
25354 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25356 # Whether we need a single -rpath flag with a separated argument.
25357 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25359 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25360 # resulting binary.
25361 hardcode_direct=$hardcode_direct_GCJ
25363 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25364 # resulting binary.
25365 hardcode_minus_L=$hardcode_minus_L_GCJ
25367 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25368 # the resulting binary.
25369 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25371 # Set to yes if building a shared library automatically hardcodes DIR into the library
25372 # and all subsequent libraries and executables linked against it.
25373 hardcode_automatic=$hardcode_automatic_GCJ
25375 # Variables whose values should be saved in libtool wrapper scripts and
25376 # restored at relink time.
25377 variables_saved_for_relink="$variables_saved_for_relink"
25379 # Whether libtool must link a program against all its dependency libraries.
25380 link_all_deplibs=$link_all_deplibs_GCJ
25382 # Compile-time system search path for libraries
25383 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25385 # Run-time system search path for libraries
25386 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25388 # Fix the shell variable \$srcfile for the compiler.
25389 fix_srcfile_path="$fix_srcfile_path_GCJ"
25391 # Set to yes if exported symbols are required.
25392 always_export_symbols=$always_export_symbols_GCJ
25394 # The commands to list exported symbols.
25395 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
25397 # The commands to extract the exported symbol list from a shared archive.
25398 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25400 # Symbols that should not be listed in the preloaded symbols.
25401 exclude_expsyms=$lt_exclude_expsyms_GCJ
25403 # Symbols that must always be exported.
25404 include_expsyms=$lt_include_expsyms_GCJ
25406 # ### END LIBTOOL TAG CONFIG: $tagname
25412 # If there is no Makefile yet, we rely on a make rule to execute
25413 # `config.status --recheck' to rerun these tests and create the
25414 # libtool script then.
25415 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25416 if test -f "$ltmain_in"; then
25417 test -f Makefile && make "$ltmain"
25423 ac_cpp='$CPP $CPPFLAGS'
25424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25439 # Source file extension for RC test sources.
25442 # Object file extension for compiled RC test sources.
25446 # Code to be used in simple compile tests
25447 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
25449 # Code to be used in simple link tests
25450 lt_simple_link_test_code="$lt_simple_compile_test_code"
25452 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25454 # If no C compiler was specified, use CC.
25457 # Allow CC to be a program name with arguments.
25461 # save warnings/boilerplate of simple test code
25462 ac_outfile=conftest.$ac_objext
25463 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
25464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
25465 _lt_compiler_boilerplate=`cat conftest.err`
25468 ac_outfile=conftest.$ac_objext
25469 printf "$lt_simple_link_test_code" >conftest.$ac_ext
25470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
25471 _lt_linker_boilerplate=`cat conftest.err`
25475 # Allow CC to be a program name with arguments.
25480 for cc_temp in $compiler""; do
25482 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25483 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25488 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25490 lt_cv_prog_compiler_c_o_RC=yes
25492 # The else clause should only fire when bootstrapping the
25493 # libtool distribution, otherwise you forgot to ship ltmain.sh
25494 # with your package, and you will get complaints that there are
25495 # no rules to generate ltmain.sh.
25496 if test -f "$ltmain"; then
25497 # See if we are running on zsh, and set the options which allow our commands through
25498 # without removal of \ escapes.
25499 if test -n "${ZSH_VERSION+set}" ; then
25500 setopt NO_GLOB_SUBST
25502 # Now quote all the things that may contain metacharacters while being
25503 # careful not to overquote the AC_SUBSTed values. We take copies of the
25504 # variables and quote the copies for generation of the libtool script.
25505 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25507 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25508 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25509 deplibs_check_method reload_flag reload_cmds need_locks \
25510 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25511 lt_cv_sys_global_symbol_to_c_name_address \
25512 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25513 old_postinstall_cmds old_postuninstall_cmds \
25517 lt_prog_compiler_wl_RC \
25518 lt_prog_compiler_pic_RC \
25519 lt_prog_compiler_static_RC \
25520 lt_prog_compiler_no_builtin_flag_RC \
25521 export_dynamic_flag_spec_RC \
25522 thread_safe_flag_spec_RC \
25523 whole_archive_flag_spec_RC \
25524 enable_shared_with_static_runtimes_RC \
25525 old_archive_cmds_RC \
25526 old_archive_from_new_cmds_RC \
25527 predep_objects_RC \
25528 postdep_objects_RC \
25531 compiler_lib_search_path_RC \
25533 archive_expsym_cmds_RC \
25534 postinstall_cmds_RC \
25535 postuninstall_cmds_RC \
25536 old_archive_from_expsyms_cmds_RC \
25537 allow_undefined_flag_RC \
25538 no_undefined_flag_RC \
25539 export_symbols_cmds_RC \
25540 hardcode_libdir_flag_spec_RC \
25541 hardcode_libdir_flag_spec_ld_RC \
25542 hardcode_libdir_separator_RC \
25543 hardcode_automatic_RC \
25545 module_expsym_cmds_RC \
25546 lt_cv_prog_compiler_c_o_RC \
25547 exclude_expsyms_RC \
25548 include_expsyms_RC; do
25551 old_archive_cmds_RC | \
25552 old_archive_from_new_cmds_RC | \
25553 archive_cmds_RC | \
25554 archive_expsym_cmds_RC | \
25556 module_expsym_cmds_RC | \
25557 old_archive_from_expsyms_cmds_RC | \
25558 export_symbols_cmds_RC | \
25559 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25560 postinstall_cmds | postuninstall_cmds | \
25561 old_postinstall_cmds | old_postuninstall_cmds | \
25562 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25563 # Double-quote double-evaled strings.
25564 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25567 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25573 *'\$0 --fallback-echo"')
25574 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25580 cat <<__EOF__ >> "$cfgfile"
25581 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25583 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25585 # Shell to use when invoking shell scripts.
25588 # Whether or not to build shared libraries.
25589 build_libtool_libs=$enable_shared
25591 # Whether or not to build static libraries.
25592 build_old_libs=$enable_static
25594 # Whether or not to add -lc for building shared libraries.
25595 build_libtool_need_lc=$archive_cmds_need_lc_RC
25597 # Whether or not to disallow shared libs when runtime libs are static
25598 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25600 # Whether or not to optimize for fast installation.
25601 fast_install=$enable_fast_install
25604 host_alias=$host_alias
25608 # The build system.
25609 build_alias=$build_alias
25613 # An echo program that does not interpret backslashes.
25618 AR_FLAGS=$lt_AR_FLAGS
25623 # A language-specific compiler.
25626 # Is the compiler the GNU C compiler?
25632 # The linker used to build libraries.
25635 # Whether we need hard or soft links.
25638 # A BSD-compatible nm program.
25641 # A symbol stripping program
25644 # Used to examine libraries when file_magic_cmd begins "file"
25645 MAGIC_CMD=$MAGIC_CMD
25647 # Used on cygwin: DLL creation program.
25650 # Used on cygwin: object dumper.
25653 # Used on cygwin: assembler.
25656 # The name of the directory that contains temporary libtool files.
25659 # How to create reloadable object files.
25660 reload_flag=$lt_reload_flag
25661 reload_cmds=$lt_reload_cmds
25663 # How to pass a linker flag through the compiler.
25664 wl=$lt_lt_prog_compiler_wl_RC
25666 # Object file suffix (normally "o").
25667 objext="$ac_objext"
25669 # Old archive suffix (normally "a").
25672 # Shared library suffix (normally ".so").
25673 shrext_cmds='$shrext_cmds'
25675 # Executable file suffix (normally "").
25678 # Additional compiler flags for building library objects.
25679 pic_flag=$lt_lt_prog_compiler_pic_RC
25682 # What is the maximum length of a command?
25683 max_cmd_len=$lt_cv_sys_max_cmd_len
25685 # Does compiler simultaneously support -c and -o options?
25686 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25688 # Must we lock files when doing compilation?
25689 need_locks=$lt_need_locks
25691 # Do we need the lib prefix for modules?
25692 need_lib_prefix=$need_lib_prefix
25694 # Do we need a version for libraries?
25695 need_version=$need_version
25697 # Whether dlopen is supported.
25698 dlopen_support=$enable_dlopen
25700 # Whether dlopen of programs is supported.
25701 dlopen_self=$enable_dlopen_self
25703 # Whether dlopen of statically linked programs is supported.
25704 dlopen_self_static=$enable_dlopen_self_static
25706 # Compiler flag to prevent dynamic linking.
25707 link_static_flag=$lt_lt_prog_compiler_static_RC
25709 # Compiler flag to turn off builtin functions.
25710 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25712 # Compiler flag to allow reflexive dlopens.
25713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25715 # Compiler flag to generate shared objects directly from archives.
25716 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25718 # Compiler flag to generate thread-safe objects.
25719 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25721 # Library versioning type.
25722 version_type=$version_type
25724 # Format of library name prefix.
25725 libname_spec=$lt_libname_spec
25727 # List of archive names. First name is the real one, the rest are links.
25728 # The last name is the one that the linker finds with -lNAME.
25729 library_names_spec=$lt_library_names_spec
25731 # The coded name of the library, if different from the real name.
25732 soname_spec=$lt_soname_spec
25734 # Commands used to build and install an old-style archive.
25736 old_archive_cmds=$lt_old_archive_cmds_RC
25737 old_postinstall_cmds=$lt_old_postinstall_cmds
25738 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25740 # Create an old-style archive from a shared archive.
25741 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25743 # Create a temporary old-style archive to link instead of a shared archive.
25744 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25746 # Commands used to build and install a shared archive.
25747 archive_cmds=$lt_archive_cmds_RC
25748 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25749 postinstall_cmds=$lt_postinstall_cmds
25750 postuninstall_cmds=$lt_postuninstall_cmds
25752 # Commands used to build a loadable module (assumed same as above if empty)
25753 module_cmds=$lt_module_cmds_RC
25754 module_expsym_cmds=$lt_module_expsym_cmds_RC
25756 # Commands to strip libraries.
25757 old_striplib=$lt_old_striplib
25758 striplib=$lt_striplib
25760 # Dependencies to place before the objects being linked to create a
25762 predep_objects=$lt_predep_objects_RC
25764 # Dependencies to place after the objects being linked to create a
25766 postdep_objects=$lt_postdep_objects_RC
25768 # Dependencies to place before the objects being linked to create a
25770 predeps=$lt_predeps_RC
25772 # Dependencies to place after the objects being linked to create a
25774 postdeps=$lt_postdeps_RC
25776 # The library search path used internally by the compiler when linking
25777 # a shared library.
25778 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25780 # Method to check whether dependent libraries are shared objects.
25781 deplibs_check_method=$lt_deplibs_check_method
25783 # Command to use when deplibs_check_method == file_magic.
25784 file_magic_cmd=$lt_file_magic_cmd
25786 # Flag that allows shared libraries with undefined symbols to be built.
25787 allow_undefined_flag=$lt_allow_undefined_flag_RC
25789 # Flag that forces no undefined symbols.
25790 no_undefined_flag=$lt_no_undefined_flag_RC
25792 # Commands used to finish a libtool library installation in a directory.
25793 finish_cmds=$lt_finish_cmds
25795 # Same as above, but a single script fragment to be evaled but not shown.
25796 finish_eval=$lt_finish_eval
25798 # Take the output of nm and produce a listing of raw symbols and C names.
25799 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25801 # Transform the output of nm in a proper C declaration
25802 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25804 # Transform the output of nm in a C name address pair
25805 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25807 # This is the shared library runtime path variable.
25808 runpath_var=$runpath_var
25810 # This is the shared library path variable.
25811 shlibpath_var=$shlibpath_var
25813 # Is shlibpath searched before the hard-coded library search path?
25814 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25816 # How to hardcode a shared library path into an executable.
25817 hardcode_action=$hardcode_action_RC
25819 # Whether we should hardcode library paths into libraries.
25820 hardcode_into_libs=$hardcode_into_libs
25822 # Flag to hardcode \$libdir into a binary during linking.
25823 # This must work even if \$libdir does not exist.
25824 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25826 # If ld is used when linking, flag to hardcode \$libdir into
25827 # a binary during linking. This must work even if \$libdir does
25829 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
25831 # Whether we need a single -rpath flag with a separated argument.
25832 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
25834 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25835 # resulting binary.
25836 hardcode_direct=$hardcode_direct_RC
25838 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25839 # resulting binary.
25840 hardcode_minus_L=$hardcode_minus_L_RC
25842 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25843 # the resulting binary.
25844 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
25846 # Set to yes if building a shared library automatically hardcodes DIR into the library
25847 # and all subsequent libraries and executables linked against it.
25848 hardcode_automatic=$hardcode_automatic_RC
25850 # Variables whose values should be saved in libtool wrapper scripts and
25851 # restored at relink time.
25852 variables_saved_for_relink="$variables_saved_for_relink"
25854 # Whether libtool must link a program against all its dependency libraries.
25855 link_all_deplibs=$link_all_deplibs_RC
25857 # Compile-time system search path for libraries
25858 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25860 # Run-time system search path for libraries
25861 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25863 # Fix the shell variable \$srcfile for the compiler.
25864 fix_srcfile_path="$fix_srcfile_path_RC"
25866 # Set to yes if exported symbols are required.
25867 always_export_symbols=$always_export_symbols_RC
25869 # The commands to list exported symbols.
25870 export_symbols_cmds=$lt_export_symbols_cmds_RC
25872 # The commands to extract the exported symbol list from a shared archive.
25873 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25875 # Symbols that should not be listed in the preloaded symbols.
25876 exclude_expsyms=$lt_exclude_expsyms_RC
25878 # Symbols that must always be exported.
25879 include_expsyms=$lt_include_expsyms_RC
25881 # ### END LIBTOOL TAG CONFIG: $tagname
25887 # If there is no Makefile yet, we rely on a make rule to execute
25888 # `config.status --recheck' to rerun these tests and create the
25889 # libtool script then.
25890 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25891 if test -f "$ltmain_in"; then
25892 test -f Makefile && make "$ltmain"
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
25909 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
25910 { (exit 1); exit 1; }; }
25914 # Append the new tag name to the list of available tags.
25915 if test -n "$tagname" ; then
25916 available_tags="$available_tags $tagname"
25922 # Now substitute the updated list of available tags.
25923 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
25924 mv "${ofile}T" "$ofile"
25928 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
25929 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
25930 { (exit 1); exit 1; }; }
25936 # This can be used to rebuild libtool when needed
25937 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
25939 # Always use our own libtool.
25940 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
25942 # Prevent multiple expansion
25966 echo "$as_me:$LINENO: checking for linux kernel dir" >&5
25967 echo $ECHO_N "checking for linux kernel dir... $ECHO_C" >&6
25968 if test "${ensc_cv_path_kerneldir+set}" = set; then
25969 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 # Check whether --with-kerneldir or --without-kerneldir was given.
25974 if test "${with_kerneldir+set}" = set; then
25975 withval="$with_kerneldir"
25977 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for kerneldir" >&5
25978 echo "$as_me: error: '$withval' is not a valid value for kerneldir" >&2;}
25979 { (exit 1); exit 1; }; };;
25980 *) ensc_cv_path_kerneldir=$withval;;
25983 ensc_cv_path_kerneldir=
25984 for i in /lib/modules/$(uname -r)/build /usr/src/linux /usr; do
25985 test -e $i/include/linux/version.h && { ensc_cv_path_kerneldir=$i; break; }
25990 echo "$as_me:$LINENO: result: $ensc_cv_path_kerneldir" >&5
25991 echo "${ECHO_T}$ensc_cv_path_kerneldir" >&6
25993 test "$ensc_cv_path_kerneldir" -a -e "$ensc_cv_path_kerneldir"/include/linux/version.h || {
25994 { { echo "$as_me:$LINENO: error: Can not find kernelsources" >&5
25995 echo "$as_me: error: Can not find kernelsources" >&2;}
25996 { (exit 1); exit 1; }; }
26002 echo "$as_me:$LINENO: checking for linux kernel headers" >&5
26003 echo $ECHO_N "checking for linux kernel headers... $ECHO_C" >&6
26004 if test "${ensc_cv_path_kernelheaders+set}" = set; then
26005 echo $ECHO_N "(cached) $ECHO_C" >&6
26008 ensc_cv_path_kernelheaders=$ensc_cv_path_kerneldir/include
26011 echo "$as_me:$LINENO: result: $ensc_cv_path_kernelheaders" >&5
26012 echo "${ECHO_T}$ensc_cv_path_kernelheaders" >&6
26014 if test x"kernelincludedir" != x; then
26015 kernelincludedir=$ensc_cv_path_kernelheaders
26020 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
26021 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
26023 # Check whether --with-vrootdir or --without-vrootdir was given.
26024 if test "${with_vrootdir+set}" = set; then
26025 withval="$with_vrootdir"
26027 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
26028 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
26029 { (exit 1); exit 1; }; };;
26030 *) ensc_uv_path_vrootdir=$withval;;
26033 ensc_uv_path_vrootdir=/vservers
26035 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
26036 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
26038 if test x"vserverdir" != x; then
26039 vserverdir=$ensc_uv_path_vrootdir
26044 if test x"trunk" != x; then
26045 CVS2CL_TAG='-F trunk'
26049 for ac_prog in cvs2cl
26051 # Extract the first word of "$ac_prog", so it can be a program name with args.
26052 set dummy $ac_prog; ac_word=$2
26053 echo "$as_me:$LINENO: checking for $ac_word" >&5
26054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26055 if test "${ac_cv_prog_CVS2CL+set}" = set; then
26056 echo $ECHO_N "(cached) $ECHO_C" >&6
26058 if test -n "$CVS2CL"; then
26059 ac_cv_prog_CVS2CL="$CVS2CL" # Let the user override the test.
26061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26062 for as_dir in $PATH
26065 test -z "$as_dir" && as_dir=.
26066 for ac_exec_ext in '' $ac_executable_extensions; do
26067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26068 ac_cv_prog_CVS2CL="$ac_prog"
26069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26077 CVS2CL=$ac_cv_prog_CVS2CL
26078 if test -n "$CVS2CL"; then
26079 echo "$as_me:$LINENO: result: $CVS2CL" >&5
26080 echo "${ECHO_T}$CVS2CL" >&6
26082 echo "$as_me:$LINENO: result: no" >&5
26083 echo "${ECHO_T}no" >&6
26086 test -n "$CVS2CL" && break
26091 if test x"$CVS2CL" != x; then
26093 HAVE_CVS2CL_FALSE='#'
26095 HAVE_CVS2CL_TRUE='#'
26100 for ac_prog in rcs2log
26102 # Extract the first word of "$ac_prog", so it can be a program name with args.
26103 set dummy $ac_prog; ac_word=$2
26104 echo "$as_me:$LINENO: checking for $ac_word" >&5
26105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26106 if test "${ac_cv_prog_RCS2LOG+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 if test -n "$RCS2LOG"; then
26110 ac_cv_prog_RCS2LOG="$RCS2LOG" # Let the user override the test.
26112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26113 for as_dir in $PATH
26116 test -z "$as_dir" && as_dir=.
26117 for ac_exec_ext in '' $ac_executable_extensions; do
26118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26119 ac_cv_prog_RCS2LOG="$ac_prog"
26120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26128 RCS2LOG=$ac_cv_prog_RCS2LOG
26129 if test -n "$RCS2LOG"; then
26130 echo "$as_me:$LINENO: result: $RCS2LOG" >&5
26131 echo "${ECHO_T}$RCS2LOG" >&6
26133 echo "$as_me:$LINENO: result: no" >&5
26134 echo "${ECHO_T}no" >&6
26137 test -n "$RCS2LOG" && break
26142 if test x"$RCS2LOG" != x; then
26144 HAVE_RCS2LOG_FALSE='#'
26146 HAVE_RCS2LOG_TRUE='#'
26147 HAVE_RCS2LOG_FALSE=
26153 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
26154 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
26155 # Check whether --enable-internal-headers or --disable-internal-headers was given.
26156 if test "${enable_internal_headers+set}" = set; then
26157 enableval="$enable_internal_headers"
26158 case "$enableval" in
26160 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
26161 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
26162 { (exit 1); exit 1; }; };;
26165 enable_internal_headers=yes
26170 if test x"$enable_internal_headers" = xyes; then
26171 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
26172 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
26174 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
26175 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
26178 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
26179 echo "${ECHO_T}$enable_internal_headers" >&6
26181 echo "$as_me:$LINENO: checking for supported APIs" >&5
26182 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
26183 # Check whether --enable-apis or --disable-apis was given.
26184 if test "${enable_apis+set}" = set; then
26185 enableval="$enable_apis"
26188 enable_apis=compat,v11,v13,fscompat,net
26191 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,v13,fscompat,net'
26192 enable_api_oldproc=
26196 for i in $enable_apis; do
26199 cat >>confdefs.h <<\_ACEOF
26200 #define VC_ENABLE_API_COMPAT 1
26203 enable_api_oldproc=1
26204 enable_api_olduts=1
26207 cat >>confdefs.h <<\_ACEOF
26208 #define VC_ENABLE_API_LEGACY 1
26211 enable_api_old_proc=1
26212 enable_api_olduts=1
26215 cat >>confdefs.h <<\_ACEOF
26216 #define VC_ENABLE_API_V11 1
26219 enable_api_oldproc=1
26220 enable_api_olduts=1
26223 cat >>confdefs.h <<\_ACEOF
26224 #define VC_ENABLE_API_V13 1
26228 cat >>confdefs.h <<\_ACEOF
26229 #define VC_ENABLE_API_NET 1
26233 cat >>confdefs.h <<\_ACEOF
26234 #define VC_ENABLE_API_FSCOMPAT 1
26237 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
26238 echo "$as_me: error: '$i' is not a supported API" >&2;}
26239 { (exit 1); exit 1; }; };;
26243 if test x"$enable_api_oldproc" != x; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define VC_ENABLE_API_OLDPROC 1
26249 enable_apis="$enable_apis,oldproc"
26251 if test x"$enable_api_olduts" != x; then
26253 cat >>confdefs.h <<\_ACEOF
26254 #define VC_ENABLE_API_OLDUTS 1
26257 enable_apis="$enable_apis,olduts"
26259 echo "$as_me:$LINENO: result: $enable_apis" >&5
26260 echo "${ECHO_T}$enable_apis" >&6
26268 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
26269 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
26270 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26275 ac_cpp='$CPP $CPPFLAGS'
26276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26280 cat >conftest.$ac_ext <<_ACEOF
26282 #include <asm/unistd.h>
26283 #ifdef __NR_vserver
26284 ensc_syscall_tmp_nr=__NR_vserver;
26285 ensc_syscall_tmp_src=ENSC_MARK
26289 ensc_syscall_tmp_nr=
26290 ensc_syscall_tmp_src=
26291 test "$ensc_syscall_tmp_nr" || \
26292 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
26293 test "$ensc_syscall_tmp_nr" || \
26294 eval $($CPP $CPPFLAGS -D ENSC_MARK='kernel' -I $ensc_cv_path_kernelheaders conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
26295 test "$ensc_syscall_tmp_nr" || {
26296 ensc_syscall_tmp_nr=273
26297 ensc_syscall_tmp_src=default
26300 if test x"$ensc_syscall_tmp_nr" = x; then
26301 { { 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
26302 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;}
26303 { (exit 1); exit 1; }; }
26306 ac_cpp='$CPP $CPPFLAGS'
26307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26312 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
26315 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
26316 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
26318 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
26319 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
26321 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
26323 cat >>confdefs.h <<_ACEOF
26324 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
26333 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
26334 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
26336 # Check whether --with-syscall or --without-syscall was given.
26337 if test "${with_syscall+set}" = set; then
26338 withval="$with_syscall"
26343 echo "$as_me:$LINENO: result: $with_syscall" >&5
26344 echo "${ECHO_T}$with_syscall" >&6
26346 case x"$with_syscall" in
26348 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
26349 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
26350 if test "${ensc_cv_test_syscall+set}" = set; then
26351 echo $ECHO_N "(cached) $ECHO_C" >&6
26355 ac_cpp='$CPP $CPPFLAGS'
26356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26360 cat >conftest.$ac_ext <<_ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26367 #include "$srcdir/lib/syscall-wrap.h"
26370 #define __NR_foo0 300
26371 #define __NR_foo1 301
26372 #define __NR_foo2 302
26373 #define __NR_foo3 303
26374 #define __NR_foo4 304
26375 #define __NR_foo5 305
26376 inline static _syscall0(int, foo0)
26377 inline static _syscall1(int, foo1, int, a)
26378 inline static _syscall2(int, foo2, int, a, int, b)
26379 inline static _syscall3(int, foo3, int, a, int, b, int, c)
26380 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
26381 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
26393 rm -f conftest.$ac_objext
26394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26395 (eval $ac_compile) 2>conftest.er1
26397 grep -v '^ *+' conftest.er1 >conftest.err
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); } &&
26402 { ac_try='test -z "$ac_c_werror_flag"
26403 || test ! -s conftest.err'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; } &&
26409 { ac_try='test -s conftest.$ac_objext'
26410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26411 (eval $ac_try) 2>&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); }; }; then
26415 ensc_cv_test_syscall=fast
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.$ac_ext >&5
26420 ensc_cv_test_syscall=traditional
26422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26425 ac_cpp='$CPP $CPPFLAGS'
26426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26432 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
26433 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
26434 with_syscall=$ensc_cv_test_syscall
26436 (xfast|xtraditional)
26439 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
26440 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
26441 { (exit 1); exit 1; }; }
26445 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
26446 with_syscall='alternative'
26449 if test x"$with_syscall" = xtraditional; then
26451 cat >>confdefs.h <<\_ACEOF
26452 #define ENSC_SYSCALL_TRADITIONAL 1
26463 ac_cpp='$CXXCPP $CPPFLAGS'
26464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26468 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
26469 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
26470 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26474 cat >conftest.$ac_ext <<_ACEOF
26477 cat confdefs.h >>conftest.$ac_ext
26478 cat >>conftest.$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480 #include <ext2fs/ext2_fs.h>
26481 int main() { return 0; }
26483 rm -f conftest.$ac_objext
26484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26485 (eval $ac_compile) 2>conftest.er1
26487 grep -v '^ *+' conftest.er1 >conftest.err
26489 cat conftest.err >&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); } &&
26492 { ac_try='test -z "$ac_cxx_werror_flag"
26493 || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try='test -s conftest.$ac_objext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ensc_cv_test_ext2fs_header=e2fsprogs
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.$ac_ext >&5
26511 cat >conftest.$ac_ext <<_ACEOF
26514 cat confdefs.h >>conftest.$ac_ext
26515 cat >>conftest.$ac_ext <<_ACEOF
26516 /* end confdefs.h. */
26517 #include <linux/ext2_fs.h>
26518 int main() { return 0; }
26520 rm -f conftest.$ac_objext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26522 (eval $ac_compile) 2>conftest.er1
26524 grep -v '^ *+' conftest.er1 >conftest.err
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } &&
26529 { ac_try='test -z "$ac_cxx_werror_flag"
26530 || test ! -s conftest.err'
26531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532 (eval $ac_try) 2>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); }; } &&
26536 { ac_try='test -s conftest.$ac_objext'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; }; then
26542 ensc_cv_test_ext2fs_header=kernel
26544 echo "$as_me: failed program was:" >&5
26545 sed 's/^/| /' conftest.$ac_ext >&5
26548 ensc_cv_test_ext2fs_header=none
26550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26554 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26555 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
26557 case x"$ensc_cv_test_ext2fs_header" in
26559 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26560 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26561 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26562 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26566 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26568 # Is the header compilable?
26569 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26570 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
26571 cat >conftest.$ac_ext <<_ACEOF
26574 cat confdefs.h >>conftest.$ac_ext
26575 cat >>conftest.$ac_ext <<_ACEOF
26576 /* end confdefs.h. */
26577 $ac_includes_default
26578 #include <ext2fs/ext2_fs.h>
26580 rm -f conftest.$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>conftest.er1
26584 grep -v '^ *+' conftest.er1 >conftest.err
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try='test -z "$ac_cxx_werror_flag"
26590 || test ! -s conftest.err'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; } &&
26596 { ac_try='test -s conftest.$ac_objext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 ac_header_compiler=yes
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.$ac_ext >&5
26607 ac_header_compiler=no
26609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26611 echo "${ECHO_T}$ac_header_compiler" >&6
26613 # Is the header present?
26614 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26615 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26616 cat >conftest.$ac_ext <<_ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 #include <ext2fs/ext2_fs.h>
26624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26627 grep -v '^ *+' conftest.er1 >conftest.err
26629 cat conftest.err >&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } >/dev/null; then
26632 if test -s conftest.err; then
26633 ac_cpp_err=$ac_cxx_preproc_warn_flag
26634 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26641 if test -z "$ac_cpp_err"; then
26642 ac_header_preproc=yes
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26647 ac_header_preproc=no
26649 rm -f conftest.err conftest.$ac_ext
26650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26651 echo "${ECHO_T}$ac_header_preproc" >&6
26653 # So? What about this header?
26654 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26656 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26657 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26659 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26660 ac_header_preproc=yes
26663 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26664 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26665 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26666 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26667 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26668 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26669 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26670 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26671 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26672 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26673 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26674 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26677 ## ------------------------------------------------------ ##
26678 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26679 ## ------------------------------------------------------ ##
26682 sed "s/^/$as_me: WARNING: /" >&2
26685 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26686 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26687 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26692 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26693 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26696 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26698 cat >>confdefs.h <<\_ACEOF
26699 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26703 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26704 See \`config.log' for more details." >&5
26705 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26706 See \`config.log' for more details." >&2;}
26707 { (exit 1); exit 1; }; }
26713 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26714 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26715 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26716 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26717 echo $ECHO_N "(cached) $ECHO_C" >&6
26719 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26720 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26722 # Is the header compilable?
26723 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26724 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26725 cat >conftest.$ac_ext <<_ACEOF
26728 cat confdefs.h >>conftest.$ac_ext
26729 cat >>conftest.$ac_ext <<_ACEOF
26730 /* end confdefs.h. */
26731 $ac_includes_default
26732 #include <linux/ext2_fs.h>
26734 rm -f conftest.$ac_objext
26735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26736 (eval $ac_compile) 2>conftest.er1
26738 grep -v '^ *+' conftest.er1 >conftest.err
26740 cat conftest.err >&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); } &&
26743 { ac_try='test -z "$ac_cxx_werror_flag"
26744 || test ! -s conftest.err'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; } &&
26750 { ac_try='test -s conftest.$ac_objext'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; }; then
26756 ac_header_compiler=yes
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26761 ac_header_compiler=no
26763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26765 echo "${ECHO_T}$ac_header_compiler" >&6
26767 # Is the header present?
26768 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26769 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26770 cat >conftest.$ac_ext <<_ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 #include <linux/ext2_fs.h>
26778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26781 grep -v '^ *+' conftest.er1 >conftest.err
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } >/dev/null; then
26786 if test -s conftest.err; then
26787 ac_cpp_err=$ac_cxx_preproc_warn_flag
26788 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26795 if test -z "$ac_cpp_err"; then
26796 ac_header_preproc=yes
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26801 ac_header_preproc=no
26803 rm -f conftest.err conftest.$ac_ext
26804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26805 echo "${ECHO_T}$ac_header_preproc" >&6
26807 # So? What about this header?
26808 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26810 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26811 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26812 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26813 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26814 ac_header_preproc=yes
26817 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
26818 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
26820 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
26822 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26824 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
26826 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
26828 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26831 ## ------------------------------------------------------ ##
26832 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26833 ## ------------------------------------------------------ ##
26836 sed "s/^/$as_me: WARNING: /" >&2
26839 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26840 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26841 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
26846 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26847 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26850 if test $ac_cv_header_linux_ext2_fs_h = yes; then
26852 cat >>confdefs.h <<\_ACEOF
26853 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
26857 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
26858 See \`config.log' for more details." >&5
26859 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
26860 See \`config.log' for more details." >&2;}
26861 { (exit 1); exit 1; }; }
26867 { { echo "$as_me:$LINENO: error:
26868 ext2fs headers were not found, or they are not usable. This can have
26869 the following reasons:
26871 * you have neither the e2fsprogs nor the kernel headers installed
26873 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26874 and you do not have e2fsprogs headers installed; please try to install
26875 - e2fsprogs-devel (for Red Hat), or
26876 - libext2fs2-devel (for Mandrake), or
26877 - e2fslibs-dev (for Debian)
26880 * kernel headers are broken and your e2fsprogs headers are too old;
26881 until version 1.27 (inclusive), they are using reserved C++ keywords
26883 * kernel headers are broken and your e2fsprogs headers are too new;
26884 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26885 C++, for details and a solution see
26886 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26889 In the latter two cases you have the following options:
26890 * fix the headers manually, or
26891 * install a stable version of e2fsprogs (e.g. 1.34), or
26892 * use good kernel headers (from linux 2.4.x)
26894 See \`config.log' for more details." >&5
26895 echo "$as_me: error:
26896 ext2fs headers were not found, or they are not usable. This can have
26897 the following reasons:
26899 * you have neither the e2fsprogs nor the kernel headers installed
26901 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26902 and you do not have e2fsprogs headers installed; please try to install
26903 - e2fsprogs-devel (for Red Hat), or
26904 - libext2fs2-devel (for Mandrake), or
26905 - e2fslibs-dev (for Debian)
26908 * kernel headers are broken and your e2fsprogs headers are too old;
26909 until version 1.27 (inclusive), they are using reserved C++ keywords
26911 * kernel headers are broken and your e2fsprogs headers are too new;
26912 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26913 C++, for details and a solution see
26914 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26917 In the latter two cases you have the following options:
26918 * fix the headers manually, or
26919 * install a stable version of e2fsprogs (e.g. 1.34), or
26920 * use good kernel headers (from linux 2.4.x)
26922 See \`config.log' for more details." >&2;}
26923 { (exit 1); exit 1; }; }
26927 ac_cpp='$CPP $CPPFLAGS'
26928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26934 for ac_func in vserver
26936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26937 echo "$as_me:$LINENO: checking for $ac_func" >&5
26938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26939 if eval "test \"\${$as_ac_var+set}\" = set"; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 cat >conftest.$ac_ext <<_ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26950 #define $ac_func innocuous_$ac_func
26952 /* System header to define __stub macros and hopefully few prototypes,
26953 which can conflict with char $ac_func (); below.
26954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26955 <limits.h> exists even on freestanding compilers. */
26958 # include <limits.h>
26960 # include <assert.h>
26965 /* Override any gcc2 internal prototype to avoid an error. */
26970 /* We use char because int might match the return type of a gcc2
26971 builtin and then its argument prototype would still apply. */
26973 /* The GNU C library defines this for functions which it implements
26974 to always fail with ENOSYS. Some functions are actually named
26975 something starting with __ and the normal name is an alias. */
26976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26979 char (*f) () = $ac_func;
26988 return f != $ac_func;
26993 rm -f conftest.$ac_objext conftest$ac_exeext
26994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26995 (eval $ac_link) 2>conftest.er1
26997 grep -v '^ *+' conftest.er1 >conftest.err
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } &&
27002 { ac_try='test -z "$ac_c_werror_flag"
27003 || test ! -s conftest.err'
27004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27005 (eval $ac_try) 2>&5
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); }; } &&
27009 { ac_try='test -s conftest$ac_exeext'
27010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 (eval $ac_try) 2>&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); }; }; then
27015 eval "$as_ac_var=yes"
27017 echo "$as_me: failed program was:" >&5
27018 sed 's/^/| /' conftest.$ac_ext >&5
27020 eval "$as_ac_var=no"
27022 rm -f conftest.err conftest.$ac_objext \
27023 conftest$ac_exeext conftest.$ac_ext
27025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27027 if test `eval echo '${'$as_ac_var'}'` = yes; then
27028 cat >>confdefs.h <<_ACEOF
27029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27035 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
27036 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
27037 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
27038 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 cat >conftest.$ac_ext <<_ACEOF
27043 cat confdefs.h >>conftest.$ac_ext
27044 cat >>conftest.$ac_ext <<_ACEOF
27045 /* end confdefs.h. */
27046 #include <linux/fs.h>
27052 char *p = (char *) MS_MOVE;
27059 rm -f conftest.$ac_objext
27060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27061 (eval $ac_compile) 2>conftest.er1
27063 grep -v '^ *+' conftest.er1 >conftest.err
27065 cat conftest.err >&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try='test -z "$ac_c_werror_flag"
27069 || test ! -s conftest.err'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; } &&
27075 { ac_try='test -s conftest.$ac_objext'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; }; then
27081 ac_cv_have_decl_MS_MOVE=yes
27083 echo "$as_me: failed program was:" >&5
27084 sed 's/^/| /' conftest.$ac_ext >&5
27086 ac_cv_have_decl_MS_MOVE=no
27088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27090 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
27091 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
27092 if test $ac_cv_have_decl_MS_MOVE = yes; then
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE_DECL_MS_MOVE 1
27100 cat >>confdefs.h <<_ACEOF
27101 #define HAVE_DECL_MS_MOVE 0
27108 echo "$as_me:$LINENO: checking for xid_t" >&5
27109 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
27110 if test "${ac_cv_type_xid_t+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 cat >conftest.$ac_ext <<_ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27119 #include <sys/types.h>
27126 if (sizeof (xid_t))
27132 rm -f conftest.$ac_objext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27134 (eval $ac_compile) 2>conftest.er1
27136 grep -v '^ *+' conftest.er1 >conftest.err
27138 cat conftest.err >&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); } &&
27141 { ac_try='test -z "$ac_c_werror_flag"
27142 || test ! -s conftest.err'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; } &&
27148 { ac_try='test -s conftest.$ac_objext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27154 ac_cv_type_xid_t=yes
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27159 ac_cv_type_xid_t=no
27161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27163 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
27164 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
27165 if test $ac_cv_type_xid_t = yes; then
27167 cat >>confdefs.h <<_ACEOF
27168 #define HAVE_XID_T 1
27174 echo "$as_me:$LINENO: checking for nid_t" >&5
27175 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
27176 if test "${ac_cv_type_nid_t+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 cat >conftest.$ac_ext <<_ACEOF
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185 #include <sys/types.h>
27192 if (sizeof (nid_t))
27198 rm -f conftest.$ac_objext
27199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27200 (eval $ac_compile) 2>conftest.er1
27202 grep -v '^ *+' conftest.er1 >conftest.err
27204 cat conftest.err >&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); } &&
27207 { ac_try='test -z "$ac_c_werror_flag"
27208 || test ! -s conftest.err'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; } &&
27214 { ac_try='test -s conftest.$ac_objext'
27215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216 (eval $ac_try) 2>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); }; }; then
27220 ac_cv_type_nid_t=yes
27222 echo "$as_me: failed program was:" >&5
27223 sed 's/^/| /' conftest.$ac_ext >&5
27225 ac_cv_type_nid_t=no
27227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27229 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
27230 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
27231 if test $ac_cv_type_nid_t = yes; then
27233 cat >>confdefs.h <<_ACEOF
27234 #define HAVE_NID_T 1
27242 for ac_header in sys/capability.h
27244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27246 echo "$as_me:$LINENO: checking for $ac_header" >&5
27247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27249 echo $ECHO_N "(cached) $ECHO_C" >&6
27251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27254 # Is the header compilable?
27255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27257 cat >conftest.$ac_ext <<_ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263 $ac_includes_default
27264 #include <$ac_header>
27266 rm -f conftest.$ac_objext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27268 (eval $ac_compile) 2>conftest.er1
27270 grep -v '^ *+' conftest.er1 >conftest.err
27272 cat conftest.err >&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try='test -z "$ac_c_werror_flag"
27276 || test ! -s conftest.err'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; } &&
27282 { ac_try='test -s conftest.$ac_objext'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; }; then
27288 ac_header_compiler=yes
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27293 ac_header_compiler=no
27295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27297 echo "${ECHO_T}$ac_header_compiler" >&6
27299 # Is the header present?
27300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27302 cat >conftest.$ac_ext <<_ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h. */
27308 #include <$ac_header>
27310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27313 grep -v '^ *+' conftest.er1 >conftest.err
27315 cat conftest.err >&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } >/dev/null; then
27318 if test -s conftest.err; then
27319 ac_cpp_err=$ac_c_preproc_warn_flag
27320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27327 if test -z "$ac_cpp_err"; then
27328 ac_header_preproc=yes
27330 echo "$as_me: failed program was:" >&5
27331 sed 's/^/| /' conftest.$ac_ext >&5
27333 ac_header_preproc=no
27335 rm -f conftest.err conftest.$ac_ext
27336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27337 echo "${ECHO_T}$ac_header_preproc" >&6
27339 # So? What about this header?
27340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27346 ac_header_preproc=yes
27349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27363 ## ------------------------------------------------------ ##
27364 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27365 ## ------------------------------------------------------ ##
27368 sed "s/^/$as_me: WARNING: /" >&2
27371 echo "$as_me:$LINENO: checking for $ac_header" >&5
27372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 eval "$as_ac_Header=\$ac_header_preproc"
27378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27383 cat >>confdefs.h <<_ACEOF
27384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27393 if test x"$ensc_cv_c99_c99compiler" = xyes; then
27394 ensc_have_beecrypt=yes
27396 if test x"$ensc_have_beecrypt" = xyes; then
27397 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27398 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27399 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27400 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27401 echo $ECHO_N "(cached) $ECHO_C" >&6
27403 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27404 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27406 # Is the header compilable?
27407 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
27408 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
27409 cat >conftest.$ac_ext <<_ACEOF
27412 cat confdefs.h >>conftest.$ac_ext
27413 cat >>conftest.$ac_ext <<_ACEOF
27414 /* end confdefs.h. */
27415 $ac_includes_default
27416 #include <beecrypt/beecrypt.h>
27418 rm -f conftest.$ac_objext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27420 (eval $ac_compile) 2>conftest.er1
27422 grep -v '^ *+' conftest.er1 >conftest.err
27424 cat conftest.err >&5
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } &&
27427 { ac_try='test -z "$ac_c_werror_flag"
27428 || test ! -s conftest.err'
27429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430 (eval $ac_try) 2>&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); }; } &&
27434 { ac_try='test -s conftest.$ac_objext'
27435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436 (eval $ac_try) 2>&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); }; }; then
27440 ac_header_compiler=yes
27442 echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27445 ac_header_compiler=no
27447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27449 echo "${ECHO_T}$ac_header_compiler" >&6
27451 # Is the header present?
27452 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
27453 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
27454 cat >conftest.$ac_ext <<_ACEOF
27457 cat confdefs.h >>conftest.$ac_ext
27458 cat >>conftest.$ac_ext <<_ACEOF
27459 /* end confdefs.h. */
27460 #include <beecrypt/beecrypt.h>
27462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27465 grep -v '^ *+' conftest.er1 >conftest.err
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } >/dev/null; then
27470 if test -s conftest.err; then
27471 ac_cpp_err=$ac_c_preproc_warn_flag
27472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27479 if test -z "$ac_cpp_err"; then
27480 ac_header_preproc=yes
27482 echo "$as_me: failed program was:" >&5
27483 sed 's/^/| /' conftest.$ac_ext >&5
27485 ac_header_preproc=no
27487 rm -f conftest.err conftest.$ac_ext
27488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27489 echo "${ECHO_T}$ac_header_preproc" >&6
27491 # So? What about this header?
27492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27494 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27495 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27496 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27497 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27498 ac_header_preproc=yes
27501 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27502 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27503 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27504 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27505 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27506 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27507 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27508 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27509 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27510 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27511 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27512 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27515 ## ------------------------------------------------------ ##
27516 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27517 ## ------------------------------------------------------ ##
27520 sed "s/^/$as_me: WARNING: /" >&2
27523 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27524 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27525 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27530 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27531 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27534 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27537 ensc_have_beecrypt=no
27543 if test x"$ensc_have_beecrypt" = xyes; then
27544 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27545 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27546 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 ac_check_lib_save_LIBS=$LIBS
27550 LIBS="-lbeecrypt $LIBS"
27551 cat >conftest.$ac_ext <<_ACEOF
27554 cat confdefs.h >>conftest.$ac_ext
27555 cat >>conftest.$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27558 /* Override any gcc2 internal prototype to avoid an error. */
27562 /* We use char because int might match the return type of a gcc2
27563 builtin and then its argument prototype would still apply. */
27564 char hashFunctionContextInit ();
27568 hashFunctionContextInit ();
27573 rm -f conftest.$ac_objext conftest$ac_exeext
27574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27575 (eval $ac_link) 2>conftest.er1
27577 grep -v '^ *+' conftest.er1 >conftest.err
27579 cat conftest.err >&5
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); } &&
27582 { ac_try='test -z "$ac_c_werror_flag"
27583 || test ! -s conftest.err'
27584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585 (eval $ac_try) 2>&5
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); }; } &&
27589 { ac_try='test -s conftest$ac_exeext'
27590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27591 (eval $ac_try) 2>&5
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); }; }; then
27595 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27597 echo "$as_me: failed program was:" >&5
27598 sed 's/^/| /' conftest.$ac_ext >&5
27600 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27602 rm -f conftest.err conftest.$ac_objext \
27603 conftest$ac_exeext conftest.$ac_ext
27604 LIBS=$ac_check_lib_save_LIBS
27606 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27607 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27608 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27611 ensc_have_beecrypt=no
27616 if test x"$ensc_have_beecrypt" != xyes; then
27617 { echo "$as_me:$LINENO: WARNING:
27619 **** 'beecrypt' could not be found;
27620 **** this will disable the build of 'vhashify'
27622 echo "$as_me: WARNING:
27624 **** 'beecrypt' could not be found;
27625 **** this will disable the build of 'vhashify'
27629 ensc_have_beecrypt=no
27634 if test x"$ensc_have_beecrypt" = xyes; then
27635 ENSC_HAVE_BEECRYPT_TRUE=
27636 ENSC_HAVE_BEECRYPT_FALSE='#'
27638 ENSC_HAVE_BEECRYPT_TRUE='#'
27639 ENSC_HAVE_BEECRYPT_FALSE=
27645 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27646 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27648 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27649 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27655 cat >>confdefs.h <<\_ACEOF
27656 #define UTMP_GID 22
27662 cat >>confdefs.h <<\_ACEOF
27663 #define HAVE_GROWING_STACK 1
27669 cat >>confdefs.h <<\_ACEOF
27670 #define _FILE_OFFSET_BITS 64
27674 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27675 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27676 ensc_diet_msg=" (you have been warned)"
27677 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27678 ensc_diet_compat_msg=" (using -lcompat)"
27679 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27680 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27681 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27682 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27683 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27689 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27691 cat >confcache <<\_ACEOF
27692 # This file is a shell script that caches the results of configure
27693 # tests run on this system so they can be shared between configure
27694 # scripts and configure runs, see configure's option --config-cache.
27695 # It is not useful on other systems. If it contains results you don't
27696 # want to keep, you may remove or edit it.
27698 # config.status only pays attention to the cache file if you give it
27699 # the --recheck option to rerun configure.
27701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27703 # following values.
27707 # The following way of writing the cache mishandles newlines in values,
27708 # but we know of no workaround that is simple, portable, and efficient.
27709 # So, don't put newlines in cache variables' values.
27710 # Ultrix sh set writes to stderr and can't be redirected directly,
27711 # and sets the high bit in the cache file unless we assign to the vars.
27714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27716 # `set' does not quote correctly, so add quotes (double-quote
27717 # substitution turns \\\\ into \\, and sed turns \\ into \).
27720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27723 # `set' quotes correctly as required by POSIX, so do not add quotes.
27725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27736 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27737 if test -w $cache_file; then
27738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27739 cat confcache >$cache_file
27741 echo "not updating unwritable cache $cache_file"
27746 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27747 # Let make expand exec_prefix.
27748 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27750 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27751 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27752 # trailing colons and then remove the whole line if VPATH becomes empty
27753 # (actually we leave an empty line to preserve line numbers).
27754 if test "x$srcdir" = x.; then
27755 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27756 s/:*\$(srcdir):*/:/;
27757 s/:*\${srcdir}:*/:/;
27759 s/^\([^=]*=[ ]*\):*/\1/;
27765 DEFS=-DHAVE_CONFIG_H
27769 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27770 # 1. Remove the extension, and $U if already installed.
27771 ac_i=`echo "$ac_i" |
27772 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27774 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27775 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
27777 LIBOBJS=$ac_libobjs
27779 LTLIBOBJS=$ac_ltlibobjs
27782 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27783 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27784 Usually this means the macro was only invoked conditionally." >&5
27785 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27786 Usually this means the macro was only invoked conditionally." >&2;}
27787 { (exit 1); exit 1; }; }
27789 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27790 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27791 Usually this means the macro was only invoked conditionally." >&5
27792 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27793 Usually this means the macro was only invoked conditionally." >&2;}
27794 { (exit 1); exit 1; }; }
27796 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27797 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27798 Usually this means the macro was only invoked conditionally." >&5
27799 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27800 Usually this means the macro was only invoked conditionally." >&2;}
27801 { (exit 1); exit 1; }; }
27803 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27804 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27805 Usually this means the macro was only invoked conditionally." >&5
27806 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27807 Usually this means the macro was only invoked conditionally." >&2;}
27808 { (exit 1); exit 1; }; }
27810 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
27811 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27812 Usually this means the macro was only invoked conditionally." >&5
27813 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27814 Usually this means the macro was only invoked conditionally." >&2;}
27815 { (exit 1); exit 1; }; }
27817 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
27818 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27819 Usually this means the macro was only invoked conditionally." >&5
27820 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27821 Usually this means the macro was only invoked conditionally." >&2;}
27822 { (exit 1); exit 1; }; }
27824 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
27825 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
27826 Usually this means the macro was only invoked conditionally." >&5
27827 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
27828 Usually this means the macro was only invoked conditionally." >&2;}
27829 { (exit 1); exit 1; }; }
27831 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
27832 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
27833 Usually this means the macro was only invoked conditionally." >&5
27834 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
27835 Usually this means the macro was only invoked conditionally." >&2;}
27836 { (exit 1); exit 1; }; }
27838 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27839 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27840 Usually this means the macro was only invoked conditionally." >&5
27841 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27842 Usually this means the macro was only invoked conditionally." >&2;}
27843 { (exit 1); exit 1; }; }
27845 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27846 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27847 Usually this means the macro was only invoked conditionally." >&5
27848 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27849 Usually this means the macro was only invoked conditionally." >&2;}
27850 { (exit 1); exit 1; }; }
27852 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27853 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27854 Usually this means the macro was only invoked conditionally." >&5
27855 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27856 Usually this means the macro was only invoked conditionally." >&2;}
27857 { (exit 1); exit 1; }; }
27859 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27860 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27861 Usually this means the macro was only invoked conditionally." >&5
27862 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27863 Usually this means the macro was only invoked conditionally." >&2;}
27864 { (exit 1); exit 1; }; }
27866 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27867 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27868 Usually this means the macro was only invoked conditionally." >&5
27869 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27870 Usually this means the macro was only invoked conditionally." >&2;}
27871 { (exit 1); exit 1; }; }
27873 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27874 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27875 Usually this means the macro was only invoked conditionally." >&5
27876 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27877 Usually this means the macro was only invoked conditionally." >&2;}
27878 { (exit 1); exit 1; }; }
27880 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27881 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27882 Usually this means the macro was only invoked conditionally." >&5
27883 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27884 Usually this means the macro was only invoked conditionally." >&2;}
27885 { (exit 1); exit 1; }; }
27887 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
27888 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27889 Usually this means the macro was only invoked conditionally." >&5
27890 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27891 Usually this means the macro was only invoked conditionally." >&2;}
27892 { (exit 1); exit 1; }; }
27894 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
27895 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27896 Usually this means the macro was only invoked conditionally." >&5
27897 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27898 Usually this means the macro was only invoked conditionally." >&2;}
27899 { (exit 1); exit 1; }; }
27901 if test -z "${HAVE_CVS2CL_TRUE}" && test -z "${HAVE_CVS2CL_FALSE}"; then
27902 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CVS2CL\" was never defined.
27903 Usually this means the macro was only invoked conditionally." >&5
27904 echo "$as_me: error: conditional \"HAVE_CVS2CL\" was never defined.
27905 Usually this means the macro was only invoked conditionally." >&2;}
27906 { (exit 1); exit 1; }; }
27908 if test -z "${HAVE_RCS2LOG_TRUE}" && test -z "${HAVE_RCS2LOG_FALSE}"; then
27909 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RCS2LOG\" was never defined.
27910 Usually this means the macro was only invoked conditionally." >&5
27911 echo "$as_me: error: conditional \"HAVE_RCS2LOG\" was never defined.
27912 Usually this means the macro was only invoked conditionally." >&2;}
27913 { (exit 1); exit 1; }; }
27915 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
27916 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27917 Usually this means the macro was only invoked conditionally." >&5
27918 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27919 Usually this means the macro was only invoked conditionally." >&2;}
27920 { (exit 1); exit 1; }; }
27922 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
27923 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27924 Usually this means the macro was only invoked conditionally." >&5
27925 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27926 Usually this means the macro was only invoked conditionally." >&2;}
27927 { (exit 1); exit 1; }; }
27929 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
27930 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27931 Usually this means the macro was only invoked conditionally." >&5
27932 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27933 Usually this means the macro was only invoked conditionally." >&2;}
27934 { (exit 1); exit 1; }; }
27939 CC: $CC, $($CC --version | sed -e '1p;d')
27940 CXX: $CXX, $($CXX --version | sed -e '1p;d')
27941 CPPFLAGS: '$CPPFLAGS'
27943 CXXFLAGS: '$CXXFLAGS'
27944 build/host: $build/$host
27945 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
27946 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
27947 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
27948 Available APIs: $enable_apis
27949 ext2fs Source: $ensc_cv_test_ext2fs_header
27950 syscall(2) invocation: $with_syscall
27951 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
27955 sysconf-Directory: $sysconfdir
27956 cfg-Directory: $sysconfdir/vservers
27957 initrd-Directory: $initrddir
27958 pkgstate-Directory: $localstatedir/run/vservers
27959 Kernelheaders: $kernelincludedir
27960 vserver-Rootdir: $vserverdir
27962 echo "$FEATURES_TXT" >FEATURES.txt
27965 : ${CONFIG_STATUS=./config.status}
27966 ac_clean_files_save=$ac_clean_files
27967 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27968 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
27969 echo "$as_me: creating $CONFIG_STATUS" >&6;}
27970 cat >$CONFIG_STATUS <<_ACEOF
27972 # Generated by $as_me.
27973 # Run this file to recreate the current configuration.
27974 # Compiler output produced by configure, useful for debugging
27975 # configure, is in config.log if it exists.
27978 ac_cs_recheck=false
27980 SHELL=\${CONFIG_SHELL-$SHELL}
27983 cat >>$CONFIG_STATUS <<\_ACEOF
27984 ## --------------------- ##
27985 ## M4sh Initialization. ##
27986 ## --------------------- ##
27988 # Be Bourne compatible
27989 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27992 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27993 # is contrary to our usage. Disable this feature.
27994 alias -g '${1+"$@"}'='"$@"'
27995 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27998 DUALCASE=1; export DUALCASE # for MKS sh
28000 # Support unset when possible.
28001 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28008 # Work around bugs in pre-3.0 UWIN ksh.
28009 $as_unset ENV MAIL MAILPATH
28016 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28017 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28018 LC_TELEPHONE LC_TIME
28020 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28021 eval $as_var=C; export $as_var
28027 # Required to use basename.
28028 if expr a : '\(a\)' >/dev/null 2>&1; then
28034 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28035 as_basename=basename
28041 # Name of the executable.
28042 as_me=`$as_basename "$0" ||
28043 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28044 X"$0" : 'X\(//\)$' \| \
28045 X"$0" : 'X\(/\)$' \| \
28046 . : '\(.\)' 2>/dev/null ||
28048 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28049 /^X\/\(\/\/\)$/{ s//\1/; q; }
28050 /^X\/\(\/\).*/{ s//\1/; q; }
28054 # PATH needs CR, and LINENO needs CR and PATH.
28055 # Avoid depending upon Character Ranges.
28056 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28057 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28058 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28059 as_cr_digits='0123456789'
28060 as_cr_alnum=$as_cr_Letters$as_cr_digits
28062 # The user is always right.
28063 if test "${PATH_SEPARATOR+set}" != set; then
28064 echo "#! /bin/sh" >conf$$.sh
28065 echo "exit 0" >>conf$$.sh
28067 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28076 as_lineno_1=$LINENO
28077 as_lineno_2=$LINENO
28078 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28079 test "x$as_lineno_1" != "x$as_lineno_2" &&
28080 test "x$as_lineno_3" = "x$as_lineno_2" || {
28081 # Find who we are. Look in the path if we contain no path at all
28084 *[\\/]* ) as_myself=$0 ;;
28085 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28086 for as_dir in $PATH
28089 test -z "$as_dir" && as_dir=.
28090 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28095 # We did not find ourselves, most probably we were run as `sh COMMAND'
28096 # in which case we are not to be found in the path.
28097 if test "x$as_myself" = x; then
28100 if test ! -f "$as_myself"; then
28101 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28102 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28103 { (exit 1); exit 1; }; }
28105 case $CONFIG_SHELL in
28107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28108 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
28111 test -z "$as_dir" && as_dir=.
28112 for as_base in sh bash ksh sh5; do
28115 if ("$as_dir/$as_base" -c '
28116 as_lineno_1=$LINENO
28117 as_lineno_2=$LINENO
28118 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28119 test "x$as_lineno_1" != "x$as_lineno_2" &&
28120 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
28121 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
28122 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
28123 CONFIG_SHELL=$as_dir/$as_base
28124 export CONFIG_SHELL
28125 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28133 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28134 # uniformly replaced by the line number. The first 'sed' inserts a
28135 # line-number line before each line; the second 'sed' does the real
28136 # work. The second script uses 'N' to pair each line-number line
28137 # with the numbered line, and appends trailing '-' during
28138 # substitution so that $LINENO is not a special case at line end.
28139 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28140 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28141 sed '=' <$as_myself |
28146 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28149 s,^['$as_cr_digits']*\n,,
28150 ' >$as_me.lineno &&
28151 chmod +x $as_me.lineno ||
28152 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28153 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28154 { (exit 1); exit 1; }; }
28156 # Don't try to exec as it changes $[0], causing all sort of problems
28157 # (the dirname of $[0] is not the place where we might find the
28158 # original and so on. Autoconf is especially sensible to this).
28160 # Exit status is that of the last command.
28165 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28166 *c*,-n*) ECHO_N= ECHO_C='
28168 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
28169 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
28172 if expr a : '\(a\)' >/dev/null 2>&1; then
28178 rm -f conf$$ conf$$.exe conf$$.file
28180 if ln -s conf$$.file conf$$ 2>/dev/null; then
28181 # We could just check for DJGPP; but this test a) works b) is more generic
28182 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28183 if test -f conf$$.exe; then
28184 # Don't use ln at all; we don't have any links
28189 elif ln conf$$.file conf$$ 2>/dev/null; then
28194 rm -f conf$$ conf$$.exe conf$$.file
28196 if mkdir -p . 2>/dev/null; then
28199 test -d ./-p && rmdir ./-p
28203 as_executable_p="test -f"
28205 # Sed expression to map a string onto a valid CPP name.
28206 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28208 # Sed expression to map a string onto a valid variable name.
28209 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28213 # We need space, tab and new line, in precisely that order.
28223 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28224 # report actual input values of CONFIG_FILES etc. instead of their
28225 # values after options handling. Logging --version etc. is OK.
28229 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28230 ## Running $as_me. ##
28235 This file was extended by util-vserver $as_me 0.30.208, which was
28236 generated by GNU Autoconf 2.59. Invocation command line was
28238 CONFIG_FILES = $CONFIG_FILES
28239 CONFIG_HEADERS = $CONFIG_HEADERS
28240 CONFIG_LINKS = $CONFIG_LINKS
28241 CONFIG_COMMANDS = $CONFIG_COMMANDS
28245 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28249 # Files that config.status was made for.
28250 if test -n "$ac_config_files"; then
28251 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28254 if test -n "$ac_config_headers"; then
28255 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28258 if test -n "$ac_config_links"; then
28259 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28262 if test -n "$ac_config_commands"; then
28263 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28266 cat >>$CONFIG_STATUS <<\_ACEOF
28269 \`$as_me' instantiates files from templates according to the
28270 current configuration.
28272 Usage: $0 [OPTIONS] [FILE]...
28274 -h, --help print this help, then exit
28275 -V, --version print version number, then exit
28276 -q, --quiet do not print progress messages
28277 -d, --debug don't remove temporary files
28278 --recheck update $as_me by reconfiguring in the same conditions
28279 --file=FILE[:TEMPLATE]
28280 instantiate the configuration file FILE
28281 --header=FILE[:TEMPLATE]
28282 instantiate the configuration header FILE
28284 Configuration files:
28287 Configuration headers:
28290 Configuration commands:
28293 Report bugs to <bug-autoconf@gnu.org>."
28296 cat >>$CONFIG_STATUS <<_ACEOF
28298 util-vserver config.status 0.30.208
28299 configured by $0, generated by GNU Autoconf 2.59,
28300 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28302 Copyright (C) 2003 Free Software Foundation, Inc.
28303 This config.status script is free software; the Free Software Foundation
28304 gives unlimited permission to copy, distribute and modify it."
28309 cat >>$CONFIG_STATUS <<\_ACEOF
28310 # If no file are specified by the user, then we need to provide default
28311 # value. By we need to know if files were specified by the user.
28317 ac_option=`expr "x$1" : 'x\([^=]*\)='`
28318 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
28326 *) # This is not an option, so the user has probably given explicit
28329 ac_need_defaults=false;;
28333 # Handling of the options.
28335 cat >>$CONFIG_STATUS <<\_ACEOF
28336 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28338 --version | --vers* | -V )
28339 echo "$ac_cs_version"; exit 0 ;;
28341 # Conflict between --help and --header
28342 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28343 Try \`$0 --help' for more information." >&5
28344 echo "$as_me: error: ambiguous option: $1
28345 Try \`$0 --help' for more information." >&2;}
28346 { (exit 1); exit 1; }; };;
28347 --help | --hel | -h )
28348 echo "$ac_cs_usage"; exit 0 ;;
28349 --debug | --d* | -d )
28351 --file | --fil | --fi | --f )
28353 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28354 ac_need_defaults=false;;
28355 --header | --heade | --head | --hea )
28357 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28358 ac_need_defaults=false;;
28359 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28360 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28363 # This is an error.
28364 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28365 Try \`$0 --help' for more information." >&5
28366 echo "$as_me: error: unrecognized option: $1
28367 Try \`$0 --help' for more information." >&2;}
28368 { (exit 1); exit 1; }; } ;;
28370 *) ac_config_targets="$ac_config_targets $1" ;;
28376 ac_configure_extra_args=
28378 if $ac_cs_silent; then
28380 ac_configure_extra_args="$ac_configure_extra_args --silent"
28384 cat >>$CONFIG_STATUS <<_ACEOF
28385 if \$ac_cs_recheck; then
28386 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28387 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28392 cat >>$CONFIG_STATUS <<_ACEOF
28394 # INIT-COMMANDS section.
28397 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28403 cat >>$CONFIG_STATUS <<\_ACEOF
28404 for ac_config_target in $ac_config_targets
28406 case "$ac_config_target" in
28407 # Handling of arguments.
28408 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
28409 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28410 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
28411 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
28412 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28413 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28414 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28415 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28416 { (exit 1); exit 1; }; };;
28420 # If the user did not use the arguments to specify the items to instantiate,
28421 # then the envvar interface is used. Set only those that are not.
28422 # We use the long form for the default assignment because of an extremely
28423 # bizarre bug on SunOS 4.1.3.
28424 if $ac_need_defaults; then
28425 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28426 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28430 # Have a temporary directory for convenience. Make it in the build tree
28431 # simply because there is no reason to put it here, and in addition,
28432 # creating and moving files from /tmp can sometimes cause problems.
28433 # Create a temporary directory, and hook for its removal unless debugging.
28436 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
28437 trap '{ (exit 1); exit 1; }' 1 2 13 15
28440 # Create a (secure) tmp directory for tmp files.
28443 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
28444 test -n "$tmp" && test -d "$tmp"
28447 tmp=./confstat$$-$RANDOM
28448 (umask 077 && mkdir $tmp)
28451 echo "$me: cannot create a temporary directory in ." >&2
28452 { (exit 1); exit 1; }
28457 cat >>$CONFIG_STATUS <<_ACEOF
28460 # CONFIG_FILES section.
28463 # No need to generate the scripts if there are no CONFIG_FILES.
28464 # This happens for instance when ./config.status config.h
28465 if test -n "\$CONFIG_FILES"; then
28466 # Protect against being on the right side of a sed subst in config.status.
28467 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28468 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28469 s,@SHELL@,$SHELL,;t t
28470 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28471 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28472 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28473 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28474 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
28475 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
28476 s,@exec_prefix@,$exec_prefix,;t t
28477 s,@prefix@,$prefix,;t t
28478 s,@program_transform_name@,$program_transform_name,;t t
28479 s,@bindir@,$bindir,;t t
28480 s,@sbindir@,$sbindir,;t t
28481 s,@libexecdir@,$libexecdir,;t t
28482 s,@datadir@,$datadir,;t t
28483 s,@sysconfdir@,$sysconfdir,;t t
28484 s,@sharedstatedir@,$sharedstatedir,;t t
28485 s,@localstatedir@,$localstatedir,;t t
28486 s,@libdir@,$libdir,;t t
28487 s,@includedir@,$includedir,;t t
28488 s,@oldincludedir@,$oldincludedir,;t t
28489 s,@infodir@,$infodir,;t t
28490 s,@mandir@,$mandir,;t t
28491 s,@build_alias@,$build_alias,;t t
28492 s,@host_alias@,$host_alias,;t t
28493 s,@target_alias@,$target_alias,;t t
28494 s,@DEFS@,$DEFS,;t t
28495 s,@ECHO_C@,$ECHO_C,;t t
28496 s,@ECHO_N@,$ECHO_N,;t t
28497 s,@ECHO_T@,$ECHO_T,;t t
28498 s,@LIBS@,$LIBS,;t t
28499 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28500 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28501 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28502 s,@CYGPATH_W@,$CYGPATH_W,;t t
28503 s,@PACKAGE@,$PACKAGE,;t t
28504 s,@VERSION@,$VERSION,;t t
28505 s,@ACLOCAL@,$ACLOCAL,;t t
28506 s,@AUTOCONF@,$AUTOCONF,;t t
28507 s,@AUTOMAKE@,$AUTOMAKE,;t t
28508 s,@AUTOHEADER@,$AUTOHEADER,;t t
28509 s,@MAKEINFO@,$MAKEINFO,;t t
28510 s,@install_sh@,$install_sh,;t t
28511 s,@STRIP@,$STRIP,;t t
28512 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28513 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28514 s,@mkdir_p@,$mkdir_p,;t t
28516 s,@SET_MAKE@,$SET_MAKE,;t t
28517 s,@am__leading_dot@,$am__leading_dot,;t t
28518 s,@AMTAR@,$AMTAR,;t t
28519 s,@am__tar@,$am__tar,;t t
28520 s,@am__untar@,$am__untar,;t t
28521 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28522 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28523 s,@MAINT@,$MAINT,;t t
28524 s,@build@,$build,;t t
28525 s,@build_cpu@,$build_cpu,;t t
28526 s,@build_vendor@,$build_vendor,;t t
28527 s,@build_os@,$build_os,;t t
28528 s,@host@,$host,;t t
28529 s,@host_cpu@,$host_cpu,;t t
28530 s,@host_vendor@,$host_vendor,;t t
28531 s,@host_os@,$host_os,;t t
28532 s,@GPG_KEY@,$GPG_KEY,;t t
28534 s,@CXXFLAGS@,$CXXFLAGS,;t t
28535 s,@LDFLAGS@,$LDFLAGS,;t t
28536 s,@CPPFLAGS@,$CPPFLAGS,;t t
28537 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28538 s,@EXEEXT@,$EXEEXT,;t t
28539 s,@OBJEXT@,$OBJEXT,;t t
28540 s,@DEPDIR@,$DEPDIR,;t t
28541 s,@am__include@,$am__include,;t t
28542 s,@am__quote@,$am__quote,;t t
28543 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28544 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28545 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28546 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28547 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28548 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28550 s,@CFLAGS@,$CFLAGS,;t t
28551 s,@ac_ct_CC@,$ac_ct_CC,;t t
28552 s,@CCDEPMODE@,$CCDEPMODE,;t t
28553 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28554 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28555 s,@LN_S@,$LN_S,;t t
28556 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28557 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28558 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28559 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28560 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28562 s,@CHOWN@,$CHOWN,;t t
28565 s,@DIRNAME@,$DIRNAME,;t t
28566 s,@EGREP@,$EGREP,;t t
28568 s,@GREP@,$GREP,;t t
28570 s,@MKDIR@,$MKDIR,;t t
28571 s,@MKFIFO@,$MKFIFO,;t t
28572 s,@MKTEMP@,$MKTEMP,;t t
28573 s,@MOUNT@,$MOUNT,;t t
28575 s,@NICE@,$NICE,;t t
28578 s,@RMDIR@,$RMDIR,;t t
28583 s,@TOUCH@,$TOUCH,;t t
28585 s,@UMOUNT@,$UMOUNT,;t t
28588 s,@IPTABLES@,$IPTABLES,;t t
28589 s,@MODPROBE@,$MODPROBE,;t t
28590 s,@NAMEIF@,$NAMEIF,;t t
28591 s,@NOHUP@,$NOHUP,;t t
28592 s,@RMMOD@,$RMMOD,;t t
28593 s,@VCONFIG@,$VCONFIG,;t t
28594 s,@WGET@,$WGET,;t t
28595 s,@DOXYGEN@,$DOXYGEN,;t t
28596 s,@XSLTP@,$XSLTP,;t t
28597 s,@XSLTPROC@,$XSLTPROC,;t t
28598 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28599 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28600 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28601 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28602 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28603 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28604 s,@initrddir@,$initrddir,;t t
28605 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28606 s,@DIET@,$DIET,;t t
28607 s,@DIETFLAGS@,$DIETFLAGS,;t t
28608 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28609 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28610 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28611 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28612 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28613 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28614 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28615 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28616 s,@ECHO@,$ECHO,;t t
28618 s,@ac_ct_AR@,$ac_ct_AR,;t t
28619 s,@RANLIB@,$RANLIB,;t t
28620 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28622 s,@CXXCPP@,$CXXCPP,;t t
28624 s,@FFLAGS@,$FFLAGS,;t t
28625 s,@ac_ct_F77@,$ac_ct_F77,;t t
28626 s,@LIBTOOL@,$LIBTOOL,;t t
28627 s,@kernelincludedir@,$kernelincludedir,;t t
28628 s,@vserverdir@,$vserverdir,;t t
28629 s,@CVS2CL_TAG@,$CVS2CL_TAG,;t t
28630 s,@CVS2CL@,$CVS2CL,;t t
28631 s,@HAVE_CVS2CL_TRUE@,$HAVE_CVS2CL_TRUE,;t t
28632 s,@HAVE_CVS2CL_FALSE@,$HAVE_CVS2CL_FALSE,;t t
28633 s,@RCS2LOG@,$RCS2LOG,;t t
28634 s,@HAVE_RCS2LOG_TRUE@,$HAVE_RCS2LOG_TRUE,;t t
28635 s,@HAVE_RCS2LOG_FALSE@,$HAVE_RCS2LOG_FALSE,;t t
28636 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28637 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28638 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28639 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28640 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28641 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28642 s,@LIBOBJS@,$LIBOBJS,;t t
28643 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28648 cat >>$CONFIG_STATUS <<\_ACEOF
28649 # Split the substitutions into bite-sized pieces for seds with
28650 # small command number limits, like on Digital OSF/1 and HP-UX.
28651 ac_max_sed_lines=48
28652 ac_sed_frag=1 # Number of current file.
28653 ac_beg=1 # First line for current file.
28654 ac_end=$ac_max_sed_lines # Line after last line for current file.
28657 while $ac_more_lines; do
28658 if test $ac_beg -gt 1; then
28659 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28661 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28663 if test ! -s $tmp/subs.frag; then
28664 ac_more_lines=false
28666 # The purpose of the label and of the branching condition is to
28667 # speed up the sed processing (if there are no `@' at all, there
28668 # is no need to browse any of the substitutions).
28669 # These are the two extra sed commands mentioned above.
28671 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28672 if test -z "$ac_sed_cmds"; then
28673 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28675 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28677 ac_sed_frag=`expr $ac_sed_frag + 1`
28679 ac_end=`expr $ac_end + $ac_max_sed_lines`
28682 if test -z "$ac_sed_cmds"; then
28685 fi # test -n "$CONFIG_FILES"
28688 cat >>$CONFIG_STATUS <<\_ACEOF
28689 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28690 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28692 - | *:- | *:-:* ) # input from stdin
28694 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28695 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28696 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28697 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28698 * ) ac_file_in=$ac_file.in ;;
28701 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28702 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28704 X"$ac_file" : 'X\(//\)[^/]' \| \
28705 X"$ac_file" : 'X\(//\)$' \| \
28706 X"$ac_file" : 'X\(/\)' \| \
28707 . : '\(.\)' 2>/dev/null ||
28709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28710 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28711 /^X\(\/\/\)$/{ s//\1/; q; }
28712 /^X\(\/\).*/{ s//\1/; q; }
28714 { if $as_mkdir_p; then
28719 while test ! -d "$as_dir"; do
28720 as_dirs="$as_dir $as_dirs"
28721 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28723 X"$as_dir" : 'X\(//\)[^/]' \| \
28724 X"$as_dir" : 'X\(//\)$' \| \
28725 X"$as_dir" : 'X\(/\)' \| \
28726 . : '\(.\)' 2>/dev/null ||
28728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28730 /^X\(\/\/\)$/{ s//\1/; q; }
28731 /^X\(\/\).*/{ s//\1/; q; }
28734 test ! -n "$as_dirs" || mkdir $as_dirs
28735 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28736 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28737 { (exit 1); exit 1; }; }; }
28741 if test "$ac_dir" != .; then
28742 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28743 # A "../" for each directory in $ac_dir_suffix.
28744 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28746 ac_dir_suffix= ac_top_builddir=
28750 .) # No --srcdir option. We are building in place.
28752 if test -z "$ac_top_builddir"; then
28755 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28757 [\\/]* | ?:[\\/]* ) # Absolute path.
28758 ac_srcdir=$srcdir$ac_dir_suffix;
28759 ac_top_srcdir=$srcdir ;;
28760 *) # Relative path.
28761 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28762 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28765 # Do not use `cd foo && pwd` to compute absolute paths, because
28766 # the directories may not exist.
28768 .) ac_abs_builddir="$ac_dir";;
28771 .) ac_abs_builddir=`pwd`;;
28772 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28773 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28776 case $ac_abs_builddir in
28777 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28779 case ${ac_top_builddir}. in
28780 .) ac_abs_top_builddir=$ac_abs_builddir;;
28781 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28782 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28785 case $ac_abs_builddir in
28786 .) ac_abs_srcdir=$ac_srcdir;;
28789 .) ac_abs_srcdir=$ac_abs_builddir;;
28790 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28791 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28794 case $ac_abs_builddir in
28795 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28797 case $ac_top_srcdir in
28798 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28799 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28800 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28806 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28807 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
28810 if test x"$ac_file" != x-; then
28811 { echo "$as_me:$LINENO: creating $ac_file" >&5
28812 echo "$as_me: creating $ac_file" >&6;}
28815 # Let's still pretend it is `configure' which instantiates (i.e., don't
28816 # use $as_me), people would be surprised to read:
28817 # /* config.h. Generated by config.status. */
28818 if test x"$ac_file" = x-; then
28821 configure_input="$ac_file. "
28823 configure_input=$configure_input"Generated from `echo $ac_file_in |
28824 sed 's,.*/,,'` by configure."
28826 # First look for the input files in the build tree, otherwise in the
28828 ac_file_inputs=`IFS=:
28829 for f in $ac_file_in; do
28831 -) echo $tmp/stdin ;;
28833 # Absolute (can't be DOS-style, as IFS=:)
28834 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28835 echo "$as_me: error: cannot find input file: $f" >&2;}
28836 { (exit 1); exit 1; }; }
28839 if test -f "$f"; then
28842 elif test -f "$srcdir/$f"; then
28847 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28848 echo "$as_me: error: cannot find input file: $f" >&2;}
28849 { (exit 1); exit 1; }; }
28852 done` || { (exit 1); exit 1; }
28854 cat >>$CONFIG_STATUS <<_ACEOF
28858 cat >>$CONFIG_STATUS <<\_ACEOF
28860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28861 s,@configure_input@,$configure_input,;t t
28862 s,@srcdir@,$ac_srcdir,;t t
28863 s,@abs_srcdir@,$ac_abs_srcdir,;t t
28864 s,@top_srcdir@,$ac_top_srcdir,;t t
28865 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
28866 s,@builddir@,$ac_builddir,;t t
28867 s,@abs_builddir@,$ac_abs_builddir,;t t
28868 s,@top_builddir@,$ac_top_builddir,;t t
28869 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
28870 s,@INSTALL@,$ac_INSTALL,;t t
28871 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
28873 if test x"$ac_file" != x-; then
28874 mv $tmp/out $ac_file
28882 cat >>$CONFIG_STATUS <<\_ACEOF
28885 # CONFIG_HEADER section.
28888 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
28889 # NAME is the cpp macro being defined and VALUE is the value it is being given.
28891 # ac_d sets the value in "#define NAME VALUE" lines.
28892 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
28893 ac_dB='[ ].*$,\1#\2'
28896 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
28897 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
28898 ac_uB='$,\1#\2define\3'
28902 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
28903 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28905 - | *:- | *:-:* ) # input from stdin
28907 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28908 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28909 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28910 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28911 * ) ac_file_in=$ac_file.in ;;
28914 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
28915 echo "$as_me: creating $ac_file" >&6;}
28917 # First look for the input files in the build tree, otherwise in the
28919 ac_file_inputs=`IFS=:
28920 for f in $ac_file_in; do
28922 -) echo $tmp/stdin ;;
28924 # Absolute (can't be DOS-style, as IFS=:)
28925 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28926 echo "$as_me: error: cannot find input file: $f" >&2;}
28927 { (exit 1); exit 1; }; }
28928 # Do quote $f, to prevent DOS paths from being IFS'd.
28931 if test -f "$f"; then
28934 elif test -f "$srcdir/$f"; then
28939 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28940 echo "$as_me: error: cannot find input file: $f" >&2;}
28941 { (exit 1); exit 1; }; }
28944 done` || { (exit 1); exit 1; }
28945 # Remove the trailing spaces.
28946 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
28950 # Transform confdefs.h into two sed scripts, `conftest.defines' and
28951 # `conftest.undefs', that substitutes the proper values into
28952 # config.h.in to produce config.h. The first handles `#define'
28953 # templates, and the second `#undef' templates.
28954 # And first: Protect against being on the right side of a sed subst in
28955 # config.status. Protect against being in an unquoted here document
28956 # in config.status.
28957 rm -f conftest.defines conftest.undefs
28958 # Using a here document instead of a string reduces the quoting nightmare.
28959 # Putting comments in sed scripts is not portable.
28961 # `end' is used to avoid that the second main sed command (meant for
28962 # 0-ary CPP macros) applies to n-ary macro definitions.
28963 # See the Autoconf documentation for `clear'.
28964 cat >confdef2sed.sed <<\_ACEOF
28969 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
28971 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
28974 # If some macros were called several times there might be several times
28975 # the same #defines, which is useless. Nevertheless, we may not want to
28976 # sort them, since we want the *last* AC-DEFINE to be honored.
28977 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
28978 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
28979 rm -f confdef2sed.sed
28981 # This sed command replaces #undef with comments. This is necessary, for
28982 # example, in the case of _POSIX_SOURCE, which is predefined and required
28983 # on some systems where configure will not decide to define it.
28984 cat >>conftest.undefs <<\_ACEOF
28985 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
28988 # Break up conftest.defines because some shells have a limit on the size
28989 # of here documents, and old seds have small limits too (100 cmds).
28990 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
28991 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
28992 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
28993 echo ' :' >>$CONFIG_STATUS
28994 rm -f conftest.tail
28995 while grep . conftest.defines >/dev/null
28997 # Write a limited-size here document to $tmp/defines.sed.
28998 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
28999 # Speed up: don't consider the non `#define' lines.
29000 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29001 # Work around the forget-to-reset-the-flag bug.
29002 echo 't clr' >>$CONFIG_STATUS
29003 echo ': clr' >>$CONFIG_STATUS
29004 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
29006 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29008 mv $tmp/out $tmp/in
29010 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
29011 rm -f conftest.defines
29012 mv conftest.tail conftest.defines
29014 rm -f conftest.defines
29015 echo ' fi # grep' >>$CONFIG_STATUS
29016 echo >>$CONFIG_STATUS
29018 # Break up conftest.undefs because some shells have a limit on the size
29019 # of here documents, and old seds have small limits too (100 cmds).
29020 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29021 rm -f conftest.tail
29022 while grep . conftest.undefs >/dev/null
29024 # Write a limited-size here document to $tmp/undefs.sed.
29025 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29026 # Speed up: don't consider the non `#undef'
29027 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29028 # Work around the forget-to-reset-the-flag bug.
29029 echo 't clr' >>$CONFIG_STATUS
29030 echo ': clr' >>$CONFIG_STATUS
29031 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29033 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29035 mv $tmp/out $tmp/in
29037 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29038 rm -f conftest.undefs
29039 mv conftest.tail conftest.undefs
29041 rm -f conftest.undefs
29043 cat >>$CONFIG_STATUS <<\_ACEOF
29044 # Let's still pretend it is `configure' which instantiates (i.e., don't
29045 # use $as_me), people would be surprised to read:
29046 # /* config.h. Generated by config.status. */
29047 if test x"$ac_file" = x-; then
29048 echo "/* Generated by configure. */" >$tmp/config.h
29050 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29052 cat $tmp/in >>$tmp/config.h
29054 if test x"$ac_file" != x-; then
29055 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
29056 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29057 echo "$as_me: $ac_file is unchanged" >&6;}
29059 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29060 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29061 X"$ac_file" : 'X\(//\)[^/]' \| \
29062 X"$ac_file" : 'X\(//\)$' \| \
29063 X"$ac_file" : 'X\(/\)' \| \
29064 . : '\(.\)' 2>/dev/null ||
29066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29068 /^X\(\/\/\)$/{ s//\1/; q; }
29069 /^X\(\/\).*/{ s//\1/; q; }
29071 { if $as_mkdir_p; then
29076 while test ! -d "$as_dir"; do
29077 as_dirs="$as_dir $as_dirs"
29078 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29080 X"$as_dir" : 'X\(//\)[^/]' \| \
29081 X"$as_dir" : 'X\(//\)$' \| \
29082 X"$as_dir" : 'X\(/\)' \| \
29083 . : '\(.\)' 2>/dev/null ||
29085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29086 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29087 /^X\(\/\/\)$/{ s//\1/; q; }
29088 /^X\(\/\).*/{ s//\1/; q; }
29091 test ! -n "$as_dirs" || mkdir $as_dirs
29092 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29093 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29094 { (exit 1); exit 1; }; }; }
29097 mv $tmp/config.h $ac_file
29101 rm -f $tmp/config.h
29103 # Compute $ac_file's index in $config_headers.
29105 for _am_header in $config_headers :; do
29106 case $_am_header in
29107 $ac_file | $ac_file:* )
29110 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29113 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29114 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29115 X$ac_file : 'X\(//\)[^/]' \| \
29116 X$ac_file : 'X\(//\)$' \| \
29117 X$ac_file : 'X\(/\)' \| \
29118 . : '\(.\)' 2>/dev/null ||
29120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29122 /^X\(\/\/\)$/{ s//\1/; q; }
29123 /^X\(\/\).*/{ s//\1/; q; }
29124 s/.*/./; q'`/stamp-h$_am_stamp_count
29127 cat >>$CONFIG_STATUS <<\_ACEOF
29130 # CONFIG_COMMANDS section.
29132 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
29133 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
29134 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
29135 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
29136 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29137 X"$ac_dest" : 'X\(//\)[^/]' \| \
29138 X"$ac_dest" : 'X\(//\)$' \| \
29139 X"$ac_dest" : 'X\(/\)' \| \
29140 . : '\(.\)' 2>/dev/null ||
29142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29143 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29144 /^X\(\/\/\)$/{ s//\1/; q; }
29145 /^X\(\/\).*/{ s//\1/; q; }
29147 { if $as_mkdir_p; then
29152 while test ! -d "$as_dir"; do
29153 as_dirs="$as_dir $as_dirs"
29154 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29156 X"$as_dir" : 'X\(//\)[^/]' \| \
29157 X"$as_dir" : 'X\(//\)$' \| \
29158 X"$as_dir" : 'X\(/\)' \| \
29159 . : '\(.\)' 2>/dev/null ||
29161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29163 /^X\(\/\/\)$/{ s//\1/; q; }
29164 /^X\(\/\).*/{ s//\1/; q; }
29167 test ! -n "$as_dirs" || mkdir $as_dirs
29168 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29169 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29170 { (exit 1); exit 1; }; }; }
29174 if test "$ac_dir" != .; then
29175 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29176 # A "../" for each directory in $ac_dir_suffix.
29177 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29179 ac_dir_suffix= ac_top_builddir=
29183 .) # No --srcdir option. We are building in place.
29185 if test -z "$ac_top_builddir"; then
29188 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29190 [\\/]* | ?:[\\/]* ) # Absolute path.
29191 ac_srcdir=$srcdir$ac_dir_suffix;
29192 ac_top_srcdir=$srcdir ;;
29193 *) # Relative path.
29194 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29195 ac_top_srcdir=$ac_top_builddir$srcdir ;;
29198 # Do not use `cd foo && pwd` to compute absolute paths, because
29199 # the directories may not exist.
29201 .) ac_abs_builddir="$ac_dir";;
29204 .) ac_abs_builddir=`pwd`;;
29205 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29206 *) ac_abs_builddir=`pwd`/"$ac_dir";;
29209 case $ac_abs_builddir in
29210 .) ac_abs_top_builddir=${ac_top_builddir}.;;
29212 case ${ac_top_builddir}. in
29213 .) ac_abs_top_builddir=$ac_abs_builddir;;
29214 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29215 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29218 case $ac_abs_builddir in
29219 .) ac_abs_srcdir=$ac_srcdir;;
29222 .) ac_abs_srcdir=$ac_abs_builddir;;
29223 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29224 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29227 case $ac_abs_builddir in
29228 .) ac_abs_top_srcdir=$ac_top_srcdir;;
29230 case $ac_top_srcdir in
29231 .) ac_abs_top_srcdir=$ac_abs_builddir;;
29232 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29233 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29238 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
29239 echo "$as_me: executing $ac_dest commands" >&6;}
29241 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29242 # Strip MF so we end up with the name of the file.
29243 mf=`echo "$mf" | sed -e 's/:.*$//'`
29244 # Check whether this is an Automake generated Makefile or not.
29245 # We used to match only the files named `Makefile.in', but
29246 # some people rename them; so instead we look at the file content.
29247 # Grep'ing the first line is not enough: some people post-process
29248 # each Makefile.in and add a new line on top of each file to say so.
29249 # So let's grep whole file.
29250 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
29251 dirpart=`(dirname "$mf") 2>/dev/null ||
29252 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29253 X"$mf" : 'X\(//\)[^/]' \| \
29254 X"$mf" : 'X\(//\)$' \| \
29255 X"$mf" : 'X\(/\)' \| \
29256 . : '\(.\)' 2>/dev/null ||
29258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29260 /^X\(\/\/\)$/{ s//\1/; q; }
29261 /^X\(\/\).*/{ s//\1/; q; }
29266 # Extract the definition of DEPDIR, am__include, and am__quote
29267 # from the Makefile without running `make'.
29268 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29269 test -z "$DEPDIR" && continue
29270 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29271 test -z "am__include" && continue
29272 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29273 # When using ansi2knr, U may be empty or an underscore; expand it
29274 U=`sed -n 's/^U = //p' < "$mf"`
29275 # Find all dependency output files, they are included files with
29276 # $(DEPDIR) in their names. We invoke sed twice because it is the
29277 # simplest approach to changing $(DEPDIR) to its actual value in the
29279 for file in `sed -n "
29280 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29281 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29282 # Make sure the directory exists.
29283 test -f "$dirpart/$file" && continue
29284 fdir=`(dirname "$file") 2>/dev/null ||
29285 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29286 X"$file" : 'X\(//\)[^/]' \| \
29287 X"$file" : 'X\(//\)$' \| \
29288 X"$file" : 'X\(/\)' \| \
29289 . : '\(.\)' 2>/dev/null ||
29291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29292 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29293 /^X\(\/\/\)$/{ s//\1/; q; }
29294 /^X\(\/\).*/{ s//\1/; q; }
29296 { if $as_mkdir_p; then
29297 mkdir -p $dirpart/$fdir
29299 as_dir=$dirpart/$fdir
29301 while test ! -d "$as_dir"; do
29302 as_dirs="$as_dir $as_dirs"
29303 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29305 X"$as_dir" : 'X\(//\)[^/]' \| \
29306 X"$as_dir" : 'X\(//\)$' \| \
29307 X"$as_dir" : 'X\(/\)' \| \
29308 . : '\(.\)' 2>/dev/null ||
29310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29311 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29312 /^X\(\/\/\)$/{ s//\1/; q; }
29313 /^X\(\/\).*/{ s//\1/; q; }
29316 test ! -n "$as_dirs" || mkdir $as_dirs
29317 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
29318 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
29319 { (exit 1); exit 1; }; }; }
29321 # echo "creating $dirpart/$file"
29322 echo '# dummy' > "$dirpart/$file"
29330 cat >>$CONFIG_STATUS <<\_ACEOF
29332 { (exit 0); exit 0; }
29334 chmod +x $CONFIG_STATUS
29335 ac_clean_files=$ac_clean_files_save
29338 # configure is writing to config.log, and then calls config.status.
29339 # config.status does its own redirection, appending to config.log.
29340 # Unfortunately, on DOS this fails, as config.log is still kept open
29341 # by configure, so config.status won't be able to write to it; its
29342 # output is simply discarded. So we exec the FD to /dev/null,
29343 # effectively closing config.log, so it can be properly (re)opened and
29344 # appended to by config.status. When coming back to configure, we
29345 # need to make the FD available again.
29346 if test "$no_create" != yes; then
29348 ac_config_status_args=
29349 test "$silent" = yes &&
29350 ac_config_status_args="$ac_config_status_args --quiet"
29352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29355 # would make configure fail if this is the last instruction.
29356 $ac_cs_success || { (exit 1); exit 1; }
29360 { echo "$as_me:$LINENO:
29369 $FEATURES_TXT" >&6;}